:root {
  --ink: #141d31;
  --ink-muted: #485166;
  --paper: #f1efe7;
  --paper-light: #faf8f1;
  --paper-green: #e8eaf1;
  --rule: #acb0b8;
  --night: #141d31;
  --white: #faf8f1;
  --muted-night: #c6cee3;
  --night-rule: #e1e6f944;
  --acid: #ff9776;
  --press-orange: #ba3514;
  --press-cobalt: #243fba;
  --gutter: clamp(20px, 4vw, 80px);
}

:focus-visible { outline-color: var(--press-orange); }
.factory-home .site-header, .factory-hero { background: var(--paper); color: var(--ink); }
.factory-home .site-header { border-color: var(--rule); }
.header-row { min-height: 65px; }
.site-header nav a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .27em; }
.site-header nav a:hover { color: var(--press-cobalt); text-underline-offset: .27em; }
.factory-home .site-header :is(.wordmark span, .header-quote .icon),
.wordmark span, .headline-point, .factory-hero .kicker-mark { color: var(--press-orange); }
.factory-home .site-header :focus-visible, .factory-hero :focus-visible { outline-color: var(--press-orange); }
.button-accent { background: var(--press-cobalt); color: var(--white); border-color: var(--press-cobalt); }
.button-accent:hover { background: #1a2e92; }
.button-accent .icon { color: #ffd4c6; }
.skip-link { color: var(--ink); }

.motion-hero { border-bottom: 1px solid var(--rule); }
.motion-layout { display: grid; gap: 21px; padding-block: 21px 27px; }
.motion-copy { position: relative; z-index: 1; min-width: 0; }
.motion-hero .kicker { color: var(--ink); }
.motion-hero .kicker-mark { inline-size: 21px; block-size: 5px; margin-right: 5px; vertical-align: .15em; }
.motion-hero h1 {
  margin-top: 12px;
  font-size: clamp(2.04rem, 10.55vw, 4.5rem);
  font-weight: 810;
  line-height: .94;
  letter-spacing: -.059em;
  word-spacing: .058em;
}
.factory-hero .headline-point { color: var(--ink); }
.motion-wide-break { display: none; }
.motion-copy .hero-actions { display: grid; gap: 10px; margin-top: 13px; padding: 0; border: 0; justify-items: start; }
.motion-copy .hero-lede { margin: 0; color: var(--ink); font-size: clamp(1rem, 1.4vw, 1.25rem); }
.motion-copy .button { min-height: 45px; }

.motion-demo { position: relative; min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.visually-hidden, .pose-choice {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.pose-picker { display: flex; gap: 6px; }
.pose-picker label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #657080;
  padding-inline: 10px;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 630;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.pose-picker label:hover { background: #e5e7f0; }
.pose-picker label:active { box-shadow: inset 0 0 0 2px #8191d6; }
#pose-handheld:checked ~ .motion-controls [for="pose-handheld"],
#pose-extended:checked ~ .motion-controls [for="pose-extended"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
#pose-handheld:focus-visible ~ .motion-controls [for="pose-handheld"],
#pose-extended:focus-visible ~ .motion-controls [for="pose-extended"] { outline: 2px solid var(--press-orange); outline-offset: 2px; }

.motion-stage {
  --panel-top-left: 21%;
  --panel-bottom-left: 0%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-inline-start: 8%;
  block-size: clamp(220px, 72vw, 350px);
}
.motion-stage::before, .motion-cut {
  position: absolute;
  inset: 0;
  clip-path: polygon(var(--panel-top-left) 0, 100% 0, 100% 100%, var(--panel-bottom-left) 100%);
}
.motion-stage::before {
  content: '';
  background:
    radial-gradient(ellipse 64% 72% at 40% 78%, #6f89f2 0%, #5069d6 37%, #5069d600 100%),
    linear-gradient(140deg, #1b2b88 0%, #293fab 49%, #182971 100%);
}
.motion-cut { z-index: 3; pointer-events: none; }
.motion-cut > div { position: absolute; inset: 0; background: #f1efe799; }
.pose { position: absolute; inset: 0; visibility: hidden; }
#pose-handheld:checked ~ .press-art [data-pose="handheld"],
#pose-extended:checked ~ .press-art [data-pose="extended"],
.motion-stage .pose.is-outgoing { visibility: visible; }
.motion-stage .pose.is-outgoing { z-index: 1; }
.motion-stage .pose.is-incoming { z-index: 2; }
.pose-visual, .pose-image-shift { position: absolute; inset: 0; }
.pose img {
  position: absolute;
  inset: 50% auto auto 55%;
  height: 102%;
  width: auto;
  max-width: none;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(14deg);
  color: var(--white);
}
.pose[data-pose="extended"] img { height: 108%; transform: translate(-50%, -50%) rotate(16deg); }
.pose img.is-unavailable { inline-size: 64%; block-size: auto; transform: translate(-50%, -50%); }
.press-art { position: relative; }
.motion-controls { display: grid; grid-template-columns: max-content max-content; gap: 16px; align-items: end; margin-top: 10px; }
.pose-prompt { font: 570 .72rem/1.35 var(--mono); margin-bottom: 6px; }
.motion-notes { margin-bottom: 12px; font: 580 .85rem/1.35 Inter, Arial, sans-serif; }
.pose-note { display: none; }
#pose-handheld:checked ~ .motion-controls #usage-handheld,
#pose-extended:checked ~ .motion-controls #usage-extended { display: block; }
.motion-media-note {
  position: absolute;
  inset: auto 0 calc(100% + 6px) auto;
  color: var(--ink-muted);
  font-size: .75rem;
  line-height: 1.2;
}

.workshop-opening { background: var(--paper-light); color: var(--ink); }
.hero-photo figcaption { color: var(--ink-muted); }
.hero-photo img { background: #dfe2ed; }
.section-heading .kicker, .quote-copy .kicker, .bulk .kicker { color: var(--press-orange); }
.featured-image { background: radial-gradient(ellipse at 55% 53%, #3a4874, transparent 68%); }
.quote-form, .form-heading, .field :where(input, textarea) { border-color: #7d869e; }
.form-model { background: #d5daeb; }
.form-state { border-left-color: var(--press-cobalt); }

@media (max-width: 370px) {
  :root { --gutter: 17px; }
  .pose-prompt { font-size: .67rem; }
  .pose-picker label { padding-inline: 8px; }
}
@media (max-width: 720px) {
  .motion-layout { padding-block-end: 18px; }
  .motion-controls { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .motion-notes { margin: 0; }
  .workshop-opening .hero-photo { margin-top: 19px; }
}
@media (min-width: 721px) and (max-width: 960px) {
  .motion-hero h1 { font-size: clamp(3.6rem, 8vw, 5.1rem); }
  .motion-stage { block-size: clamp(315px, 45vw, 390px); }
}
@media (min-width: 961px) {
  .motion-layout { grid-template-columns: minmax(0, .41fr) minmax(0, .59fr); gap: 0; align-items: center; padding-block: 29px 37px; }
  .motion-copy { padding-block-end: 57px; }
  .motion-hero h1 {
    margin-top: 29px;
    font-size: clamp(3.3rem, 6.55vw, 6.55rem);
    line-height: .92;
    letter-spacing: -.054em;
    word-spacing: .078em;
  }
  .motion-wide-break { display: initial; }
  .motion-copy .hero-actions { margin-top: 30px; gap: 15px; }
  .motion-stage { margin-inline-start: 0; block-size: clamp(360px, 61svh, 650px); }
  .motion-controls { margin-top: 14px; }
  .pose-prompt { font-size: .77rem; }
  .pose-picker label { padding-inline: 15px; }
}
