/* ============================================================
   STEWARDWELL SEARCH - Osmo motion layer + conversion tools
   Sits on top of styles.css (the v2 design system).
   Every Osmo component below is reskinned to the navy/ivory/
   royal-blue palette. No demo colors survive.
   ============================================================ */

/* ------------------------------------------------ page shell */
html.is-transitioning, body.is-transitioning { overflow: hidden; }
[data-barba="container"] { position: relative; }

/* ------------------------------------------------ 1. CURVED WIPE PAGE TRANSITION */
.transition {
  z-index: 9000; pointer-events: none; position: fixed; inset: 0; overflow: clip;
  visibility: hidden;
}
.transition__panel {
  color: var(--navy-990); background-color: currentColor;
  justify-content: center; align-items: center;
  width: 100%; height: 100%; display: flex; position: absolute; top: 100%; left: 0;
  visibility: hidden;
}
.transition__panel-top {
  transform-origin: bottom; flex-flow: column; align-items: center;
  width: 100%; height: 0%; display: flex; position: absolute;
  bottom: calc(100% - 1px); left: 0; overflow: hidden;
}
.transition__panel-bottom {
  transform-origin: top; flex-flow: column; justify-content: flex-end; align-items: center;
  width: 100%; height: 0%; display: flex; position: absolute;
  top: calc(100% - 1px); left: 0; overflow: hidden;
}
.transition__panel-circle {
  background-color: currentColor; border-radius: 50%;
  width: 125%; height: 500%; position: absolute;
}
.transition__mark {
  color: var(--ivory); opacity: 0; width: 5.2em; display: flex;
  position: absolute; top: 50%; left: 50%; overflow: hidden;
  transform: translate(-50%, -50%);
}
.transition__mark svg { width: 100%; height: auto; }

/* ------------------------------------------------ 2. SCROLL PROGRESS BAR */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue-3), var(--blue-2));
  z-index: 8000; pointer-events: none;
}

/* ------------------------------------------------ 4. NAV THEME ON SCROLL */
.topbar { transition: color .5s var(--ease-out); }
[data-theme-nav="light"] .topbar,
[data-theme-nav="light"] .topbar .brand-name,
[data-theme-nav="light"] .topbar .nl { color: var(--ink); }
[data-theme-nav="light"] .topbar .btn-ghost-l { border-color: rgba(43,32,25,.3); color: var(--ink); }
[data-theme-nav="light"] .topbar .btn-ghost-l:hover { border-color: var(--ink); background: rgba(43,32,25,.05); }
[data-theme-nav="light"] .topbar .brand svg polygon:nth-child(1),
[data-theme-nav="light"] .topbar .brand svg polygon:nth-child(2) { fill: var(--navy-950); }
[data-theme-nav="light"] .burger span { background: var(--ink); }
[data-theme-nav="dark"] .topbar { color: var(--silver); }

/* ------------------------------------------------ 5. MAGNETIC BUTTON */
.magnetic { display: inline-flex; position: relative; will-change: transform; }
.magnetic .btn { position: relative; overflow: hidden; }
.btn-label { position: relative; display: inline-block; overflow: hidden; line-height: 1.2; }
.btn-label span {
  display: block; transition: transform .6s cubic-bezier(.625,.05,0,1);
  transform: translateY(0) rotate(.001deg);
}
.btn-label span.is--dup { position: absolute; top: 100%; left: 0; }
.btn:hover .btn-label span { transform: translateY(-100%) rotate(.001deg); }

/* ------------------------------------------------ 6. PRACTICE ROW LIST */
.rolelist { border-top: 1px solid var(--line-l); margin-top: 46px; }
.rolerow {
  display: grid; grid-template-columns: 4.5rem 1.6fr 1fr auto auto;
  gap: 20px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line-l);
  transition: opacity .4s ease, padding-left .5s var(--ease-out);
}
.rolerow .rr-no {
  font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--blue-3);
}
.rolerow .rr-t { font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.015em; }
.rolerow .rr-d { font-size: 14px; color: rgba(43,32,25,.66); line-height: 1.55; }
.rolerow .rr-a { width: 22px; height: 22px; color: var(--blue-3); opacity: 0; transition: opacity .4s, transform .5s var(--ease-out); transform: translateX(-8px); }
.rolerow:hover .rr-a { opacity: 1; transform: translateX(0); }
@media (hover: hover) and (min-width: 992px) {
  body:has(.rolerow:hover) .rolerow:not(:hover) { opacity: .38; }
  .rolerow:hover { padding-left: 18px; }
}
.rr-thumb {
  width: 0; height: 76px; overflow: hidden; flex: none; border-radius: 2px;
  opacity: 0; transition: width .55s var(--ease-out), opacity .35s ease;
}
.rr-thumb img { width: 108px; height: 76px; object-fit: cover; display: block; }
@media (hover: hover) and (min-width: 992px) {
  .rolerow:hover .rr-thumb { width: 108px; opacity: 1; }
}
@media (max-width: 991px) { .rr-thumb { display: none; } }
@media (max-width: 860px) {
  .rolerow { grid-template-columns: 3rem 1fr; }
  .rolerow .rr-d, .rolerow .rr-a { display: none; }
}

/* ------------------------------------------------ 7. GLOWING INTERACTIVE DOTS GRID */
.dots-section { position: relative; overflow: hidden; background: var(--navy-990); }
.dots-container { position: absolute; inset: 0; pointer-events: none; }
.dots-container canvas { display: block; width: 100%; height: 100%; }
.dots-copy { position: relative; z-index: 2; text-align: center; padding: clamp(80px,11vw,150px) var(--pad); }
@media (max-width: 880px) { .dots-container { display: none; } }

/* ------------------------------------------------ 8. STACKING STICKY CARDS */
.stack-cards { display: flex; flex-direction: column; gap: 4vh; }
.stack-item { position: sticky; top: 12vh; }
.stack-card {
  background: var(--navy-900); color: var(--ivory);
  border: 1px solid var(--line-d);
  padding: clamp(30px, 4vw, 62px);
  display: grid; grid-template-columns: 1fr .8fr; gap: clamp(26px, 4vw, 60px);
  align-items: center; will-change: transform;
  box-shadow: 0 30px 70px -30px rgba(31,20,14,.75);
}
.stack-card .sc-no {
  font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--blue-2);
  letter-spacing: .04em;
}
.stack-card h3 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06; margin-top: 14px; color: var(--ivory);
}
.stack-card p { margin-top: 20px; font-size: 15.5px; line-height: 1.7; color: rgba(245,241,232,.76); max-width: 52ch; }
.stack-card ul { margin-top: 24px; display: grid; gap: 11px; }
.stack-card li {
  display: grid; grid-template-columns: 16px 1fr; gap: 12px;
  font-size: 14.5px; line-height: 1.55; color: rgba(245,241,232,.84);
}
.stack-card li i { color: var(--blue-2); font-style: normal; }
.stack-fig { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.stack-fig img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .stack-card { grid-template-columns: 1fr; }
  .stack-fig { display: none; }
  .stack-item { top: 8vh; }
}

/* ------------------------------------------------ 9. HORIZONTAL SCROLL SECTION */
.hscroll { background: var(--paper-2); position: relative; }
/* CSS sticky holds the panel viewport - far more reliable than a JS pin,
   which desynced from Lenis and left a blank screen mid-range. */
.hscroll__sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.hscroll__head { padding: 0 var(--pad) 34px; max-width: 1380px; margin: 0 auto; width: 100%; }
@media (max-width: 900px) {
  .hscroll { min-height: 0; }
  .hscroll__sticky { position: static; height: auto; overflow-x: auto; padding-bottom: 40px; }
  .hscroll__head { padding-top: 60px; }
}
.hscroll__track { display: flex; gap: 0; will-change: transform; }
.hpanel {
  flex: 0 0 clamp(300px, 34vw, 460px);
  padding: clamp(30px,3.6vw,54px); border-right: 1px solid var(--line-l);
  display: flex; flex-direction: column; gap: 14px; min-height: 62vh;
}
.hpanel .hp-n {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--blue-3);
}
.hpanel h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px,2.4vw,30px); line-height: 1.15; }
.hpanel p { font-size: 14.5px; line-height: 1.65; color: rgba(43,32,25,.7); }
.hpanel .hp-out {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-l);
  font-size: 12.5px; line-height: 1.5; color: var(--blue-3); font-weight: 600;
}

/* ------------------------------------------------ 10. VELOCITY CURSOR (extends live cursor) */
.cursor-ring.is--stretch { transition: none; }

/* ------------------------------------------------ 11. SHIMMER / GRADIENT TEXT */
.shimmer {
  background: linear-gradient(100deg, var(--ivory) 30%, var(--blue-2) 48%, var(--ivory) 66%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmerMove 6s linear infinite;
}
@keyframes shimmerMove { 0% { background-position: 150% 0; } 100% { background-position: -50% 0; } }

/* ------------------------------------------------ 12. SPLIT TEXT MASK */
[data-split="heading"] { visibility: hidden; }
.line { overflow: hidden; }

/* ------------------------------------------------ 13. PAGE HERO (inner pages) */
.phero {
  position: relative; padding: clamp(150px, 19vh, 230px) var(--pad) clamp(60px, 8vw, 110px);
  background: var(--navy-950); color: var(--ivory); overflow: hidden;
}
.phero__bg { position: absolute; inset: 0; opacity: .3; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,20,14,.55), rgba(31,20,14,.94));
}
.phero__inner { position: relative; z-index: 2; max-width: 1380px; margin: 0 auto; }
.phero h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.015em;
  font-size: clamp(38px, 6.4vw, 88px); line-height: 1.02; margin-top: 20px;
  max-width: 17ch;
}
.phero .lede {
  margin-top: 26px; max-width: 62ch; font-size: clamp(15.5px,1.5vw,18px);
  line-height: 1.7; color: rgba(245,241,232,.78);
}
.phero .crumb {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--slate);
}

/* ------------------------------------------------ conversion tools */
.tool-band { background: var(--paper-2); }
.tool-head { max-width: 800px; }
.tool-head h2 { margin-top: 18px; }
.tool-head p { margin-top: 20px; color: rgba(43,32,25,.72); font-size: 16.5px; line-height: 1.7; }
.tool-head.on-dark p { color: rgba(245,241,232,.74); }
.tool-note {
  margin-top: 18px; font-size: 13px; line-height: 1.6; color: rgba(43,32,25,.56);
  border-left: 2px solid var(--gold); padding-left: 14px; max-width: 64ch;
}
.tool-note.on-dark { color: rgba(245,241,232,.58); }
.tool-note a { text-decoration: underline; text-underline-offset: 3px; }
.hyb-dark { background: var(--navy-950); color: var(--ivory); }
.hyb-dark h2, .hyb-dark h3, .hyb-dark h4 { color: var(--ivory); }
.hyb-light { background: var(--paper); }

/* diagnostic */
.diag-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,76px); align-items: start; margin-top: 54px; }
.diag-meta { position: sticky; top: 108px; border: 1px solid var(--line-l); background: var(--paper); padding: 30px 30px 26px; }
.diag-meta h4 { font-size: 15px; font-weight: 700; }
.diag-meta ol { list-style: none; margin-top: 18px; display: grid; gap: 13px; }
.diag-meta ol li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 14px; line-height: 1.55; color: rgba(43,32,25,.72); }
.diag-meta ol li strong { display: block; color: var(--ink); font-weight: 700; }
.diag-meta ol li em { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--blue-3); line-height: 1; }
.diag-progress { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-l); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--slate-d); display: flex; justify-content: space-between; }
.diag-bar { height: 3px; background: rgba(43,32,25,.12); margin-top: 12px; overflow: hidden; }
.diag-bar i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .45s var(--ease-out); }
.diag-q { border: 0; border-top: 1px solid var(--line-l); padding: 26px 0; }
.diag-q:first-of-type { border-top: 0; padding-top: 0; }
.diag-q legend { font-size: 16.5px; line-height: 1.5; font-weight: 600; color: var(--ink); display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: baseline; }
.diag-q legend b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17px; color: var(--blue-3); }
.diag-opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0 46px; }
.diag-opts label { cursor: pointer; font-size: 12.5px; font-weight: 600; border: 1px solid var(--line-l); padding: 9px 16px; border-radius: 100px; color: rgba(43,32,25,.68); transition: background .25s, border-color .25s, color .25s; user-select: none; position: relative; }
.diag-opts label:hover { border-color: rgba(43,32,25,.34); color: var(--ink); }
.diag-opts input { position: absolute; opacity: 0; width: 0; height: 0; }
.diag-opts label.is-on { background: var(--navy-950); border-color: var(--navy-950); color: var(--paper); }
.diag-q.is-missing legend { color: #8E3B33; }
.diag-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.diag-actions .btn { cursor: pointer; border: 0; font-family: var(--sans); }
.diag-reset { background: none; border: 0; cursor: pointer; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-d); text-decoration: underline; text-underline-offset: 4px; }
.diag-privacy { font-size: 13px; color: rgba(43,32,25,.56); margin-top: 16px; }
.diag-result { display: none; margin-top: 40px; }
.diag-result.is-on { display: block; }
.diag-card { background: var(--navy-950); color: var(--ivory); padding: clamp(30px,4vw,52px); position: relative; overflow: hidden; }
.diag-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(166,124,72,.22), transparent 68%); pointer-events: none; }
.diag-score { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; position: relative; }
.diag-ring { --p: 0; width: 108px; height: 108px; border-radius: 50%; flex: none; background: conic-gradient(var(--blue) calc(var(--p)*1%), rgba(245,241,232,.14) 0); display: grid; place-items: center; position: relative; }
.diag-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--navy-950); }
.diag-ring b { position: relative; font-size: 27px; font-weight: 700; font-variant-numeric: tabular-nums; }
.diag-verdict h3 { font-family: var(--serif); font-size: clamp(25px,3.1vw,36px); font-weight: 400; line-height: 1.16; margin-top: 10px; max-width: 20ch; }
.diag-advice { margin-top: 26px; font-size: 16px; line-height: 1.68; color: rgba(245,241,232,.82); max-width: 66ch; position: relative; }
.diag-gaps { margin-top: 28px; display: grid; gap: 12px; position: relative; }
.diag-gaps h5 { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); font-weight: 700; }
.diag-gaps li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14.5px; line-height: 1.55; color: rgba(245,241,232,.86); padding-top: 11px; border-top: 1px solid rgba(245,241,232,.12); }
.diag-gaps li em { font-family: var(--serif); font-style: italic; color: var(--blue-2); }
.diag-next { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; position: relative; }

/* gates + calculator */
.gate { margin-top: 22px; border: 1px solid var(--line-l); background: var(--paper); padding: 28px 30px; }
.gate h4 { font-size: 16px; font-weight: 700; }
.gate p { font-size: 14px; color: rgba(43,32,25,.66); margin-top: 8px; max-width: 60ch; }
.gate-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; align-items: flex-end; }
.gate-field { flex: 1 1 190px; }
.gate-field label, .calc-field label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--slate-d); margin-bottom: 7px; }
.gate-field input, .gate-field select, .calc-field input, .calc-field select { width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line-l); padding: 12px 14px; transition: border-color .25s; }
.gate-field input:focus, .gate-field select:focus, .calc-field input:focus, .calc-field select:focus { outline: 0; border-color: var(--blue); }
.gate .btn { border: 0; cursor: pointer; font-family: var(--sans); }
.gate-note { font-size: 12.5px; color: var(--slate-d); margin-top: 14px; }
.gate-done { display: none; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--blue-3); border-left: 2px solid var(--blue); padding-left: 13px; }
.gate-done.is-on { display: block; }
.fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,4vw,64px); margin-top: 52px; align-items: start; }
.fee-table { border-top: 1px solid var(--line-d); }
.fee-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line-d); font-size: 14.5px; color: rgba(245,241,232,.78); line-height: 1.55; }
.fee-row.head { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; color: var(--slate); padding: 14px 0; }
.fee-row strong { color: var(--ivory); font-weight: 700; }
.calc { background: rgba(245,241,232,.05); border: 1px solid var(--line-d); padding: 30px; }
.calc h4 { font-size: 16px; font-weight: 700; color: var(--ivory); }
.calc p.small { font-size: 13.5px; color: rgba(245,241,232,.6); margin-top: 8px; line-height: 1.6; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.calc-field label { color: var(--slate); }
.calc-field input, .calc-field select { background: var(--navy-900); border-color: var(--line-d); color: var(--ivory); }
.calc-out { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-d); }
.calc-out span { display: block; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; color: var(--slate); }
.calc-out strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(28px,3.6vw,42px); color: var(--ivory); line-height: 1.1; margin: 10px 0; font-variant-numeric: tabular-nums; }
.calc-out em { font-style: normal; font-size: 13px; color: rgba(245,241,232,.62); line-height: 1.6; display: block; }
.bench-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px,4vw,68px); margin-top: 50px; align-items: start; }
.bench-cards { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line-l); background: var(--paper); }
.bench { padding: 26px 22px; border-right: 1px solid var(--line-l); }
.bench:last-child { border-right: 0; }
.bench b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(22px,2.6vw,29px); color: var(--navy-900); line-height: 1.1; font-variant-numeric: tabular-nums; }
.bench span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.5; color: rgba(43,32,25,.66); }
.journey { display: grid; grid-template-columns: repeat(5,1fr); margin-top: 50px; border: 1px solid var(--line-d); }
.jstep { padding: 30px 24px 34px; border-right: 1px solid var(--line-d); display: flex; flex-direction: column; gap: 12px; transition: background .35s; }
.jstep:last-child { border-right: 0; }
.jstep:hover { background: rgba(245,241,232,.05); }
.jstep .jn { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--slate); }
.jstep h4 { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; color: var(--ivory); }
.jstep p { font-size: 13.5px; line-height: 1.6; color: rgba(245,241,232,.66); }
.jstep .jgo { margin-top: auto; padding-top: 14px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--blue-2); }
.jstep[data-soon] .jgo { color: var(--slate-d); }
.faq-wrap { margin-top: 46px; border-top: 1px solid var(--line-l); }
.faq-wrap details { border-bottom: 1px solid var(--line-l); }
.faq-wrap summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font-size: 18px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary::after { content: ""; position: absolute; right: 8px; top: 30px; width: 11px; height: 11px; border-right: 1.5px solid var(--slate-d); border-bottom: 1.5px solid var(--slate-d); transform: rotate(45deg); transition: transform .3s var(--ease-out); }
.faq-wrap details[open] summary::after { transform: rotate(-135deg); }
.faq-wrap details p { padding: 0 60px 26px 0; font-size: 15.5px; line-height: 1.7; color: rgba(43,32,25,.72); max-width: 76ch; }
.hero-triggers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-triggers span { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); border: 1px solid rgba(245,241,232,.24); padding: 7px 14px; border-radius: 100px; background: rgba(31,20,14,.28); }

@media (max-width: 1080px) {
  .diag-grid, .fee-grid, .bench-grid { grid-template-columns: 1fr; }
  .diag-meta { position: static; }
  .journey { grid-template-columns: repeat(2,1fr); }
  .jstep { border-bottom: 1px solid var(--line-d); }
}
@media (max-width: 720px) {
  .bench-cards, .journey, .calc-row { grid-template-columns: 1fr; }
  .bench { border-right: 0; border-bottom: 1px solid var(--line-l); }
  .diag-opts { margin-left: 0; }
  .diag-q legend { grid-template-columns: 1fr; }
  .fee-row { grid-template-columns: 1fr; gap: 6px; }
  .fee-row.head { display: none; }
}

/* ------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .shimmer { animation: none; }
  [data-split="heading"] { visibility: visible !important; }
  .transition { display: none; }
  * { scroll-behavior: auto !important; }
}

/* ------------------------------------------------ practice detail blocks */
.pr-detail { background: var(--paper); }
.pr-detail:nth-of-type(even) { background: var(--paper-2); }
.pr-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 86px); align-items: center;
}
.pr-grid.is--flip .pr-copy { order: 2; }
.pr-grid.is--flip .pr-fig { order: 1; }
.pr-copy h2 { margin-top: 18px; }
.pr-copy p { margin-top: 24px; font-size: 16.5px; line-height: 1.72; color: rgba(43,32,25,.72); max-width: 54ch; }
.pr-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pr-tags span {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  color: var(--blue-3); border: 1px solid var(--line-l); padding: 7px 13px; border-radius: 100px;
}
.pr-fig { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.pr-fig img { width: 100%; height: 112%; object-fit: cover; }
@media (max-width: 900px) {
  .pr-grid { grid-template-columns: 1fr; }
  .pr-grid.is--flip .pr-copy, .pr-grid.is--flip .pr-fig { order: initial; }
  .pr-fig { aspect-ratio: 16/10; }
}

/* ------------------------------------------------ footer base row */
.foot-base {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  flex-wrap: wrap; padding: 26px 0 0; margin-top: 40px;
  border-top: 1px solid var(--line-d);
  font-size: 13px; color: rgba(245,241,232,.6);
}
.foot-base a:hover { color: var(--blue-2); }

/* current nav link */
.nl.is-current, .ml.is-current { color: var(--blue-2); }

/* ------------------------------------------------ marquee (live CSS ships the
   styling but the live app.js drove the motion; this restores it in CSS) */
.marquee { animation: marqueeRun 26s linear infinite; }
.marquee .mq { flex: 0 0 auto; padding-right: .35em; }
.marquee-band:hover .marquee { animation-play-state: paused; }
@keyframes marqueeRun {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

/* stronger contrast on the dark-ground disclosure notes (13px needs it) */
.tool-note.on-dark { color: rgba(245, 241, 232, .74); }
.tool-note.on-dark a { color: var(--blue-2); }


/* ------------------------------------------------ scroll comfort */
/* The grain layer repainted the whole viewport ~every 0.36s on top of the
   scroll work. Texture kept, animation dropped. */
.grain { animation: none !important; opacity: .04; }

/* nothing but the transition overlay should sit above the nav */
.topbar { will-change: transform; }
.topbar.is-scrolled .nl,
.topbar.is-scrolled .brand-name { color: var(--silver); }
[data-theme-nav="light"] .topbar.is-scrolled .nl,
[data-theme-nav="light"] .topbar.is-scrolled .brand-name { color: var(--silver); }
[data-theme-nav="light"] .topbar.is-scrolled .btn-ghost-l { border-color: rgba(245,241,232,.55); color: var(--silver); }
[data-theme-nav="light"] .topbar.is-scrolled .brand svg polygon:nth-child(1),
[data-theme-nav="light"] .topbar.is-scrolled .brand svg polygon:nth-child(2) { fill: #F5F1E8; }

/* ------------------------------------------------ HERO PROOF BAR */
.hero-proof {
  display: grid; grid-template-columns: repeat(4, auto); gap: clamp(20px, 3vw, 54px);
  margin-top: 34px; padding-top: 26px; justify-content: start;
  border-top: 1px solid rgba(245,241,232,.16);
}
.hero-proof .hp b {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(19px, 2vw, 25px); color: var(--ivory); line-height: 1.1;
  letter-spacing: -.01em;
}
.hero-proof .hp span {
  display: block; margin-top: 7px; font-size: 12.5px; line-height: 1.45;
  color: rgba(245,241,232,.62); max-width: 20ch;
}
@media (max-width: 900px) {
  .hero-proof { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
}

/* ------------------------------------------------ PROOF BAND */
.proofband { background: var(--paper-2); padding: clamp(70px, 8vw, 110px) var(--pad); }
.proofband-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3.4vw, 58px); }
.pb { border-top: 2px solid var(--blue-3); padding-top: 24px; }
.pb-n {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 5vw, 62px); line-height: 1; color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}
.pb-n .sfx { font-size: .5em; margin-left: 2px; color: var(--blue-3); }
.pb-n.word { font-style: italic; font-size: clamp(30px, 3.6vw, 46px); color: var(--blue-3); }
.pb h4 { margin-top: 18px; font-size: 17px; font-weight: 700; line-height: 1.35; max-width: 24ch; }
.pb p { margin-top: 12px; font-size: 14.5px; line-height: 1.65; color: rgba(43,32,25,.68); max-width: 40ch; }
.proofband-note {
  display: block; margin-top: clamp(40px, 5vw, 64px); padding-top: 26px;
  border-top: 1px solid var(--line-l); font-size: 15px; line-height: 1.7;
  color: rgba(43,32,25,.66); max-width: 78ch;
}
@media (max-width: 900px) { .proofband-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ RISK REVERSAL */
.reversal { background: var(--paper); }
.rev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 46px; border-top: 1px solid var(--line-l); }
.rev { padding: 30px 34px 34px 0; border-bottom: 1px solid var(--line-l); }
.rev:nth-child(odd) { border-right: 1px solid var(--line-l); padding-right: 44px; }
.rev:nth-child(even) { padding-left: 44px; }
.rev-n, .rev .rv-n {
  font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--blue-3);
}
.rev h4 { margin-top: 14px; font-size: 19px; font-weight: 600; line-height: 1.35; max-width: 26ch; }
.rev p { margin-top: 12px; font-size: 14.5px; line-height: 1.65; color: rgba(43,32,25,.68); max-width: 46ch; }
@media (max-width: 820px) {
  .rev-grid { grid-template-columns: 1fr; }
  .rev, .rev:nth-child(odd), .rev:nth-child(even) { padding: 26px 0; border-right: 0; }
}

/* ------------------------------------------------ real partner faces in proof */
.pb-face { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pb-face img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  object-position: center 22%; flex: none;
  border: 2px solid var(--paper-2); box-shadow: 0 2px 10px rgba(31,20,14,.18);
}
.pb-face.is--pair img:nth-child(2) { margin-left: -18px; }
.pb-face em {
  font-style: normal; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.3;
}
.pb-face em span {
  display: block; font-weight: 500; font-size: 11.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--slate-d); margin-top: 3px;
}

/* ------------------------------------------------ eyebrow -> heading spacing
   Several head blocks (.proof-head, .practices-head) never set a margin between
   the eyebrow and the display heading, so the caps label collided with the
   serif ascenders below it. One rule covers every block site-wide. */
.eyebrow + h1,
.eyebrow + h2,
.eyebrow + h3,
.eyebrow + .h-lg,
.eyebrow + .h-xl,
.crumb + h1 { margin-top: clamp(18px, 2vw, 26px); }
.proof-head h2, .practices-head h2 { margin-top: clamp(18px, 2vw, 26px); }

/* An inline-flex box can overflow its line box, so a following heading's
   margin-top measured from the wrong place and the caps label collided with
   the serif ascenders. Block-level with fit-content width fixes it properly. */
.eyebrow { display: flex; width: fit-content; margin-bottom: 4px; }

/* ------------------------------------------------ NIMBLE VS THE BIG FIRMS */
.versus { background: var(--navy-950); color: var(--ivory); }
.versus-lede {
  margin-top: 26px; max-width: 68ch; font-size: 16px; line-height: 1.72;
  color: rgba(245,241,232,.72);
}
.vs-list { margin-top: clamp(44px, 5vw, 72px); border-top: 1px solid var(--line-d); }
.vs {
  display: grid; grid-template-columns: 5rem 1fr; gap: clamp(18px, 3vw, 44px);
  padding: 34px 0; border-bottom: 1px solid var(--line-d);
}
.vs-n {
  font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--blue-2);
}
.vs h4 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.14; color: var(--ivory); max-width: 24ch;
}
.vs p { margin-top: 16px; font-size: 15px; line-height: 1.68; max-width: 62ch; }
.vs p b {
  display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 7px;
}
.vs-them { color: rgba(245,241,232,.60); }
.vs-them b { color: var(--slate-d); }
.vs-us { color: rgba(245,241,232,.92); border-left: 2px solid var(--blue); padding-left: 18px; }
.vs-us b { color: var(--blue-2); }
@media (max-width: 780px) {
  .vs { grid-template-columns: 1fr; gap: 10px; }
}


/* ------------------------------------------------ mandate panels (was a
   pinned horizontal scroll; it captured the scroll and made the page feel
   like it changed speed, so it is a plain grid now) */
.hstrip { background: var(--paper-2); }
.hstrip__head { max-width: 760px; margin-bottom: clamp(38px, 4.5vw, 60px); }
.hstrip__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l);
}
.hstrip__grid .hpanel {
  flex: none; min-height: 0; border-right: 1px solid var(--line-l);
  border-bottom: 1px solid var(--line-l); padding: clamp(26px, 2.6vw, 38px);
  display: flex; flex-direction: column; gap: 13px;
}
@media (max-width: 1000px) { .hstrip__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .hstrip__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ nav hide: fade, not travel
   Sliding the bar up dragged it across body copy for half a second, which read
   as text over text. Opacity drops fast so it is gone before it crosses. */
.topbar { transition: transform .42s var(--ease-out), opacity .18s ease, background .4s, padding .4s, box-shadow .4s; }
.topbar.is-hidden { opacity: 0; pointer-events: none; }
/* opaque the moment it is over content, not only past the scroll threshold */
.topbar.is-scrolled { background: rgba(31, 20, 14, 0.94); }


/* ============================================================
   WIDER PALETTE
   The site was navy/ivory/blue only, which read flat. These are
   used as scarce section accents, never as body text colour.
   ============================================================ */
:root {
  --gold: #C9A96A;          /* already a brand token, previously unused */
  --gold-d: #9A7C3E;
  --clay: #B4674A;          /* warm counterweight to all the blue */
  --clay-d: #8A4B33;
  --sage: #4A4E42;          /* calm third accent */
  --sage-d: #383B31;
}

/* section-level accent rotation so consecutive bands do not read the same */
.proofband .pb:nth-child(1) { border-top-color: var(--blue-3); }
.proofband .pb:nth-child(2) { border-top-color: var(--gold-d); }
.proofband .pb:nth-child(3) { border-top-color: var(--clay); }
.proofband .pb:nth-child(1) .pb-n .sfx { color: var(--blue-3); }
.proofband .pb:nth-child(2) .pb-n .sfx { color: var(--gold-d); }
.proofband .pb:nth-child(3) .pb-n.word { color: var(--clay-d); }

.reversal .rev:nth-child(1) .rv-n { color: var(--blue-3); }
.reversal .rev:nth-child(2) .rv-n { color: var(--gold-d); }
.reversal .rev:nth-child(3) .rv-n { color: var(--clay); }
.reversal .rev:nth-child(4) .rv-n { color: var(--sage); }

.hstrip__grid .hpanel:nth-child(3n+1) .hp-n { color: var(--blue-3); }
.hstrip__grid .hpanel:nth-child(3n+2) .hp-n { color: var(--gold-d); }
.hstrip__grid .hpanel:nth-child(3n+3) .hp-n { color: var(--clay); }
.hstrip__grid .hpanel:nth-child(3n+1) .hp-out { color: var(--blue-3); }
.hstrip__grid .hpanel:nth-child(3n+2) .hp-out { color: var(--gold-d); }
.hstrip__grid .hpanel:nth-child(3n+3) .hp-out { color: var(--clay-d); }

.pr-detail:nth-of-type(2) .pr-tags span { color: var(--gold-d); }
.pr-detail:nth-of-type(3) .pr-tags span { color: var(--clay-d); }
.pr-detail:nth-of-type(2) .eyebrow.on-l { color: var(--gold-d); }
.pr-detail:nth-of-type(3) .eyebrow.on-l { color: var(--clay-d); }

/* warm the gold into the dark sections so navy is not the only note there */
.stakes .sk-n { color: var(--gold); }
.versus .vs:nth-child(2) .vs-n { color: var(--gold); }
.versus .vs:nth-child(3) .vs-n { color: var(--clay); }
.versus .vs:nth-child(4) .vs-n { color: var(--sage); }
.versus .vs:nth-child(2) .vs-us { border-left-color: var(--gold-d); }
.versus .vs:nth-child(2) .vs-us b { color: var(--gold); }
.versus .vs:nth-child(3) .vs-us { border-left-color: var(--clay); }
.versus .vs:nth-child(3) .vs-us b { color: var(--clay); }
.versus .vs:nth-child(4) .vs-us { border-left-color: var(--sage); }
.versus .vs:nth-child(4) .vs-us b { color: var(--sage); }
.guar-seal { color: var(--gold-d); }
.hero-proof .hp:nth-child(2) b { color: var(--gold); }
.hero-proof .hp:nth-child(3) b { color: #D8D2C4; }

/* ------------------------------------------------ PEOPLE BAND */
.people-band {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--paper);
}
.pbnd-media { position: relative; overflow: hidden; min-height: 56vh; }
.pbnd-media img { width: 100%; height: 114%; object-fit: cover; }
.pbnd-copy {
  padding: clamp(48px, 6vw, 96px) var(--pad);
  display: flex; flex-direction: column; justify-content: center;
  border-left: 3px solid var(--gold);
}
.pbnd-copy h2 { margin-top: 16px; max-width: 18ch; }
.pbnd-copy p {
  margin-top: 22px; font-size: 16px; line-height: 1.72;
  color: rgba(43,32,25,.7); max-width: 52ch;
}
@media (max-width: 900px) {
  .people-band { grid-template-columns: 1fr; }
  .pbnd-media { min-height: 44vh; }
  .pbnd-copy { border-left: 0; border-top: 3px solid var(--gold); }
}

/* ------------------------------------------------ stacking cards: mobile
   The scale/dim treatment only runs above 900px, so below it the sticky cards
   just slid over one another and read as overlapping content. Flow instead. */
@media (max-width: 900px) {
  .stack-item { position: static; top: auto; }
  .stack-cards { gap: 20px; }
  .stack-card { box-shadow: none; }
}
/* tap targets */
@media (max-width: 900px) {
  .footer a, .foot-base a, .jstep, .rolerow { min-height: 34px; }
  .faq-wrap summary { padding-top: 20px; padding-bottom: 20px; }
}


/* ============================================================
   STEWARD WELL - brand tokens (2026-08-30)
   The base stylesheet is driven entirely by these custom
   properties, so remapping them re-skins the whole site.
   Board: #3E2A1E / #6E5E50 / #D8D2C4 / #4A4E42 / #A67C48
   ============================================================ */
:root {
  /* dark grounds, warm brown instead of navy */
  --navy-990: #1F140E;
  --navy-950: #2A1C13;
  --navy-900: #3E2A1E;
  --navy-800: #4C3626;
  --navy-700: #614532;
  --ink: #2B2019;

  /* light grounds, warm paper instead of cool ivory */
  --paper: #F7F3EA;
  --paper-2: #EDE7D9;
  --ivory: #F5F1E8;
  --silver: #E6DFD0;

  /* secondary text */
  --slate: #BCAB95;
  --slate-d: #7C6A58;

  /* the accent: gold replaces royal blue everywhere it was used */
  --blue: #A67C48;
  --blue-2: #C79A63;
  --blue-3: #8A6236;

  /* brand extras */
  --gold: #A67C48;
  --gold-d: #8A6236;
  --clay: #6E5E50;
  --clay-d: #56483C;
  --sage: #4A4E42;
  --sage-d: #383B31;
  --stone: #D8D2C4;

  --line-l: rgba(43, 32, 25, 0.16);
  --line-d: rgba(245, 241, 232, 0.16);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Segoe UI", Helvetica, Arial, sans-serif;
}

/* Cormorant runs small and light; compensate so headings keep their weight */
.h-xl, .h-lg, .h-md, .big, .phero h1,
.stack-card h3, .diag-verdict h3, .jstep h4, .vs h4, .hpanel h4,
.pb-n, .bench b, .calc-out strong, .pr-copy h2 { font-weight: 600; letter-spacing: -0.005em; }
.h-xl { font-size: clamp(46px, 8.2vw, 118px); line-height: 1.0; }
.h-lg { font-size: clamp(38px, 5.2vw, 78px); line-height: 1.04; }
.phero h1 { font-size: clamp(42px, 7vw, 96px); }
body { font-size: 16.5px; letter-spacing: 0.004em; }
.eyebrow { letter-spacing: .26em; font-weight: 700; font-size: 10.5px; }

/* ------------------------------------------------ WORDMARK */
.wm { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.wm-name {
  font-family: var(--serif); font-weight: 500;
  font-size: 21px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ivory); white-space: nowrap;
}
.wm-sub {
  font-family: var(--sans); font-weight: 400;
  font-size: 8.5px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--slate); margin-top: 5px; margin-left: .12em;
}
[data-theme-nav="light"] .topbar:not(.is-scrolled) .wm-name { color: var(--ink); }
[data-theme-nav="light"] .topbar:not(.is-scrolled) .wm-sub { color: var(--slate-d); }
.footer .wm-name { color: var(--ivory); }
.brand { gap: 0; }
@media (max-width: 560px) { .wm-name { font-size: 17px; letter-spacing: .15em; } }

/* monogram */
.mono, .loader-mono {
  font-family: var(--serif); font-weight: 500; letter-spacing: .06em;
  color: var(--ivory);
}
.transition__mark { width: auto; }
.transition__mark .mono { font-size: clamp(44px, 7vw, 88px); }
.loader-mono { font-size: 52px; margin-bottom: 18px; }
.loader-word {
  font-family: var(--serif); letter-spacing: .2em; text-transform: uppercase;
  font-size: 15px; color: var(--ivory);
}
.foot-word .fw {
  font-family: var(--serif); letter-spacing: .12em; text-transform: uppercase;
}

/* ------------------------------------------------ recolour the hardcoded bits */
.diag-q.is-missing legend { color: #8C3B2A; }
.hero-proof .hp:nth-child(2) b { color: var(--gold); }
.hero-proof .hp:nth-child(3) b { color: var(--stone); }
.scroll-progress { background: linear-gradient(90deg, var(--gold-d), var(--gold)); }
.topbar.is-scrolled { background: rgba(31, 20, 14, 0.95); }
.mnav { background: var(--navy-990); }
.pb-face img { border-color: var(--paper-2); }
.creed-inner h2 .serif-i { color: var(--gold) !important; }
.versus .vs:nth-child(3) .vs-n,
.versus .vs:nth-child(3) .vs-us b { color: var(--clay); }
.versus .vs:nth-child(4) .vs-n,
.versus .vs:nth-child(4) .vs-us b { color: var(--sage); }
.people-band .pbnd-copy { border-left-color: var(--gold); }
.pbnd-copy { background: var(--paper); }

/* olive as the second ground so it is not brown everywhere */
.principles { background: var(--sage-d); }
.creed { background: var(--navy-990); }

/* ------------------------------------------------ wordmark, corrected to the
   supplied lockup: descriptor centred under the name, wider tracking, and the
   three approved colourways (gold on light, cream on dark, brown on paper) */
.wm { align-items: center; }
.wm-name { font-size: 22px; letter-spacing: .2em; }
.wm-sub {
  font-size: 8px; letter-spacing: .42em; margin-left: .42em; margin-top: 6px;
  font-weight: 400;
}
/* dark grounds: cream */
.topbar .wm-name, .footer .wm-name { color: var(--ivory); }
.topbar .wm-sub, .footer .wm-sub { color: var(--slate); }
/* light grounds, bar not yet backed: gold, per the brand sheet */
[data-theme-nav="light"] .topbar:not(.is-scrolled) .wm-name { color: var(--gold-d); }
[data-theme-nav="light"] .topbar:not(.is-scrolled) .wm-sub { color: var(--clay); }
.loader-word { letter-spacing: .22em; font-size: 16px; }
@media (max-width: 560px) {
  .wm-name { font-size: 16px; letter-spacing: .16em; }
  .wm-sub { font-size: 7px; letter-spacing: .3em; }
}

/* ------------------------------------------------ hero fit
   Cormorant sets larger on the same px size, so the display line grew tall
   enough to push the eyebrow up under the fixed bar. Give the hero a floor and
   bring the display size back into range. */
.hero-inner { padding-top: 132px; }
.h-xl { font-size: clamp(40px, 6.4vw, 92px); line-height: 1.02; }
.hero-sub { max-width: 520px; }
@media (max-width: 700px) { .hero-inner { padding-top: 112px; } }

/* ------------------------------------------------ warm the photographic grounds
   The stone/architectural photography is inherently cool. Grading alone could
   not carry it to the brand's brown, so every photographic dark ground gets a
   brand-tinted scrim over the image. */
.hero-bg::before,
.creed-bg::before,
.cta-bg::before,
.phero__bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(62,42,30,.52), rgba(31,20,14,.78));
  mix-blend-mode: multiply;
}
.hero-bg, .creed-bg, .cta-bg, .phero__bg { position: absolute; inset: 0; }
.hero-bg img, .creed-bg img, .cta-bg img, .phero__bg img { filter: sepia(.22) saturate(.9) hue-rotate(-8deg); }
.stack-fig img, .pr-fig img, .pbnd-media img { filter: sepia(.12) saturate(.94); }


/* ============================================================
   LOGO TYPEFACES
   Alike (SIL OFL, Google Fonts) for the STEWARD WELL wordmark.
   Garet Book (Type Forward / Spacetype, free for commercial use;
   EULA shipped alongside at assets/fonts/) for EXECUTIVE SEARCH.
   Both self-hosted and subset to the glyphs the lockup uses, so
   the logo never flashes in a fallback face.
   Cormorant Garamond + Lato remain the content pairing per the
   brand board - these two are the identity, not the body text.
   ============================================================ */
@font-face {
  font-family: "Alike";
  src: url("/assets/fonts/alike-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Garet";
  src: url("/assets/fonts/garet-book.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

.wm-name, .loader-word, .foot-word .fw, .mono, .loader-mono {
  font-family: "Alike", Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.wm-sub {
  font-family: "Garet", "Lato", "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 400;
}
/* Alike is a sturdier serif than Cormorant, so the lockup needs slightly
   tighter tracking and a touch less size to keep the same optical weight. */
.wm-name { font-size: 20px; letter-spacing: .17em; }
.wm-sub  { font-size: 8.5px; letter-spacing: .38em; margin-top: 6px; margin-left: .38em; }
.loader-word { font-size: 15px; letter-spacing: .18em; }
@media (max-width: 560px) {
  .wm-name { font-size: 15.5px; letter-spacing: .14em; }
  .wm-sub  { font-size: 7px; letter-spacing: .28em; }
}


/* ============================================================
   OFFICIAL BRAND GUIDE INTEGRATION
   Logo system, typography and the full six-colour palette,
   taken from STEWARD WELL SEARCH BRAND GUIDE.
   ============================================================ */
:root {
  --charcoal: #111111;   /* sixth named colour, was missing */
}

/* ---- typography: Alike headings, Garet subheadings + body ---- */
@font-face {
  font-family: "Garet";
  src: url("/assets/fonts/garet-heavy.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
:root {
  --serif: "Alike", Georgia, "Times New Roman", serif;
  --sans: "Garet", "Lato", "Segoe UI", Helvetica, Arial, sans-serif;
}
body { font-family: var(--sans); font-size: 16px; letter-spacing: 0; }
h1, h2, h3, h4, h5,
.h-xl, .h-lg, .h-md, .big, .phero h1,
.stack-card h3, .diag-verdict h3, .jstep h4, .vs h4, .hpanel h4,
.pb-n, .bench b, .calc-out strong, .pr-copy h2, .loader-word {
  font-family: var(--serif); font-weight: 400; letter-spacing: 0;
}
/* Alike is a single-weight face: never synthesise a bold from it. */
.h-xl, .h-lg, .h-md, .big, h1, h2, h3 { font-weight: 400; }
.h-xl { font-size: clamp(38px, 5.6vw, 82px); line-height: 1.06; }
.h-lg { font-size: clamp(32px, 4.3vw, 62px); line-height: 1.1; }
.h-md { font-size: clamp(24px, 2.7vw, 38px); line-height: 1.16; }
.phero h1 { font-size: clamp(36px, 5.6vw, 76px); line-height: 1.08; }
strong, b, .fee-row strong { font-weight: 700; }
.eyebrow, .crumb, .kicker { font-family: var(--sans); letter-spacing: .24em; font-weight: 700; }

/* ---- logo system ---- */
.logo-mark { height: 34px; width: auto; display: block; }
.brand { display: flex; align-items: center; }
.footer .logo-mark { height: 30px; }
/* Reverse (ivory) artwork is the default because both the header and footer
   sit on dark grounds. On a light section with the bar not yet backed, swap
   to the primary brown lockup via a filter rather than a second request. */
[data-theme-nav="light"] .topbar:not(.is-scrolled) .logo-mark {
  filter: brightness(0.22) sepia(1) saturate(2.2) hue-rotate(-12deg);
}
@media (max-width: 560px) { .logo-mark { height: 26px; } }

.transition__mark { width: auto; }
.transition__mark img { width: clamp(64px, 8vw, 120px); height: auto; }
.loader-logo { width: 88px; height: auto; margin: 0 auto 20px; display: block; }
.loader-word {
  font-family: var(--serif); font-size: 15px; letter-spacing: .06em;
  text-transform: none; color: var(--slate);
}
.loader-count { font-family: var(--sans); }

/* the oversized footer wordmark is gone; reclaim its space */
.footer { padding-top: clamp(56px, 7vw, 96px); }

/* ============================================================
   FASTER ROUTE TO A LEAD MAGNET
   ============================================================ */

/* ---- question one, answerable on the homepage ---- */
.qstart { background: var(--navy-900); color: var(--ivory); padding: clamp(48px,5.5vw,84px) var(--pad); }
.qstart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,4vw,72px); align-items: center; }
.qstart-copy h2 { color: var(--ivory); margin-top: 14px; max-width: 18ch; }
.qstart-copy p { margin-top: 16px; color: rgba(245,241,232,.76); font-size: 16px; line-height: 1.65; max-width: 46ch; }
.qstart-meta { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.qstart-meta li { display: flex; flex-direction: column; }
.qstart-meta b { font-family: var(--serif); font-size: 20px; color: var(--gold); font-weight: 400; }
.qstart-meta span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-top: 4px; }
.qstart-card { background: var(--ivory); color: var(--ink); padding: clamp(24px,2.6vw,36px); }
.qstart-n { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-d); }
.qstart-q { margin-top: 14px; font-family: var(--serif); font-size: clamp(19px,2vw,25px); line-height: 1.3; }
.qstart-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.qstart-opts a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1px solid var(--line-l); padding: 14px 12px; font-size: 14px; font-weight: 700;
  color: var(--ink); transition: background .25s, border-color .25s, color .25s;
  min-height: 48px;
}
.qstart-opts a:hover { background: var(--navy-900); border-color: var(--navy-900); color: var(--ivory); }
.qstart-note { margin-top: 16px; font-size: 12.5px; color: var(--slate-d); }
@media (max-width: 900px) { .qstart-grid { grid-template-columns: 1fr; } }

/* ---- the three tools, high on the page ---- */
.toolstrip { background: var(--paper-2); padding: clamp(56px,6vw,96px) var(--pad); }
.toolstrip-head { max-width: 640px; margin-bottom: clamp(30px,3.5vw,48px); }
.toolstrip-head h2 { margin-top: 14px; }
.toolstrip-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 1px solid var(--line-l); background: var(--paper); }
.tcard {
  padding: clamp(24px,2.4vw,34px); border-right: 1px solid var(--line-l);
  display: flex; flex-direction: column; gap: 11px; transition: background .3s;
}
.tcard:last-child { border-right: 0; }
.tcard:hover { background: var(--paper-2); }
.tc-n { font-family: var(--serif); font-size: 15px; color: var(--gold-d); }
.tcard h3 { font-family: var(--serif); font-size: clamp(20px,2vw,25px); line-height: 1.2; }
.tcard p { font-size: 14.5px; line-height: 1.6; color: rgba(43,32,25,.7); }
.tc-meta { font-size: 12px; letter-spacing: .06em; color: var(--slate-d); }
.tc-go { margin-top: auto; padding-top: 14px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--gold-d); }
@media (max-width: 900px) {
  .toolstrip-grid { grid-template-columns: 1fr; }
  .tcard { border-right: 0; border-bottom: 1px solid var(--line-l); }
}

/* ---- slim persistent route ---- */
.stickycta {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%);
  z-index: 850; display: flex; align-items: center; gap: 18px;
  background: rgba(31,20,14,.96); backdrop-filter: blur(10px);
  border: 1px solid rgba(245,241,232,.16); border-radius: 100px;
  padding: 10px 12px 10px 24px; max-width: calc(100vw - 32px);
  transition: transform .55s var(--ease-out), opacity .4s; opacity: 0;
  box-shadow: 0 18px 44px -18px rgba(0,0,0,.7);
}
.stickycta.is-on { transform: translate(-50%, 0); opacity: 1; }
.stickycta span { font-size: 13.5px; color: rgba(245,241,232,.86); }
.stickycta .btn { padding: 11px 20px; font-size: 12px; white-space: nowrap; }
.stickycta__x {
  background: none; border: 0; color: var(--slate); font-size: 20px; line-height: 1;
  cursor: pointer; padding: 4px 8px; min-height: 32px;
}
.stickycta__x:hover { color: var(--ivory); }
@media (max-width: 720px) {
  .stickycta { gap: 10px; padding: 9px 8px 9px 16px; bottom: 12px; }
  .stickycta span { display: none; }
}



/* ------------------------------------------------ occasional gold shimmer
   IMPORTANT: this deliberately does NOT use background-clip:text. That
   technique paints the glyphs from the element's own background, so anything
   that interrupts it - SplitText's line masks, for one - leaves the heading
   completely invisible. It hid the hero headline once already.

   Here the text is never touched. A gold gradient sweeps across the heading
   box on a pseudo-element in plus-lighter, which can only ADD light. If the
   effect fails for any reason, the headline is still fully painted. */
.shimmer-head { position: relative; isolation: isolate; }
.shimmer-head::after {
  content: "";
  position: absolute; inset: -6% -12%;
  pointer-events: none; z-index: 1;
  background: linear-gradient(100deg,
    rgba(232,206,156,0) 38%,
    rgba(232,206,156,.30) 47%,
    rgba(255,240,214,.46) 50%,
    rgba(232,206,156,.30) 53%,
    rgba(232,206,156,0) 62%);
  background-size: 260% 100%;
  background-position: 130% 0;
  background-repeat: no-repeat;
  mix-blend-mode: plus-lighter;
  animation: shimmerSweep 26s cubic-bezier(.42,0,.25,1) infinite;
  animation-delay: var(--shimmer-delay, 4s);
  animation-fill-mode: both;
}
@keyframes shimmerSweep {
  0%   { background-position: 130% 0; }
  28%  { background-position: -30% 0; }
  100% { background-position: -30% 0; }
}
/* light sections get a softer pass so it does not blow out on cream */
.hyb-light .shimmer-head::after,
.toolstrip .shimmer-head::after,
.proofband .shimmer-head::after,
.reversal .shimmer-head::after,
.pr-detail .shimmer-head::after,
.hstrip .shimmer-head::after { opacity: .5; }
@media (prefers-reduced-motion: reduce) { .shimmer-head::after { display: none; } }
