/* Verer Consulting — site styles
   One brand colour (navy, with tints of the same hue), everything else neutral. */

@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #f7f6f2;
  --white: #ffffff;
  --ink: #0c1830;
  --ink-2: #4a5468;
  --ink-3: #7d8597;
  --line: #e2e0d9;
  --navy: #10295a;
  --navy-deep: #081833;
  --navy-2: #1d3d7a;
  --tint: #e7ecf6;
  --tint-2: #cfd9ee;
  --on-dark-2: #a9b8d8;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(12, 24, 48, .04), 0 12px 32px -12px rgba(12, 24, 48, .16);
  --shadow-lg: 0 2px 6px rgba(12, 24, 48, .05), 0 40px 80px -30px rgba(12, 24, 48, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; overflow-wrap: break-word; hyphens: auto; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.on-dark .eyebrow { color: var(--on-dark-2); }
.display { font-family: var(--serif); font-size: clamp(2.9rem, 7.2vw, 6.4rem); line-height: .98; letter-spacing: -.02em; }
.h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1.04; letter-spacing: -.015em; }
.h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--navy-2); }
.on-dark .display em, .on-dark .h2 em { color: var(--on-dark-2); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 38em; }
.on-dark .lead { color: var(--on-dark-2); }
.muted { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg); font: 600 15.5px/1.2 var(--sans); text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .35s var(--ease), background .3s, box-shadow .35s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(16, 41, 90, .7); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(12, 24, 48, .22); }
.btn-ghost:hover { background: var(--white); box-shadow: var(--shadow); }
.btn-light { --bg: #fff; --fg: var(--navy-deep); }
.btn-outline-light { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--navy); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 242, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: baseline; gap: 9px; text-decoration: none; line-height: 1; }
.brand-mark { font-family: var(--serif); font-size: 30px; letter-spacing: -.01em; }
.brand-sub { font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(12, 24, 48, .05); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(12, 24, 48, .18); background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 76px 0 0 0; z-index: 49; background: var(--paper);
  padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a:not(.btn) { font-family: var(--serif); font-size: 40px; line-height: 1.25; text-decoration: none; padding: 4px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; }
.menu-open { overflow: hidden; }
@media (max-width: 940px) {
  .nav-links, .nav > .btn { display: none; }
  .menu-btn { display: block; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(76px, 10vw, 140px); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy-deep); color: #fff; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }

/* ---------- Hero (home) ---------- */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 110px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 55% at 78% 40%, rgba(29, 61, 122, .13), transparent 70%), radial-gradient(40% 40% at 10% 10%, rgba(29, 61, 122, .06), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 28px; min-width: 0; }
.hero-copy .lead { margin: 0; }
.h-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.h-line > span { display: inline-block; }
html.js .h-line > span { transform: translateY(108%); animation: rise 1.1s var(--ease) forwards; }
html.js .h-line:nth-child(2) > span { animation-delay: .1s; }
html.js .h-line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }
html.js .fade-up { opacity: 0; animation: fadeUp 1s var(--ease) .45s forwards; }
html.js .fade-up.d2 { animation-delay: .6s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--ink-2); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--navy-2); }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Phone stage ---------- */
.stage { --k: 1; position: relative; height: calc(600px * var(--k)); min-width: 0; }
.stage-inner { position: absolute; left: 50%; top: 0; width: 520px; height: 600px; transform: translateX(-50%) scale(var(--k)); transform-origin: top center; }
@media (max-width: 1180px) { .stage { --k: .9; } }
@media (max-width: 940px) { .stage { --k: .86; } }
@media (max-width: 560px) { .stage { --k: .68; } }
@media (max-width: 380px) { .stage { --k: .6; } }
.phone {
  position: absolute; left: 130px; top: 14px; width: 270px; height: 560px; border-radius: 46px; padding: 9px;
  background: linear-gradient(160deg, #1b2c4f, #060f22 60%); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .1);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 84px; height: 24px; border-radius: 20px; background: #060f22; transform: translateX(-50%); z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #fff; }
.scr-top { padding: 52px 16px 12px; display: grid; gap: 12px; background: #fff; position: relative; z-index: 2; }
.scr-profile { display: flex; align-items: center; gap: 12px; }
.avatar { width: 54px; height: 54px; border-radius: 50%; flex: none; padding: 2.5px; background: conic-gradient(from 200deg, var(--navy), var(--tint-2), var(--navy-2), var(--navy)); }
.avatar i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 2.5px solid #fff; background: var(--navy); color: #fff; font: italic 22px/1 var(--serif); }
.skel { display: block; height: 7px; border-radius: 6px; background: #e9ebf0; }
.scr-stats { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.scr-stats div { display: grid; gap: 5px; justify-items: center; }
.scr-stats b { display: block; width: 26px; height: 9px; border-radius: 5px; background: var(--ink); opacity: .85; }
.scr-stats .skel { width: 34px; height: 5px; }
.scr-bio { display: grid; gap: 6px; }
.scr-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.scr-btns span { height: 24px; border-radius: 8px; background: #eef0f4; }
.scr-btns span:first-child { background: var(--navy); }
.scr-stories { display: flex; gap: 10px; }
.scr-stories span { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--tint-2); background: var(--tint); }
.scr-stories span:nth-child(2) { background: var(--navy-2); }
.scr-stories span:nth-child(4) { background: #dcd6ca; }
.feed { position: absolute; left: 0; right: 0; top: 252px; bottom: 0; overflow: hidden; border-top: 1px solid #eef0f4; }
.feed-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px 0; }
html.js .feed-track { animation: feed 36s linear infinite; }
@keyframes feed { to { transform: translateY(-50%); } }
.tile { aspect-ratio: 4 / 5; position: relative; overflow: hidden; }
.t1 { background: linear-gradient(150deg, var(--navy-2), var(--navy-deep)); }
.t2 { background: linear-gradient(160deg, #eef1f7, #d5ddee); }
.t3 { background: linear-gradient(140deg, #e6e0d4, #cfc6b5); }
.t4 { background: linear-gradient(170deg, #0f2245, #2b4f93); }
.t5 { background: linear-gradient(150deg, #f4f2ee, #e3dfd6); }
.t6 { background: linear-gradient(140deg, #9db0d6, #5a77b3); }
.tile::after { content: ""; position: absolute; }
.t1::after { inset: 32% 30%; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); }
.t2::after { left: 14%; right: 30%; bottom: 16%; height: 5px; border-radius: 4px; background: var(--navy); box-shadow: 0 -9px 0 rgba(16, 41, 90, .35); }
.t4::after { left: 50%; top: 50%; width: 0; height: 0; transform: translate(-35%, -50%); border-left: 13px solid rgba(255, 255, 255, .85); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.t6::after { right: 10%; top: 10%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.t3::after { left: 18%; right: 18%; top: 40%; height: 20%; border-radius: 4px; background: rgba(255, 255, 255, .55); }

.float {
  position: absolute; background: rgba(255, 255, 255, .94); border: 1px solid rgba(12, 24, 48, .06); border-radius: 18px;
  box-shadow: var(--shadow-lg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 4;
}
html.js .float { animation: bob 7s ease-in-out infinite; }
html.js .float.f2 { animation-delay: -2.5s; } html.js .float.f3 { animation-delay: -4.5s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.f1 { left: 8px; top: 92px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; }
.f1 .ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.f1 .ico svg { width: 18px; height: 18px; }
.f1 strong { display: block; font-size: 13.5px; line-height: 1.2; }
.f1 small { font-size: 11.5px; color: var(--ink-3); }
.f2 { right: 0; top: 230px; width: 196px; padding: 14px 16px 12px; }
.f2 .row { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 600; }
.f2 .row span { display: inline-flex; align-items: center; gap: 4px; color: var(--navy-2); font-size: 11px; }
.f2 .row span svg { width: 12px; height: 12px; }
.f2 svg.chart { width: 100%; height: 64px; margin-top: 6px; overflow: visible; }
.chart .area { fill: url(#chartFill); }
.chart .stroke { fill: none; stroke: var(--navy-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
html.js .chart .stroke { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 2.2s var(--ease) .9s forwards; }
html.js .chart .area { opacity: 0; animation: fadeIn 1.2s ease 1.9s forwards; }
html.js .chart .dot { opacity: 0; animation: fadeIn .4s ease 2.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.f2 small { display: block; font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.f3 { left: 30px; bottom: 34px; width: 210px; padding: 14px 16px; }
.f3 strong { display: block; font-size: 12.5px; margin-bottom: 10px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal span { aspect-ratio: 1; border-radius: 6px; background: #eef0f4; }
.cal span.on { background: var(--navy); }
.cal span.half { background: var(--tint-2); }
html.js .cal span.on { animation: pop .5s var(--ease) both; }
html.js .cal span.on:nth-child(3n) { animation-delay: .2s; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 5px; font-size: 9px; font-weight: 600; color: var(--ink-3); text-align: center; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--navy-deep); color: #fff; padding-block: 26px; }
.marquee-track { display: flex; width: max-content; }
html.js .marquee-track { animation: marquee 42s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group span { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1; padding-inline: clamp(18px, 2.4vw, 34px); white-space: nowrap; }
.marquee-group span:nth-child(even) { font-style: italic; color: var(--on-dark-2); }
.marquee-group i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--on-dark-2); flex: none; }

/* ---------- Statement ---------- */
.statement { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.7rem); line-height: 1.12; letter-spacing: -.012em; max-width: 21ch; }
.statement .dim { color: var(--ink-3); }
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.statement-grid > div:last-child { display: grid; gap: 18px; }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .cards-2 { grid-template-columns: 1fr; } }
.svc {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 22px; min-width: 0;
  padding: clamp(26px, 3.4vw, 44px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc.dark { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
.svc-num { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--ink-3); }
.svc.dark .svc-num { color: var(--on-dark-2); }
.svc-visual { height: 190px; border-radius: 16px; position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.svc.dark .svc-visual { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.svc h3 { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.04; }
.svc p { margin: 12px 0 0; color: var(--ink-2); }
.svc.dark p { color: var(--on-dark-2); }
.svc .link-arrow { color: inherit; }
.svc-arrow { position: absolute; right: clamp(22px, 3vw, 36px); top: clamp(22px, 3vw, 36px); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(12, 24, 48, .15); transition: transform .5s var(--ease), background .3s, color .3s; }
.svc.dark .svc-arrow { border-color: rgba(255, 255, 255, .25); }
.svc-arrow svg { width: 18px; height: 18px; }
.svc:hover .svc-arrow { transform: rotate(-45deg); background: var(--navy); color: #fff; border-color: var(--navy); }
.svc.dark:hover .svc-arrow { background: #fff; color: var(--navy-deep); }

/* mini visuals inside cards */
.mv-bars { position: absolute; left: 22px; right: 22px; bottom: 22px; height: 110px; display: flex; align-items: flex-end; gap: 8px; }
.mv-bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--tint); height: var(--h); transform-origin: bottom; transition: transform .8s var(--ease); }
.mv-bars span:nth-last-child(-n+3) { background: var(--navy-2); }
.mv-bars span:last-child { background: var(--navy); }
.svc:hover .mv-bars span { transform: scaleY(1.08); }
.mv-label { position: absolute; left: 22px; top: 18px; display: flex; gap: 8px; }
.mv-label span { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--navy); }
.mv-profile { position: absolute; inset: 22px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-content: start; }
.mv-profile .avatar { width: 64px; height: 64px; }
.mv-profile .lines { display: grid; gap: 8px; align-content: center; }
.mv-profile .skel { background: rgba(255, 255, 255, .16); }
.mv-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 6px; }
.mv-grid span { aspect-ratio: 1; border-radius: 8px; background: rgba(255, 255, 255, .1); transition: transform .6s var(--ease), background .4s; }
.mv-grid span:nth-child(2), .mv-grid span:nth-child(4) { background: rgba(169, 184, 216, .45); }
.svc:hover .mv-grid span { transform: translateY(-4px); }
.svc:hover .mv-grid span:nth-child(odd) { transition-delay: .06s; }

/* ---------- Steps ---------- */
.steps-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps-wrap .section-head { position: sticky; top: 120px; margin: 0; }
@media (max-width: 860px) { .steps-wrap { grid-template-columns: 1fr; } .steps-wrap .section-head { position: static; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px 20px; padding: 30px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--navy-2); grid-row: span 2; }
.steps h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.1; }
.steps p { margin: 0; color: var(--ink-2); }
.bg-navy .steps li { border-color: rgba(255, 255, 255, .14); }
.bg-navy .steps li::before { color: var(--on-dark-2); }
.bg-navy .steps p { color: var(--on-dark-2); }
@media (max-width: 520px) { .steps li { grid-template-columns: 1fr; } .steps li::before { grid-row: auto; font-size: 34px; } }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--white); padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; min-width: 0; transition: background .3s; }
.feature:hover { background: #fbfbfa; }
.feature .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--navy); }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-family: var(--serif); font-size: 1.65rem; line-height: 1.12; margin-top: 8px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }
.portrait { position: relative; max-width: 400px; width: calc(100% - 20px); justify-self: center; margin: 0 20px 18px 0; }
.portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 28px; border: 1px solid var(--tint-2); background: var(--tint); z-index: 0; transition: transform .8s var(--ease); }
.portrait:hover::before { transform: translate(-6px, -6px); }
.portrait img { position: relative; z-index: 1; width: 100%; aspect-ratio: 389 / 651; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.portrait figcaption { position: absolute; z-index: 2; left: 16px; bottom: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13.5px; line-height: 1.3; }
.portrait figcaption strong { display: block; font-size: 14.5px; }
.portrait figcaption span { color: var(--ink-2); }
.founder-copy { display: grid; gap: 22px; min-width: 0; }
.founder-copy p { margin: 0; color: var(--ink-2); font-size: 18px; }
.big-fact { display: flex; align-items: baseline; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.big-fact b { font-family: var(--serif); font-weight: 400; font-size: clamp(4rem, 8vw, 6rem); line-height: .9; color: var(--navy); }
.big-fact span { font-size: 15px; color: var(--ink-2); max-width: 15em; line-height: 1.45; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: clamp(24px, 3vw, 36px); background: var(--navy-deep); color: #fff; padding: clamp(44px, 7vw, 100px) clamp(24px, 6vw, 88px); display: grid; gap: 28px; justify-items: start; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(169, 184, 216, .18); pointer-events: none; }
.cta::before { width: 620px; height: 620px; right: -180px; top: -260px; }
.cta::after { width: 420px; height: 420px; right: -80px; top: -160px; }
html.js .cta::before { animation: spinSlow 60s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.cta .h2 { max-width: 15ch; position: relative; }
.cta .lead { position: relative; margin: 0; }
.cta .btn-row { position: relative; }
.mail-big { font-family: var(--serif); font-size: clamp(1.5rem, 3.6vw, 2.6rem); color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); overflow-wrap: anywhere; position: relative; transition: border-color .3s; }
.mail-big:hover { border-color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(48px, 7vw, 100px); padding-bottom: clamp(48px, 6vw, 80px); position: relative; }
.page-hero::before { content: ""; position: absolute; inset: -120px 0 auto 0; height: 600px; z-index: -1; pointer-events: none; background: radial-gradient(45% 60% at 85% 30%, rgba(29, 61, 122, .1), transparent 70%); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.page-hero-grid > * { min-width: 0; }
.page-hero .display { font-size: clamp(2.7rem, 6.2vw, 5.4rem); }
.page-hero-copy { display: grid; gap: 24px; }
.page-hero-copy .lead { margin: 0; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; align-items: start; } }
.crumbs { font-size: 13.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); }

/* dashboard visual (businesses page) */
.dash { background: var(--white); border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 22px; display: grid; gap: 16px; max-width: 460px; width: 100%; justify-self: end; }
@media (max-width: 900px) { .dash { justify-self: start; } }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dash-head strong { font-size: 14px; }
.dash-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: #f0f1f4; }
.dash-tabs span { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; color: var(--ink-3); }
.dash-tabs span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(12, 24, 48, .12); }
.dash-chart { height: 140px; display: flex; align-items: flex-end; gap: 7px; padding-top: 10px; border-bottom: 1px solid var(--line); }
.dash-chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--tint); transform-origin: bottom; }
.dash-chart span.hi { background: var(--navy-2); }
html.js .dash-chart span { transform: scaleY(0); animation: grow 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + .3s); }
@keyframes grow { to { transform: scaleY(1); } }
.dash-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-row div { border-radius: 14px; background: var(--paper); padding: 12px; display: grid; gap: 8px; }
.dash-row small { font-size: 11px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.dash-row .skel { height: 8px; }
.dash-row .skel.w { width: 70%; background: var(--navy); opacity: .85; }
.dash-list { display: grid; gap: 8px; }
.dash-list div { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; border: 1px solid var(--line); }
.dash-list i { width: 34px; height: 34px; border-radius: 10px; background: var(--tint); }
.dash-list div:nth-child(2) i { background: var(--navy-2); }
.dash-list em { font-style: normal; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--tint); color: var(--navy); white-space: nowrap; }
.dash-list .lines { display: grid; gap: 6px; }

/* profile visual (individuals page) */
.pcard { position: relative; background: var(--navy-deep); color: #fff; border-radius: 26px; padding: 26px; display: grid; gap: 18px; max-width: 420px; width: 100%; justify-self: end; box-shadow: var(--shadow-lg); overflow: hidden; }
@media (max-width: 900px) { .pcard { justify-self: start; } }
.pcard::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(169, 184, 216, .28), transparent 70%); }
.pcard-top { display: flex; align-items: center; gap: 16px; position: relative; }
.pcard-top .avatar { width: 66px; height: 66px; }
.pcard-top strong { display: block; font-family: var(--serif); font-size: 26px; line-height: 1.1; font-weight: 400; }
.pcard-top small { color: var(--on-dark-2); font-size: 13px; }
.pcard .skel { background: rgba(255, 255, 255, .16); }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.pcard-tags span { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: #dfe6f5; }
.pcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; position: relative; }
.pcard-grid span { aspect-ratio: 4 / 5; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.pcard-grid span:nth-child(1) { background: linear-gradient(160deg, #2b4f93, #0f2245); }
.pcard-grid span:nth-child(5) { background: linear-gradient(160deg, #e6e0d4, #b9ae9a); }
.pcard-grid span:nth-child(3) { background: rgba(169, 184, 216, .4); }
html.js .pcard-grid span { opacity: 0; animation: pop .7s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + .4s); }
.pcard-follow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .07); position: relative; font-size: 13px; color: var(--on-dark-2); }
.pcard-follow b { color: #fff; font-weight: 600; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--on-dark-2); box-shadow: 0 0 0 0 rgba(169, 184, 216, .6); }
html.js .pulse { animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(169, 184, 216, 0); } 100% { box-shadow: 0 0 0 0 rgba(169, 184, 216, 0); } }

/* ---------- Split / prose ---------- */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split > * { min-width: 0; }
.prose { font-size: 18px; color: var(--ink-2); }
.prose p { margin-bottom: 1.1em; }
.prose strong { color: var(--ink); font-weight: 600; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checklist li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310295a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
.for-list { display: grid; gap: 12px; }
.for-item { padding: 20px 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 4px; }
.for-item strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; }
.for-item span { color: var(--ink-2); font-size: 16px; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 44px 44px; display: grid; gap: 8px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy-2); }
.timeline li:last-child::before { background: var(--navy); border-color: var(--navy); box-shadow: 0 0 0 6px var(--tint); }
.timeline .yr { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-2); }
.timeline h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; }
.timeline p { margin: 0; color: var(--ink-2); }

/* ---------- Hobbies ---------- */
.hobbies { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .hobbies { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .hobbies { grid-template-columns: 1fr; } }
.hobby { border-radius: var(--radius); padding: 26px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 40px; min-width: 0; transition: background .4s, transform .5s var(--ease); }
.hobby:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.hobby svg { width: 38px; height: 38px; color: var(--on-dark-2); }
.hobby strong { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.05; }

/* ---------- Mission quote ---------- */
.mission { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.15; letter-spacing: -.01em; max-width: 24ch; }
.mission::before { content: "“"; display: block; font-size: 1.8em; line-height: .6; color: var(--navy-2); margin-bottom: 8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 20px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); display: grid; gap: 20px; align-content: start; min-width: 0; }
.contact-card.dark { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
.contact-card .mail-big { color: var(--ink); border-color: rgba(12, 24, 48, .25); }
.contact-card.dark .mail-big { color: #fff; border-color: rgba(255, 255, 255, .3); }
.copy-btn { font: 600 14px/1 var(--sans); }
.copy-btn[data-done] { --bg: var(--navy-2); }
address { font-style: normal; line-height: 1.7; }
.contact-card.dark .muted { color: var(--on-dark-2); }

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h2 { font-family: var(--serif); font-size: 2rem; line-height: 1.15; margin: 2.2em 0 .6em; }
.legal h3 { font-weight: 600; font-size: 1.05rem; margin: 1.6em 0 .4em; }
.legal p, .legal li { color: var(--ink-2); }
.legal a { color: var(--navy-2); }
.legal ul { padding-left: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #fff; padding-top: clamp(64px, 8vw, 110px); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h2 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 16px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: #dfe6f5; transition: color .2s; }
.foot-grid a:hover { color: #fff; }
.foot-intro p { color: var(--on-dark-2); max-width: 30em; margin: 16px 0 0; }
.foot-intro .brand-sub { color: var(--on-dark-2); }
.foot-word { font-family: var(--serif); font-size: clamp(4rem, 15.5vw, 15rem); line-height: .8; letter-spacing: -.03em; color: rgba(255, 255, 255, .07); white-space: nowrap; padding-top: 40px; margin-bottom: -.12em; user-select: none; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; font-size: 13.5px; color: var(--on-dark-2); }
.foot-bottom a { color: var(--on-dark-2); }

/* ---------- Reveal on scroll ---------- */
html.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
html.js .rv.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js .feed-track, html.js .marquee-track, html.js .float, html.js .cta::before { animation: none !important; }
  html.js .rv { opacity: 1; transform: none; }
}

/* Preview marker (only in preview builds) */
.preview-banner { background: var(--navy-deep); color: #fff; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 8px 16px; }
