/* ==========================================================================
   Travertson — "Argent" (silver) system
   A cool metal page (the car is silver) broken by cinematic dark sections.
   One family, Archivo variable: the width axis carries the brand voice.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --argent: #E4E6E9;      /* page: brushed aluminium */
  --argent-2: #D3D7DC;    /* rules, fields, ghost type */
  --graphite: #23272D;    /* text on light */
  --haze: #656C75;        /* secondary text on light */
  --night: #1A1F24;       /* cinematic sections, sampled from the shadowed hills */
  --night-2: #8F98A2;     /* secondary text on dark */
  --dusk: #EFB58A;        /* the last light; used only for progress + now marker */

  --pad: clamp(20px, 4.2vw, 72px);
  /* text column: every line of text (and the nav) sits in one centred 68rem column; images stay full width */
  --gutter: max(var(--pad), calc((100vw - 68rem) / 2));
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  /* type scale (perfect fourth, fluid) */
  --t-sm: clamp(.875rem, .84rem + .15vw, .9375rem);
  --t-body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --t-lead: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
  --t-h3: clamp(1.125rem, 1.05rem + .35vw, 1.375rem);
  --t-h2: clamp(2rem, 1.4rem + 2.6vw, 3.75rem);
  --t-xl: clamp(2.75rem, 1.2rem + 6.4vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--argent);
  color: var(--graphite);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: var(--t-body);
  font-stretch: 100%;
  line-height: 1.55;
  font-weight: 380;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, dl, dd, figure { margin: 0; }
a { color: inherit; }
::selection { background: var(--dusk); color: var(--night); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 10px 14px; background: var(--graphite); color: var(--argent);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* Display voice: wide, light, generously tracked */
.wide {
  font-stretch: 125%;
  font-weight: 300;
  letter-spacing: .02em;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--gutter);
  color: var(--graphite);
  transition: transform .6s var(--ease-out), color .4s;
}
.nav.is-dark { color: #F2F3F4; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__mark {
  justify-self: start;
  display: block;
  line-height: 0;
  text-decoration: none;
}
.nav__mark picture { display: block; }
.nav__logo {
  display: block;
  width: clamp(150px, 13vw, 210px);
  height: auto;
}
.nav__links { display: flex; gap: clamp(20px, 2.6vw, 44px); }
.nav__links a, .nav__cta {
  text-decoration: none;
  font-size: var(--t-sm);
  position: relative;
}
.nav__links a::after, .nav__cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav__links a:hover::after, .nav__cta:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { justify-self: end; }
.nav__toggle { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--night); color: #F2F3F4;
  display: flex; align-items: flex-end;
  padding: var(--pad); padding-bottom: 12vh;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-io);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu nav { display: grid; gap: 6px; }
.menu a { text-decoration: none; font-size: 2.25rem; font-stretch: 112%; font-weight: 320; }

@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: block; justify-self: end;
    background: none; border: 0; color: inherit; font: inherit; font-size: var(--t-sm);
    padding: 8px 0; cursor: pointer;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; }
.hero__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: linear-gradient(#C99784, #E8BB94 60%);
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 50% 60%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  /* top band keeps the nav legible over the shopfronts; bottom band carries the copy */
  background:
    linear-gradient(to bottom, rgba(14, 17, 20, .82), rgba(14, 17, 20, .55) 9%, rgba(14, 17, 20, 0) 26%),
    linear-gradient(to top, rgba(14, 17, 20, .62), rgba(14, 17, 20, 0) 42%);
}
.hero__copy {
  position: absolute; left: var(--gutter); bottom: clamp(28px, 6vh, 64px);
  color: #F2F3F4;
}
.hero__model {
  font-size: var(--t-h2);
  font-stretch: 125%;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 14px;
}
.hero__line { font-size: var(--t-body); color: rgba(242, 243, 244, .86); max-width: 34ch; }
/* --------------------------------------------------------------------------
   Phone hero (portrait screens): the studio front view, full screen, one action.
   Leading performance brands all show portrait-framed media on phones rather
   than cropping the desktop hero, so portrait screens get this instead of .hero.
   -------------------------------------------------------------------------- */
.mhero { display: none; }
@media (max-aspect-ratio: 1/1) {
  .hero { display: none; }
  .mhero { display: block; padding-top: var(--nav-h); }   /* photo starts below the black nav bar */
  /* phones/portrait: fixed-height nav; a solid black bar only while the page is at the very top
     (over the hero), transparent with the usual section-matched colour once scrolled */
  .nav { height: var(--nav-h); padding-block: 0; transition: transform .6s var(--ease-out), color .4s, background-color .3s; }
  .nav.is-top { background: #080808; color: #F2F3F4; text-shadow: none; }
  :root { --nav-h: 72px; }
}
/* Content height, not full screen: the studio-rear photo whole (full width, its own aspect
   ratio, no crop) with the fixed nav sitting over its top, then the copy and button. */
.mhero {
  position: relative;
  background: #080808; color: #F2F3F4;
}
.mhero__layer { display: block; }
.mhero__layer img { display: block; width: 100%; max-width: none; height: auto; }
.mhero__shade { display: none; }
.mhero__copy { padding: 28px var(--pad) 0; }
.mhero__model { font-size: var(--t-xl); font-stretch: 125%; font-weight: 300; line-height: .9; margin-bottom: 14px; }
.mhero__line { font-size: var(--t-body); color: rgba(242, 243, 244, .78); }
.mhero__foot {
  padding: 24px var(--pad) 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.mhero__tag {
  color: #F2F3F4; background: rgba(26, 31, 36, .28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@media (max-height: 700px) {
  .mhero__model { font-size: var(--t-h2); margin-bottom: 10px; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Statement
   -------------------------------------------------------------------------- */
.statement {
  position: relative; z-index: 1;
  background: var(--night); color: #F2F3F4;
  padding: clamp(120px, 22vh, 240px) var(--gutter) clamp(100px, 18vh, 200px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  row-gap: 64px;
}
.statement__text {
  grid-column: 1 / span 11;
  /* 75% of the original headline size; max-width widened to match so the line length stays similar */
  font-size: clamp(1.40625rem, .75rem + 2.55vw, 3.375rem);
  font-stretch: 112%;
  font-weight: 330;
  line-height: 1.1;
  letter-spacing: -.01em;
  max-width: 29ch;
}
.statement__aside {
  grid-column: 7 / span 5;
  color: rgba(242, 243, 244, .74);
  max-width: 44ch;
}
/* words light up as you read: tied to scroll position, but the section is normal height, so it never holds the page */
.statement__text .w { opacity: .18; transition: opacity .4s ease; }
.statement__text .w.on { opacity: 1; }
@media (max-width: 860px) {
  .statement { padding: clamp(64px, 10vh, 96px) var(--gutter); row-gap: 32px; }
  .statement__text, .statement__aside { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Face: the front of the car
   -------------------------------------------------------------------------- */
.face {
  background: var(--night); color: #F2F3F4;
  padding: clamp(72px, 12vh, 140px) var(--gutter);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  row-gap: clamp(28px, 5vh, 48px);
}
.face__copy { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; margin-bottom: clamp(4px, 1vh, 12px); margin-inline: calc(var(--gutter) - var(--pad)); }
.face__copy h2 { grid-column: 1 / span 6; font-size: var(--t-h2); font-stretch: 118%; font-weight: 300; line-height: 1.02; }
.face__copy p { grid-column: 7 / span 5; color: rgba(242, 243, 244, .74); max-width: 42ch; }
@media (max-width: 860px) {
  .face { padding-block: 56px 64px; }
  .face__copy { display: block; }
  .face__copy h2 { margin-bottom: 14px; }
}

/* gallery: large photo + a column of four thumbnails the same height (phones: thumbnails in a row underneath) */
.face__title {
  grid-column: 1 / -1;
  font-size: var(--t-h2); font-stretch: 118%; font-weight: 300; line-height: 1.02;
  margin-bottom: clamp(4px, 1vh, 12px);
}
.showcase {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(120px, 17%, 200px);
  gap: clamp(8px, 1.2vw, 14px); align-items: stretch;
}
.showcase__stage { grid-column: 1; grid-row: 1; }
.showcase__thumbs { grid-column: 2; grid-row: 1; }
.showcase__caption {
  grid-column: 1; grid-row: 2;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 6px 32px; align-items: baseline;
  padding-top: clamp(10px, 1.6vh, 16px);
}
.showcase__caption h3 { font-size: var(--t-h3); font-stretch: 112%; font-weight: 450; line-height: 1.3; }
.showcase__caption p { color: rgba(242, 243, 244, .78); max-width: 56ch; }
.showcase__stage {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  aspect-ratio: 1790 / 976; border-radius: 4px; overflow: hidden;
  background: #111418; cursor: zoom-in; color: #F2F3F4;
}
.showcase__pic, .showcase__pic img { display: block; width: 100%; height: 100%; }
.showcase__pic img { object-fit: cover; animation: lb-in .3s ease; }
.showcase__pic[hidden] { display: none; }
.showcase__hint {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(14, 17, 20, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: var(--t-sm); line-height: 1;
}
.showcase__hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.showcase__stage:focus-visible, .showcase__thumb:focus-visible { outline: 2px solid #F2F3F4; outline-offset: 3px; }

.showcase__thumbs {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-rows: repeat(5, minmax(0, 1fr)); gap: inherit;
}
.showcase__thumbs li { min-height: 0; }
.showcase__thumb {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0;
  border-radius: 4px; overflow: hidden; background: #111418; cursor: pointer;
}
.showcase__thumb picture, .showcase__thumb img { display: block; width: 100%; height: 100%; }
.showcase__thumb img { object-fit: cover; opacity: .55; transition: opacity .2s ease; }
.showcase__thumb:hover img { opacity: .85; }
.showcase__thumb[aria-pressed="true"] img { opacity: 1; }
.showcase__thumb[aria-pressed="true"]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 2px #F2F3F4;
}
@media (max-width: 700px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase__thumbs { grid-template-rows: none; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .showcase__thumb { aspect-ratio: 16 / 10; height: auto; }
  .showcase__thumbs { grid-column: 1; grid-row: 2; }
  .showcase__caption { grid-column: 1; grid-row: 3; grid-template-columns: 1fr; padding-top: 6px; }
  .showcase__hint { right: 8px; bottom: 8px; padding: 7px 10px; }
}

/* lightbox */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: #F2F3F4;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 12, 14, .97); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__stage { position: absolute; inset: 0; margin: 0; padding: 72px clamp(16px, 7vw, 120px) 104px; display: grid; place-items: center; }
.lightbox__stage picture { display: contents; }
.lightbox__stage img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 4px;
  animation: lb-in .25s ease;
}
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__foot {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0;
  width: min(90vw, 40rem); text-align: center; display: grid; gap: 4px;
}
.lightbox__caption { font-size: var(--t-body); color: #F2F3F4; }
.lightbox__count { font-size: var(--t-sm); color: rgba(242, 243, 244, .7); font-variant-numeric: tabular-nums; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(242, 243, 244, .35); background: rgba(26, 31, 36, .6); color: #F2F3F4;
  cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
.lightbox__btn:hover { background: rgba(242, 243, 244, .14); border-color: rgba(242, 243, 244, .7); }
.lightbox__btn:focus-visible { outline: 2px solid #F2F3F4; outline-offset: 3px; }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: clamp(10px, 2vw, 32px); top: 50%; translate: 0 -50%; }
.lightbox__next { right: clamp(10px, 2vw, 32px); top: 50%; translate: 0 -50%; }
/* phones: arrows sit beside the counter under the photo, clear of the image */
@media (max-width: 700px) {
  .lightbox__stage { padding: 64px 12px 150px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; translate: none; }
  .lightbox__prev { left: 16px; }
  .lightbox__next { right: 16px; }
  .lightbox__foot { bottom: 76px; width: calc(100vw - 32px); }
}
html.lb-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Studio + specification
   -------------------------------------------------------------------------- */
.studio { position: relative; overflow: hidden; padding: clamp(80px, 14vh, 160px) 0 clamp(48px, 8vh, 96px); }
.studio__stage { position: relative; padding: 0 var(--pad); }
.studio__car {
  position: relative;
  width: min(92%, 1320px);
  margin: 0 auto;
}
.studio__view, .studio__view img { display: block; width: 100%; height: auto; }
.specs {
  padding: clamp(40px, 8vh, 96px) var(--gutter) 0;
}
.specs__head {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--graphite);
}
.specs__head h2 { font-size: var(--t-h2); font-stretch: 118%; font-weight: 300; line-height: 1; }
.units { display: inline-flex; border: 1px solid var(--graphite); border-radius: 999px; padding: 3px; }
.units button {
  font: inherit; font-size: var(--t-sm); color: var(--graphite);
  background: none; border: 0; border-radius: 999px; padding: 7px 16px; cursor: pointer;
  transition: background .35s, color .35s;
}
.units button[aria-pressed="true"] { background: var(--graphite); color: var(--argent); }
.specs__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.specs__grid > div {
  padding: 22px 24px 24px 0;
  border-bottom: 1px solid var(--argent-2);
}
.specs__grid > div:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--argent-2); }
.specs__grid dt { font-size: var(--t-sm); color: var(--haze); margin-bottom: 8px; }
.specs__grid dd {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  font-variant-numeric: tabular-nums;
}
.specs__grid dd span {
  font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem);
  font-stretch: 112%;
  font-weight: 280;
  line-height: 1;
  transition: opacity .25s ease, filter .25s ease;
}
.specs__grid dd small { font-size: var(--t-sm); color: var(--haze); }
.specs__note { margin-top: 20px; font-size: var(--t-sm); color: var(--haze); }

.btn--sm { padding: 11px 20px; }
/* full category list: compact so the whole specification reads in one pass */
.spec-list { margin-top: clamp(36px, 6vh, 64px); border-top: 1px solid var(--graphite); }
.spec-row {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 10px 40px;
  padding: clamp(16px, 2.6vh, 24px) 0;
  border-bottom: 1px solid var(--argent-2);
}
.spec-row h3 { font-size: var(--t-body); font-stretch: 112%; font-weight: 450; line-height: 1.4; }
.spec-row ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9375rem; line-height: 1.5; }
.spec-row li { position: relative; padding-left: 18px; max-width: 56ch; }
.spec-row li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--haze); }
.spec-row .sheet__dims { font-size: .9375rem; max-width: 30rem; gap: 6px; }
.spec-row .sheet__dims div { border-bottom: 1px solid var(--argent-2); padding-bottom: 6px; }
.spec-row .sheet__dims div:last-child { border-bottom: 0; padding-bottom: 0; }
@media (max-width: 760px) {
  .spec-row { grid-template-columns: 1fr; }
}

.sheet {
  margin-top: clamp(56px, 9vh, 104px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(24px, 3vw, 56px); row-gap: 48px;
}
.sheet h3 {
  font-size: var(--t-h3); font-stretch: 112%; font-weight: 400;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--graphite);
}
.sheet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sheet li, .sheet__dims { font-size: var(--t-sm); color: var(--graphite); line-height: 1.5; }
.sheet li { padding-left: 16px; position: relative; max-width: 40ch; }
.sheet li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 1px; background: var(--haze); }
.sheet__dims { margin: 0; display: grid; gap: 8px; }
.sheet__dims div { display: flex; justify-content: space-between; gap: 16px; }
.sheet__dims dt { color: var(--haze); }
.sheet__dims dd { font-variant-numeric: tabular-nums; transition: opacity .25s ease; }
.specs.is-swapping [data-m] { opacity: 0; filter: blur(4px); }
.specs [data-m] { transition: opacity .25s ease, filter .25s ease; }
@media (max-width: 1000px) { .sheet { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .sheet { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .specs__grid { grid-template-columns: 1fr 1fr; }
  .specs__grid > div:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .specs__grid > div:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--argent-2); }
}

/* --------------------------------------------------------------------------
   Company: statement, five numbered creations, one closing line
   -------------------------------------------------------------------------- */
.founder {
  background: var(--night); color: #F2F3F4;
  padding: clamp(110px, 18vh, 200px) var(--gutter) clamp(80px, 12vh, 140px);
  border-top: 1px solid rgba(242, 243, 244, .1);
}
.founder__intro { display: grid; gap: clamp(16px, 2.4vh, 28px); max-width: 52rem; }
.founder__title {
  font-size: clamp(2.75rem, 1.2rem + 5.2vw, 6.5rem);
  font-stretch: 125%; font-weight: 250; line-height: .95;
}
.founder__quote {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); font-weight: 320; line-height: 1.3;
  color: rgba(242, 243, 244, .9); max-width: 34ch; text-wrap: pretty;
}

/* the five creations: numbered rows, read like the specification sheet */
.works {
  list-style: none; padding: 0; margin: clamp(64px, 11vh, 128px) 0 0;
  border-top: 1px solid rgba(242, 243, 244, .22);
}
.works__item {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "kind desc" "name desc";
  column-gap: 32px; align-items: baseline;
  padding: clamp(22px, 3.4vh, 32px) 0;
  border-bottom: 1px solid rgba(242, 243, 244, .12);
}
.works__kind { grid-area: kind; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--night-2); margin-bottom: 6px; }
.works__item h3 { grid-area: name; font-size: var(--t-h3); font-stretch: 112%; font-weight: 450; line-height: 1.25; }
.works__desc { grid-area: desc; align-self: end; font-size: var(--t-body); color: rgba(242, 243, 244, .78); max-width: 46ch; }

.founder__close {
  margin-top: clamp(32px, 6vh, 64px);
  display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; justify-content: space-between;
}
.founder__close p { font-size: var(--t-lead); font-stretch: 112%; font-weight: 320; }
.founder__link { font-size: var(--t-sm); color: #F2F3F4; text-underline-offset: 5px; }
.founder__link::after { content: " \2192"; }

@media (max-width: 860px) {
  .works__item { grid-template-columns: 1fr; grid-template-areas: "kind" "name" "desc"; }
  .works__desc { align-self: start; margin-top: 8px; }
}
@media (max-width: 860px) {
  .founder { padding-block: 64px 72px; }
  .founder__intro { row-gap: 14px; }
  .works { margin-top: 48px; }
}

/* --------------------------------------------------------------------------
   Buttons + register form
   -------------------------------------------------------------------------- */
.btn {
  --fg: var(--argent); --bg: var(--graphite);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center;
  padding: 16px 30px;
  border: 1px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: inherit; font-size: var(--t-sm); font-weight: 450;
  text-decoration: none; cursor: pointer;
  transition: color .5s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fg);
  transform: translateY(101%); transition: transform .6s var(--ease-out);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: none; }
.btn--light { --fg: var(--night); --bg: #F2F3F4; }

.register {
  padding: clamp(110px, 18vh, 200px) var(--gutter);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px;
}
.register__intro { grid-column: 1 / span 5; }
.register__intro h2 { font-size: var(--t-h2); font-stretch: 118%; font-weight: 300; line-height: 1.02; margin-bottom: 20px; }
.register__intro p { color: var(--haze); max-width: 38ch; }
.form { grid-column: 7 / span 6; display: grid; gap: 28px; align-content: start; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: var(--t-sm); color: var(--haze); padding: 0; }
.field input:not([type="radio"]) {
  font: inherit; color: var(--graphite);
  background: transparent; border: 0; border-bottom: 1px solid var(--graphite);
  padding: 10px 0 12px; border-radius: 0;
}
.field input:not([type="radio"]):focus { outline: none; border-bottom-width: 2px; padding-bottom: 11px; }
.field input[aria-invalid="true"] { border-bottom-color: #A33A2B; }
.field--choice { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.field--choice legend { width: 100%; margin-bottom: 10px; }
.field--choice label { color: var(--graphite); font-size: var(--t-body); display: inline-flex; gap: 10px; align-items: center; cursor: pointer; }
.field--choice input { accent-color: var(--graphite); width: 16px; height: 16px; margin: 0; }
.form .btn { justify-self: start; margin-top: 8px; }
.form__error { color: #A33A2B; font-size: var(--t-sm); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* spam trap, hidden from people */
.form__done { font-size: var(--t-lead); font-stretch: 112%; font-weight: 320; }
@media (max-width: 860px) {
  .register { padding: clamp(80px, 12vh, 120px) var(--gutter); row-gap: 40px; }
  .register__intro, .form { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .field--choice { flex-direction: column; gap: 14px; }
  .field--choice legend { margin-bottom: 4px; }
  .form .btn { justify-self: stretch; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--night); color: #F2F3F4; padding: 40px var(--gutter); overflow: hidden; }
.footer__row {
  display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between;
  font-size: var(--t-sm); color: var(--night-2);
}
.footer__row nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer__row a { text-decoration: none; color: #F2F3F4; }
.footer__row a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* --------------------------------------------------------------------------
   Media tags: say plainly when an image is a render rather than a photograph.
   Investors trust a site that labels its renders (see README, "Copy rules").
   -------------------------------------------------------------------------- */
.media-tag {
  font-size: .75rem; letter-spacing: .06em; line-height: 1;
  padding: 6px 10px; border: 1px solid currentColor; border-radius: 2px;
  opacity: .78;
}
.hero__tag {
  position: absolute; z-index: 4;
  right: var(--gutter); bottom: clamp(28px, 6vh, 64px);
  color: #F2F3F4;
  background: rgba(26, 31, 36, .28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* --------------------------------------------------------------------------
   Reduced motion: keep layout, drop the choreography
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
