/* =====================================================================
   CKO Digital — v2.1 "Warm"
   Built on the original CKO brand: navy CKO mark, IvyMode + Questrial,
   cream paper, soft blush/peach light. Plain CSS, no build step.
   ===================================================================== */

@font-face { font-family: "IvyMode"; src: url("../../fonts/IvyMode-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "IvyMode"; src: url("../../fonts/IvyMode-LightItalic.woff") format("woff"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "IvyMode"; src: url("../../fonts/IvyMode-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IvyMode"; src: url("../../fonts/IvyMode-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #f6f1ea;
  --paper-2: #efe7dc;
  --card: #fffdf9;
  --ink: #23201d;
  --ink-2: #5d564f;
  --muted: #8a8178;
  --line: #e6ddd1;
  --line-2: #d8ccbd;
  --navy: #00467f;
  --navy-deep: #0c2a5f;
  --clay: #c66b4f;
  --gold: #b07f3e;
  --sage: #5b8146;
  --blush: #f2d6cf;
  --peach: #f5dfc8;
  --lilac: #e2dcef;
  --radius: 28px;
  --radius-sm: 18px;
  --wrap: 1200px;
  --f-display: "IvyMode", "Cormorant Garamond", Georgia, serif;
  --f-body: "Questrial", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 30px 60px -36px rgba(70, 45, 20, .35), 0 2px 6px -2px rgba(70, 45, 20, .06);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.7 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 300; line-height: 1.04; letter-spacing: -.015em; margin: 0; color: var(--navy-deep); }
p { margin: 0 0 1em; }
address { font-style: normal; }
strong { font-weight: 400; color: var(--ink); }
::selection { background: var(--blush); color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.mono { font-family: var(--f-body); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.grad { font-style: italic; color: var(--clay); }
.muted { color: var(--muted); }
.ico { flex: none; }

.noise { position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .25 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.blobs { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; animation: drift 22s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: -14vw; background: var(--blush); }
.blobs i:nth-child(2) { width: 38vw; height: 38vw; right: -6vw; top: 8vh; background: var(--peach); animation-delay: -6s; }
.blobs i:nth-child(3) { width: 30vw; height: 30vw; left: 30vw; bottom: -12vw; background: var(--lilac); animation-delay: -12s; }
@keyframes drift { to { transform: translate3d(4vw, 3vw, 0) scale(1.08); } }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 400 .74rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .2em; color: var(--ink-2); margin: 0 0 26px; }
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--navy); }
.kicker .dot { display: none; }
.display { font-size: clamp(2.8rem, 6.2vw, 5.4rem); }
.h2 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); }
.h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.lede { font-size: clamp(1.06rem, 1.35vw, 1.22rem); color: var(--ink-2); max-width: 620px; }
.sec { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.sec__head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.sec__head .lede { margin: 0; }
.sec__num { display: flex; align-items: center; gap: 12px; font: 400 .72rem var(--f-body); color: var(--navy); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 20px; }
.sec__num::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .5; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  font: 400 .95rem/1 var(--f-body); letter-spacing: .03em; border: 1px solid var(--navy); color: var(--navy); background: transparent;
  transition: transform .35s var(--ease), box-shadow .35s, background .3s, color .3s; white-space: nowrap; }
.btn:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: 11px 20px; font-size: .86rem; }
.btn--lg { padding: 19px 32px; font-size: 1.02rem; }
.btn--glow { background: var(--navy); color: #fff; box-shadow: 0 14px 30px -14px rgba(0, 70, 127, .7); }
.btn--glow:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(0, 70, 127, .8); }
.btn--ghost { background: rgba(255, 255, 255, .4); }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; transition: padding .3s, background .3s, box-shadow .3s; }
.nav.is-scrolled { padding: 10px 0; background: rgba(246, 241, 234, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { width: min(1320px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.logo { height: 34px; width: auto; }
.brand__word { font: 400 .72rem/1 var(--f-body); letter-spacing: .32em; text-transform: uppercase; color: var(--navy); padding-left: 12px; border-left: 1px solid var(--line-2); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links > a, .nav__drop > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font: 400 .92rem var(--f-body); color: var(--ink-2); transition: background .2s, color .2s; }
.nav__links > a:hover, .nav__drop > a:hover, .nav__links a[aria-current] { color: var(--navy); background: rgba(0, 70, 127, .06); }
.caret { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav__drop { position: relative; }
.nav__menu { position: absolute; top: calc(100% + 10px); left: 50%; width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .25s var(--ease); }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__svc { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; transition: background .2s; }
.nav__svc:hover { background: var(--paper); }
.nav__svc-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.nav__svc strong { display: block; font: 300 1.15rem/1.2 var(--f-display); color: var(--navy-deep); }
.nav__svc small { color: var(--muted); font-size: .78rem; }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__phone { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--ink-2); }
.nav__phone:hover { color: var(--navy); }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--navy); transition: .3s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 26px; }
.nav.is-open .nav__burger span:first-child { top: 22px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 22px; transform: rotate(-45deg); }
.mnav { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 100px; overflow: hidden; isolation: isolate; }
.grid-floor { display: none; }
.hero__globe { position: absolute; z-index: -1; right: -2vw; top: 52%; width: min(54vw, 780px); aspect-ratio: 1; transform: translateY(-50%); cursor: grab; }
.hero__globe:active { cursor: grabbing; }
.hero__globe canvas { width: 100% !important; height: 100% !important; }
.hero__inner { position: relative; width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.hero__copy { max-width: 660px; }
.hero h1 { font-size: clamp(3rem, 6.4vw, 6rem); margin-bottom: 28px; }
.hero h1 .strike { position: relative; color: var(--muted); white-space: nowrap; }
.hero h1 .strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: 2px; background: var(--clay); transform-origin: left; transform: scaleX(0); animation: strike .9s 1.2s var(--ease) forwards; }
@keyframes strike { to { transform: scaleX(1); } }
.hero .lede { margin-bottom: 38px; }
.hero__hud { position: absolute; right: 0; bottom: -60px; display: flex; gap: 22px; color: var(--ink-2); }
.hero__hud b { color: var(--navy); font-weight: 400; }
.hud-tag { display: inline-flex; gap: 8px; align-items: center; }
.hud-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px rgba(198, 107, 79, .18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(198, 107, 79, 0); } }
.hello { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.hello__faces { display: flex; }
.hello__faces img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center 22%; border: 3px solid var(--paper); box-shadow: 0 6px 16px -8px rgba(60, 40, 20, .5); }
.hello__faces img + img { margin-left: -14px; }
.hello p { margin: 0; font-size: .95rem; color: var(--ink-2); line-height: 1.4; }
.hello p b { display: block; color: var(--navy-deep); font: italic 300 1.25rem/1.2 var(--f-display); }
.scroll-cue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); width: 1px; height: 54px; background: linear-gradient(var(--navy), transparent); }
.scroll-cue::after { content: ""; position: absolute; left: -3px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); animation: cue 2.2s infinite var(--ease); }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(46px); opacity: 0; } }

.split { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.is-ready .split > span { transform: none; }

/* ---------- logos ---------- */
.marquee { padding: 34px 0; overflow: hidden; position: relative; border-block: 1px solid var(--line); }
.marquee__label { text-align: center; color: var(--muted); margin-bottom: 18px; }
.marquee__track { display: flex; gap: 70px; width: max-content; animation: marquee 44s linear infinite; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 84px; width: auto; opacity: .62; filter: sepia(.4) saturate(.6); mix-blend-mode: multiply; transition: opacity .3s; }
.marquee img:hover { opacity: 1; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- card ---------- */
.card { position: relative; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; isolation: isolate; box-shadow: var(--shadow); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(380px circle at var(--px, 50%) var(--py, 50%), color-mix(in srgb, var(--c, #c66b4f) 10%, transparent), transparent 70%); }
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: 0 40px 70px -36px rgba(70, 45, 20, .45), 0 2px 6px -2px rgba(70, 45, 20, .06); }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* ---------- services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.svc { grid-column: span 3; min-height: 430px; padding: 36px; display: flex; flex-direction: column; }
.svc:nth-child(1) { grid-column: span 4; } .svc:nth-child(2) { grid-column: span 2; }
.svc:nth-child(3) { grid-column: span 2; } .svc:nth-child(4) { grid-column: span 4; }
.svc__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; gap: 12px; }
.svc__ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 11%, #fff); }
.svc__idx { color: var(--muted); text-align: right; }
.svc__viz { position: relative; height: 150px; margin: 22px 0; }
.svc h3 { font-size: clamp(1.9rem, 2.6vw, 2.5rem); margin-bottom: 10px; }
.svc p { color: var(--ink-2); margin: 0 0 22px; max-width: 46ch; }
.svc__more { display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; color: var(--c); letter-spacing: .02em; }
.svc__more .ico { transition: transform .3s var(--ease); }
.svc:hover .svc__more .ico { transform: translateX(5px); }

.viz-serp { display: grid; gap: 9px; }
.viz-serp div { height: 28px; border-radius: 999px; background: var(--paper); display: flex; align-items: center; padding: 0 14px; gap: 10px; font-size: .78rem; color: var(--muted); }
.viz-serp div:first-child { background: #fff; color: var(--ink); border: 1px solid var(--line-2); box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .3); }
.viz-serp div:first-child::before { content: "Ad"; font-weight: 700; color: var(--c); font-size: .72rem; }
.viz-serp .typing::after { content: "|"; color: var(--c); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.viz-bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 7px; }
.viz-bars i { flex: 1; border-radius: 999px 999px 4px 4px; background: linear-gradient(to top, color-mix(in srgb, var(--c) 25%, #fff), var(--c)); height: var(--h); transform-origin: bottom; transform: scaleY(.12); transition: transform 1.3s var(--ease); }
.in-view .viz-bars i { transform: scaleY(1); }
.viz-code { font: .8rem/1.8 ui-monospace, Menlo, monospace; color: var(--muted); white-space: pre; overflow: hidden; background: var(--paper); border-radius: 16px; padding: 14px 16px; }
.viz-code b { color: var(--c); font-weight: 400; } .viz-code em { color: var(--navy); font-style: normal; } .viz-code u { color: var(--clay); text-decoration: none; }
.viz-ring { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 26px; }
.viz-ring svg { width: 130px; height: 130px; transform: rotate(-90deg); }
.viz-ring circle { fill: none; stroke-width: 8; }
.viz-ring .bg { stroke: var(--paper-2); }
.viz-ring .fg { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.8s var(--ease); }
.in-view .viz-ring .fg { stroke-dashoffset: 18; }
.viz-ring__txt { font: 300 3.4rem/1 var(--f-display); color: var(--navy-deep); }
.viz-ring__txt small { display: block; font: .7rem var(--f-body); color: var(--muted); letter-spacing: .14em; margin-top: 6px; }

/* ---------- case studies ---------- */
.cases { position: relative; background: var(--paper-2); }
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hscroll__track { display: flex; gap: 24px; padding-left: max(24px, (100vw - var(--wrap)) / 2); padding-right: 10vw; will-change: transform; align-items: stretch; }
.hscroll__bar { width: min(var(--wrap), 100% - 48px); margin: 36px auto 0; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.hscroll__bar i { display: block; height: 100%; width: 100%; background: var(--navy); transform-origin: left; transform: scaleX(var(--p, 0)); }
.case { flex: none; width: min(540px, 84vw); min-height: 560px; padding: 36px; display: flex; flex-direction: column; --c: var(--accent); }
.case__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.case__client { font: 300 1.9rem/1.1 var(--f-display); color: var(--navy-deep); }
.case__sector { color: var(--muted); margin-top: 8px; font-size: .68rem; }
.case__logo { height: 64px; width: auto; mix-blend-mode: multiply; opacity: .8; }
.case__metric { margin: auto 0 18px; padding-top: 30px; }
.case__num { font: 300 clamp(4.4rem, 8.5vw, 7.4rem)/.9 var(--f-display); letter-spacing: -.03em; color: var(--accent); display: flex; align-items: baseline; gap: 14px; }
.case__num .from { font: .26em var(--f-body); color: var(--muted); letter-spacing: 0; }
.case__label { font: .72rem var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-top: 14px; }
.case h3 { font-size: 1.6rem; line-height: 1.15; margin-bottom: 12px; }
.case p { color: var(--ink-2); font-size: .95rem; margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .74rem; padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
.case--img .case__media { margin: -36px -36px 0; height: 210px; overflow: hidden; position: relative; }
.case--img .case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case--img:hover .case__media img { transform: scale(1.05); }
.case--img .case__head { margin-top: 26px; }
.case--img .case__metric { padding-top: 10px; }
.case__spark { position: absolute; right: 0; top: 110px; width: 70%; height: 170px; opacity: .55; z-index: -1; }
.case--intro { justify-content: center; background: none; border: 0; box-shadow: none; width: min(420px, 84vw); padding-left: 0; }
.case--intro::before { display: none; }
.case--end { justify-content: center; align-items: flex-start; --c: var(--clay); background: var(--navy-deep); border: 0; color: #f6f1ea; }
.case--end .h2 { color: #fff; }
.case--end .sec__num { color: var(--peach); }
.case--end .muted { color: #c9cfdc; }
.case--end .btn--glow { background: var(--paper); color: var(--navy-deep); }

/* ---------- why / engine ---------- */
.engine { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.vanity { display: grid; gap: 10px; margin-top: 30px; }
.vanity__row { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); transition: .6s var(--ease); }
.vanity__row span:last-child { font-size: .9rem; color: var(--muted); }
.vanity__row.is-vain { opacity: .45; }
.vanity__row.is-vain span:first-child { text-decoration: line-through; text-decoration-color: var(--clay); }
.vanity__row.is-real { background: var(--navy); border-color: var(--navy); color: #fff; transform: scale(1.03); box-shadow: 0 20px 40px -20px rgba(0, 70, 127, .7); }
.vanity__row.is-real span:last-child { color: var(--peach); }
.toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--paper-2); margin-top: 6px; }
.toggle button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-size: .85rem; color: var(--ink-2); transition: .3s; }
.toggle button.on { background: var(--card); color: var(--navy); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .25); }
.flow { position: relative; padding: 34px; }
.flow svg { width: 100%; height: auto; overflow: visible; }
.flow .node rect { fill: var(--paper); stroke: var(--line-2); }
.flow .node text { font: 300 19px var(--f-display); fill: var(--navy-deep); }
.flow .node .sub { font: 400 9.5px var(--f-body); fill: var(--muted); letter-spacing: .14em; }
.flow .pipe { fill: none; stroke: var(--line-2); stroke-width: 2; }
.flow .pipe-glow { fill: none; stroke-width: 2.5; stroke-dasharray: 2 12; stroke-linecap: round; animation: flowdash 1.4s linear infinite; }
.flow .rev rect { fill: var(--navy); stroke: var(--navy); }
.flow .rev text, .flow .rev .sub { fill: #fff !important; }
@keyframes flowdash { to { stroke-dashoffset: -28; } }

/* ---------- founders ---------- */
.people { background: var(--paper-2); overflow: hidden; }
.people__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.people__photos { position: relative; height: 560px; }
.people__photo { position: absolute; width: 52%; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border-radius: 46% 54% 50% 50% / 42% 44% 56% 58%; box-shadow: var(--shadow); }
.people__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.people__photo:hover img { transform: scale(1.04); }
.people__photo:nth-of-type(1) { left: 2%; top: 0; z-index: 1; }
.people__photo:nth-of-type(2) { right: 2%; top: 36%; z-index: 2; border-radius: 54% 46% 52% 48% / 48% 52% 48% 52%; }
.people__photo figcaption { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); background: rgba(255, 253, 249, .92); padding: 8px 18px; border-radius: 999px; font: italic 300 1.15rem var(--f-display); color: var(--navy-deep); white-space: nowrap; }
.ring { position: absolute; pointer-events: none; background: var(--navy); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; opacity: .5; }
.ring--1 { -webkit-mask-image: url(../../img/brand/ring-1.png); mask-image: url(../../img/brand/ring-1.png); animation: spin 40s linear infinite; }
.ring--2 { -webkit-mask-image: url(../../img/brand/ring-2.png); mask-image: url(../../img/brand/ring-2.png); animation: spin 55s linear infinite reverse; }
.people__photos .ring--1 { width: 110%; aspect-ratio: 1; left: -6%; top: -8%; }
.people__photos .ring--2 { width: 86%; aspect-ratio: 1; left: 8%; top: 6%; background: var(--clay); opacity: .4; }
@keyframes spin { to { transform: rotate(360deg); } }
.people blockquote { margin: 34px 0 30px; padding: 0; font: italic 300 clamp(1.5rem, 2.3vw, 2rem)/1.3 var(--f-display); color: var(--navy-deep); }
.people__facts { display: flex; gap: 44px; flex-wrap: wrap; margin-bottom: 34px; }
.people__facts b { display: block; font: 300 3rem/1 var(--f-display); color: var(--navy); }
.people__facts span { color: var(--ink-2); font-size: .9rem; }

/* ---------- Houston ---------- */
.houston { overflow: hidden; }
.htx { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.htx__stage { position: relative; aspect-ratio: 1.15; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(70% 60% at 50% 60%, #fff 0%, var(--paper) 70%); overflow: hidden; cursor: grab; touch-action: pan-y; box-shadow: var(--shadow); }
.htx__stage canvas { width: 100% !important; height: 100% !important; }
.htx__tip { position: absolute; pointer-events: none; padding: 10px 16px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); font-size: .82rem; transform: translate(-50%, calc(-100% - 14px)); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.htx__tip.on { opacity: 1; }
.htx__tip strong { display: block; font: 300 1.2rem var(--f-display); color: var(--navy-deep); }
.htx__tip .mono { font-size: .64rem; color: var(--muted); }
.htx__corner { position: absolute; left: 22px; top: 20px; color: var(--muted); display: grid; gap: 4px; pointer-events: none; }
.htx__corner b { color: var(--navy); font-weight: 400; }
.htx__legend { position: absolute; right: 22px; bottom: 18px; color: var(--muted); pointer-events: none; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 34px; }
.areas button { font-size: .82rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); transition: .2s; }
.areas button:hover, .areas button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.htx__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.htx__facts div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.htx__facts b { display: block; font: 300 2rem/1.1 var(--f-display); color: var(--navy); }
.htx__facts div > span { color: var(--ink-2); font-size: .84rem; line-height: 1.4; display: block; margin-top: 6px; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.calc__in { padding: 44px; border-right: 1px solid var(--line); }
.calc__out { padding: 44px; display: flex; flex-direction: column; background: linear-gradient(160deg, #fbf3ea, #f6e6df); }
.field { margin-bottom: 26px; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 10px; }
.field label { font-size: .95rem; color: var(--ink); }
.field output { font: 300 1.3rem var(--f-display); color: var(--navy); white-space: nowrap; }
.field small { display: block; margin-top: 8px; color: var(--muted); font-size: .8rem; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; outline: 0;
  background: linear-gradient(90deg, var(--navy), var(--navy)) 0 / var(--fill, 50%) 100% no-repeat, var(--line-2); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); box-shadow: 0 4px 12px -2px rgba(0, 70, 127, .35); cursor: grab; transition: transform .2s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); cursor: grab; }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(198, 107, 79, .3); }
.calc__big { font: 300 clamp(3.4rem, 6.4vw, 5.4rem)/1 var(--f-display); color: var(--navy-deep); margin: 8px 0 6px; font-variant-numeric: lining-nums tabular-nums; }
.calc__delta { color: var(--sage); font-size: .95rem; }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0; }
.stat { padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.stat span { display: block; font-size: .68rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.stat b { font: 300 1.7rem/1.2 var(--f-display); color: var(--navy-deep); font-variant-numeric: lining-nums; }
.calc__chart { margin-top: 14px; height: 120px; }
.calc__chart canvas { width: 100%; height: 100%; }
.calc__note { color: var(--muted); font-size: .78rem; margin: 14px 0 0; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 32px; min-height: 270px; }
.step__n { font: italic 300 3.2rem/1 var(--f-display); color: var(--c, var(--navy)); margin-bottom: 50px; }
.step h3 { font-size: 1.9rem; margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* ---------- closer + footer (deep navy) ---------- */
.closer { position: relative; padding: clamp(110px, 13vw, 180px) 0; text-align: center; overflow: hidden; isolation: isolate; background: var(--navy-deep); color: #e9e4dc; }
.closer__grid { position: absolute; inset: 0; z-index: -1; }
.closer__grid .ring { background: var(--peach); opacity: .22; top: 50%; left: 50%; }
.closer__grid .ring--1 { width: 900px; aspect-ratio: 1; margin: -450px 0 0 -450px; }
.closer__grid .ring--2 { width: 700px; aspect-ratio: 1; margin: -350px 0 0 -350px; background: var(--blush); }
.closer__inner { display: flex; flex-direction: column; align-items: center; }
.closer h2 { color: #fff; }
.closer .grad { color: var(--peach); }
.closer .kicker { color: #c9cfdc; }
.closer .kicker::before { background: var(--peach); }
.closer .lede { margin: 26px auto 40px; color: #c9cfdc; }
.closer .btn-row { justify-content: center; }
.closer .btn--glow { background: var(--paper); color: var(--navy-deep); }
.closer .btn--glow:hover { background: #fff; }
.closer .btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; background: transparent; }
.closer .btn--ghost:hover { background: rgba(255, 255, 255, .1); }

.foot { padding: 70px 0 30px; background: #0a2350; color: #c9cfdc; }
.foot .logo { height: 32px; }
.foot .brand__word { color: #c9cfdc; border-color: rgba(255, 255, 255, .2); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot__brand p { max-width: 36ch; margin: 22px 0; font-size: .95rem; }
.foot h4 { font: .7rem var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--peach); margin-bottom: 18px; }
.foot__grid > div > a, .foot address { display: block; color: #e9e4dc; font-size: .95rem; margin-bottom: 10px; }
.foot__grid > div > a:hover { color: #fff; }
.foot__social { display: flex; gap: 16px; margin-top: 16px; font-size: .88rem; }
.foot__social a:hover { color: #fff; }
.foot__clock { color: #9aa5bc; }
.foot__clock span { color: var(--peach); }
.foot__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); color: #8c97ae; }
.fab { display: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- inner pages ---------- */
.phero { position: relative; padding: 190px 0 90px; overflow: hidden; isolation: isolate; }
.phero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.phero h1 { font-size: clamp(3.1rem, 6.6vw, 6rem); margin-bottom: 26px; }
.phero__orb { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: end; width: 100%; }
.phero__orb canvas { width: 100% !important; height: 100% !important; }
.phero__orb::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c, #c66b4f) 16%, #fff), transparent 70%); z-index: -1; }
.crumbs { display: flex; gap: 10px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--navy); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 32px; min-height: 250px; }
.pillar__n { font: italic 300 2.2rem/1 var(--f-display); color: var(--c); margin-bottom: 36px; display: block; }
.pillar h3 { font-size: 1.6rem; line-height: 1.15; margin-bottom: 10px; }
.pillar p { color: var(--ink-2); font-size: .95rem; margin: 0; }

.lab { padding: 0; display: grid; grid-template-columns: .9fr 1.1fr; }
.lab__ctl { padding: 44px; border-right: 1px solid var(--line); }
.lab__view { padding: 44px; position: relative; min-height: 470px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(160deg, #fbf6ef, #f4e9e1); }
.lab__badge { position: absolute; top: 20px; right: 24px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.lab__badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); animation: blink 1.6s infinite; }

.deliv { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; }
.checklist li { display: flex; gap: 14px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); font: 300 1.35rem/1.2 var(--f-display); color: var(--navy-deep); }
.checklist .ico { color: var(--c, var(--sage)); }

.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font: 300 1.45rem/1.25 var(--f-display); color: var(--navy-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .3s var(--ease); color: var(--clay); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 24px; max-width: 70ch; margin: 0; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related .case { width: auto; min-height: 440px; }

/* widgets */
.adrank__bars { display: grid; gap: 12px; }
.ar { display: grid; grid-template-columns: 120px 1fr 54px; gap: 14px; align-items: center; font-size: .88rem; color: var(--ink-2); }
.ar__bar { height: 30px; border-radius: 999px; background: rgba(255, 255, 255, .7); overflow: hidden; position: relative; }
.ar__bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--line-2); transition: width .6s var(--ease); }
.ar.you { color: var(--navy-deep); }
.ar.you .ar__bar i { background: var(--navy); }
.ar b { font-weight: 400; text-align: right; }
.serp { margin-top: 26px; border-radius: 20px; background: #fff; color: #202124; padding: 18px 20px; font-family: Arial, sans-serif; font-size: 13px; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.serp__q { border: 1px solid #dfe1e5; border-radius: 24px; padding: 8px 16px; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.serp__ad small { font-weight: 700; }
.serp__ad .t { color: #1a0dab; font-size: 18px; line-height: 1.3; margin: 2px 0; }
.serp__ad .d { color: #4d5156; }
.serp__pos { font-size: .8rem; color: var(--muted); margin-top: 12px; }

.funnel { display: grid; gap: 10px; }
.funnel__stage { position: relative; margin-inline: auto; height: 62px; border-radius: 999px; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; transition: width .6s var(--ease); background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -18px rgba(70, 45, 20, .5); }
.funnel__stage:nth-child(3) { background: #fbefe9; } .funnel__stage:nth-child(4) { background: #f6dfd5; }
.funnel__stage span { font-size: .7rem; color: var(--ink-2); letter-spacing: .14em; text-transform: uppercase; z-index: 1; }
.funnel__stage b { font: 300 1.5rem var(--f-display); z-index: 1; color: var(--navy-deep); }
.funnel__stage.rev { background: var(--navy); border-color: var(--navy); }
.funnel__stage.rev span { color: #c9cfdc; }
.funnel__stage.rev b { color: #fff; }
.funnel canvas { position: absolute; inset: 0; pointer-events: none; z-index: 2; }

.vitals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gauge { text-align: center; }
.gauge svg { width: 100%; max-width: 160px; margin: 0 auto; }
.gauge .trk { fill: none; stroke: rgba(0, 0, 0, .07); stroke-width: 10; stroke-linecap: round; }
.gauge .val { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset .9s var(--ease), stroke .5s; }
.gauge b { display: block; font: 300 1.7rem var(--f-display); margin-top: -50px; color: var(--navy-deep); }
.gauge span { display: block; margin-top: 26px; font-size: .72rem; color: var(--muted); letter-spacing: .14em; }
.gauge em { font-style: normal; font-size: .7rem; letter-spacing: .1em; }
.race { margin-top: 34px; display: grid; gap: 12px; }
.race__row { display: grid; grid-template-columns: 100px 1fr 50px; gap: 12px; align-items: center; font-size: .85rem; color: var(--ink-2); }
.race__track { height: 8px; border-radius: 8px; background: rgba(0, 0, 0, .06); overflow: hidden; }
.race__track i { display: block; height: 100%; width: 0; border-radius: 8px; }
.race__row b { font-weight: 400; text-align: right; }

.phone { width: 230px; aspect-ratio: 9 / 18.5; border-radius: 36px; border: 8px solid #2a2622; background: #fff; color: #111; margin: 0 auto; box-shadow: 0 40px 70px -30px rgba(60, 40, 20, .6); position: relative; overflow: hidden; transform: perspective(900px) rotateY(-12deg) rotateX(4deg); transition: transform .6s var(--ease); }
.phone:hover { transform: none; }
.phone__notch { width: 70px; height: 16px; background: #2a2622; border-radius: 0 0 12px 12px; margin: 0 auto; }
.phone__img { margin: 10px 12px; height: 44%; border-radius: 14px; background: linear-gradient(140deg, var(--peach), var(--blush) 50%, var(--lilac)); position: relative; }
.phone__img::after { content: "NEW"; position: absolute; left: 8px; top: 8px; font: 700 9px var(--f-body); background: var(--navy); color: #fff; padding: 3px 7px; border-radius: 999px; }
.phone__body { padding: 0 14px; font-size: 11px; }
.phone__body h5 { font: 400 15px var(--f-display); margin: 0 0 2px; color: var(--navy-deep); }
.phone__stars { color: var(--gold); font-size: 10px; transition: opacity .3s; }
.phone__price { font-weight: 700; font-size: 13px; margin: 4px 0 8px; }
.phone__btn { display: block; text-align: center; padding: 9px; border-radius: 999px; background: var(--navy-deep); color: #fff; font-size: 11px; margin-bottom: 6px; transition: .3s; }
.phone__btn.pay { background: #5a31f4; }
.phone__up { border: 1px dashed #c9bba9; border-radius: 10px; padding: 6px 8px; font-size: 10px; color: #6b5f52; transition: .3s; }
.phone [hidden] { display: block !important; opacity: 0; height: 0; padding: 0; margin: 0; overflow: hidden; border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; justify-content: center; }
.chip { display: inline-flex; gap: 8px; align-items: center; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: .84rem; color: var(--ink-2); transition: .2s; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.chip.on i { background: var(--peach); border-color: var(--peach); }

/* ---------- work ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cases-grid .case { width: auto; }
.cases-grid .case:first-child { grid-column: span 2; min-height: 460px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.archive { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.arch { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.arch:hover img { transform: scale(1.06); }
.arch span { position: absolute; left: 12px; bottom: 12px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 253, 249, .92); font: 300 1.05rem var(--f-display); color: var(--navy-deep); }
.case.is-hidden { display: none; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.form { padding: 44px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inp { display: block; margin-bottom: 18px; }
.inp span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.inp input, .inp textarea, .inp select { width: 100%; padding: 15px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font: 400 1rem var(--f-body); transition: border-color .2s, box-shadow .2s, background .2s; }
.inp select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8a8178 50%), linear-gradient(-45deg, transparent 50%, #8a8178 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.inp input:focus, .inp textarea:focus, .inp select:focus { outline: 0; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(0, 70, 127, .1); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pick label { cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick label span { display: inline-flex; gap: 8px; align-items: center; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem; color: var(--ink-2); transition: .2s; }
.pick input:checked + span { border-color: var(--c); background: var(--c); color: #fff; }
.pick input:focus-visible + span { outline: 2px solid var(--clay); }
.hp { position: absolute; left: -5000px; }
.form__msg { margin-top: 16px; padding: 14px 18px; border-radius: 16px; display: none; }
.form__msg.ok { display: block; background: #e8f0e2; color: #3d5a2e; }
.form__msg.err { display: block; background: #f8e4dc; color: #8a3b24; }
.info { display: grid; gap: 14px; margin-top: 34px; }
.info a, .info div { display: flex; gap: 16px; align-items: center; padding: 20px 22px; }
.info .ico { color: var(--clay); }
.info small { display: block; color: var(--muted); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.info strong { font: 300 1.25rem var(--f-display); color: var(--navy-deep); }
.map { margin-top: 14px; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.8); }
.form__note { display: flex; gap: 14px; align-items: center; margin-top: 22px; color: var(--ink-2); font-size: .9rem; }
.form__note .hello__faces img { width: 40px; height: 40px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 2rem; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--ink-2); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: block; }
  .nav__cta .btn { display: none; }
  .mnav { display: grid; position: fixed; inset: 0; z-index: -1; padding: 100px 24px 40px; gap: 4px; align-content: start; background: var(--paper); opacity: 0; visibility: hidden; transition: .35s var(--ease); overflow-y: auto; }
  .mnav a { font: 300 2rem/1.2 var(--f-display); color: var(--navy-deep); padding: 12px 4px; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: center; }
  .mnav a .ico { color: var(--c); }
  .mnav .btn { margin-top: 24px; font: 400 1.05rem var(--f-body); border-bottom: 0; justify-content: center; padding: 18px; color: #fff; }
  .mnav__phone { justify-content: center; font: 400 1rem var(--f-body) !important; color: var(--ink-2) !important; border: 0 !important; }
  .nav.is-open .mnav { opacity: 1; visibility: visible; }
  .sec__head, .engine, .htx, .phero__grid, .deliv, .contact, .lab, .calc, .people__grid { grid-template-columns: 1fr; }
  .lab__ctl, .calc__in { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps, .pillars { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr; }
  .archive { grid-template-columns: repeat(3, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .phero__orb { justify-self: center; max-width: 340px; }
  .hero__globe { right: -24vw; width: 90vw; opacity: .7; }
  .people__photos { height: 480px; max-width: 560px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap, .hero__inner { width: calc(100% - 36px); }
  .bento { grid-template-columns: 1fr; }
  .bento .svc { grid-column: auto !important; min-height: 0; padding: 28px; }
  .hscroll__sticky { position: static; height: auto; padding: 80px 0; }
  .hscroll__track { flex-direction: column; padding: 0 18px; transform: none !important; }
  .hscroll__bar { display: none; }
  .case { width: auto; min-height: 0; padding: 28px; }
  .case--img .case__media { margin: -28px -28px 0; }
  .case--intro { padding: 0 0 10px; }
  .steps, .pillars, .cases-grid, .form__row, .vitals, .htx__facts { grid-template-columns: 1fr; }
  .cases-grid .case:first-child { grid-column: auto; }
  .archive { grid-template-columns: 1fr 1fr; }
  .calc__in, .calc__out, .lab__ctl, .lab__view, .form { padding: 26px; }
  .hero { padding-top: 120px; align-items: flex-start; }
  .hero__globe { top: auto; bottom: -26vw; transform: none; right: -30vw; width: 120vw; opacity: .55; }
  .hero__hud { display: none; }
  .foot__grid { grid-template-columns: 1fr; }
  .fab { display: grid; place-items: center; position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 12px 26px -8px rgba(0, 70, 127, .7); }
  .ar { grid-template-columns: 92px 1fr 44px; }
  .phone { transform: none; }
  .marquee img { height: 64px; }
  .marquee__track { gap: 40px; }
  .people__photos { height: 400px; }
  .logo { height: 28px; }
  .brand__word { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .split > span { transform: none; }
}

/* =====================================================================
   Project pages (work-card-N.php)
   ===================================================================== */
.proj-hero { padding-bottom: 50px; }
.proj-hero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: end; }
.proj-hero h1 { margin-bottom: 0; }
.proj-meta { margin: 0; display: grid; gap: 18px; padding: 26px 28px; border-radius: var(--radius); background: rgba(255, 253, 249, .7); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.proj-meta dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.proj-meta dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--navy-deep); }
.proj-meta a { display: inline-flex; gap: 6px; align-items: center; color: var(--navy); border-bottom: 1px solid currentColor; }
.proj-meta .tag { background: var(--card); border: 1px solid var(--line); }

.proj-cover { margin: 0 auto; }
.proj-cover img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper-2); }

.proj-story { padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(50px, 7vw, 90px); }
.proj-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.proj-lead { font: 300 clamp(1.45rem, 2.2vw, 1.95rem)/1.4 var(--f-display); color: var(--navy-deep); margin: 0; }
.proj-story p { color: var(--ink-2); font-size: 1.08rem; }
.proj-story .btn { margin-top: 10px; }

.proj-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: 20px; }
.pg { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); display: flex; align-items: center; }
.pg--full { grid-column: 1 / -1; }
.pg__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pg img { width: 100%; height: auto; display: block; transition: transform 1.2s var(--ease); }
.pg__btn:hover img { transform: scale(1.025); }
.pg video { width: 100%; display: block; background: #000; }

.proj-nav { padding-top: clamp(80px, 10vw, 130px); }
.proj-nav__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.proj-nav__card { display: grid; grid-template-columns: 42% 1fr; align-items: center; min-height: 200px; }
.proj-nav__card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1s var(--ease); }
.proj-nav__card:hover img { transform: scale(1.05); }
.proj-nav__txt { padding: 24px 28px; display: grid; gap: 6px; }
.proj-nav__txt small { color: var(--muted); }
.proj-nav__txt strong { font: 300 1.9rem/1.1 var(--f-display); color: var(--navy-deep); }
.proj-nav__txt em { font-style: normal; color: var(--clay); font-size: .9rem; }
.proj-nav__all { text-align: center; margin: 40px 0 0; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 60px 80px; background: rgba(12, 22, 40, .9); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s ease; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px -20px #000; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; margin-top: -25px; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--prev .ico { transform: rotate(180deg); }
.lightbox__nav--next { right: 18px; }

@media (max-width: 1100px) {
  .proj-hero__grid, .proj-story__grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .proj-gallery { grid-template-columns: 1fr; gap: 14px; }
  .pg { border-radius: var(--radius-sm); }
  .proj-nav__grid { grid-template-columns: 1fr; }
  .proj-nav__card { grid-template-columns: 38% 1fr; min-height: 150px; }
  .proj-nav__txt { padding: 18px; }
  .proj-nav__txt strong { font-size: 1.45rem; }
  .proj-cover img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; }
  .lightbox { padding: 60px 12px; }
  .lightbox__nav { top: auto; bottom: 16px; margin: 0; }
}
