/* ==========================================================================
   VARO Commercial Partnerships — design system
   Source of truth: the VARO brand deck (palette, wide geometric display type,
   V-cut logo, short bronze dash, numbered services, dark cinematic imagery).

   Type rules
   - Uppercase + tracking only for short labels (1–4 words), navigation,
     buttons, H1 and short section H2s. Tracking is 0.08–0.12em, never wider.
   - Anything longer than a few words (e.g. who a service is for) is sentence
     case: the .audience role, never an uppercase label.
   - Body 17–18px. Nothing people read is smaller than 16px; labels are 13px.

   Page rhythm (homepage)
   hero: full-bleed image  →  approach: editorial statement  →  services:
   sticky heading + connected rows  →  full-width image moment  →  drivers:
   image/text split  →  partnerships: open two columns  →  contact band
   ========================================================================== */

@font-face { font-family: "Lexend Exa"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/LexendExa-Light.woff") format("woff"); }
@font-face { font-family: "Lexend Exa"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/LexendExa-Regular.woff") format("woff"); }
@font-face { font-family: "Lexend"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/Lexend-Light.woff") format("woff"); }
@font-face { font-family: "Lexend"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Lexend-Regular.woff") format("woff"); }
@font-face { font-family: "Lexend"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Lexend-Medium.woff") format("woff"); }

:root {
  /* Brand palette — exact values from the deck */
  --obsidian:  #0B0B0D;
  --carbon:    #1C1C1E;
  --slate:     #3B3B3F;
  --champagne: #D9C8A8;
  --bronze:    #B0885B;
  --stone:     #F4F4F2;

  /* Derived, warm-biased toward bronze */
  --ink-2:   #C4C1BB;   /* body: 11:1 on obsidian */
  --ink-3:   #94918B;   /* labels, captions: 6.2:1 on obsidian */
  --surface: #131315;
  --line:    rgba(244, 244, 242, 0.09);
  --line-2:  rgba(244, 244, 242, 0.16);
  --metal:   linear-gradient(115deg, #8A6842 0%, #B0885B 40%, #E2C99D 60%, #B0885B 80%);

  /* Type */
  --font-display: "Lexend Exa", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Lexend", "Helvetica Neue", Arial, sans-serif;

  --t-label:     0.8125rem;                                    /* 13px */
  --t-small:     1rem;                                         /* 16px */
  --t-body:      clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);    /* 17–18px */
  --t-lead:      clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);  /* 19–22px */
  --t-statement: clamp(1.375rem, 1rem + 1.4vw, 2.125rem);      /* 22–34px */
  --t-h3:        clamp(1.3125rem, 1.15rem + 0.6vw, 1.625rem);  /* 21–26px */
  --t-h2:        clamp(1.625rem, 1.1rem + 2vw, 2.75rem);       /* 26–44px */
  --t-h1:        clamp(2rem, 1.05rem + 3.4vw, 4rem);           /* 32–64px */

  --lh-body: 1.75;

  /* Space */
  --gutter:  clamp(1.25rem, 4.5vw, 3rem);
  --section: clamp(6rem, 12vw, 10rem);
  --max:     1280px;
  --header-h: 4.75rem;

  --error: #E0907F;     /* form errors: 6.9:1 on obsidian */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1.5rem); }

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 300;
  line-height: var(--lh-body);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
h1, h2, h3 { color: var(--stone); font-weight: 400; }

:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; }
::selection { background: var(--bronze); color: var(--obsidian); }

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

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--champagne); color: var(--obsidian); padding: 0.75rem 1rem; font-weight: 500; }
.skip:focus { left: var(--gutter); }

/* ---------- Type roles ---------- */

.label {
  font-family: var(--font-display);
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.55;
  color: var(--ink-3);
}
.label--accent { color: var(--champagne); }
/* Who something is for: a sentence, so it reads as one */
.audience { font-size: var(--t-small); line-height: 1.5; color: var(--champagne); }

.h1, .h2 { font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; }
.h1 { font-size: var(--t-h1); line-height: 1.1; }
.h2 { font-size: var(--t-h2); line-height: 1.18; }

.h3 { font-family: var(--font-body); font-size: var(--t-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.h4 { font-family: var(--font-body); font-size: 1.1875rem; font-weight: 400; line-height: 1.4; color: var(--stone); }

.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2); }
.statement { font-size: var(--t-statement); font-weight: 300; line-height: 1.45; letter-spacing: -0.01em; color: var(--stone); text-wrap: pretty; }

.prose { max-width: 38rem; }
.prose > * + * { margin-top: 1.4em; }
.prose strong, .lead strong, .statement strong { color: var(--stone); font-weight: 400; }
.statement em { font-style: normal; color: var(--champagne); }

.dash { display: block; width: 2.5rem; height: 2px; background: var(--metal); flex: none; }

.motto { font-family: var(--font-display); font-size: var(--t-label); letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.9; color: var(--stone); }
.motto span { display: block; }
.motto span + span { color: var(--champagne); }

.head { display: grid; gap: 1.5rem; justify-items: start; align-content: start; }
.head > .prose { margin-top: 0.25rem; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.85rem;
  min-height: 3.25rem; padding-inline: 1.75rem;
  font-family: var(--font-display); font-size: var(--t-label); font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.3; text-align: left;
  color: var(--stone); background: transparent; border: 1px solid var(--line-2);
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { border-color: var(--champagne); color: var(--champagne); }
.btn--solid { background: var(--bronze); border-color: var(--bronze); color: var(--obsidian); }
.btn--solid:hover { background: var(--champagne); border-color: var(--champagne); color: var(--obsidian); }
.btn[disabled] { opacity: .6; cursor: progress; }

.arrow { width: 1.1rem; height: 1px; background: currentColor; position: relative; flex: none; transition: width .35s var(--ease); }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow, .link:hover .arrow { width: 1.6rem; }

.link {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display); font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--stone); padding-block: 0.6rem; min-height: 2.75rem; border-bottom: 1px solid var(--line-2);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.link:hover { color: var(--champagne); border-color: var(--bronze); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 620px) {
  .btn-row { width: 100%; }
  .btn-row .btn { width: 100%; justify-content: space-between; }
}

/* ---------- Header ---------- */

.site-header { position: fixed; left: 0; right: 0; top: 0; padding-top: env(safe-area-inset-top, 0px); z-index: 50; border-bottom: 1px solid transparent; transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.site-header.is-solid, .site-header.is-open { background: rgba(11, 11, 13, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand img { height: 19px; width: auto; }

.nav { display: flex; align-items: center; gap: 2.5rem; }
.nav__list { display: flex; gap: clamp(1.5rem, 2.2vw, 2.25rem); list-style: none; padding: 0; }
.nav__link { font-family: var(--font-display); font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); position: relative; padding-block: 0.6rem; transition: color .25s var(--ease); }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0.15rem; width: 100%; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover { color: var(--stone); }
.nav__link:hover::after { transform: scaleX(1); }
.nav .btn { min-height: 2.75rem; padding-inline: 1.25rem; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--stone); width: 2.75rem; height: 2.75rem; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 1.1rem; height: 1px; background: currentColor; margin: 0.3rem auto; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.36rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.36rem) rotate(-45deg); }

@media (max-width: 1060px) {
  :root { --header-h: 4.25rem; }
  .brand img { height: 16px; }
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 1.75rem; padding: 0.5rem var(--gutter) 2rem; background: var(--obsidian); border-bottom: 1px solid var(--line); max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
  .nav[data-open="false"] { display: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__link { display: block; padding-block: 1.1rem; font-size: 0.875rem; color: var(--stone); }
  html.nav-open { overflow: hidden; }
  .nav__link::after { display: none; }
  .nav .btn { min-height: 3.25rem; }
}

/* ---------- Hero (full-bleed image) ---------- */

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(640px, 100svh, 960px); display: grid; grid-template-rows: 1fr auto; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); background: var(--obsidian); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; animation: push 18s var(--ease) both; }
@keyframes push { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,11,13,.94) 0%, rgba(11,11,13,.8) 32%, rgba(11,11,13,.25) 60%, rgba(11,11,13,0) 100%),
    linear-gradient(0deg, rgba(11,11,13,1) 0%, rgba(11,11,13,.6) 16%, rgba(11,11,13,0) 36%),
    linear-gradient(180deg, rgba(11,11,13,.6) 0%, rgba(11,11,13,0) 20%);
}
.hero__content { align-self: center; display: grid; gap: 1.5rem; justify-items: start; padding-block: clamp(1.75rem, 4vh, 3.5rem); }
.hero__title { max-width: 20ch; }
.hero__motto { display: flex; align-items: center; gap: 1.25rem; }
@media (min-width: 861px) { .hero__motto .motto span { display: inline; } .hero__motto .motto span + span { margin-left: 0.6em; } }
.hero__lead { max-width: 37rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.25rem; }

/* Three routes = the three things VARO does */
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.route { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0.4rem 1.25rem; padding: 1.25rem clamp(1rem, 2.5vw, 2rem) 1.4rem 0; position: relative; }
.route + .route { padding-left: clamp(1rem, 2.5vw, 2rem); border-left: 1px solid var(--line-2); }
.route .label { grid-column: 1 / -1; color: var(--champagne); }
.route span:not(.label):not(.arrow) { color: var(--stone); font-size: var(--t-small); line-height: 1.5; }
.route .arrow { color: var(--bronze); margin-bottom: 0.6rem; }
.route::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--metal); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.route:hover::after, .route:focus-visible::after { transform: scaleX(1); }
.route:hover .arrow { width: 1.8rem; }

.rise { animation: rise 1.1s var(--ease) both; }
.rise--2 { animation-delay: .12s; } .rise--3 { animation-delay: .24s; } .rise--4 { animation-delay: .36s; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }

@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero__media { bottom: auto; height: min(74svh, 640px); }
  .hero__media img { object-position: 60% 40%; }
  .hero::before { display: none; }
  .hero__content { padding-top: clamp(10rem, 31svh, 17rem); }
  .routes { grid-template-columns: 1fr; }
  .route, .route + .route { padding: 1.25rem 0; border-left: 0; }
  .route + .route { border-top: 1px solid var(--line); }
}

/* ---------- Section shells ---------- */

.section { padding-block: var(--section); position: relative; }
.section--surface { background: var(--surface); }
/* soft transitions between tones instead of hard borders */
.section--surface::before, .section--surface::after { content: ""; position: absolute; left: 0; right: 0; height: 6rem; pointer-events: none; }
.section--surface::before { top: 0; background: linear-gradient(180deg, var(--obsidian), transparent); }
.section--surface::after { bottom: 0; background: linear-gradient(0deg, var(--obsidian), transparent); }
.section--surface > .wrap { position: relative; z-index: 1; }

.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.5vw, 2rem); }
.grid-12 > * { min-width: 0; }

/* ---------- Approach: editorial statement ---------- */

.approach__head { grid-column: 1 / span 4; }
.approach__body { grid-column: 6 / -1; display: grid; gap: 2rem; }
.approach__body .prose { max-width: 36rem; }

.stages { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(1.25rem, 3vw, 2.5rem); margin-top: clamp(4.5rem, 9vw, 7rem); position: relative; }
.stages::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: linear-gradient(90deg, var(--bronze), var(--line-2) 75%); }
.stage { display: grid; gap: 0.85rem; align-content: start; min-width: 0; }
.stage::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--obsidian); border: 1px solid var(--bronze); margin-bottom: 1.5rem; }
.stage:first-child::before { background: var(--bronze); }
.stage p { font-size: var(--t-small); line-height: 1.7; }

@media (max-width: 960px) {
  .approach__head, .approach__body { grid-column: 1 / -1; }
  .approach__body { margin-top: 2.5rem; }
}
@media (max-width: 860px) {
  .stages { grid-template-columns: 1fr; }
  .stages::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--bronze), var(--line-2) 80%); }
  .stage { grid-template-columns: 11px minmax(0, 1fr); column-gap: 1.5rem; padding-bottom: 2.25rem; }
  .stage::before { grid-row: 1 / span 2; margin: 0.45rem 0 0; }
  .stage > * { grid-column: 2; }
}

/* ---------- Services: sticky heading + connected rows ---------- */

.services__head { grid-column: 1 / span 5; align-self: start; position: sticky; top: calc(var(--header-h) + 2.5rem); }
.services__list { grid-column: 7 / -1; list-style: none; padding: 0; position: relative; }
/* the thread that connects the five disciplines */
.services__list::before { content: ""; position: absolute; left: 1.3rem; top: 2.75rem; bottom: 2.75rem; width: 1px; background: linear-gradient(180deg, var(--bronze), var(--slate) 35%, var(--slate) 65%, var(--bronze)); }

.service { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: clamp(1.25rem, 3vw, 2.25rem); padding-block: clamp(2.25rem, 4vw, 3rem); border-bottom: 1px solid var(--line); position: relative; }
.service:first-child { padding-top: 0.5rem; }
.service:last-child { border-bottom: 0; }
.service__num { grid-row: 1 / span 5; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1px solid var(--slate); border-radius: 50%; background: var(--obsidian); font-family: var(--font-display); font-size: 0.75rem; color: var(--bronze); font-variant-numeric: tabular-nums; position: relative; z-index: 1; transition: border-color .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
.section--surface .service__num { background: var(--surface); }
.service:hover .service__num { border-color: var(--bronze); }
.service__for { margin-top: 0.75rem; }
.service__do { margin-top: 1.25rem; max-width: 36rem; }
.service__value { margin-top: 1.25rem; padding-left: 1.25rem; border-left: 1px solid var(--bronze); max-width: 34rem; color: var(--stone); }
.service__value .label { display: block; margin-bottom: 0.35rem; }
.service__links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.75rem; }
.service--feature .service__num { background: var(--bronze); border-color: var(--bronze); color: var(--obsidian); }

@media (max-width: 960px) {
  .services__head { grid-column: 1 / -1; position: static; margin-bottom: 3rem; }
  .services__list { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .service { grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: 1rem; }
  .service__num { width: 2.25rem; height: 2.25rem; }
  .services__list::before { left: 1.125rem; }
}

/* ---------- Full-width image moment ---------- */

.moment { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(420px, 70vh, 680px); display: grid; align-items: center; text-align: center; }
.moment__media { position: absolute; inset: 0; z-index: -2; }
.moment__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.moment::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--obsidian) 0%, rgba(11,11,13,.55) 22%, rgba(11,11,13,.62) 50%, rgba(11,11,13,.55) 78%, var(--obsidian) 100%), radial-gradient(60% 60% at 50% 50%, rgba(11,11,13,.55), transparent 80%); }
.moment__inner { display: grid; gap: 1.75rem; justify-items: center; padding-block: 6rem; }
.moment .statement { max-width: 24ch; font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); }

/* ---------- Drivers: image / text split ---------- */

.drivers { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; }
.drivers > * { min-width: 0; }
.drivers__media { position: relative; }
.drivers__media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.drivers__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.drivers__media figcaption { margin-top: 1rem; }
.drivers__body { display: grid; gap: 1.75rem; justify-items: start; }

.caps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem clamp(1.5rem, 3vw, 2.5rem); margin-top: 1rem; width: 100%; }
.cap { display: grid; gap: 0.6rem; align-content: start; padding-top: 1.25rem; border-top: 1px solid var(--line-2); position: relative; }
.cap::before { content: ""; position: absolute; left: 0; top: -1px; width: 2rem; height: 1px; background: var(--bronze); }
.cap p { font-size: var(--t-small); line-height: 1.7; }
.note { font-size: var(--t-small); line-height: 1.7; color: var(--ink-3); max-width: 36rem; padding-top: 1.5rem; border-top: 1px solid var(--line); width: 100%; }

@media (max-width: 960px) {
  .drivers { grid-template-columns: 1fr; }
  .drivers__media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 620px) { .caps { grid-template-columns: 1fr; } }

/* ---------- Partnerships: open two columns ---------- */

.partner-head { text-align: center; justify-items: center; max-width: 46rem; margin-inline: auto; }
.pathways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(3.5rem, 7vw, 5.5rem); border-top: 1px solid var(--line-2); }
.pathway { display: grid; gap: 1.5rem; align-content: start; justify-items: start; padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 4.5rem) 0 0; min-width: 0; }
.pathway + .pathway { padding-left: clamp(1.5rem, 5vw, 4.5rem); padding-right: 0; border-left: 1px solid var(--line-2); }
.pathway__list { list-style: none; padding: 0; display: grid; gap: 1.5rem; margin-block: 0.5rem; width: 100%; }
.pathway__list li { display: grid; gap: 0.3rem; padding-left: 1.5rem; position: relative; }
.pathway__list li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 0.75rem; height: 1px; background: var(--bronze); }
.pathway__list b { font-weight: 400; color: var(--stone); }
.pathway__list span { font-size: var(--t-small); line-height: 1.65; }
.pathway .note { border-top: 0; padding-top: 0; }

@media (max-width: 960px) {
  .pathways { grid-template-columns: 1fr; }
  .pathway, .pathway + .pathway { padding: 3rem 0 0; border-left: 0; }
  .pathway + .pathway { margin-top: 3.5rem; border-top: 1px solid var(--line-2); }
}

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.contact > * { min-width: 0; }
.contact__aside { display: grid; gap: 1.5rem; justify-items: start; position: sticky; top: calc(var(--header-h) + 2.5rem); }
.contact__direct { display: grid; gap: 0.6rem; margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); width: 100%; }
.email { font-family: var(--font-body); font-size: 1.125rem; font-weight: 400; color: var(--champagne); overflow-wrap: anywhere; border-bottom: 1px solid var(--slate); padding-bottom: 0.2rem; justify-self: start; transition: border-color .3s; }
.email:hover { border-color: var(--bronze); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; }
.field { display: grid; gap: 0.65rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--font-display); font-size: var(--t-label); letter-spacing: 0.1em; line-height: 1.5; text-transform: uppercase; color: var(--ink-2); padding: 0; }
.field .opt { color: var(--ink-3); letter-spacing: 0; text-transform: none; font-family: var(--font-body); font-size: 0.9375rem; margin-left: 0.35em; }
.input { width: 100%; font: inherit; font-size: 1.0625rem; font-weight: 300; color: var(--stone); background: var(--obsidian); border: 1px solid var(--line-2); border-radius: 0; padding: 0.9rem 1rem; min-height: 3.5rem; transition: border-color .25s var(--ease), background-color .25s var(--ease); -webkit-appearance: none; appearance: none; }
.input::placeholder { color: var(--ink-3); }
.input:hover { border-color: rgba(244,244,242,.28); }
.input:focus { outline: none; border-color: var(--bronze); background: var(--carbon); }
textarea.input { min-height: 10rem; resize: vertical; line-height: 1.65; }
select.input { background-image: linear-gradient(45deg, transparent 50%, var(--bronze) 50%), linear-gradient(135deg, var(--bronze) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.input:user-invalid, .input[aria-invalid="true"] { border-color: var(--error); }
.choice[aria-invalid="true"] label { border-color: var(--error); }
.field__error { font-size: var(--t-small); line-height: 1.5; color: var(--error); display: flex; gap: 0.6rem; align-items: baseline; }
.field__error::before { content: ""; flex: none; width: 0.75rem; height: 1px; background: currentColor; transform: translateY(-0.3em); }
.field__error[hidden] { display: none; }

fieldset.field { border: 0; margin: 0; padding: 0; }
.choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.choice label { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1rem; min-height: 3.5rem; border: 1px solid var(--line-2); background: var(--obsidian); font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink-2); cursor: pointer; transition: border-color .25s, color .25s; }
.choice input { accent-color: var(--bronze); margin: 0; width: 1rem; height: 1rem; flex: none; }
.choice label:has(input:checked) { border-color: var(--bronze); color: var(--stone); }
.choice label:has(input:focus-visible) { outline: 1px solid var(--champagne); outline-offset: 2px; }

.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: 0.5rem; }
.form__privacy { font-size: var(--t-small); color: var(--ink-3); max-width: 26rem; }
.form__privacy a { color: var(--ink-2); border-bottom: 1px solid var(--slate); white-space: nowrap; transition: border-color .3s var(--ease), color .3s var(--ease); }
.form__privacy a:hover { color: var(--champagne); border-color: var(--bronze); }
.form__status { grid-column: 1 / -1; font-size: var(--t-small); line-height: 1.6; color: var(--champagne); border-left: 2px solid var(--bronze); padding: 0.25rem 0 0.25rem 1rem; }
.form__status.is-error { color: var(--error); border-color: var(--error); }
.form__status a { color: var(--stone); border-bottom: 1px solid var(--slate); }
.form__done { grid-column: 1 / -1; display: grid; gap: 1.25rem; justify-items: start; padding: clamp(2rem, 4vw, 3rem); border: 1px solid var(--line-2); background: var(--surface); }
.form__done:focus { outline: none; }
.form__done p { max-width: 34rem; }
.hp { position: absolute; left: -9999px; }

@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .contact__aside { position: static; } }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } .choice { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; justify-content: space-between; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--obsidian); padding-block: 0 2.5rem; border-top: 1px solid var(--line); }
.triad { display: flex; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.triad span { font-family: var(--font-display); font-size: var(--t-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.triad i { width: 1px; background: var(--slate); }
@media (max-width: 560px) { .triad { justify-content: space-between; gap: 0.6rem; } .triad span { letter-spacing: 0.06em; font-size: 0.75rem; } }
@media (max-width: 380px) { .triad span { font-size: 0.6875rem; letter-spacing: 0.04em; } }

.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-top: 3.5rem; }
.footer__grid > * { min-width: 0; }
.footer__brand img { height: 18px; width: auto; }
.footer__brand .motto { margin-top: 1.5rem; }
.footer__list { list-style: none; padding: 0; margin-top: 1.25rem; display: grid; gap: 0.75rem; }
.footer__list a { font-size: var(--t-small); color: var(--ink-2); overflow-wrap: anywhere; transition: color .2s; }
.footer__list a:hover { color: var(--stone); }
.footer__list a { display: inline-block; padding-block: 0.15rem; }
.footer__legal { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 1rem 2rem; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-3); }
.footer__legal p { max-width: 52rem; }
.footer__legal a { color: var(--ink-2); border-bottom: 1px solid var(--slate); justify-self: start; }
.footer__legal a:hover { color: var(--stone); }
@media (max-width: 620px) { .footer__legal { grid-template-columns: 1fr; } }
/* A business detail still to be supplied: deliberately visible until it is filled in */
.pending { color: var(--champagne); border: 1px dashed var(--bronze); padding: 0 0.35em; font-style: normal; white-space: nowrap; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Site-wide components (inner pages)
   ========================================================================== */

/* Current page in the navigation */
.nav__link[aria-current="page"] { color: var(--stone); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 1060px) { .nav__link[aria-current="page"] { color: var(--champagne); } }

/* ---------- Page hero: shorter image hero for inner pages ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(460px, 68svh, 720px); display: grid; align-items: end; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); background: var(--obsidian); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: push 18s var(--ease) both; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,11,13,.94) 0%, rgba(11,11,13,.72) 38%, rgba(11,11,13,.2) 72%, rgba(11,11,13,.05) 100%), linear-gradient(0deg, var(--obsidian) 0%, rgba(11,11,13,.5) 22%, rgba(11,11,13,0) 45%), linear-gradient(180deg, rgba(11,11,13,.65) 0%, rgba(11,11,13,0) 24%); }
.page-hero__content { display: grid; gap: 1.5rem; justify-items: start; padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 5rem); }
.page-hero__content .h1 { max-width: 18ch; }
.page-hero__content .lead { max-width: 38rem; }

/* Plain variant: no photograph, the logo's V-cut and a low bronze glow */
.page-hero--plain { min-height: clamp(380px, 52svh, 560px); background: radial-gradient(70% 70% at 85% 110%, rgba(176,136,91,.18), transparent 65%), var(--obsidian); }
.page-hero--plain::before { background: none; }
.page-hero--plain::after { content: ""; position: absolute; z-index: -1; right: -4%; top: 12%; width: min(34vw, 420px); aspect-ratio: 1 / 1.35; background: var(--metal); opacity: .09; clip-path: polygon(62% 0, 100% 0, 38% 100%, 0 100%); }

@media (max-width: 860px) {
  .page-hero { min-height: 0; }
  .page-hero__media { bottom: auto; height: min(64svh, 540px); }
  .page-hero::before { display: none; }
  .page-hero:not(.page-hero--plain) .page-hero__content { padding-top: clamp(9.5rem, 34svh, 17rem); padding-bottom: 3.5rem; }
  .page-hero--plain { min-height: 0; }
  .page-hero--plain::before { background: none; }
}

/* ---------- Jump index (e.g. the five services) ---------- */
.jump { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block: 1px solid var(--line-2); }
.jump a { display: grid; gap: 0.4rem; padding: 1.35rem 1rem 1.35rem 0; height: 100%; position: relative; color: var(--ink-2); transition: color .3s var(--ease); }
.jump li + li a { padding-left: 1rem; border-left: 1px solid var(--line); }
.jump .num { font-family: var(--font-display); font-size: var(--t-label); color: var(--bronze); font-variant-numeric: tabular-nums; }
.jump span:last-child { font-size: var(--t-small); line-height: 1.45; }
.jump a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--metal); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.jump li + li a::after { left: 1rem; }
.jump a:hover { color: var(--stone); }
.jump a:hover::after { transform: scaleX(1); }
@media (max-width: 960px) {
  .jump { grid-template-columns: 1fr; border-bottom: 0; }
  .jump a, .jump li + li a { grid-template-columns: 2.5rem minmax(0, 1fr); padding: 1rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .jump li + li a::after { left: 0; }
}

/* ---------- Service detail block (alternating) ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 7vw, 6.5rem); align-items: start; }
.detail > * { min-width: 0; }
.detail--flip > :first-child { order: 2; }
.detail__main { display: grid; gap: 1.5rem; justify-items: start; }
.detail__title { display: flex; align-items: center; gap: 1.25rem; }
.detail__num { width: 3rem; height: 3rem; flex: none; display: grid; place-items: center; border: 1px solid var(--bronze); border-radius: 50%; font-family: var(--font-display); font-size: 0.8125rem; color: var(--bronze); font-variant-numeric: tabular-nums; }
.detail__value { padding-left: 1.25rem; border-left: 1px solid var(--bronze); color: var(--stone); max-width: 36rem; }
.detail__value .label { display: block; margin-bottom: 0.35rem; }
.detail__aside { padding: clamp(1.75rem, 3.5vw, 2.75rem); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 1.25rem; }
.section--surface .detail__aside { background: var(--obsidian); }
.detail + .detail { margin-top: clamp(5rem, 10vw, 8rem); padding-top: clamp(5rem, 10vw, 8rem); border-top: 1px solid var(--line); }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .detail--flip > :first-child { order: 0; } }

/* Ticked list for "what's involved" */
.checklist { list-style: none; padding: 0; display: grid; gap: 0; }
.checklist li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.75rem; padding-block: 0.9rem; border-bottom: 1px solid var(--line); color: var(--stone); font-size: var(--t-small); line-height: 1.55; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; width: 0.8rem; height: 1px; background: var(--bronze); margin-top: 0.8em; }

/* ---------- Numbered steps (a real sequence) ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { counter-increment: step; display: grid; gap: 0.75rem; align-content: start; padding-top: 1.5rem; border-top: 1px solid var(--line-2); min-width: 0; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 300; font-size: 1.75rem; line-height: 1; color: var(--bronze); margin-bottom: 0.75rem; font-variant-numeric: tabular-nums; }
.step p { font-size: var(--t-small); line-height: 1.7; }
@media (max-width: 960px) { .steps, .steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps, .steps--3 { grid-template-columns: 1fr; } }

/* ---------- Values / capability grid on its own (reuses .cap) ---------- */
.caps--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem clamp(2rem, 5vw, 4.5rem); margin-top: 0; }
@media (max-width: 720px) { .caps--wide { grid-template-columns: 1fr; } }

/* ---------- Split headline section ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 6.5rem); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }

/* ---------- Closing call-to-action band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -6%; bottom: -35%; width: min(36vw, 460px); aspect-ratio: 1 / 1.35; background: var(--metal); opacity: .08; clip-path: polygon(62% 0, 100% 0, 38% 100%, 0 100%); }
.cta-band__inner { display: grid; gap: 1.75rem; justify-items: start; max-width: 46rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

/* ---------- Founder / contact detail line ---------- */
.detail-list { list-style: none; padding: 0; display: grid; gap: 1.25rem; }
.detail-list li { display: grid; gap: 0.35rem; }
.detail-list li > span:last-child { color: var(--stone); }

/* ---------- Legal and long-form text ---------- */
.legal { max-width: 44rem; }
.legal h2 { font-family: var(--font-body); font-size: var(--t-h3); font-weight: 400; line-height: 1.3; margin-top: 3rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal ul { margin-top: 1.1em; }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: 0.5em; }
.legal a { color: var(--champagne); border-bottom: 1px solid var(--slate); }
.legal a:hover { border-color: var(--bronze); }
.legal__updated { margin-top: 3rem !important; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--ink-3); }

/* ---------- Utility ---------- */
.mt-section { margin-top: clamp(4rem, 8vw, 6.5rem); }
.center { text-align: center; justify-items: center; margin-inline: auto; }
.max-38 { max-width: 38rem; }

/* ---------- Modifiers ---------- */
.section--tight-top { padding-top: clamp(2rem, 5vw, 4rem); }
.section--flush-bottom { padding-bottom: 0; }
.page-hero--full { min-height: clamp(520px, 80svh, 760px); }
.note--plain { margin-top: 1.5rem; border-top: 0; padding-top: 0; }
.detail__num--feature { background: var(--bronze); color: var(--obsidian); }
.caps--near { margin-top: 2rem; }
.steps--stack { grid-template-columns: 1fr; gap: 1.75rem; width: 100%; }
.steps--stack .step::before { font-size: 1.25rem; margin-bottom: 0.25rem; }
.mt-sm { margin-top: 2rem !important; }
.small { font-size: var(--t-small); }

/* ---------- Design-system reference page only ---------- */
.ds-swatches { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem; }
.ds-swatches li { display: grid; gap: 0.3rem; min-width: 0; }
.ds-swatches span { display: block; aspect-ratio: 1 / 1; border: 1px solid var(--line-2); margin-bottom: 0.75rem; }
.ds-swatches b { font-weight: 400; color: var(--stone); }
.ds-swatches code { font-family: var(--font-display); font-size: var(--t-label); color: var(--ink-3); }
.ds-swatches small { font-size: 0.9375rem; color: var(--ink-3); }
@media (max-width: 860px) { .ds-swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ds-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ds-type { display: grid; gap: 2.5rem; }
.ds-type > div { display: grid; gap: 0.75rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.ds-demo::before { display: none; }

/* Long section headings: sentence case at section scale (uppercase stays for short headings) */
.h2--sentence { font-family: var(--font-body); font-weight: 300; text-transform: none; letter-spacing: -0.015em; line-height: 1.22; font-size: clamp(1.625rem, 1.15rem + 1.7vw, 2.5rem); }

/* Mobile hero band: the photograph fades into obsidian before the text begins */
@media (max-width: 860px) {
  .hero__media::after, .page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,13,.55) 0%, rgba(11,11,13,.1) 22%, rgba(11,11,13,.2) 42%, rgba(11,11,13,.82) 72%, var(--obsidian) 100%); }
  .hero__media, .page-hero__media { overflow: hidden; }
}
