/* haydonmort.com. A quiet editorial site on warm paper: one container, one
   spacing rhythm, photography in frames, the scroll-craft engine for depth and
   reveals only. Never restyle .sc-stage or any [data-sc-*] selector beyond
   what the engine documents. */

@font-face {
  font-family: "Newsreader";
  src: url("/site/fonts/newsreader-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/site/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/site/fonts/hanken-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg:        #F4EFE7;
  --surface:   #FAF7F2;
  --ink:       #1F1B17;
  --ink-soft:  #5F564D;
  --accent:    #8E5535;
  --line:        rgba(31, 27, 23, 0.12);
  --line-strong: rgba(31, 27, 23, 0.22);
  --dark:      #1E1A16;
  --dark-ink:  #EFE8DE;
  --dark-soft: #C9BEB1;
  --strata-bg: #F7F1EC;   /* the tone baked into the strata clip */

  --sc-canvas: var(--bg);
  --sc-surface: var(--surface);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--accent);
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --sc-font-text: "Newsreader", Georgia, "Times New Roman", serif;
  --sc-font-mono: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --sc-shadow-color: 30 25% 12%;
  --sc-edge: inset 0 1px 0 rgba(255, 255, 255, 0.7);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --nav-h: 76px;
  --section: clamp(88px, 10vw, 148px);

  --shadow: 0 1px 2px hsl(30 25% 12% / 0.06), 0 12px 32px -12px hsl(30 25% 12% / 0.18);
}

/* ------------------------------------------------------------ base -- */
html { background: var(--bg); scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--serif); font-size: 1.0625rem; line-height: 1.65;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: color-mix(in oklab, var(--accent) 22%, transparent); }
.sc-grain { opacity: 0.022; }
[data-sc-progress] { display: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 16px; font: 500 0.8rem/1 var(--sans); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.section { padding-block: var(--section); }

/* ------------------------------------------------------ type roles -- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font: 500 0.72rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: 0.45; flex: none; }
.eyebrow--accent { color: var(--accent); }

.display {
  font-family: var(--serif); font-weight: 340; font-size: clamp(2.7rem, 1.5rem + 3.7vw, 5.1rem);
  line-height: 1.02; letter-spacing: -0.022em; text-wrap: balance;
}
.display em, .h2 em { font-style: italic; color: var(--accent); font-weight: 340; }
.h2 {
  font-family: var(--serif); font-weight: 350; font-size: clamp(2rem, 1.35rem + 1.9vw, 3.05rem);
  line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance;
}
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 1.2rem + 0.4vw, 1.6rem); line-height: 1.2; letter-spacing: -0.008em; }
.lede { font-size: clamp(1.08rem, 1rem + 0.3vw, 1.22rem); line-height: 1.55; color: var(--ink-soft); max-width: 36ch; text-wrap: pretty; }
.body { color: var(--ink-soft); max-width: 60ch; text-wrap: pretty; }
.body + .body { margin-top: 1em; }
.label { font: 500 0.72rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------------------------------------------------------- actions -- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 26px;
  background: var(--accent); color: #fff; text-decoration: none; border-radius: 2px;
  font: 500 0.74rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  transition: background-color 180ms var(--ease), transform 160ms var(--ease);
}
.btn:hover { background: color-mix(in oklab, var(--accent) 86%, black); }
.btn:active { transform: translateY(1px); }
.arrow { display: inline-block; transition: transform 180ms var(--ease); }
.btn:hover .arrow, .more:hover .arrow, a:hover > .arrow { transform: translate(3px, 0); }
.arrow--out { transform: none; }
a:hover > .arrow--out, .more:hover .arrow--out { transform: translate(2px, -2px); }

.more {
  display: inline-flex; align-items: center; gap: 12px; padding-bottom: 7px;
  font: 500 0.74rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 100% 1px;
  transition: background-size 260ms var(--ease);
}
.more .arrow { color: var(--accent); }
.more:hover { background-size: 40% 1px; }

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

/* -------------------------------------------------------------- nav -- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--nav-h);
  transition: background-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.nav.is-scrolled { background: color-mix(in oklab, var(--bg) 92%, transparent); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__mark { font-family: var(--serif); font-size: 1.42rem; font-weight: 400; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); margin-left: auto; }
.nav__links a {
  font: 500 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  text-decoration: none; padding: 8px 0; position: relative; white-space: nowrap;
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__rule { width: 1px; height: 26px; background: var(--line-strong); }
.nav__in-icon { display: grid; place-items: center; width: 36px; height: 36px; color: var(--ink); }
.nav__in-icon svg { width: 17px; height: 17px; }
.nav__in-icon:hover { color: var(--accent); }
.nav__menu {
  display: none; margin-left: auto; align-items: center; gap: 10px; height: 40px; padding: 0 2px;
  border: 0; background: none; cursor: pointer; color: var(--ink);
  font: 500 0.72rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
}
.nav__menu i { display: grid; gap: 5px; width: 20px; }
.nav__menu i::before, .nav__menu i::after { content: ""; height: 1.5px; background: currentColor; transition: transform 200ms var(--ease); }
.nav.is-open .nav__menu i::before { transform: translateY(3.25px) rotate(45deg); }
.nav.is-open .nav__menu i::after { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__menu { display: inline-flex; }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--bg); box-shadow: 0 1px 0 var(--line), 0 20px 30px -20px hsl(30 25% 12% / 0.25);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s linear 200ms;
  }
  .nav.is-open { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
  .nav.is-open .nav__links { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
  .nav__links a { padding: 16px 0; font-size: 0.78rem; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__rule { display: none; }
  .nav__in-icon { width: auto; height: auto; justify-content: start; padding: 16px 0; }
}

/* ------------------------------------------------------------- hero -- */
.hero { position: relative; min-height: min(100svh, 900px); display: flex; align-items: center; overflow: clip; }
.hero__media { position: absolute; z-index: 0; top: var(--nav-h); right: 0; bottom: 0; width: 60%; overflow: clip; }
/* Chrome does not apply a CSS mask cleanly over a transformed (parallax)
   layer, so the fade into the page is painted over the photograph in the
   page colour instead. */
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to right, var(--bg) 0%, rgba(244, 239, 231, 0.9) 10%, rgba(244, 239, 231, 0.55) 22%, rgba(244, 239, 231, 0.18) 34%, rgba(244, 239, 231, 0) 46%);
}
.hero__layers { position: absolute; inset: -56px 0; }
.hero__layers img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero__contours {
  position: absolute; z-index: 1; left: -8%; bottom: -12%; width: 70%; height: 80%; color: var(--ink); opacity: 0.09; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
  mask-image: radial-gradient(closest-side, #000 40%, transparent);
}
.hero__contours img { width: 100%; height: 100%; object-fit: cover; }
.hero__in { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 72px; }
.hero__copy { max-width: 36rem; display: grid; gap: 28px; }
.hero__copy .display { margin-top: 4px; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; margin-top: 10px; }
.hero__side {
  position: absolute; z-index: 2; right: var(--gutter); top: calc(var(--nav-h) + 13%);
  padding-left: 16px; border-left: 1px solid var(--line-strong);
  font: 500 0.66rem/2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
}
.hero__side li:last-child { max-width: 19ch; line-height: 1.6; margin-top: 6px; }

/* Builds hero: the showcase video sits to the right of the copy. It is the
   point of this page, so it takes the wider column
   and the headline steps back to give it room. */
.hero--video .hero__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(26px, 3.2vw, 52px); align-items: center; }
.hero--video .hero__copy { max-width: none; gap: 24px; }
.hero--video .display { font-size: clamp(2.3rem, 1.35rem + 2.8vw, 4.05rem); }
.hero__figure {
  margin: 0; padding: 10px; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 12px; box-shadow: 0 34px 70px -34px rgba(40, 30, 20, 0.5);
}
.hero__video { position: relative; aspect-ratio: 16 / 9; overflow: clip; border-radius: 6px; background: #E9E2D7; }
.hero__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero__video:fullscreen { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; background: #14100c; }
.hero__video:-webkit-full-screen { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; background: #14100c; }
/* The player ships no chrome: play, pause and full screen are ours. */
.vv {
  position: absolute; z-index: 2; display: grid; place-items: center; padding: 0; border: 1px solid rgba(252, 251, 248, 0.45);
  border-radius: 999px; background: rgba(24, 18, 13, 0.55); color: #FCFBF8; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease), background 200ms var(--ease);
}
.vv:hover { background: rgba(24, 18, 13, 0.82); }
.vv svg { width: 40%; height: 40%; }
.vv--play { left: 50%; top: 50%; width: clamp(56px, 8vw, 78px); height: clamp(56px, 8vw, 78px); transform: translate(-50%, -50%); }
.vv--play svg { width: 34%; height: 34%; margin-left: 4%; }
.vv--pause, .vv--fs { width: 44px; height: 44px; }
.vv--pause { left: 14px; bottom: 14px; }
.vv--fs { right: 14px; bottom: 14px; }
.hero__video:not(.is-playing) .vv--pause { opacity: 0; pointer-events: none; }
.hero__video.is-playing .vv--play { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.88); }
/* Playing, the two small controls fade right out of the way and come back on
   hover or keyboard focus, so nothing sits over the picture. */
.hero__video.is-playing .vv--pause, .hero__video.is-playing .vv--fs { opacity: 0; transition: opacity 700ms var(--ease); }
.hero__video.is-playing:hover .vv--pause, .hero__video.is-playing:hover .vv--fs,
.hero__video.is-playing:focus-within .vv--pause, .hero__video.is-playing:focus-within .vv--fs { opacity: 1; transition: opacity 200ms var(--ease); }

@media (max-width: 1180px) and (min-width: 961px) {
  .hero__media { width: 55%; }
  .hero__copy { max-width: 31rem; }
}
@media (max-width: 960px) {
  .hero { display: block; min-height: 0; }
  .hero .eyebrow { flex-wrap: wrap; }
  .hero .eyebrow::after { display: none; }
  .hero__media { position: relative; top: auto; width: 100%; height: clamp(260px, 42svh, 420px); margin-top: var(--nav-h); }
  .hero__media::after { background: linear-gradient(to bottom, rgba(244, 239, 231, 0) 62%, var(--bg) 100%); }
  .hero__layers { inset: -32px 0; }
  .hero__in { padding-top: 8px; padding-bottom: 64px; }
  .hero__side, .hero__contours { display: none; }
  /* Builds hero on phones and portrait tablets: the photograph goes, the
     showcase video leads, and the words follow underneath it. */
  .hero--video .hero__media { display: none; }
  .hero--video .hero__in { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--nav-h) + 24px); }
  .hero--video .hero__figure { order: -1; margin: 0; }
  .hero--video .hero__copy { margin-top: 30px; }
}

/* --------------------------------------------------- section header -- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head__main { display: grid; gap: 22px; }
.sec-head .body { justify-self: end; max-width: 40ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-head .body { justify-self: start; } }

/* ------------------------------------------------------------ cards -- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 12 / 5; overflow: clip; background: #E9E2D7; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.card:hover .card__img img { transform: scale(1.035); }
.card__body { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.6vw, 34px); flex: 1; }
.card__body .body { font-size: 1rem; max-width: 44ch; }
.card__body .more { align-self: flex-start; margin-top: auto; padding-top: 18px; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } .card__img { aspect-ratio: 16 / 8; } }

/* ------------------------------------------------------------ about -- */
.about { position: relative; overflow: clip; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.about__media { position: relative; align-self: stretch; min-height: clamp(520px, 62vw, 760px); }
.about__frame { position: absolute; inset: 0 0 0 calc(-1 * (max(0px, (100vw - var(--wrap)) / 2) + var(--gutter))); overflow: clip; }
.about__frame img { position: absolute; left: 0; right: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 30% 50%; }
.about__portrait {
  position: absolute; right: -40px; bottom: 56px; z-index: 2; width: clamp(150px, 15vw, 200px);
  background: var(--surface); padding: 8px 8px 12px; box-shadow: var(--shadow);
}
.about__portrait img { width: 100%; height: auto; }
.about__portrait figcaption { margin-top: 10px; font: 500 0.64rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.about__copy { padding: var(--section) 0 var(--section) clamp(64px, 8vw, 120px); display: grid; gap: 22px; }
.about__copy .body { max-width: 46ch; }
.about__copy .more { justify-self: start; margin-top: 12px; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { min-height: 0; aspect-ratio: 4 / 4.2; margin-inline: calc(-1 * var(--gutter)); }
  .about__frame { inset: 0; }
  .about__portrait { right: var(--gutter); bottom: -44px; width: 132px; }
  .about__copy { padding: 88px 0 var(--section); }
}

/* ------------------------------------------------- kind words band -- */
.band { position: relative; background: var(--dark); color: var(--dark-ink); overflow: clip; }
.band__bg { position: absolute; inset: -40px 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(22, 19, 16, 0.9), rgba(22, 19, 16, 0.62) 55%, rgba(22, 19, 16, 0.86)); }
.band__in { position: relative; z-index: 2; padding-block: clamp(88px, 10vw, 136px); }
.band .eyebrow { color: var(--dark-soft); margin-bottom: 36px; }
.band blockquote p {
  font-family: var(--serif); font-style: italic; font-weight: 330;
  font-size: clamp(1.7rem, 1.15rem + 1.9vw, 2.75rem); line-height: 1.22; letter-spacing: -0.01em;
  max-width: 28ch; text-wrap: balance; color: var(--dark-ink);
}
.cite { padding-left: 22px; border-left: 1px solid rgba(239, 232, 222, 0.28); font: 500 0.68rem/1.9 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark-soft); }
.cite b { display: block; font-weight: 500; color: var(--dark-ink); }

.quotes { display: grid; }
.quotes > li { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 17rem); gap: 32px 64px; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 900ms var(--ease), visibility 0s linear 900ms; }
.quotes > li.is-on { opacity: 1; visibility: visible; transition: opacity 900ms var(--ease); }
.dashes { display: flex; gap: 10px; margin-top: 48px; }
.dashes button { width: 34px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.dashes button::before { content: ""; height: 2px; background: rgba(239, 232, 222, 0.25); transition: background-color 300ms var(--ease); }
.dashes button[aria-current="true"]::before { background: var(--dark-ink); }
.dashes button:hover::before { background: rgba(239, 232, 222, 0.6); }

.stacked { display: grid; gap: clamp(64px, 8vw, 104px); }
.stacked > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 17rem); gap: 28px 64px; align-items: center; }
.stacked > li:nth-child(2) blockquote { padding-left: clamp(0px, 8vw, 120px); }
[data-sc-in].slow, .slow[data-sc-in] { transition-duration: 1400ms; }
@media (max-width: 860px) {
  .quotes > li, .stacked > li { grid-template-columns: 1fr; }
  .stacked > li:nth-child(2) blockquote { padding-left: 0; }
}

/* ---------------------------------------------------------- contact -- */
.contact { position: relative; overflow: clip; }
.contact__contours { position: absolute; right: -6%; top: -10%; width: 58%; height: 120%; color: var(--ink); opacity: 0.08; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent); mask-image: radial-gradient(closest-side, #000 45%, transparent); }
.contact__contours img { width: 100%; height: 100%; object-fit: cover; }
.contact__in { position: relative; display: grid; gap: 26px; }
.contact .h2 { max-width: 20ch; }
.contact__mail {
  justify-self: start; display: inline-flex; align-items: center; gap: 18px; margin-top: 14px; padding-bottom: 10px;
  font-family: var(--serif); font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 100% 1px;
}
.contact__mail .arrow { color: var(--accent); font-size: 0.8em; }

/* ----------------------------------------------------------- footer -- */
.foot { border-top: 1px solid var(--line); }
.foot__in { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; padding-block: 34px; }
.foot__mark { font-family: var(--serif); font-size: 1.3rem; text-decoration: none; color: var(--ink); padding-right: 32px; border-right: 1px solid var(--line-strong); }
.foot__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot__links a, .foot__links span { font: 500 0.68rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.foot__links a:hover { color: var(--accent); }
.foot__note { margin-left: auto; max-width: 30ch; padding-left: 24px; border-left: 1px solid var(--line-strong); font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }
.foot__small { padding-bottom: 28px; font: 400 0.72rem/1.5 var(--sans); color: var(--ink-soft); }
@media (max-width: 860px) {
  .foot__mark { border-right: 0; padding-right: 0; width: 100%; }
  .foot__note { margin-left: 0; padding-left: 0; border-left: 0; }
}

/* ======================================================== /builds ==== */
.how { background: var(--strata-bg); }
.how__stage { background: var(--strata-bg); display: flex; align-items: center; }
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; padding-top: var(--nav-h); }
.strata { position: relative; width: min(100%, calc(100vh - var(--nav-h) - 96px)); aspect-ratio: 1; justify-self: center; background: var(--strata-bg); isolation: isolate; }
.strata img, .strata video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.strata video { z-index: 1; opacity: 0; transition: opacity 400ms var(--ease); }
.sc-has-clip.strata video, .sc-has-clip .strata video, .strata video.sc-has-clip { opacity: 1; }
/* Chrome will not composite a hardware video under a mask or blend, so the
   soft edge is painted over the frame in the ground colour instead. */
.strata::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to right, var(--strata-bg), transparent 8%, transparent 92%, var(--strata-bg)),
              linear-gradient(to bottom, var(--strata-bg), transparent 8%, transparent 92%, var(--strata-bg)); }
.how__copy { display: grid; gap: 22px; }
.how__copy .h2 { max-width: 16ch; }
.steps { margin-top: 12px; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); transition: color 500ms var(--ease); }
.steps .n { grid-row: span 2; font: 500 0.72rem/2 var(--sans); letter-spacing: 0.12em; color: var(--ink-soft); transition: color 500ms var(--ease); }
.steps b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.3; }
.steps span:last-child { font-size: 0.98rem; }
.steps li.is-set { color: var(--ink); }
.steps li.is-set .n { color: var(--accent); }
.how--flow .how__grid { padding-block: var(--section); }
@media (max-width: 900px) {
  .how__grid { grid-template-columns: 1fr; gap: 18px; padding-top: calc(var(--nav-h) + 8px); align-content: center; }
  .strata { width: min(78vw, 36vh); }
  .how__copy { gap: 12px; }
  .how__copy .eyebrow { display: none; }
  .how__copy .h2 { font-size: 1.55rem; }
  .steps { margin-top: 4px; }
  .steps li { padding: 8px 0; grid-template-columns: 2.2rem minmax(0, 1fr); }
  .steps b { font-size: 1.02rem; }
  .steps span:last-child { display: none; }
  .steps .n { grid-row: auto; line-height: 1.7; }
  .how--flow .strata { width: min(86vw, 420px); }
  .how--flow .steps span:last-child { display: block; }
}

.pipes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.pipe { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); }
.pipe__fig { padding: 22px 22px 18px; border-bottom: 1px solid var(--line); background: #FCFAF6; }
.pipe__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 28px; }
.pipe__for { color: var(--accent); }
.pipe__body .body { font-size: 0.98rem; }
.pipes__tail { margin-top: 36px; }
@media (max-width: 1100px) { .pipes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .pipes { grid-template-columns: 1fr; } }

.vig { width: 100%; height: auto; font-family: var(--sans); }
.vig text { fill: var(--ink); }
.vig__t { font-size: 10px; font-weight: 500; letter-spacing: 0.02em; }
.vig__t--soft { fill: var(--ink-soft); font-weight: 400; }
.vig__h { font-family: var(--serif); font-size: 22px; }
.vig__eyebrow { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; fill: var(--accent); font-weight: 500; }
.vig__big { font-family: var(--serif); font-size: 52px; fill: var(--accent); letter-spacing: -0.02em; }
.vig__big--num { font-size: 50px; fill: var(--ink); }
.vig__chip { fill: color-mix(in oklab, var(--accent) 10%, transparent); stroke: var(--accent); stroke-width: 1; }
.vig__chiptext { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--accent); font-weight: 500; }
.vig__track { fill: none; stroke: var(--line-strong); stroke-width: 7; stroke-linecap: round; }
.vig__val { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; }
.vig__stamp { fill: none; stroke: var(--accent); stroke-width: 2; }
.vig__grade { font-family: var(--serif); font-size: 42px; fill: var(--accent); }
.vig__barbg { fill: var(--line); }
.vig__bar { fill: var(--accent); }
.vig__bar--final { fill: var(--ink); }
.vig__claim { fill: rgba(217, 199, 174, 0.32); stroke: #6E4A3A; stroke-width: 1; stroke-dasharray: 4 3; }
.vig__traces path { stroke-width: 3; stroke-linecap: round; fill: none; }
.vig__traces .t1 { stroke: var(--ink-soft); }
.vig__traces .t2 { stroke: #6E4A3A; }
.vig__traces .t3 { stroke: var(--accent); }
.vig__collars circle { fill: var(--ink); }
.vig__arrow { fill: none; stroke: var(--line-strong); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.lat { rx: 2; }
.lat--veg { fill: #D9C7AE; }
.lat--bare { fill: var(--line); }
.lat--burn { fill: var(--ink); }
.lat--fire { fill: var(--accent); }

.clients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.clients li { height: clamp(120px, 12vw, 160px); display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px; }
.clients img { height: var(--h); width: auto; max-width: 86%; opacity: 0.8; transition: opacity 240ms var(--ease); }
.clients li:hover img { opacity: 1; }
@media (max-width: 700px) {
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients img { height: calc(var(--h) * 0.78); }
}

/* =================================================== /conferences ==== */
.contrast { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.contrast > div { padding: 40px 48px 8px 0; display: grid; gap: 16px; align-content: start; }
.contrast > div + div { padding-left: 48px; border-left: 1px solid var(--line); }
.contrast .label { color: var(--ink-soft); }
.contrast > div + div .label { color: var(--accent); }
.contrast p:not(.label) { font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem); line-height: 1.5; max-width: 34ch; }
@media (max-width: 760px) {
  .contrast { grid-template-columns: 1fr; }
  .contrast > div { padding: 32px 0 8px; }
  .contrast > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 32px; }
}

.method { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.method__fig { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 20px; padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.method__fig figcaption { font: 400 0.8rem/1.55 var(--sans); color: var(--ink-soft); max-width: 52ch; }
.method__steps { border-top: 1px solid var(--line); }
.method__steps > li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 10px 12px; padding: 34px 0; border-bottom: 1px solid var(--line); min-height: 36vh; align-content: center; }
.method__steps .n { grid-row: span 2; font: 500 0.72rem/2.4 var(--sans); letter-spacing: 0.12em; color: var(--accent); }
.method__steps p { color: var(--ink-soft); max-width: 42ch; }
.method__steps > li > :not(.n) { grid-column: 2; }
@media (max-width: 900px) {
  .method { grid-template-columns: 1fr; }
  .method__fig { position: relative; top: auto; padding: 20px; }
  .method__steps > li { min-height: 0; padding: 26px 0; }
}

.tmap { width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.tmap__arc { fill: color-mix(in oklab, var(--accent) 14%, transparent); stroke: var(--accent); stroke-width: 1; opacity: 0; transition: opacity 600ms var(--ease); }
.tmap__arc.is-on { opacity: 1; }
.tmap__name { font-size: 11px; font-weight: 500; fill: var(--ink); letter-spacing: 0.04em; opacity: 0; transition: opacity 600ms var(--ease); }
.tmap__name.is-on { opacity: 1; }
.tmap__chord { fill: none; stroke-linecap: round; cursor: pointer; outline: none; }
.tmap__chord--low { stroke: var(--ink-soft); stroke-width: 1.4; }
.tmap__chord--medium { stroke: #6E4A3A; stroke-width: 2.4; }
.tmap__chord--high { stroke: var(--accent); stroke-width: 3.4; }
.tmap__chord:hover, .tmap__chord:focus-visible { stroke-width: 4; }
.tmap__centre { font-size: 12px; fill: var(--ink); text-anchor: middle; paint-order: stroke fill; stroke: var(--surface); stroke-width: 7px; stroke-linejoin: round; }
.tmap__centre tspan.small { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--ink-soft); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font: 400 0.74rem/1.4 var(--sans); color: var(--ink-soft); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend svg { width: 22px; height: 6px; overflow: visible; }

.rail__track { display: flex; gap: 3px; height: 40px; }
.rail__seg { position: relative; flex-basis: 0; min-width: 2.8rem; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--bg); }
.rail__fill { position: absolute; inset: 0; background: color-mix(in oklab, var(--accent) 16%, transparent); transform: scaleX(0); transform-origin: left; }
.rail__seg b { position: absolute; left: 7px; top: 5px; font: 500 0.64rem/1.2 var(--sans); color: var(--ink); white-space: nowrap; }
.rail__seg span { position: absolute; left: 7px; bottom: 5px; font: 400 0.62rem/1 var(--sans); color: var(--ink-soft); white-space: nowrap; }
.rail__note { margin-top: 8px; font: 400 0.72rem/1.4 var(--sans); color: var(--ink-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips li { font: 400 0.76rem/1 var(--sans); letter-spacing: 0.04em; padding: 7px 11px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-soft); }
.chips li.ctl { border-style: dashed; }

.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.offer { background: var(--surface); border: 1px solid var(--line); padding: clamp(26px, 2.6vw, 36px); display: grid; gap: 14px; align-content: start; }
.offer .label { color: var(--accent); }
.offer .body { font-size: 1rem; }
.offer ul { display: grid; gap: 8px; margin-top: 4px; color: var(--ink-soft); font-size: 0.98rem; }
.offer li { padding-left: 18px; position: relative; }
.offer li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 8px; height: 1px; background: var(--accent); }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr; } }

/* --------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .card__img img, .quotes > li { transition: none; }
  .steps li, .steps li .n { color: var(--ink); }
  .rail__fill { transform: none; }
  .tmap__arc, .tmap__name { opacity: 1; }
}

/* Hero voice: short testimonials fading in and out over the photograph. */
.hero__voice { position: absolute; z-index: 2; right: var(--gutter); top: calc(var(--nav-h) + 34%); width: min(22rem, 30vw); display: grid; }
.hero__voice figure { grid-area: 1 / 1; margin: 0; padding: 20px 22px; border-left: 1px solid var(--line-strong); background: rgba(244, 239, 231, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transform: translateY(8px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.hero__voice figure.is-on { opacity: 1; transform: none; }
.hero__voice blockquote { margin: 0; font: italic 400 1.08rem/1.5 var(--serif); color: var(--ink); }
.hero__voice figcaption { margin-top: 12px; font: 500 0.64rem/1.6 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 960px) { .hero__voice { display: none; } }

/* Phone-only refinements; tablet and desktop layouts stay unchanged. */
@media (max-width: 600px) {
  :root { --section: 60px; }
  .hero__in { padding-bottom: 32px; }
  .hero__copy { gap: 22px; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 4px; }
  .hero__ctas .btn { box-sizing: border-box; width: 100%; min-height: 52px; height: auto; padding: 16px 18px; justify-content: space-between; line-height: 1.4; }
  .hero__ctas .more { align-self: flex-start; margin-left: 18px; box-sizing: border-box; min-height: 44px; padding-block: 12px; }
  .hero__ctas .arrow { flex-shrink: 0; }
  .sec-head { gap: 20px; margin-bottom: 28px; }
  .sec-head__main { gap: 18px; }
  .band__in { padding-block: 56px; }
  .band .eyebrow { margin-bottom: 28px; }
  .quotes > li { gap: 24px; }
  .stacked { gap: 44px; }
  .nav__menu { min-height: 44px; }
  .nav__links { max-height: calc(100svh - var(--nav-h)); box-sizing: border-box; overflow-y: auto; }
  .foot__in { gap: 16px; padding-block: 26px; }
  .foot__links { align-items: center; gap: 4px 22px; }
  .foot__links a { display: inline-flex; align-items: center; min-height: 44px; }
  .contact__mail { max-width: 100%; gap: 10px; font-size: clamp(1.1rem, 5.6vw, 1.35rem); overflow-wrap: anywhere; }
  .contact__mail .arrow { flex-shrink: 0; }
  .pipe__body, .offer { padding: 22px; }
  .clients li { box-sizing: border-box; height: 112px; padding: 12px; }
  .method__fig { min-width: 0; padding: 16px; }
  .method__steps > li { grid-template-columns: 1.8rem minmax(0, 1fr); gap: 10px; }
  .rail { min-width: 0; overflow-x: auto; padding-bottom: 8px; }
  .rail__track { min-width: 640px; }
  .rail__note { max-width: 100%; }
  .shot#shot { box-sizing: border-box; width: 94vw; max-height: 90svh; overflow-y: auto; }
  .shot#shot .shot__img { max-width: 100%; max-height: 55svh; margin-inline: auto; }
  .shot#shot .shot__bar { padding: 18px; gap: 16px; }
  .shot#shot .shot__go { box-sizing: border-box; width: 100%; justify-content: space-between; }
  .shot#shot .shot__x { width: 44px; height: 44px; }
  .quotes__dots { flex-wrap: wrap; }
  .quotes__dots button { box-sizing: border-box; min-width: 32px; height: 44px; padding-block: 21px; background-clip: content-box; }
  .quotes__dots button::before { display: none; }
  .dashes button { min-height: 44px; }
}
