/* KU CPA v2: bright glass, cool blues, one teal accent.
   Buttons adapt ThreeUI "Oblo Wipe Pill" (fill wipes up, spring lift) and the light-mode
   "Glass Button" (frosted body, masked hairline, revolving conic glow, hover pool).
   Contact and footer adapt ThreeUI "Contact" and "Newsletter Footer" to daylight glass. */

:root {
  --ink: #0f1b2d;
  --ink-2: #44546b;
  --ink-3: #5d6b80;
  --bg: #f4f8fd;
  --bg-2: #eaf1fb;
  --sky: #cfe0f7;
  --blue-300: #9fc2ee;
  --blue-500: #3b7bd4;
  --blue-700: #2c4f9e;
  --teal-300: #8fe0d3;
  --teal-500: #2fa79a;
  --teal-700: #17766c;
  --line: rgba(15, 27, 45, .09);
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .82);
  --glass-edge: rgba(255, 255, 255, .9);
  --shadow: 0 24px 60px -28px rgba(44, 79, 158, .28), 0 2px 6px rgba(15, 27, 45, .04);
  --r-xl: 28px; --r-lg: 22px; --r-md: 16px;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: 24px;                          /* page margin; 20px on mobile */
  --wrap: min(1200px, 100% - 2 * var(--gutter));
  --nav-h-mobile: 60px;
  /* Framing rule: containers are a desktop tool. On mobile (<=720px) use at most
     one layer of framing, and section backgrounds run edge to edge. */
  --frame-layers-mobile: 1;
  --frame-pad-mobile: 20px;               /* padding inside the one allowed frame */
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 8px; }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.02; }
.display em { font-style: italic; color: var(--teal-700); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.022em; }
.h2 em { font-style: italic; color: var(--teal-700); }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--ink-2); }

/* label pill (ThreeUI section label, daylight) */
.pill-label { position: relative; justify-self: start; width: fit-content; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px 0 6px; border-radius: 999px; background: var(--glass-strong); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 6px 18px -10px rgba(44,79,158,.35); font-size: 13px; font-weight: 500; color: var(--ink-2); overflow: hidden; }
.pill-label b { display: inline-grid; place-items: center; height: 20px; padding: 0 8px; border-radius: 999px; background: linear-gradient(135deg, #e3f6f2, #d6e6fb); color: var(--teal-700); font-size: 11px; font-weight: 600; }
.pill-label--plain { padding: 0 14px; }
.pill-label::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(44,79,158,.14); -webkit-mask-image: linear-gradient(170deg, #000, transparent 60%); mask-image: linear-gradient(170deg, #000, transparent 60%); pointer-events: none; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border: 0; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--spring); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }

/* primary: Oblo wipe pill, navy body, teal fill wipes up on hover */
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(15,27,45,.55); transition: transform .5s var(--spring), box-shadow .4s; }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(120deg, var(--teal-700), var(--blue-700)); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn--primary:hover { transform: scale(1.04) rotate(-1.5deg); box-shadow: 0 18px 34px -14px rgba(47,167,154,.55); }
.btn--primary:hover::before, .btn--primary:focus-visible::before { transform: none; }

/* secondary: ThreeUI glass button, light mode */
.btn--glass { color: var(--ink); background: transparent; }
.btn--glass::before { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: rgba(255,255,255,.72); box-shadow: inset 2px 4px 16px rgba(15,27,45,.05), 0 10px 26px -12px rgba(44,79,158,.4); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.btn--glass::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; border: 1px solid rgba(44,79,158,.34); opacity: .45; pointer-events: none; -webkit-mask-image: linear-gradient(170deg, #000, transparent 50%); mask-image: linear-gradient(170deg, #000, transparent 50%); }
.btn__glow { position: absolute; z-index: -1; top: calc(50% - 100px); left: calc(50% - 100px); width: 200px; height: 200px; pointer-events: none; }
.btn__glow::before, .btn__glow::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.btn__glow::before { background: conic-gradient(from 180deg, rgba(59,123,212,.02) 180deg, rgba(47,167,154,.22) 360deg); filter: blur(15px); animation: glow-turn 3.6s linear infinite; transition: opacity .5s; }
.btn__glow::after { inset: 30px; background: rgba(59,123,212,.16); opacity: 0; filter: blur(5px); transform: scale(.5); transition: opacity .5s, transform .7s; -webkit-mask-image: radial-gradient(50% 50%, #000, transparent); mask-image: radial-gradient(50% 50%, #000, transparent); }
.btn--glass:hover .btn__glow::before { opacity: 0; }
.btn--glass:hover .btn__glow::after { opacity: 1; transform: scale(1); }
@keyframes glow-turn { to { transform: rotate(360deg); } }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 30; }
.nav__bar { width: var(--wrap); margin-inline: auto; display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 10px 0 18px; border-radius: 999px; background: rgba(255,255,255,.66); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), 0 16px 40px -26px rgba(44,79,158,.4); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 23px; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; }
.brand small { font-family: var(--sans); font-size: 12px; letter-spacing: .02em; color: var(--ink-3); margin-left: 2px; }
.nav__links { display: flex; gap: 6px; margin: 0 auto; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: background .2s, color .2s; }
.nav__links a:hover { background: rgba(59,123,212,.08); color: var(--ink); }
.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 50%; background: rgba(255,255,255,.8); color: var(--ink); cursor: pointer; }
@media (max-width: 920px) {
  .nav__links { position: absolute; top: 72px; left: 24px; right: 24px; flex-direction: column; padding: 10px; border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s; }
  .nav__links a { padding: 14px 16px; font-size: 17px; }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__toggle { display: grid; place-items: center; }
  .nav__cta { display: none; }
  .brand small { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(720px, 100svh); overflow: hidden; background: linear-gradient(#c9dcf6, #f2f7fd 62%); }
.hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero__wash { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 18% 50%, rgba(244,248,253,.86), rgba(244,248,253,.55) 45%, rgba(244,248,253,0) 75%); }
.hero__inner { position: relative; z-index: 2; min-height: inherit; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 96px; pointer-events: none; }
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero h1 { font-size: clamp(46px, 6.2vw, 88px); max-width: 13ch; margin: 22px 0 22px; }
.hero .lead { max-width: 46ch; color: #33445a; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__hint { position: absolute; left: 0; right: 0; bottom: 92px; justify-content: flex-end; z-index: 2; pointer-events: none; display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(15,27,45,.5); }
.hero__hint i { position: relative; width: 12px; height: 12px; }
.hero__hint i::before, .hero__hint i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(15,27,45,.5); animation: ring 2.6s cubic-bezier(.2,.7,.3,1) infinite; }
.hero__hint i::after { animation-delay: 1.3s; }
@keyframes ring { 0% { transform: scale(.25); opacity: 0 } 35% { opacity: .85 } 100% { transform: scale(1); opacity: 0 } }
@media (max-width: 820px) {
  .hero { min-height: 0; background: linear-gradient(#cfe0f7, #f4f8fd 70%); }
  .hero__scene { position: relative; display: block; height: 52svh; min-height: 340px; }
  .hero__wash { inset: auto 0 auto 0; top: calc(max(52svh, 340px) - 140px); height: 140px; background: linear-gradient(to top, #f4f8fd 24%, rgba(244,248,253,0)); }
  .hero__inner { min-height: 0; margin-top: -64px; justify-content: flex-start; padding: 0 0 72px; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); margin: 16px 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__hint { display: none; }
}

/* ---------- glass surfaces ---------- */
.glass { position: relative; background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); border-radius: var(--r-xl); box-shadow: inset 0 0 0 1px var(--glass-edge), var(--shadow); }

/* facts strip */
.facts { position: relative; z-index: 3; margin-top: -64px; }
.facts__row { display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 10px; }
.fact { display: flex; align-items: center; gap: 16px; padding: 4px 22px; }
.fact + .fact { border-left: 1px solid var(--line); }
.tile { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: linear-gradient(145deg, #e8f7f4, #dbe8fb); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 8px 18px -10px rgba(44,79,158,.4); color: var(--blue-700); }
.tile svg { width: 22px; height: 22px; }
.fact strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.1; letter-spacing: -.01em; }
.fact span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 960px) { .facts__row { grid-template-columns: 1fr 1fr; gap: 18px 0; } .fact:nth-child(3) { border-left: 0; } }
@media (max-width: 560px) { .facts { margin-top: -28px; } .facts__row { grid-template-columns: 1fr; } .fact + .fact { border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; } }

/* sections */
.section { padding: clamp(88px, 11vw, 140px) 0 0; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: 48px; }
.section-head--split { max-width: none; grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 24px 64px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { padding: 28px; display: grid; gap: 14px; align-content: start; transition: transform .45s var(--spring), box-shadow .4s; }
.service:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--glass-edge), 0 30px 60px -26px rgba(44,79,158,.38); }
.service h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.service p { color: var(--ink-2); font-size: 15.5px; }
.service .tile { margin-bottom: 6px; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* CFO feature (Motivo's teal panel) */
.cfo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cfo__panel { position: relative; overflow: hidden; padding: clamp(32px, 4vw, 52px); border-radius: var(--r-xl); color: #fff; background: radial-gradient(120% 90% at 0% 0%, #2a9a8d, #17766c 42%, #1d6f8f 110%); box-shadow: 0 30px 60px -30px rgba(23,118,108,.55); }
.cfo__panel::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), rgba(255,255,255,.08) 55%, transparent 70%); }
.cfo__panel .pill-label { background: rgba(255,255,255,.18); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.cfo__panel .pill-label::after { display: none; }
.cfo__panel h2 { margin: 18px 0 16px; color: #fff; }
.cfo__panel h2 em { color: #e9fffb; }
.cfo__panel p { color: rgba(255,255,255,.88); max-width: 44ch; }
.checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.btn--light { background: #fff; color: var(--teal-700); box-shadow: 0 12px 26px -14px rgba(15,27,45,.5); transition: transform .5s var(--spring); }
.btn--light::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn--light:hover { color: #fff; transform: scale(1.04) rotate(-1.5deg); }
.btn--light:hover::before { transform: none; }

/* CFO mock report */
.report { padding: 26px; display: grid; gap: 18px; align-content: start; }
.report__head { display: flex; align-items: center; justify-content: space-between; }
.report__head strong { font-size: 15px; font-weight: 600; }
.report__head span { font-size: 13px; color: var(--ink-3); }
.report__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini { padding: 18px; border-radius: var(--r-md); background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 10px 24px -18px rgba(44,79,158,.4); }
.mini h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.bars { position: relative; display: flex; align-items: flex-end; gap: 5px; height: 104px; }
.bars i.f { background: repeating-linear-gradient(135deg, rgba(59,123,212,.38) 0 4px, rgba(59,123,212,.16) 4px 8px) !important; box-shadow: inset 0 0 0 1px rgba(59,123,212,.35); }
.bars__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.bars__line polyline { fill: none; stroke: var(--teal-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 1.8s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mini__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.mini .mini__head h4 { margin: 0; }
.trend { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; background: rgba(47,167,154,.12); color: var(--teal-700); font: 600 11.5px/1 var(--sans); font-style: normal; white-space: nowrap; }
.trend svg { width: 12px; height: 12px; }
.legend { display: flex; gap: 14px; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(180deg, var(--teal-300), var(--blue-500)); }
.legend i.f { background: repeating-linear-gradient(135deg, rgba(59,123,212,.45) 0 2px, rgba(59,123,212,.15) 2px 4px); }
.legend i.m { height: 2px; border-radius: 1px; background: var(--teal-700); }
.area { display: block; width: 100%; height: 104px; overflow: visible; }
.area__fill { fill: url(#ag); }
.area__line { fill: none; stroke: var(--blue-500); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.area__margin { fill: none; stroke: var(--teal-700); stroke-width: 2; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.kpis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpis li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 12px 12px 14px; border-radius: 14px; background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9); font-size: 13px; font-weight: 500; color: var(--ink-2); line-height: 1.25; }
.kpis b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(47,167,154,.14); color: var(--teal-700); }
.kpis b svg { width: 14px; height: 14px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--blue-300), var(--blue-500)); opacity: .9; transform-origin: bottom; animation: bar-in .9s var(--spring) both; }
.bars i:nth-child(odd) { background: linear-gradient(180deg, var(--teal-300), var(--teal-500)); }
@keyframes bar-in { from { transform: scaleY(.1); } }
.ring-chart { display: flex; align-items: center; gap: 14px; }
.ring-chart svg { width: 84px; height: 84px; }
.ring-chart p { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.agenda li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9); font-size: 14.5px; }
.agenda li span { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); flex: none; }
.dot--blue { background: var(--blue-500); }
@media (max-width: 960px) { .cfo { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .report__grid { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 30px 28px 32px; }
.step__num { font-family: var(--serif); font-size: 44px; line-height: 1; letter-spacing: -.02em; background: linear-gradient(135deg, var(--teal-500), var(--blue-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin: 22px 0 10px; font-size: 19px; font-weight: 600; }
.step p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* people */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.person { padding: 30px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.avatar { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; font-family: var(--serif); font-size: 34px; color: #fff; background: linear-gradient(145deg, var(--blue-300), var(--blue-700)); box-shadow: 0 14px 28px -14px rgba(44,79,158,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.avatar--teal { background: linear-gradient(145deg, var(--teal-300), var(--teal-700)); box-shadow: 0 14px 28px -14px rgba(23,118,108,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.person h3 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.person .role { font-size: 14px; color: var(--teal-700); font-weight: 500; margin: 2px 0 12px; }
.person p { color: var(--ink-2); }
@media (max-width: 860px) { .people { grid-template-columns: 1fr; } .person { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
.faq details { padding: 4px 24px; border-radius: var(--r-lg); background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-edge), 0 14px 34px -26px rgba(44,79,158,.4); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 16.5px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(59,123,212,.1); color: var(--blue-700); transition: transform .35s var(--spring), background .3s; font-style: normal; font-size: 18px; line-height: 1; }
.faq details[open] summary i { transform: rotate(45deg); background: rgba(47,167,154,.16); color: var(--teal-700); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }


/* ---------- contact (ThreeUI Contact, daylight) ---------- */
.contact { position: relative; display: flex; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 36px; overflow: hidden; background: linear-gradient(135deg, #e4eefb, #eef7f6 60%, #e6effb); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), var(--shadow); }
.contact__glow { position: absolute; top: -20%; left: -14%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(50% 50%, rgba(143,224,211,.55), transparent 68%); filter: blur(24px); pointer-events: none; }
.contact__glow--b { top: auto; left: auto; right: -10%; bottom: -30%; background: radial-gradient(50% 50%, rgba(159,194,238,.6), transparent 68%); }
.contact__copy { position: relative; z-index: 2; flex: 1 1 44%; min-width: 0; }
.contact__copy h2 { margin: 18px 0 14px; }
.contact__copy > p { max-width: 36ch; color: var(--ink-2); }
.details { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.details li { display: flex; align-items: center; gap: 16px; }
.details span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.details strong, .details a { font-weight: 500; font-size: 16px; color: var(--ink); text-decoration: none; }
.details a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.form { position: relative; z-index: 2; flex: 1 1 56%; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 40px); border-radius: 30px; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px); box-shadow: inset 2px 4px 16px rgba(255,255,255,.7), 0 30px 60px -30px rgba(44,79,158,.4); }
.form::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid rgba(255,255,255,.95); pointer-events: none; -webkit-mask-image: linear-gradient(#000, transparent 75%); mask-image: linear-gradient(#000, transparent 75%); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.topics legend { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; padding: 0; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topics span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(15,27,45,.1); background: rgba(255,255,255,.6); color: var(--ink-2); font-size: 14px; font-weight: 500; transition: color .25s, border-color .25s, background .25s, transform .35s var(--spring); }
.topics label:hover span { transform: translateY(-1px); border-color: rgba(59,123,212,.35); }
.topics input:checked + span { border-color: transparent; background: linear-gradient(120deg, #dff5f1, #dce9fb); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(47,167,154,.45); }
.topics input:focus-visible + span { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; }
.field > label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field > label small { margin-left: 6px; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.topics--meet span { height: 36px; font-size: 13.5px; }
.field input, .field textarea { width: 100%; border: 1px solid rgba(15,27,45,.1); border-radius: 16px; background: rgba(255,255,255,.85); color: var(--ink); font: 400 16px/1.5 var(--sans); padding: 13px 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #93a0b2; }
.field input:focus, .field textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(59,123,212,.14); }
.field [aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,.1); }
.field__error { font-size: 13px; color: #b03a2e; }
.form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__note { font-size: 13.5px; color: var(--ink-3); }
.form__note:empty { display: none; }
.form.is-sent .form__note { color: var(--teal-700); font-weight: 500; }
.send { flex-basis: 100%; display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--r-md); background: linear-gradient(120deg, rgba(223,245,241,.8), rgba(220,233,251,.8)); box-shadow: inset 0 0 0 1px rgba(47,167,154,.3); animation: rise .5s var(--ease) both; }
.send[hidden] { display: none; }
.send p { font-size: 14px; font-weight: 600; color: var(--ink); }
.send__row { display: flex; flex-wrap: wrap; gap: 8px; }
.send__opt { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(15,27,45,.1), 0 8px 18px -12px rgba(44,79,158,.4); transition: transform .35s var(--spring), box-shadow .3s; }
.send__opt:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(59,123,212,.4), 0 10px 22px -12px rgba(44,79,158,.5); }
@media (max-width: 960px) { .contact { flex-direction: column; align-items: stretch; } }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* ---------- footer (ThreeUI Newsletter Footer, daylight) ---------- */


/* reveal on load for the hero copy only */
.rise { animation: rise .9s var(--ease) both; }
.rise:nth-child(2) { animation-delay: .08s; } .rise:nth-child(3) { animation-delay: .16s; } .rise:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Round 3: section bands ---------- */
.section--band { position: relative; isolation: isolate; margin-top: clamp(88px, 11vw, 140px); padding: clamp(88px, 10vw, 130px) 0; }
.section--band + .section { padding-top: clamp(88px, 11vw, 140px); }
.section--band + .section--band { margin-top: 0; }

/* Getting started: faint water light + a flowing line that draws on scroll */
.section--water { background: linear-gradient(180deg, var(--bg), #eaf3fb 18%, #e9f5f4 82%, var(--bg)); }
.section--water::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/_vercel/image?url=https%3A%2F%2Fd8j0ntlcm91z4.cloudfront.net%2Fuser_3CvcPd29j0JJxoezZzQeJBjPGT1%2Fhf_20261202_103907_06791e9d-9801-40e8-b0f1-f145b1b5b6b9.jpeg&w=1920&q=72") center / cover; opacity: .55; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.flow { position: relative; height: 90px; margin: -10px 0 18px; }
.flow svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.flow__track { stroke: rgba(59,123,212,.14); stroke-width: 2; }
.flow__line { stroke: url(#flowg); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: var(--flow, 1); transition: stroke-dashoffset .15s linear; }
.flow i { position: absolute; top: 45px; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px rgba(59,123,212,.2), 0 6px 14px -6px rgba(44,79,158,.5); transform: scale(.7); transition: transform .5s var(--spring), box-shadow .4s; }
.flow i.is-on { transform: scale(1); box-shadow: inset 0 0 0 5px var(--teal-500), 0 0 0 8px rgba(47,167,154,.14), 0 6px 14px -6px rgba(44,79,158,.5); }
.section--water .step { background: rgba(255,255,255,.72); }
@media (max-width: 860px) { .flow { display: none; } }

/* About: photo background, washed on the reading side */
.section--photo { background: var(--bg); }
.section--photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--photo) 70% center / cover no-repeat; }
.section--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, var(--bg) 0%, rgba(244,248,253,0) 22%, rgba(244,248,253,0) 70%, var(--bg) 100%),
  linear-gradient(90deg, rgba(244,248,253,.97) 0%, rgba(244,248,253,.9) 34%, rgba(244,248,253,.45) 62%, rgba(244,248,253,.15) 100%); }
.section-head--stack { max-width: 620px; }
.section-head--stack .lead { max-width: 52ch; }
.section--photo .service { background: rgba(255,255,255,.8); }
@media (max-width: 860px) { .section--photo::after { background: linear-gradient(180deg, var(--bg), rgba(244,248,253,.88) 30%, rgba(244,248,253,.7) 80%, var(--bg)); } }

/* FAQ: tinted band + help card */
.section--tint { background: linear-gradient(180deg, var(--bg), #e4eefb 16%, #e3f1f2 84%, var(--bg)); }
.section--tint .faq details { background: rgba(255,255,255,.78); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 24px; align-items: start; }
.help { position: sticky; top: 104px; padding: 30px; display: grid; gap: 14px; background: rgba(255,255,255,.85); }
.help h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.help p { color: var(--ink-2); font-size: 15.5px; }
.help__list { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 6px; }
.help__list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.help__list a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.help .btn { justify-self: start; }
@media (max-width: 960px) { .faq-layout { grid-template-columns: 1fr; } .help { position: static; } }

/* Areas we serve */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.region { padding: 30px; display: grid; gap: 22px; }
.region__head { display: flex; align-items: center; gap: 16px; }
.region__head h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.region__head p { font-size: 14px; color: var(--ink-3); }
.region__group h4 { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px rgba(15,27,45,.08); font-size: 14px; color: var(--ink); }
@media (max-width: 960px) { .areas { grid-template-columns: 1fr; } }

/* Footer */
.footer { position: relative; overflow: hidden; margin-top: clamp(88px, 11vw, 140px); padding: 0 0 22px; background: linear-gradient(var(--bg), #e3edfa 40%, #dfeaf9); }
.footer__cta { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; padding: clamp(32px, 5vw, 56px); border-radius: var(--r-xl); background: linear-gradient(120deg, #dff5f1, #dce9fb); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 30px 60px -34px rgba(44,79,158,.45); }
.footer__cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--water) center / cover; opacity: .5; mix-blend-mode: multiply; }
.footer__cta > div:first-child { display: grid; gap: 16px; max-width: 560px; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding: 64px 0 8px; }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__brand .brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 26px; letter-spacing: -.02em; }
.footer__brand .brand img { width: 34px; height: 34px; }
.footer__brand p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 40ch; }
.footer__col { display: grid; gap: 8px; align-content: start; }
.footer__col h3 { margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.footer__col a, .footer__col p { font-size: 15px; color: var(--ink); text-decoration: none; line-height: 1.55; }
.footer__col a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.subscribe { position: relative; max-width: 430px; height: 56px; border-radius: 28px; background: rgba(255,255,255,.78); box-shadow: inset 0 0 0 1px rgba(255,255,255,.95), 0 16px 34px -22px rgba(44,79,158,.45); }
.subscribe > svg { position: absolute; top: 18px; left: 20px; width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; transition: opacity .25s; }
.subscribe input { width: 100%; height: 56px; padding: 0 140px 0 50px; border: 0; outline: 0; border-radius: 28px; background: transparent; color: var(--ink); font: 400 15px var(--sans); transition: opacity .25s; }
.subscribe input::placeholder { color: #75849a; }
.subscribe:focus-within { box-shadow: inset 0 0 0 1px rgba(59,123,212,.5), 0 0 0 4px rgba(59,123,212,.12); }
.subscribe .btn { position: absolute; top: 4px; right: 4px; height: 48px; width: 128px; padding: 0 12px; font-size: 14px; transition: width .45s cubic-bezier(.32,.72,0,1), transform .5s var(--spring); }
.subscribe.is-success > svg, .subscribe.is-success input { opacity: 0; }
.subscribe.is-success .btn { width: calc(100% - 8px); }
.footer__wordmark { margin-top: 48px; margin-bottom: -.1em; padding-top: .06em; font-family: var(--serif); font-size: clamp(84px, 19vw, 260px); line-height: 1; letter-spacing: -.05em; text-align: center; white-space: nowrap; user-select: none;
  background: linear-gradient(100deg, rgba(59,123,212,.2) 0%, rgba(59,123,212,.2) 38%, rgba(143,224,211,.7) 50%, rgba(59,123,212,.2) 62%, rgba(59,123,212,.2) 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask-image: linear-gradient(#000 40%, rgba(0,0,0,.35)); mask-image: linear-gradient(#000 40%, rgba(0,0,0,.35));
  animation: shimmer 9s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.footer__legal a { color: var(--ink-2); text-decoration: none; }
.footer__legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1060px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer__cta-actions .btn { width: 100%; } }

/* Contact: meeting room photo behind the panel, washed on the copy side */
.contact--photo { isolation: isolate; }
.contact--photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--photo) 65% center / cover no-repeat; }
.contact--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(238,245,252,.97) 0%, rgba(238,245,252,.9) 38%, rgba(238,245,252,.45) 70%, rgba(238,245,252,.25) 100%); }
.contact--photo .contact__glow { opacity: .5; }
.contact--photo .form { background: rgba(255,255,255,.84); }
@media (max-width: 900px) { .contact--photo::after { background: rgba(238,245,252,.9); } }

/* ---------- Round 4 ---------- */
/* Nav brand: mark matches the two-line name block */
.brand img { width: 42px; height: 42px; }
.brand__text { display: grid; gap: 3px; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 23px; letter-spacing: -.02em; color: var(--ink); }
.brand__text small { margin: 0; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* Section labels: plain eyebrow text, no pill */
.pill-label, .pill-label--plain { height: auto; padding: 0; gap: 10px; border-radius: 0; background: none; box-shadow: none; overflow: visible; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); line-height: 1.4; }
.pill-label::before { content: ""; flex: none; width: 22px; height: 1.5px; border-radius: 1px; background: currentColor; opacity: .7; }
.pill-label::after { display: none; }
.cfo__panel .pill-label { background: none; box-shadow: none; color: #fff; }

/* Services: no icons, catch-all card */
.service h3 { margin-top: 2px; }
.service--more { background: linear-gradient(135deg, rgba(223,245,241,.75), rgba(220,233,251,.75)); }
.service__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; width: fit-content; font-weight: 600; font-size: 15px; color: var(--teal-700); text-decoration: none; }
.service__link svg { width: 16px; height: 16px; transition: transform .45s var(--spring); }
.service__link:hover svg { transform: translateX(3px); }

/* Facts without icons */
.fact { display: block; padding: 4px 26px; }

/* Getting started: one-line titles, CTA row */
.step { padding: 26px 26px 28px; }
.step h3 { margin: 0 0 10px; display: flex; align-items: baseline; gap: 10px; font-size: 19px; font-weight: 600; }
.step h3 .step__num { font-size: 26px; }
.steps__cta { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 20px 32px; padding: 26px 28px; background: rgba(255,255,255,.78); }
@media (max-width: 1100px) { .steps__cta { grid-template-columns: minmax(0, 1fr) auto; } .steps__points { grid-column: 1 / -1; grid-row: 2; } }
@media (max-width: 620px) { .steps__cta { grid-template-columns: 1fr; } .steps__points { grid-row: auto; } }
.steps__cta-copy { display: grid; gap: 4px; }
.steps__cta h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.015em; }
.steps__cta p { color: var(--ink-2); font-size: 15.5px; }
.steps__points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.steps__points li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(47,167,154,.1); color: var(--ink); font-size: 14px; font-weight: 500; }
.steps__points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-500); }

/* Contact details without icons */
.details li { display: block; }

/* Dropdowns */
.field select { width: 100%; appearance: none; -webkit-appearance: none; border: 1px solid rgba(15,27,45,.1); border-radius: var(--r-md); background: rgba(255,255,255,.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344546b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; color: var(--ink); font: 400 16px/1.5 var(--sans); padding: 13px 46px 13px 16px; outline: none; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.field select:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(59,123,212,.14); }
.field select:invalid, .field select option[value=""] { color: #75849a; }

/* Footer brand, merged visit column, newsletter row */
.footer__grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
.footer__brand .brand { gap: 12px; font-size: 28px; }
.footer__brand .brand img { width: 48px; height: 48px; }
.footer__hours { margin-top: 10px; }
.footer__news { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: 40px; padding: 24px 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 16px 34px -26px rgba(44,79,158,.4); }
.footer__news h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.footer__news p { color: var(--ink-2); font-size: 15px; }
.footer__news .subscribe { flex: 1 1 420px; max-width: 560px; }
.footer__wordmark { font-size: clamp(56px, 11.6vw, 176px); letter-spacing: -.04em; }
@media (max-width: 1060px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } .steps__cta .btn { width: 100%; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } .footer__news { padding: 20px; } }

/* ---------- Round 5 ---------- */
/* Eyebrow labels: tighter, no leading rule */
.pill-label, .pill-label--plain { letter-spacing: .06em; gap: 0; }
.pill-label::before { display: none; }

/* Larger marks */
.brand img { width: 50px; height: 50px; }
.footer__brand .brand img { width: 60px; height: 60px; }

/* Getting started CTA on the same 3-column grid as the cards */
.steps__cta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 28px; }
.steps__points { flex-direction: column; flex-wrap: nowrap; gap: 10px; }
.steps__points li { height: auto; padding: 0; background: none; border-radius: 0; gap: 10px; font-size: 15px; }
.steps__points li::before { display: none; }
.steps__points svg { flex: none; width: 18px; height: 18px; color: var(--teal-700); }
.steps__cta-action { display: flex; justify-content: flex-end; }
@media (max-width: 1100px) { .steps__cta { grid-template-columns: repeat(3, minmax(0, 1fr)); } .steps__points { grid-column: auto; grid-row: auto; } }
@media (max-width: 860px) { .steps__cta { grid-template-columns: 1fr; } .steps__cta-action { justify-content: flex-start; } }

/* Footer CTA: two matching contact buttons */
.btn--contact { background: rgba(255,255,255,.85); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(15,27,45,.08), 0 12px 26px -16px rgba(44,79,158,.45); transition: transform .5s var(--spring), box-shadow .3s, background .3s; }
.btn--contact svg { width: 19px; height: 19px; color: var(--teal-700); }
.btn--contact:hover { background: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(47,167,154,.35), 0 16px 30px -16px rgba(44,79,158,.5); }
.btn--contact:hover svg { transform: none; }

/* ---------- Round 6 ---------- */
/* Combined logo: wide mark sits on the baseline of the name, subtitle spans the lockup */
.brand { display: inline-grid; gap: 5px; justify-items: stretch; align-items: start; line-height: 1; }
.brand__lockup { display: inline-flex; align-items: flex-end; gap: .32em; font-family: var(--serif); font-size: 26px; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.brand__lockup img, .brand img { width: auto; height: .72em; margin-bottom: .1em; }
.brand__lockup .brand__name { font-size: inherit; line-height: .86; }
.brand > small { display: block; margin: 0; font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); text-align: justify; text-align-last: justify; white-space: nowrap; }
.footer__brand .brand { display: inline-grid; gap: 7px; }
.footer__brand .brand__lockup { font-size: 32px; }
.footer__brand .brand img { width: auto; height: .72em; }
.footer__brand .brand > small { font-size: 11px; }
@media (max-width: 920px) { .nav .brand > small { display: none; } }


/* ---------- Round 7 ---------- */
.nav__bar { padding-left: 28px; }
/* Subtitle sized by letter spacing to the lockup width (site.js), no stretched word gaps */
.brand > small { justify-self: start; text-align: left; text-align-last: auto; letter-spacing: .14em; }

/* Display headline for chapter openers */
.h-display { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.2vw, 88px); line-height: .98; letter-spacing: -.03em; }
.h-display em { font-style: italic; color: var(--teal-700); }
#advisory .section-head, #contact .section-head { margin-bottom: 40px; }
.cfo__panel .cfo__title { color: #fff; margin: 0 0 16px; font-size: clamp(30px, 3.2vw, 42px); }
.contact__title { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.08; letter-spacing: -.02em; }
.contact__title em { font-style: italic; color: var(--teal-700); }

.cfo__panel .cfo__title em { color: #e9fffb; }

/* ---------- Round 8 ---------- */
.section-head--wide { max-width: none; gap: 18px; }


/* ---------- Round 10 ---------- */
.footer__sub { margin-top: 18px; }

/* Mobile nav: a flush bar above the hero, so it never covers the scene */
@media (max-width: 820px) {
  .nav { top: 0; }
  .nav__bar { width: 100%; height: var(--nav-h-mobile); padding: 0 8px 0 var(--gutter); border-radius: 0; box-shadow: 0 1px 0 rgba(15,27,45,.06), 0 10px 30px -24px rgba(44,79,158,.45); background: rgba(246,250,254,.88); }
  .brand__lockup { font-size: 22px; }
  .nav__links { top: calc(var(--nav-h-mobile) + 8px); left: var(--gutter); right: var(--gutter); }
  .hero { padding-top: var(--nav-h-mobile); }
  .hero__wash { top: calc(var(--nav-h-mobile) + max(52svh, 340px) - 140px); }
  html { scroll-padding-top: calc(var(--nav-h-mobile) + 16px); }
}

/* Mobile framing: one layer at most, section backgrounds edge to edge */
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  /* Colored panels become full-bleed bands, not cards */
  .contact, .cfo__panel, .footer__cta { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; box-shadow: none; }
  .contact { padding: 40px var(--gutter); gap: 28px; }
  .cfo__panel { padding: 40px var(--gutter); }
  .footer__cta { padding: 40px var(--gutter); }
  .contact .form { padding: var(--frame-pad-mobile); border-radius: var(--r-lg); }
  /* The report mock drops its outer frame; its tiles are the one layer */
  .report { padding: 8px 0 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* Single cards: tighter padding */
  .service, .help, .steps__cta { padding: var(--frame-pad-mobile); }
  .faq details { padding: 2px 18px; }
  .footer__news { padding: var(--frame-pad-mobile); }
}
@media (max-width: 560px) {
  .facts__row { grid-template-columns: 1fr 1fr; padding: 6px 0; }
  .fact { padding: 16px var(--frame-pad-mobile); }
  .fact + .fact { border: 0; padding-top: 16px; }
  .fact:nth-child(even) { border-left: 1px solid var(--line); }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact strong { font-size: 21px; }
  .fact span { font-size: 13px; }
}
/* Mobile hero: no seam where the scene meets the page */
@media (max-width: 820px) {
  .hero { background: var(--bg); }
  .hero__wash { height: 152px; background: linear-gradient(to top, var(--bg) 30%, rgba(244,248,253,0)); }
}
