/* DXBE design system
   One file, one rule per component. Tokens first; every component below uses only these values.
   Radii: --r-chip 10px (icon tiles, tags), 12px for inputs and buttons, --r-card 16px (cards, FAQ, worked
   examples), --r-panel 20px (raised dark panels, hero diagram panel, CTA band, form card), 999px for pills only.
   Motion: one .reveal entrance per block, at most one "draw" per section, hover lifts of 2-3px, arrows move 3-4px.
   Nothing loops except the hero flow diagrams, and everything is static under prefers-reduced-motion. */
@font-face { font-family: 'Bricolage'; src: url('/assets/fonts/bricolage.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Instrument'; src: url('/assets/fonts/instrument.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #0e1b2a;
  --ink-2: #24364a;
  --muted: #5a6878;
  --paper: #fbf8f3;
  --paper-2: #f3eee5;
  --white: #fff;
  --line: #e6dfd3;
  --line-2: #d9cfbd;
  --field-line: #8d97a3;
  --sun: #ff7a1a;
  --sun-2: #ffb02e;
  --sun-ink: #b4470a;
  --sun-soft: #fff0df;
  --sea: #0a7069;
  --sea-2: #19b5a5;
  --sea-soft: #dff4f0;
  --night: #0a1522;
  --night-2: #12243a;
  --on-night: #e8eef5;
  --on-night-2: #b9c6d6;
  --r-chip: 10px;
  --r-card: 16px;
  --r-panel: 20px;
  --radius: var(--r-card);
  --radius-sm: var(--r-chip);
  --shadow: 0 1px 2px rgba(14, 27, 42, .04), 0 6px 20px -12px rgba(14, 27, 42, .12);
  --shadow-lg: 0 1px 2px rgba(14, 27, 42, .05), 0 18px 40px -20px rgba(14, 27, 42, .22);
  --shadow-raised: 0 24px 48px -20px rgba(10, 21, 34, .5);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: 'Bricolage', ui-sans-serif, system-ui, sans-serif;
  --body: 'Instrument', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
  --wrap: 1180px;
  --pad-section: clamp(64px, 8vw, 104px);
  /* icons used from CSS */
  --i-check-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-check-n: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1522' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-check-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7069' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d0560a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E");
  --i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --i-bulb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.6 10.8c.7.6 1.1 1.3 1.1 2.2h5c0-.9.4-1.6 1.1-2.2A6 6 0 0 0 12 3z'/%3E%3C/svg%3E");
  --i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8 8 9 4.6-1 8-4.5 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
  --i-clip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='18' rx='2'/%3E%3Cpath d='M9 4V3h6v1M9 11h6M9 15h4'/%3E%3C/svg%3E");
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
img, svg, canvas { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sun-ink); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 750; letter-spacing: -.04em; }
h2, .h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.h2-lg { font-size: clamp(2.1rem, 4.2vw, 3.25rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.375rem); letter-spacing: -.015em; line-height: 1.2; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
strong { font-weight: 650; }
::selection { background: var(--sun-2); color: var(--ink); }

/* Focus: one ring everywhere. Deep sea on light surfaces (sea-2 is under 3:1 on paper), sea-2 on dark. */
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 6px; }
:is(.section-dark, .page-hero, .hero, .site-footer, .cta-inner, .panel-dark, .card-feature, .card-featured, .roi-result, .contact-card, .rail-card, .shift-col-now) :focus-visible { outline-color: var(--sea-2); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ───────── Icon tile ─────────
   <span class="icon-tile"><svg …24px line icon…></span>. .card-icon and .shift-what i are the same thing. */
.icon-tile, .card-icon { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-chip); background: var(--paper-2); color: var(--ink); transition: background .25s, color .25s; }
.icon-tile svg, .card-icon svg { width: 20px; height: 20px; stroke-width: 1.5; }
:is(.section-dark, .card-feature, .card-featured, .card-dark, .page-hero, .hero, .contact-card, .rail-card) :is(.icon-tile, .card-icon) { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: var(--sun-2); }
.icon-tile.sm { width: 32px; height: 32px; border-radius: 8px; }
.icon-tile.sm svg { width: 17px; height: 17px; }

/* ───────── Buttons: three only ─────────
   .btn (orange, also .btn-sun), .btn-ghost (also .btn-ink), .btn-ghost-light for dark bands. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: 0 22px; font: 650 1rem/1.15 var(--body); border-radius: 12px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; background: var(--sun); color: #2a1200; box-shadow: 0 6px 16px -6px rgba(255, 122, 26, .55); transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { background: #ff8a33; color: #2a1200; transform: translateY(-1px); box-shadow: 0 10px 20px -8px rgba(255, 122, 26, .6); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sun { /* alias of .btn */ }
.btn-ghost, .btn-ink { background: transparent; color: var(--ink); border-color: rgba(14, 27, 42, .18); box-shadow: none; }
.btn-ghost:hover, .btn-ink:hover { background: var(--paper-2); border-color: var(--ink); color: var(--ink); box-shadow: none; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); box-shadow: none; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; box-shadow: none; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .92rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
@media (max-width: 479px) { .btn { white-space: normal; text-align: center; } }

/* ───────── Pills, tags, chips ───────── */
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: .4rem; font: 650 .74rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: .45rem .7rem; border-radius: 999px; background: var(--sea-soft); color: var(--sea); }
.pill-sun { background: var(--sun-soft); color: var(--sun-ink); }
.pill-plain { text-transform: none; letter-spacing: 0; font-size: .82rem; font-weight: 600; background: rgba(255, 255, 255, .08); color: #d5dfea; border: 1px solid rgba(255, 255, 255, .12); }
.pill-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } }
.dot-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .8rem; border-radius: 999px; font-size: .86rem; font-weight: 600; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #d5dfea; }
.dot-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sea-2); }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.tag-list li { padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .92rem; font-weight: 550; }
.section-dark .tag-list li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: var(--on-night); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font: 550 .92rem/1 var(--body); padding: .6rem .9rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--sea); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ───────── Header and nav ───────── */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.is-stuck { background: rgba(251, 248, 243, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-color: var(--line); }
.is-home .site-header { position: fixed; left: 0; right: 0; }
.is-home .site-header:not(.is-stuck) { color: #fff; }
.is-home .site-header:not(.is-stuck) .brand-sub { color: rgba(255, 255, 255, .85); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo-word { font: 800 1.45rem/1 var(--display); letter-spacing: -.04em; }
.brand-sub { font-size: .78rem; color: var(--muted); padding-left: .75rem; border-left: 1px solid currentColor; line-height: 1.2; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a:not(.btn) { position: relative; color: inherit; text-decoration: none; font-weight: 550; font-size: .96rem; padding: .55rem .75rem; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: .75rem; right: .75rem; bottom: 2px; height: 2px; border-radius: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a:not(.btn):hover { color: inherit; }
.nav-cta { margin-left: .6rem; min-height: 44px; padding: 0 18px; font-size: .95rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; padding: 12px; color: inherit; }
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .brand-sub { display: none; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: .75rem 1.25rem 1.5rem; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .25s, opacity .2s, visibility .2s; max-height: calc(100dvh - 76px); overflow: auto; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .25s, opacity .2s, visibility 0s; }
  .nav a:not(.btn) { padding: .95rem .25rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { left: 0; right: auto; width: 3px; top: .9rem; bottom: .9rem; height: auto; transform: scaleY(0); transform-origin: top; left: -.75rem; }
  .nav a:not(.btn):hover::after, .nav a[aria-current]::after { transform: scaleY(1); }
  .nav-cta { margin: 1rem 0 0; min-height: 52px; }
  .site-header:has(.nav.is-open) { color: var(--ink); background: var(--paper); }
  .site-header:has(.nav.is-open)::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 100dvh; background: rgba(10, 21, 34, .55); z-index: -1; }
}

/* ───────── Sections and rhythm ─────────
   Band order: paper, white, paper-2. At most one navy band per page besides hero and CTA, never two touching. */
.section { padding: var(--pad-section) 0; position: relative; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--paper-2); }
.section-white { background: var(--white); }
.section-dark { background: var(--night); color: var(--on-night); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p, .section-dark .lede, .section-dark .steps p, .section-dark .crosslist li, .section-dark .quote cite { color: var(--on-night-2); }
.section-dark a:not(.btn) { color: var(--sun-2); }
/* A navy band straight after the navy page hero would merge with it: keep them apart until the page is reordered */
.page-hero + .section-dark { background: var(--night-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
/* Light surfaces inside a dark band keep dark text */
.section-dark :is(.card:not(.card-dark, .card-feature, .card-featured), .panel:not(.panel-dark), .callout, .worked, .aside-points, .faq-list, .shift, .booking-card) { color: var(--ink); }
.section-dark :is(.card:not(.card-dark, .card-feature, .card-featured), .panel:not(.panel-dark), .callout, .worked, .aside-points) :is(h3, h4) { color: var(--ink); }
.section-dark :is(.card:not(.card-dark, .card-feature, .card-featured), .panel:not(.panel-dark), .callout, .aside-points) :is(p, li) { color: var(--muted); }
.section-dark :is(.card:not(.card-dark, .card-feature, .card-featured), .panel:not(.panel-dark), .callout, .worked, .aside-points, .faq-list) a:not(.btn) { color: var(--sea); }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 650 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); margin: 0 0 1.1rem; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
:is(.section-dark, .page-hero, .hero, .cta-inner) .eyebrow { color: var(--sun-2); }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.55; color: var(--muted); max-width: 46em; }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; }
.section-head p:not(.eyebrow) { font-size: 1.15rem; color: var(--muted); }
.section-head > :last-child { margin-bottom: 0; }
.section-dark .section-head p:not(.eyebrow) { color: var(--on-night-2); }
/* Desktop: eyebrow and H2 in columns 1-7, the lede in 8-12 on the H2's last baseline. Stacked when there is no lede. */
@media (min-width: 1000px) {
  .wrap > .section-head:not(.center):has(> p:not(.eyebrow)) { max-width: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .wrap > .section-head:not(.center):has(> p:not(.eyebrow)) > * { grid-column: 1 / 8; }
  .wrap > .section-head:not(.center):has(> p:not(.eyebrow)) > p:not(.eyebrow) { grid-column: 8 / 13; grid-row: 1 / span 3; align-self: end; margin: 0 0 .35em; font-size: 1.06rem; line-height: 1.6; }
  .wrap > .section-head:not(.center):has(> p:not(.eyebrow)) > p:not(.eyebrow) ~ p:not(.eyebrow) { grid-row: auto; }
  .wrap > .section-head:not(.center):has(> p:not(.eyebrow)) h2 { margin-bottom: 0; }
}

/* ───────── Inner page hero ───────── */
.page-hero { position: relative; background: var(--night); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0 72px; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); max-width: 18em; }
.page-hero.has-flow h1 { font-size: clamp(2.1rem, 3.9vw, 3.2rem); }
.page-hero .lede { color: var(--on-night-2); margin-bottom: 0; }
.page-hero .byline { color: #93a4b8; font-size: .95rem; margin: 1.5rem 0 0; }
.page-hero .byline a { color: #fff; }
.hero-glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(55% 80% at 95% -15%, rgba(255, 122, 26, .16), transparent 62%),
  radial-gradient(45% 70% at -5% 115%, rgba(25, 181, 165, .11), transparent 62%),
  var(--night); }
.hero-dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.2px); background-size: 26px 26px; mask-image: radial-gradient(75% 85% at 72% 45%, #000 0%, transparent 78%); -webkit-mask-image: radial-gradient(75% 85% at 72% 45%, #000 0%, transparent 78%); }
.page-hero .hero-dots { mask-image: radial-gradient(55% 90% at 82% 50%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(55% 90% at 82% 50%, #000 0%, transparent 75%); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; color: #93a4b8; margin-bottom: 1.75rem; }
.crumbs a { color: #c9d5e2; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.page-hero-grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.page-hero.has-flow .page-hero-grid { grid-template-columns: minmax(0, 1fr) 480px; }
.page-hero .flow { width: 100%; }
.meta-pills { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.meta-pills li { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #d5dfea; font-size: .86rem; font-weight: 600; }
.meta-pills a { color: #fff; text-decoration: none; }
.meta-pills svg { width: 15px; height: 15px; color: var(--sun-2); }

/* Framed diagram panel (inner heroes, and the home hero via .hero .flow) */
.hero-panel { position: relative; isolation: isolate; width: 100%; max-width: 480px; justify-self: end; padding: 44px 16px 14px; border-radius: var(--r-panel); background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09); }
.hero-panel::before, .hero .flow::before { content: ''; position: absolute; z-index: -1; inset: -18% -14%; background: radial-gradient(closest-side, rgba(255, 122, 26, .14), transparent); pointer-events: none; }
.hero-panel-head { position: absolute; top: 0; left: 0; right: 0; margin: 0; padding: 14px 18px 0; font: 500 12px/1.2 var(--mono); color: rgba(255, 255, 255, .55); letter-spacing: .02em; display: flex; align-items: center; gap: .5rem; }
.hero-panel-head::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sea-2); }
.hero-panel-head:empty { display: none; }

/* Demo pages: compact hero so the tool is on screen straight away */
.page-demo .page-hero { padding: 1.5rem 0 4rem; }
.page-demo .page-hero h1 { font-size: clamp(1.75rem, 3vw, 2.4rem); max-width: 24em; margin-bottom: .3em; }
.page-demo .page-hero .lede { font-size: 1.06rem; max-width: 52em; margin: 0; }
.page-demo .page-hero .crumbs { margin-bottom: .9rem; }
.page-demo .page-hero .eyebrow { margin-bottom: .6rem; }
/* "For illustration" note: one pill, detail on hover/focus or tap */
.model-note { margin: .9rem 0 0; max-width: 52em; font-size: .9rem; line-height: 1.45; color: #c9d5e2; }
.model-note summary { display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .8rem .38rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-weight: 600; color: #e8eef5; cursor: pointer; list-style: none; }
.model-note summary::-webkit-details-marker { display: none; }
.model-note summary svg { width: 16px; height: 16px; color: var(--sun-2); }
.model-note summary:hover { border-color: rgba(255, 255, 255, .3); }
.model-note p { margin: .6rem 0 0; max-width: 46em; }
.model-note strong { color: #fff; }
@media (max-width: 900px) {
  .page-hero { padding: 40px 0; }
  .page-hero.has-flow .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-panel { max-width: none; justify-self: stretch; padding-top: 40px; }
  .page-demo .page-hero { padding: 1.25rem 0 3.5rem; }
}

/* ───────── Grid and cards ───────── */
.grid { display: grid; gap: 1.25rem; }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid + p, .compare + p, .stat-row + p, .steps + p, .bento + p, .shift + p { margin-top: 1.75rem; max-width: 62ch; }

/* .card: the one interactive card. Whole card is clickable through a stretched .card-link. */
.card { position: relative; display: flex; flex-direction: column; gap: .35rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card::before { content: ''; position: absolute; top: -1px; left: 28px; width: 44px; height: 3px; border-radius: 0 0 3px 3px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card > .icon-tile, .card > .card-icon { margin-bottom: .75rem; }
.card > .pill { margin-bottom: .2rem; }
.card h3 { margin: .25rem 0 .2rem; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card > p + p { margin-top: .7em; }
.card .card-link { display: flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 16px; font-weight: 650; font-size: .95rem; color: var(--sea); text-decoration: none; }
.card > :not(.card-link) + .card-link { margin-top: auto; }
.card > .card-link { position: static; border-top: 1px solid var(--line); margin-top: auto; }
.card > p:last-of-type + .card-link, .card > ul + .card-link { margin-top: auto; }
.card > :has(+ .card-link:last-child) { margin-bottom: 20px; }
.card .card-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card :is(a, button):not(.card-link) { position: relative; z-index: 2; }
.card .card-link svg { transition: transform .2s var(--ease); }
.card .card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 2px solid var(--sea); outline-offset: 3px; }
a.card:focus-visible { outline-offset: 3px; }
/* spacing: give the hairline above the link room in cards that end in a list */
.card > ul + .card-link, .card > ol + .card-link { margin-top: auto; }
.card > .checklist, .card > .ticks { margin-bottom: 1.25rem; }
.card > .checklist:last-child, .card > .ticks:last-child { margin-bottom: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(a.card, .card:has(.card-link)):is(:hover, :focus-within) { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
  :is(a.card, .card:has(.card-link)):is(:hover, :focus-within)::before { transform: scaleX(1); }
  :is(a.card, .card:has(.card-link)):is(:hover, :focus-within) :is(.icon-tile, .card-icon) { background: var(--ink); color: #fff; }
  :is(a.card, .card:has(.card-link)):is(:hover, :focus-within) .card-link svg { transform: translateX(4px); }
}
@media (hover: hover) and (prefers-reduced-motion: reduce) {
  :is(a.card, .card:has(.card-link)):hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); }
}
@media (max-width: 600px) { .card { padding: 22px; } .card::before { left: 22px; } }
.card-dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); box-shadow: none; color: var(--on-night); }
.card-dark p { color: var(--on-night-2); }
.card-dark .card-link { color: var(--sun-2); border-color: rgba(255, 255, 255, .12); }
/* Raised dark card: the featured tier on pricing and anything else that should lead its row */
.card-feature { background: var(--night); color: var(--on-night); border-color: transparent; border-radius: var(--r-panel); box-shadow: var(--shadow-raised); }
.card-feature p, .card-feature li { color: var(--on-night-2); }
.card-feature h3 { color: #fff; }
.card-feature .card-link, .card-feature a:not(.btn) { color: var(--sun-2); }
.card-feature .card-link { border-color: rgba(255, 255, 255, .12); }
.card-feature .pill:not(.pill-sun) { background: rgba(255, 255, 255, .08); color: #d5dfea; }
.grid:has(> .card-feature) { align-items: stretch; }
@media (min-width: 900px) { .grid.three > .card-feature:has(.tier-time) { margin-block: -12px; padding-block: 40px; } }
.card-tag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: .4rem .85rem; border-radius: 999px; background: var(--sun); color: #2a1200; font: 700 .74rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(255, 122, 26, .6); }
.tier-time { margin: 1rem 0 .25rem; padding: .9rem 0; border-block: 1px solid var(--line); }
.card-feature .tier-time { border-color: rgba(255, 255, 255, .12); }
.tier-time span { display: block; font: 650 .74rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.card-feature .tier-time span { color: #93a4b8; }
.tier-time b { font: 600 1.25rem/1.2 var(--display); letter-spacing: -.01em; }
.card > .btn:last-child { margin-top: auto; width: 100%; }
.card-feature .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.card-feature .btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }
/* Legacy tints and the dashed "idea" card now render as plain cards */
.card-sun, .card-sea, .card-idea { background: var(--white); border: 1px solid var(--line); }
.card-sun p, .card-sea p { color: var(--muted); }
.cards-demo .card { padding-top: 26px; }
/* Full-width strip under a card grid */
.card-cta { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 88px; margin-top: 1.25rem; padding: 18px 18px 18px 32px; border-radius: var(--r-card); background: var(--night); color: #fff; }
.card-cta::before { content: ''; position: absolute; z-index: -1; inset: -60% -10% auto auto; width: 40%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 122, 26, .22), transparent); }
.card-cta p { margin: 0; font: 600 1.25rem/1.3 var(--display); letter-spacing: -.015em; color: #fff; }
.card-cta p span { color: var(--on-night-2); font: 400 1rem/1.4 var(--body); letter-spacing: 0; display: block; margin-top: .2rem; }
@media (max-width: 700px) { .card-cta { flex-direction: column; align-items: stretch; padding: 22px; } .card-cta .btn { width: 100%; } }

/* Featured article card (insights index) */
.card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; padding: clamp(28px, 4vw, 44px); background: var(--night); color: var(--on-night); border-color: transparent; border-radius: var(--r-panel); box-shadow: var(--shadow-raised); overflow: hidden; isolation: isolate; }
.card-featured::after { content: ''; position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 50%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 122, 26, .2), transparent); }
.card-featured h3 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2rem); margin: .75rem 0 0; }
.card-featured p { color: var(--on-night-2); }
.card-featured .card-meta { color: #93a4b8; }
.card-featured .card-link { color: var(--sun-2); border-color: rgba(255, 255, 255, .12); }
.card-featured .pill { background: rgba(255, 255, 255, .08); color: #d5dfea; }
.card-featured > div { display: flex; flex-direction: column; gap: .5rem; }
.card-featured > div:first-child { align-self: start; }
@media (max-width: 800px) { .card-featured { grid-template-columns: 1fr; } }
.card-meta, .card .card-meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .82rem; color: var(--muted); margin: .4rem 0 0; }
.card-meta > * + *::before { content: '·'; margin-right: .9rem; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.card-top .icon-tile { margin: 0; }

/* Bento (kept for older markup) */
.bento { display: grid; gap: 1.25rem; grid-template-columns: repeat(6, 1fr); }
.bento > * { grid-column: span 2; }
.bento > .wide { grid-column: span 4; }
.bento > .half { grid-column: span 3; }
.bento .card { min-height: 220px; }
@media (max-width: 900px) { .bento > *, .bento > .wide, .bento > .half { grid-column: span 6; } }

/* ───────── Split sections and designed asides ───────── */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; }
.split.top { align-items: start; }
.split > * > p:last-child { margin-bottom: 0; }
.split .sticky, .split > .aside-points, .split > .aside-quote, .split > * > .aside-points:only-child, .split > * > .aside-quote:only-child { position: sticky; top: 110px; align-self: start; }
.prose-col { max-width: 62ch; font-size: 1.125rem; line-height: 1.7; }
.aside-points { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow); }
.aside-points > header, .aside-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; font: 650 .8rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.aside-points .ticks, .aside-points .checklist { gap: 0; margin: 0; }
.aside-points .ticks li, .aside-points .checklist li { padding-block: 14px; border-top: 1px solid var(--line); }
.aside-points .ticks li::before, .aside-points .checklist li::before { top: 14px; margin-top: 1px; }
.aside-quote { position: relative; background: var(--paper-2); border-radius: var(--r-card); padding: 28px 28px 28px 32px; font: 600 1.5rem/1.3 var(--display); letter-spacing: -.02em; color: var(--ink); margin: 0; }
.aside-quote::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px; border-radius: 0 4px 4px 0; background: var(--sun); }
.aside-quote cite { display: block; margin-top: 1rem; font: 500 .95rem/1.4 var(--body); font-style: normal; letter-spacing: 0; color: var(--muted); }
.section-alt .aside-quote { background: var(--white); }
/* At this width a two-column split has room; its home "who you're dealing with" version is 7/5 */
@media (min-width: 900px) {
  .split:has(> .portrait:last-child), .split:has(> :last-child > .monogram) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split:has(> .portrait:first-child), .split:has(> :first-child > .monogram) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split > :first-child > .monogram, .split > .portrait:first-child { justify-self: start; }
}

/* ───────── Ticks (.ticks, and .checklist which shares it) ───────── */
.ticks, .checklist { list-style: none; padding: 0; margin: 0 0 1.1em; display: grid; gap: 14px; }
.ticks li, .checklist li { position: relative; padding-left: 36px; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.ticks li::before, .checklist li::before { content: ''; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--sea) var(--i-check-w) center / 12px no-repeat; }
.ticks li.no::before, .ticks.no li::before { background: rgba(255, 122, 26, .14) var(--i-x) center / 12px no-repeat; }
.ticks.no li, .ticks li.no { color: var(--muted); }
:is(.section-dark, .card-feature, .card-featured, .cta-inner, .contact-card, .rail-card, .roi-result) :is(.ticks, .checklist) li { color: var(--on-night); }
:is(.section-dark, .card-feature, .card-featured, .cta-inner, .contact-card, .rail-card, .roi-result) :is(.ticks, .checklist) li::before { background-color: var(--sea-2); background-image: var(--i-check-n); }
.section-dark :is(.card:not(.card-dark, .card-feature, .card-featured), .panel:not(.panel-dark), .callout, .aside-points, .booking-card) :is(.ticks, .checklist) li { color: var(--ink); }
.section-dark :is(.card:not(.card-dark, .card-feature, .card-featured), .panel:not(.panel-dark), .callout, .aside-points, .booking-card) :is(.ticks, .checklist) li::before { background-color: var(--sea); background-image: var(--i-check-w); }
.crosslist { list-style: none; padding: 0; margin: 0 0 1.1em; display: grid; gap: 14px; }
.crosslist li { position: relative; padding-left: 36px; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.crosslist li::before { content: ''; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 122, 26, .14) var(--i-x) center / 12px no-repeat; }
.section-dark .crosslist li { color: #dbe4ee; }
.section-dark .crosslist li::before { background-color: rgba(255, 122, 26, .2); }
.section-dark :is(.card:not(.card-dark, .card-feature), .panel:not(.panel-dark)) .crosslist li { color: var(--muted); }

/* ───────── Steps: a timeline, no boxes ─────────
   <ol class="steps"><li><h3>…</h3><p>…</p><span class="step-time">A few days</span></li>…</ol>
   Horizontal from 900px. Vertical (.steps--rail, inside a .split, or below 900px). */
.steps { --n: 4; --c: 48px; list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 28px; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); counter-reset: step; }
.steps:has(> li:nth-child(2):last-child) { --n: 2; }
.steps:has(> li:nth-child(3):last-child) { --n: 3; }
.steps:has(> li:nth-child(5):last-child) { --n: 5; }
.steps:has(> li:nth-child(6):last-child) { --n: 6; }
.steps > li { counter-increment: step; position: relative; padding: 0; background: none; border: 0; box-shadow: none; }
.steps > li::before { content: counter(step); position: relative; z-index: 1; display: grid; place-items: center; width: var(--c); height: var(--c); margin-bottom: 1.25rem; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--sun); font: 600 1rem/1 var(--display); color: var(--ink); }
.steps > li:last-child::before { content: ''; background: var(--sun) var(--i-check-w) center / 18px no-repeat; box-shadow: none; }
.steps::before, .steps::after { content: ''; position: absolute; z-index: 0; top: calc(var(--c) / 2 - 1px); left: calc(var(--c) / 2); right: calc((100% - (var(--n) - 1) * 28px) / var(--n) - var(--c) / 2); height: 2px; border-radius: 2px; background: var(--line); }
.steps::after { background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .15s; }
.steps.is-in::after, .steps:has(> li.is-in)::after, html:not(.js) .steps::after, .steps.is-static::after { transform: scaleX(1); }
.steps h3 { font: 600 1.25rem/1.25 var(--display); letter-spacing: -.015em; margin: 0 0 .4rem; }
.steps p { color: var(--muted); margin: 0; font-size: 1rem; line-height: 1.55; }
.step-time { display: inline-block; margin-top: .75rem; padding: .3rem .7rem; border-radius: 999px; background: var(--sea-soft); color: var(--sea); font: 600 .8125rem/1.2 var(--body); }
.section-dark .steps::before { background: rgba(255, 255, 255, .18); }
.section-dark .steps > li::before { background-color: var(--night-2); box-shadow: inset 0 0 0 2px var(--sun-2); color: #fff; }
.section-dark .steps > li:last-child::before { background-color: var(--sun); box-shadow: none; }
.section-dark .step-time { background: rgba(25, 181, 165, .16); color: #7fe0d4; }
/* vertical */
.steps--rail, .split .steps { --c: 40px; grid-template-columns: 1fr !important; gap: 28px; }
.steps--rail > li, .split .steps > li { padding-left: calc(var(--c) + 20px); min-height: var(--c); }
.steps--rail > li::before, .split .steps > li::before { position: absolute; left: 4px; top: -4px; margin: 0; font-size: .95rem; }
.steps--rail > li h3, .split .steps > li h3 { font-size: 1.125rem; padding-top: 4px; }
.steps--rail::before, .steps--rail::after, .split .steps::before, .split .steps::after { top: calc(var(--c) / 2); bottom: calc(var(--c) / 2); left: 23px; right: auto; width: 2px; height: auto; }
.steps--rail::after, .split .steps::after { transform: scaleY(0); transform-origin: top; }
.steps--rail.is-in::after, .steps--rail:has(> li.is-in)::after, .split .steps.is-in::after, .split .steps:has(> li.is-in)::after, html:not(.js) :is(.steps--rail, .split .steps)::after, .split .steps.is-static::after { transform: scaleY(1); }
@media (max-width: 899px) {
  .steps { --c: 40px; grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps > li { padding-left: calc(var(--c) + 20px); min-height: var(--c); }
  .steps > li::before { position: absolute; left: 4px; top: -4px; margin: 0; font-size: .95rem; }
  .steps > li h3 { font-size: 1.125rem; padding-top: 4px; }
  .steps::before, .steps::after { top: calc(var(--c) / 2); bottom: calc(var(--c) / 2); left: 23px; right: auto; width: 2px; height: auto; }
  .steps::after { transform: scaleY(0); transform-origin: top; }
  .steps.is-in::after, .steps:has(> li.is-in)::after, html:not(.js) .steps::after { transform: scaleY(1); }
}

/* ───────── Fact strip (.stat-row is the same component) ─────────
   <div class="fact-strip"><div class="stat"><span class="icon-tile">…</span><b>30<small>yrs</small></b><span>caption</span></div>…</div> */
.stat-row, .fact-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { display: flex; flex-direction: column; gap: .35rem; padding: 28px; border-left: 1px solid var(--line); margin-left: -1px; }
.stat > .icon-tile { margin-bottom: .6rem; }
.stat b { display: flex; align-items: baseline; gap: .2rem; font: 700 clamp(2.4rem, 4vw, 3.25rem)/1 var(--display); letter-spacing: -.04em; color: var(--ink); }
.stat b small { font-size: .5em; letter-spacing: -.01em; color: var(--sun); font-weight: 700; }
.stat b.word { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.stat > span:not(.icon-tile) { color: var(--muted); font-size: .94rem; line-height: 1.45; }
.section-dark :is(.stat-row, .fact-strip), .fact-strip.dark { background: var(--night-2); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.section-dark .stat, .fact-strip.dark .stat { border-color: rgba(255, 255, 255, .1); }
.section-dark .stat b, .fact-strip.dark .stat b { color: #fff; }
.section-dark .stat b small, .fact-strip.dark .stat b small { color: var(--sun-2); }
.section-dark .stat > span:not(.icon-tile), .fact-strip.dark .stat > span:not(.icon-tile) { color: var(--on-night-2); }
@media (max-width: 700px) {
  .stat-row, .fact-strip { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px; border-top: 1px solid var(--line); margin-top: -1px; }
  .section-dark .stat { border-top-color: rgba(255, 255, 255, .1); }
  .stat-row:has(> .stat:nth-child(3):last-child) > .stat:last-child { grid-column: 1 / -1; }
}

/* ───────── Shift: the one comparison component ─────────
   .shift (rows: icon + label, before, after). .shift--pair keeps both columns as plain text (e.g. plumber vs factory). */
.shift { --cols: 220px minmax(0, 1fr) minmax(0, 1.1fr); position: relative; isolation: isolate; display: grid; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); margin-block: 12px; }
.shift::before { content: ''; position: absolute; z-index: -1; top: -13px; bottom: -13px; right: -1px; width: calc((100% - 220px) * 1.1 / 2.1); background: var(--night); border-radius: var(--r-panel); box-shadow: var(--shadow-raised); }
.shift-head, .shift-row { display: grid; grid-template-columns: var(--cols); }
.shift-head > span, .shift-row > span { display: flex; align-items: center; gap: .55rem; padding: 0 24px; }
.shift-head { min-height: 56px; font: 650 .75rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.shift-head > span:nth-child(2)::before { content: ''; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--i-clock) center / contain no-repeat; mask: var(--i-clock) center / contain no-repeat; }
.shift-head .shift-now { color: var(--sun-2); padding-left: 32px; }
.shift-row { min-height: 64px; }
.shift-row > span { padding-block: 12px; border-top: 1px solid var(--line); }
.shift-row > .shift-now { border-top-color: rgba(255, 255, 255, .1); }
.shift-what { gap: .9rem !important; font: 650 1.02rem/1.25 var(--display); letter-spacing: -.01em; }
.shift-what i, .shift-what .icon-tile { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-chip); background: var(--paper-2); color: var(--ink); }
.shift-what svg { width: 20px; height: 20px; stroke-width: 1.5; }
.shift-then { color: var(--muted); font-size: 1rem; text-decoration: line-through; text-decoration-color: rgba(90, 104, 120, .5); text-decoration-thickness: 1px; }
.shift-row .shift-now { position: relative; color: #fff; font: 600 1rem/1.35 var(--body); padding-left: 64px !important; }
.shift-row .shift-now::before { content: ''; position: absolute; left: 32px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: var(--sea-2) var(--i-check-n) center / 11px no-repeat; }
.shift--pair .shift-then { text-decoration: none; color: var(--ink); }
.shift--pair .shift-head > span:nth-child(2)::before { display: none; }
.shift--pair .shift-row .shift-now::before { display: none; }
.shift--pair .shift-row .shift-now { padding-left: 32px !important; }
.js .shift.reveal:not(.is-in) .shift-row { opacity: 0; }
.shift-row { transition: opacity .5s ease-out; }
.shift.is-in .shift-row:nth-child(2) { transition-delay: .06s; } .shift.is-in .shift-row:nth-child(3) { transition-delay: .12s; } .shift.is-in .shift-row:nth-child(4) { transition-delay: .18s; } .shift.is-in .shift-row:nth-child(5) { transition-delay: .24s; } .shift.is-in .shift-row:nth-child(6) { transition-delay: .3s; } .shift.is-in .shift-row:nth-child(n+7) { transition-delay: .36s; }
@media (max-width: 1000px) { .shift { --cols: 180px minmax(0, 1fr) minmax(0, 1.1fr); } .shift::before { width: calc((100% - 180px) * 1.1 / 2.1); } .shift-head > span, .shift-row > span { padding-inline: 16px; } }
@media (max-width: 800px) {
  .shift { background: none; border: 0; box-shadow: none; gap: 12px; margin-block: 0; }
  .shift::before, .shift-head { display: none; }
  .shift-row { grid-template-columns: 1fr; min-height: 0; gap: .6rem; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
  .shift-row > span { padding: 0 !important; border: 0; }
  .shift-then { font-size: .95rem; padding-left: 2px !important; }
  .shift-row .shift-now { padding: 12px 14px 12px 46px !important; background: var(--night); border-radius: 12px; }
  .shift-row .shift-now::before { left: 14px; }
  .shift--pair .shift-row .shift-now { padding-left: 14px !important; }
}

/* Legacy Before/After pair (.compare > .then + .now): same look as .shift until pages move to it */
.compare { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); margin-block: 12px; }
.compare > div { padding: clamp(24px, 3vw, 36px); }
.compare > .then { background: transparent; }
.compare > .now { position: relative; margin: -13px -1px -13px 0; padding-block: calc(clamp(24px, 3vw, 36px) + 13px); background: var(--night); color: var(--on-night); border-radius: var(--r-panel); box-shadow: var(--shadow-raised); }
.compare h3 { display: flex; align-items: center; gap: .55rem; font: 650 .75rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.25rem; }
.compare .then h3::before { content: ''; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--i-clock) center / contain no-repeat; mask: var(--i-clock) center / contain no-repeat; }
.compare .now h3 { color: var(--sun-2); }
.compare .then li { text-decoration: line-through; text-decoration-color: rgba(90, 104, 120, .5); text-decoration-thickness: 1px; }
.compare .now li { color: #fff; font-weight: 600; }
.compare :is(.crosslist, .checklist, .ticks) { gap: 0; margin: 0; }
.compare :is(.crosslist, .checklist, .ticks) li { padding-block: 14px; border-top: 1px solid var(--line); }
.compare :is(.crosslist, .checklist, .ticks) li::before { top: 14px; }
.compare .now :is(.crosslist, .checklist, .ticks) li { border-top-color: rgba(255, 255, 255, .1); }
.compare .now :is(.checklist, .ticks) li::before { background-color: var(--sea-2); background-image: var(--i-check-n); }
.compare dl { margin: 0; display: grid; }
.compare dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.compare .now dl > div { border-color: rgba(255, 255, 255, .1); }
.compare dt { color: var(--muted); flex: none; }
.compare .now dt { color: #9fb0c3; }
.compare dd { margin: 0; font-weight: 650; text-align: right; }
@media (max-width: 800px) {
  .compare { grid-template-columns: minmax(0, 1fr); margin-block: 0; }
  .compare > .now { margin: 0 12px 12px; border-radius: 12px; padding: 20px; }
  .compare dl > div { flex-direction: column; gap: .15rem; }
  .compare dd { text-align: left; }
}

/* ───────── Callout: one style ─────────
   .callout (lightbulb), .callout--limit (shield), .callout--process (clipboard). .callout.sea is the same look. */
.callout { position: relative; margin: 2rem 0; padding: 22px 26px 22px 64px; border-radius: var(--r-card); background: var(--paper-2); color: var(--ink); font-size: 1.0625rem; }
.callout::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--sun); }
.callout::after { content: ''; position: absolute; left: 26px; top: 24px; width: 22px; height: 22px; background: var(--ink-2); -webkit-mask: var(--i-bulb) center / contain no-repeat; mask: var(--i-bulb) center / contain no-repeat; }
.callout--limit::after { -webkit-mask-image: var(--i-shield); mask-image: var(--i-shield); }
.callout--process::after { -webkit-mask-image: var(--i-clip); mask-image: var(--i-clip); }
.section-alt .callout { background: var(--white); border: 1px solid var(--line); }
.callout > :first-child, .prose .callout :is(h3, h4) { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout :is(h3, h4) { margin-bottom: .4rem; font-size: 1.15rem; }
.callout p { color: var(--ink-2); }
.callout .btn { margin-top: .5rem; }
.split > * > .callout:first-child { margin-top: 0; }

/* Quote and pull-quote */
.quote, .pull-quote { font: 600 clamp(1.4rem, 2.6vw, 1.75rem)/1.3 var(--display); letter-spacing: -.02em; margin: 0; padding-left: 1.5rem; border-left: 4px solid var(--sun); color: var(--ink); }
.pull-quote { margin: 2.25rem 0; font-size: clamp(1.35rem, 2.2vw, 1.625rem); }
.quote cite, .pull-quote cite { display: block; font: 500 1rem/1.4 var(--body); letter-spacing: 0; color: var(--muted); margin-top: 1rem; font-style: normal; }

/* ───────── Worked example: a receipt ─────────
   See docs for markup. Bars read --before/--after (or data-before/data-after hours, set by site.js). */
.worked { --after: 40%; position: relative; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--sea); border-radius: var(--r-card); padding: 24px 28px; box-shadow: var(--shadow); color: var(--ink); font-size: .9375rem; }
.prose .worked { margin: 2rem 0; }
.worked-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.worked-label { font: 650 .75rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); margin: 0; }
.worked-head .pill { background: var(--sun-soft); color: var(--sun-ink); }
.worked h3 { font-size: 1.15rem; margin: 0 0 .75rem; }
.worked-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.worked-rows li { display: flex; align-items: baseline; gap: .5rem; margin: 0; }
.worked-rows li::after { content: ''; order: 1; flex: 1; border-bottom: 1.5px dotted #cfc5b3; transform: translateY(-4px); }
.worked-rows li > :last-child { order: 2; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.worked-total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.worked-total span { font-weight: 650; }
.worked-total b { font: 700 clamp(2.2rem, 4vw, 2.75rem)/1 var(--display); letter-spacing: -.035em; color: var(--sea); font-variant-numeric: tabular-nums; }
.worked-bars { display: grid; gap: .6rem; margin-top: 1.1rem; }
.worked-bar { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: .75rem; font-size: .8125rem; color: var(--muted); }
.worked-bar i { display: block; height: 8px; border-radius: 99px; background: var(--line); }
.worked-bar i::after { content: ''; display: block; height: 100%; width: 100%; border-radius: inherit; }
.worked-bar.after i { background: var(--paper-2); }
.worked-bar.after i::after { width: var(--after); background: var(--sea-2); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .2s; }
.worked.is-in .worked-bar.after i::after, html:not(.js) .worked-bar.after i::after, .reveal.is-in .worked .worked-bar.after i::after { transform: scaleX(1); }
.worked-foot { margin: 1rem 0 0; font-size: .8125rem; color: var(--muted); }
.worked-foot a { color: var(--sun-ink); font-weight: 650; }
@media (max-width: 600px) { .worked { padding: 20px; } }

/* ───────── FAQ ───────── */
.faq-list { display: grid; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
details.faq { position: relative; background: transparent; border: 0; border-radius: 0; transition: background .2s; }
details.faq + details.faq { border-top: 1px solid var(--line); }
details.faq::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--sun); transform: scaleY(0); transition: transform .25s var(--ease); }
details.faq[open] { background: var(--paper); }
details.faq[open]::before { transform: scaleY(1); }
details.faq summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: 20px 76px 20px 24px; cursor: pointer; list-style: none; font: 600 1.125rem/1.35 var(--display); letter-spacing: -.01em; color: var(--ink); transition: color .2s; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary:hover { color: var(--sea); }
details.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--r-card); }
details.faq summary::before { content: ''; position: absolute; right: 24px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); transition: background .25s, border-color .25s; }
details.faq summary::after { content: ''; position: absolute; right: 33px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--ink); -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat; transition: transform .3s var(--ease), background .25s; }
details.faq[open] summary::before { background: var(--sun); border-color: var(--sun); }
details.faq[open] summary::after { background: #fff; transform: rotate(45deg); }
details.faq > :not(summary) { padding: 0 24px; margin: 0; max-width: calc(62ch + 48px); font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }
details.faq > :not(summary) + :not(summary) { margin-top: .8em; }
details.faq > :last-child { padding-bottom: 22px; }
@supports selector(::details-content) {
  details.faq { interpolate-size: allow-keywords; }
  details.faq::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
  details.faq[open]::details-content { block-size: auto; }
}
.faq-list + *, .faq-layout + * { margin-top: 28px; }
.section-dark .faq-list { box-shadow: none; }
/* Two columns from 1000px: intro sticky on the left (4), the list on the right (8) */
@media (min-width: 1000px) {
  .wrap:has(> .section-head + .faq-list) { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-rows: auto 1fr; column-gap: clamp(32px, 4vw, 56px); align-items: start; }
  .wrap:has(> .section-head + .faq-list) > * { grid-column: 2; }
  .wrap:has(> .section-head + .faq-list) > .section-head { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 110px; margin: 0; max-width: none; display: block; }
  .wrap:has(> .section-head + .faq-list) > .section-head h2 { font-size: 2.25rem; }
  .wrap:has(> .section-head + .faq-list) > .section-head p:not(.eyebrow) { font-size: 1rem; }
}
@media (max-width: 600px) {
  details.faq summary { min-height: 56px; padding: 16px 64px 16px 18px; font-size: 1rem; }
  details.faq summary::before { right: 16px; }
  details.faq summary::after { right: 25px; }
  details.faq > :not(summary) { padding-inline: 18px; font-size: 1rem; }
  .faq-ask .faq-ask-who { display: none; }
}
/* "Michael answers these himself" block under the FAQ heading */
.faq-ask { margin-top: 1.25rem; display: grid; gap: 1rem; justify-items: start; }
.faq-ask > p { margin: 0; font-size: 1rem; color: var(--ink-2); }
.faq-ask-who { display: flex; align-items: center; gap: .75rem; font-size: .875rem; color: var(--muted); line-height: 1.35; }
.faq-ask-who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.section-dark .faq-ask > p { color: var(--on-night); }
/* /faq/ page: sticky jump list on the left, groups on the right */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 4vw, 56px); align-items: start; }
.faq-side { position: sticky; top: 110px; display: grid; gap: 1.5rem; }
.faq-jump { list-style: none; margin: 0; padding: 0; display: grid; border-left: 1px solid var(--line); }
.faq-jump a { position: relative; display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0 .6rem 1.1rem; color: var(--muted); font-weight: 600; text-decoration: none; }
.faq-jump a::before { content: ''; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--sun); transform: scaleY(0); transition: transform .2s var(--ease); }
.faq-jump a:hover, .faq-jump a.is-active { color: var(--ink); }
.faq-jump a.is-active::before { transform: scaleY(1); }
.faq-jump small { font-size: .8rem; font-weight: 600; color: var(--muted); background: var(--paper-2); border-radius: 999px; padding: .1rem .5rem; align-self: center; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group > h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); margin-bottom: 1rem; scroll-margin-top: 110px; }
.ask-card { background: var(--paper-2); border-radius: var(--r-card); padding: 22px; }
@media (max-width: 999px) { .faq-layout { grid-template-columns: 1fr; } .faq-side { position: static; } .faq-jump { display: flex; flex-wrap: wrap; gap: .4rem; border: 0; } .faq-jump a { padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); } .faq-jump a::before { display: none; } }

/* ───────── Prose and article layout ───────── */
.prose { max-width: 68ch; font-size: 1.125rem; line-height: 1.7; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2.2em; scroll-margin-top: 100px; }
.prose h3 { margin-top: 1.8em; }
.prose li { margin-bottom: .45em; }
.prose > ul:not([class]), .prose > ol:not([class]) { list-style: none; padding-left: 0; }
.prose > ul:not([class]) > li { position: relative; padding-left: 1.6rem; }
.prose > ul:not([class]) > li::before { content: ''; position: absolute; left: .3rem; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.prose > ol:not([class]) { counter-reset: li; }
.prose > ol:not([class]) > li { position: relative; padding-left: 2.4rem; counter-increment: li; }
.prose > ol:not([class]) > li::before { content: counter(li); position: absolute; left: 0; top: .1em; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--sea-soft); color: var(--sea); font: 700 .85rem/1 var(--body); }
.prose blockquote { margin: 2.25rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 4px solid var(--sun); font: 600 1.5rem/1.35 var(--display); letter-spacing: -.015em; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; margin: 1.5rem 0; font-size: 1rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 650 .82rem/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.prose .table-scroll { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); margin: 1.75rem 0; }
.prose .table-scroll table { margin: 0; }
.prose .table-scroll tr:last-child td { border-bottom: 0; }
/* Numbered H2s: "<h2>1. Quoting</h2>" becomes <h2 class="h-num"><span class="h-num-n">1</span>Quoting</h2> at build time */
.h-num-n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: .6rem; border-radius: 50%; background: var(--ink); color: #fff; font: 700 1rem/1 var(--display); letter-spacing: 0; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--sun); }
@media (min-width: 1100px) { .prose .h-num { position: relative; } .prose .h-num-n { position: absolute; left: -64px; top: -2px; margin: 0; } }
.article-layout { display: grid; grid-template-columns: minmax(0, 68ch) 260px; justify-content: space-between; gap: 3rem; align-items: start; }
.article-layout > .prose { grid-column: 1; grid-row: 1; }
.article-rail { grid-column: 2; grid-row: 1; position: sticky; top: 100px; display: grid; gap: 1.5rem; }
.article-aside { position: sticky; top: 110px; display: grid; gap: 1rem; }
.toc summary { list-style: none; font: 650 .75rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; position: relative; display: grid; }
.toc ol::before { content: ''; position: absolute; left: 2px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.toc a { position: relative; display: block; padding: .38rem 0 .38rem 1.25rem; font-size: .8125rem; line-height: 1.35; color: var(--muted); text-decoration: none; }
.toc a::before { content: ''; position: absolute; left: 0; top: .72rem; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background .2s, transform .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); font-weight: 600; }
.toc a.is-active::before { background: var(--sun); transform: scale(1.35); }
.rail-card { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: var(--on-night); border-radius: var(--r-card); padding: 22px; }
.rail-card::before { content: ''; position: absolute; z-index: -1; inset: -50% -30% auto auto; width: 90%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 122, 26, .25), transparent); }
.rail-card p { font: 600 1.06rem/1.35 var(--display); color: #fff; margin: 0 0 1rem; }
@media (max-width: 1020px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .article-rail { grid-column: 1; grid-row: auto; position: static; }
  .article-rail .rail-card { display: none; }
  .toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 0; }
  .toc summary { margin: 0; padding: 16px 20px; cursor: pointer; display: flex; justify-content: space-between; }
  .toc summary::after { content: '+'; font-size: 1.1rem; line-height: .6; color: var(--ink); }
  .toc[open] summary::after { content: '−'; }
  .toc ol { padding: 0 20px 16px; }
  .toc ol::before { left: 22px; top: 6px; bottom: 26px; }
  .article-aside { position: static; }
}
/* End of article: author and next/previous */
.article-end { max-width: 68ch; margin-top: 3rem; display: grid; gap: 1.25rem; }
.author-row { display: flex; align-items: center; gap: 1rem; padding: 20px 0; border-block: 1px solid var(--line); }
.author-row img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.author-row p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.45; }
.author-row b { display: block; color: var(--ink); font: 650 1.02rem/1.3 var(--display); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-nav .card { padding: 20px 22px; }
.post-nav .card h3 { font-size: 1.05rem; }
.post-nav small { font: 650 .72rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-nav .next { text-align: right; align-items: flex-end; }
.post-nav .next .card-link { align-self: stretch; justify-content: flex-end; }
.post-nav .next:only-child { grid-column: 2; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next:only-child { grid-column: 1; } }

/* ───────── Closing section: CTA band bridging into the footer ───────── */
.cta-band { padding: clamp(32px, 4vw, 56px) 0 0; background: linear-gradient(180deg, transparent 50%, var(--night) 50%); }
.cta-band + * { margin-top: 0; }
.cta-inner { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: 2.5rem 4rem; background: var(--night-2); color: #fff; border-radius: var(--r-panel); padding: clamp(28px, 5vw, 64px); box-shadow: var(--shadow-raised); border: 1px solid rgba(255, 255, 255, .06); }
.cta-inner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 90% at 100% 0%, rgba(255, 122, 26, .22), transparent 62%); }
.cta-inner > div:first-child { max-width: 600px; }
.cta-inner h2 { color: #fff; font-size: clamp(1.85rem, 3.4vw, 2.75rem); letter-spacing: -.035em; }
.cta-inner p { color: #c9d5e2; margin: 0; font-size: 1.0625rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.cta-chips li { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .06); font: 600 .8125rem/1 var(--body); color: #e8eef5; }
.cta-chips svg { width: 14px; height: 14px; color: var(--sea-2); }
.booking-card { background: var(--white); color: var(--ink); border-radius: var(--r-card); padding: 24px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.booking-who { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.booking-who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.booking-who b { display: block; font: 600 1.125rem/1.25 var(--display); letter-spacing: -.01em; }
.booking-who span { font-size: .8125rem; color: var(--muted); }
.booking-card .ticks { gap: 10px; margin: 0 0 1.25rem; }
.booking-card .ticks li { font-size: .95rem; color: var(--ink); }
.booking-card .ticks li::before { background-color: var(--sea); background-image: var(--i-check-w); }
.booking-card .btn { width: 100%; }
.booking-alt { display: block; text-align: center; margin-top: .8rem; font-size: .9rem; font-weight: 600; color: var(--sea); }
.booking-alt:hover { color: var(--sun-ink); }
@media (max-width: 900px) { .cta-inner { grid-template-columns: minmax(0, 1fr); } .booking-card { max-width: 440px; } }
@media (max-width: 600px) { .cta-inner { border-radius: var(--r-card); } .booking-card { max-width: none; } }

/* ───────── Footer ───────── */
.site-footer { background: var(--night); color: #a9b8c9; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .9375rem; }
main:not(:has(> .cta-band:last-child)) + .site-footer { margin-top: 0; }
.site-footer a { color: #a9b8c9; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .logo-word { color: #fff; }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.footer-brand { grid-column: span 4; padding-right: 1.5rem; }
.footer-brand p { margin: 1rem 0 0; max-width: 30em; }
.footer-brand address { font-style: normal; margin-top: 1rem; line-height: 1.6; }
.footer-brand .dot-pill { margin-top: 1.25rem; }
.footer-col { grid-column: span 2; }
.footer-col.areas { grid-column: span 2; }
.footer-h, .footer-col > summary { font: 650 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 1.1rem; list-style: none; }
.footer-col > summary::-webkit-details-marker { display: none; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-col li { line-height: 1.35; }
.footer-col { min-width: 0; }
.footer-col.areas ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
@media (max-width: 1180px) and (min-width: 701px) { .footer-col.areas ul { grid-template-columns: 1fr; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; }
.footer-bottom p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 701px) { .footer-col > summary { pointer-events: none; } }
@media (max-width: 1020px) { .footer-brand { grid-column: 1 / -1; } .footer-col, .footer-col.areas { grid-column: span 3; } }
@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr; gap: 0; }
  .footer-brand, .footer-col, .footer-col.areas { grid-column: 1; }
  .footer-brand { padding: 0 0 2rem; }
  .footer-col { border-top: 1px solid rgba(255, 255, 255, .1); }
  .footer-col > .footer-h { margin: 0; padding: 1.1rem 0; }
  .footer-col > ul { padding-bottom: 1.25rem; }
  .footer-col > summary { margin: 0; padding: 1.1rem 0; cursor: pointer; display: flex; justify-content: space-between; }
  .footer-col > summary::after { content: '+'; font-size: 1.1rem; line-height: .7; color: #a9b8c9; }
  .footer-col[open] > summary::after { content: '−'; }
  .footer-bottom { margin-top: 1rem; flex-direction: column; align-items: flex-start; }
}

/* ───────── Forms ───────── */
.form { display: grid; gap: 1.1rem; }
.field { position: relative; display: grid; gap: .4rem; }
.field label, .field .label { font-weight: 600; font-size: .8125rem; color: var(--ink-2); }
.field .hint, .form .hint { font-size: .8125rem; color: var(--muted); margin: -.25rem 0 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea { width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink); background: #fdfcf9; border: 1.5px solid var(--field-line); border-radius: 12px; padding: .8rem 1rem; transition: border-color .15s, box-shadow .15s, background .15s; }
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field > :is(input, select), .form-row input { min-height: 52px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sea); background: #fff; box-shadow: 0 0 0 4px rgba(10, 112, 105, .15); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }
.field :is(input[type="text"], input[type="email"], input[type="tel"]):user-valid:not(:placeholder-shown) { padding-right: 2.6rem; background-image: var(--i-check-s); background-repeat: no-repeat; background-size: 16px; background-position: right 1rem center; }
.field [aria-invalid="true"] { border-color: #b3401a; box-shadow: 0 0 0 4px rgba(179, 64, 26, .12); }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form-note { font-size: .8125rem; color: var(--muted); margin: 0; }
.form-legend { display: flex; align-items: center; gap: .6rem; margin: .5rem 0 0; font: 650 .8rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.form-legend span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .75rem; letter-spacing: 0; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; min-width: 0; }
.form legend { padding: 0; }
.form-submit { display: grid; gap: .6rem; justify-items: start; }
.form-lock { display: inline-flex; align-items: center; gap: .4rem; font-size: .8125rem; color: var(--muted); }
.form-lock svg { width: 14px; height: 14px; }
.form-status { padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; }
.form-status.ok { background: var(--sea-soft); color: #075e58; }
.form-status.err { background: #fbe6e1; color: #8f2d14; }
.quick-picks { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .25rem; }
.quick-picks .chip { padding: .5rem .8rem; font-size: .86rem; }
@media (max-width: 600px) { .form-submit .btn { width: 100%; } }
/* Panels; a panel holding a form is the form card */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.panel-dark { background: var(--night); border-color: transparent; color: var(--on-night); }
.panel:has(> .form), .form-card { position: relative; overflow: hidden; border-radius: var(--r-panel); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-lg); background: var(--white); }
.panel:has(> .form)::before, .form-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--sun); }
@media (max-width: 600px) { .panel:has(> .form), .form-card { padding: 24px; } }
/* Night contact card (contact page sidebar) */
.contact-card { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: var(--on-night); border-radius: var(--r-panel); padding: 28px; margin-top: 2rem; }
.contact-card::before { content: ''; position: absolute; z-index: -1; inset: -40% -30% auto auto; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 122, 26, .2), transparent); }
.contact-card .booking-who b { color: #fff; }
.contact-card .booking-who span { color: #93a4b8; }
.contact-card address { font-style: normal; color: var(--on-night-2); font-size: .95rem; margin: 1rem 0 0; }
.contact-links { display: flex; gap: .5rem; margin-top: 1rem; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: #fff; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.icon-btn svg { width: 18px; height: 18px; }
.contact-email { color: #fff !important; font-weight: 600; text-decoration: none; align-self: center; margin-left: .25rem; overflow-wrap: anywhere; }
.contact-map { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 1rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.contact-map svg { width: 140px; height: auto; }
.contact-map p { margin: 0; font: 600 1.05rem/1.3 var(--display); color: #fff; }
.contact-map p span { display: block; font: 400 .8125rem/1.45 var(--body); color: #93a4b8; margin-top: .3rem; }

/* ───────── Home hero ───────── */
.hero { position: relative; isolation: isolate; background: var(--night); color: #fff; padding: clamp(7.5rem, 11vw, 9.5rem) 0 clamp(4rem, 7vw, 6rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 80% at 92% -10%, rgba(255, 122, 26, .16), transparent 62%),
  radial-gradient(50% 70% at -5% 110%, rgba(25, 181, 165, .12), transparent 62%); }
.hero-lines { position: absolute; inset: auto 0 0 0; width: 100%; height: 60%; z-index: -1; opacity: .5; }
.hero-grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 4.4vw, 3.9rem); margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--sun-2); }
.hero .lede { color: #c3cfdd; font-size: clamp(1.15rem, 1.6vw, 1.32rem); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.2rem 0 2.2rem; }
.hero-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px; list-style: none; padding: 0; margin: 0; color: #d5dfea; font-size: .9375rem; line-height: 1.35; }
.hero-trust li { display: flex; align-items: flex-start; gap: .5rem; padding: 0 1rem; border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-trust li:first-child { border-left: 0; padding-left: 0; }
.hero-trust svg { width: 16px; height: 16px; flex: none; margin-top: .15em; color: var(--sea-2); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .hero-trust { grid-template-columns: 1fr; gap: .6rem; } .hero-trust li { border: 0; padding: 0; } }

/* Console (kept for older markup) */
.console { position: relative; background: #0f1e30; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-card); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .6); overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: .45rem; padding: .85rem 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; color: #93a4b8; }
.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4b60; }
.console-bar span { margin-left: .6rem; }
.console-tabs { display: flex; gap: .35rem; padding: .8rem 1.1rem 0; flex-wrap: wrap; }
html:not(.js) .console-tabs { display: none; }
.console-tab { font: 600 .82rem/1 var(--body); color: #a9b8c9; background: transparent; border: 1px solid rgba(255, 255, 255, .12); padding: .5rem .8rem; border-radius: 8px; cursor: pointer; transition: all .2s; }
.console-tab[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.console-body { padding: 1.1rem; min-height: 372px; display: flex; flex-direction: column; gap: .7rem; }
.msg { max-width: 88%; padding: .75rem 1rem; border-radius: 12px; font-size: .96rem; line-height: 1.45; animation: rise .45s var(--ease) both; }
.msg-you { align-self: flex-end; background: var(--sun); color: #2a1200; border-bottom-right-radius: 5px; font-weight: 550; }
.msg-ai { align-self: flex-start; background: rgba(255, 255, 255, .08); color: var(--on-night); border-bottom-left-radius: 5px; }
.msg-ai small { display: block; color: #8fa2b8; font-size: .78rem; margin-bottom: .2rem; letter-spacing: .04em; text-transform: uppercase; }
.msg-out { align-self: stretch; max-width: none; background: #07101b; border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: .9rem 1rem; font: .82rem/1.6 var(--mono); color: #b7f5ea; white-space: pre-wrap; }
.msg-out b { color: var(--sun-2); font-weight: 600; }
.msg-out .ok { color: #7ee787; }
.console-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .6rem; font-size: .84rem; color: #93a4b8; }
.console-foot a { color: var(--sun-2); font-weight: 650; text-decoration: none; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.typing { display: inline-flex; gap: 4px; padding: .3rem 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8fa2b8; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 560px) { .console-body { min-height: 280px; } .msg-out { font-size: .74rem; overflow-wrap: anywhere; } }

/* Works-with strip: static chips, no marquee */
.works-with { background: var(--paper); border-block: 1px solid var(--line); padding: 18px 0; }
.works-with .wrap { display: flex; align-items: center; gap: 1rem 1.5rem; }
.works-with .wrap > span { flex: none; padding-right: 1.5rem; border-right: 1px solid var(--line); font: 650 .75rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--sun-ink); }
.works-with ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.works-with li { display: inline-flex; align-items: center; gap: .45rem; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font: 600 .9375rem/1 var(--display); color: var(--ink-2); white-space: nowrap; }
.works-with li svg { width: 18px; height: 18px; stroke-width: 1.6; color: var(--muted); }
.works-with li:not(:has(svg))::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sea-2); }
@media (max-width: 1200px) { .works-with li { height: 36px; padding: 0 12px; font-size: .875rem; } }
@media (max-width: 800px) { .works-with .wrap { flex-direction: column; align-items: flex-start; } .works-with .wrap > span { border: 0; padding: 0; } }

/* Marquee (kept for older markup; static) */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--white); padding: 1.1rem 0; }
.marquee-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.75rem; }
.marquee span { font: 600 1.05rem/1 var(--display); color: var(--ink-2); white-space: nowrap; }

/* ───────── Workflow diagrams (flow.js) ───────── */
.flow { position: relative; }
.flow-fallback { margin: 0; padding-left: 1.2em; color: #c3cfdd; display: grid; gap: .5rem; }
.flow.is-ready .flow-fallback { display: none; }
.flow-svg { display: block; width: 100%; height: auto; overflow: visible; }
.flow-link { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round; }
.flow-trail { fill: none; stroke: var(--sun-2); stroke-width: 2; stroke-linecap: round; }
.flow-disc { fill: #12243a; stroke: rgba(255, 255, 255, .2); stroke-width: 1.5; transition: stroke .35s, fill .35s; }
.flow-icon { fill: none; stroke: #8fa2b8; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s, opacity .2s; }
.flow-num { font: 650 11px/1 var(--body); fill: #6f8298; text-anchor: middle; transition: fill .35s; }
.flow-label { font: 600 15px/1 var(--display); fill: #fff; text-anchor: middle; letter-spacing: -.01em; transition: fill .35s, opacity .2s; }
.flow-sub { font: 500 13px/1 var(--body); fill: rgba(255, 255, 255, .65); text-anchor: middle; transition: opacity .2s; }
.flow-label, .flow-sub { paint-order: stroke; stroke: #0b1726; stroke-width: 6px; stroke-linejoin: round; }
.flow-node.is-on .flow-disc { stroke: var(--sun-2); fill: #1a2c44; filter: drop-shadow(0 0 10px rgba(255, 176, 46, .28)); }
.flow-node.is-on .flow-icon { stroke: #fff; }
.flow-node.is-on .flow-num { fill: var(--sun-2); }
.flow-svg.is-swapping :is(.flow-label, .flow-sub, .flow-icon) { opacity: 0; }
.flow-dot { fill: var(--sun-2); opacity: 0; filter: drop-shadow(0 0 6px rgba(255, 176, 46, .9)); transition: opacity .2s; }
.flow-foot { display: inline-flex; gap: .4rem; margin-top: .25rem; font-weight: 650; font-size: .92rem; color: var(--sun-2); text-decoration: none; }
.flow-foot:hover { color: #fff; }
/* Home hero: the diagram sits in a larger framed panel with a segmented control as its header */
.hero .flow { isolation: isolate; padding: 14px 14px 18px; border-radius: var(--r-panel); background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09); }
.hero .flow .flow-svg { margin: -6px 0 -8px; }
.flow-tabs { position: relative; display: flex; flex-wrap: nowrap; gap: 0; width: max-content; max-width: 100%; margin: 0 0 .5rem; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow-x: auto; scrollbar-width: none; }
.flow-tabs::-webkit-scrollbar { display: none; }
.flow-tab { position: relative; z-index: 1; flex: none; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: #a9b8c9; font: 600 .78rem/1 var(--body); cursor: pointer; white-space: nowrap; transition: color .25s; }
.flow-tab:hover { color: #fff; }
.flow-tab[aria-pressed="true"] { color: var(--ink); }
.flow-tab:focus-visible { outline-offset: -2px; border-radius: 999px; }
.hero .flow-tab { padding: 0 10px; font-size: .75rem; }
.flow-tabs-ind { position: absolute; z-index: 0; top: 4px; left: 0; height: 34px; border-radius: 999px; background: #fff; transition: transform .25s var(--ease), width .25s var(--ease); pointer-events: none; }
html:not(.js) .flow-tabs-ind { display: none; }
.flow-tabs:not(:has(.flow-tabs-ind)) .flow-tab[aria-pressed="true"] { background: #fff; }
@media (max-width: 960px) { .hero .flow { max-width: 600px; } }
@media (max-width: 640px) {
  .flow-tabs { mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .hero .flow { padding: 12px; }
  .flow-label { font-size: 21px; } .flow-sub { display: none; } .flow-num { font-size: 15px; }
}
/* Diagram inside an inner-page hero panel (viewBox is set per layout by flow.js) */
/* SVG user units: the 560-wide viewBox renders at about 0.8x in a 480px panel, so these come out at 15px and 13px */
.hero-panel .flow-label { font-size: 18.5px; }
.hero-panel .flow-sub { font-size: 16px; }
.hero-panel.is-compact .flow-label { font-size: 16px; }
.hero-panel.is-compact .flow-sub { display: none; }
@media (max-width: 900px) { .hero-panel .flow-svg { max-height: 220px; } .hero-panel .flow-sub { display: none; } }
/* Compact single-row strip (demo pages) */
.flow-strip { max-width: 620px; margin-top: 1.4rem; }
.flow-strip .flow-label { font-size: 13.5px; }
.flow-strip .flow-disc { stroke-width: 1.3; }
@media (max-width: 600px) { .flow-strip { display: none; } }

/* ───────── ROI calculator ───────── */
.roi { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
@media (max-width: 900px) { .roi { grid-template-columns: minmax(0, 1fr); } }
.roi-inputs { display: grid; gap: 1.75rem; align-content: start; }
.range { display: grid; gap: .5rem; }
.range-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.range-head label { font-weight: 650; font-size: .98rem; }
.range-head output { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--sea-soft); color: var(--sea); font: 700 .9375rem/1.2 var(--body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.range .hint { font-size: .8125rem; color: var(--muted); }
input[type="range"] { --pct: var(--fill, 50%); -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin-block: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--sea) var(--pct), #e4ddd0 var(--pct)); cursor: pointer; }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--sea); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .15s, box-shadow .15s; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--sea); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .15s, box-shadow .15s; }
input[type="range"]::-moz-range-track { background: transparent; height: 8px; }
input[type="range"]:is(:hover, :active)::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:is(:hover, :active)::-moz-range-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 2px 6px rgba(0, 0, 0, .2), 0 0 0 6px rgba(25, 181, 165, .3); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 2px 6px rgba(0, 0, 0, .2), 0 0 0 6px rgba(25, 181, 165, .3); }
.roi-result { position: relative; overflow: hidden; isolation: isolate; background: #0f1e30; color: #fff; border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-panel); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 1rem; }
.section:not(.section-dark) .roi-result { background: var(--night); box-shadow: var(--shadow-raised); }
.roi-big { font: 750 clamp(2.8rem, 6vw, 4.2rem)/1 var(--display); letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.roi-label { color: #a9b8c9; font-size: .95rem; margin: 0; }
.roi-lines { display: grid; gap: 0; margin: 0; }
.roi-lines > div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.roi-lines dt { color: #a9b8c9; }
.roi-lines dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.roi-note { font-size: .84rem; color: #8fa2b8; margin: 0; }
.roi-result .btn { align-self: flex-start; }
.roi-bar { display: none; }
/* Payback chart: cumulative net position over 36 months */
.payback { position: relative; margin: .25rem 0 1.25rem; }
.payback-title { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 .6rem; font-size: .8125rem; color: #a9b8c9; }
.payback-plot { position: relative; height: 140px; }
.payback-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pb-zero { stroke: rgba(255, 255, 255, .28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pb-grid { stroke: rgba(255, 255, 255, .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pb-neg { fill: rgba(255, 122, 26, .14); }
.pb-pos { fill: rgba(25, 181, 165, .16); }
.pb-line { fill: none; stroke: var(--sea-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.roi.is-in .pb-line, .roi.is-drawn .pb-line, html:not(.js) .pb-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease) .2s; }
.roi.is-drawn .pb-line { transition: none; }
.pb-drop { stroke: rgba(255, 255, 255, .45); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.pb-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(255, 122, 26, .25); }
.pb-chip { position: absolute; bottom: calc(100% + 6px); transform: translateX(-50%); padding: .3rem .6rem; border-radius: 999px; background: var(--night); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font: 600 .8125rem/1.2 var(--body); white-space: nowrap; }
.pb-chip.at-start { transform: none; } .pb-chip.at-end { transform: translateX(-100%); }
.pb-axis { position: relative; height: 18px; margin-top: 6px; font-size: .6875rem; color: #8fa2b8; }
.pb-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.pb-axis span:last-child { transform: translateX(-100%); }
.pb-y { position: absolute; left: 0; font-size: .6875rem; color: #8fa2b8; transform: translateY(-50%); }
[hidden].pb-dot, [hidden].pb-chip { display: none; }
.roi-compact .roi-lines { display: none; }
.roi-compact .roi-result { gap: .75rem; }
@media (max-width: 600px) { .payback-plot { height: 120px; } .pb-axis .t24 { display: none; } }

/* ───────── Portrait ───────── */
.portrait, .monogram { position: relative; width: 100%; max-width: 380px; justify-self: end; margin: 0 14px 14px 0; }
.monogram { max-width: 440px; aspect-ratio: auto; background: none; display: block; }
.portrait::before, .monogram::before { content: ''; position: absolute; inset: 14px -14px -14px 14px; border-radius: var(--r-panel); background: var(--paper-2); border: 1px solid var(--line); }
.portrait-frame, .portrait > img, .monogram > img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-panel); }
.monogram > img { position: relative; inset: auto; height: auto; z-index: 0; }
.portrait-frame { overflow: hidden; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after, .monogram::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; border-radius: 0 0 var(--r-panel) var(--r-panel); background: linear-gradient(180deg, transparent, rgba(10, 21, 34, .45)); pointer-events: none; }
.monogram b { display: none; }
.portrait-tag { position: absolute; z-index: 1; left: 16px; bottom: 16px; right: 16px; max-width: max-content; padding: 10px 14px; border-radius: 12px; background: rgba(10, 21, 34, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; }
.portrait-tag b { display: block; font: 600 1.0625rem/1.25 var(--display); letter-spacing: -.01em; }
.portrait-tag span { display: flex; align-items: center; gap: .45rem; font-size: .8125rem; color: rgba(255, 255, 255, .7); }
.portrait-tag span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sea-2); }
.cred-chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.cred-chips li { display: inline-flex; align-items: center; gap: .6rem; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.cred-chips .icon-tile { width: 32px; height: 32px; border-radius: 50%; }
.cred-chips .icon-tile svg { width: 16px; height: 16px; }
@media (max-width: 899px) { .portrait, .monogram { justify-self: center; max-width: 300px; order: -1; } }

/* ───────── Charts on content pages ───────── */
/* Stacked hours bars (pricing): <div class="hours-chart">…</div> */
.hours-chart { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 28px; box-shadow: var(--shadow); }
.hours-chart h3 { font-size: 1.1rem; margin: 0 0 1.25rem; }
.hc-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.hc-row > span { font: 650 .875rem/1.2 var(--body); color: var(--ink-2); }
.hc-bar { position: relative; display: flex; height: 28px; width: var(--w, 100%); border-radius: 8px; }
.hc-bar.now::after { content: ''; position: absolute; top: -3px; bottom: -3px; left: 0; width: calc(100% / var(--w-frac, .55)); border: 1.5px dashed var(--line-2); border-radius: 10px; pointer-events: none; }
.hc-bar i { position: relative; display: flex; align-items: center; justify-content: center; min-width: 6px; width: var(--s); font: 600 .75rem/1 var(--body); font-style: normal; color: #fff; white-space: nowrap; overflow: hidden; transform-origin: left; }
.hc-bar i:first-child { border-radius: 8px 0 0 8px; }
.hc-bar i:last-child { border-radius: 0 8px 8px 0; }
.hc-bar .hc-biz { background: var(--sea); }
.hc-bar .hc-design { background: var(--ink-2); }
.hc-bar .hc-code { background: var(--sun); color: #2a1200; }
.hc-bar .hc-test { background: var(--sea-2); color: var(--night); }
.js .hours-chart .hc-bar { clip-path: inset(0 100% 0 0 round 8px); transition: clip-path .9s var(--ease) .15s; }
.js .hours-chart.is-in .hc-bar, .js .is-in .hours-chart .hc-bar { clip-path: inset(-6px -400px -6px -6px); }
.hc-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; padding: 0; margin: 0 0 .75rem; font-size: .8125rem; color: var(--ink-2); }
.hc-legend li { display: inline-flex; align-items: center; gap: .4rem; }
.hc-legend li::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.hc-note { margin: 0; font-size: .75rem; color: var(--muted); }

/* Small "case" cards (demo pages: awkward cases, 2x2) */
.case-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); list-style: none; padding: 0; margin: 0; }
.case-grid > li, .case-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: .25rem 1rem; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.case-grid .icon-tile { grid-row: span 2; }
.case-grid b { font: 650 1.02rem/1.3 var(--display); letter-spacing: -.01em; padding-top: 2px; }
.case-grid p { margin: 0; font-size: .95rem; color: var(--muted); }
.icon-tile.ok { background: var(--sea-soft); color: var(--sea); }
.icon-tile.warn { background: var(--sun-soft); color: var(--sun-ink); }

/* ───────── Reveal: one entrance per block ─────────
   Uses the individual `translate` property so a revealed card can still lift on hover via `transform`.
   The animation is a no-observer safety net: if the script never marks an element, it appears after 5s. */
.js .reveal { opacity: 0; translate: 0 14px; transition: opacity .5s ease-out var(--d, 0ms), translate .5s ease-out var(--d, 0ms); animation: reveal-fallback .01s 5s forwards; }
.js .card.reveal { transition: opacity .5s ease-out var(--d, 0ms), translate .5s ease-out var(--d, 0ms), transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.js .reveal.is-in { opacity: 1; translate: none; animation: none; }
@keyframes reveal-fallback { to { opacity: 1; translate: none; } }

/* ───────── Utilities ───────── */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 2rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; translate: none; animation: none; }
  .js .shift.reveal:not(.is-in) .shift-row { opacity: 1; }
  .steps::after { transform: none !important; }
  .worked-bar.after i::after { transform: none; }
  .pb-line { stroke-dashoffset: 0; }
  .js .hours-chart .hc-bar { clip-path: none; }
}
@media print { .site-header, .site-footer, .cta-band, .hero-bg, .article-rail { display: none; } body { background: #fff; } .js .reveal { opacity: 1 !important; translate: none !important; transition: none !important; animation: none !important; } }

/* Animated logo: the line draws between the three steps, then a light runs along it every few seconds. Replays on hover. */
.logo-mark { display: block; border-radius: 11px; }
.logo-word i { font-style: normal; display: inline-block; }
.lm-draw { stroke-dasharray: 100; stroke-dashoffset: 0; }
.lm-comet { stroke-dasharray: 9 191; stroke-dashoffset: 9; opacity: 0; }
.lm-n { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .lm-draw { animation: lm-draw 1.1s cubic-bezier(.6, 0, .2, 1) .15s both; }
  .lm-n1 { animation: lm-pop .4s cubic-bezier(.3, 1.6, .5, 1) .05s both; }
  .lm-n2 { animation: lm-pop .4s cubic-bezier(.3, 1.6, .5, 1) .6s both; }
  .lm-n3 { animation: lm-pop .45s cubic-bezier(.3, 1.6, .5, 1) 1.1s both, lm-glow 5s ease-in-out 2.4s infinite; }
  .lm-comet { animation: lm-run 5s cubic-bezier(.5, 0, .3, 1) 2s infinite; }
  .logo-word i { animation: lm-word .5s cubic-bezier(.2, .8, .2, 1) both; }
  .logo-word i:nth-child(1) { animation-delay: .25s; } .logo-word i:nth-child(2) { animation-delay: .32s; }
  .logo-word i:nth-child(3) { animation-delay: .39s; } .logo-word i:nth-child(4) { animation-delay: .46s; }
  .brand:hover .lm-draw { animation: lm-draw-again .9s cubic-bezier(.6, 0, .2, 1) both; }
  .brand:hover .lm-comet { animation: lm-run-once .9s cubic-bezier(.5, 0, .3, 1) .1s both; }
  .brand:hover .lm-n3 { animation: lm-pop-again .5s cubic-bezier(.3, 1.6, .5, 1) .75s both; }
}
@keyframes lm-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes lm-draw-again { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes lm-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes lm-pop-again { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes lm-glow { 0%, 16%, 100% { transform: scale(1); } 20% { transform: scale(1.28); } 30% { transform: scale(1); } }
@keyframes lm-run { 0% { stroke-dashoffset: 9; opacity: 0; } 2% { opacity: .95; } 17% { opacity: .95; } 20%, 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes lm-run-once { 0% { stroke-dashoffset: 9; opacity: 0; } 10% { opacity: .95; } 85% { opacity: .95; } 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes lm-word { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* page fixes */
/* White cards and asides sitting on a navy band keep the light icon tile */
.section-dark :is(.card:not(.card-feature):not(.card-featured):not(.card-dark), .aside-points, .worked, .callout) :is(.icon-tile, .card-icon) { background: var(--paper-2); border: 0; color: var(--ink); }
/* Side-by-side .shift--pair: on mini cards each cell names its column (data-label) */
@media (max-width: 800px) {
  .shift--pair .shift-row > [data-label] { display: block !important; }
  .shift--pair .shift-row > [data-label]::before { content: attr(data-label); display: block !important; position: static !important; inset: auto !important; transform: none !important; width: auto !important; height: auto !important; border-radius: 0 !important; background: none !important; margin-bottom: 4px; font: 650 .7rem/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .shift--pair .shift-row > .shift-now[data-label]::before { color: var(--sun-2); }
}
/* Worked card on a navy band keeps its own label and footer colours */
.section-dark .worked .worked-label { color: var(--sea); }
.section-dark .worked .worked-foot { color: var(--muted); }
.section-dark .worked .worked-foot a { color: var(--sun-ink); }
/* Works-with chips fit on one row at desktop widths */
@media (min-width: 1201px) {
  .works-with .wrap { gap: 1rem 1.25rem; }
  .works-with .wrap > span { padding-right: 1.25rem; }
  .works-with ul { flex-wrap: nowrap; gap: .4rem; }
  .works-with li { padding: 0 11px; font-size: .875rem; gap: .4rem; }
  .works-with li svg { width: 16px; height: 16px; flex: none; }
}
/* About: portrait (with credential chips) in a wrapper as the first split column */
@media (min-width: 900px) {
  .split:has(> .about-portrait:first-child) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .about-portrait .portrait { justify-self: start; }
}
@media (max-width: 899px) { .about-portrait { display: grid; justify-items: center; } .about-portrait .cred-chips { justify-content: center; } }
/* Contact form: a hint inside one field must not stretch its neighbour; legends sit clear of the first label */
.form-row { align-items: start; }
.form fieldset > .form-legend { margin-bottom: 1rem; }
.form fieldset + fieldset { margin-top: .75rem; }
/* Pricing cost section: 7/5 */
@media (min-width: 900px) { .split.pricing-cost { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.pricing-cost .hours-chart { margin-top: 2rem; }
/* Ticks inside a dark panel */
.panel-dark :is(.ticks, .checklist) li { color: var(--on-night); }
.panel-dark :is(.ticks, .checklist) li::before { background-color: var(--sea-2); background-image: var(--i-check-n); }
/* Hours chart: on narrow screens the legend names the segments */
@media (max-width: 600px) { .hours-chart .hc-bar i { font-size: 0; } }
@media (max-width: 800px) { .shift--pair .shift-row .shift-now[data-label] { padding-left: 16px !important; } }

/* ───────── Gate fixes (desktop + phone review) ───────── */
/* Header: no wrapping in the desktop nav; the sub-line only where there is room for it */
.nav a:not(.btn), .logo-word, .brand-sub { white-space: nowrap; }
@media (max-width: 1279px) { .brand-sub { display: none; } }
/* FAQ two-column head: eyebrow lines up with the top of the list */
@media (min-width: 1000px) { .wrap:has(> .section-head + .faq-list) > .section-head > :first-child { margin-top: 0; } }
/* CTA band: the top half matches the section above it, so no paper strip shows */
.section-white + .cta-band { background: linear-gradient(180deg, var(--white) 50%, var(--night) 50%); }
.section-alt + .cta-band { background: linear-gradient(180deg, var(--paper-2) 50%, var(--night) 50%); }
.section-dark + .cta-band { background: var(--night); }
.section-dark + .cta-band .cta-inner { box-shadow: none; }
/* Card grids: the "Not sure which you need?" prompt as the sixth tile when five cards leave a gap */
.grid > .card-cta-tile { margin: 0; min-height: 100%; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 28px; border-radius: var(--r-card); }
.grid > .card-cta-tile::before { inset: auto -30% -40% auto; width: 90%; }
.grid > .card-cta-tile p { font-size: 1.375rem; }
.grid > .card-cta-tile p span { margin-top: .5rem; }
@media (max-width: 700px) { .grid > .card-cta-tile { align-items: stretch; padding: 22px; } }
/* Fact strip: units in readable orange; word stats share the numbers' baseline */
.stat b small { color: var(--sun-ink); }
.section-dark .stat b small, .fact-strip.dark .stat b small { color: var(--sun-2); }
.stat b.word { min-height: clamp(2.4rem, 4vw, 3.25rem); align-items: flex-end; }
@media (max-width: 700px) {
  :is(.stat-row, .fact-strip) > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 16px; }
  :is(.stat-row, .fact-strip) > .stat:last-child:nth-child(odd) > .icon-tile { grid-row: 1 / span 2; margin: 0; }
}
/* Steps: duration pills sit on one line across the columns */
.steps > li { display: flex; flex-direction: column; }
.step-time { margin-top: auto; align-self: flex-start; }
.steps > li > p { margin-bottom: .75rem; }
@media (max-width: 899px) { .steps > li > p { margin-bottom: 0; } .step-time { margin-top: .75rem; } }
.steps--rail > li > p, .split .steps > li > p { margin-bottom: 0; }
.steps--rail .step-time, .split .steps .step-time { margin-top: .75rem; }
/* Shift: a wider label column so short labels stay on one line */
@media (min-width: 1001px) {
  .shift { --cols: 280px minmax(0, 1fr) minmax(0, 1.1fr); }
  .shift::before { width: calc((100% - 280px) * 1.1 / 2.1); }
}
/* Worked receipts: a visible Before bar, aligned tracks, sea-green link like every other inline link */
.worked-bar { grid-template-columns: 56px minmax(0, 1fr) 92px; }
.worked-bar > :last-child { text-align: right; white-space: nowrap; }
.worked-bar:not(.after) i::after { background: #9aa6b2; }
.worked-foot a, .section-dark .worked .worked-foot a { color: var(--sea); }
.worked-total span { flex: 1; min-width: 0; text-wrap: balance; }
/* Payback chart: reveal the line left to right with a clip, so it always reaches the end of the plot */
.pb-line { stroke-dasharray: none; stroke-dashoffset: 0; }
.js .roi .pb-line { clip-path: inset(-8px 100% -8px -8px); }
.js .roi.is-in .pb-line { clip-path: inset(-8px -8px -8px -8px); transition: clip-path 1.2s var(--ease) .2s; }
.js .roi.is-drawn .pb-line { clip-path: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .js .roi .pb-line { clip-path: none; transition: none; } }
/* ROI: both cards end on the same line; values never break */
.roi-compact { align-items: stretch; }
.roi-inputs { display: flex; flex-direction: column; gap: 1.75rem; }
.roi-inputs > .hint:last-child { margin-top: auto; }
.roi-lines dd { white-space: nowrap; text-align: right; }
.roi-lines dt { min-width: 0; }
.payback-title span:last-child { white-space: nowrap; }
/* Numbered article H2s below 1100px: the number sits beside the heading */
@media (max-width: 1099px) {
  .prose .h-num { display: flex; align-items: center; gap: 14px; }
  .prose .h-num-n { flex: none; width: 36px; height: 36px; margin: 0; font-size: .95rem; }
}
/* Articles below 1020px: contents first, then the article */
@media (max-width: 1020px) {
  .article-rail { grid-row: 1; gap: 0; }
  .article-layout > .prose { grid-row: 2; }
}
/* Home hero segmented control: full width; short labels when the long ones do not fit (set by flow.js) */
.hero .flow-tabs { width: 100%; }
.hero .flow-tab { flex: 1 1 auto; padding: 0 9px; }
.flow-tab .ft-short { display: none; }
.flow-tabs.is-short .flow-tab .ft-long { display: none; }
.flow-tabs.is-short .flow-tab .ft-short { display: inline; }
.flow-tabs.is-short { mask-image: none; -webkit-mask-image: none; }
/* Diagram labels sit on a plate so connectors never run through the text */
.flow-plate { fill: #0b1726; transition: opacity .2s; }
.flow-svg.is-swapping .flow-plate { opacity: 0; }
.hero-panel .flow-svg { overflow: visible; }
/* Buttons on phones: full width rather than wrapping with an orphan word */
.btn, .booking-who b { text-wrap: balance; }
@media (max-width: 479px) {
  .roi-result .btn, .section-head .actions .btn, .watch-band .btn { align-self: stretch; width: 100%; }
}
/* FAQ page on phones: space under the ask card, an even two-column jump list */
@media (max-width: 999px) {
  .faq-side { margin-bottom: 40px; }
  .faq-jump { display: grid !important; gap: 0 !important; border-left: 1px solid var(--line) !important; }
  .faq-jump a { justify-content: space-between; padding: .6rem 0 .6rem 1.1rem; border: 0; border-radius: 0; background: none; color: var(--ink); }
  .faq-jump a::before { display: block; }
  .ask-card { padding: 20px; }
}
@media (max-width: 600px) { .ask-card .faq-ask .faq-ask-who { display: flex; } }
/* About: long tag lists stay compact on phones */
@media (max-width: 599px) { .tag-list li { font-size: .8125rem; padding: .4rem .75rem; } }
/* Eyebrows that wrap keep their lines apart, with the dash on the first line */
.eyebrow { line-height: 1.35; align-items: flex-start; }
.eyebrow::before { flex: none; margin-top: .6em; }
/* Contact: the sidebar heading sits a full block below the form on phones */
@media (max-width: 899px) { .split > .panel:has(.form) + * > h2:first-child { margin-top: 24px; } }
/* Insights: the featured card's date and read time on navy */
.card-featured .card-meta, .card-featured .card-meta :is(time, span) { color: var(--on-night-2); }
/* Home "One job, from booking to paid": the seven stages as a rail, the button at the end */
.job-rail { display: flex; align-items: center; gap: 2rem; padding: 28px 32px; }
.job-rail ol { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; counter-reset: stage; }
.job-rail ol::before { content: ''; position: absolute; left: calc(100% / 14); right: calc(100% / 14); top: 20px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--sun) 0%, var(--sea-2) 100%); opacity: .55; }
.job-rail li { position: relative; display: grid; justify-items: center; gap: .55rem; font: 600 .9rem/1.2 var(--display); text-align: center; color: var(--ink); }
.job-rail .icon-tile { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2px var(--line), 0 0 0 6px var(--white); }
.job-rail li:last-child .icon-tile { background: var(--sea); color: #fff; box-shadow: 0 0 0 6px var(--white); }
.job-rail .icon-tile svg { width: 18px; height: 18px; }
.job-rail .btn { flex: none; }
@media (max-width: 899px) {
  .job-rail { flex-direction: column; align-items: stretch; padding: 22px; gap: 1.5rem; }
  .job-rail ol { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 1.25rem; }
  .job-rail ol::before { display: none; }
}
/* Link chips: a row of destinations in place of a paragraph of inline links */
.link-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.link-chips li { margin: 0; }
.link-chips a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: 600 .9375rem/1.2 var(--body); text-decoration: none; box-shadow: 0 1px 2px rgba(14, 27, 42, .04); transition: border-color .2s, transform .2s var(--ease), color .2s; }
.link-chips a svg { width: 18px; height: 18px; color: var(--sea); flex: none; }
.link-chips a:hover { border-color: var(--sea); color: var(--ink); transform: translateY(-1px); }
.section-dark .link-chips a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.section-dark .link-chips a svg { color: var(--sun-2); }
@media (prefers-reduced-motion: reduce) { .link-chips a:hover { transform: none; } }
/* Contact card: one row per way to reach us (icon tile, label, value), then the areas as chips */
.contact-rows { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .9rem; }
.contact-rows li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: .85rem; margin: 0; }
.contact-rows .icon-tile { margin: 0; }
.contact-rows small { display: block; font: 650 .7rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #93a4b8; margin-bottom: .15rem; }
.contact-rows a, .contact-rows address { color: #fff !important; font: 600 .98rem/1.35 var(--body); font-style: normal; text-decoration: none; overflow-wrap: anywhere; margin: 0; }
.contact-rows a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-areas { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.contact-areas p { margin: 0 0 .75rem; font: 600 1.05rem/1.3 var(--display); color: #fff; }
.contact-areas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.contact-areas li { display: inline-flex; align-items: center; gap: .3rem; margin: 0; padding: .4rem .7rem .4rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font: 600 .8125rem/1 var(--body); color: #e8eef5; }
.contact-areas li svg { width: 14px; height: 14px; color: var(--sea-2); }
@media (max-width: 420px) { .roi-lines > div { font-size: .9rem; } .payback-title { font-size: .75rem; } }
@media (max-width: 420px) { .hero .flow-tab { padding: 0 6px; font-size: .72rem; } }

/* Logo tagline: "AI consultancy" reads as part of the logo at every width */
.brand-sub { display: block; font-size: 1rem; color: var(--ink); letter-spacing: -.005em; }
.brand-sub b { font-weight: 700; }
.brand-loc { color: var(--muted); font-weight: 500; }
.is-home .site-header:not(.is-stuck) .brand-sub, .is-home .site-header:not(.is-stuck) .brand-loc { color: #fff; }
@media (max-width: 1379px) { .brand-sub { display: block; } .brand-loc { display: none; } }
@media (max-width: 480px) { .brand-sub { font-size: .9rem; padding-left: .6rem; } .brand { gap: .6rem; } }

/* About: team cards */
.team-initials { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--ink); color: #fff; font: 700 1.05rem/1 var(--display); letter-spacing: .02em; margin-bottom: .9rem; }

/* Home: "1 day / 30 years" statement band */
.day-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 4.5rem); }
.day-item b { display: block; font: 750 clamp(3.2rem, 9vw, 6.5rem)/.95 var(--display); letter-spacing: -.045em; color: #fff; }
.day-item:first-child b { color: var(--sun); }
.day-item p { margin-top: 1rem; max-width: 26em; font-size: 1.15rem; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.day-foot { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .16); font: 600 clamp(1.2rem, 2.2vw, 1.5rem)/1.35 var(--display); letter-spacing: -.015em; color: #fff; }
@media (max-width: 700px) { .day-grid { grid-template-columns: 1fr; } }
