/* ============================================================
   STEWARDWELL SEARCH — design system v2
   Deep navy / ivory / royal blue · Newsreader + Plus Jakarta Sans
   ============================================================ */

:root {
  --navy-990: #1F140E;
  --navy-950: #2A1C13;
  --navy-900: #3E2A1E;
  --navy-800: #4C3626;
  --navy-700: #614532;
  --ink: #2B2019;
  --paper: #F7F3EA;
  --paper-2: #EDE7D9;
  --ivory: #F5F1E8;
  --silver: #E6DFD0;
  --slate: #BCAB95;
  --slate-d: #7C6A58;
  --blue: #A67C48;
  --blue-2: #C79A63;
  --blue-3: #8A6236;
  --gold: #C9A96A;
  --line-l: rgba(43, 32, 25, 0.14);
  --line-d: rgba(245, 241, 232, 0.14);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-exp: cubic-bezier(0.87, 0, 0.13, 1);
  --pad: clamp(20px, 5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { width: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--blue); color: #fff; }

/* ------------------------------------------------ cursor */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 12000;
  border-radius: 50%; transform: translate(-50%, -50%);
  mix-blend-mode: normal;
}
.cursor-dot {
  width: 6px; height: 6px; background: var(--blue-2);
  transition: opacity .3s; opacity: 0;
}
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(199, 154, 99, 0.65);
  transition: width .35s var(--ease-out), height .35s var(--ease-out),
              background .35s, border-color .35s, opacity .3s;
  display: flex; align-items: center; justify-content: center; opacity: 0;
}
body.cursor-live .cursor-dot, body.cursor-live .cursor-ring { opacity: 1; }
.cursor-ring span {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
  opacity: 0; transition: opacity .25s;
  white-space: nowrap;
}
.cursor-ring.is-link { width: 56px; height: 56px; background: rgba(166,124,72,.12); }
.cursor-ring.is-label {
  width: 84px; height: 84px; background: rgba(31, 20, 14, 0.82);
  border-color: transparent; backdrop-filter: blur(2px);
}
.cursor-ring.is-label span { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ------------------------------------------------ grain */
.grain {
  position: fixed; inset: -100px; z-index: 9000; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  animation: grain-shift 1.1s steps(3) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0,0); } 33% { transform: translate(-30px, 18px); }
  66% { transform: translate(24px, -24px); } 100% { transform: translate(0,0); }
}

/* ------------------------------------------------ preloader */
.loader {
  position: fixed; inset: 0; z-index: 11000; background: var(--navy-990);
  display: flex; align-items: center; justify-content: center;
  transition: transform 1s var(--ease-exp);
}
.loader.is-done { transform: translateY(-101%); }
.loader-inner { text-align: center; }
.loader-mark { width: 74px; margin: 0 auto 26px; }
.loader-mark .slash { opacity: 0; transform: translateY(16px); animation: slash-in .7s var(--ease-out) forwards; }
.loader-mark .slash.s2 { animation-delay: .18s; }
@keyframes slash-in { to { opacity: 1; transform: translateY(0); } }
.loader-word {
  font-family: var(--serif); font-size: 22px; letter-spacing: .02em; color: var(--silver);
  opacity: 0; animation: fade-in .8s .4s forwards;
}
.loader-count {
  margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .3em;
  color: var(--slate); font-variant-numeric: tabular-nums;
  opacity: 0; animation: fade-in .8s .55s forwards;
}
@keyframes fade-in { to { opacity: 1; } }

/* ------------------------------------------------ header */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: transform .5s var(--ease-out), background .4s, padding .4s, box-shadow .4s;
}
.topbar.is-hidden { transform: translateY(-110%); }
.topbar.is-scrolled {
  background: rgba(31, 20, 14, 0.86); backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
  box-shadow: 0 1px 0 rgba(245,241,232,.08);
}
.brand { display: flex; align-items: center; gap: 13px; min-height: 44px; }
.brand svg { width: 30px; height: auto; flex: none; }
.brand-name { line-height: 1.05; color: var(--silver); }
.brand-name .bn-top { font-family: var(--sans); font-weight: 500; font-size: 18px; letter-spacing: .015em; display: block; }
.brand-name .bn-sub {
  display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .42em;
  color: var(--blue-2); margin-top: 3px; text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 34px; }
.nav a.nl {
  position: relative; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--silver); opacity: .85; transition: opacity .3s; padding: 4px 0;
}
.nav a.nl::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--blue-2); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav a.nl:hover { opacity: 1; }
.nav a.nl:hover::after { transform: scaleX(1); transform-origin: left; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .05em;
  padding: 14px 26px; border-radius: 100px; border: 1px solid transparent;
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease-out);
  will-change: transform;
}
.btn .arr { transition: transform .35s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-2); }
.btn-ghost-l { border-color: rgba(245,241,232,.55); color: var(--silver); }
.btn-ghost-l:hover { border-color: var(--silver); background: rgba(245,241,232,.08); }
.btn-ghost-d { border-color: rgba(43,32,25,.3); color: var(--ink); }
.btn-ghost-d:hover { border-color: var(--ink); background: rgba(43,32,25,.05); }
.btn-ivory { background: var(--paper); color: var(--navy-950); }
.btn-ivory:hover { background: #fff; }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; z-index: 1002; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--silver);
  transition: transform .4s var(--ease-out), top .4s, opacity .3s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
body.nav-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 1000; background: var(--navy-990);
  display: flex; flex-direction: column; justify-content: center; padding: 0 8vw;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-exp);
}
body.nav-open .mnav { clip-path: inset(0 0 0% 0); }
.mnav a.ml {
  font-family: var(--serif); font-size: clamp(34px, 9vw, 56px); color: var(--silver);
  padding: 10px 0; border-bottom: 1px solid var(--line-d); display: flex;
  justify-content: space-between; align-items: center;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.mnav a.ml .mi { font-size: 12px; letter-spacing: .2em; color: var(--slate); font-family: var(--sans); }
body.nav-open .mnav a.ml { opacity: 1; transform: none; }
body.nav-open .mnav a.ml:nth-child(1) { transition-delay: .18s; }
body.nav-open .mnav a.ml:nth-child(2) { transition-delay: .24s; }
body.nav-open .mnav a.ml:nth-child(3) { transition-delay: .3s; }
body.nav-open .mnav a.ml:nth-child(4) { transition-delay: .36s; }
body.nav-open .mnav a.ml:nth-child(5) { transition-delay: .42s; }
.mnav .m-cta { margin-top: 34px; opacity: 0; transition: opacity .5s .5s; }
body.nav-open .mnav .m-cta { opacity: 1; }

/* ------------------------------------------------ shared section chrome */
.sec { position: relative; }
.sec-pad { padding: clamp(80px, 10vw, 140px) var(--pad); }
.wrap { max-width: 1380px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.on-d { color: var(--slate); }
.eyebrow.on-l { color: var(--blue-3); }
.h-xl {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 6.4vw, 104px); line-height: 1.02; letter-spacing: -0.015em;
}
.h-lg {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 4.4vw, 68px); line-height: 1.06; letter-spacing: -0.012em;
}
.h-md {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 3vw, 42px); line-height: 1.14;
}
.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.7; }
.muted-l { color: rgba(43,32,25,.68); }
.muted-d { color: var(--slate); }
.serif-i { font-style: italic; }
.accent { color: var(--blue); }
.accent-2 { color: var(--blue-2); }

/* split-line reveal */
.sl .line { display: block; overflow: hidden; }
.sl .line > span { display: block; transform: translateY(115%); transition: transform 1s var(--ease-exp); }
.sl.in .line > span { transform: translateY(0); }

/* generic reveals */
.rv { opacity: 0; transform: translateY(44px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.rv.rv-l { transform: translateX(-56px); }
.rv.rv-r { transform: translateX(56px); }
.rv.rv-sc { transform: scale(.92); }
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; } .d5 { transition-delay: .4s; }

/* clip image reveal */
.clip-rv { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-exp); }
.clip-rv.in { clip-path: inset(0 0 0% 0); }

/* parallax figure */
.pfig { overflow: hidden; position: relative; }
.pfig img { width: 100%; height: 110%; object-fit: cover; will-change: transform; }

/* ------------------------------------------------ hero */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: flex-end; background: var(--navy-990); color: var(--silver);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: .92;
  transform-origin: center; will-change: transform;
  animation: hero-drift 26s var(--ease-out) both;
}
@keyframes hero-drift { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(31,20,14,.62) 0%, rgba(31,20,14,.12) 40%, rgba(31,20,14,.78) 88%),
    radial-gradient(90% 60% at 32% 42%, transparent 30%, rgba(31,20,14,.5) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 0 var(--pad) clamp(48px, 7vh, 84px); }
.hero-eyebrow { margin-bottom: clamp(18px, 3vh, 30px); }
.hero .eyebrow { color: #D8D2C4; text-shadow: 0 1px 14px rgba(31,20,14,.9), 0 0 3px rgba(31,20,14,.7); }
.hero h1 { max-width: 13ch; color: #fff; text-shadow: 0 2px 30px rgba(31,20,14,.45); }
.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  margin-top: clamp(26px, 4vh, 44px); flex-wrap: wrap;
}
.hero-sub { max-width: 480px; color: rgba(245,241,232,.82); font-size: 16.5px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; right: 26px; bottom: 44vh; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .3em; color: var(--slate); text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll .tick { width: 1px; height: 54px; background: var(--slate); position: relative; overflow: hidden; }
.hero-scroll .tick::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--blue-2); animation: tick-run 2.1s var(--ease-exp) infinite;
}
@keyframes tick-run { 0% { top: -100%; } 55% { top: 0; } 100% { top: 100%; } }
.hero-meta {
  position: absolute; left: 26px; top: 50%; transform: translateY(-50%); z-index: 3;
  display: flex; flex-direction: column; gap: 20px;
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(188,171,149,.75);
  writing-mode: vertical-rl; text-orientation: mixed;
}
@media (max-width: 1280px) { .hero-meta { display: none; } }
.hero-foot { padding-right: 56px; }

/* ------------------------------------------------ intro statement */
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 110px); align-items: start; }
.intro-side { position: sticky; top: 120px; }
.intro-side .idx { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--blue-3); margin-top: 16px; }
.intro p.big {
  font-family: var(--serif); font-size: clamp(26px, 3.2vw, 46px); line-height: 1.28;
  letter-spacing: -0.01em;
}
.intro p.big .dim { color: rgba(43,32,25,.34); }
.intro-after { margin-top: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.intro-after p { color: rgba(43,32,25,.72); font-size: 15.5px; }
@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-side { position: static; }
  .intro-after { grid-template-columns: 1fr; }
}

/* ------------------------------------------------ stats */
.stats { background: var(--paper); border-top: 1px solid var(--line-l); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: clamp(36px, 4vw, 64px) clamp(18px, 2.4vw, 44px);
  border-left: 1px solid var(--line-l); position: relative;
}
.stat:first-child { border-left: 0; }
.stat .num {
  font-family: var(--serif); font-size: clamp(46px, 5vw, 84px); line-height: 1;
  letter-spacing: -0.02em; color: var(--navy-950); display: flex; align-items: baseline;
  font-variant-numeric: tabular-nums;
}
.stat .num .sfx { font-size: .38em; margin-left: 6px; color: var(--blue); font-style: italic; }
.stat .lbl {
  margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(43,32,25,.55);
}
.stat .sub { margin-top: 8px; font-size: 13px; color: rgba(43,32,25,.6); }
@media (max-width: 900px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--line-l); }
  .stat:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 480px) {
  .stats .wrap { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; }
}

/* ------------------------------------------------ marquee */
.marquee-band {
  background: var(--paper); padding: clamp(46px, 6vw, 96px) 0; overflow: hidden;
  border-top: 1px solid var(--line-l);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee { display: flex; white-space: nowrap; will-change: transform; }
.marquee .mq {
  font-family: var(--serif); font-size: clamp(70px, 11vw, 190px); line-height: 1;
  padding-right: .6em; letter-spacing: -0.01em; flex: none; color: var(--navy-950);
}
.marquee .mq .o {
  color: transparent; -webkit-text-stroke: 1px rgba(43,32,25,.4);
}
.marquee .mq .mslash {
  display: inline-block; width: .11em; height: .5em; margin: 0 .22em;
  background: linear-gradient(135deg, var(--blue-2), var(--blue-3));
  transform: skewX(-20deg) translateY(-.03em);
  box-shadow: .17em -.12em 0 rgba(43,32,25,.22);
}

/* ------------------------------------------------ practices */
.practices { background: var(--paper); border-top: 1px solid var(--line-l); }
.practices-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(40px, 5vw, 80px); flex-wrap: wrap; }
.practice-list { border-top: 1px solid var(--line-l); }
.prow {
  position: relative; display: grid;
  grid-template-columns: 84px 1.15fr .9fr auto; gap: clamp(18px, 3vw, 54px);
  align-items: center; padding: clamp(30px, 4vw, 54px) 0;
  border-bottom: 1px solid var(--line-l); transition: padding .45s var(--ease-out);
}
.prow .pno { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--blue-3); }
.prow .pt {
  font-family: var(--serif); font-size: clamp(26px, 3.4vw, 52px); line-height: 1.05;
  letter-spacing: -0.012em; transition: transform .5s var(--ease-out), color .4s;
}
.prow .pd { font-size: 14.5px; color: rgba(43,32,25,.62); max-width: 420px; }
.prow .pd .tags { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; }
.prow .pd .tags span {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(43,32,25,.55);
}
.prow .pd .tags span { white-space: nowrap; }
.prow .pd .tags span:not(:last-child)::after { content: "\00B7"; margin: 0 10px; color: var(--blue); }
.prow .pa {
  width: 58px; height: 58px; border: 1px solid var(--line-l); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .4s, border-color .4s, transform .5s var(--ease-out);
}
.prow .pa svg { width: 20px; transition: transform .4s var(--ease-out); }
.prow .pa svg path { stroke: currentColor; }
.prow:hover .pt { transform: translateX(14px); color: var(--blue-3); }
.prow:hover .pa { background: var(--navy-950); border-color: var(--navy-950); color: #fff; transform: rotate(-45deg); }
.prow-img {
  position: fixed; z-index: 600; width: 320px; height: 400px; pointer-events: none;
  overflow: hidden; border-radius: 4px; opacity: 0; transform: scale(.86) rotate(-3deg);
  transition: opacity .35s var(--ease-out), transform .5s var(--ease-out);
}
.prow-img img { width: 100%; height: 100%; object-fit: cover; }
.prow-img.on { opacity: 1; transform: scale(1) rotate(0deg); }
@media (max-width: 900px) {
  .prow { grid-template-columns: 1fr; }
  .prow .pno, .prow .pa { display: none; }
  .prow .pd { grid-column: 1 / -1; }
  .prow-img { display: none; }
}

/* ------------------------------------------------ creed band */
.creed {
  position: relative; background: var(--navy-990); color: var(--silver);
  min-height: 74vh; display: flex; align-items: center; overflow: clip;
}
.creed-bg { position: absolute; inset: 0; }
.creed-bg img { width: 100%; height: 118%; object-fit: cover; opacity: .55; will-change: transform; }
.creed-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,20,14,.85), rgba(31,20,14,.3) 45%, rgba(31,20,14,.9));
}
.creed-inner { position: relative; z-index: 2; width: 100%; text-align: center; padding: clamp(90px, 12vh, 130px) var(--pad); }
.creed h2 {
  font-family: var(--serif); font-weight: 500; color: #fff;
  font-size: clamp(46px, 8vw, 132px); line-height: 1.04; letter-spacing: -0.015em;
}
.creed h2 .w { display: inline-block; }
.creed p { max-width: 54ch; margin: 32px auto 0; color: rgba(245,241,232,.8); font-size: 16.5px; text-wrap: balance; }
.creed .creed-rule { width: 1px; height: 52px; background: linear-gradient(var(--blue-2), transparent); margin: 30px auto 0; }

/* ------------------------------------------------ approach — pinned stack */
.approach { background: var(--navy-950); color: var(--silver); }
.approach-head { padding: clamp(90px, 11vw, 150px) var(--pad) clamp(30px, 4vw, 60px); }
.stack { position: relative; }
.phase {
  position: sticky; top: 0; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(28px, 5vw, 90px); padding: 90px var(--pad);
  background: var(--navy-950); border-top: 1px solid var(--line-d);
  overflow: hidden;
}
.phase:nth-child(2) { background: var(--navy-900); }
.phase:nth-child(3) { background: var(--navy-800); }
.phase .ph-no {
  font-family: var(--serif); font-style: italic; font-size: clamp(72px, 10vw, 170px);
  line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(188,171,149,.55);
  position: absolute; top: 56px; right: 28px; pointer-events: none; z-index: 3;
}
.phase h3 { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 66px); color: #fff; line-height: 1.05; margin: 18px 0 22px; }
.phase .ph-body { max-width: 520px; color: rgba(245,241,232,.78); font-size: 16px; }
.phase ul.ph-list { margin-top: 28px; border-top: 1px solid var(--line-d); }
.phase ul.ph-list li {
  display: flex; gap: 16px; align-items: baseline; padding: 13px 0;
  border-bottom: 1px solid var(--line-d); font-size: 14.5px; color: rgba(245,241,232,.85);
}
.phase ul.ph-list li::before { content: "→"; color: var(--blue-2); font-size: 13px; }
.phase .ph-fig {
  position: relative; height: min(64vh, 620px); overflow: hidden; border-radius: 4px;
  box-shadow: 0 44px 90px -34px rgba(0,0,0,.75);
}
.phase .ph-fig img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.phase .ph-fig::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(245,241,232,.12); border-radius: 4px; }
@media (max-width: 900px) {
  .phase { grid-template-columns: 1fr; min-height: auto; position: relative; padding: 64px var(--pad); }
  .phase .ph-fig { height: 320px; order: -1; }
  .phase .ph-no { font-size: 68px; top: 22px; right: 18px; }
}

/* ------------------------------------------------ standard */
.standard { background: var(--paper); }
.standard-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 120px); }
.standard-side { position: sticky; top: 110px; align-self: start; }
.standard-side p { margin-top: 22px; color: rgba(43,32,25,.68); font-size: 15.5px; max-width: 400px; }
.std-list { counter-reset: std; border-top: 1px solid var(--line-l); }
.std {
  counter-increment: std; padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line-l); display: grid;
  grid-template-columns: 64px 1fr; gap: 20px; align-items: baseline;
  transition: background .3s;
}
.std::before {
  content: "0" counter(std); font-family: var(--serif); font-style: italic;
  font-size: 16px; color: var(--blue-3);
}
.std h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2vw, 28px); margin-bottom: 8px; }
.std p { font-size: 14.5px; color: rgba(43,32,25,.65); max-width: 560px; }
@media (max-width: 860px) {
  .standard-grid { grid-template-columns: 1fr; }
  .standard-side { position: static; }
}

/* ------------------------------------------------ principles */
.principles { background: var(--navy-990); color: var(--silver); position: relative; overflow: clip; }
.principles::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(52% 44% at 18% 22%, rgba(166,124,72,.16), transparent 65%),
    radial-gradient(46% 40% at 85% 78%, rgba(138,98,54,.22), transparent 65%);
  pointer-events: none;
}
.prin-head { text-align: center; max-width: 780px; margin: 0 auto clamp(48px, 6vw, 90px); position: relative; }
.prin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); position: relative; }
.prin {
  background: var(--navy-950); padding: clamp(28px, 3vw, 48px) clamp(22px, 2.4vw, 40px);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: background .5s;
}
.prin::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background: radial-gradient(120% 90% at 50% 110%, rgba(166,124,72,.25), transparent 60%);
}
.prin:hover { background: var(--navy-900); }
.prin:hover::after { opacity: 1; }
.prin .pi-no { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: .04em; color: #C79A63; }
.prin h4 { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; color: #fff; margin: 26px 0 12px; }
.prin p { font-size: 14px; color: rgba(245,241,232,.66); }
.prin .pi-glyph { position: absolute; top: 26px; right: 24px; width: 22px; opacity: .8; }
.prin-foot {
  text-align: center; margin-top: clamp(40px, 5vw, 64px); position: relative;
  font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.8vw, 22px);
  color: rgba(245,241,232,.75); max-width: 640px; margin-left: auto; margin-right: auto;
}
@media (max-width: 1000px) { .prin-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .prin-grid { grid-template-columns: 1fr; } .prin h4 { margin-top: 16px; } }

/* ------------------------------------------------ partners */
.partners { background: var(--paper); }
.partners.sec-pad, .engage.sec-pad { padding-bottom: clamp(56px, 7vw, 96px); }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 70px); }
.partner {
  border: 1px solid var(--line-l); border-radius: 4px; padding: 0;
  position: relative; overflow: hidden; background: #fff;
  display: grid; grid-template-columns: minmax(190px, 250px) 1fr; align-items: stretch;
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.partner:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(31,20,14,.28); }
.partner .p-photo { position: relative; overflow: hidden; min-height: 100%; background: var(--navy-950); }
.partner .p-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.partner:hover .p-photo img { transform: scale(1.045); }
.partner .p-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(31,20,14,.28));
}
.partner .p-body { padding: clamp(26px, 2.8vw, 46px); display: flex; flex-direction: column; }
.partner h4 { font-family: var(--serif); font-size: clamp(25px, 2.3vw, 34px); font-weight: 500; }
.partner .p-role { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-3); margin: 10px 0 16px; }
.partner p { font-size: 14.5px; color: rgba(43,32,25,.68); margin-bottom: 26px; }
.partner .p-line { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-l); font-family: var(--serif); font-style: italic; font-size: 15px; color: rgba(43,32,25,.75); }
@media (max-width: 1140px) { .partner-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .partner { grid-template-columns: 1fr; }
  .partner .p-photo { min-height: 0; aspect-ratio: 4 / 3.4; }
  .partner .p-photo img { object-position: 50% 26%; }
  .partner .p-line { margin-top: 22px; }
}

/* practice-lead chip */
.lead-chip {
  display: inline-flex; align-items: center; gap: 15px; margin-top: 30px;
  padding: 12px 22px 12px 12px; border: 1px solid var(--line-d); border-radius: 100px;
}
.lead-chip img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.lead-chip .lc-n { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.3; display: block; }
.lead-chip .lc-r { font-size: 11.5px; color: var(--slate); display: block; }

/* contact faces */
.cta-faces { display: flex; justify-content: center; margin-bottom: 26px; }
.cta-faces img {
  width: 62px; height: 62px; border-radius: 50%; object-fit: cover; object-position: 50% 28%;
  border: 2px solid rgba(245,241,232,.85); box-shadow: 0 8px 24px rgba(31,20,14,.5);
}
.cta-faces img + img { margin-left: -14px; }
.cta-faces-note { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-bottom: 20px; }

/* ------------------------------------------------ engagements */
.engage { background: var(--paper-2); border-top: 1px solid var(--line-l); }
.engage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); margin-top: clamp(38px, 5vw, 64px); }
.ecard {
  background: var(--navy-950); color: var(--silver); border-radius: 4px;
  padding: clamp(32px, 3.6vw, 58px); position: relative; overflow: hidden;
  transition: transform .5s var(--ease-out);
}
.ecard.alt { background: #fff; color: var(--ink); border: 1px solid var(--line-l); }
.ecard:hover { transform: translateY(-8px); }
.ecard .e-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--blue-2); }
.ecard.alt .e-tag { color: var(--blue-3); }
.ecard h4 { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; margin: 16px 0 14px; color: #fff; }
.ecard.alt h4 { color: var(--ink); }
.ecard p { font-size: 15px; color: rgba(245,241,232,.72); }
.ecard.alt p { color: rgba(43,32,25,.66); }
.ecard ul { margin-top: 24px; border-top: 1px solid var(--line-d); }
.ecard.alt ul { border-color: var(--line-l); }
.ecard li { padding: 11px 0; border-bottom: 1px solid var(--line-d); font-size: 14px; display: flex; gap: 12px; }
.ecard.alt li { border-color: var(--line-l); }
.ecard li::before { content: "—"; color: var(--blue-2); }
.ecard.alt li::before { color: var(--blue-3); }
@media (max-width: 800px) { .engage-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ contact CTA */
.cta {
  position: relative; background: var(--navy-990); color: var(--silver);
  display: flex; align-items: center; overflow: clip;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 116%; object-fit: cover; opacity: .55; will-change: transform; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,20,14,.92), rgba(31,20,14,.62) 50%, rgba(31,20,14,.94)); }
.cta-inner { position: relative; z-index: 2; width: 100%; text-align: center; padding: clamp(100px, 14vh, 150px) var(--pad); }
.cta h2 { color: #fff; max-width: 16ch; margin: 0 auto; text-wrap: balance; }
.cta p { max-width: 540px; margin: 28px auto 36px; color: rgba(245,241,232,.85); text-wrap: balance; }
.cta .cta-mail {
  display: inline-block; margin-top: 34px; font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 30px); color: var(--silver); position: relative;
}
.cta .cta-mail::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%; background: var(--blue-2); transform: scaleX(1); transition: transform .5s var(--ease-out); transform-origin: left; }
.cta .cta-mail:hover::after { transform: scaleX(0); transform-origin: right; }

/* ------------------------------------------------ footer */
.footer { background: var(--navy-990); color: var(--slate); padding: 0 var(--pad); position: relative; }
.foot-word { overflow: hidden; border-bottom: 1px solid var(--line-d); padding: clamp(24px, 3.4vw, 52px) 0 0; }
.foot-word .fw {
  font-family: var(--serif); font-size: clamp(44px, 9.4vw, 168px); line-height: .95;
  color: rgba(245,241,232,.95); letter-spacing: -0.02em; white-space: nowrap;
  transform: translateY(12%); text-align: center;
}
.foot-word .fw .thin { color: transparent; -webkit-text-stroke: 1px rgba(188,171,149,.5); }
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding: clamp(44px, 5vw, 70px) 0;
}
.foot-grid h5 { font-size: 10.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--slate-d); margin-bottom: 18px; }
.foot-grid a { display: block; padding: 5px 0; font-size: 14px; color: rgba(245,241,232,.75); transition: color .3s, transform .3s; }
.foot-grid a:hover { color: #fff; transform: translateX(4px); }
.foot-brand p { max-width: 320px; font-size: 14px; margin-top: 18px; color: rgba(188,171,149,.8); }
.foot-base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 24px 0 30px; border-top: 1px solid var(--line-d);
  font-size: 12px; color: var(--slate-d);
}
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand p { max-width: 420px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ------------------------------------------------ subpage hero */
.sub-hero {
  position: relative; min-height: 78vh; display: flex; align-items: flex-end;
  background: var(--navy-990); color: var(--silver); overflow: clip;
}
.sub-hero .hero-bg img { animation: hero-drift 20s var(--ease-out) both; }
.sub-hero-inner { position: relative; z-index: 2; padding: 140px var(--pad) clamp(44px, 6vh, 70px); width: 100%; }
.sub-hero h1 { color: #fff; max-width: 14ch; }
.sub-hero .crumb { display: flex; gap: 10px; align-items: center; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #D8D2C4; margin-bottom: 22px; text-shadow: 0 1px 12px rgba(31,20,14,.9), 0 0 3px rgba(31,20,14,.7); }
.sub-hero .crumb a:hover { color: #fff; }
.sub-hero .sub-lede { max-width: 560px; margin-top: 26px; color: rgba(245,241,232,.8); font-size: 16.5px; }

/* roles grid on practice pages */
.roles { background: var(--paper); }
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); margin-top: clamp(36px, 4vw, 60px); }
.role {
  background: var(--paper); padding: clamp(24px, 2.6vw, 40px); min-height: 170px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  transition: background .4s;
}
.role:hover { background: #fff; }
.role .r-no { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--blue-3); }
.role h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.2; }
.role p { font-size: 13.5px; color: rgba(43,32,25,.6); }
@media (max-width: 900px) { .roles-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .roles-grid { grid-template-columns: 1fr; } }

/* context split on practice pages */
.ctx { background: var(--navy-950); color: var(--silver); }
.ctx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 110px); align-items: center; }
.ctx-fig { height: min(70vh, 640px); overflow: hidden; border-radius: 4px; position: relative; }
.ctx-fig img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.ctx-body p { color: rgba(245,241,232,.78); margin-top: 20px; font-size: 15.5px; }
.ctx-body .h-md { color: #fff; }
.ctx-facts { margin-top: 30px; border-top: 1px solid var(--line-d); }
.ctx-facts li { padding: 13px 0; border-bottom: 1px solid var(--line-d); display: flex; gap: 14px; font-size: 14.5px; color: rgba(245,241,232,.85); }
.ctx-facts li::before { content: "→"; color: var(--blue-2); }
@media (max-width: 860px) { .ctx-grid { grid-template-columns: 1fr; } .ctx-fig { height: 340px; } }

/* next-practice link */
.nextp { background: var(--paper-2); border-top: 1px solid var(--line-l); }
.nextp a.np {
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
  padding: clamp(36px, 5vw, 70px) 0;
}
.nextp .np-lbl { font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: rgba(43,32,25,.5); }
.nextp .np-t { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 64px); letter-spacing: -0.012em; transition: transform .5s var(--ease-out), color .4s; }
.nextp a.np:hover .np-t { transform: translateX(16px); color: var(--blue-3); }

/* ------------------------------------------------ stakes (cost of a wrong hire) */
.stakes { background: var(--navy-950); color: var(--silver); position: relative; overflow: clip; }
.stakes::before {
  content: ""; position: absolute; inset: -30%;
  background: radial-gradient(48% 42% at 78% 20%, rgba(166,124,72,.14), transparent 66%);
  pointer-events: none;
}
.stakes-head { position: relative; max-width: 760px; }
.stakes-head h2 { color: #fff; margin-top: 18px; }
.stakes-head p { margin-top: 24px; color: rgba(245,241,232,.72); font-size: 15.5px; max-width: 560px; }
.stakes-grid {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line-d); border: 1px solid var(--line-d);
  margin-top: clamp(44px, 5vw, 76px);
}
.stake { background: var(--navy-990); padding: clamp(28px, 3vw, 46px); transition: background .5s; }
.stake:hover { background: var(--navy-900); }
.stake .sk-n { font-family: var(--serif); font-style: italic; font-size: 15px; color: #C79A63; }
.stake h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2vw, 29px); line-height: 1.18; color: #fff; margin: 22px 0 14px; }
@media (min-width: 901px) { .stake h4 { min-height: 2.36em; } }
.stake p { font-size: 14px; color: rgba(245,241,232,.66); }
.stakes-foot {
  position: relative; margin-top: clamp(36px, 4vw, 56px);
  font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.9vw, 24px);
  color: rgba(245,241,232,.82); max-width: 720px;
}
@media (max-width: 900px) { .stakes-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ proof */
.proof { background: var(--paper-2); border-top: 1px solid var(--line-l); }
.proof-head { max-width: 760px; }
.proof-head p { margin-top: 24px; color: rgba(43,32,25,.7); font-size: 15.5px; max-width: 620px; }
.proof-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 70px);
  margin-top: clamp(44px, 5vw, 76px);
}
.pcol { display: flex; flex-direction: column; }
.pcol-top { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line-l); }
.pcol-top img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; }
.pcol-top .pc-n { font-family: var(--serif); font-size: 22px; line-height: 1.2; display: block; }
.pcol-top .pc-r { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-3); }
.pfact { display: grid; grid-template-columns: 152px 1fr; gap: 24px; align-items: baseline; padding: clamp(20px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--line-l); }
.pfact .pf-n {
  font-family: var(--serif); font-size: clamp(32px, 3.1vw, 46px); line-height: 1;
  letter-spacing: -0.02em; color: var(--navy-950); font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pfact .pf-n.word { font-size: clamp(22px, 2.1vw, 30px); font-style: italic; color: var(--blue-3); }
.pfact .pf-n .sfx { font-size: .42em; font-style: italic; color: var(--blue); margin-left: 3px; }
.pfact h5 { font-size: 14.5px; font-weight: 600; margin-bottom: 5px; }
.pfact p { font-size: 13.5px; color: rgba(43,32,25,.63); }
.pcol-line {
  margin-top: 26px; font-family: var(--serif); font-style: italic;
  font-size: 15.5px; color: rgba(43,32,25,.75);
}
@media (max-width: 900px) {
  .proof-cols { grid-template-columns: 1fr; }
  .pfact { grid-template-columns: 118px 1fr; gap: 18px; }
}

/* ------------------------------------------------ guarantee band */
.guar { background: var(--navy-990); color: var(--silver); position: relative; overflow: clip; }
.guar::before {
  content: ""; position: absolute; inset: -25%;
  background: radial-gradient(52% 46% at 22% 78%, rgba(166,124,72,.2), transparent 64%);
  pointer-events: none;
}
.guar-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(34px, 6vw, 100px); align-items: center; }
.guar-seal {
  display: inline-flex; align-items: center; gap: 14px; padding: 11px 22px 11px 14px;
  border: 1px solid rgba(201,169,106,.5); border-radius: 100px; color: var(--gold);
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.guar-seal svg { width: 20px; height: 20px; flex: none; }
.guar h2 { color: #fff; margin-top: 26px; }
.guar h2 .gu { color: var(--blue-2); }
.guar-body p { color: rgba(245,241,232,.78); font-size: 15.5px; margin-top: 22px; }
.guar-list { border-top: 1px solid var(--line-d); }
.guar-list li {
  padding: clamp(18px, 2vw, 26px) 0; border-bottom: 1px solid var(--line-d);
  display: grid; grid-template-columns: 26px 1fr; gap: 18px; align-items: start;
}
.guar-list li svg { width: 20px; height: 20px; margin-top: 3px; color: var(--blue-2); flex: none; }
.guar-list h5 { font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 1.8vw, 24px); color: #fff; margin-bottom: 6px; }
.guar-list p { font-size: 14px; color: rgba(245,241,232,.66); }
@media (max-width: 900px) { .guar-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ included-in-every-engagement strip */
.incl { margin-top: clamp(40px, 5vw, 66px); border-top: 1px solid var(--line-l); padding-top: clamp(30px, 3.4vw, 48px); }
.incl-lbl { font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: rgba(43,32,25,.5); }
.incl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); margin-top: 26px; }
.incl-i { background: var(--paper-2); padding: clamp(20px, 2.2vw, 30px); transition: background .4s; }
.incl-i:hover { background: #fff; }
.incl-i .ii-t { font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.incl-i .ii-d { font-size: 13px; color: rgba(43,32,25,.6); }
.incl-note { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 15.5px; color: rgba(43,32,25,.72); }
@media (max-width: 1000px) { .incl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .incl-grid { grid-template-columns: 1fr; } }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .rv, .sl .line > span, .clip-rv { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .loader { display: none; }
}

/* small screens */
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .hero h1 { max-width: 100%; }
  .hero-scroll { display: none; }
}
@media (max-width: 760px) {
  .hero-ctas { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .hero-foot { padding-right: 0; }
}
