/* ==========================================================================
   NYC NEPALI LIFESTYLE
   Night-shoot aesthetic — Unbounded + Archivo.
   Pure black ground, film grain, orange and teal — the film colour grade. Heavy wide uppercase
   display type, clean grotesque text, pill buttons.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400..900&family=Archivo:ital,wght@0,400..800;1,400&display=swap');

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  color-scheme: dark;

  /* Colour — black ground, white ink, orange primary, teal secondary */
  --color-ground:        #000000;
  --color-surface:       #0b0b0b;
  --color-surface-deep:  #151515;
  --color-ink:           #ffffff;
  --color-ink-soft:      #c4c4c4;
  --color-ink-faint:     #8c8c8c;
  --color-accent:        #ff6b1a;
  --color-accent-soft:   #ff8f52;
  --color-secondary:     #2ec4b6;
  --color-on-accent:     #000000;
  --color-dark:          #0b0b0b;
  --color-dark-soft:     #151515;
  --color-on-dark:       #ffffff;
  --color-on-dark-soft:  #b5b5b5;
  --color-divider-dark:  #2a2a2a;

  --hair:                #232323;
  --hair-strong:         #3a3a3a;
  --hair-dark:           #2a2a2a;
  --rule: 1px;
  --radius-md: 0;
  --radius-pill: 999px;

  /* Type */
  --font-display: 'Unbounded', 'Arial Black', sans-serif;
  --font-sans:    'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* The script accent is retired; anything still using it gets the text face */
  --font-script:  var(--font-sans);

  --step--2: clamp(0.66rem, 0.64rem + 0.10vw, 0.72rem);
  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.90rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.16vw, 1.05rem);
  --step-1:  clamp(1.08rem, 1.02rem + 0.30vw, 1.25rem);
  --step-2:  clamp(1.20rem, 1.11rem + 0.44vw, 1.55rem);
  --step-3:  clamp(1.36rem, 1.20rem + 0.75vw, 1.95rem);
  --step-4:  clamp(1.55rem, 1.30rem + 1.20vw, 2.60rem);
  --step-5:  clamp(1.80rem, 1.40rem + 1.95vw, 3.40rem);
  --step-6:  clamp(1.95rem, 1.30rem + 3.20vw, 4.40rem);
  --step-7:  clamp(2.20rem, 1.40rem + 4.00vw, 5.60rem);

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-s:   1rem;
  --space-m:   1.5rem;
  --space-l:   2.25rem;
  --space-xl:  3.5rem;
  --space-2xl: 5rem;
  --space-3xl: 7rem;
  --space-4xl: 9rem;

  --section-y: clamp(4rem, 2.5rem + 7vw, 8.5rem);
  --gutter:    clamp(1rem, 0.5rem + 3.2vw, 4rem);
  --measure:   62ch;
  --wrap:      1440px;
  --wrap-text: 820px;

  --track-wide:  0.22em;
  --track-mid:   0.12em;
  --track-tight: 0.04em;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--color-ground); }

body {
  margin: 0;
  background: var(--color-ground);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Film grain over everything — the analogue texture of the reference */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; border-radius: var(--radius-md); }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

::selection { background: var(--color-accent); color: var(--color-on-accent); }

/* --------------------------------------------------------------------------
   3. Typography — heavy wide uppercase display, grotesque text
   -------------------------------------------------------------------------- */

.display, .h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.02;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.display { font-size: var(--step-7); }
.h1      { font-size: var(--step-6); }
.h2      { font-size: var(--step-4); color: var(--color-accent); }
.h3      { font-size: var(--step-3); }
.h4      {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 700;
  letter-spacing: var(--track-mid);
  line-height: 1.5;
}

.script {
  font-family: var(--font-sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-mid);
}

.lede {
  font-size: var(--step-1);
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-ink-soft);
}

.prose { color: var(--color-ink-soft); font-weight: 400; }
.prose p { max-width: var(--measure); }
.prose p + p { margin-top: 1.5em; }
.prose strong { color: var(--color-ink); font-weight: 700; }
.prose code { color: var(--color-accent); }

.eyebrow {
  display: block;
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-secondary);
}
.eyebrow::before { content: "// "; }

.num { font-variant-numeric: tabular-nums; }

.center      { text-align: center; }
.center .prose p,
.center p    { margin-inline: auto; }
.center-wrap { max-width: var(--wrap-text); margin-inline: auto; }

/* A short orange bar under headings */
.flourish {
  display: block;
  width: 48px;
  height: 4px;
  margin: var(--space-m) auto 0;
  background: var(--color-accent);
}
.flourish--left { margin-inline: 0; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); }

.rule-top    { border-top: var(--rule) solid var(--hair); }
.rule-bottom { border-bottom: var(--rule) solid var(--hair); }
.rule-soft   { border-top: var(--rule) solid var(--hair); }

.surface { background: var(--color-surface); }

.inverted { background: var(--color-surface-deep); color: var(--color-on-dark); }
.inverted .prose      { color: var(--color-on-dark-soft); }
.inverted .eyebrow    { color: var(--color-secondary); }
.inverted .rule-soft  { border-top-color: var(--hair-dark); }
.inverted .prose strong { color: var(--color-on-dark); }
.inverted .flourish   { background: var(--color-accent); }

.grid { display: grid; gap: var(--gutter); grid-template-columns: repeat(12, minmax(0,1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

.stack > * + *   { margin-top: var(--space-m); }
.stack-s > * + * { margin-top: var(--space-2xs); }
.stack-l > * + * { margin-top: var(--space-xl); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: var(--rule) solid var(--hair);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  min-height: 78px;
}

/* Brand: the film-reel logo. One 168px-tall file covers 1x–3x screens. */
.brand {
  display: flex;
  align-items: center;
  flex: none;
  padding-block: 0.4rem;
}
.brand picture { display: block; }
/* 64px keeps the header at its 78px height (the mobile menu opens below it) */
.brand__logo { height: 64px; width: auto; }
@media (max-width: 600px) { .brand__logo { height: 54px; } }
.brand--footer { padding: 0; margin-bottom: var(--space-m); }
.brand--footer .brand__logo { height: 84px; }

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: clamp(0.75rem, 0.2rem + 1.4vw, 2rem); }

.nav__link {
  position: relative;
  display: block;
  padding-block: var(--space-2xs);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: var(--track-tight);
  text-transform: uppercase;
  color: var(--color-ink);
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__link:hover { color: var(--color-accent); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--color-accent); }

.nav__cta {
  display: block;
  margin-left: var(--space-s);
  padding: 0.9em 1.8em;
  background: var(--color-accent);
  color: var(--color-on-accent);
  border-radius: var(--radius-pill);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav__cta:hover { background: var(--color-ink); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6em;
  padding: var(--space-s) 0;
  background: none;
  border: 0;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--color-accent);
  cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    background: var(--color-ground);
    border-bottom: var(--rule) solid var(--hair);
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .nav[data-open="true"] { max-height: calc(100vh - 78px); overflow-y: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    margin: 0;
    padding: var(--space-m) var(--gutter);
    border-top: var(--rule) solid var(--hair);
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 800;
    text-align: center;
  }
  .nav__cta {
    margin: var(--space-m) var(--gutter) var(--space-l);
    padding: 1.1em;
    font-size: var(--step--1);
    text-align: center;
  }
  .nav__link::after { display: none; }
}

/* --------------------------------------------------------------------------
   6. Buttons — orange pills
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--color-accent);
  --btn-fg: var(--color-on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-s);
  padding: 1.05em 2.4em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 0;
  border-radius: var(--radius-pill);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { --btn-bg: var(--color-ink); transform: translateY(-1px); }
.btn svg { flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--color-accent);
  box-shadow: inset 0 0 0 2px var(--color-accent);
}
.btn--outline:hover { --btn-bg: var(--color-accent); --btn-fg: var(--color-on-accent); }

.btn--on-dark   { --btn-bg: transparent; --btn-fg: var(--color-ink); box-shadow: inset 0 0 0 2px var(--color-ink); }
.btn--on-dark:hover { --btn-bg: var(--color-accent); --btn-fg: var(--color-on-accent); box-shadow: inset 0 0 0 2px var(--color-accent); }

/* Text link: small caps with an orange underline */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding-bottom: 0.45em;
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  border-bottom: 2px solid var(--color-accent);
  transition: color 0.2s var(--ease), gap 0.25s var(--ease);
}
.link:hover { color: var(--color-accent); gap: 1.1em; }
.inverted .link:hover { color: var(--color-accent); }

/* --------------------------------------------------------------------------
   7. Media
   -------------------------------------------------------------------------- */

.media {
  position: relative;
  overflow: hidden;
  background: var(--color-surface-deep);
  display: block;
}
.media > img { width: 100%; height: 100%; object-fit: cover; }

/* Legacy hook kept so markup does not need touching */
.grayscale { position: relative; overflow: hidden; background: var(--color-surface-deep); }
.grayscale img { width: 100%; height: 100%; object-fit: cover; }

.media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 30% 20%, #1f1f1f 0%, #0e0e0e 60%, #070707 100%);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.media--empty::after {
  content: attr(data-slot);
  padding: var(--space-xs) var(--space-s);
  font-size: var(--step--2);
  font-weight: 400;
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--color-ink-faint);
  text-align: center;
}
.inverted .media--empty {
  background: radial-gradient(120% 90% at 30% 20%, #262626 0%, #121212 60%, #0a0a0a 100%);
  box-shadow: inset 0 0 0 1px var(--hair-dark);
}
.inverted .media--empty::after { color: var(--color-on-dark-soft); }

.ratio-1-1  { aspect-ratio: 1/1; }
.ratio-4-3  { aspect-ratio: 4/3; }
.ratio-3-4  { aspect-ratio: 3/4; }
.ratio-16-9 { aspect-ratio: 16/9; }
.ratio-21-9 { aspect-ratio: 21/9; }
.ratio-2-3  { aspect-ratio: 2/3; }

/* --------------------------------------------------------------------------
   8. Hero — full bleed, centred, orange display
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-ground);
  color: var(--color-ink);
  overflow: hidden;
  text-align: center;
}

.hero__layer { position: absolute; inset: -8% 0; will-change: transform; z-index: 0; }
.hero__layer .media, .hero__layer .media--empty { width: 100%; height: 100%; }
.hero__layer .media--empty::after { content: none; }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.8) 100%);
  pointer-events: none;
}

/* The old hairline frame is retired */
.hero__frame { display: none; }

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-block: clamp(4rem, 2rem + 8vw, 7rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Brand line is the display: heavy, wide, orange */
.hero__script {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 0.9rem + 4.2vw, 5.4rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1;
  text-wrap: balance;
  color: var(--color-accent);
}
.hero__kicker {
  margin-top: 1.4em;
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--color-ink);
}

.hero__title {
  margin-top: clamp(1.25rem, 0.8rem + 1.6vw, 2.25rem);
  font-family: var(--font-sans);
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-ink);
}
.hero__title::before,
.hero__title::after { content: "["; color: var(--color-secondary); margin-right: 0.6em; }
.hero__title::after { content: "]"; margin: 0 0 0 0.6em; }

.hero__tagline {
  margin-top: var(--space-m);
  max-width: 44ch;
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
}

.hero__cta { margin-top: clamp(2rem, 1rem + 3.5vw, 3.5rem); }
/* The hero call to action is an orange pill, like the reference's "Shop now" */
.hero__cta .link {
  padding: 1.05em 2.4em;
  background: var(--color-accent);
  color: var(--color-on-accent);
  border: 0;
  border-radius: var(--radius-pill);
  transition: background-color 0.2s var(--ease), gap 0.25s var(--ease), transform 0.2s var(--ease);
}
.hero__cta .link:hover { background: var(--color-ink); color: var(--color-on-accent); transform: translateY(-1px); }

/* --------------------------------------------------------------------------
   9. Masthead (interior pages)
   -------------------------------------------------------------------------- */

.masthead {
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(2.5rem, 1.5rem + 4vw, 5rem);
  text-align: center;
}
.masthead__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.1rem + 3.4vw, 4.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
  color: var(--color-accent);
}
.masthead .lede { margin-inline: auto; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.8em;
  font-size: var(--step--2);
  font-weight: 400;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--color-ink-faint);
  margin-bottom: var(--space-m);
}
.breadcrumb a:hover { color: var(--color-accent); }

/* --------------------------------------------------------------------------
   10. Index list
   -------------------------------------------------------------------------- */

.index-list { border-top: var(--rule) solid var(--hair-strong); }
.index-list__item { border-bottom: var(--rule) solid var(--hair-strong); }

.index-list__link {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: var(--space-m);
  padding: clamp(1.25rem, 0.8rem + 1.8vw, 2.25rem) 0;
  transition: color 0.2s var(--ease), padding-inline 0.3s var(--ease), background-color 0.2s var(--ease);
}
.index-list__link:hover { color: var(--color-accent); padding-inline: var(--space-m) 0; }

.index-list__num {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: var(--track-tight);
  color: var(--color-secondary);
}

.index-list__title {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
}
.index-list__note {
  font-size: var(--step--1);
  font-weight: 400;
  color: var(--color-ink-faint);
  max-width: 34ch;
}
@media (max-width: 780px) {
  .index-list__link { grid-template-columns: auto minmax(0,1fr); }
  .index-list__note { display: none; }
}

/* --------------------------------------------------------------------------
   11. Cards
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }

.card { display: flex; flex-direction: column; gap: var(--space-s); }
.card__index {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: var(--track-tight);
  color: var(--color-secondary);
}
.card__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.1;
}
.card__body { font-size: var(--step--1); font-weight: 400; line-height: 1.8; color: var(--color-ink-soft); }
.inverted .card__index { color: var(--color-secondary); }

/* --------------------------------------------------------------------------
   12. Team
   -------------------------------------------------------------------------- */

.team-grid {
  display: grid;
  gap: clamp(2.5rem, 1.2rem + 4vw, 4rem) clamp(1.5rem, 0.6rem + 3vw, 3rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.member { display: flex; flex-direction: column; text-align: center; align-items: center; }
.member__portrait { width: 100%; margin-bottom: var(--space-m); }
.member__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.2;
}
.member__alias { color: var(--color-ink-faint); font-weight: 400; }
.member__role {
  margin-top: var(--space-2xs);
  font-family: var(--font-sans);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--color-secondary);
  line-height: 1.5;
}
.member__bio {
  margin-top: var(--space-s);
  font-size: var(--step--1);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-ink-soft);
  text-align: left;
}
.member__contact {
  margin-top: var(--space-s);
  padding-top: var(--space-s);
  border-top: var(--rule) solid var(--hair);
  width: 100%;
  font-size: var(--step--2);
  letter-spacing: 0.02em;
}
.member__contact a:hover { color: var(--color-accent); }

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-s);
  margin-top: auto;
  padding-top: var(--space-m);
}
.social {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--color-ink-soft);
  padding: 0.5em 1.2em;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--hair-strong);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.social:hover { color: var(--color-on-accent); background: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }

/* --------------------------------------------------------------------------
   13. Stats
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: var(--space-xl) 0;
}
.stat { text-align: center; padding-inline: var(--space-m); }
.stat + .stat { border-left: var(--rule) solid var(--hair-strong); }
.stat__value {
  font-family: var(--font-display);
  font-size: var(--step-6);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  color: var(--color-accent);
}
.stat__label {
  margin-top: var(--space-s);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--color-ink-soft);
}
.inverted .stat + .stat { border-left-color: var(--hair-strong); }
.inverted .stat__label { color: var(--color-on-dark-soft); }
@media (max-width: 620px) {
  .stat + .stat { border-left: 0; }
}

/* --------------------------------------------------------------------------
   14. Timeline
   -------------------------------------------------------------------------- */

.timeline { border-top: var(--rule) solid var(--hair-strong); }
.timeline__row {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: var(--space-2xs) var(--gutter);
  padding-block: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  border-bottom: var(--rule) solid var(--hair-strong);
}
@media (min-width: 820px) {
  .timeline__row { grid-template-columns: 9rem minmax(0,17rem) minmax(0,1fr); align-items: start; }
}
.timeline__year {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  color: var(--color-accent);
}
.timeline__label {
  font-size: var(--step-0);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--track-mid);
  line-height: 1.5;
}
.timeline__body { color: var(--color-ink-soft); font-size: var(--step--1); font-weight: 400; line-height: 1.8; max-width: 62ch; }

/* --------------------------------------------------------------------------
   15. Spec table
   -------------------------------------------------------------------------- */

.spec { border-top: var(--rule) solid var(--hair-strong); }
.spec__row {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: var(--space-2xs) var(--gutter);
  padding-block: var(--space-l);
  border-bottom: var(--rule) solid var(--hair-strong);
}
@media (min-width: 820px) {
  .spec__row { grid-template-columns: minmax(0,15rem) minmax(0,1fr); }
}
.spec__key {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--color-secondary);
}
.spec__val {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-l);
  color: var(--color-ink-soft);
  font-weight: 400;
  font-size: var(--step--1);
}
.spec__val li { position: relative; }
.spec__val li + li::before {
  content: "";
  position: absolute;
  left: calc(var(--space-l) / -2);
  top: 0.75em;
  width: 4px; height: 4px;
  background: var(--color-secondary);
}

/* --------------------------------------------------------------------------
   16. Testimonials
   -------------------------------------------------------------------------- */

.quote-grid {
  display: grid;
  gap: clamp(1rem, 0.5rem + 2vw, 2rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}
.quote {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  text-align: left;
  align-items: flex-start;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--color-surface);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.quote__mark {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 900;
  line-height: 0.6;
  color: var(--color-secondary);
}
.quote__text {
  font-size: var(--step--1);
  font-weight: 400;
  font-style: normal;
  line-height: 1.85;
  color: var(--color-ink-soft);
}
.quote__cite {
  margin-top: auto;
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  font-style: normal;
}
.quote__cite::before { content: "— "; color: var(--color-secondary); }
.inverted .quote { background: var(--color-ground); }
.inverted .quote__text { color: var(--color-on-dark-soft); }

/* --------------------------------------------------------------------------
   17. FAQ
   -------------------------------------------------------------------------- */

.faq { border-top: var(--rule) solid var(--hair-strong); }
.faq__item { border-bottom: var(--rule) solid var(--hair-strong); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding-block: var(--space-l);
  font-size: var(--step-0);
  font-weight: 700;
  letter-spacing: var(--track-tight);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--color-accent); }
.faq__sign {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.8em;
  height: 1.8em;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-weight: 700;
  font-size: var(--step-0);
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.faq__item[open] .faq__sign { transform: rotate(45deg); }
.faq__a {
  padding-bottom: var(--space-l);
  color: var(--color-ink-soft);
  font-weight: 400;
  font-size: var(--step--1);
  line-height: 1.8;
  max-width: var(--measure);
}
.faq__a ul { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-l); }

/* --------------------------------------------------------------------------
   18. Marquee
   -------------------------------------------------------------------------- */

.marquee { display: flex; overflow: hidden; user-select: none; gap: var(--space-xs); }
.marquee__row {
  flex: none;
  display: flex;
  gap: var(--space-xs);
  min-width: 100%;
  animation: marq 52s linear infinite;
}
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__cell { flex: none; width: clamp(200px, 20vw, 320px); }

@keyframes marq {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - var(--space-xs))); }
}

/* --------------------------------------------------------------------------
   19. Poster — closing statement on a solid orange band
   -------------------------------------------------------------------------- */

.poster {
  position: relative;
  background: var(--color-accent);
  color: var(--color-on-accent);
  padding-block: clamp(4rem, 2.5rem + 7vw, 8rem);
  text-align: center;
}
.poster__title {
  font-family: var(--font-display);
  font-size: var(--step-6);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}
.poster__meta {
  margin-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-m) var(--space-xl);
}
.poster .link { color: var(--color-on-accent); border-color: var(--color-on-accent); }
.poster .link:hover { color: var(--color-on-accent); gap: 1.1em; }
.poster ::selection { background: var(--color-on-accent); color: var(--color-accent); }

/* --------------------------------------------------------------------------
   20. Work grid + filter
   -------------------------------------------------------------------------- */

.filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
  padding-bottom: var(--space-xl);
}
.filter__btn {
  padding: 0.7em 1.5em;
  background: none;
  border: 0;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--hair-strong);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--color-ink-soft);
  cursor: pointer;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.filter__btn:hover { color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }
.filter__btn[aria-pressed="true"] { color: var(--color-on-accent); background: var(--color-accent); box-shadow: none; }

/* Every tile is the same size and shape: 1 / 2 / 3 across */
.work-grid {
  display: grid;
  gap: clamp(1.25rem, 0.6rem + 2vw, 2.25rem) clamp(0.75rem, 0.3rem + 1.6vw, 1.5rem);
  grid-template-columns: minmax(0,1fr);
}
@media (min-width: 700px)  { .work-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .work-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.work-item[hidden] { display: none; }

.work-item__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
  padding-top: var(--space-s);
  text-align: center;
}
.work-item__title {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
.work-item__tag {
  font-size: var(--step--2);
  font-weight: 400;
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--color-secondary);
}
.work-item a { display: block; }
.work-item .media { transition: box-shadow 0.25s var(--ease); }
.work-item .media > img { transition: transform 0.6s var(--ease); }
.work-item:hover .media { box-shadow: 0 0 0 2px var(--color-accent); }
.work-item:hover .media > img { transform: scale(1.04); }
.work-item:hover .work-item__title { color: var(--color-accent); }
.work-item__title { transition: color 0.2s var(--ease); }

/* --------------------------------------------------------------------------
   21. Form
   -------------------------------------------------------------------------- */

.form { display: grid; gap: var(--space-l); }
.field { display: flex; flex-direction: column; gap: var(--space-2xs); }
.field__label {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--color-secondary);
}
.field__hint { font-size: var(--step--2); font-weight: 400; color: var(--color-ink-faint); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.9em 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair-strong);
  transition: border-color 0.2s var(--ease);
}
.field select option { background: var(--color-ground); color: var(--color-ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--color-ink-faint); }
.field input:hover, .field select:hover, .field textarea:hover,
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--color-accent); outline: none; }
.field textarea { min-height: 8rem; resize: vertical; }
.form__row { display: grid; gap: var(--space-l); grid-template-columns: minmax(0,1fr); }
@media (min-width: 700px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.notice {
  padding: var(--space-m) var(--space-l);
  background: var(--color-surface);
  border-left: 3px solid var(--color-accent);
  font-size: var(--step--1);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-ink-soft);
}
.notice strong {
  display: block;
  margin-bottom: var(--space-3xs);
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  font-size: var(--step--2);
  font-weight: 700;
  color: var(--color-secondary);
}

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--color-ground);
  color: var(--color-ink);
  border-top: var(--rule) solid var(--hair);
  padding-block: var(--space-2xl) var(--space-xl);
}
.site-footer a { color: var(--color-ink-soft); transition: color 0.2s var(--ease); }
.site-footer a:hover { color: var(--color-accent); }

.footer__grid {
  display: grid;
  gap: var(--space-xl) var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  padding-bottom: var(--space-xl);
}
.footer__heading {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-m);
}
.footer__list { font-size: var(--step--1); font-weight: 400; }
.footer__list li + li { margin-top: 0.5em; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-s) var(--space-l);
  padding-top: var(--space-l);
  border-top: var(--rule) solid var(--hair);
  font-size: var(--step--2);
  font-weight: 400;
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--color-ink-faint);
}

/* --------------------------------------------------------------------------
   23. Scroll reveal
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee__row { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   24. Utilities
   -------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 400;
  padding: var(--space-s) var(--space-m);
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
}
.skip-link:focus { top: 0; }

.text-accent { color: var(--color-accent); }
.mt-0 { margin-top: 0; }

/* --------------------------------------------------------------------------
   25. Build credit
   -------------------------------------------------------------------------- */

.credit { color: var(--color-ink-faint); }
.credit a {
  color: var(--color-ink-soft);
  padding-bottom: 1px;
  border-bottom: 1px solid var(--hair-strong);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.credit a:hover { color: var(--color-accent); border-bottom-color: var(--color-accent); }
