/* ==========================================================================
   OutLiners — monochrome design system
   Brand: black / white, restrained premium typography, generous whitespace.
   The nested-square mark is a provisional rendering of the owner's logo —
   replace assets/img/logo-mark.svg with the original vector before launch.
   ========================================================================== */

/* ---- Font (self-hosted, no third-party requests) ---- */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --paper: #f7f6f2;
  --paper-2: #edebe4;
  --ink: #141413;
  --ink-soft: #595751;
  --ink-faint: #8a877f;
  --line: #d9d6cd;

  --black: #0b0b0c;
  --black-2: #141415;
  --white: #fbfaf7;
  --grey: #a7a5a0;
  --grey-soft: #78766f;
  --line-dark: #2b2b2d;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);

  --step-5: clamp(2.6rem, 1.2rem + 6.5vw, 6.75rem);  /* hero display */
  --step-4: clamp(2.1rem, 1.1rem + 4.2vw, 4.1rem);   /* h2 display   */
  --step-3: clamp(1.45rem, 1.1rem + 1.6vw, 2.1rem);  /* h3           */
  --step-2: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); /* lead         */
  --step-1: 1rem;
  --step-0: .8125rem;                                 /* micro        */

  --ease: cubic-bezier(.22, .74, .32, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "cv05" 1, "ss03" 1;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

main a:not(.btn):not(.card-link):not(.tag):not(.textlink),
.prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  text-decoration-color: currentColor;
}

button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }

h1, h2, h3, h4 { margin: 0; font-weight: 560; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--ink); color: var(--paper); }

/* ---- Layout ---- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(72px, 10vw, 128px); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }

/* ---- Accessibility ---- */
.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  background: var(--white);
  color: var(--black);
  padding: 12px 18px;
  font-weight: 600;
  font-size: var(--step-0);
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 1px;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---- Micro labels ---- */
.kicker {
  display: block;
  font-size: var(--step-0);
  font-weight: 540;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 20px;
}
.on-dark .kicker, .dark .kicker { color: var(--grey-soft); }

/* ---- Display type ---- */
.display-1 {
  font-size: var(--step-5);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 580;
  text-wrap: balance;
}
.display-2 {
  font-size: var(--step-4);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 570;
  max-width: 21ch;
  text-wrap: balance;
  margin-bottom: clamp(28px, 4vw, 52px);
}
h3 { font-size: var(--step-3); letter-spacing: -.02em; line-height: 1.2; }

.lead {
  font-size: var(--step-2);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
}
.on-dark .lead, .dark .lead { color: var(--grey); }

/* ---- Header ---- */
.site-header {
  background: var(--black);
  color: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
/* Authentic OutLiners logo (owner-supplied): scaled by height, ratio preserved */
.brand img { height: 26px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
}
.nav-links a {
  font-size: var(--step-0);
  font-weight: 520;
  letter-spacing: .02em;
  color: var(--grey);
  transition: color .2s var(--ease);
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .5em;
  text-decoration-thickness: 1px;
}

.lang-toggle {
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  padding: 9px 16px;
  font-size: var(--step-0);
  font-weight: 560;
  letter-spacing: .06em;
  color: var(--white);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.lang-toggle:hover { border-color: var(--grey-soft); }

.nav-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
}
.menu-toggle .bars { position: relative; width: 20px; height: 12px; display: block; }
.menu-toggle .bars::before,
.menu-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0; width: 100%; height: 1.5px;
  background: currentColor;
  transition: transform .25s var(--ease), top .25s var(--ease), bottom .25s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { bottom: 5.5px; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    inset: var(--nav-h, 86px) 0 auto 0;
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black);
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    padding: 10px var(--gutter) 26px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 15px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav-links a:last-of-type { border-bottom: 0; }
  .site-header { position: relative; }
}

/* ---- Heroes ---- */
.hero {
  background: var(--black);
  color: var(--white);
  padding-block: clamp(84px, 12vw, 160px) clamp(96px, 13vw, 176px);
}
.hero .lead { margin-top: clamp(22px, 3vw, 34px); }

.page-hero {
  background: var(--black);
  color: var(--white);
  padding-block: clamp(64px, 9vw, 120px) clamp(72px, 10vw, 132px);
}
.page-hero .lead { margin-top: clamp(20px, 2.5vw, 30px); }
/* WCAG AA: leads on dark heroes must not inherit the light-theme ink */
.hero .lead, .page-hero .lead { color: var(--grey); }

.on-dark { background: var(--black); color: var(--white); }
.dark-section { background: var(--black-2); color: var(--white); }
.tone { background: var(--paper-2); }

/* ---- Buttons ---- */
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: clamp(30px, 4vw, 44px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: .03em;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--grey); border-color: var(--grey); }

.btn--outline { background: transparent; color: inherit; border-color: currentColor; }
.btn--outline:hover { background: rgba(255, 255, 255, .1); border-color: currentColor; }

.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink:hover { background: var(--ink-soft); border-color: var(--ink-soft); }

.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 580;
  font-size: var(--step-1);
  text-decoration: underline;
  text-underline-offset: .35em;
  text-decoration-thickness: 1px;
}
.textlink .arrow { transition: transform .2s var(--ease); }
.textlink:hover .arrow { transform: translateX(3px); }

/* ---- Grids & cards ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 32px);
}

.card {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding: 28px 0 8px;
  position: relative;
  transition: border-color .25s var(--ease);
}
.on-dark .card, .dark-section .card { border-top-color: var(--line-dark); }

.card .num {
  font-size: var(--step-0);
  letter-spacing: .18em;
  color: var(--ink-faint);
  font-weight: 540;
}
.card h3 { margin: clamp(26px, 4vw, 48px) 0 14px; }
.card p { color: var(--ink-soft); line-height: 1.7; }
.card .textlink { margin-top: auto; padding-top: 22px; font-size: var(--step-0); }

a.card-link { text-decoration: none; }
a.card-link:hover { border-top-color: var(--ink); }
a.card-link:hover h3 { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1.5px; }

/* ---- Split / panel ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.panel {
  background: var(--black);
  color: var(--white);
  padding: clamp(32px, 5vw, 56px);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.panel--light { background: var(--paper-2); color: var(--ink); }
.panel strong {
  font-size: clamp(1.7rem, 1rem + 2.8vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -.035em;
  font-weight: 570;
}

/* ---- Steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
}
.step {
  border-top: 1px solid var(--line-dark);
  padding-top: 22px;
}
.step .num {
  font-size: var(--step-0);
  letter-spacing: .15em;
  color: var(--grey-soft);
  font-weight: 540;
}
.step h3 { font-size: 1.2rem; margin: 16px 0 10px; }
.step p { font-size: .92rem; color: var(--grey); line-height: 1.65; }

/* ---- Feature list (dash bullets) ---- */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding: 18px 0 18px 36px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.6;
}
.feature-list li strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 4px; }
.feature-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 18px;
  color: var(--ink-faint);
}
.on-dark .feature-list li, .dark-section .feature-list li {
  border-bottom-color: var(--line-dark);
  color: var(--grey);
}
.on-dark .feature-list li strong, .dark-section .feature-list li strong { color: var(--white); }

/* ---- Definition grid (why us / values) ---- */
.def-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}
.def {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.on-dark .def, .dark-section .def { border-top-color: var(--line-dark); }
.def h3 { font-size: 1.25rem; margin-bottom: 10px; }
.def p { color: var(--ink-soft); line-height: 1.7; }
.on-dark .def p, .dark-section .def p { color: var(--grey); }

/* ---- Tags ---- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 11px 18px;
  font-size: var(--step-0);
  font-weight: 530;
  color: var(--ink-soft);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
a.tag:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }

/* ---- Sector rows ---- */
.sector-list { list-style: none; margin: 0; padding: 0; }
.sector {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: clamp(16px, 4vw, 64px);
  padding: clamp(26px, 4vw, 40px) 0;
  border-top: 1px solid var(--line);
}
.sector:last-child { border-bottom: 1px solid var(--line); }
.sector h2, .sector h3 { font-size: var(--step-3); letter-spacing: -.02em; line-height: 1.2; font-weight: 560; }
.sector p { color: var(--ink-soft); line-height: 1.7; margin: 0; }
.sector .note {
  display: block;
  margin-top: 10px;
  font-size: var(--step-0);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---- CTA band ---- */
.cta-band {
  background: var(--black);
  color: var(--white);
  padding-block: clamp(80px, 11vw, 140px);
}
.cta-band .display-2 { margin-bottom: 18px; }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
}
.contact-details { padding-top: 10px; }
.contact-details p { margin-bottom: 20px; }
.contact-details a {
  font-size: var(--step-2);
  font-weight: 560;
  text-decoration: underline;
  text-underline-offset: .35em;
  text-decoration-thickness: 1px;
}
.contact-details .muted { font-size: var(--step-0); color: var(--ink-faint); }

/* ---- Prose (legal / long-form) ---- */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.5rem; letter-spacing: -.02em; margin: 2.2em 0 .7em; }
.prose p, .prose li { color: var(--ink-soft); line-height: 1.75; }
.prose ul { padding-left: 1.2em; }
.notice {
  border: 1px solid var(--line);
  padding: 18px 22px;
  font-size: var(--step-0);
  color: var(--ink-soft);
  margin-bottom: clamp(32px, 5vw, 48px);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--black);
  color: var(--grey);
  padding-block: clamp(56px, 8vw, 88px) 36px;
  font-size: var(--step-0);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(40px, 6vw, 64px);
}
.footer-brand .brand { color: var(--white); margin-bottom: 18px; }
.footer-brand p { max-width: 30ch; line-height: 1.7; }
.footer-col .footer-h {
  color: var(--white);
  font-size: var(--step-0);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 560;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--grey); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Reveal on scroll ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; gap: 8px; }
  .card { padding-block: 24px 20px; }
  .card h3 { margin-top: 18px; }
  .split { grid-template-columns: 1fr; }
  .panel { min-height: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .sector { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .def-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .brand img { height: 22px; }
  .actions .btn { width: 100%; justify-content: center; }
}

/* Editorial meeting-room hero: shared visual, original content and navigation retained. */
.hero--photo { padding-block: clamp(64px, 8vw, 112px); }
.hero__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); align-items: center; gap: clamp(30px, 5vw, 80px); }
.hero__copy { min-width: 0; }
.hero__copy .display-1 { font-size: clamp(2.9rem, 5vw, 5.5rem); }
.hero__copy .lead { max-width: 53ch; }
.hero__visual { margin: 0; overflow: hidden; min-width: 0; aspect-ratio: 4 / 5; background: #242424; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; filter: grayscale(100%); }
@media (max-width: 900px) {
  .hero__layout { grid-template-columns: 1fr; gap: 42px; }
  .hero__visual { aspect-ratio: 16 / 10; }
  .hero__copy .display-1 { font-size: var(--step-5); }
}
@media (max-width: 560px) {
  .hero--photo { padding-block: 62px 72px; }
  .hero__visual { aspect-ratio: 4 / 3; }
  .hero__visual img { object-position: center; }
}

/* ==========================================================================
   Selected Clients & Partnerships — curated dark showcase.
   Each cell renders either an authentic logo image (preferred; white
   treatment via filter, optically sized by height) or a refined typographic
   wordmark fallback. Swapping a fallback for a verified asset requires no
   layout change: <span class="client-mark">Name</span> becomes
   <img src="/assets/img/clients/name.svg" alt="Name" width="…" height="…">.
   ========================================================================== */
.clients-section {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
  padding-block: clamp(56px, 7vw, 92px);
}
.clients-section .kicker {
  color: #908f8a; /* >=4.5:1 on --black for 13px uppercase text */
  margin-bottom: clamp(32px, 4.5vw, 48px);
}
.client-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: clamp(28px, 4vw, 42px);
}
.client {
  flex: 0 0 20%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 18px;
}
.client-mark {
  font-size: clamp(1.02rem, 1.4vw, 1.28rem);
  font-weight: 560;
  letter-spacing: -.018em;
  color: #908f8a;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.client img {
  height: 30px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .72;
  transition: opacity .25s var(--ease);
}
.client:hover .client-mark, .client:focus-within .client-mark { color: var(--white); }
.client:hover img, .client:focus-within img { opacity: 1; }
@media (max-width: 900px) {
  .client { flex-basis: 25%; padding: 4px 12px; }
}
@media (max-width: 560px) {
  .client { flex-basis: 50%; padding: 4px 8px; }
  .client-mark { font-size: .98rem; }
  .client img { height: 24px; max-width: 120px; }
}

/* Four human stories — editorial, responsive, accessible. */
.hero--stories { position: relative; overflow: hidden; padding: 0; min-height: min(780px, 90svh); background: #09090a; }
.stories-layout { position: relative; min-height: min(780px, 90svh); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.stories-copy { position: relative; z-index: 2; padding-block: clamp(75px, 9vw, 145px); padding-right: clamp(12px, 3vw, 40px); }
.stories-copy .display-1 { font-size: clamp(3rem, 5.5vw, 6rem); max-width: 12ch; }
.stories-copy .lead { color: #b1b1b1; max-width: 38ch; }
.stories-copy .kicker { color: #b5b5b5; }
.stories-stage { position: absolute; inset: 0 max(calc((var(--wrap) - 100vw) / 2), calc(-1 * var(--gutter))) 0 39%; overflow: hidden; background: #181818; }
.story-image { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(1); }
.stories-stage__shade { position: absolute; inset: 0; background: linear-gradient(90deg,#09090a 0%,rgba(9,9,10,.86) 8%,rgba(9,9,10,.12) 43%,rgba(9,9,10,.38) 100%); pointer-events: none; }
.story-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: #e8e8e8; font-size: .83rem; }
.story-play { width: 40px; height: 40px; border: 1px solid #dedede; border-radius: 50%; display: grid; place-items: center; }
.story-play:hover, .story-play:focus-visible { background: #fff; color: #111; }
.story-count { letter-spacing: .16em; color: #aaa; }
.stories-tabs { position: absolute; z-index: 1; right: clamp(20px, 4vw, 64px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.story-tab { display: flex; align-items: center; gap: 12px; color: #c9c8c3; text-align: left; font-size: .88rem; padding: 8px 0; border: 0; transition: color .2s ease; text-shadow: 0 1px 10px rgba(0, 0, 0, .65); }
.story-tab::before { content: ''; width: 23px; height: 1px; background: #9b9a95; }
.story-tab.is-active, .story-tab:hover, .story-tab:focus-visible { color: #fff; }
.story-tab.is-active::before { background: #fff; height: 2px; }
.story-tab__number { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
 .hero--stories, .stories-layout { min-height: 0; }
 .stories-layout { display: block; padding-block: 0; }
 .stories-copy { padding: 48px 0 26px; }
 .stories-copy .display-1 { font-size: clamp(2.5rem, 7.5vw, 4.2rem); line-height: 1.05; }
 .hero--stories .lead { margin-top: 14px; }
 .story-controls { margin-top: 18px; }
 .hero--stories .actions { margin-top: 20px; }
 .stories-stage { position: relative; inset: auto; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); height: clamp(360px, 65vw, 600px); }
 .stories-stage__shade { background: linear-gradient(0deg, rgba(9, 9, 10, .72), transparent 48%); }
 /* Compact numbered story navigation: one row, active story shows its label */
 .stories-tabs {
   top: auto; left: 50%; right: auto; bottom: 14px;
   transform: translateX(-50%);
   flex-direction: row; flex-wrap: nowrap;
   gap: 2px;
   max-width: calc(100% - 32px);
   background: rgba(9, 9, 10, .58);
   -webkit-backdrop-filter: blur(8px);
   backdrop-filter: blur(8px);
   border: 1px solid rgba(255, 255, 255, .14);
   border-radius: 100px;
   padding: 4px;
 }
 .story-tab { gap: 7px; font-size: .8rem; padding: 11px 13px; min-height: 44px; color: #e3e2de; border-radius: 100px; text-shadow: none; white-space: nowrap; }
 .story-tab::before { display: none; }
 /* Inactive labels stay available to assistive tech but only the number is shown */
 .story-tab span:not(.story-tab__number) {
   position: absolute; width: 1px; height: 1px; margin: -1px;
   clip-path: inset(50%); overflow: hidden; white-space: nowrap;
 }
 .story-tab.is-active span:not(.story-tab__number) {
   position: static; width: auto; height: auto; margin: 0;
   clip-path: none; overflow: visible;
 }
 .story-tab.is-active { background: var(--white); color: var(--black); font-weight: 600; }
}
@media (max-width: 560px) {
 .stories-copy { padding: 36px 0 20px; }
 .stories-copy .display-1 { font-size: clamp(2.3rem, 10.5vw, 2.8rem); }
 .hero--stories .lead { font-size: 1.02rem; max-width: none; }
 .story-controls { margin-top: 15px; gap: 12px; }
 .story-play { width: 44px; height: 44px; }
 .hero--stories .actions { margin-top: 16px; gap: 9px; }
 .hero--stories .actions .btn { padding: 13px 18px; }
 .stories-stage { height: min(112vw, 440px); }
 .story-tab { font-size: .77rem; padding: 11px 11px; }
}
@media (prefers-reduced-motion: reduce) { .story-tab { transition: none; } }

/* Crossfade layers for the four-stories hero. Both images stack in the stage;
   the global prefers-reduced-motion rule collapses the fade to an instant swap. */
.stories-stage .story-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .9s var(--ease);
}
.stories-stage .story-image.is-active { opacity: 1; }

/* ==========================================================================
   Intake pages (Request Talent / Submit Your CV)
   Dark editorial forms; submission is preview-only until the backend lands.
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.5vw, 32px); }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; gap: 8px; } }

.intake-section { background: var(--black); color: var(--white); padding-top: 0; }
.intake-section--steps { background: var(--black-2); padding-top: clamp(64px, 8vw, 100px); }
.steps--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps--three { grid-template-columns: 1fr; } }

.preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #4a4a4c;
  border-radius: 100px;
  padding: 10px 18px;
  font-size: .8rem;
  letter-spacing: .02em;
  color: #cfcecb;
  margin: 0 0 clamp(30px, 4vw, 44px);
}
.preview-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #cfcecb;
  flex: none;
}

.intake-form { max-width: 780px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 36px;
}
.field--full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; gap: 26px; } }

.field label {
  display: block;
  font-size: .8rem;
  font-weight: 560;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b5b4af;
  margin-bottom: 10px;
}
.field .hint {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 450;
  color: #8b8a85;
  margin-left: 8px;
}
.field :is(input, select, textarea) {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #3f3f41;
  border-radius: 0;
  color: var(--white);
  font: inherit;
  padding: 10px 2px 12px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field :is(input, select, textarea):focus {
  outline: none;
  border-bottom-color: var(--white);
  box-shadow: 0 1px 0 var(--white);
}
.field ::placeholder { color: #6d6c68; opacity: 1; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23b5b4af' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
  cursor: pointer;
}
.field select:invalid { color: #6d6c68; }
.field select option { color: var(--ink); background: var(--white); }
.field textarea { min-height: 150px; resize: vertical; }

.field--file input {
  border: 1px dashed #4a4a4c;
  padding: 20px 14px;
  cursor: pointer;
  font-size: .9rem;
  color: #b5b4af;
}
.field--file input::file-selector-button {
  background: var(--white);
  color: var(--black);
  border: 0;
  padding: 9px 16px;
  margin-right: 14px;
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
}
.field--file input:focus { border-color: var(--white); box-shadow: none; outline: 2px solid var(--white); outline-offset: 2px; }

.field.has-error :is(input, select, textarea) { border-bottom-color: #e07e7e; }
.field.has-error.field--file input { border-color: #e07e7e; }
.field-error { color: #eda2a2; font-size: .86rem; line-height: 1.5; margin: 8px 0 0; }

.consent { display: flex; align-items: flex-start; gap: 13px; }
.consent input[type="checkbox"] {
  width: 19px; height: 19px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--white);
  border-bottom: 0;
}
.consent label {
  text-transform: none;
  letter-spacing: 0;
  font-size: .92rem;
  font-weight: 450;
  color: #cfcecb;
  line-height: 1.6;
  margin: 0;
}
.consent label a { color: var(--white); text-decoration: underline; text-underline-offset: .25em; }
.consent .field-error { flex-basis: 100%; }

.legal-note { font-size: .8rem; color: #8b8a85; margin-top: 14px; max-width: 64ch; }

.intake-form .actions { margin-top: clamp(26px, 3.5vw, 38px); }
.form-status {
  border: 1px solid #4a4a4c;
  padding: 16px 20px;
  margin-top: 24px;
  font-size: .92rem;
  line-height: 1.65;
  color: #dddcd8;
  max-width: 64ch;
}
.form-status a { color: var(--white); text-decoration: underline; text-underline-offset: .25em; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Story captions: the active slide's headline and narrative, set in the copy
   column on the solid black ground (full contrast, never over faces).
   The fade is collapsed by the global prefers-reduced-motion rule. */
.story-caption {
  margin-top: clamp(18px, 2.5vw, 26px);
  max-width: 46ch;
  opacity: 1;
  transform: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.story-caption.is-out { opacity: 0; transform: translateY(7px); }
.story-caption__title {
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
  font-weight: 580;
  letter-spacing: -.015em;
  line-height: 1.35;
  color: var(--white);
  margin: 0 0 8px;
  text-wrap: balance;
}
.story-caption__text {
  font-size: .95rem;
  line-height: 1.65;
  color: #b1b1b1;
  margin: 0;
}
@media (max-width: 900px) {
  .story-caption { margin-top: 16px; }
  .story-caption__title { font-size: 1.05rem; }
  .story-caption__text { font-size: .92rem; }
}
