/* ==========================================================================
   Kinesix Physiotherapy
   Cream base · navy + gold from the logo · the mark's ~53° stroke angle
   is reused everywhere as the "slant" (90° − 53° = 37° skew).
   ========================================================================== */

:root {
  --cream: #F4EDE1;
  --cream-2: #ECE2D0;
  --paper: #FBF7F0;
  --navy: #153649;
  --navy-2: #0F2A39;
  --navy-3: #1D465E;
  --gold: #F2AF3E;
  --gold-2: #E39B24;

  --ink: var(--navy);
  --ink-soft: rgba(21, 54, 73, .74);
  --ink-faint: rgba(21, 54, 73, .5);
  --line: rgba(21, 54, 73, .16);
  --line-light: rgba(244, 237, 225, .18);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --slant: -37deg;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1320px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

/* paper grain over everything — cheap, no blend mode */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.21 0 0 0 0 0.29 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: 0;
  text-transform: none;
}

::selection { background: var(--gold); color: var(--navy); }

:focus-visible { outline: 2.5px solid var(--navy); outline-offset: 4px; border-radius: 4px; }
.on-dark :focus-visible, .menu :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

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

.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 200;
  padding: .8rem 1.2rem; border-radius: 999px;
  background: var(--navy); color: var(--cream);
  font-weight: 600; font-size: .85rem;
  transform: translateY(-200%);
  transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

.section { padding: clamp(4.5rem, 10vw, 9rem) 0; position: relative; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: .75rem;
  font-weight: 600;
  font-stretch: 120%;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 1.2;
}
/* two slanted bars: the logo mark in miniature */
.eyebrow::before {
  content: "";
  flex: none;
  width: 18px; height: 14px;
  background: linear-gradient(90deg, var(--navy) 0 3.5px, transparent 3.5px 8.5px, var(--gold) 8.5px 12px, transparent 12px);
  transform: skewX(var(--slant));
}
.on-dark .eyebrow::before, .eyebrow--light::before {
  background: linear-gradient(90deg, var(--cream) 0 3.5px, transparent 3.5px 8.5px, var(--gold) 8.5px 12px, transparent 12px);
}

.h2 {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  font-weight: 750;
  font-stretch: 115%;
  line-height: 1;
  letter-spacing: -.03em;
}
.h2 em { font-size: 1.08em; letter-spacing: -.01em; }

.lede { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--ink-soft); max-width: 38rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .8rem; font-weight: 650; font-stretch: 118%;
  letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: .35rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  transition: background-size .45s var(--ease);
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .4s var(--ease); }
.link-arrow:hover { background-size: 35% 1.5px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  padding: 1.05rem 1.5rem 1.05rem 1.65rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: .8rem; font-weight: 650; font-stretch: 118%;
  letter-spacing: .13em; text-transform: uppercase; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover svg.i-ext { transform: translate(2px, -2px); }
.btn:active { transform: scale(.98); }
.btn--sm { padding: .8rem 1.1rem .8rem 1.3rem; font-size: .74rem; }

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--navy); color: var(--cream); }
.on-dark .btn--gold:hover { background: var(--cream); color: var(--navy); }

.btn--navy { background: var(--navy); color: var(--cream); }
.btn--navy:hover { background: var(--cream); color: var(--navy); }

.btn--line { border-color: rgba(21, 54, 73, .35); color: var(--navy); }
.btn--line:hover { border-color: var(--navy); background: var(--navy); color: var(--cream); }

.btn--line-light { border-color: rgba(244, 237, 225, .4); color: var(--cream); }
.btn--line-light:hover { border-color: var(--cream); background: var(--cream); color: var(--navy); }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background-color .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  background: rgba(244, 237, 225, .84);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  display: flex; align-items: center; gap: 2rem;
  height: var(--header-h);
  transition: height .4s var(--ease);
}
.is-scrolled .header__inner { height: 70px; }

.brand { flex: none; display: block; }
.brand img { height: 46px; width: auto; transition: height .4s var(--ease); }
.is-scrolled .brand img { height: 40px; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(1.2rem, 2.2vw, 2.2rem); }
.nav a {
  position: relative; display: block; padding: .5rem 0;
  font-size: .76rem; font-weight: 600; font-stretch: 118%;
  letter-spacing: .14em; text-transform: uppercase;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1rem;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* burger = the mark's two parallel strokes; opening turns them into the X */
.burger {
  display: none; align-items: center; gap: .7rem;
  height: 48px; padding: 0 .2rem 0 .6rem;
  border: 0; background: none; cursor: pointer;
  font-size: .72rem; font-weight: 600; font-stretch: 118%;
  letter-spacing: .18em; text-transform: uppercase;
}
.slashes { position: relative; width: 30px; height: 30px; flex: none; }
.slashes span {
  position: absolute; left: 50%; top: 50%;
  width: 4px; height: 28px; margin: -14px 0 0 -2px; border-radius: 4px;
  background: var(--navy);
  transform: translateX(-5px) rotate(37deg);
  transition: transform .5s var(--ease), background-color .3s;
}
.slashes span + span { background: var(--gold); transform: translateX(5px) translateY(3px) rotate(37deg); }
.burger:hover .slashes span { transform: translateX(-6px) translateY(-2px) rotate(37deg); }
.burger:hover .slashes span + span { transform: translateX(6px) translateY(4px) rotate(37deg); }
.slashes--x span, .burger:hover .slashes--x span { background: var(--cream); transform: rotate(37deg); }
.slashes--x span + span, .burger:hover .slashes--x span + span { background: var(--gold); transform: rotate(-37deg); }

/* ---------- Mobile menu ---------- */

.menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  background: var(--navy); color: var(--cream);
  clip-path: circle(0% at calc(100% - 44px) 42px);
  visibility: hidden;
  transition: clip-path .75s var(--ease-in-out), visibility 0s linear .75s;
  overflow-y: auto;
}
.menu.is-open {
  clip-path: circle(150% at calc(100% - 44px) 42px);
  visibility: visible;
  transition: clip-path .75s var(--ease-in-out), visibility 0s;
}
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.menu__top img { height: 42px; width: auto; }
.menu .burger { display: inline-flex; color: var(--cream); }
.menu__nav { flex: 1; display: flex; align-items: center; padding: 2rem 0; }
.menu__nav ol { width: 100%; counter-reset: m; }
.menu__nav li { overflow: hidden; border-bottom: 1px solid var(--line-light); }
.menu__nav a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .9rem 0;
  font-size: clamp(1.9rem, 8.5vw, 3.6rem); font-weight: 800; font-stretch: 122%;
  text-transform: uppercase; letter-spacing: -.02em; line-height: 1;
  transform: translateY(105%);
  transition: transform .7s var(--ease), color .3s;
}
.menu__nav a::before {
  counter-increment: m; content: "0" counter(m);
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--gold);
  transform: translateY(-1.1em);
}
.menu__nav a:hover, .menu__nav a[aria-current="page"] { color: var(--gold); }
.menu.is-open .menu__nav a { transform: none; }
.menu.is-open .menu__nav li:nth-child(1) a { transition-delay: .25s; }
.menu.is-open .menu__nav li:nth-child(2) a { transition-delay: .3s; }
.menu.is-open .menu__nav li:nth-child(3) a { transition-delay: .35s; }
.menu.is-open .menu__nav li:nth-child(4) a { transition-delay: .4s; }
.menu.is-open .menu__nav li:nth-child(5) a { transition-delay: .45s; }
.menu__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.5rem 0 2rem; font-size: .95rem; color: rgba(244, 237, 225, .75);
}
.menu__foot a:hover { color: var(--gold); }
.menu__contact { display: grid; gap: .2rem; }

/* ---------- Hero (home) ---------- */

.hero { position: relative; padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  min-height: min(calc(100svh - var(--header-h) - 4rem), 780px);
}
.hero__title {
  margin: 1.6rem 0 2rem;
  /* longest line ≈ 10em wide; sized to fit the copy column */
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  font-weight: 800; font-stretch: 125%;
  line-height: .9; letter-spacing: -.03em;
  text-transform: uppercase;
}
/* the three words step down-left like the logo's strokes */
.hl { display: block; overflow: hidden; padding: .03em 0 .12em; margin-bottom: -.12em; }
.hl--1 { padding-left: 2.1em; }
.hl--2 { padding-left: 1.05em; }
.hl em { font-size: 1.16em; line-height: .8; letter-spacing: -.01em; }
.hl__i { display: inline-block; }
.hero__lede { margin-bottom: 2.2rem; }

.hero__art { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; justify-self: end; }
.hero__art::before {
  content: ""; position: absolute; inset: 13%; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, var(--paper), var(--cream-2) 72%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.gonio { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--navy); overflow: visible; }
.gonio__dial { transform-origin: 250px 250px; transform: rotate(var(--rot, 0deg)); }
.gonio__arc { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero__mark { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%); overflow: visible; }
.hero__tag {
  position: absolute; display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .8rem; border-radius: 999px;
  background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 10px 30px -12px rgba(21, 54, 73, .35);
  font-size: .68rem; font-weight: 600; font-stretch: 115%; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
}
.hero__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero__tag--a { left: 0; top: 18%; }
.hero__tag--b { right: 2%; bottom: 14%; }

/* ---------- Ticker ---------- */

.ticker {
  position: relative; z-index: 2;
  background: var(--navy); color: var(--cream);
  overflow: hidden; padding: 1.15rem 0;
  transform: rotate(-1.4deg); margin: 0 -2vw; width: 104vw;
}
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker__item {
  display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem;
  font-size: clamp(1rem, 1.7vw, 1.4rem); font-weight: 700; font-stretch: 125%;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.ticker__item::after { content: ""; width: 9px; height: 1.3em; background: var(--gold); transform: skewX(var(--slant)); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Why ---------- */

.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: clamp(2rem, 5vw, 5rem); }
.statement {
  font-size: clamp(1.7rem, 3.5vw, 3.2rem);
  font-weight: 500; font-stretch: 108%;
  line-height: 1.12; letter-spacing: -.025em;
}
.u {
  background: linear-gradient(var(--gold), var(--gold)) 0 88% / 0 .16em no-repeat;
  transition: background-size 1.2s var(--ease);
}
.is-in .u { background-size: 100% .16em; }
.is-in .u:nth-of-type(2) { transition-delay: .25s; }
.is-in .u:nth-of-type(3) { transition-delay: .5s; }
.why__text { margin: 2rem 0 2.2rem; }

.chain {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: center;
  gap: clamp(.8rem, 2vw, 2rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-block: 1px solid var(--line);
}
.chain__step { display: grid; gap: .3rem; }
.chain__step:nth-child(3) { justify-items: center; text-align: center; }
.chain__step:nth-child(5) { justify-items: end; text-align: right; }
.chain__n { font-size: .72rem; font-weight: 600; font-stretch: 115%; letter-spacing: .18em; color: var(--ink-faint); }
.chain__w {
  font-size: clamp(1.2rem, 2.4vw, 2.3rem); font-weight: 800; font-stretch: 125%;
  text-transform: uppercase; letter-spacing: -.02em; line-height: 1;
}
.chain__link { display: flex; align-items: center; justify-content: center; gap: .8rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.8vw, 1.5rem); color: var(--ink-soft); }
.chain__link::before, .chain__link::after { content: ""; flex: 1; min-width: 1rem; max-width: 7rem; height: 1.5px; background: currentColor; opacity: .5; }
.chain__link::after { opacity: 1; }

/* ---------- Method (home, navy) ---------- */

.method { background: var(--navy); color: var(--cream); overflow: hidden; isolation: isolate; }
.method::before, .method::after {
  content: ""; position: absolute; z-index: -1; top: -10%; bottom: -10%;
  width: clamp(60px, 9vw, 130px); border-radius: 80px;
  transform: skewX(var(--slant));
}
.method::before { right: 18%; background: var(--navy-3); opacity: .55; }
.method::after { right: 4%; background: var(--gold); opacity: .08; }
.method__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.method__head .h2 { max-width: 12ch; }
.method__sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.1vw, 1.8rem); line-height: 1.25; max-width: 24ch; color: rgba(244, 237, 225, .82); }

.acro { display: flex; justify-content: space-between; align-items: flex-end; user-select: none; }
.acro__l {
  display: block;
  font-size: clamp(3.6rem, 15.4vw, 14.5rem);
  font-weight: 800; font-stretch: 125%; line-height: .74; letter-spacing: -.02em;
  color: var(--cream);
  transition: color .45s var(--ease), transform .6s var(--ease), -webkit-text-stroke-color .45s;
}
.acro__l--x { color: var(--gold); }
.acro__l.is-hot { color: var(--gold); transform: translateY(-.06em); }

.acro-key {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1.5rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}
.acro-key a {
  display: grid; gap: .35rem; padding-top: 1rem;
  border-top: 1px solid var(--line-light);
  font-size: .78rem; font-weight: 600; font-stretch: 115%; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(244, 237, 225, .78);
  transition: color .35s, border-color .35s;
}
.acro-key a b { color: var(--gold); font-weight: 600; }
.acro-key a:hover, .acro-key a.is-hot { color: var(--cream); border-top-color: var(--gold); }

.method__foot {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem;
  margin-top: clamp(3rem, 7vw, 6rem);
}
.method__foot p { font-size: clamp(1.4rem, 2.8vw, 2.4rem); line-height: 1.18; letter-spacing: -.02em; font-weight: 500; font-stretch: 106%; max-width: 30ch; }
.method__foot em { color: var(--gold); font-size: 1.1em; }

/* ---------- Services list (home) ---------- */

.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head > div { display: grid; gap: 1.4rem; }

.svc-list { border-top: 1px solid var(--line); counter-reset: s; }
.svc-list a {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 3.5rem minmax(0, 1.25fr) minmax(0, 1fr) 3.2rem;
  align-items: center; gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1.4rem, 2.6vw, 2.1rem) clamp(.5rem, 1.5vw, 1.2rem);
  border-bottom: 1px solid var(--line);
  transition: color .5s var(--ease);
}
.svc-list a::before {
  content: ""; position: absolute; inset: 0 -12%; z-index: -1;
  background: var(--navy);
  transform: translateX(-102%) skewX(-24deg);
  transition: transform .65s var(--ease);
}
.svc-list a:hover, .svc-list a:focus-visible { color: var(--cream); }
.svc-list a:hover::before, .svc-list a:focus-visible::before { transform: translateX(0) skewX(-24deg); }
.svc-list__n { font-size: .78rem; font-weight: 600; font-stretch: 115%; letter-spacing: .14em; color: var(--ink-faint); transition: color .5s; }
.svc-list a:hover .svc-list__n { color: var(--gold); }
.svc-list__t { font-size: clamp(1.35rem, 2.7vw, 2.4rem); font-weight: 750; font-stretch: 115%; line-height: 1.05; letter-spacing: -.025em; }
.svc-list__d { font-size: .98rem; line-height: 1.5; color: var(--ink-soft); transition: color .5s; }
.svc-list a:hover .svc-list__d { color: rgba(244, 237, 225, .78); }
.svc-list__go {
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid currentColor;
  transition: background-color .45s, border-color .45s, color .45s, transform .6s var(--ease);
}
.svc-list__go svg { width: 1.15rem; height: 1.15rem; }
.svc-list a:hover .svc-list__go { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: rotate(-45deg); }

/* ---------- CTA (gold) ---------- */

.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--gold); color: var(--navy); padding: clamp(4.5rem, 10vw, 8.5rem) 0; }
.cta::before, .cta::after {
  content: ""; position: absolute; z-index: -1; top: -20%; bottom: -20%;
  width: clamp(70px, 10vw, 150px); border-radius: 90px; transform: skewX(var(--slant));
}
.cta::before { right: 14%; background: var(--navy); opacity: .07; }
.cta::after { right: -2%; background: var(--paper); opacity: .25; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.cta__title { font-size: clamp(2.4rem, 5.6vw, 5.4rem); font-weight: 800; font-stretch: 118%; line-height: .95; letter-spacing: -.035em; }
.cta__title em { font-size: 1.1em; }
.cta p { font-size: 1.1rem; margin-bottom: 2rem; color: rgba(21, 54, 73, .86); }
.cta .btn--line { border-color: rgba(21, 54, 73, .5); }

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

.site-footer { position: relative; overflow: hidden; background: var(--navy-2); color: var(--cream); padding-top: clamp(4rem, 8vw, 6.5rem); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr .9fr; gap: 2.5rem; }
.footer__brand img { height: 54px; width: auto; }
.footer__brand p { margin-top: 1.4rem; color: rgba(244, 237, 225, .68); font-size: .95rem; max-width: 30ch; }
.footer__brand .btn { margin-top: 1.8rem; }
.footer__h { margin-bottom: 1.1rem; font-size: .72rem; font-weight: 600; font-stretch: 118%; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a { color: rgba(244, 237, 225, .86); transition: color .3s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem;
  margin-top: clamp(3rem, 6vw, 5rem); padding: 1.4rem 0;
  border-top: 1px solid var(--line-light);
  font-size: .82rem; color: rgba(244, 237, 225, .55);
}
.footer__word {
  font-size: 15.4vw; font-weight: 800; font-stretch: 125%;
  line-height: .72; letter-spacing: -.035em; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(244, 237, 225, .2);
  margin-bottom: -.1em; user-select: none;
}
.footer__word span { -webkit-text-stroke-color: rgba(242, 175, 62, .55); }

/* ---------- Inner page hero ---------- */

.page-hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 7rem) 0 clamp(3.5rem, 8vw, 7rem); }
.page-hero__title {
  margin-top: 1.6rem; max-width: 15ch;
  font-size: clamp(2.5rem, 6.4vw, 6.2rem); font-weight: 800; font-stretch: 120%;
  line-height: .94; letter-spacing: -.035em;
}
.page-hero__title em { font-size: 1.1em; letter-spacing: -.015em; }
.page-hero .lede { margin-top: 2rem; }
.page-hero .actions { margin-top: 2.2rem; }
.page-hero { isolation: isolate; }
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; z-index: -1; bottom: -20%;
  width: clamp(54px, 7vw, 104px); border-radius: 90px;
  transform: skewX(var(--slant));
}
.page-hero::before { right: clamp(5rem, 17vw, 17rem); top: 8%; background: var(--navy); opacity: .9; }
.page-hero::after { right: clamp(1rem, 7vw, 7rem); top: 34%; background: var(--gold); }

/* ---------- Approach ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step { padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.2rem, 3vw, 2.6rem) clamp(2rem, 3vw, 2.6rem) 0; }
.step + .step { padding-left: clamp(1.2rem, 3vw, 2.6rem); border-left: 1px solid var(--line); }
.step__n { font-size: .75rem; font-weight: 600; font-stretch: 115%; letter-spacing: .16em; color: var(--ink-faint); }
.step h3 { margin: 1.4rem 0 .8rem; font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.step p { color: var(--ink-soft); }

.philo { background: var(--paper); border-block: 1px solid var(--line); }
.philo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(2rem, 6vw, 6rem); }
.decode {
  font-size: clamp(1.7rem, 3.6vw, 3.3rem); font-weight: 300; font-stretch: 110%;
  line-height: 1.12; letter-spacing: -.025em; color: var(--ink-faint);
}
.decode b {
  font-weight: 800; color: var(--navy);
  background: linear-gradient(var(--gold), var(--gold)) 0 92% / 100% .14em no-repeat;
}
.philo__body { display: grid; gap: 1.6rem; }
.philo__body p:not(.decode) { font-size: 1.12rem; color: var(--ink-soft); max-width: 40rem; }

.mscroll { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 6rem); }
.mscroll__letters {
  position: sticky; top: calc(var(--header-h) + 3vh); align-self: start;
  display: grid; height: calc(100svh - var(--header-h) - 8vh); max-height: 760px;
  grid-template-rows: repeat(7, 1fr); align-items: center;
}
.mscroll__letters span {
  font-size: min(11vh, 9vw); font-weight: 800; font-stretch: 125%; line-height: .9;
  color: transparent; -webkit-text-stroke: 1.5px rgba(21, 54, 73, .28);
  transition: color .5s var(--ease), -webkit-text-stroke-color .5s, transform .6s var(--ease);
}
.mscroll__letters span.is-on { color: var(--navy); -webkit-text-stroke-color: var(--navy); transform: translateX(.12em); }
.mscroll__letters span.x.is-on { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.principle {
  min-height: min(68vh, 620px);
  display: flex; flex-direction: column; justify-content: center; gap: 1.2rem;
  padding: 3rem 0; border-top: 1px solid var(--line);
}
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle__n { font-size: .75rem; font-weight: 600; font-stretch: 115%; letter-spacing: .16em; color: var(--ink-faint); }
.principle__l { display: none; }
.principle h3 { font-size: clamp(2rem, 4.6vw, 4.2rem); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.03em; line-height: .95; }
.principle h3 span { color: var(--gold-2); }
.principle p:last-child { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.55; max-width: 34rem; color: var(--ink-soft); }

/* ---------- Services page ---------- */

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips a {
  padding: .65rem 1rem; border-radius: 999px; border: 1px solid var(--line);
  font-size: .74rem; font-weight: 600; font-stretch: 115%; letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .3s, color .3s, border-color .3s;
}
.chips a:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); }

.svc {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr);
  gap: clamp(1.5rem, 6vw, 6rem);
  padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--line);
}
.svc__side { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.svc__num {
  font-size: clamp(4.5rem, 10vw, 9rem); font-weight: 800; font-stretch: 125%; line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--navy);
}
.svc__icon { width: clamp(56px, 6vw, 76px); height: auto; color: var(--navy); flex: none; }
.svc__body { display: grid; gap: 1.3rem; align-content: start; }
.svc__body h2 { font-size: clamp(1.9rem, 3.8vw, 3.4rem); font-weight: 750; font-stretch: 118%; line-height: 1; letter-spacing: -.03em; }
.svc__body p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 36rem; }
.svc__body .actions { margin-top: .6rem; }
.svc:hover .svc__num { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.svc__num { transition: color .5s var(--ease), -webkit-text-stroke-color .5s; }

.svc--dark {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: clamp(1rem, 3vw, 2rem); padding: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 0; border-radius: clamp(14px, 2vw, 24px);
  background: var(--navy); color: var(--cream);
}
.svc--dark::after {
  content: ""; position: absolute; z-index: -1; right: 6%; top: -30%; bottom: -30%;
  width: clamp(50px, 7vw, 100px); border-radius: 60px; background: var(--gold); opacity: .12; transform: skewX(var(--slant));
}
.svc--dark .svc__num { -webkit-text-stroke-color: var(--gold); }
.svc--dark .svc__icon { color: var(--cream); }
.svc--dark .svc__body p { color: rgba(244, 237, 225, .8); }
.svc__tag {
  justify-self: start; padding: .45rem .8rem; border-radius: 999px;
  background: rgba(242, 175, 62, .16); color: var(--gold);
  font-size: .7rem; font-weight: 600; font-stretch: 115%; letter-spacing: .16em; text-transform: uppercase;
}

/* ---------- Team ---------- */

.profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.portrait { position: sticky; top: calc(var(--header-h) + 2rem); }
.portrait__frame {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5; border-radius: clamp(14px, 2vw, 22px);
  background: var(--navy); color: var(--cream);
  display: grid; place-items: center;
}
.portrait__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait__frame::before, .portrait__frame::after {
  content: ""; position: absolute; z-index: -1; top: -15%; bottom: -15%;
  width: 22%; border-radius: 80px; transform: skewX(var(--slant));
}
.portrait__frame::before { left: 18%; background: var(--navy-3); }
.portrait__frame::after { left: 52%; background: var(--gold); opacity: .9; }
.portrait__mono { font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 13vw, 11rem); line-height: 1; letter-spacing: -.02em; text-shadow: 0 10px 40px rgba(15, 42, 57, .45); }
.portrait figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; font-size: .78rem; font-weight: 600; font-stretch: 115%; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }

.profile__name { font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 800; font-stretch: 122%; line-height: .92; letter-spacing: -.035em; }
.profile__role { margin-top: 1.1rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.25; color: var(--ink-soft); }
.creds { display: grid; gap: .7rem; margin: 2.4rem 0; }
.creds li {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem; border-radius: 12px; background: var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  font-weight: 600; font-stretch: 108%; line-height: 1.35;
}
.creds li::before {
  content: ""; flex: none; width: 14px; height: 16px;
  background: linear-gradient(90deg, var(--navy) 0 3.5px, transparent 3.5px 8px, var(--gold) 8px 11.5px, transparent 11.5px);
  transform: skewX(var(--slant));
}
.bio { display: grid; gap: 1.3rem; }
.bio p { font-size: clamp(1.06rem, 1.35vw, 1.18rem); color: var(--ink-soft); }
.bio p:first-child::first-letter {
  float: left; margin: .08em .12em 0 0;
  font-family: var(--serif); font-size: 4.2em; line-height: .78; color: var(--navy);
}
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2.2rem 0; }
.tags li { padding: .55rem .95rem; border-radius: 999px; border: 1px solid var(--line); font-size: .74rem; font-weight: 600; font-stretch: 115%; letter-spacing: .12em; text-transform: uppercase; }
.quote { display: grid; gap: 1.2rem; margin-top: 1rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.quote__text { font-size: clamp(1.5rem, 2.8vw, 2.4rem); font-weight: 500; font-stretch: 106%; line-height: 1.15; letter-spacing: -.025em; }
.quote__text em { font-size: 1.1em; }

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

.contact-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: clamp(14px, 2vw, 22px); overflow: hidden;
}
.c-tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  min-height: clamp(200px, 22vw, 280px); padding: clamp(1.6rem, 3vw, 2.6rem);
  background: var(--cream); transition: background-color .45s var(--ease), color .45s;
}
.c-tile:hover { background: var(--paper); }
.c-tile__k { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.c-tile__k .eyebrow { color: inherit; }
.c-tile__go { width: 2.8rem; height: 2.8rem; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; transition: transform .6s var(--ease), background-color .4s, border-color .4s, color .4s; }
.c-tile__go svg { width: 1.05rem; height: 1.05rem; }
.c-tile:hover .c-tile__go { transform: rotate(-45deg); background: var(--navy); border-color: var(--navy); color: var(--cream); }
.c-tile__v { font-size: clamp(1.25rem, 2.5vw, 2.2rem); font-weight: 750; font-stretch: 112%; line-height: 1.08; letter-spacing: -.02em; overflow-wrap: anywhere; }
.c-tile__s { margin-top: .5rem; font-size: .95rem; color: var(--ink-soft); }
.c-tile--book, .c-tile--wide { grid-column: 1 / -1; }
.c-tile--book { background: var(--gold); }
.c-tile--book .eyebrow::before { background: linear-gradient(90deg, var(--navy) 0 3.5px, transparent 3.5px 8.5px, var(--navy) 8.5px 12px, transparent 12px); }
.c-tile--book:hover { background: var(--gold-2); }
.c-tile--book .c-tile__v { font-size: clamp(1.8rem, 4.2vw, 3.6rem); font-stretch: 122%; font-weight: 800; }
.c-tile--book .c-tile__s { color: rgba(21, 54, 73, .8); }
.c-tile--book:hover .c-tile__go { background: var(--navy); }

.note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; margin-top: clamp(2rem, 4vw, 3rem); padding: 1.5rem clamp(1.4rem, 3vw, 2rem); border-radius: 16px; background: var(--navy); color: var(--cream); }
.note p { font-size: 1.05rem; }
.note strong { font-weight: 700; font-stretch: 115%; color: var(--gold); }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

.js .hl__i { transform: translateY(112%); animation: rise 1.15s var(--ease) forwards; animation-delay: var(--d, .15s); }
@keyframes rise { to { transform: none; } }

.js .hero__mark .k-navy { animation: navyIn 1.3s var(--ease) .35s both; }
.js .hero__mark .k-gold { animation: goldIn 1.2s var(--ease) .75s both; }
@keyframes navyIn { from { opacity: 0; transform: translate(26px, -34px); } }
@keyframes goldIn { from { opacity: 0; transform: translate(-58px, 76px); } }
.js .gonio__arc { animation: arc 2.2s var(--ease) .9s forwards; }
@keyframes arc { to { stroke-dashoffset: 0; } }
.js .hero__tag { animation: pop .8s var(--ease) both; }
.js .hero__tag--a { animation-delay: 1.3s; }
.js .hero__tag--b { animation-delay: 1.5s; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.94); } }

.js .page-hero::before { animation: barUp 1.3s var(--ease) .2s both; }
.js .page-hero::after { animation: barUp 1.3s var(--ease) .45s both; }
@keyframes barUp { from { transform: translate(-30%, 40%) skewX(var(--slant)); opacity: 0; } }

.js .acro__l { opacity: 0; transform: translateY(.25em); transition: opacity .9s var(--ease), transform .9s var(--ease), color .45s var(--ease); }
.js .acro.is-in .acro__l { opacity: 1; transform: none; }
.js .acro.is-in .acro__l.is-hot { transform: translateY(-.06em); }
.acro__l:nth-child(2) { transition-delay: .06s; }
.acro__l:nth-child(3) { transition-delay: .12s; }
.acro__l:nth-child(4) { transition-delay: .18s; }
.acro__l:nth-child(5) { transition-delay: .24s; }
.acro__l:nth-child(6) { transition-delay: .3s; }
.acro__l:nth-child(7) { transition-delay: .36s; }
.acro.is-in .acro__l.is-hot { transition-delay: 0s; }

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

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__cta { margin-left: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero__title { font-size: min(9vw, 4.4rem); }
  .hero__art { order: -1; justify-self: center; width: min(66vw, 360px); margin: -.5rem 0 .5rem; }
  .hero__tag--a { left: -2%; }
  .why__grid, .philo__grid, .cta__grid, .profile, .svc { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 460px; }
  .mscroll { grid-template-columns: 1fr; }
  .mscroll__letters { display: none; }
  .principle { min-height: 0; padding: 2.4rem 0; }
  .chain { grid-template-columns: 1fr; justify-items: start; gap: .5rem; }
  .chain__step:nth-child(n) { justify-items: start; text-align: left; }
  .chain__w { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .chain__link { justify-content: flex-start; padding-left: .2rem; }
  .chain__link::before { display: none; }
  .chain__link::after { order: -1; flex: none; width: 1.6rem; }
  .principle__l {
    display: block; font-size: 4.2rem; font-weight: 800; font-stretch: 125%; line-height: .8;
    color: transparent; -webkit-text-stroke: 1.5px var(--navy);
  }
  .principle__l .x { -webkit-text-stroke-color: var(--gold-2); }
  .svc__side { justify-content: flex-start; align-items: center; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 1.8rem 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .step h3 { margin-top: .8rem; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .brand img { height: 38px; }
  .is-scrolled .brand img { height: 34px; }
  .is-scrolled .header__inner { height: 64px; }
  .hl--1 { padding-left: 1.3em; }
  .hl--2 { padding-left: .65em; }
  .acro-key { grid-template-columns: 1fr; }
  .acro-key a { grid-template-columns: 2.4rem 1fr; padding: .85rem 0; }
  .svc-list a { grid-template-columns: 2.2rem minmax(0, 1fr) 2.6rem; }
  .svc-list__d { display: none; }
  .svc-list__go { width: 2.6rem; height: 2.6rem; }
  .footer__top { grid-template-columns: 1fr; gap: 2.2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-hero::before { right: 3.2rem; top: auto; height: 46%; opacity: .12; }
  .page-hero::after { right: -.6rem; top: auto; height: 36%; opacity: .5; }
  .hero__tag { font-size: .6rem; padding: .4rem .65rem; }
}

@media (max-width: 480px) {
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .burger .burger__label { display: none; }
  .btn { padding: 1rem 1.3rem 1rem 1.4rem; }
  .actions .btn { flex: 1 1 auto; }
  .hero__tag { display: none; }
}
