/* ==========================================================================
   Averell — homepage
   Onyx palette, one brass accent. Nothing on this site has a border radius.
   Section order matches the handoff: hero, positioning, statement,
   difference, interlude, services, founder, enquire, footer.
   ========================================================================== */

:root {
  /* Surfaces */
  --onyx:            #0E0F10;   /* page */
  --onyx-deep:       #0B0C0D;   /* difference + founder bands */
  --onyx-tile:       #121416;   /* pillar tiles */
  --onyx-warm:       #101214;   /* enquire band base */

  /* Accent */
  --accent:          #C2A878;   /* brass */

  /* Type colours, brightest first */
  --text-high:       #F6F6F4;
  --text-primary:    #F2F2F0;
  --text-bright:     #EDEDEB;
  --text-quote:      #E6E7E5;
  --text-base:       #E8E8E6;
  --body:            #B0B4B7;
  --body-warm:       #CBC7C0;
  --body-dim:        #A2A6A9;
  --muted:           #9DA1A5;
  --label:           #8E9195;
  --label-dim:       #6B6F72;
  --rail-idle:       #5E6266;
  --num-idle:        #7C8085;

  /* Hairlines */
  --hairline:        rgba(232, 232, 230, .12);
  --hairline-soft:   rgba(232, 232, 230, .10);
  --hairline-hard:   rgba(232, 232, 230, .14);
  --hairline-mid:    rgba(232, 232, 230, .28);

  /* Type stacks */
  --display: 'Tenor Sans', 'Helvetica Neue', Arial, sans-serif;
  --read:    'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  /* Layout */
  --container: 1400px;
  --gutter: clamp(20px, 4vw, 60px);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------- base --- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--onyx);
  color: var(--text-base);
  font-family: var(--read);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #FFFFFF; }
img { max-width: 100%; }
::selection { background: var(--accent); color: var(--onyx); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.av-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 14px 22px;
  background: var(--onyx-deep);
  border: 1px solid var(--accent);
  font: 400 11px/1 var(--display);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.av-skip:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------------ keyframes --- */

@keyframes avRise { from { transform: translateY(112%) } to { transform: translateY(0) } }
@keyframes avFade { from { opacity: 0 }                  to { opacity: 1 } }
@keyframes avKen  { from { transform: scale(1.05) }      to { transform: scale(1.16) } }
@keyframes avUp   { from { opacity: 0; transform: translateY(22px) } to { opacity: 1; transform: none } }

/* Reveals are pure CSS on purpose. Do not author these at opacity:0 and
   un-hide them from JS — an earlier build did and the page rendered blank
   below the fold when the observer never fired. */
[data-reveal] { animation: avUp 1.05s var(--ease) both; }

@supports (animation-timeline: view()) {
  [data-reveal] {
    animation: avUp 1s linear both;
    animation-timeline: view();
    animation-range: entry 4% cover 24%;
  }
}

/* -------------------------------------------------- scroll progress bar --- */

.av-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 60;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .12s linear;
}

/* ----------------------------------------------------------- 	  header --- */

.av-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(16px, 2.1vw, 24px) var(--gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background .5s ease, border-color .5s ease, backdrop-filter .5s ease;
}

.av-header.is-scrolled {
  background: rgba(11, 12, 13, .86);
  border-bottom-color: var(--hairline-hard);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.av-wordmark { display: flex; align-items: center; }
.av-wordmark img {
  height: clamp(20px, 2.2vw, 27px);
  width: auto;
  display: block;
}

.av-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 34px);
  font: 400 11px/1 var(--display);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--label);
}
.av-nav a { transition: color .3s ease; }
.av-nav a.is-current { color: var(--text-primary); }

.av-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border: 1px solid rgba(194, 168, 120, .45);
  color: #EDE9E3;
  transition: background .4s ease, border-color .4s ease, color .3s ease;
}
.av-nav-cta:hover {
  background: rgba(194, 168, 120, .14);
  border-color: rgba(194, 168, 120, .85);
}

.av-burger {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  font: 400 10px/1 var(--display);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-base);
}
.av-burger-bars {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--text-base);
  box-shadow: 0 6px 0 var(--text-base);
}

/* ------------------------------------------------------- mobile overlay --- */

.av-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: var(--onyx);
  animation: avFade .4s ease both;
}
.av-menu[hidden] { display: none; }

.av-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 2.1vw, 24px) var(--gutter);
  border-bottom: 1px solid var(--hairline);
}
.av-menu-top img { height: 22px; width: auto; display: block; }

.av-menu-close {
  padding: 12px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  font: 400 10px/1 var(--display);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-base);
}

.av-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: clamp(28px, 7vw, 56px) clamp(20px, 6vw, 60px);
}
.av-menu-nav a {
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font: 400 clamp(20px, 6vw, 28px)/1.2 var(--display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.av-menu-cta {
  margin-top: 26px;
  padding: 20px 0 !important;
  text-align: center;
  border: 1px solid rgba(194, 168, 120, .5) !important;
  font: 400 11px/1 var(--display) !important;
  letter-spacing: .32em !important;
  color: #EDE9E3 !important;
}

.av-menu-foot {
  margin: auto 0 0;
  padding: clamp(20px, 5vw, 40px) clamp(20px, 6vw, 60px);
  font: 400 10px/1 var(--display);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--accent);
}

body.av-menu-open { overflow: hidden; }

/* --------------------------------------------------------- section rail --- */

.av-rail {
  position: fixed;
  right: clamp(18px, 2.4vw, 34px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}
.av-rail a {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 400 10px/1 var(--display);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--rail-idle);
  transition: color .4s ease;
}
.av-rail-label { opacity: 0; transition: opacity .4s ease; }
.av-rail-dash {
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width .4s ease;
}
.av-rail a.is-active { color: var(--accent); }
.av-rail a.is-active .av-rail-label { opacity: 1; }
.av-rail a.is-active .av-rail-dash { width: 34px; }

/* --------------------------------------------------------- shared parts --- */

.label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 clamp(30px, 4vw, 52px);
}
.label-num {
  font: 400 clamp(11px, 1.05vw, 13px)/1 var(--display);
  letter-spacing: .22em;
  color: var(--accent);
}
.label-rule {
  width: 26px;
  height: 1px;
  background: var(--hairline-mid);
}
.label-text {
  font: 400 clamp(11px, 1.05vw, 13px)/1 var(--display);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--label);
}

.rule-brass {
  width: clamp(28px, 5vw, 64px);
  height: 1px;
  background: var(--accent);
  flex: none;
}
.rule-brass.sm { width: 22px; }

/* ------------------------------------------------------------ 1 — hero --- */

.hero {
  position: relative;
  min-height: min(100svh, 980px);
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(.42) contrast(1.08);
  transform-origin: 60% 40%;
  animation: avKen 42s ease-in-out infinite alternate both;
}

.hero-scrim-a,
.hero-scrim-b { position: absolute; inset: 0; }
.hero-scrim-a {
  background: linear-gradient(90deg, rgba(14, 15, 16, .94) 8%, rgba(14, 15, 16, .62) 48%, rgba(14, 15, 16, .34));
}
.hero-scrim-b {
  background: linear-gradient(to top, rgba(14, 15, 16, .96), rgba(14, 15, 16, 0) 46%);
}

/* The column may grow taller than the viewport — never clip it. */
.hero-body {
  position: relative;
  min-height: min(100svh, 980px);
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(96px, 12vw, 150px) var(--gutter) clamp(86px, 8vw, 124px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 clamp(28px, 4vw, 48px);
  font: 400 clamp(11px, 1.1vw, 13px)/1 var(--display);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #B9BDC0;
  opacity: 0;
  animation: avFade 1.1s ease .15s both;
}

.hero-title {
  margin: 0;
  max-width: 17em;
  font: 400 clamp(28px, 4.5vw, 60px)/1.28 var(--display);
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--text-high);
}
.hero-title .mask { display: block; overflow: hidden; }
.hero-title .mask > span {
  display: block;
  animation: avRise 1.15s var(--ease) both;
}
.hero-title .mask:nth-child(1) > span { animation-delay: .10s; }
.hero-title .mask:nth-child(2) > span { animation-delay: .22s; }
.hero-title .mask:nth-child(3) > span { animation-delay: .34s; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(32px, 4.6vw, 56px);
  opacity: 0;
  animation: avFade 1.2s ease .7s both;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 2px 12px;
  border-bottom: 1px solid rgba(194, 168, 120, .6);
  font: 400 clamp(11px, 1vw, 12px)/1 var(--display);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: border-color .4s ease;
}
.hero-link:hover { border-color: var(--accent); }
.hero-link .arrow {
  font-size: 12px;
  display: inline-block;
  transition: transform .4s ease;
}
.hero-link:hover .arrow { transform: translateX(6px); }

.hero-tagline {
  margin: 0;
  max-width: 22em;
  font: 300 clamp(16px, 1.5vw, 20px)/1.7 var(--read);
  color: #B7BBBE;
}

.hero-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 1px;
  height: clamp(22px, 4vw, 44px);
  background: linear-gradient(to bottom, rgba(232, 232, 230, 0), rgba(232, 232, 230, .5));
  opacity: 0;
  animation: avFade 1.4s ease 1.1s both;
  pointer-events: none;
}

/* ----------------------------------------------------- 2 — positioning --- */

.positioning {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(70px, 8.4vw, 122px) var(--gutter) 0;
}

.positioning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
  padding-bottom: clamp(66px, 7.8vw, 110px);
  border-bottom: 1px solid var(--hairline);
}

.positioning h2 {
  margin: 0;
  font: 400 clamp(24px, 3.1vw, 42px)/1.3 var(--display);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.prose {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2vw, 28px);
  max-width: 34em;
  font: 400 clamp(19px, 1.6vw, 24px)/1.78 var(--read);
  color: var(--body);
}
.prose p { margin: 0; }
.prose .hi { color: var(--text-primary); }

/* ------------------------------------------------------- 3 — statement --- */

.statement {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(66px, 7.8vw, 110px) var(--gutter);
  text-align: center;
}

.statement-lines {
  margin: 0 auto;
  max-width: 26em;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vw, 18px);
  font: 400 clamp(20px, 2.6vw, 36px)/1.42 var(--display);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-bright);
}
.statement-lines .dim { color: var(--muted); }

.statement-cue {
  display: block;
  width: 1px;
  height: clamp(34px, 5vw, 64px);
  margin: clamp(34px, 5vw, 60px) auto 0;
  background: linear-gradient(to bottom, var(--accent), rgba(194, 168, 120, 0));
}

/* ------------------------------------------------------ 4 — difference --- */

.difference {
  background: var(--onyx-deep);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}
.difference .container {
  padding: clamp(70px, 8.4vw, 120px) var(--gutter);
}
.difference .label { margin-bottom: clamp(34px, 4.4vw, 58px); }

/* The 1px gap *is* the hairline — the grid background shows through it. */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 1px;
  background: var(--hairline);
  max-width: 1180px;
}

.pillar {
  background: var(--onyx-tile);
  padding: clamp(34px, 4.4vw, 60px) clamp(26px, 3.4vw, 52px);
}
.pillar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(18px, 2vw, 26px);
}
.pillar h3 {
  margin: 0;
  font: 400 clamp(20px, 2vw, 27px)/1.25 var(--display);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.pillar-num {
  font: 400 12px/1 var(--display);
  letter-spacing: .22em;
  color: var(--accent);
}
.pillar p {
  margin: 0;
  max-width: 34em;
  font: 400 clamp(17px, 1.45vw, 21px)/1.78 var(--read);
  color: var(--body-dim);
}

/* -------------------------------------------------------- 5 — interlude --- */

.interlude {
  position: relative;
  height: clamp(280px, 42vw, 560px);
  overflow: hidden;
}
.interlude-img {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  filter: grayscale(1) brightness(.5) contrast(1.05);
  will-change: transform;
}
.interlude-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 15, 16, .6), rgba(14, 15, 16, .35), rgba(14, 15, 16, .75));
}

/* --------------------------------------------------------- 6 — services --- */

.services {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(70px, 8.4vw, 120px) var(--gutter);
}

.services-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(34px, 4.5vw, 58px);
}
.services-head .label { margin-bottom: 0; }

.services-note {
  margin: 0;
  max-width: 20em;
  font: 400 clamp(18px, 1.6vw, 22px)/1.7 var(--read);
  color: var(--muted);
}

.svc {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.6vw, 40px);
  padding: clamp(24px, 3vw, 38px) 0;
  border-top: 1px solid var(--hairline);
  transition: padding-left .45s var(--ease), border-color .45s ease;
}
.svc.is-last { border-bottom: 1px solid var(--hairline); }

.svc-num {
  font: 400 clamp(11px, 1vw, 13px)/1 var(--display);
  letter-spacing: .22em;
  color: var(--num-idle);
  transition: color .45s ease;
}
.svc-title {
  font: 400 clamp(20px, 2.2vw, 32px)/1.3 var(--display);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-bright);
}
.svc-arrow {
  font: 400 15px/1 var(--display);
  color: var(--num-idle);
  transition: transform .45s var(--ease), color .45s ease;
}

.svc:hover,
.svc:focus-visible {
  padding-left: 14px;
  border-color: rgba(194, 168, 120, .55);
}
.svc:hover .svc-num,
.svc:hover .svc-arrow,
.svc:focus-visible .svc-num,
.svc:focus-visible .svc-arrow { color: var(--accent); }
.svc:hover .svc-arrow,
.svc:focus-visible .svc-arrow { transform: translateX(8px); }

/* ---------------------------------------------------------- 7 — founder --- */

.founder {
  background: var(--onyx-deep);
  border-top: 1px solid var(--hairline-soft);
}
.founder-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 440px) 1fr;
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
  padding: clamp(64px, 8vw, 120px) var(--gutter);
}

.founder-portrait {
  position: relative;
  overflow: hidden;
  margin: 0;
}
.founder-portrait img {
  width: 100%;
  height: clamp(360px, 44vw, 540px);
  object-fit: cover;
  object-position: 50% 26%;
  display: block;
  filter: grayscale(1) brightness(.86) contrast(1.04);
}
.founder-rule {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  opacity: .7;
}

.founder .label { margin-bottom: clamp(26px, 3.4vw, 44px); }

.founder-quote {
  margin: 0;
  max-width: 30em;
  font: 400 clamp(19px, 2vw, 26px)/1.72 var(--read);
  color: var(--text-quote);
}
.founder-quote p { margin: 0; }
.founder-quote p + p { margin-top: 1.72em; }

.founder-name {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(26px, 3.2vw, 40px) 0 0;
  font: 400 clamp(9px, 1vw, 11px)/1 var(--display);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #B9BDC0;
}

/* ---------------------------------------------------------- 8 — enquire --- */

.enquire {
  position: relative;
  overflow: hidden;
  background: var(--onyx-warm);
  border-top: 1px solid rgba(194, 168, 120, .28);
}
.enquire-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(.28) contrast(1.05);
}
.enquire-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(16, 18, 20, .88), rgba(16, 18, 20, .94));
}

.enquire-body {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(76px, 9vw, 128px) var(--gutter);
  text-align: center;
}

.enquire-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 clamp(30px, 4vw, 48px);
  font: 400 clamp(11px, 1.05vw, 13px)/1 var(--display);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--accent);
}
.enquire-eyebrow .rule-brass { width: clamp(24px, 4vw, 54px); }

.enquire-copy {
  margin: 0 auto;
  max-width: 30em;
  font: 400 clamp(19px, 1.7vw, 25px)/1.74 var(--read);
  color: var(--body-warm);
}

.enquire-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(38px, 5vw, 64px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 18px 44px;
  border: 1px solid rgba(194, 168, 120, .6);
  font: 400 clamp(11px, 1vw, 12px)/1 var(--display);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #F6F3EE;
  transition: background .45s ease, border-color .45s ease;
}
.btn:hover {
  background: rgba(194, 168, 120, .16);
  border-color: var(--accent);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(232, 232, 230, .24);
  font: 400 clamp(11px, 1vw, 12px)/1 var(--display);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #B4B0A9;
  transition: border-color .45s ease, color .45s ease;
}
.btn-text:hover {
  color: #F6F3EE;
  border-color: rgba(194, 168, 120, .7);
}

/* ----------------------------------------------------------- 9 — footer --- */

.footer { border-top: 1px solid var(--hairline); }

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 92px) var(--gutter) clamp(28px, 3vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.footer-mark {
  height: clamp(30px, 3.4vw, 40px);
  width: auto;
  display: block;
  margin-bottom: 28px;
}
.footer-blurb {
  margin: 0;
  max-width: 22em;
  font: 400 18px/1.75 var(--read);
  color: var(--label);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font: 400 11px/1 var(--display);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--label);
}
.footer-col a { transition: color .3s ease; }
.footer-head { color: var(--rail-idle); letter-spacing: .34em; }

.footer-bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(20px, 2.4vw, 30px) var(--gutter) clamp(30px, 4vw, 52px);
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font: 400 10px/1.6 var(--display);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--label-dim);
}

/* ------------------------------------------------------- inner pages --- */

.page-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(140px, 17vw, 216px) var(--gutter) clamp(46px, 6vw, 76px);
}

/* Image-backed variant: same construction as the homepage hero — photograph,
   two scrims, content on top — at roughly half the height. */
.page-hero.has-image {
  position: relative;
  max-width: none;
  padding: 0;
  overflow: hidden;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  /* Lighter than the homepage hero: the tower is a hazier, lower-contrast
     photograph and disappears entirely under the .42 grade. */
  filter: grayscale(1) brightness(.62) contrast(1.12);
}
.page-hero-scrim-a,
.page-hero-scrim-b { position: absolute; inset: 0; }
.page-hero-scrim-a {
  background: linear-gradient(90deg, rgba(14, 15, 16, .92) 6%, rgba(14, 15, 16, .5) 46%, rgba(14, 15, 16, .2));
}
.page-hero-scrim-b {
  background: linear-gradient(to top, rgba(14, 15, 16, .94), rgba(14, 15, 16, 0) 62%);
}
/* Gutter lives on the inner column so the title aligns with the homepage hero. */
.page-hero.has-image > .page-hero-body {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(150px, 18vw, 232px) var(--gutter) clamp(56px, 7vw, 96px);
}
.page-hero h1 {
  margin: 0;
  max-width: 15em;
  font: 400 clamp(28px, 4.5vw, 60px)/1.28 var(--display);
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--text-high);
}
.page-hero-note {
  margin: clamp(28px, 3.4vw, 44px) 0 0;
  max-width: 34em;
  font: 400 clamp(19px, 1.6vw, 24px)/1.78 var(--read);
  color: var(--body);
}
.page-hero-rule {
  display: block;
  width: 1px;
  height: clamp(34px, 5vw, 64px);
  margin: clamp(34px, 5vw, 60px) 0 0;
  background: linear-gradient(to bottom, var(--accent), rgba(194, 168, 120, 0));
}

/* --------------------------------------------------------- case studies --- */

.cases {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(70px, 8.4vw, 120px);
}

.case {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(30px, 4.5vw, 72px);
  align-items: start;
  padding: clamp(44px, 6vw, 82px) 0;
  border-top: 1px solid var(--hairline);
}
.case:last-of-type { border-bottom: 1px solid var(--hairline); }

.case-num {
  display: block;
  margin-bottom: clamp(18px, 2.2vw, 28px);
  font: 400 clamp(11px, 1.05vw, 13px)/1 var(--display);
  letter-spacing: .22em;
  color: var(--accent);
}
.case h2 {
  margin: 0;
  max-width: 16em;
  font: 400 clamp(21px, 2.3vw, 31px)/1.34 var(--display);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.case-body {
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3vw, 40px);
  max-width: 34em;
}
.case-part p {
  margin: 0;
  font: 400 clamp(18px, 1.5vw, 22px)/1.78 var(--read);
  color: var(--body);
}
.case-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(10px, 1.2vw, 14px);
  font: 400 clamp(11px, 1vw, 12px)/1 var(--display);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--label);
}
.case-label .rule-brass { width: 16px; }
.case-part.is-outcome p { color: var(--body-warm); }

/* Desktop: the title column holds position while its detail scrolls past. */
@media (min-width: 921px) {
  .case-head {
    position: sticky;
    top: clamp(120px, 14vw, 168px);
  }
}

/* Full-bleed band inside the gutter-padded list: the negative inline margin
   cancels the container's own width, so it reaches both viewport edges. */
.cases-band {
  position: relative;
  height: clamp(220px, 30vw, 420px);
  overflow: hidden;
  margin: clamp(26px, 3.4vw, 52px) calc(50% - 50vw);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}

.cases-note {
  max-width: 34em;
  margin: clamp(40px, 5vw, 64px) 0 0;
  font: 400 clamp(11px, 1vw, 12px)/1.7 var(--display);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--label-dim);
}

/* ---------------------------------------------------- stub page shells --- */

.stub {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(150px, 20vw, 260px) var(--gutter) clamp(90px, 12vw, 160px);
  min-height: 70svh;
}
.stub h1 {
  margin: 0;
  max-width: 17em;
  font: 400 clamp(28px, 4.5vw, 60px)/1.28 var(--display);
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--text-high);
}
.stub-note {
  margin: clamp(28px, 4vw, 44px) 0 0;
  max-width: 34em;
  font: 400 clamp(19px, 1.6vw, 24px)/1.78 var(--read);
  color: var(--body);
}
.stub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(38px, 5vw, 64px);
}

/* ------------------------------------------------------- one breakpoint --- */

@media (max-width: 920px) {
  .av-nav  { display: none; }
  .av-rail { display: none; }
  .av-burger { display: flex; }
  [data-av-stack] { grid-template-columns: 1fr; }
  .founder-portrait img { height: 74vw; min-height: 0; }
}

/* ------------------------------------------------------- reduced motion --- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img { animation: none; }
  .hero-eyebrow,
  .hero-actions,
  .hero-cue { opacity: 1; animation: none; }
  .hero-title .mask > span { animation: none; }
  [data-reveal] {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .av-menu { animation: none; }
}
