/* Hedge Professional Services
   Warm ivory, charcoal and the logo's copper orange. Display: Newsreader. Text: Geist. Figures: Geist, tabular.
   Shape rule: buttons and chips are pills; cards 18px; feature panels 28px; inputs 12px.
   Layers: float 40, header 50, menu 60, dialog 100. */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --ivory-50: #fbf8f3;
  --ivory-100: #f5f0e7;
  --ivory-200: #ece5d8;
  --white: #ffffff;
  --ink: #1d1a17;
  --muted: #5a554d;
  --faint: #857f75;
  --line: #e7e0d3;
  --line-strong: #d6cebf;
  --deep-900: #1b1714;
  --deep-800: #27211c;
  --deep-700: #3a322a;
  --orange-700: #974509;
  --orange-600: #c8641b;
  --orange-500: #e07b2e;
  --orange-100: #fdeede;
  --peach-300: #f8d5b6;
  --peach-100: #fef5ec;
  --action: #b3540f;
  --action-hover: #974509;
  --success: #1f7a4a; --success-bg: #e7f3ec;
  --warning: #9a5500; --warning-bg: #fdf1dc;
  --error: #b42318; --error-bg: #fdecea;
  --info: #245e6b; --info-bg: #e6f1f3;
  --shadow-card: 0 1px 2px rgb(40 30 20 / .03), 0 4px 14px rgb(40 30 20 / .04);
  --shadow-raised: 0 2px 4px rgb(40 30 20 / .03), 0 12px 40px rgb(40 30 20 / .08);
  --shadow-float: 0 4px 10px rgb(40 30 20 / .06), 0 24px 60px rgb(40 30 20 / .14);
  --r-sm: 10px; --r-md: 14px; --r-lg: 18px; --r-feature: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1280px;
  --gutter: clamp(18px, 4vw, 56px);
  --section: clamp(56px, 8vw, 112px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; background: var(--ivory-50); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, address, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--peach-300); color: var(--ink); }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }

.icon { width: 1.2em; height: 1.2em; flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * .6); }
.section-muted { background: var(--ivory-100); }
.tabular, .num { font-variant-numeric: lining-nums tabular-nums; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 120; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; }
.skip:focus { top: 16px; }
.center { text-align: center; }
.center .head { margin-inline: auto; justify-items: center; }

/* Type */
h1, h2, h3, .h3, .statement { font-family: var(--display); font-weight: 500; letter-spacing: -.018em; line-height: 1.04; text-wrap: balance; font-variant-numeric: lining-nums; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -.024em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3, .h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.012em; }
h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
p { text-wrap: pretty; }
.accent { color: var(--orange-600); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-700); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.head p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: clamp(24px, 3vw, 40px); }
.head-row .head { margin-bottom: 0; }
.statement { font-size: clamp(2rem, 4.4vw, 3.9rem); line-height: 1.04; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 550; font-size: 1.03rem; white-space: nowrap; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-action { background: var(--action); color: #fff; box-shadow: 0 10px 24px -10px rgb(179 84 15 / .7); }
.btn-action:hover { background: var(--action-hover); }
.btn-dark { background: var(--deep-900); color: #fff; }
.btn-dark:hover { background: var(--deep-700); }
.btn-outline { border-color: var(--deep-800); color: var(--deep-800); background: rgb(255 255 255 / .7); }
.btn-outline:hover { background: var(--deep-800); color: #fff; }
.btn-ghost { border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--deep-900); }
.btn-light:hover { background: var(--peach-300); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--deep-800); font-weight: 600; text-decoration: underline; text-decoration-color: var(--peach-300); text-underline-offset: 4px; text-decoration-thickness: 2px; transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: var(--orange-500); }
.link .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link:hover .icon { transform: translateX(3px); }
.prose a, .inline-link { color: var(--action); font-weight: 550; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); font-size: .93rem; font-weight: 500; transition: background-color .2s, border-color .2s, color .2s; }
button.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--deep-900); border-color: var(--deep-900); color: #fff; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.badge .icon { width: 1.1em; height: 1.1em; }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-neutral { background: var(--ivory-200); color: var(--muted); }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.bubble { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--ivory-100); color: var(--deep-800); flex: none; }
.bubble .icon { width: 24px; height: 24px; }
.bubble-peach { background: var(--orange-100); color: var(--orange-600); }
.bubble-solid { background: var(--orange-500); color: #fff; }
.alert { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); font-size: .95rem; }
.alert .icon { margin-top: .15em; }
.alert-info { background: var(--info-bg); color: #18434c; }
.alert-warning { background: var(--warning-bg); color: #6b3b00; }
.alert-success { background: var(--success-bg); color: #145433; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ivory-50) 88%, transparent); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(40 30 20 / .4); }
.header-row { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 1.22rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.1; }
.brand img { border-radius: 50%; flex: none; }
.brand-name span { color: var(--faint); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px; font-size: .98rem; font-weight: 500; color: var(--ink); transition: background-color .2s; }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--ivory-200); }
.nav-link[aria-current="page"] { color: var(--action); }
.nav-link .icon { width: .8em; height: .8em; transition: transform .3s var(--ease); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 12px); left: -12px; width: 340px; padding: 8px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-float); z-index: 60; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .3s var(--ease), visibility .2s; }
[data-dropdown].open .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--r-md); transition: background-color .15s; }
.menu a:hover, .menu a:focus-visible { background: var(--ivory-100); }
.menu a > span { display: grid; gap: 1px; }
.menu a .icon { width: 22px; height: 22px; color: var(--orange-600); }
.menu strong { font-weight: 600; font-size: .98rem; }
.menu span span { font-size: .85rem; color: var(--faint); }
.menu-wide { width: 560px; left: -120px; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu .menu-all { justify-content: space-between; margin-top: 6px; padding: 14px 16px; background: var(--deep-900); color: #fff; font-weight: 600; }
.menu .menu-all:hover { background: var(--deep-700); }
.menu .menu-all .icon { color: var(--orange-500); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); transition: background-color .2s; }
.icon-btn:hover { background: var(--ivory-200); }
.icon-btn .icon { width: 21px; height: 21px; grid-area: 1 / 1; transition: transform .35s var(--ease), opacity .2s; }
.menu-btn .icon:last-child { opacity: 0; transform: rotate(-90deg) scale(.6); }
.menu-btn[aria-expanded="true"] .icon:first-child { opacity: 0; transform: rotate(90deg) scale(.6); }
.menu-btn[aria-expanded="true"] .icon:last-child { opacity: 1; transform: none; }
.menu-btn { display: none; }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 45; background: var(--ivory-50); padding: 12px 0 48px; overflow-y: auto; }
.mobile-menu nav { display: grid; }
.mobile-menu a:not(.btn) { padding: 13px 0; font-size: 1.15rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; }
.mobile-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-top: 22px; }
@media (max-width: 1100px) {
  .nav, .header-cta { display: none; }
  .header-actions { margin-left: auto; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 460px) { .brand-name span { display: none; } .brand { font-size: 1.08rem; } }

/* Home hero */
.hero { position: relative; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 72px); align-items: center; padding-block: clamp(28px, 5vw, 64px) clamp(36px, 5vw, 72px); }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.pill-note { display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 8px; border-radius: 999px; border: 1px solid var(--line); background: rgb(255 255 255 / .9); font-size: .94rem; box-shadow: var(--shadow-card); }
.pill-note > span:first-child { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange-100); color: var(--orange-600); }
.pill-note .icon { width: 16px; height: 16px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 8px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.hero-points .icon { width: 26px; height: 26px; color: var(--deep-800); }
.hero-visual { position: relative; padding-bottom: 54px; }
.leaf { border-radius: 110px 26px 110px 26px; overflow: hidden; background: var(--ivory-200); box-shadow: var(--shadow-raised); }
.leaf img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo { aspect-ratio: 5 / 4; }
.hero-photo-2 { position: absolute; right: -8px; top: -22px; width: 34%; aspect-ratio: 1; border-radius: 26px 70px 26px 70px; overflow: hidden; border: 6px solid var(--ivory-50); box-shadow: var(--shadow-raised); }
.hero-photo-2 img { width: 100%; height: 100%; object-fit: cover; }
.mini { position: absolute; left: clamp(-28px, -2vw, -12px); bottom: 0; width: min(350px, 86%); padding: 20px 22px 18px; border-radius: var(--r-feature); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-float); display: grid; gap: 12px; }
.mini-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mini-top strong { font-size: .95rem; }
.mini label { font-size: .82rem; color: var(--muted); font-weight: 500; }
.mini-out { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.mini-out div { background: var(--ivory-50); padding: 10px 12px; }
.mini-out dt { font-size: .76rem; color: var(--muted); }
.mini-out dd { font-weight: 650; font-size: 1.12rem; letter-spacing: -.01em; }
.mini-out .is-tax dd { color: var(--action); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .hero-visual { animation: rise .9s .1s var(--ease) both; }
  .mini { animation: rise .8s .45s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-2 { display: none; }
  .mini { left: 12px; }
  .leaf { border-radius: 64px 18px 64px 18px; }
}

/* Service strip */
.strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-feature); background: var(--white); overflow: hidden; box-shadow: var(--shadow-card); }
.strip a { display: grid; justify-items: center; gap: 10px; padding: 22px 10px; text-align: center; font-size: .9rem; font-weight: 550; line-height: 1.25; border-right: 1px solid var(--line); transition: background-color .2s, color .2s; }
.strip a:last-child { border-right: 0; }
.strip a:hover { background: var(--peach-100); color: var(--action); }
.strip .icon { width: 28px; height: 28px; color: var(--orange-600); }
@media (max-width: 1000px) { .strip { grid-template-columns: repeat(4, 1fr); } .strip a:nth-child(4) { border-right: 0; } .strip a:nth-child(-n+4) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .strip { grid-template-columns: repeat(2, 1fr); } .strip a { border-bottom: 1px solid var(--line); } .strip a:nth-child(even) { border-right: 0; } }

/* Numbers */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; color: var(--deep-900); }
.stat b small { font-size: .55em; color: var(--orange-600); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Doors: who are you */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.door { display: grid; gap: 14px; align-content: start; text-align: left; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-feature); background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background-color .3s, color .3s; }
.door:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.door strong { font-family: var(--display); font-size: 1.6rem; font-weight: 500; line-height: 1.1; letter-spacing: -.015em; }
.door span:not(.bubble) { color: var(--muted); font-size: .97rem; }
.door[aria-selected="true"] { background: var(--deep-900); border-color: var(--deep-900); color: #fff; }
.door[aria-selected="true"] span:not(.bubble) { color: #d9d2c6; }
.door[aria-selected="true"] .bubble { background: var(--orange-500); color: #fff; }
.door-panel { margin-top: 18px; padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r-feature); background: var(--peach-100); border: 1px solid var(--peach-300); display: grid; gap: 18px; }
.door-panel h3 { font-size: 1.5rem; }
.door-panel .related { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .door-panel .related { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .door-panel .related { grid-template-columns: 1fr; } }

/* Tool cards */
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.bento-card { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; height: 100%; min-height: 260px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-feature); background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.bento-top { display: flex; align-items: flex-start; justify-content: space-between; color: var(--faint); }
.bento-body { display: grid; gap: 8px; }
.bento-body strong { font-family: var(--display); font-weight: 500; font-size: 1.75rem; line-height: 1.1; letter-spacing: -.015em; }
.bento-body span { color: var(--muted); }
.bento-dark { background: var(--deep-900); border-color: var(--deep-900); color: #fff; }
.bento-dark .bento-body strong { font-size: 2.2rem; }
.bento-dark .bento-body span { color: #d9d2c6; max-width: 34ch; }
.bento-card:not(.bento-dark) .bubble-solid { background: var(--orange-100); color: var(--orange-600); }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr; } .bento-card { min-height: 0; } }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool-card { display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.tool-card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-raised); }
.tool-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.tool-card-body { display: grid; gap: 6px; }
.tool-card-body strong { display: flex; align-items: center; gap: 6px; font-size: 1.12rem; font-weight: 650; line-height: 1.25; }
.tool-card-body strong .icon { width: .9em; height: .9em; opacity: 0; transition: opacity .2s; color: var(--orange-600); }
.tool-card:hover strong .icon { opacity: 1; }
.tool-card-body span { color: var(--muted); font-size: .95rem; }
.tool-card.for-you { border-color: var(--orange-500); box-shadow: 0 0 0 3px var(--orange-100); }
@media (max-width: 960px) { .tool-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tool-grid { grid-template-columns: 1fr; } }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.related a { display: flex; align-items: flex-start; gap: 12px; height: 100%; padding: 18px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.related a:hover { border-color: var(--deep-700); box-shadow: var(--shadow-card); }
.related .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--orange-600); }
.related a > span { display: grid; gap: 2px; }
.related strong { font-weight: 650; }
.related span span { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }
.tool-group + .tool-group { margin-top: clamp(40px, 5vw, 64px); }
.tool-group > p { color: var(--muted); margin: 6px 0 20px; }

/* Wide quick doors */
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quick-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-feature); background: var(--ivory-100); }
.quick-card > div { display: flex; align-items: flex-start; gap: 16px; }
.quick-card h3 { font-size: 1.4rem; margin-top: 4px; }
.quick-card .bubble { background: #fff; border-radius: 50%; }
.quick-dark { background: var(--deep-900); color: #fff; }
.quick-dark .eyebrow { color: var(--peach-300); }
.quick-dark .bubble { background: var(--deep-700); color: var(--peach-300); }
@media (max-width: 860px) { .quick { grid-template-columns: 1fr; } }

/* Training portfolio */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature { position: relative; display: grid; align-content: end; min-height: 380px; border-radius: var(--r-feature); overflow: hidden; color: #fff; isolation: isolate; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(20 16 12 / .92), rgb(20 16 12 / .2) 60%, transparent); }
.feature:hover img { transform: scale(1.05); }
.feature > div { padding: 22px; display: grid; gap: 6px; }
.feature .eyebrow { color: var(--peach-300); }
.feature strong { font-family: var(--display); font-weight: 500; font-size: 1.4rem; line-height: 1.12; }
.feature span { font-size: .9rem; color: #e5dfd4; }
@media (max-width: 1000px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } .feature { min-height: 300px; } }
.programmes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.programme { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.programme h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 650; letter-spacing: -.005em; line-height: 1.3; }
.programme dl { display: grid; gap: 4px; font-size: .92rem; color: var(--muted); }
.programme dl div { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; }
.programme .icon { width: 1.1em; height: 1.1em; margin-top: .22em; color: var(--orange-600); }
.programme .tag { color: var(--orange-700); }
@media (max-width: 960px) { .programmes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .programmes { grid-template-columns: 1fr; } }
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery figure { break-inside: avoid; margin-bottom: 14px; border-radius: var(--r-lg); overflow: hidden; background: var(--ivory-200); }
.gallery img { width: 100%; }
.quote { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.2; letter-spacing: -.015em; font-style: italic; max-width: 24ch; }

/* Team and clients */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.person { display: grid; gap: 14px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.person img, .person .initials { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: var(--ivory-200); }
.person .initials { display: grid; place-items: center; font-family: var(--display); font-size: 2rem; color: var(--orange-600); background: var(--orange-100); }
.person h3 { font-size: 1.35rem; }
.person .creds { font: 600 .78rem var(--mono); letter-spacing: .04em; color: var(--orange-700); }
.person p { color: var(--muted); font-size: .95rem; }
.person details { font-size: .93rem; color: var(--muted); }
.person summary { color: var(--action); font-weight: 600; }
.person details[open] summary { margin-bottom: 8px; }
@media (max-width: 1000px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }
.logo-wall { padding: clamp(16px, 3vw, 36px); border-radius: var(--r-feature); background: #fff; border: 1px solid var(--line); }
.logo-wall img { margin-inline: auto; max-height: 420px; width: auto; }
.name-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.name-cloud li { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .92rem; font-weight: 500; }

/* Next step band */
.next { position: relative; border-radius: var(--r-feature); background: var(--deep-900); color: #fff; padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: center; overflow: hidden; }
.next::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 80% at 100% 0%, rgb(224 123 46 / .4), transparent 70%); pointer-events: none; }
.next > * { position: relative; }
.next h2 { color: #fff; }
.next p { color: #d9d2c6; }
.next .eyebrow { color: var(--peach-300); }
.next-copy { display: grid; gap: 18px; justify-items: start; }
.next-list { display: grid; }
.next-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid rgb(255 255 255 / .16); font-weight: 500; transition: padding-left .3s var(--ease), color .2s; }
.next-list a:hover { padding-left: 8px; color: var(--peach-300); }
.next-list .icon { color: var(--orange-500); width: 22px; height: 22px; }
@media (max-width: 860px) { .next { grid-template-columns: 1fr; } }

/* Inner page hero */
.page-hero { padding-block: clamp(28px, 5vw, 64px) clamp(28px, 4vw, 52px); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 72px); align-items: end; }
.page-hero-copy { display: grid; gap: 18px; justify-items: start; }
.page-hero figure { border-radius: 90px 22px 90px 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ivory-200); box-shadow: var(--shadow-raised); }
.page-hero figure img { width: 100%; height: 100%; object-fit: cover; }
.page-hero figure.logo-tile { background: #fff; display: grid; place-items: center; padding: 28px; border: 1px solid var(--line); }
.page-hero figure.logo-tile img { object-fit: contain; }
.tool-hero { background: var(--ivory-100); border-bottom: 1px solid var(--line); }
.tool-hero .wrap { grid-template-columns: 1fr; }
.tool-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .88rem; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .icon { width: .75em; height: .75em; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; align-items: start; } }

/* Calculator shell */
.tool-section { padding-block: clamp(28px, 4vw, 48px) clamp(40px, 6vw, 80px); }
.tool-about { background: var(--ivory-100); border-top: 1px solid var(--line); padding-block: clamp(40px, 6vw, 80px); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.calc-inputs { display: grid; gap: 18px; min-width: 0; }
.calc-result { min-width: 0; position: sticky; top: calc(var(--header-h) + 20px); }
.inputs-card { display: grid; gap: 18px; padding: clamp(18px, 2.2vw, 26px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.inputs-card > legend, .inputs-title { float: left; width: 100%; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-700); margin-bottom: 0; }
.inputs-card > legend + * { clear: both; }
.field { display: grid; gap: 7px; }
.field > label, .field > .label { font-size: .95rem; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.field > label small, .field > .label small { font-weight: 500; color: var(--faint); font-size: .82rem; }
.field .hint { font-size: .85rem; color: var(--muted); line-height: 1.45; }
.field .error { font-size: .85rem; color: var(--error); display: none; }
.field.invalid .error { display: block; }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--orange-500); box-shadow: 0 0 0 4px rgb(224 123 46 / .2); }
.field.invalid input, .field.invalid textarea { border-color: var(--error); }
.money { position: relative; }
.money > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); font-weight: 600; pointer-events: none; }
.money input { padding-left: 34px !important; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 1.08rem; }
.unit { position: relative; }
.unit > span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: .9rem; pointer-events: none; }
.unit input { padding-right: 64px !important; font-variant-numeric: tabular-nums; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: var(--ivory-100); border: 1px solid var(--line); }
.seg button { min-height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button[aria-checked="true"], .seg button[aria-selected="true"] { background: var(--deep-900); color: #fff; box-shadow: var(--shadow-card); }
.switch { display: flex; align-items: center; gap: 12px; font-size: .95rem; cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line-strong); position: relative; flex: none; transition: background-color .2s; cursor: pointer; margin: 0; }
.switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .25s var(--ease); }
.switch input:checked { background: var(--action); }
.switch input:checked::after { transform: translateX(18px); }
.more > summary { display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: var(--deep-800); }
.more > summary::after { content: "Show"; font-size: .82rem; color: var(--faint); font-weight: 500; }
.more[open] > summary::after { content: "Hide"; }
.more[open] > summary { margin-bottom: 16px; }
.more > div { display: grid; gap: 16px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--orange-500) var(--fill, 0%), var(--ivory-200) var(--fill, 0%)); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--action); box-shadow: var(--shadow-card); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--action); cursor: grab; }

/* Result panel */
.result { border-radius: var(--r-feature); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-raised); overflow: hidden; }
.result-head { padding: clamp(20px, 2.6vw, 30px) clamp(20px, 2.6vw, 32px); }
.result-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.result-top p:first-child { font-size: .88rem; font-weight: 600; color: var(--orange-700); }
.result-top p + p { font-size: .88rem; color: var(--muted); }
.result-tools { display: flex; gap: 6px; }
.result-tools button, .result-tools a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--deep-800); border: 1px solid var(--line); background: #fff; }
.result-tools button:hover, .result-tools a:hover { border-color: var(--deep-700); }
.result-tools .icon { width: 1.05em; height: 1.05em; }
.result-label { margin-top: 20px; font-size: .92rem; color: var(--muted); }
.result-big { margin-top: 2px; font-size: clamp(2.5rem, 5vw, 3.6rem); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; color: var(--deep-900); font-variant-numeric: lining-nums tabular-nums; }
.result-big small { font-size: .4em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.result-big.is-good { color: var(--success); }
.result-big.is-bad { color: var(--error); }
.result-stats { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.result-stats div { background: var(--ivory-50); padding: 13px 16px; }
.result-stats dt { font-size: .8rem; color: var(--muted); }
.result-stats dd { margin-top: 1px; font-size: 1.2rem; font-weight: 650; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.result-stats dd small { display: block; font-size: .76rem; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.result-empty { margin-top: 20px; padding: 30px 20px; border-radius: var(--r-md); border: 1px dashed var(--line-strong); background: var(--ivory-50); text-align: center; color: var(--muted); }
.result-block { padding: 20px clamp(20px, 2.6vw, 32px); border-top: 1px solid var(--line); display: grid; gap: 14px; }
.result-block > h3 { font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-700); }
.result-explain { background: var(--ivory-100); border-top: 0; font-size: .95rem; }
.result-explain p + p { margin-top: 6px; }
.result-next { background: var(--peach-100); border-top: 0; }
.result-next strong { display: block; font-size: 1.05rem; }
.result-next p { color: var(--muted); font-size: .95rem; }
.result-foot { padding: 18px clamp(20px, 2.6vw, 32px) 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: .93rem; }
.result-foot details > summary { display: flex; justify-content: space-between; font-weight: 600; color: var(--deep-800); }
.result-foot details > summary::after { content: "Show"; font-size: .82rem; font-weight: 500; color: var(--faint); }
.result-foot details[open] > summary::after { content: "Hide"; }
.result-foot ul { margin-top: 10px; padding-left: 18px; list-style: disc; display: grid; gap: 6px; color: var(--muted); }
.result-foot li::marker { color: var(--orange-500); }
.result-foot .disclaimer { font-size: .82rem; color: var(--faint); }
@media (prefers-reduced-motion: no-preference) { .result-anim { animation: rise .45s var(--ease) both; } }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } .calc-result { position: static; } }

/* Bars and tables inside results */
.splitbar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--ivory-200); }
.splitbar i { display: block; height: 100%; transition: width .7s var(--ease); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .84rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; }
.c-1 { background: var(--deep-800); } .c-2 { background: var(--orange-500); } .c-3 { background: var(--peach-300); } .c-4 { background: #9aa39a; } .c-5 { background: #d8cfc0; }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 150px) 1fr auto; gap: 12px; align-items: center; font-size: .9rem; }
.bar-row span:first-child { color: var(--muted); }
.bar-row b { font-weight: 650; font-variant-numeric: tabular-nums; }
.bar { height: 10px; border-radius: 999px; background: var(--ivory-200); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: var(--orange-500); transition: width .7s var(--ease); }
.bar i.is-dark { background: var(--deep-800); }
@media (max-width: 520px) { .bar-row { grid-template-columns: 1fr auto; } .bar-row .bar { grid-column: 1 / -1; order: 3; } }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.table th { text-align: left; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 0 0 8px; }
.table td { padding: 8px 0; border-top: 1px solid var(--line); }
.table th:not(:first-child), .table td:not(:first-child) { text-align: right; }
.table tr.is-off td { color: var(--faint); }
.table tfoot td { font-weight: 700; border-top: 2px solid var(--line-strong); }
.compare { display: grid; gap: 10px; }
.compare-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; font-size: .92rem; }
.compare-row b { font-variant-numeric: tabular-nums; }
.verdict { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); font-weight: 600; font-size: .98rem; }
.verdict.is-good { background: var(--success-bg); color: #145433; }
.verdict.is-bad { background: var(--warning-bg); color: #6b3b00; }
.verdict.is-same { background: var(--ivory-100); color: var(--muted); }

/* Timeline of sittings */
.sittings { display: grid; gap: 8px; }
.sitting { display: grid; grid-template-columns: minmax(0, 150px) 1fr; gap: 12px; align-items: center; padding: 10px 14px; border-radius: var(--r-md); background: var(--ivory-50); border: 1px solid var(--line); font-size: .93rem; }
.sitting b { font-weight: 650; }
.sitting .dots { display: flex; gap: 6px; flex-wrap: wrap; }
.sitting .dots i { width: 26px; height: 26px; border-radius: 8px; background: var(--orange-500); display: grid; place-items: center; }
.sitting.is-last { background: var(--deep-900); border-color: var(--deep-900); color: #fff; }
.sitting.is-new .dots i { background: var(--deep-700); }

/* Quiz */
.quiz { max-width: 760px; margin-inline: auto; }
.quiz-card { padding: clamp(22px, 3.4vw, 44px); border-radius: var(--r-feature); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-raised); display: grid; gap: 22px; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.progress-bar { height: 6px; border-radius: 6px; background: var(--ivory-200); overflow: hidden; }
.progress-bar i { display: block; height: 100%; background: var(--orange-500); border-radius: 6px; transition: width .5s var(--ease); }
.quiz-q { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.14; font-weight: 500; letter-spacing: -.015em; }
.quiz-hint { color: var(--muted); font-size: .96rem; margin-top: -10px; }
.options { display: grid; gap: 10px; }
.options button { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 12px 20px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--ivory-50); text-align: left; font-weight: 550; transition: border-color .15s, background-color .15s, transform .25s var(--ease); }
.options button:hover { border-color: var(--action); background: var(--peach-100); transform: translateX(4px); }
.options button .icon { color: var(--orange-600); }
.options button[aria-pressed="true"] { border-color: var(--action); background: var(--orange-100); }
.quiz-back { justify-self: start; font-size: .92rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.quiz-back:hover { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .quiz-step { animation: rise .4s var(--ease) both; } }
.score-ring { position: relative; width: 190px; height: 190px; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 9; }
.score-ring .track { stroke: var(--ivory-200); }
.score-ring .value { stroke: var(--orange-500); stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); }
.score-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score-ring b { font-size: 3rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.score-ring span { font-size: .82rem; color: var(--muted); }
.result-hero { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 36px); align-items: center; }
@media (max-width: 600px) { .result-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.recs { display: grid; gap: 10px; }
.rec { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); transition: border-color .2s, box-shadow .2s; }
a.rec:hover { border-color: var(--deep-700); box-shadow: var(--shadow-card); }
.rec > .icon { width: 24px; height: 24px; color: var(--orange-600); }
.rec strong { display: block; font-weight: 650; }
.rec span { color: var(--muted); font-size: .92rem; }
.rec.is-top { border-color: var(--orange-500); box-shadow: 0 0 0 3px var(--orange-100); }

/* Phases (reporting timeline) */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; }
.phase { padding: 20px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.phase .tag { color: var(--orange-700); }
.phase strong { font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.12; }
.phase span { color: var(--muted); font-size: .92rem; }
.phase.is-now { background: var(--peach-100); border-color: var(--peach-300); }
.phase.is-yours { border-color: var(--action); box-shadow: 0 0 0 3px var(--orange-100); }
@media (max-width: 960px) { .phases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .phases { grid-template-columns: 1fr; } }
.countdown { display: grid; grid-template-columns: repeat(3, auto); gap: 12px; justify-content: start; }
.countdown div { padding: 14px 20px; border-radius: var(--r-md); background: var(--deep-900); color: #fff; text-align: center; min-width: 96px; }
.countdown b { display: block; font-size: 2.2rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .78rem; color: #d9d2c6; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; text-align: left; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--white); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.choice:hover { border-color: var(--deep-700); }
.choice strong { display: block; font-weight: 650; }
.choice span:not(.bubble) { color: var(--muted); font-size: .92rem; }
.choice[aria-checked="true"], .choice[aria-pressed="true"] { border-color: var(--action); background: var(--peach-100); box-shadow: 0 0 0 3px var(--orange-100); }
.choice[aria-checked="true"] .bubble, .choice[aria-pressed="true"] .bubble { background: var(--orange-500); color: #fff; }
@media (max-width: 640px) { .choice-grid { grid-template-columns: 1fr; } }

/* Brief (training builder) */
.brief { display: grid; gap: 0; }
.brief-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.brief-row:first-child { border-top: 0; }
.brief-row dt { color: var(--muted); }
.brief-row dd { font-weight: 550; }

/* Shared content blocks */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.split figure { border-radius: 110px 26px 110px 26px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--ivory-200); box-shadow: var(--shadow-raised); }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: grid; gap: 18px; justify-items: start; }
.split-copy p:not(.eyebrow) { color: var(--muted); max-width: 58ch; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split figure { border-radius: 64px 18px 64px 18px; } }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; transition: transform .25s var(--ease), box-shadow .25s; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-raised); }
.card p { color: var(--muted); }
.card > .icon { width: 28px; height: 28px; color: var(--orange-600); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.values li { padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.values strong { font-family: var(--display); font-weight: 500; font-size: 1.5rem; line-height: 1.1; }
.values .tag { color: var(--orange-700); }
.values span:not(.tag) { color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .grid-3 { grid-template-columns: 1fr; } .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 22px 4px; }
.accordion summary h3 { transition: color .2s; }
.accordion summary:hover h3 { color: var(--action); }
.accordion summary .tag { display: block; color: var(--orange-700); margin-bottom: 6px; }
.accordion summary .icon { width: 22px; height: 22px; transition: transform .35s var(--ease); color: var(--orange-600); }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion .body { padding: 0 4px 28px; display: grid; gap: 18px; max-width: 880px; color: var(--muted); }
.outline { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; counter-reset: o; }
.outline li { counter-increment: o; display: grid; grid-template-columns: 2.2em 1fr; color: var(--ink); }
.outline li::before { content: counter(o, decimal-leading-zero); font: 600 .8rem/2 var(--mono); color: var(--orange-700); }
@media (max-width: 700px) { .outline { grid-template-columns: 1fr; } }
.ticks { display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.ticks .icon { color: var(--orange-600); margin-top: .22em; }
.ticks.two { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.offer li { padding: 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.offer strong { font-weight: 650; }
.offer span { color: var(--muted); font-size: .95rem; }
.side { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.side-nav { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 2px; }
.side-nav a { padding: 10px 14px; border-radius: 12px; font-weight: 550; color: var(--muted); transition: color .2s, background-color .2s; }
.side-nav a:hover { color: var(--ink); }
.side-nav a.active { color: var(--ink); background: var(--white); box-shadow: inset 3px 0 0 var(--orange-500); }
.service { padding-block: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); display: grid; gap: 20px; }
.service:first-child { border-top: 0; padding-top: 0; }
.service > p { color: var(--muted); max-width: 64ch; }
@media (max-width: 900px) { .side { grid-template-columns: 1fr; } .side-nav { position: static; display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; } .side-nav a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; background: #fff; } .side-nav a.active { box-shadow: none; border-color: var(--orange-500); } .offer, .ticks.two { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.steps li::before { content: counter(s); width: 42px; height: 42px; border-radius: 50%; background: var(--orange-100); color: var(--orange-700); display: grid; place-items: center; font-weight: 700; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); }
.bank { display: grid; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.bank div { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px clamp(18px, 2.4vw, 28px); border-bottom: 1px solid var(--line); }
.bank div:last-child { border-bottom: 0; }
.bank dt { font-size: .85rem; color: var(--muted); }
.bank dd { font-weight: 650; font-size: 1.08rem; grid-column: 1; }
.bank dd.num { font-size: 1.5rem; letter-spacing: .02em; }
.bank button { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--r-md); background: var(--success-bg); color: #145433; font-weight: 550; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--white); cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--action); margin-top: 3px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.prose { max-width: 720px; display: grid; gap: 14px; color: var(--muted); }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--ink); margin-top: 20px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 700; color: var(--ink); margin-top: 10px; letter-spacing: 0; }
.prose ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.prose ol { display: grid; gap: 8px; padding-left: 20px; list-style: decimal; }
.prose li::marker { color: var(--orange-500); }
.prose strong { color: var(--ink); font-weight: 650; }
.contact-list { display: grid; }
.contact-list a { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 550; transition: color .2s, padding-left .3s var(--ease); }
.contact-list a:hover { color: var(--action); padding-left: 6px; }
.contact-list .icon { width: 22px; height: 22px; color: var(--orange-600); }

/* Study planner (route tools) */
.levels { display: grid; gap: 26px; }
.level-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.level-head h3 { font-size: 1.4rem; }
.level-head span { font-size: .85rem; color: var(--faint); font-weight: 600; }
.level-note { font-size: .9rem; color: var(--muted); margin: 14px 0 10px; }
.paper-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.paper { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; text-align: left; min-height: 62px; padding: 10px 14px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--white); font-weight: 550; font-size: .95rem; line-height: 1.25; transition: background-color .2s, border-color .2s, transform .2s, opacity .2s; }
.paper:hover { border-color: var(--deep-700); }
.paper:active { transform: scale(.98); }
.paper .box { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.paper .box .icon { width: 14px; height: 14px; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .3s var(--ease); color: #fff; }
.paper small { display: block; font: 600 .74rem var(--mono); color: var(--orange-700); margin-bottom: 1px; }
.paper[aria-pressed="true"] { background: var(--success-bg); border-color: var(--success); }
.paper[aria-pressed="true"] .box { background: var(--success); border-color: var(--success); }
.paper[aria-pressed="true"] .box .icon { opacity: 1; transform: none; }
.paper[disabled] { opacity: .45; pointer-events: none; border-style: dashed; }

/* Search dialog */
dialog { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; }
dialog::backdrop { background: rgb(27 23 20 / .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog[open] { animation: rise .3s var(--ease); }
dialog.top { margin-top: 12vh; }
.palette { width: min(640px, calc(100vw - 28px)); border-radius: var(--r-feature); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-float); overflow: hidden; }
.palette-input { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 4px 20px; border-bottom: 1px solid var(--line); }
.palette-input input { border: 0; background: none; min-height: 60px; font-size: 1.1rem; outline: 0; width: 100%; }
.palette-input kbd { font: 600 .74rem var(--mono); padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--faint); }
.palette-list { max-height: min(430px, 56dvh); overflow-y: auto; padding: 8px; }
.palette-list a { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-md); }
.palette-list a.active, .palette-list a:hover { background: var(--ivory-100); }
.palette-list small { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.palette-empty { padding: 26px 20px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--deep-900); color: #cfc8bc; margin-top: var(--section); padding-block: clamp(44px, 6vw, 80px) 28px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name span { color: #9c958a; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px 28px; }
.footer-brand { display: grid; gap: 16px; justify-items: start; font-size: .96rem; }
.footer-brand address a:hover, .site-footer nav a:hover { color: var(--peach-300); }
.site-footer nav { display: grid; gap: 9px; align-content: start; font-size: .95rem; }
.site-footer h2 { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9c958a; margin-bottom: 6px; }
.footer-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .86rem; color: #9c958a; }
.socials { display: flex; gap: 6px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .2); color: #fff; transition: background-color .2s, border-color .2s; }
.socials a:hover { background: var(--orange-500); border-color: var(--orange-500); }
.socials .icon { width: 19px; height: 19px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px; background: #1f9d55; color: #fff; font-weight: 600; box-shadow: var(--shadow-float); transition: transform .25s var(--ease), background-color .2s; }
.whatsapp:hover { transform: translateY(-3px); background: #178446; }
.whatsapp .icon { width: 24px; height: 24px; }
@media (max-width: 640px) { .whatsapp { padding: 0; width: 54px; justify-content: center; } .whatsapp span { display: none; } }

/* Reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .no-print, .site-header, .mobile-menu, .whatsapp, .result-tools { display: none !important; }
  body { background: #fff; }
  .calc { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .result { box-shadow: none; }
  .tool-hero { background: #fff; }
}

/* Patches */
.field > .seg { justify-self: start; }
.choice strong, .rec strong { color: var(--ink); }
.programme ul { display: grid; gap: 4px; font-size: .92rem; color: var(--muted); }
.programme ul li { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; }
.phase.is-now .tag::after { content: " \00b7  now"; }
.inline-link { cursor: pointer; }
.quick-dark h3 { color: #fff; }
.card h3 + .ticks, .card .eyebrow + h3 { margin-top: 0; }
.hero-visual { padding-bottom: 0; display: grid; }
.mini { position: relative; left: auto; bottom: auto; margin: -84px 0 0 clamp(-28px, -2vw, -12px); width: min(380px, 92%); }
@media (max-width: 960px) { .mini { margin-left: 12px; } }
.section-muted .quick-card:not(.quick-dark) { background: var(--white); border: 1px solid var(--line); }
.logo-wall img { max-height: 320px; }
.clients-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.clients-split .name-cloud { align-content: center; }
@media (max-width: 860px) { .clients-split { grid-template-columns: 1fr; } }

/* ============================================================ Signature layer
   The editorial ledger: ruled paper, chapter numbers, copper rings, live figures. */
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .42 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main, .site-footer, .mobile-menu, .whatsapp { position: relative; z-index: 1; }
.whatsapp { position: fixed; z-index: 40; }
.mobile-menu { position: fixed; z-index: 45; }

/* Ruled paper behind heroes */
.hero, .page-hero { position: relative; isolation: isolate; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: repeating-linear-gradient(to bottom, transparent 0 39px, rgb(40 30 20 / .06) 39px 40px); -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / .9), transparent 92%); mask-image: linear-gradient(to bottom, rgb(0 0 0 / .9), transparent 92%); }
.hero::after { content: ""; position: absolute; z-index: -1; right: -12vw; top: -28vh; width: 62vw; height: 62vw; max-width: 980px; max-height: 980px; border-radius: 50%; background: radial-gradient(closest-side, rgb(224 123 46 / .22), rgb(224 123 46 / .06) 55%, transparent 72%); pointer-events: none; }
.rings { position: absolute; z-index: -1; right: -6vw; top: -10vh; width: min(58vw, 760px); aspect-ratio: 1; pointer-events: none; color: var(--orange-500); opacity: .55; }
.rings circle { fill: none; stroke: currentColor; stroke-width: .6; }
.rings circle:nth-child(2) { stroke-dasharray: 2 6; }
.rings circle:nth-child(4) { stroke-dasharray: 60 24; opacity: .6; }
@media (prefers-reduced-motion: no-preference) {
  .rings { animation: spin 140s linear infinite; }
  .rings circle:nth-child(3) { transform-origin: 50% 50%; animation: spin 90s linear infinite reverse; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 960px) { .rings { width: 90vw; right: -40vw; top: 36%; opacity: .35; } }

/* Headline: bigger, with an italic copper accent */
h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.03em; font-weight: 450; }
h1 .accent, h2 .accent, .statement .accent { font-style: italic; font-weight: 400; color: var(--orange-600); }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -.022em; font-weight: 450; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--orange-500); }
.center .eyebrow::before, .feature .eyebrow::before, .quick-card .eyebrow::before, .card .eyebrow::before, .result-hero .eyebrow::before, .quiz-card .eyebrow::before { display: none; }
.head .eyebrow[data-n]::before { content: "N\00b0 " attr(data-n); width: auto; height: auto; background: none; font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--orange-600); padding-right: 12px; border-right: 1px solid var(--line-strong); display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: riseblur .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .page-hero-copy > * { animation: riseblur .8s var(--ease) both; }
  .page-hero-copy > :nth-child(2) { animation-delay: .06s; }
  .page-hero-copy > :nth-child(3) { animation-delay: .12s; }
  .page-hero-copy > :nth-child(4) { animation-delay: .18s; }
  .page-hero figure { animation: riseblur 1s .1s var(--ease) both; }
}
@keyframes riseblur { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Floating header once scrolled */
.site-header { transition: border-color .3s, box-shadow .3s, background-color .3s, padding .3s; }
.site-header.scrolled { background: transparent; border-color: transparent; box-shadow: none; padding: 10px 12px 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.scrolled .header-row { background: color-mix(in srgb, var(--ivory-50) 90%, transparent); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border: 1px solid var(--line); border-radius: 999px; height: 64px; padding-inline: 10px; box-shadow: var(--shadow-float); max-width: calc(var(--wrap) + 20px); }
.site-header.scrolled .brand img { width: 38px; height: 38px; }
@media (max-width: 1100px) { .site-header.scrolled { padding: 8px 8px 0; } }

/* The live ledger (home hero) */
.ledger { position: relative; width: min(440px, 100%); margin: -72px 0 0 clamp(-32px, -2.4vw, -12px); border-radius: var(--r-feature); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-float); overflow: hidden; }
.ledger-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 12px; border-bottom: 1px solid var(--line); }
.ledger-head strong { font-family: var(--display); font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; }
.ledger-live { display: inline-flex; align-items: center; gap: 7px; font: 600 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--success); }
.ledger-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgb(31 122 74 / .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgb(31 122 74 / 0); } 100% { box-shadow: 0 0 0 0 rgb(31 122 74 / 0); } }
.ledger-input { display: grid; gap: 6px; padding: 14px 20px; background: var(--peach-100); border-bottom: 1px solid var(--line); }
.ledger-input label { font-size: .82rem; font-weight: 600; color: var(--orange-700); }
.ledger-input .money input { width: 100%; min-height: 48px; border-radius: 10px; font-size: 1.15rem; border: 1px solid var(--line-strong); background: #fff; padding: 10px 12px 10px 34px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ledger-input .money input:focus { outline: 0; border-color: var(--orange-500); box-shadow: 0 0 0 4px rgb(224 123 46 / .2); }
.ledger-rows { display: grid; }
.ledger-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 13px 20px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); transition: background-color .2s, color .2s; }
.ledger-row:first-child { border-top: 0; }
a.ledger-row:hover { background: var(--ivory-50); color: var(--ink); }
.ledger-row .icon { width: 18px; height: 18px; color: var(--orange-600); }
.ledger-row b { font: 650 1.05rem var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); letter-spacing: -.01em; }
.ledger-row b.is-tax { color: var(--action); }
.ledger-foot { padding: 12px 20px 14px; font-size: .8rem; color: var(--faint); border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: no-preference) { .ledger { animation: rise .9s .5s var(--ease) both; } }
@media (max-width: 960px) { .ledger { margin: -40px 0 0 12px; width: min(440px, calc(100% - 12px)); } }

/* Figures ticker */
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--white); -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; }
.ticker ul { display: flex; flex: none; }
.ticker li { display: inline-flex; align-items: center; gap: 12px; padding: 14px 28px; font: 500 .9rem var(--sans); color: var(--muted); white-space: nowrap; border-right: 1px solid var(--line); }
.ticker li b { font: 600 .9rem var(--mono); color: var(--ink); letter-spacing: .01em; }
.ticker li .icon { width: 16px; height: 16px; color: var(--orange-600); }
@media (prefers-reduced-motion: no-preference) { .ticker-track { animation: ticker 48s linear infinite; } .ticker:hover .ticker-track { animation-play-state: paused; } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Client marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; }
.marquee ul { display: flex; flex: none; gap: 12px; padding-right: 12px; }
.marquee li { padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-family: var(--display); font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; color: var(--deep-800); }
@media (prefers-reduced-motion: no-preference) { .marquee-track { animation: ticker 60s linear infinite; } .marquee:hover .marquee-track { animation-play-state: paused; } }

/* Pointer-tracking tilt and spotlight on cards */
[data-tilt] { position: relative; transform-style: preserve-3d; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s, background-color .3s, color .3s; }
[data-tilt].tilting { transition: box-shadow .35s; transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-3px); }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgb(224 123 46 / .16), transparent 60%); transition: opacity .35s; z-index: 1; }
[data-tilt].tilting::after { opacity: 1; }
.bento-dark[data-tilt]::after, .door[aria-selected="true"][data-tilt]::after, .quick-dark[data-tilt]::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / .12), transparent 60%); }
.feature[data-tilt]::after { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / .14), transparent 60%); z-index: 0; }

/* Result figures roll into place */
.result-big { transition: color .3s; }
.result-big.is-rolling { color: var(--orange-600); }

/* Tool hero glow */
.tool-hero { overflow: clip; }
.tool-hero::after { content: ""; position: absolute; z-index: -1; right: -4vw; bottom: -30%; width: 46vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgb(224 123 46 / .16), transparent 70%); pointer-events: none; }

/* Editorial footer wordmark */
.footer-mark { margin-top: 48px; overflow: hidden; line-height: 0; }
.footer-mark span { display: inline-block; font-family: var(--display); font-weight: 500; font-size: clamp(4.6rem, 15.5vw, 14rem); line-height: .78; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .2); white-space: nowrap; transform: translateY(16%); }
.site-footer { padding-bottom: 0; }
.footer-base { padding-bottom: 0; }

/* Stats: huge figures with a copper rule */
.stat { position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(to right, var(--orange-500), transparent); }
.stat b { font-weight: 450; }

/* Doors: numbered */
.doors { counter-reset: door; }
.door { counter-increment: door; }
.door::before { content: "0" counter(door); position: absolute; right: 22px; top: 18px; font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--faint); }
.door[aria-selected="true"]::before { color: var(--peach-300); }

@media (max-width: 600px) { h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); } .ticker li { padding: 12px 18px; } }
.door, .bento-card, .feature, .quick-card, .tool-card, .choice { position: relative; }

/* ================================================================ Hero, second pass
   Depth: drifting copper blobs, pointer parallax, Ken Burns on the photo, a rotating stack of
   programme photos, a hand-drawn underline, word-by-word headline, scroll-driven lift. */
.hero { overflow: clip; }
.blob { position: absolute; z-index: -3; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .75; }
.blob-1 { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; right: -8vw; top: -18vh; background: radial-gradient(circle, rgb(248 213 182 / .9), rgb(224 123 46 / .35) 55%, transparent 72%); }
.blob-2 { width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; left: -12vw; bottom: -20vh; background: radial-gradient(circle, rgb(254 245 236 / 1), rgb(248 213 182 / .5) 50%, transparent 72%); }
@media (prefers-reduced-motion: no-preference) {
  .blob-1 { animation: drift-a 22s ease-in-out infinite alternate; }
  .blob-2 { animation: drift-b 28s ease-in-out infinite alternate; }
}
@keyframes drift-a { to { transform: translate(-8%, 10%) scale(1.12); } }
@keyframes drift-b { to { transform: translate(12%, -8%) scale(1.08); } }

/* Pointer parallax: JS writes --px and --py in the range -1..1 */
.hero-copy, .hero-visual, .rings, .blob-1 { --px: 0; --py: 0; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-visual .hero-photo { transform: translate(calc(var(--px) * -10px), calc(var(--py) * -8px)); transition: transform .9s var(--ease); }
  .hero-visual .hero-stack { transform: translate(calc(var(--px) * 18px), calc(var(--py) * 14px)); transition: transform 1.1s var(--ease); }
  .hero-visual .ledger { transform: translate(calc(var(--px) * 12px), calc(var(--py) * 10px)); transition: transform 1s var(--ease); }
  .rings { translate: calc(var(--px) * 24px) calc(var(--py) * 18px); transition: translate 1.4s var(--ease); }
}

/* The main photo breathes */
.hero-photo { position: relative; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(27 23 20 / .28), transparent 45%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .hero-photo img { animation: burns 26s ease-in-out infinite alternate; transform-origin: 60% 40%; } }
@keyframes burns { from { transform: scale(1); } to { transform: scale(1.08); } }

/* Rotating stack of programme photos */
.hero-stack { position: absolute; display: block; }
.hero-stack img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease, transform 6s linear; transform: scale(1.04); }
.hero-stack img.is-on { opacity: 1; transform: scale(1); }
.stack-label { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgb(27 23 20 / .72); color: #fff; font: 600 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .4s; }
.stack-label.is-swapping { opacity: 0; }

/* Hand-drawn copper underline under the accent */
.underlined { position: relative; white-space: nowrap; }
.underline { position: absolute; left: -2%; bottom: -.06em; width: 104%; height: .16em; overflow: visible; pointer-events: none; }
.underline path { fill: none; stroke: var(--orange-500); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; opacity: .9; }
@media (prefers-reduced-motion: no-preference) { .underline path { animation: draw 1.1s 1.05s var(--ease) forwards; } }
@media (prefers-reduced-motion: reduce) { .underline path { stroke-dashoffset: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Word-by-word headline */
.hero-copy h1 { animation: none; }
.js .hero-copy h1[data-words] .w { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy h1[data-words] .w { animation: wordin .8s var(--ease) both; animation-delay: calc(.08s + var(--i) * .07s); }
}
@keyframes wordin { from { opacity: 0; transform: translateY(.45em) rotate(1.5deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Scroll-driven lift (progressive) */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-visual { animation: hero-lift linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
    .hero-copy { animation: hero-fade linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    .hero-copy > * { animation: riseblur .9s var(--ease) both; }
  }
}
@keyframes hero-lift { to { transform: translateY(-60px) scale(.97); opacity: .35; } }
@keyframes hero-fade { to { transform: translateY(-30px); opacity: 0; } }

/* Ledger: rows light up in turn */
.ledger-row { position: relative; }
.ledger-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange-500); transform: scaleY(0); transition: transform .4s var(--ease); }
.ledger-row.is-lit { background: var(--peach-100); }
.ledger-row.is-lit::before { transform: scaleY(1); }

/* Numbers in hero points count up */
.hero-points b { font-weight: 650; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .hero-visual .hero-photo, .hero-visual .hero-stack, .hero-visual .ledger, .rings { transform: none; translate: 0; } }
.hero h1 { font-size: clamp(2.7rem, 5.1vw, 4.7rem); }
@media (max-width: 600px) { .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); } .underlined { white-space: normal; } .underline { display: none; } }
@media (max-width: 960px) { .hero-stack { display: none; } }

/* ================================================================ Hero, third pass */
.hero h1 { min-height: 2.95em; align-content: start; }
.hero-copy h1.is-leaving .w { animation: wordout .45s var(--ease) both; animation-delay: calc(var(--i) * .035s); }
@keyframes wordout { to { opacity: 0; transform: translateY(-.35em) rotate(-1deg); filter: blur(6px); } }
.rotor-dots { display: flex; gap: 8px; margin-top: -8px; }
.rotor-dots i { width: 28px; height: 4px; border-radius: 4px; background: var(--line-strong); overflow: hidden; position: relative; }
.rotor-dots i::after { content: ""; position: absolute; inset: 0; background: var(--orange-500); transform: scaleX(0); transform-origin: left; }
.rotor-dots i.is-on::after { animation: fill-dot 5.2s linear forwards; }
@keyframes fill-dot { to { transform: scaleX(1); } }
.hero-glow { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(520px circle at var(--gx, 70%) var(--gy, 30%), rgb(224 123 46 / .13), transparent 60%); transition: background-position .2s; }
.float-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgb(255 255 255 / .92); border: 1px solid var(--line); box-shadow: var(--shadow-raised); font-size: .82rem; font-weight: 600; color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); white-space: nowrap; }
.float-chip .icon { width: 16px; height: 16px; color: var(--orange-600); }
.chip-a { left: -6%; top: 9%; }
.chip-b { right: 2%; top: 56%; }
@media (prefers-reduced-motion: no-preference) {
  .chip-a { animation: rise .8s .9s var(--ease) both, bob 7s 1.7s ease-in-out infinite alternate; }
  .chip-b { animation: rise .8s 1.15s var(--ease) both, bob 6s 1.9s ease-in-out infinite alternate-reverse; }
}
@keyframes bob { to { transform: translateY(-9px); } }
@media (max-width: 960px) { .float-chip { display: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; font: 600 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); z-index: 2; }
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(to bottom, var(--orange-500), transparent); display: block; }
@media (prefers-reduced-motion: no-preference) { .scroll-cue i { animation: cue 1.8s ease-in-out infinite; transform-origin: top; } }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(10px); opacity: 0; } }
@media (max-width: 960px) { .scroll-cue { display: none; } }
.hero-grid { padding-bottom: clamp(56px, 7vw, 96px); }
.btn-action, .btn-dark { position: relative; overflow: hidden; }
.btn-action::after, .btn-dark::after { content: ""; position: absolute; top: -40%; bottom: -40%; width: 36%; left: -50%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgb(255 255 255 / .28), transparent); transition: left .7s var(--ease); pointer-events: none; }
.btn-action:hover::after, .btn-dark:hover::after { left: 120%; }
.btn-action:hover { box-shadow: 0 14px 30px -10px rgb(179 84 15 / .8); transform: translateY(-1px); }

/* ================================================================ Premium result panels */
.result { position: relative; background: linear-gradient(180deg, #fff, var(--ivory-50) 160px, #fff 160px); }
.result::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 2; background: linear-gradient(90deg, var(--orange-700), var(--orange-500), var(--peach-300), var(--orange-500), var(--orange-700)); background-size: 220% 100%; }
@media (prefers-reduced-motion: no-preference) { .result::before { animation: ribbon 7s linear infinite; } }
@keyframes ribbon { to { background-position: 220% 0; } }
.result-head { background: radial-gradient(120% 90% at 100% 0%, var(--peach-100), transparent 55%); }
.result-big { font-size: clamp(2.8rem, 5.4vw, 4rem); letter-spacing: -.04em; background: linear-gradient(90deg, var(--deep-900), var(--deep-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-big.is-good { background: linear-gradient(90deg, #1f7a4a, #2c9a60); -webkit-background-clip: text; background-clip: text; }
.result-big.is-bad { background: linear-gradient(90deg, #b42318, #d6473a); -webkit-background-clip: text; background-clip: text; }
.result-big.is-rolling { background: linear-gradient(90deg, var(--orange-600), var(--orange-500)); -webkit-background-clip: text; background-clip: text; }
.result-big small { -webkit-text-fill-color: var(--muted); }
.result-stats div { position: relative; transition: background-color .3s; }
.result-stats div:hover { background: var(--white); }
.result-stats dd { transition: color .3s; }
.result-stats dd.is-rolling { color: var(--orange-600); }
.result-block > h3::after { content: ""; display: block; width: 28px; height: 1.5px; margin-top: 8px; background: var(--orange-500); }
@media (prefers-reduced-motion: no-preference) {
  .result.is-fresh > * { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
  .quiz-card.is-fresh > * { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms); }
  .verdict { animation: rise .5s .35s var(--ease) both; }
  .sitting { animation: rise .5s var(--ease) both; }
  .sitting:nth-child(1) { animation-delay: .05s; } .sitting:nth-child(2) { animation-delay: .12s; } .sitting:nth-child(3) { animation-delay: .19s; } .sitting:nth-child(4) { animation-delay: .26s; } .sitting:nth-child(5) { animation-delay: .33s; } .sitting:nth-child(6) { animation-delay: .4s; } .sitting:nth-child(n+7) { animation-delay: .47s; }
  .sitting .dots i { animation: pop .45s var(--ease) both; }
  .sitting .dots i:nth-child(2) { animation-delay: .08s; } .sitting .dots i:nth-child(3) { animation-delay: .16s; } .sitting .dots i:nth-child(4) { animation-delay: .24s; }
  .rec { animation: rise .6s var(--ease) both; }
  .rec:nth-child(2) { animation-delay: .1s; } .rec:nth-child(3) { animation-delay: .2s; } .rec:nth-child(4) { animation-delay: .3s; }
  .table tbody tr { animation: rise .5s var(--ease) both; }
  .table tbody tr:nth-child(2) { animation-delay: .05s; } .table tbody tr:nth-child(3) { animation-delay: .1s; } .table tbody tr:nth-child(4) { animation-delay: .15s; } .table tbody tr:nth-child(5) { animation-delay: .2s; } .table tbody tr:nth-child(6) { animation-delay: .25s; }
}
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.splitbar i, .bar i, .progress-bar i { transition: width .9s var(--ease); }
.score-ring .value { transition: stroke-dashoffset 1.3s var(--ease); }
.sitting .dots i { position: relative; }
.sitting .dots i::after { content: ""; position: absolute; inset: 7px; border-radius: 3px; background: rgb(255 255 255 / .55); }
.sitting.is-last { background: linear-gradient(135deg, var(--deep-900), var(--deep-700)); }
.sitting.is-last b::after { content: " · finish"; font-weight: 500; color: var(--peach-300); }

/* Donut */
@property --t { syntax: "<number>"; inherits: false; initial-value: 0; }
.donut-wrap { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.donut { --t: 0; width: 138px; height: 138px; border-radius: 50%; display: grid; place-items: center; transition: --t 1.2s var(--ease); position: relative; }
.donut.is-on { --t: 1; }
.donut::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(40 30 20 / .06); }
.donut > div { width: 92px; height: 92px; border-radius: 50%; background: var(--white); display: grid; place-content: center; text-align: center; box-shadow: var(--shadow-card); }
.donut b { font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.donut span { font-size: .72rem; color: var(--muted); }
.legend-col { display: grid; gap: 8px; }
.legend-col li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.legend-col b { font-variant-numeric: tabular-nums; color: var(--ink); }
@media (max-width: 480px) { .donut-wrap { grid-template-columns: 1fr; justify-items: center; } }

/* Inputs feel alive */
.field input:focus, .field select:focus, .field textarea:focus { transform: translateY(-1px); }
.field input, .field select, .field textarea { transition: border-color .15s, box-shadow .15s, transform .15s; }
.seg button[aria-checked="true"] { animation: pop .35s var(--ease); }
.paper[aria-pressed="true"] .box { animation: pop .4s var(--ease); }
.chip[aria-pressed="true"] { animation: pop .3s var(--ease); }
.options button:active { transform: translateX(4px) scale(.99); }

/* Underline that survives wrapping; chips clear of the ledger */
.hero-copy { min-width: 0; }
.underlined { white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-image: linear-gradient(var(--orange-500), var(--orange-500)); background-repeat: no-repeat; background-position: 0 94%; background-size: 0% .07em; }
@media (prefers-reduced-motion: no-preference) { .underlined { animation: draw-line .9s 1s var(--ease) forwards; } }
@media (prefers-reduced-motion: reduce) { .underlined { background-size: 100% .07em; } }
@keyframes draw-line { to { background-size: 100% .07em; } }
.underline { display: none; }
.chip-b { right: -3%; top: 38%; }

/* ================================================================ Every page, same energy */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .28s ease both; }
  ::view-transition-new(root) { animation: vt-in .42s var(--ease) both; }
  main { animation: page-in .7s var(--ease) both; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes page-in { from { opacity: 0; } }

/* Inner heroes get the paper, the glow, the rings and the blobs */
.page-hero { overflow: clip; }
.page-hero .hero-glow, .page-hero .blob, .page-hero .rings { position: absolute; }
.page-hero .rings { right: -14vw; top: -30vh; width: min(52vw, 640px); opacity: .4; }
.page-hero .blob-1 { right: -10vw; top: -30vh; width: 40vw; height: 40vw; max-width: 600px; max-height: 600px; }
.page-hero .blob-2 { display: none; }
.page-hero figure { position: relative; z-index: 1; }
.tool-hero .rings { right: -18vw; top: -40vh; opacity: .3; }
.tool-watermark { position: absolute; right: -2vw; bottom: -18%; width: clamp(220px, 28vw, 420px); aspect-ratio: 1; color: var(--orange-500); opacity: .07; pointer-events: none; z-index: 0; }
.tool-watermark .icon { width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) { .tool-watermark { animation: rise 1.4s .2s var(--ease) both, bob 9s 1.6s ease-in-out infinite alternate; } }
@media (max-width: 860px) { .tool-watermark { width: 200px; right: -40px; bottom: -40px; } .page-hero .rings { width: 80vw; right: -45vw; top: 20%; } }

/* Headlines on inner pages arrive word by word; section headings do it on scroll */
.js .page-hero h1 .w { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .page-hero h1 .w { animation: wordin .8s var(--ease) both; animation-delay: calc(.05s + var(--i) * .06s); }
  .js h2[data-split-ready] .w { display: inline-block; opacity: 0; transform: translateY(.4em); filter: blur(6px); }
  .js h2[data-split-ready].in .w { animation: wordin .7s var(--ease) both; animation-delay: calc(var(--i) * .05s); }
}
.js .page-hero-copy > h1 { animation: none; }

/* Facts on tool cards */
.fact { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font: 600 .74rem var(--mono); letter-spacing: .04em; color: var(--orange-700); }
.fact::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500); }
.bento-body .fact { margin-top: 10px; padding-top: 0; }
.bento-dark .fact { color: var(--peach-300); }
.tool-card .bubble { transition: transform .4s var(--ease), background-color .3s; }
.tool-card:hover .bubble { transform: rotate(-8deg) scale(1.08); background: var(--orange-100); color: var(--orange-600); }
.bento-card:hover .bubble-solid { transform: rotate(-8deg) scale(1.08); }
.bubble { transition: transform .4s var(--ease); }

/* Services: giant faint numerals */
.service { position: relative; }
.service[data-n]::before { content: attr(data-n); position: absolute; right: 0; top: clamp(20px, 3vw, 40px); font-family: var(--display); font-style: italic; font-size: clamp(4rem, 9vw, 8rem); line-height: 1; color: var(--orange-500); opacity: .12; pointer-events: none; }
.service > h2 { position: relative; }

/* Cards that respond */
.person img { transition: transform .5s var(--ease), filter .5s; filter: grayscale(1); }
.person:hover img { transform: scale(1.05); filter: grayscale(0); }
.values li, .card, .stat, .programme, .person, .steps li { transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.values li:hover, .stat:hover, .programme:hover, .person:hover, .steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }

/* Gallery and lightbox */
.gallery figure { cursor: zoom-in; }
.gallery img, [data-lightbox] img { transition: transform .8s var(--ease); }
.gallery figure:hover img, [data-lightbox]:hover img { transform: scale(1.04); }
[data-lightbox] { cursor: zoom-in; }
dialog.lightbox { margin: auto; }
dialog.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; width: auto; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-float); }
dialog.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-size: .95rem; }
dialog.lightbox button { position: fixed; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; background: rgb(255 255 255 / .14); color: #fff; display: grid; place-items: center; }
dialog.lightbox button .icon { width: 22px; height: 22px; }

/* Surprise button */
[data-surprise] .icon { transition: transform .5s var(--ease); }
[data-surprise]:hover .icon { transform: rotate(180deg); }

/* Accordion items breathe */
.accordion details { transition: background-color .3s; }
.accordion details[open] { background: linear-gradient(90deg, var(--peach-100), transparent 60%); }
.accordion summary .tag { transition: color .2s; }

/* Side nav active indicator slides */
.side-nav a { position: relative; }
.side-nav a.active::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--orange-500); animation: pop .3s var(--ease); }
.side-nav a.active { box-shadow: none; }

/* Steps and bank details */
.steps li::before { transition: transform .4s var(--ease), background-color .3s, color .3s; }
.steps li:hover::before { transform: rotate(-10deg) scale(1.1); background: var(--orange-500); color: #fff; }
.bank div:hover { background: var(--ivory-50); }

/* Quiz option tiles feel physical */
.options button { box-shadow: 0 1px 0 var(--line-strong); }
.options button:hover { box-shadow: 0 6px 18px -8px rgb(179 84 15 / .5); }

/* ================================================================ Simulations and service forms */
.sim { margin: 8px 0 4px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); display: grid; gap: 16px; max-width: 880px; }
.sim-head p:not(.eyebrow) { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.sim-controls { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.sim-slider { display: grid; gap: 6px; min-width: 220px; flex: 1; }
.sim-slider span { font-size: .88rem; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; }
.sim-slider b { font: 600 .82rem var(--mono); color: var(--orange-700); }
.seg-sm button { min-height: 36px; padding: 0 14px; font-size: .86rem; }
.sim-chart { width: 100%; height: auto; display: block; }
.sim-tick { font: 500 11px var(--sans); fill: var(--faint); }
.sim-val { font: 600 12px var(--sans); fill: var(--ink); }
.sim-flag { font: 700 12px var(--sans); fill: #fff; }
.sim-readout { display: flex; flex-wrap: wrap; gap: 10px; }
.sim-readout div { padding: 10px 14px; border-radius: var(--r-md); background: var(--ivory-50); border: 1px solid var(--line); min-width: 140px; }
.sim-readout dt { font-size: .76rem; color: var(--muted); }
.sim-readout dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.sim-readout .is-good dd { color: var(--success); }
.sim-readout .is-bad dd { color: var(--error); }
.sim-note { font-size: .92rem; color: var(--muted); }
.sim-list { display: grid; gap: 4px; font-size: .88rem; color: var(--muted); padding-left: 18px; list-style: disc; }
.sim-list li::marker { color: var(--orange-500); }
@media (prefers-reduced-motion: no-preference) { .sim-out.is-live { animation: rise .45s var(--ease) both; } .sim-chart rect, .sim-chart circle { transition: all .5s var(--ease); } }
.accordion .body { max-width: none; }
.accordion .body .outline { max-width: 880px; }

/* Hero quick planner */
.ledger-input .seg { justify-self: start; }
.ledger-input label b { font: 700 .95rem var(--sans); color: var(--ink); }
.ledger-input label span { color: var(--faint); font-weight: 500; }
.ledger-input input[type="range"] { margin: 2px 0 6px; }

/* Service sections: a form in each */
.service-form { margin-top: 8px; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); display: grid; gap: 14px; }
.service-form > p:first-child { font-family: var(--display); font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; }
.service-form .form { gap: 12px; }
.service-form .field input, .service-form .field textarea { min-height: 46px; padding: 10px 12px; }
.service-form .field textarea { min-height: 96px; }
.service-form summary { list-style: none; cursor: pointer; }
.service-form details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-form details[open] > summary { margin-bottom: 14px; }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.how li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.how li b { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--orange-600); line-height: 1; }
.how li strong { display: block; margin-bottom: 4px; }
.how li span { color: var(--muted); font-size: .93rem; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }
.service .related { margin-top: 6px; }

/* ================================================================ Editorial home: no more boxes */
/* The hero no longer fades on scroll; the ghost it left behind was the problem */
.hero-visual, .hero-copy { animation-timeline: auto !important; animation-range: none !important; }
@supports (animation-timeline: scroll()) { @media (prefers-reduced-motion: no-preference) { .hero-visual { animation: riseblur 1s .1s var(--ease) both; } .hero-copy { animation: none; } } }
.scroll-cue { bottom: 10px; }

/* Sections as soft sheets rather than square bands */
.sheet { margin-inline: clamp(8px, 1.5vw, 24px); border-radius: clamp(28px, 4vw, 48px); background: var(--ivory-100); position: relative; overflow: clip; }
.sheet::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 100% 0%, rgb(224 123 46 / .08), transparent 70%); pointer-events: none; }
.sheet > .wrap { position: relative; }
.ticker { border-top: 0; }

/* Contents: a magazine table of contents */
.contents-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 14px; }
.contents { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 64px); border-top: 1px solid var(--line-strong); }
.contents a { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line); transition: padding-left .35s var(--ease), background-color .3s; position: relative; }
.contents a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--orange-500); transition: width .3s var(--ease); }
.contents a:hover { padding-left: 20px; background: linear-gradient(90deg, var(--peach-100), transparent 60%); }
.contents a:hover::before { width: 3px; }
.contents b { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.1rem; color: var(--orange-600); width: 28px; }
.contents strong { display: block; font-family: var(--display); font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 500; letter-spacing: -.012em; line-height: 1.1; }
.contents em { display: block; font-style: normal; color: var(--muted); font-size: .92rem; margin-top: 3px; }
.contents .icon { width: 20px; height: 20px; color: var(--faint); transition: transform .3s var(--ease), color .3s; }
.contents a:hover .icon { transform: translateX(6px); color: var(--action); }
@media (max-width: 860px) { .contents { grid-template-columns: 1fr; } }

/* Doors as a typographic list */
.doors-list { display: grid; border-top: 1px solid var(--line-strong); counter-reset: none; }
.doors-list .door { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: clamp(18px, 2.6vw, 30px) 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); text-align: left; transform: none !important; box-shadow: none !important; transition: padding-left .35s var(--ease), background-color .3s, color .3s; }
.doors-list .door::before { display: none; }
.doors-list .door::after { display: none; }
.doors-list .door b { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.2rem; color: var(--orange-600); width: 34px; }
.doors-list .door strong { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 450; letter-spacing: -.02em; line-height: 1.05; }
.doors-list .door em { display: block; font-style: normal; color: var(--muted); font-size: 1rem; margin-top: 6px; }
.doors-list .door > .icon { width: 30px; height: 30px; color: var(--faint); transition: transform .4s var(--ease), color .3s; }
.doors-list .door:hover { padding-left: 24px; background: linear-gradient(90deg, rgb(255 255 255 / .8), transparent 70%); }
.doors-list .door[aria-selected="true"] { color: var(--ink); background: linear-gradient(90deg, var(--peach-100), transparent 70%); padding-left: 24px; }
.doors-list .door[aria-selected="true"] strong { color: var(--orange-700); }
.doors-list .door[aria-selected="true"] > .icon { color: var(--orange-600); transform: rotate(0); }
.doors-list .door:not([aria-selected="true"]) > .icon { transform: rotate(-45deg); }
.doors-list .door-panel { margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 8px 10px clamp(22px, 3vw, 36px) 10px; }
.door-lead { font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--muted); }
.doors-list .related { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; }
@media (max-width: 1000px) { .doors-list .related { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .doors-list .related { grid-template-columns: 1fr; } .doors-list .door { grid-template-columns: auto 1fr; } .doors-list .door > .icon { display: none; } }

/* Tool rail: tall cards that snap */
.rail-section { overflow: clip; }
.rail-nav { display: flex; align-items: center; gap: 8px; }
.rail-nav .icon-btn { border: 1px solid var(--line-strong); background: #fff; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 28px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail-card { position: relative; flex: 0 0 clamp(260px, 24vw, 340px); aspect-ratio: 3 / 4; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 26px; border-radius: var(--r-feature); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.rail-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); border-color: var(--line-strong); }
.rail-card .rail-n { position: absolute; right: 18px; top: 6px; font-family: var(--display); font-style: italic; font-size: 6rem; line-height: 1; color: var(--orange-500); opacity: .1; transition: opacity .4s, transform .6s var(--ease); }
.rail-card:hover .rail-n { opacity: .2; transform: translateY(-6px); }
.rail-card .bubble { position: absolute; left: 26px; top: 26px; }
.rail-card .kind { font: 700 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.rail-card strong { font-family: var(--display); font-size: 1.7rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.08; }
.rail-card span.short { color: var(--muted); font-size: .95rem; }
.rail-card .fact { margin-top: 4px; padding-top: 0; }
.rail-card.is-dark { background: linear-gradient(160deg, var(--deep-900), var(--deep-700)); border-color: var(--deep-900); color: #fff; }
.rail-card.is-dark span.short { color: #d9d2c6; }
.rail-card.is-dark .kind { color: #9c958a; }
.rail-card.is-dark .fact { color: var(--peach-300); }
.rail-card.is-dark .bubble { background: var(--orange-500); color: #fff; }
.rail-card.is-peach { background: linear-gradient(160deg, var(--peach-100), #fff); }
.rail-card .go { position: absolute; right: 22px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory-100); color: var(--ink); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.rail-card:hover .go { background: var(--action); color: #fff; transform: rotate(-45deg); }
.rail-card.is-dark .go { background: rgb(255 255 255 / .12); color: #fff; }
.rail-card .go .icon { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) { .rail-card { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); } }

/* Stats as a band, not four boxes */
.band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.band > div { padding: clamp(22px, 3vw, 40px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.band > div:first-child { border-left: 0; padding-left: 0; }
.band dt { font-size: .92rem; color: var(--muted); order: 2; }
.band dd b { font-family: var(--display); font-weight: 450; font-size: clamp(3rem, 6vw, 5.4rem); line-height: .95; letter-spacing: -.035em; font-variant-numeric: lining-nums tabular-nums; display: block; }
.band dd b small { font-size: .5em; color: var(--orange-600); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr 1fr; } .band > div:nth-child(3) { border-left: 0; padding-left: 0; } .band > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Track record: editorial grid with a quote */
.features-editorial { grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: 300px 220px; }
.features-editorial .feature-tall { grid-row: 1 / 3; min-height: 0; }
.features-editorial .feature { min-height: 0; }
.feature-quote { grid-column: 2 / 4; display: grid; align-content: center; gap: 12px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-feature); background: var(--white); border: 1px solid var(--line); }
.feature-quote .quote { font-size: clamp(1.3rem, 2vw, 1.75rem); max-width: none; }
.feature-quote footer { font: 600 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-700); }
@media (max-width: 960px) { .features-editorial { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .features-editorial .feature-tall { grid-row: auto; min-height: 320px; } .features-editorial .feature { min-height: 260px; } .feature-quote { grid-column: 1 / -1; } }
@media (max-width: 560px) { .features-editorial { grid-template-columns: 1fr; } }

/* Team as plates */
.team-plates .person { background: transparent; border: 0; padding: 0 0 22px; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none !important; transform: none !important; }
.team-plates .person img, .team-plates .person .initials { width: 120px; height: 120px; }
.team-plates .person h3 { font-size: 1.6rem; }
.rail { scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.features-editorial .feature img { z-index: -2; }

/* ================================================================ Home scenes */
/* --- Scene 1: the triptych of doors */
.triptych { display: flex; gap: 12px; height: clamp(440px, 60vh, 620px); }
.tri { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r-feature); overflow: hidden; cursor: pointer; isolation: isolate; color: #fff; transition: flex-grow .8s var(--ease), transform .4s var(--ease); background: var(--deep-800); outline-offset: 4px; }
.tri img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.05); transform: scale(1.06); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.tri-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(27 23 20 / .94) 0%, rgb(27 23 20 / .55) 45%, rgb(224 123 46 / .25) 100%); mix-blend-mode: normal; transition: opacity .6s; }
.tri::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(224 123 46 / .35); mix-blend-mode: multiply; transition: opacity .6s; }
.tri[aria-selected="true"] { flex-grow: 2.6; }
.tri[aria-selected="true"] img { filter: grayscale(0) contrast(1); transform: scale(1); }
.tri[aria-selected="true"]::after { opacity: 0; }
.tri:hover:not([aria-selected="true"]) img { transform: scale(1.02); filter: grayscale(.4); }
.tri-top { position: absolute; left: 22px; right: 22px; top: 20px; display: flex; justify-content: space-between; align-items: center; }
.tri-n { font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--peach-300); }
.tri-hint { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .5s var(--ease), background-color .3s; }
.tri-hint .icon { width: 18px; height: 18px; }
.tri[aria-selected="true"] .tri-hint { transform: rotate(90deg); background: var(--orange-500); }
.tri-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.4vw, 30px); display: grid; gap: 8px; }
.tri h3 { font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1.08; color: #fff; }
.tri-sub { color: #e5dfd4; font-size: .95rem; }
.tri:not([aria-selected="true"]) h3 { writing-mode: vertical-rl; transform: rotate(180deg); font-size: clamp(1.1rem, 1.6vw, 1.5rem); max-height: 320px; }
.tri:not([aria-selected="true"]) .tri-sub { display: none; }
.tri-more { display: grid; gap: 14px; margin-top: 8px; }
.tri-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.tri-links a { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgb(255 255 255 / .16); font-weight: 550; font-size: .95rem; transition: padding-left .3s var(--ease), color .2s; }
.tri-links a:hover { padding-left: 6px; color: var(--peach-300); }
.tri-links .icon { width: 18px; height: 18px; color: var(--orange-500); flex: none; }
@media (prefers-reduced-motion: no-preference) { .tri-more:not([hidden]) { animation: rise .6s .15s var(--ease) both; } }
@media (max-width: 960px) {
  .triptych { flex-direction: column; height: auto; }
  .tri { min-height: 120px; transition: none; }
  .tri[aria-selected="true"] { min-height: 460px; }
  .tri:not([aria-selected="true"]) h3 { writing-mode: horizontal-tb; transform: none; max-height: none; }
  .tri:not([aria-selected="true"]) .tri-body { padding-block: 18px; }
  .tri-links { grid-template-columns: 1fr; }
}

/* --- Scene 2: the tool theatre */
.scene-theatre { position: relative; overflow: clip; }
.theatre-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.theatre-copy { display: grid; gap: 22px; justify-items: start; }
.theatre-tabs { display: grid; width: 100%; border-top: 1px solid var(--line-strong); }
.theatre-tabs button { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; text-align: left; padding: 14px 6px; border-bottom: 1px solid var(--line); font-weight: 550; color: var(--muted); position: relative; transition: color .3s, padding-left .3s var(--ease); }
.theatre-tabs button b { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--orange-600); }
.theatre-tabs button i { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--orange-500); }
.theatre-tabs button[aria-selected="true"] { color: var(--ink); padding-left: 12px; }
.theatre-tabs button:hover { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .theatre-tabs button[aria-selected="true"] i { animation: tabfill 5.5s linear forwards; } }
@keyframes tabfill { to { width: 100%; } }
.theatre { position: relative; }
.theatre-frame { position: relative; border-radius: var(--r-feature); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-float); overflow: hidden; transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); transition: transform .8s var(--ease); }
.theatre:hover .theatre-frame { transform: perspective(1200px) rotateY(0) rotateX(0); }
.theatre-frame::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--orange-700), var(--orange-500), var(--peach-300), var(--orange-500)); background-size: 220% 100%; animation: ribbon 7s linear infinite; z-index: 2; }
.theatre-bar { display: flex; align-items: center; gap: 14px; padding: 16px 20px 12px; border-bottom: 1px solid var(--line); }
.theatre-dots { display: flex; gap: 6px; }
.theatre-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ivory-200); }
.theatre-dots i:first-child { background: var(--orange-500); }
.theatre-title { flex: 1; font-family: var(--display); font-size: 1.1rem; font-weight: 500; }
.theatre-stage { padding: clamp(18px, 2.4vw, 28px); min-height: 380px; display: grid; gap: 16px; align-content: start; }
.stage-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.stage-label { font-size: .85rem; color: var(--muted); }
.stage-big { font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stage-big small { font-size: .42em; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.stage-chip { font: 600 .74rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--orange-700); padding: 6px 10px; border-radius: 999px; background: var(--peach-100); }
.stage-chart { width: 100%; height: auto; display: block; }
.stage-foot { display: flex; justify-content: space-between; gap: 12px; font-size: .84rem; color: var(--faint); }
.stage-foot a { color: var(--action); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .theatre-stage > * { animation: rise .6s var(--ease) both; } .theatre-stage > :nth-child(2) { animation-delay: .1s; } .theatre-stage > :nth-child(3) { animation-delay: .2s; } }
.stage-chart .grow { transition: width 1s var(--ease), height 1s var(--ease), y 1s var(--ease), stroke-dashoffset 1.2s var(--ease), opacity .5s; }
.stage-chart .pop { transform-origin: center; transform-box: fill-box; animation: pop .5s var(--ease) both; }
.theatre-orbit { position: absolute; inset: -6% -8%; pointer-events: none; z-index: -1; }
.theatre-orbit span { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); font: 600 .74rem var(--mono); color: var(--muted); transform: rotate(var(--a)) translateX(min(34vw, 420px)) rotate(calc(var(--a) * -1)); }
.theatre-orbit .icon { width: 14px; height: 14px; color: var(--orange-600); }
@media (prefers-reduced-motion: no-preference) { .theatre-orbit span { animation: bob 6s var(--d) ease-in-out infinite alternate; } }
@media (max-width: 960px) { .theatre-grid { grid-template-columns: 1fr; } .theatre-frame { transform: none; } .theatre-orbit { display: none; } }

/* --- Scene 3: the journey */
.counters { display: flex; flex-wrap: wrap; gap: 10px 40px; margin: 8px 0 28px; }
.counters > div { display: flex; align-items: baseline; gap: 10px; }
.counters dd b { font-family: var(--display); font-weight: 450; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.counters dd b small { font-size: .5em; color: var(--orange-600); }
.counters dt { color: var(--muted); font-size: .95rem; }
.journey { position: relative; height: clamp(300px, 36vw, 420px); margin: 10px 0 24px; }
.journey-line { position: absolute; inset: 0; width: 100%; height: 100%; }
.journey-track { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 3 7; }
.journey-ink { fill: none; stroke: var(--orange-500); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.journey.in .journey-ink { transition: stroke-dashoffset 2.6s var(--ease); stroke-dashoffset: 0; }
.stops { position: absolute; inset: 0; }
.stop { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.stop a { position: relative; display: grid; justify-items: center; gap: 6px; width: 150px; text-align: center; }
.stop a::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--orange-500); border: 3px solid var(--ivory-50); box-shadow: 0 0 0 1.5px var(--orange-500); transition: transform .4s var(--ease), box-shadow .4s; order: 2; }
.stop a:hover::before { transform: scale(1.3); box-shadow: 0 0 0 8px rgb(224 123 46 / .15); }
.stop img { width: 92px; height: 92px; object-fit: cover; border-radius: 42px 12px 42px 12px; border: 3px solid #fff; box-shadow: var(--shadow-raised); order: 1; transition: transform .5s var(--ease); }
.stop a:hover img { transform: translateY(-4px) rotate(-2deg); }
.stop b { order: 3; font-family: var(--display); font-size: 1.15rem; font-weight: 500; }
.stop span { order: 4; font-size: .78rem; color: var(--muted); line-height: 1.3; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .4s var(--ease); }
.stop a:hover span, .stop a:focus-visible span { opacity: 1; transform: none; }
.stop { opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease); transform: translate(-50%, -40%); }
.journey.in .stop { opacity: 1; transform: translate(-50%, -50%); }
.journey.in .stop:nth-child(1) { transition-delay: .2s; } .journey.in .stop:nth-child(2) { transition-delay: .6s; } .journey.in .stop:nth-child(3) { transition-delay: 1s; } .journey.in .stop:nth-child(4) { transition-delay: 1.4s; } .journey.in .stop:nth-child(5) { transition-delay: 1.8s; } .journey.in .stop:nth-child(6) { transition-delay: 2.2s; }
@media (max-width: 960px) {
  .journey { height: auto; margin: 0 0 24px; }
  .journey-line { display: none; }
  .stops { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stop { position: static; transform: none !important; opacity: 1; }
  .stop a { width: auto; }
  .stop span { opacity: 1; transform: none; }
}
@media (max-width: 560px) { .stops { grid-template-columns: 1fr 1fr; } }

/* --- Scene 4: the people */
.people-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.people-copy { display: grid; gap: 18px; justify-items: start; }
.people-quote { padding: 18px 0 18px 22px; border-left: 3px solid var(--orange-500); }
.people-quote p { font-family: var(--display); font-style: italic; font-size: 1.3rem; line-height: 1.3; }
.people-quote footer { margin-top: 8px; font: 600 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-700); }
.portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.portrait { display: grid; gap: 6px; justify-items: start; padding: 10px 0; }
.portrait:nth-child(2) { margin-top: 56px; }
.portrait:nth-child(3) { margin-top: -32px; }
.portrait:nth-child(4) { margin-top: 24px; }
.portrait .leaf { width: 100%; max-width: 230px; aspect-ratio: 1; border-radius: 90px 22px 90px 22px; overflow: hidden; box-shadow: var(--shadow-raised); background: var(--ivory-200); transition: transform .6s var(--ease), border-radius .6s var(--ease); display: grid; place-items: center; }
.portrait .leaf img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1); transition: filter .6s, transform 1s var(--ease); }
.portrait:hover .leaf { transform: translateY(-6px); border-radius: 22px 90px 22px 90px; }
.portrait:hover .leaf img { filter: grayscale(0); transform: scale(1.04); }
.portrait .initials { font-family: var(--display); font-size: 3rem; color: var(--orange-600); background: var(--orange-100); }
.portrait .creds { margin-top: 12px; font: 600 .74rem var(--mono); letter-spacing: .04em; color: var(--orange-700); }
.portrait strong { font-family: var(--display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.012em; line-height: 1.1; }
.portrait em { font-style: normal; color: var(--muted); font-size: .92rem; }
@media (max-width: 960px) { .people-grid { grid-template-columns: 1fr; } .portrait:nth-child(n) { margin-top: 0; } }
@media (max-width: 480px) { .portraits { gap: 16px; } .portrait .leaf { max-width: none; } }
.theatre-orbit span { transform: rotate(var(--a)) translateX(min(27vw, 330px)) rotate(calc(var(--a) * -1)); }
.theatre-orbit span { transform: rotate(var(--a)) translateX(min(31vw, 400px)) rotate(calc(var(--a) * -1)); }

/* ================================================================ Toolkit scenes */
.toolkit-hero .wrap { align-items: center; }
.dial { position: relative; aspect-ratio: 1; width: min(100%, 520px); margin-inline: auto; display: grid; place-items: center; }
.dial-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line-strong); }
.dial-ring-2 { inset: 17%; border-style: solid; border-color: var(--line); }
@media (prefers-reduced-motion: no-preference) { .dial-ring { animation: spin 120s linear infinite; } .dial-ring-2 { animation: spin 80s linear infinite reverse; } }
.dial-nodes { position: absolute; inset: 0; }
.dial-node { --r: 50%; position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; transform: rotate(var(--a)) translateX(calc(min(100%, 520px) * .5 - 6px)) rotate(calc(var(--a) * -1)); }
.dial-node a { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); color: var(--deep-800); transition: transform .4s var(--ease), background-color .3s, color .3s, box-shadow .3s; }
.dial-node a .icon { width: 24px; height: 24px; }
.dial-node a:hover, .dial-node.is-on a { transform: scale(1.18); background: var(--action); color: #fff; box-shadow: 0 10px 24px -8px rgb(179 84 15 / .6); }
.dial-node.for-you a { border-color: var(--orange-500); box-shadow: 0 0 0 3px var(--orange-100); }
.dial-centre { position: relative; width: 58%; aspect-ratio: 1; border-radius: 50%; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-float); display: grid; place-content: center; justify-items: center; text-align: center; gap: 8px; padding: 24px; }
.dial-centre::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--peach-300); opacity: .7; }
.dial-kind { font: 700 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.dial-centre strong { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.1; }
.dial-fact { font: 600 .74rem var(--mono); color: var(--orange-700); }
.dial-centre .btn { margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) { .dial-centre > * { animation: rise .45s var(--ease) both; } .dial { animation: riseblur 1s .15s var(--ease) both; } }
@media (max-width: 860px) { .dial { width: min(100%, 360px); } .dial-node { width: 46px; height: 46px; margin: -23px 0 0 -23px; transform: rotate(var(--a)) translateX(calc(min(100%, 360px) * .5 - 2px)) rotate(calc(var(--a) * -1)); } .dial-node a .icon { width: 20px; height: 20px; } .dial-centre { width: 60%; padding: 14px; } .dial-centre strong { font-size: 1rem; } .dial-fact { display: none; } }

/* Catalogue: master and detail */
.catalogue { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.catalogue-rows { border-top: 1px solid var(--line-strong); }
.catalogue-rows li { border-bottom: 1px solid var(--line); }
.catalogue-rows a { display: grid; grid-template-columns: auto auto 1fr auto; gap: 16px; align-items: center; padding: 16px 10px 16px 6px; position: relative; transition: padding-left .35s var(--ease), background-color .3s; }
.catalogue-rows a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--orange-500); transition: width .3s var(--ease); }
.catalogue-rows a:hover, .catalogue-rows a:focus-visible, .catalogue-rows a.is-on { padding-left: 18px; background: linear-gradient(90deg, var(--peach-100), transparent 70%); }
.catalogue-rows a:hover::before, .catalogue-rows a.is-on::before { width: 3px; }
.catalogue-rows b { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--orange-600); width: 26px; }
.catalogue-rows .bubble { width: 42px; height: 42px; border-radius: 14px; }
.catalogue-rows .bubble .icon { width: 20px; height: 20px; }
.catalogue-rows strong { display: block; font-size: 1.08rem; font-weight: 650; }
.catalogue-rows em { display: block; font-style: normal; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.catalogue-rows .tag { white-space: nowrap; }
.catalogue-rows .fact { display: none; }
.catalogue-rows a.for-you strong::after { content: "for you"; margin-left: 8px; font: 700 .62rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-700); padding: 3px 7px; border-radius: 999px; background: var(--orange-100); vertical-align: middle; }
.preview { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 10px; }
.preview-frame { border-radius: var(--r-feature); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-float); overflow: hidden; position: relative; }
.preview-frame::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--orange-700), var(--orange-500), var(--peach-300), var(--orange-500)); background-size: 220% 100%; animation: ribbon 7s linear infinite; z-index: 2; }
.preview-stage { min-height: 300px; }
.preview-note { font-size: .84rem; color: var(--faint); text-align: center; }
.preview-generic { display: grid; gap: 18px; justify-items: start; }
.preview-generic .bubble { width: 64px; height: 64px; border-radius: 20px; }
.preview-generic .bubble .icon { width: 30px; height: 30px; }
.preview-generic .stage-big { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.02em; line-height: 1.1; }
.preview-generic .for { display: flex; gap: 6px; flex-wrap: wrap; }
.preview-generic .for span { font: 600 .7rem var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--ivory-100); color: var(--muted); }
@media (max-width: 960px) { .catalogue { grid-template-columns: 1fr; } .preview { display: none; } }
@media (max-width: 560px) { .catalogue-rows a { grid-template-columns: auto 1fr; } .catalogue-rows b, .catalogue-rows .tag { display: none; } }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.principle { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-feature); background: var(--ivory-100); display: grid; gap: 14px; align-content: start; overflow: hidden; }
.principle-icon { width: 54px; height: 54px; border-radius: 18px; background: #fff; display: grid; place-items: center; color: var(--orange-600); box-shadow: var(--shadow-card); }
.principle-icon .icon { width: 26px; height: 26px; }
.principle h3 { font-size: 1.5rem; }
.principle p { color: var(--muted); }
.principle-mark { position: absolute; right: 18px; top: 8px; font-family: var(--display); font-style: italic; font-size: 5rem; line-height: 1; color: var(--orange-500); opacity: .12; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* ================================================================ Services story */
.howline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 26px; }
.howline::before { content: ""; position: absolute; left: 10px; right: 10px; top: 8px; height: 2px; background: linear-gradient(90deg, var(--orange-500), var(--peach-300)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.howline.in::before { transform: scaleX(1); }
.howline li { position: relative; display: grid; gap: 6px; padding-right: 20px; }
.howline-dot { position: absolute; left: 0; top: -26px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange-500); border: 3px solid var(--ivory-50); box-shadow: 0 0 0 1.5px var(--orange-500); transform: scale(0); transition: transform .5s var(--ease); }
.howline.in li:nth-child(1) .howline-dot { transform: scale(1); transition-delay: .2s; } .howline.in li:nth-child(2) .howline-dot { transform: scale(1); transition-delay: .9s; } .howline.in li:nth-child(3) .howline-dot { transform: scale(1); transition-delay: 1.5s; }
.howline b { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.2rem; color: var(--orange-600); }
.howline strong { font-family: var(--display); font-size: 1.4rem; font-weight: 500; letter-spacing: -.012em; line-height: 1.1; }
.howline span:not(.howline-dot) { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .howline { grid-template-columns: 1fr; padding-top: 0; } .howline::before { display: none; } .howline-dot { display: none; } }

.story { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.story-sticky { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.story-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 110px 26px 110px 26px; overflow: hidden; background: var(--ivory-200); box-shadow: var(--shadow-raised); }
.story-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s ease, transform 1.4s var(--ease); }
.story-photo img.is-on { opacity: 1; transform: scale(1); }
.story-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(27 23 20 / .55), transparent 50%); }
.story-n { position: absolute; left: 22px; bottom: 14px; z-index: 1; font-family: var(--display); font-style: italic; font-size: 4.5rem; line-height: 1; color: #fff; }
.story-nav { display: grid; }
.story-nav a { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: center; padding: 10px 8px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 550; transition: color .2s, padding-left .3s var(--ease); position: relative; }
.story-nav a b { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--orange-600); }
.story-nav a.is-on { color: var(--ink); padding-left: 16px; }
.story-nav a.is-on::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--orange-500); }
.story-progress { height: 3px; border-radius: 3px; background: var(--ivory-200); overflow: hidden; }
.story-progress i { display: block; height: 100%; width: 0; background: var(--orange-500); transition: width .4s var(--ease); }
.story-flow .service { border-top: 0; padding-top: 0; padding-bottom: clamp(48px, 7vw, 96px); min-height: 60vh; }
.story-flow .service + .service { border-top: 1px solid var(--line); padding-top: clamp(40px, 6vw, 72px); }
.story-flow .service[data-n]::before { font-size: clamp(5rem, 11vw, 9rem); top: clamp(30px, 5vw, 56px); opacity: .08; }
.story-flow .service > h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
@media (max-width: 960px) { .story { grid-template-columns: 1fr; } .story-sticky { position: static; } .story-photo { aspect-ratio: 16 / 9; border-radius: 64px 18px 64px 18px; } .story-nav { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; } .story-nav a { border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; padding: 8px 14px; background: #fff; grid-template-columns: auto auto; } .story-nav a.is-on::before { display: none; } .story-nav a.is-on { border-color: var(--orange-500); padding-left: 14px; } .story-progress { display: none; } .story-flow .service { min-height: 0; } }
.dial { --radius: 240px; }
.dial-node { transform: rotate(var(--a)) translateX(var(--radius)) rotate(calc(var(--a) * -1)) !important; }
.story { align-items: stretch; }
.story-panel { align-self: stretch; }
.story-photo { aspect-ratio: 1; }

/* ================================================================ Floray palette: the seal's gold replaces copper */
:root {
  --orange-700: #6f4f0b;
  --orange-600: #9a6c0f;
  --orange-500: #c08a1e;
  --orange-100: #f7edd3;
  --peach-300: #e9d9a8;
  --peach-100: #fbf5e6;
  --action: #8a6210;
  --action-hover: #6f4f0b;
}
.btn-action { box-shadow: 0 10px 24px -10px rgb(138 98 16 / .7); }
.btn-action:hover { box-shadow: 0 14px 30px -10px rgb(138 98 16 / .8); }
.brand img { background: #fff; }
.hero::after { background: radial-gradient(closest-side, rgb(192 138 30 / .2), rgb(192 138 30 / .05) 55%, transparent 72%); }
.blob-1 { background: radial-gradient(circle, rgb(233 217 168 / .9), rgb(192 138 30 / .3) 55%, transparent 72%); }
.hero-glow { background: radial-gradient(520px circle at var(--gx, 70%) var(--gy, 30%), rgb(192 138 30 / .12), transparent 60%); }
.tool-hero::after { background: radial-gradient(closest-side, rgb(192 138 30 / .14), transparent 70%); }
.next::before { background: radial-gradient(55% 80% at 100% 0%, rgb(192 138 30 / .4), transparent 70%); }
[data-tilt]::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgb(192 138 30 / .16), transparent 60%); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 4px rgb(192 138 30 / .2); }
.ledger-input .money input:focus { box-shadow: 0 0 0 4px rgb(192 138 30 / .2); }
.sheet::before { background: radial-gradient(60% 50% at 100% 0%, rgb(192 138 30 / .08), transparent 70%); }
.tri-shade { background: linear-gradient(to top, rgb(27 23 20 / .94) 0%, rgb(27 23 20 / .55) 45%, rgb(192 138 30 / .25) 100%); }
.tri::after { background: rgb(192 138 30 / .35); }

/* Home: six practices */
.practices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.practices a { position: relative; display: block; min-height: 320px; border-radius: var(--r-feature); overflow: hidden; isolation: isolate; color: #fff; background: var(--deep-800); }
.practices img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.8); transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; }
.practices a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(27 23 20 / .94), rgb(27 23 20 / .45) 55%, rgb(192 138 30 / .18)); }
.practices a:hover img { transform: scale(1); filter: saturate(1); }
.practices a > div { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; gap: 6px; }
.practices b { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.1rem; color: var(--peach-300); }
.practices strong { font-family: var(--display); font-size: 1.55rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.1; }
.practices span { color: #e5dfd4; font-size: .93rem; }
.practices em { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font: 600 .74rem var(--mono); font-style: normal; color: var(--peach-300); }
.practices em .icon { width: 14px; height: 14px; }
.practices li:nth-child(2) a, .practices li:nth-child(5) a { min-height: 360px; }
@media (max-width: 960px) { .practices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .practices { grid-template-columns: 1fr; } .practices a { min-height: 240px !important; } }

/* Logo: the upscaled seal, shown larger and without a white tile */
.brand img { width: 56px; height: 56px; background: transparent; border-radius: 50%; box-shadow: 0 2px 10px -4px rgb(40 30 20 / .35); image-rendering: auto; }
.site-header.scrolled .brand img { width: 44px; height: 44px; }
.site-footer .brand img { width: 76px; height: 76px; box-shadow: 0 4px 18px -6px rgb(0 0 0 / .6); }
.header-row { gap: 20px; }

/* ================================================================ Play: passport, badges, challenge, feed, tracker, games, scenarios */
.passport-btn { position: relative; }
.passport-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--action); color: #fff; font: 700 .68rem var(--sans); display: grid; place-items: center; }
.tag-new { color: var(--action); margin-right: 8px; }
.tag-new::before { content: "\2726 "; }
.dial-node.is-done a::after, .catalogue-rows a.is-done .bubble::after { content: "\2713"; position: absolute; right: -4px; top: -4px; width: 18px; height: 18px; border-radius: 50%; background: var(--success); color: #fff; font: 700 11px var(--sans); display: grid; place-items: center; box-shadow: 0 0 0 2px var(--ivory-50); }
.dial-node a, .catalogue-rows .bubble { position: relative; }
.ticker-fresh b { color: var(--orange-700); }
.ticker-fresh .icon { color: var(--orange-500); }

/* Badges */
.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.badge-tile { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 20px 14px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); color: var(--faint); filter: grayscale(1); opacity: .7; transition: transform .3s var(--ease), box-shadow .3s, filter .4s, opacity .4s; }
.badge-tile.is-won { filter: none; opacity: 1; color: var(--ink); border-color: var(--orange-500); box-shadow: 0 0 0 3px var(--orange-100); }
.badge-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.badge-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory-100); color: var(--orange-600); }
.badge-tile.is-won .badge-icon { background: linear-gradient(145deg, var(--orange-500), var(--orange-700)); color: #fff; box-shadow: 0 10px 20px -10px rgb(138 98 16 / .8); }
.badge-icon .icon { width: 28px; height: 28px; }
.badge-tile strong { font-family: var(--display); font-size: 1.15rem; font-weight: 500; }
.badge-tile span:last-child { font-size: .82rem; }
@media (max-width: 860px) { .badges { grid-template-columns: 1fr 1fr; } }

/* Passport page */
.passport-grade { display: grid; place-items: center; }
.passport-grade .score-ring { width: 240px; height: 240px; }
.passport-grade .score-ring b { font-family: var(--display); font-weight: 500; font-size: 5rem; }
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.area a { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 22px 16px; border-radius: var(--r-feature); background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; height: 100%; }
.area a:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.area .score-ring { width: 120px; height: 120px; }
.area .score-ring b { font-size: 1.7rem; }
.area .score-ring span { font-size: .7rem; }
.area-big { font-family: var(--display); font-size: 2.2rem; font-weight: 500; line-height: 120px; }
.area-empty { width: 120px; height: 120px; border-radius: 50%; border: 2px dashed var(--line-strong); display: grid; place-items: center; color: var(--faint); }
.area-empty .icon { width: 28px; height: 28px; }
.area strong { font-family: var(--display); font-size: 1.3rem; font-weight: 500; }
.area span:last-child { color: var(--muted); font-size: .9rem; }
.area:not(.is-done) a { background: var(--ivory-100); border-style: dashed; }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .areas { grid-template-columns: 1fr; } }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Home: feed and weekly challenge */
.play-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.play-feed { display: grid; gap: 18px; justify-items: start; }
.play-feed .head { margin-bottom: 0; }
.play-feed .head p .stage-chip { margin-left: 8px; vertical-align: middle; }
.feed { display: grid; gap: 10px; width: 100%; }
.feed-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.feed-item:hover { transform: translateX(4px); border-color: var(--orange-500); box-shadow: var(--shadow-card); }
.feed-item em { display: block; font: 700 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-700); font-style: normal; }
.feed-item strong { display: block; font-size: 1.05rem; }
.feed-item > span:nth-child(2) > span { color: var(--muted); font-size: .9rem; }
.feed-item > .icon:last-child { color: var(--faint); }
.challenge { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-feature); background: var(--deep-900); color: #fff; display: grid; gap: 18px; position: relative; overflow: hidden; }
.challenge::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 100% 0%, rgb(192 138 30 / .4), transparent 70%); pointer-events: none; }
.challenge > * { position: relative; }
.challenge-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.challenge .eyebrow { color: var(--peach-300); }
.challenge .eyebrow::before { background: var(--peach-300); }
.challenge .stage-chip { background: rgb(255 255 255 / .12); color: var(--peach-300); }
.challenge h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); color: #fff; line-height: 1.2; }
.challenge .options button { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .18); color: #fff; }
.challenge .options button:hover { background: rgb(255 255 255 / .12); border-color: var(--orange-500); }
.challenge .options button.is-right { background: rgb(31 122 74 / .35); border-color: var(--success); }
.challenge .options button.is-wrong { background: rgb(180 35 24 / .3); border-color: var(--error); }
.challenge .options button[disabled] { cursor: default; transform: none; }
.challenge .verdict.is-good { background: rgb(31 122 74 / .25); color: #d8f3e3; }
.challenge .verdict.is-bad { background: rgb(154 85 0 / .3); color: #fde7c6; }
.challenge .muted { color: #cfc8bc; }
@media (max-width: 960px) { .play-grid { grid-template-columns: 1fr; } }

/* Services: proposal tracker */
.tracker { padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-feature); background: var(--white); border: 1px solid var(--line); display: grid; gap: 14px; }
.tracker-bar { height: 6px; border-radius: 6px; background: var(--ivory-200); overflow: hidden; }
.tracker-bar i { display: block; height: 100%; background: var(--orange-500); transition: width 1s var(--ease); }
.tracker-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tracker-steps li { display: flex; align-items: center; gap: 10px; font-weight: 550; color: var(--muted); }
.tracker-steps li.is-done { color: var(--ink); }
.tracker-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory-100); color: var(--faint); font: 700 .85rem var(--sans); flex: none; }
.tracker-steps li.is-done .tracker-dot { background: var(--success); color: #fff; }
.tracker-dot .icon { width: 16px; height: 16px; }
@media (max-width: 640px) { .tracker-steps { grid-template-columns: 1fr; } }

/* Decision games */
.games { display: grid; gap: 22px; }
.game-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; margin-inline: auto; }
.game-pick .choice[aria-pressed="true"] { border-color: var(--action); background: var(--peach-100); }
@media (max-width: 640px) { .game-pick { grid-template-columns: 1fr; } }

/* Carbon badge and scenarios */
.carbon-badge { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--peach-100), #fff); border: 1px solid var(--peach-300); }
.carbon-emoji { font-size: 2.4rem; line-height: 1; }
.carbon-badge strong { font-family: var(--display); font-size: 1.4rem; font-weight: 500; }
.carbon-badge p { color: var(--muted); font-size: .92rem; }
.scn-save { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.scn-save input { min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; }
.scn-wrap { overflow-x: auto; margin-top: 14px; }
.scn-table th:first-child, .scn-table td:first-child { color: var(--muted); font-weight: 500; }
.scn-table th:not(:first-child) { color: var(--orange-700); }
.scn-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.scn-list .chip button { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--muted); }
.scn-list .chip button:hover { background: var(--ivory-200); color: var(--ink); }
.scn-list .chip button .icon { width: 14px; height: 14px; }

/* ================================================================ Contact greeting card */
.greet { position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; border-radius: var(--r-feature); overflow: hidden; background: var(--ivory-200); box-shadow: var(--shadow-raised); isolation: isolate; }
.greet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform-origin: 50% 30%; animation: greet-kb 22s ease-in-out infinite alternate; }
.greet::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(27 23 20 / .7) 0%, rgb(27 23 20 / .28) 36%, transparent 58%); pointer-events: none; }
.greet-top { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.greet-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: rgb(255 255 255 / .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 .78rem var(--sans); color: var(--ink); }
.greet-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgb(31 122 74 / .55); animation: greet-pulse 2.2s infinite; }
.greet-wave { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--white); font-size: 1.5rem; line-height: 1; box-shadow: var(--shadow-card); transform-origin: 70% 70%; animation: greet-wave 3s ease-in-out infinite; }
.greet-chat { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: grid; gap: 8px; justify-items: start; }
.greet-msg { display: none; margin: 0; max-width: 90%; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: var(--white); color: var(--ink); font-size: .95rem; line-height: 1.4; box-shadow: var(--shadow-card); }
.greet-msg.is-in { display: block; animation: greet-pop .45s var(--ease) both; }
.greet-typing { display: none; gap: 4px; margin: 0; padding: 13px 14px; border-radius: 18px 18px 18px 4px; background: var(--white); box-shadow: var(--shadow-card); }
.greet-typing.is-on { display: inline-flex; animation: greet-pop .3s var(--ease) both; }
.greet-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: greet-dot 1s infinite; }
.greet-typing i:nth-child(2) { animation-delay: .15s; }
.greet-typing i:nth-child(3) { animation-delay: .3s; }
.greet-cta { display: none; align-items: center; gap: 8px; margin-top: 4px; padding: 12px 18px; border-radius: 999px; border: 0; background: var(--action); color: #fff; font: 650 .95rem var(--sans); cursor: pointer; box-shadow: var(--shadow-card); transition: transform .3s var(--ease), filter .2s; }
.greet-cta.is-in { display: inline-flex; animation: greet-pop .45s var(--ease) both; }
.greet-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }
.greet-cta .icon { width: 18px; height: 18px; }
.greet:hover img { animation-play-state: paused; }
@keyframes greet-kb { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes greet-pulse { 70% { box-shadow: 0 0 0 10px rgb(31 122 74 / 0); } 100% { box-shadow: 0 0 0 0 rgb(31 122 74 / 0); } }
@keyframes greet-wave { 0%, 55%, 100% { transform: rotate(0); } 10% { transform: rotate(18deg); } 20% { transform: rotate(-10deg); } 30% { transform: rotate(14deg); } 40% { transform: rotate(-6deg); } 48% { transform: rotate(8deg); } }
@keyframes greet-dot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
@keyframes greet-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .greet img, .greet-status i, .greet-wave, .greet-msg.is-in, .greet-cta.is-in { animation: none; } }
@media (max-width: 520px) { .greet { aspect-ratio: 3 / 4; } .greet img { object-position: 50% 12%; } .greet-msg { font-size: .9rem; } }

/* ================================================================ Hero: the quick tax ledger */
.ledger-tax .ledger-input label[for] { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ledger-tax .ledger-input label[for] b { font: 700 1.35rem var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ledger-tax .ledger-input input[type="range"] { margin: 6px 0 10px; }
.tax-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tax-chips button { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); font: 600 .8rem var(--sans); color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.tax-chips button:hover { border-color: var(--orange-500); color: var(--ink); transform: translateY(-1px); }
.tax-chips button[aria-pressed="true"] { background: var(--deep-900); border-color: var(--deep-900); color: #fff; }
.tax-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .82rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.tax-toggle input { width: 18px; height: 18px; accent-color: var(--action); margin: 0; }
.tax-split { display: flex; height: 26px; margin: 0; overflow: hidden; background: var(--ivory-200); }
.tax-split i { position: relative; display: grid; place-items: center; overflow: hidden; transition: width .6s var(--ease); }
.tax-split i span { font: 700 .62rem var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: opacity .3s; }
.tax-split i.is-empty span { opacity: 0; }
.tax-keep { background: linear-gradient(135deg, var(--orange-500), var(--orange-700)); color: #fff; }
.tax-pay { background: var(--deep-900); color: var(--peach-300); }
.tax-pen { background: var(--ivory-200); color: var(--muted); }
.tax-ladder { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 0; padding: 12px 20px 0; list-style: none; }
.tax-ladder li { display: grid; gap: 2px; justify-items: center; padding: 7px 2px 6px; border-radius: 10px; background: var(--ivory-100); color: var(--faint); border: 1px solid transparent; transition: background-color .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.tax-ladder li b { font: 700 .82rem var(--sans); }
.tax-ladder li span { font-size: .6rem; letter-spacing: .02em; white-space: nowrap; }
.tax-ladder li.is-done { background: var(--peach-100); color: var(--orange-700); }
.tax-ladder li.is-now { background: var(--deep-900); color: #fff; border-color: var(--deep-900); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.tax-ladder li.is-now span { color: var(--peach-300); }
.tax-ladder li.is-pop { animation: tax-pop .5s var(--ease); }
@keyframes tax-pop { 0% { transform: translateY(-3px) scale(1); } 40% { transform: translateY(-8px) scale(1.12); } 100% { transform: translateY(-3px) scale(1); } }
.ledger-tax .ledger-rows { margin-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 420px) { .tax-ladder li span { display: none; } }
@media (prefers-reduced-motion: reduce) { .tax-ladder li.is-pop { animation: none; } }
