/* Moseby Studio
   Tinctures from the crest: sable (black), argent (white), or (gold).
   Display: Newsreader (variable, optical size). UI and body: Poppins. */

@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-var-normal.woff2") format("woff2");
  font-weight: 200 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-var-italic.woff2") format("woff2");
  font-weight: 200 600; font-style: italic; font-display: swap;
}
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --sable: #000;
  --argent: #fff;
  --or: #c4921c;
  --or-light: #dcb35a;
  --or-deep: #8a6513;
  --stone: #5c5852;
  --paper-2: #f3f2ef;
  --rule: #dedbd5;
  --line: rgba(255, 255, 255, .14);
  --dim: rgba(255, 255, 255, .64);
  --dimmer: rgba(255, 255, 255, .46);

  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Poppins", "Segoe UI", system-ui, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(96px, 13vw, 200px);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --r-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--sable);
  color: var(--argent);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, .25vw + .95rem, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--or); color: var(--sable); }
button { font: inherit; color: inherit; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 300; font-optical-sizing: auto; text-wrap: balance; }
h1 { font-size: clamp(3.4rem, 10.4vw, 11rem); line-height: .9; letter-spacing: -.035em; }
h2 { font-size: clamp(2.6rem, 6.4vw, 6.5rem); line-height: .96; letter-spacing: -.03em; }
h3 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.25rem); line-height: 1.1; letter-spacing: -.015em; }
p { margin: 0 0 1em; max-width: 62ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.lede { font-size: clamp(1.125rem, .6vw + 1rem, 1.375rem); line-height: 1.55; color: var(--dim); font-weight: 300; }
.small { font-size: .875rem; line-height: 1.6; color: var(--dimmer); }
.light .lede, .light-2 .lede { color: var(--stone); }
.light .small, .light-2 .small { color: var(--stone); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--argent); color: var(--sable); padding: 10px 16px; border-radius: 999px; font-size: .9375rem; }
.skip:focus { top: 12px; }

/* Buttons: pill with a nested arrow island */
.btn {
  --bg: var(--argent); --fg: var(--sable); --chip: rgba(0,0,0,.08);
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 0 8px 0 26px;
  font-family: var(--sans); font-size: .9375rem; font-weight: 500; letter-spacing: .005em;
  text-decoration: none; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg);
  transition: transform .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn__chip { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--chip); transition: transform .5s var(--ease); }
.btn__chip svg { width: 14px; height: 14px; }
.btn:hover .btn__chip { transform: translate(2px, -2px) scale(1.06); }
.btn:active { transform: scale(.98); }
.btn--gold { --bg: var(--or); --fg: var(--sable); --chip: rgba(0,0,0,.12); }
.btn--gold:hover { --bg: var(--or-light); }
.btn--dark { --bg: var(--sable); --fg: var(--argent); --chip: rgba(255,255,255,.14); }
.btn--ghost { --bg: transparent; --fg: var(--argent); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); padding: 0 26px; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--argent); }
.light .btn--ghost, .light-2 .btn--ghost { --fg: var(--sable); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.light .btn--ghost:hover, .light-2 .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--sable); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Floating island navigation */
.nav-island {
  position: fixed; z-index: 80; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 24px), 1200px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 7px 7px 7px 16px; border-radius: 999px;
  background: rgba(12, 12, 12, .62);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 20px 50px -30px rgba(0,0,0,.8);
  transition: background-color .5s var(--ease);
}
.nav-island.is-solid { background: rgba(8, 8, 8, .9); }
.lockup { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.lockup img { width: 28px; }
.lockup__word { display: grid; line-height: 1; }
.lockup__word b { font-weight: 300; font-size: 1.25rem; letter-spacing: .07em; }
.lockup__word i { font-style: normal; font-size: .5rem; letter-spacing: .86em; color: var(--or); margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--or); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); font-size: .875rem; font-weight: 400; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--dim); transition: color .3s var(--ease); }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--argent); }
.nav-links .btn { min-height: 46px; padding-left: 20px; padding-right: 6px; font-size: .875rem; }
.nav-links .btn .btn__chip { width: 34px; height: 34px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--argent); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.97);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font-family: var(--display); font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.15; letter-spacing: -.02em; text-decoration: none; transform: translateY(40px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.menu.is-open nav a { transform: none; opacity: 1; }
.menu.is-open nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open nav a:nth-child(5) { transition-delay: .2s; }
.menu .btn { margin-top: 36px; align-self: flex-start; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: block; }
}
@media (min-width: 901px) { .menu { display: none; } }

/* Hero film */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--sable); isolation: isolate; }
.hero__film { position: absolute; inset: 0; z-index: -2; background: #050505 center / cover no-repeat; }
.hero__film video { width: 100%; height: 100%; object-fit: cover; }
.hero__film::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 34%, rgba(0,0,0,0) 64%),
    linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 55%);
}
.hero__inner { width: 100%; padding-top: 140px; padding-bottom: clamp(28px, 4vw, 48px); }
.hero h1 { margin-bottom: clamp(28px, 4vw, 56px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line > span { display: block; }
.hero__base { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__base .lede { max-width: 46ch; margin-bottom: 26px; color: rgba(255,255,255,.8); }
.scenes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 12px 28px; font-size: .8125rem; color: var(--dimmer); }
.scenes li { position: relative; padding-top: 10px; min-width: 6.5rem; transition: color .12s linear; }
.scenes li::before, .scenes li::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; }
.scenes li::before { right: 0; background: rgba(255,255,255,.18); }
.scenes li::after { width: 100%; background: var(--or); transform: scaleX(0); transform-origin: left; }
.scenes li.is-active { color: var(--argent); }
.scenes li.is-active::after { animation: scene-fill var(--dur, 2.4s) linear forwards; }
.scenes li.is-done::after { transform: scaleX(1); opacity: .35; }
.is-paused .scenes li.is-active::after { animation-play-state: paused; }
@keyframes scene-fill { to { transform: scaleX(1); } }
.film-toggle {
  position: absolute; right: var(--gutter); top: 92px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border-radius: 999px; border: 0; cursor: pointer; font-size: .75rem; color: var(--dim);
  background: rgba(0,0,0,.5);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.film-toggle:hover { color: var(--argent); }
.film-toggle svg { width: 10px; height: 10px; }
@media (max-width: 900px) {
  .hero__base { grid-template-columns: 1fr; }
  .scenes { grid-template-columns: repeat(3, 1fr); gap: 10px 16px; }
  .scenes li { min-width: 0; }
  .film-toggle { top: 84px; right: 16px; }
}
@media (max-width: 520px) { .hero__base .actions .btn { width: 100%; justify-content: space-between; } .hero__base .actions .btn--ghost { justify-content: center; } }

/* Section scaffolding */
.section { padding-block: var(--section); position: relative; }
.light { background: var(--argent); color: var(--sable); }
.light-2 { background: var(--paper-2); color: var(--sable); }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(56px, 7vw, 112px); }
.head .lede { margin: 0; }
@media (max-width: 900px) { .head { grid-template-columns: 1fr; } }

/* Statement, revealed word by word on scroll */
.statement p {
  font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 4.6vw, 4.8rem); line-height: 1.06;
  letter-spacing: -.024em; max-width: 23ch; margin: 0;
}
.statement .w { opacity: .13; transition: opacity .25s linear; }
.statement .w.on { opacity: 1; }
.statement__sign { display: flex; align-items: center; gap: 16px; margin-top: clamp(40px, 5vw, 72px); font-size: .875rem; color: var(--stone); }
.statement__sign img { width: 32px; }

/* Industries: list with a sticky film frame */
.industries__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); }
.ind-list { list-style: none; margin: 0; padding: 0; }
.ind { padding-block: clamp(32px, 7vh, 72px); border-top: 1px solid var(--line); opacity: .34; transition: opacity .6s var(--ease); }
.ind:last-child { border-bottom: 1px solid var(--line); }
.ind.is-active { opacity: 1; }
.ind h3 { font-size: clamp(2.2rem, 3.6vw, 3.75rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ind h3 a { text-decoration: none; }
.ind h3 a:hover { text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 2px; }
.ind .tag { font-family: var(--sans); font-size: .75rem; letter-spacing: .02em; color: var(--or-light); box-shadow: inset 0 0 0 1px rgba(220,179,90,.5); border-radius: 999px; padding: 3px 12px; }
.ind p { color: var(--dim); }
.ind .incl { margin-top: 14px; font-size: .8125rem; color: var(--dimmer); }
.ind__media { display: none; }

.frame { position: sticky; top: 104px; height: calc(100svh - 140px); max-height: 780px; }
.bezel { padding: 8px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.bezel__core { position: relative; overflow: hidden; border-radius: calc(var(--r-lg) - 8px); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); background: #0b0b0b; }
.frame .bezel, .frame .bezel__core { height: 100%; }
.frame__layer { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.frame__layer.is-active { opacity: 1; }
.frame__layer video, .frame__layer img { width: 100%; height: 100%; object-fit: cover; }
.frame__cap { position: absolute; left: 22px; bottom: 18px; z-index: 2; font-size: .8125rem; color: rgba(255,255,255,.86); text-shadow: 0 1px 14px rgba(0,0,0,.7); }
@media (max-width: 900px) {
  .industries__grid { grid-template-columns: 1fr; }
  .frame { display: none; }
  .ind { opacity: 1; }
  .ind__media { display: block; margin-top: 22px; }
  .ind__media .bezel__core { aspect-ratio: 16 / 10; }
  .ind__media img { width: 100%; height: 100%; object-fit: cover; }
}

/* Selected work */
.case { display: grid; }
.light .bezel, .light-2 .bezel { background: rgba(0,0,0,.035); box-shadow: inset 0 0 0 1px rgba(0,0,0,.07); }
.light .bezel__core, .light-2 .bezel__core { background: var(--paper-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 40px 80px -48px rgba(0,0,0,.35); }
.case__lead .bezel__core { aspect-ratio: 16 / 9.2; }
.case__lead img { width: 100%; height: 114%; object-fit: cover; object-position: top; }
.case__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); margin-block: clamp(40px, 5vw, 72px); }
.case__row h3 { font-size: clamp(2rem, 2.8vw, 3rem); margin-bottom: 14px; }
.case__row p { color: var(--stone); margin-bottom: 28px; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.facts div:last-child { border-bottom: 1px solid var(--rule); }
.facts dt { font-size: .875rem; font-weight: 500; color: var(--or-deep); }
.facts dd { margin: 0; color: var(--stone); }
.case__strip { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.case__strip figure { margin: 0; }
.case__strip .bezel__core { aspect-ratio: 16 / 10; }
.case__strip img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case__strip figcaption { margin-top: 12px; font-size: .8125rem; color: var(--stone); padding-left: 8px; }
.next {
  border-radius: var(--r-lg); background: var(--sable); color: var(--argent);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(24px, 2.6vw, 36px);
  text-decoration: none; position: relative; overflow: hidden; min-height: 240px; isolation: isolate;
}
.next img { width: 40px; }
.next b { font-family: var(--display); font-weight: 300; font-size: clamp(1.6rem, 2.2vw, 2.25rem); line-height: 1.05; letter-spacing: -.02em; display: block; margin-bottom: 8px; }
.next span { font-size: .875rem; color: var(--dim); }
.next::after { content: ""; position: absolute; z-index: -1; inset: auto -30% -60% auto; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(196,146,28,.4), transparent 65%); transition: transform 1s var(--ease); }
.next:hover::after { transform: scale(1.3); }
.case__note { margin-top: 28px; font-size: .8125rem; color: var(--stone); }
@media (max-width: 900px) {
  .case__row { grid-template-columns: 1fr; }
  .case__strip { grid-template-columns: 1fr 1fr; }
  .case__strip .next { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .case__strip { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* Thirty days: a real sequence, so it is marked by day */
.days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.days__rail { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.days__rail i { position: absolute; inset: 0; background: var(--or); transform-origin: left; transform: scaleX(var(--p, 1)); }
.days li { padding: 44px clamp(12px, 2.4vw, 36px) 0 0; position: relative; }
.days li::before { content: ""; position: absolute; left: 0; top: -5px; width: 11px; height: 11px; transform: rotate(45deg); background: var(--sable); box-shadow: inset 0 0 0 1px var(--or); }
.days .day { display: block; font-family: var(--display); font-weight: 250; font-size: clamp(3rem, 4.8vw, 5.5rem); line-height: .9; letter-spacing: -.04em; margin-bottom: 22px; }
.days .day small { font-family: var(--sans); font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--or-light); display: block; margin-bottom: 12px; }
.days h3 { font-size: 1.5rem; margin-bottom: 10px; }
.days p { color: var(--dim); font-size: .9375rem; }
.days__foot { margin-top: clamp(48px, 6vw, 88px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; }
@media (max-width: 900px) {
  .days { grid-template-columns: 1fr; }
  .days__rail { right: auto; bottom: 0; width: 1px; height: auto; }
  .days__rail i { transform-origin: top; transform: scaleY(var(--p, 1)); }
  .days li { padding: 0 0 44px 40px; }
  .days li::before { top: 14px; left: -5px; }
}

/* What every project includes */
.includes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.includes__head { position: sticky; top: 120px; align-self: start; }
.includes__head h2 { margin-bottom: 24px; }
.inc-list { margin: 0; }
.inc { display: grid; grid-template-columns: 11rem 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--rule); }
.inc:last-child { border-bottom: 1px solid var(--rule); }
.inc dt { font-family: var(--display); font-size: 1.5rem; line-height: 1.2; letter-spacing: -.01em; }
.inc dd { margin: 0; color: var(--stone); }
@media (max-width: 900px) {
  .includes { grid-template-columns: 1fr; }
  .includes__head { position: static; }
}
@media (max-width: 560px) { .inc { grid-template-columns: 1fr; gap: 6px; } }

/* You keep the keys */
.keys { overflow: hidden; isolation: isolate; }
.keys__bg { position: absolute; inset: 0; z-index: -1; }
.keys__bg img { width: 100%; height: 100%; object-fit: cover; }
.keys__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 32%, rgba(0,0,0,.6) 68%, rgba(0,0,0,.3)); }
.keys h2 { margin-bottom: clamp(48px, 6vw, 88px); max-width: 12ch; }
.keys__list { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.keys__list li { display: grid; grid-template-columns: 12rem 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.keys__list b { font-family: var(--display); font-weight: 300; font-size: 1.6rem; line-height: 1.15; color: var(--or-light); }
.keys__list span { color: var(--dim); }
@media (max-width: 640px) { .keys__list li { grid-template-columns: 1fr; gap: 6px; } .keys__bg::after { background: rgba(0,0,0,.78); } }

/* Start a project */
.start__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.start h2 { margin-bottom: 28px; }
.start__aside .small { margin-top: 28px; }
.start .bezel__core { background: var(--argent); padding: clamp(22px, 3vw, 44px); overflow: visible; }
@media (max-width: 900px) { .start__grid { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; color: var(--sable); }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .875rem; font-weight: 500; padding: 0; }
.field .hint { font-weight: 300; color: var(--stone); }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--sable);
  background: var(--paper-2); border: 1px solid transparent; border-radius: 14px;
  min-height: 54px; padding: 13px 16px; width: 100%;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--rule); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: var(--argent); border-color: var(--sable); box-shadow: 0 0 0 4px rgba(196,146,28,.28); }
.field [aria-invalid="true"] { border-color: #a1271b; }
.field .error { color: #a1271b; font-size: .8125rem; margin: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .8125rem; line-height: 1.55; color: var(--stone); cursor: pointer; }
.consent input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; accent-color: var(--sable); cursor: pointer; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.choice span { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 16px; border-radius: 14px; background: var(--paper-2); font-size: .9375rem; font-weight: 400; border: 1px solid transparent; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.choice span::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #9a958c; transition: box-shadow .3s var(--ease); }
.choice input:hover + span { border-color: var(--rule); }
.choice input:checked + span { background: var(--argent); border-color: var(--sable); }
.choice input:checked + span::before { box-shadow: inset 0 0 0 1.5px var(--sable), inset 0 0 0 5px var(--argent), inset 0 0 0 9px var(--sable); }
.choice input:focus-visible + span { outline: 2px solid var(--or); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.form__submit p { margin: 0; font-size: .8125rem; color: var(--stone); max-width: 40ch; }
.form__status { grid-column: 1 / -1; font-size: .9375rem; padding: 14px 16px; border-radius: 14px; background: var(--paper-2); box-shadow: inset 3px 0 0 var(--or); }
.form__status:empty { display: none; }
@media (max-width: 620px) { .form, .choices { grid-template-columns: 1fr; } }

/* Footer with the full wordmark */
.footer { padding-top: clamp(80px, 10vw, 160px); padding-bottom: 32px; overflow: hidden; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(48px, 7vw, 100px); }
.footer__top h2 { max-width: 11ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .875rem; }
.footer-nav a { text-decoration: none; color: var(--dim); }
.footer-nav a:hover { color: var(--argent); }
.wordmark { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 44px); padding-block: clamp(28px, 3.4vw, 48px); border-top: 1px solid var(--line); }
.wordmark img { width: clamp(60px, 10.5vw, 164px); flex: none; }
.wordmark div { flex: none; display: inline-grid; min-width: 0; }
.wordmark b { display: block; font-weight: 300; font-size: clamp(3rem, 16vw, 17rem); line-height: .8; letter-spacing: .015em; white-space: nowrap; }
.wordmark i { display: flex; justify-content: space-between; font-style: normal; font-weight: 400; font-size: clamp(.7rem, 1.6vw, 1.6rem); color: var(--or); border-top: 2px solid var(--or); margin-top: clamp(10px, 1.6vw, 22px); padding-top: clamp(6px, 1vw, 14px); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--dimmer); }
.footer__base p { margin: 0; max-width: none; }

/* Dealer page */
.page-hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.page-hero .hero__film::after { background: linear-gradient(0deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.6) 40%, rgba(0,0,0,.1) 75%), linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,0) 60%); }
.page-hero .hero__inner { padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero h1 { font-size: clamp(3rem, 7.6vw, 8rem); max-width: 13ch; margin-bottom: 32px; }
.page-hero .lede { max-width: 52ch; margin-bottom: 32px; color: rgba(255,255,255,.82); }
.crumb { font-size: .8125rem; color: var(--dim); margin-bottom: 28px; }
.crumb a { color: var(--dim); }

/* Brand page: uniforms and merch showcase. The lead image is larger; the row sits on its base line. */
.wear__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 22px); align-items: end; }
.wear figure { margin: 0; }
.wear .bezel__core img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.wear figcaption { padding: 14px 10px 6px; font-size: .875rem; color: var(--dim); }
.wear__note { margin-top: 32px; }
@media (max-width: 900px) {
  .wear__grid { grid-template-columns: 1fr; }
}

/* Legal pages: short dark header, then readable prose on white. */
.legal-hero { padding: clamp(150px, 16vw, 220px) 0 clamp(56px, 7vw, 96px); background: var(--sable); }
.legal-hero h1 { font-size: clamp(3rem, 7vw, 6.5rem); margin-bottom: 28px; }
.legal-hero .lede { max-width: 52ch; margin-bottom: 20px; }
.legal { padding-block: clamp(64px, 8vw, 120px); }
.legal__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.legal__summary { position: sticky; top: 120px; padding: 28px; border-radius: var(--r-lg); background: var(--paper-2); }
.legal__summary h2 { font-size: 1.75rem; line-height: 1.1; margin-bottom: 16px; }
.legal__summary ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; font-size: .9375rem; line-height: 1.55; color: var(--stone); }
.legal__body { max-width: 68ch; font-size: 1.0625rem; line-height: 1.7; }
.legal__body h2 { font-size: clamp(1.75rem, 2.4vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; margin: 2.2em 0 .6em; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: #2b2925; }
.legal__body ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal__body li { margin-bottom: .4em; }
.legal__body strong { font-weight: 500; color: var(--sable); }
.legal__body code { font-size: .875em; padding: .1em .35em; border-radius: 6px; background: var(--paper-2); }
@media (max-width: 900px) {
  .legal__grid { grid-template-columns: 1fr; }
  .legal__summary { position: static; }
}
.screens { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: end; }
.screens figure { margin: 0; }
.screens figcaption { margin-top: 14px; font-size: .8125rem; color: var(--dimmer); }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: clamp(56px, 7vw, 100px); }
.before-after > div { padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.before-after .is-after { background: linear-gradient(160deg, rgba(196,146,28,.16), rgba(196,146,28,.02)); box-shadow: inset 0 0 0 1px rgba(196,146,28,.4); }
.before-after h3 { margin-bottom: 14px; }
.before-after .is-after h3 { color: var(--or-light); }
.before-after p { color: var(--dim); }
@media (max-width: 760px) { .before-after, .screens { grid-template-columns: 1fr; } .screens figure:last-child { display: none; } }
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); }
.parts article { padding-block: 34px; border-top: 1px solid var(--rule); }
.parts h3 { margin-bottom: 12px; }
.parts p { color: var(--stone); }
.parts ul { margin: 14px 0 0; padding-left: 1.1em; color: var(--stone); font-size: .9375rem; }
.parts li { margin-bottom: 4px; }
.parts li::marker { color: var(--or); }
@media (max-width: 860px) { .parts { grid-template-columns: 1fr; } }
.program { width: 100%; border-collapse: collapse; }
.program th, .program td { text-align: left; vertical-align: top; padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.program thead th { font-size: .8125rem; font-weight: 400; color: var(--dimmer); padding-top: 0; border-bottom-color: rgba(255,255,255,.4); }
.program td:first-child { font-family: var(--display); font-weight: 250; font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1; letter-spacing: -.03em; white-space: nowrap; width: 9rem; }
.program td:nth-child(2) b { font-weight: 500; display: block; margin-bottom: 4px; color: var(--argent); }
.program td:nth-child(2) { color: var(--dim); }
.program td:last-child { color: var(--dimmer); width: 34%; font-size: .9375rem; }
@media (max-width: 720px) {
  .program thead { display: none; }
  .program, .program tbody, .program tr, .program td { display: block; width: auto; }
  .program tr { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .program td { border: 0; padding: 0 0 8px; }
  .program td:last-child { width: auto; }
}
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.packages .bezel__core { background: var(--argent); padding: clamp(24px, 2.6vw, 36px); height: 100%; overflow: visible; }
.packages .is-featured .bezel__core { background: var(--sable); color: var(--argent); }
.packages .is-featured p, .packages .is-featured li { color: var(--dim); }
.packages h3 { font-size: 2.25rem; margin-bottom: 10px; }
.packages p { color: var(--stone); font-size: .9375rem; }
.packages ul { margin: 18px 0 0; padding-left: 1.1em; font-size: .9375rem; }
.packages li { margin-bottom: 8px; }
.packages li::marker { color: var(--or); }
.packages--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .packages, .packages--two { grid-template-columns: 1fr; } }
.days--words .day { font-size: clamp(2.4rem, 3.4vw, 3.6rem); }
.fine { font-size: .75rem; line-height: 1.7; color: var(--dimmer); max-width: 96ch; }

/* Motion states (only when JS has opted in with html.motion) */
.motion [data-reveal] { opacity: 0; transform: translateY(40px); }
.motion [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.motion [data-mask] { clip-path: inset(100% 0 0 0); }
.motion [data-mask].is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease-out); }
.motion .hero h1 .line > span { transform: translateY(105%); }
.motion .hero.is-ready h1 .line > span { transform: none; transition: transform 1.3s var(--ease-out); }
.motion .hero.is-ready h1 .line:nth-child(2) > span { transition-delay: .12s; }
.motion .hero__base { opacity: 0; }
.motion .hero.is-ready .hero__base { opacity: 1; transition: opacity 1s var(--ease-out) .5s; }
.motion .hero__film { opacity: 0; }
.motion .hero.is-ready .hero__film { opacity: 1; transition: opacity 1.2s var(--ease-out); }
@media (max-width: 700px) {
  .hero__film::after { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 26%, rgba(0,0,0,.72) 52%, rgba(0,0,0,.94) 100%); }
}
