/* Veritasys — public site. Brand: midnight, parchment, brass, verdigris. Seal + lattice motif. */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-normal.eb2486760f75.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-italic.701ae03b5183.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-wght-normal.fa41c43a3d8e.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-500-normal.a21e038a03f7.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --midnight: #0B1220; --midnight-2: #121C31; --midnight-3: #1A2742;
  --parchment: #F4EFE4; --parchment-2: #EBE4D4; --vellum: #FBF8F1;
  --ink: #0E1626; --ink-soft: #3A4357;
  --brass: #C9A45C; --brass-bright: #E2C17E; --brass-deep: #7A5B1E;
  --verdigris: #3FB8A9; --verdigris-deep: #156B62;
  --mist: #B3BDD0; --line-dark: rgba(201,164,92,.22); --line-light: rgba(14,22,38,.12);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22,.8,.2,1); --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --radius: 22px; --wrap: 1240px; --gutter: min(2.5rem, 12.5vw);
  --shadow: 0 30px 60px -30px rgba(11,18,32,.45), 0 8px 20px -12px rgba(11,18,32,.25);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; overflow-wrap: break-word; font-family: var(--sans); font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.65; color: var(--ink); background: var(--parchment); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 8 4 3; font-family: var(--serif); font-weight: 420; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; font-variation-settings: "SOFT" 40, "WONK" 0; }
p { margin: 0 0 1em; }
/* Reflow (WCAG 1.4.4 / 1.4.10): grid and flex children may shrink below their min-content width, so long words
   or 200% text never push a column past the viewport; anything unbreakable (emails, URLs) wraps instead. */
:where(.intro__grid, .offer__grid, .split__grid, .form-band__grid, .colophon__inner, .colophon__cols, .stats__grid, .card-grid, .driver-list, .timeline, .driver, .contact-facts div, .offer__price, .field, .checklist, .colophon ul, .form-card, .hero__ledger, .hero__actions, .offer__actions, .cta-band__inner) > * { min-width: 0; max-width: 100%; }
:where(.prose, .lede, .contact-facts dd, .colophon, .card__body, .field__error) a, a[href^="mailto:"] { overflow-wrap: anywhere; }
:where(.lede, .link-arrow, .btn > span) { overflow-wrap: anywhere; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 820px; }
.small { font-size: .9rem; } .muted { color: var(--ink-soft); }
.tag { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font: 500 .68rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: .3em .55em; border: 1px solid currentColor; border-radius: 99px; opacity: .85; vertical-align: middle; }

/* Focus and skip link: always visible, brass ring with a dark halo so it shows on both tones. */
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(11,18,32,.55); border-radius: 6px; }
[data-tone="light"] :focus-visible, .band--light :focus-visible { outline-color: var(--verdigris-deep); box-shadow: 0 0 0 6px rgba(21,107,98,.18); }
.skip-link { position: fixed; left: 1rem; max-width: calc(100vw - 2rem); top: 1rem; transform: translateY(calc(-100% - 2rem)); z-index: 100; background: var(--brass); color: var(--midnight); padding: .75rem 1.1rem; border-radius: 10px; font-weight: 600; transition: transform .2s var(--ease); }
.skip-link:focus { transform: none; }
main:focus { outline: none; }

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

/* Eyebrows and display type */
.eyebrow { max-width: 100%; overflow-wrap: anywhere; font: 500 .74rem/1.2 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--verdigris-deep); margin-bottom: 1.1rem; display: inline-flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; opacity: .7; }
[data-tone="dark"] .eyebrow, .eyebrow--light { color: var(--brass-bright); }
/* Display sizes grow with the user's text size but are capped against the viewport so a long word still fits a phone line. */
.display { font-size: min(clamp(2.3rem, 1.4rem + 3.6vw, 4.6rem), 14vw); font-weight: 380; font-variation-settings: "opsz" 144, "SOFT" 60; }
.display--md { font-size: min(clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem), 12vw); }
.display--sm { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.display em, .hero__title em { font-style: italic; color: var(--brass); }
.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-soft); max-width: 62ch; }
[data-tone="dark"] .lede { color: var(--mist); }
.prose ul { padding: 0; list-style: none; margin: 0 0 1em; }
.prose li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7rem; height: .7rem; border: 1.5px solid var(--verdigris-deep); border-radius: 50%; }
[data-tone="dark"] .prose li::before { border-color: var(--verdigris); }
.prose a { color: var(--verdigris-deep); }
[data-tone="dark"] .prose a { color: var(--verdigris); }
.prose strong { font-weight: 650; }

/* Buttons and links — micro-interactions */
.btn { --bg: var(--brass); --fg: var(--midnight); position: relative; display: inline-flex; align-items: center; gap: .65rem; padding: .95rem 1.5rem; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 600; letter-spacing: .01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; font: 600 1rem/1.15 var(--sans); max-width: 100%; text-align: left; overflow: hidden; padding-inline: min(1.5rem, 6vw); isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; will-change: transform; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.45), transparent 60%); opacity: 0; transition: opacity .3s; }
.btn:hover::after { opacity: 1; }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(201,164,92,.65); }
.btn:active { transform: scale(.97); }
.btn--brass { --bg: var(--brass); --fg: var(--midnight); }
.btn--ink { --bg: var(--midnight); --fg: var(--parchment); }
.btn--ink:hover { box-shadow: 0 14px 30px -12px rgba(11,18,32,.6); }
.btn--ghost { --bg: transparent; --fg: var(--parchment); border-color: rgba(244,239,228,.35); }
.btn--ghost:hover { border-color: var(--brass); box-shadow: none; }
.btn--sm { padding: .7rem min(1.1rem, 5vw); font-size: .92rem; }
.btn--lg { padding: 1.15rem min(1.9rem, 7vw); font-size: 1.08rem; }
.btn--block { width: 100%; justify-content: center; }
.btn > span { min-width: 0; }
.btn__arrow { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.link-arrow { display: inline; font-weight: 600; color: var(--verdigris-deep); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.link-arrow::after { content: "→"; display: inline-block; margin-left: .45rem; transition: transform .35s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover::after { transform: translateX(4px); }
[data-tone="dark"] .link-arrow { color: var(--verdigris); }

/* Masthead */
.masthead { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s var(--ease), backdrop-filter .4s, transform .45s var(--ease), border-color .4s; border-bottom: 1px solid transparent; color: var(--parchment); }
.masthead.is-solid { background: rgba(11,18,32,.82); backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line-dark); }
.masthead.is-hidden { transform: translateY(-100%); }
body:not(.page-home) .masthead:not(.is-solid) { background: rgba(11,18,32,.9); }
.masthead__inner { width: min(100% - var(--gutter), var(--wrap)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: clamp(.75rem, 3vw, 2rem); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; min-width: 0; text-decoration: none; color: var(--parchment); }
.brand .seal { flex: none; }
.nav-toggle { flex: none; }
.brand__word { font: 450 min(1.45rem, 7vw)/1 var(--serif); letter-spacing: .01em; font-variation-settings: "opsz" 72, "SOFT" 100; }
.brand .seal { transition: transform .8s var(--ease); }
.brand:hover .seal { transform: rotate(-12deg) scale(1.05); }
.site-nav { display: flex; align-items: center; gap: 1.8rem; }
.site-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; font-weight: 500; font-size: .98rem; color: rgba(244,239,228,.86); position: relative; padding: .4rem 0; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.site-nav ul a:hover, .site-nav ul a[aria-current] { color: var(--parchment); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(244,239,228,.3); border-radius: 12px; width: 46px; height: 46px; color: var(--parchment); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 1.5px; background: currentColor; margin: auto; position: relative; transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; align-items: end; color: var(--parchment); background: var(--midnight); padding: clamp(112px, 76px + 4rem, 140px) 0 clamp(4rem, 8vw, 7rem); }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__image { position: absolute; inset: -6% 0 auto; width: 100%; height: 112%; object-fit: cover; object-position: 70% center; opacity: .78; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,18,32,.96) 0%, rgba(11,18,32,.78) 38%, rgba(11,18,32,.15) 70%, rgba(11,18,32,.35) 100%), linear-gradient(0deg, var(--midnight) 0%, transparent 35%); }
.hero__inner { position: relative; z-index: 2; min-width: 0; }
.hero__title { font-size: min(clamp(2.5rem, 1.6rem + 5.4vw, 6.4rem), 16vw); font-weight: 340; max-width: min(13ch, 100%); margin-bottom: 1.6rem; font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1; }
/* Split words: clip only vertically (for the rise-in) so a word wider than the line wraps instead of being cut off. */
.hero__title .word { display: inline-block; max-width: 100%; overflow-x: visible; overflow-y: clip; vertical-align: top; padding-bottom: .08em; }
.hero__title .word > span { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.hero__body { max-width: 52ch; font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); color: #D4DAE6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.2rem 0 3rem; }
.hero__ledger { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.hero__ledger li { max-width: 100%; font: 500 .72rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mist); padding: .6rem .85rem; border: 1px solid var(--line-dark); border-radius: 99px; background: rgba(11,18,32,.45); backdrop-filter: blur(6px); }
.hero__scroll { position: absolute; left: 50%; bottom: 1.6rem; width: 1px; height: 54px; background: rgba(244,239,228,.18); overflow: hidden; }
.hero__scroll span { position: absolute; inset: 0; background: var(--brass); transform: translateY(-100%); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { to { transform: translateY(100%); } }

/* Bands */
.band { position: relative; padding: clamp(4.5rem, 9vw, 8.5rem) 0; }
.band--light { background: var(--parchment); color: var(--ink); }
.band--dark { background: var(--midnight); color: var(--parchment); }
.band--dark + .band--dark { padding-top: 0; }
.band--light + .band--light { padding-top: 0; }
.band--text { padding-bottom: clamp(2rem, 4vw, 3rem); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.edit-block { display: inline-block; font: 500 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--verdigris-deep); border: 1px dashed currentColor; padding: .35rem .5rem; border-radius: 6px; text-decoration: none; margin-top: .5rem; }
[data-tone="dark"] .edit-block { color: var(--verdigris); }

/* Page intro (text + feature image) */
.intro { padding-top: calc(76px + clamp(3.5rem, 7vw, 6rem)); overflow-x: clip; }
.intro__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.intro__media { position: relative; }
.intro__orbit { position: absolute; inset: -8%; width: 116%; height: 116%; fill: none; stroke: var(--brass); stroke-width: .5; stroke-dasharray: 2 6; opacity: .7; animation: spin 80s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.frame { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--midnight-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.frame--arch { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 5; }

/* Stats */
.stats { padding-block: clamp(3rem, 6vw, 5rem); }
.hero + .stats { padding-top: 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line-dark); }
.stat { padding: 2rem 1.6rem 1.4rem 0; border-right: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.stat + .stat { padding-left: 1.6rem; }
.stat:last-child { border-right: 0; }
.stat__value { order: -1; margin: 0 0 .5rem; overflow-wrap: anywhere; font: 340 clamp(2.2rem, 1.8rem + 2vw, 3.6rem)/1 var(--serif); color: var(--brass-bright); font-variation-settings: "opsz" 144; font-variant-numeric: lining-nums tabular-nums; }
.stat__label { font-size: .95rem; color: var(--mist); max-width: 26ch; }
.stat__source { margin: .8rem 0 0; font-size: .85rem; }
.stat__source a { color: var(--verdigris); }
.band--light .stat__value { color: var(--brass-deep); } .band--light .stat__label { color: var(--ink-soft); }

/* Offer spotlight */
.offer__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.offer__card { position: relative; background: var(--vellum); border: 1px solid rgba(201,164,92,.45); border-radius: calc(var(--radius) + 8px); padding: min(clamp(1.25rem, 5vw, 3.5rem), 8vw); box-shadow: var(--shadow); transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.offer__card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201,164,92,.28); border-radius: calc(var(--radius) + 2px); pointer-events: none; }
.offer__seal { position: absolute; top: 1.6rem; right: 1.6rem; color: var(--midnight); animation: spin 60s linear infinite; opacity: .9; }
.offer__price { display: flex; flex-direction: column; gap: .35rem; margin: .5rem 0 1.8rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line-light); }
.offer__amount { overflow-wrap: anywhere; font: 380 clamp(2.1rem, 1.8rem + 2vw, 3.4rem)/1 var(--serif); color: var(--midnight); font-variation-settings: "opsz" 144; }
.offer__terms { font: 500 .78rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); }
.checklist { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .8rem; }
.checklist li { position: relative; padding-left: 2.1rem; overflow-wrap: anywhere; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--verdigris-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23F4EFE4' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat; }
.offer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.offer__media { aspect-ratio: 4 / 5; }
.offer__media, .split__media, .intro__media .frame { position: relative; }
.offer__media > [data-parallax], .split__media > [data-parallax] { position: absolute; inset: -12% 0; }
.offer__media .frame, .split__media .frame { background: #E9E2D3; }
.offer__media img, .split__media img { height: 100%; transform: none; }

/* Service cards */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: 1.1rem; }
.card { position: relative; display: flex; flex-direction: column; background: var(--vellum); border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(1.4rem, 5vw, 2rem) clamp(1.1rem, 4.5vw, 1.7rem) clamp(1.1rem, 4.5vw, 1.7rem); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(63,184,169,.18), transparent 70%); transform: translate(var(--gx, 0), var(--gy, 0)); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { border-color: rgba(201,164,92,.6); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }
.card__title { font-size: 1.55rem; margin-bottom: .7rem; }
.card__body { color: var(--ink-soft); flex: 1; }
.card__price { font: 500 .8rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brass-deep); margin: 1rem 0 .8rem; }
.card--featured { background: var(--midnight); color: var(--parchment); border-color: rgba(201,164,92,.5); }
.card--featured .eyebrow { color: var(--brass-bright); }
.card--featured .card__body { color: #CED5E2; }
.card--featured .card__price { color: var(--brass-bright); font-size: .95rem; }
.card--featured .link-arrow { color: var(--verdigris); }
.card--featured .edit-block { color: var(--verdigris); }

/* Policy drivers */
.driver-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 3rem; }
.driver { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .6rem 1.4rem; padding: 2.2rem 0; border-top: 1px solid var(--line-light); }
[data-tone="dark"] .driver { border-color: var(--line-dark); }
.driver__index { flex: none; font: 300 2.6rem/1 var(--serif); color: var(--brass-deep); font-variation-settings: "opsz" 144; min-width: 2.4ch; }
[data-tone="dark"] .driver__index { color: var(--brass); }
.driver > :not(.driver__index) { flex: 1 1 13rem; }
.driver__title { font-size: 1.45rem; }
.driver .prose { color: var(--ink-soft); }
[data-tone="dark"] .driver .prose { color: var(--mist); }

/* Method timeline */
.timeline-wrap { position: relative; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; position: relative; }
.timeline__rail { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line-dark); }
.band--light .timeline__rail { background: var(--line-light); }
.timeline__progress { position: absolute; inset: 0; background: linear-gradient(90deg, var(--verdigris), var(--brass)); transform-origin: left; transform: scaleX(var(--progress, 1)); }
.step { position: relative; padding-top: 4rem; }
.step__node { position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--midnight-2); border: 1px solid var(--brass); box-shadow: 0 0 0 6px var(--midnight); }
.band--light .step__node { background: var(--vellum); box-shadow: 0 0 0 6px var(--parchment); }
.step__node svg { width: 20px; height: 20px; fill: none; stroke: var(--verdigris); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; transition: stroke-dashoffset .8s var(--ease) calc(var(--i, 0) * 120ms + 300ms); }
.band--light .step__node svg { stroke: var(--verdigris-deep); }
.step__when { font: 500 .72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-bright); margin-bottom: .6rem; }
.band--light .step__when { color: var(--brass-deep); }
.step__title { font-size: 1.6rem; }
.step .prose { color: var(--mist); font-size: .97rem; }
.band--light .step .prose { color: var(--ink-soft); }

/* Split */
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--image-left .split__media { order: -1; }
.split__media { aspect-ratio: 5 / 4; }
.split .prose { color: var(--ink-soft); }
[data-tone="dark"] .split__body .prose, .band--dark.split .prose, [data-tone="dark"] .muted, [data-tone="dark"] .card__body { color: #C9D1DF; }
[data-tone="dark"] .split .prose { color: #CED5E2; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 50% 120%, var(--midnight-3), var(--midnight)); color: var(--parchment); text-align: center; padding: clamp(5rem, 11vw, 9rem) 0; }
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta-band .lede { margin-inline: auto; }
.cta-band__rings span { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; border: 1px solid var(--line-dark); border-radius: 50%; translate: -50% -50%; animation: pulse 9s var(--ease) infinite; opacity: 0; }
.cta-band__rings span:nth-child(2) { animation-delay: 3s; } .cta-band__rings span:nth-child(3) { animation-delay: 6s; }
@keyframes pulse { 0% { scale: .4; opacity: 0; } 30% { opacity: .9; } 100% { scale: 2.2; opacity: 0; } }

/* Contact form */
.form-band { padding-top: 0; }
.form-band__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-facts { margin: 1.5rem 0; display: grid; gap: 1rem; }
.contact-facts div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); border-top: 1px solid var(--line-light); padding-top: 1rem; }
.contact-facts dt { font: 500 .72rem/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.contact-facts dd { margin: 0; }
.form-card { background: var(--vellum); border: 1px solid var(--line-light); border-radius: calc(var(--radius) + 6px); padding: min(clamp(1.6rem, 4vw, 3rem), 8vw); box-shadow: var(--shadow); display: grid; gap: 1.2rem; }
.form-card--sent { text-align: center; justify-items: center; color: var(--midnight); }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .95rem; }
.req { color: #9B2C2C; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #8C93A3; border-radius: 12px; padding: .85rem 1rem; transition: border-color .25s, box-shadow .25s; width: 100%; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--verdigris-deep); box-shadow: 0 0 0 4px rgba(21,107,98,.2); }
.has-error input, .has-error select, .has-error textarea { border-color: #9B2C2C; }
.field__error { color: #9B2C2C; font-size: .9rem; margin: 0; font-weight: 600; }
.form-error-summary { border: 2px solid #9B2C2C; border-radius: 12px; padding: 1rem 1.2rem; background: #FFF6F4; }
.form-error-summary h3 { font: 700 1rem/1.3 var(--sans); margin-bottom: .4rem; }
.form-error-summary a { color: #9B2C2C; }
.hp { position: absolute; left: -9999px; }
.flash { position: fixed; z-index: 60; top: 92px; left: 50%; translate: -50% 0; background: var(--midnight); color: var(--parchment); border: 1px solid var(--brass); padding: .9rem 1.3rem; border-radius: 14px; box-shadow: var(--shadow); animation: flash-in .6s var(--ease-spring) both, flash-out .5s ease 6s forwards; }
.flash p { margin: 0; }
@keyframes flash-in { from { opacity: 0; translate: -50% -20px; } }
@keyframes flash-out { to { opacity: 0; visibility: hidden; } }

/* Footer */
.colophon { background: var(--midnight); color: var(--mist); border-top: 1px solid var(--line-dark); }
.colophon__inner { width: min(100% - var(--gutter), var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; padding: 4.5rem 0 3rem; }
.colophon__brand { color: var(--parchment); }
.colophon__line { font: 380 1.5rem/1.3 var(--serif); color: var(--parchment); max-width: min(22ch, 100%); margin-top: 1.2rem; }
.colophon__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.colophon__h { font: 500 .72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-bright); margin-bottom: 1.1rem; }
.colophon ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.colophon a { color: #DCE2EC; text-decoration: none; }
.colophon a:hover { color: var(--parchment); text-decoration: underline; }
.colophon__legal { width: min(100% - var(--gutter), var(--wrap)); margin-inline: auto; border-top: 1px solid var(--line-dark); padding: 1.5rem 0 2rem; font-size: .85rem; }

/* Reveal system (enabled only when JS runs and motion is allowed) */
.motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.motion [data-reveal="scale"] { transform: scale(.94); clip-path: inset(8% 8% 8% 8% round var(--radius)); transition: opacity 1s var(--ease), transform 1.2s var(--ease), clip-path 1.2s var(--ease); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
/* Only image reveals use a clip-path wipe. On text blocks a clip-path (even inset(0) with rounded corners) cuts off
   glyphs at the corners and anything that overflows the box, which is what clipped zoomed text on phones. */
.motion [data-reveal="scale"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.motion .step:not(.is-in) .step__node svg { stroke-dashoffset: 24; }
.motion .checklist li { opacity: 0; transform: translateX(-10px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 80ms + 300ms); }
.motion .is-in .checklist li { opacity: 1; transform: none; }
.motion .hero__title .word > span { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--w, 0) * 70ms + 150ms); }
.motion .hero.is-ready .hero__title .word > span { transform: none; }
.motion .hero__eyebrow { opacity: 0; transition: opacity 1s var(--ease) .1s; }
.motion .hero.is-ready .hero__eyebrow { opacity: 1; }

/* Page transitions (cross-document View Transitions where supported) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
.masthead { view-transition-name: masthead; }
.page-veil { position: fixed; inset: 0; z-index: 95; background: var(--midnight); pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); }
.page-veil.is-active { opacity: 1; }

/* Responsive */
@media (max-width: 67.5em) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline__rail { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline__progress { transform: scaleY(var(--progress, 1)); transform-origin: top; }
  .step { padding: 0 0 2.4rem min(4.6rem, 72px); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; } .stat:nth-child(3) { padding-left: 0; }
}
@media (max-width: 55em) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav { position: fixed; inset: 76px 0 auto; max-height: calc(100svh - 76px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 1.2rem; padding: 1.5rem 1.25rem 2rem; background: rgba(11,18,32,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-dark); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; gap: .2rem; }
  .site-nav ul a { display: block; font-size: 1.25rem; font-family: var(--serif); padding: .7rem 0; }
  .intro__grid, .offer__grid, .split__grid, .form-band__grid, .colophon__inner { grid-template-columns: 1fr; }
  .split--image-left .split__media { order: 0; }
  .intro__media { max-width: 420px; }
  .colophon__cols { grid-template-columns: 1fr 1fr; }
  .hero { align-items: end; min-height: 92svh; }
  .hero__image { object-position: 78% center; opacity: .55; }
  .hero__veil { background: linear-gradient(0deg, rgba(11,18,32,.98) 30%, rgba(11,18,32,.55) 70%, rgba(11,18,32,.4)); }
  .offer__seal { width: 56px; height: 56px; top: 1.2rem; right: 1.2rem; }
  .offer__seal .seal { width: 56px; height: 56px; }
}
@media (max-width: 35em) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 1.6rem 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .driver-list { grid-template-columns: 1fr; }
  .colophon__cols { grid-template-columns: 1fr; }
  .contact-facts div { grid-template-columns: 1fr; }
}

/* Choose where to start (/start/): service-line cards, steps, review. Works without JavaScript. */
:where(.start__grid, .start__form, .form-error-summary, .next-card__list, .review, .review__lines, .choice-grid, .choice, .choice__body, .review__list div, .review__head, .radio-pills, .start__actions) > * { min-width: 0; max-width: 100%; }
.start { padding-top: clamp(6.25rem, 10vw, 8.5rem); }
.start__head { margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
/* The stepper: one row of numbered pills at the top of every step. If the row is wider than the screen it scrolls
   sideways, and site.js slides the current step into the middle (instantly when reduced motion is on). */
.steps-nav { margin: 0 0 clamp(1.1rem, 3vw, 2rem); scroll-margin-top: 92px; }
.steps-nav__count { margin: 0 0 .5rem; font: 500 .74rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--verdigris-deep); }
.steps-nav__list { list-style: none; margin: 0 calc(-1 * min(.4rem, var(--gutter) / 2)); padding: .4rem; display: flex; flex-wrap: nowrap; gap: .45rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 2rem; scrollbar-width: none; }
.steps-nav__list::-webkit-scrollbar { display: none; }
.steps-nav__item { position: relative; flex: none; max-width: 100%; scroll-snap-align: center; display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .85rem .3rem .3rem; border: 1.5px solid var(--line-light); border-radius: 999px; background: rgba(255,255,255,.6); font: 500 .74rem/1.25 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); transition: background .4s var(--ease), border-color .4s, color .4s; }
.steps-nav__num { flex: none; display: inline-grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 50%; border: 1.5px solid #8C93A3; font-size: .78rem; letter-spacing: 0; transition: background .4s var(--ease), border-color .4s, color .4s; }
.steps-nav__label { min-width: 0; overflow-wrap: anywhere; }
.steps-nav__item.is-done { border-color: rgba(21,107,98,.4); color: var(--verdigris-deep); }
.steps-nav__item.is-done .steps-nav__num { background: var(--verdigris-deep); border-color: var(--verdigris-deep); color: var(--parchment); }
.steps-nav__item.is-current { background: var(--midnight); border-color: var(--midnight); color: var(--parchment); font-weight: 600; box-shadow: 0 0 0 3px rgba(201,164,92,.35); }
.steps-nav__item.is-current .steps-nav__num { background: var(--brass-bright); border-color: var(--brass-bright); color: var(--midnight); }
/* Phones and small tablets: only the current step shows its name, so all five pills usually fit on one row. */
@media (max-width: 47.99em) {
  .steps-nav__item:not(.is-current) { padding: .3rem; }
  .steps-nav__item:not(.is-current) .steps-nav__label { display: none; }
  .start .display { font-size: min(2.1rem, 11vw); }
  .start__head .eyebrow { margin-bottom: .6rem; }
  .start__head .lede { font-size: 1rem; line-height: 1.5; }
  .start__head .lede p { margin: .6rem 0 0; }
}
.start__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start; }
.start__form { display: grid; gap: 1.4rem; }
.choice-set { min-width: 0; min-inline-size: 0; border: 0; margin: 0; padding: 0; display: grid; gap: .9rem; }
.choice-set__legend { padding: 0; margin-bottom: .9rem; font: 500 .76rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.choice-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.choice { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; align-items: start; background: var(--vellum); border: 1.5px solid var(--line-light); border-radius: var(--radius); padding: clamp(1.1rem, 4vw, 1.5rem); transition: border-color .3s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease), background .3s; }
.choice:hover { border-color: rgba(201,164,92,.7); box-shadow: var(--shadow); }
.choice:has(.choice__input:checked), .no-js .choice.is-checked { border-color: var(--verdigris-deep); background: #fff; box-shadow: 0 0 0 3px rgba(21,107,98,.18), var(--shadow); }
.choice:has(.choice__input:focus-visible) { outline: 3px solid var(--verdigris-deep); outline-offset: 3px; }
.choice__input { position: relative; z-index: 1; appearance: none; -webkit-appearance: none; margin: .15rem 0 0; width: 1.6rem; height: 1.6rem; border: 1.5px solid #8C93A3; border-radius: 8px; background: #fff; cursor: pointer; display: grid; place-content: center; transition: background .25s, border-color .25s; }
.choice__input::after { content: ""; width: .8rem; height: .45rem; border: solid var(--parchment); border-width: 0 0 2.5px 2.5px; transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform .35s var(--ease-spring); }
.choice__input:checked { background: var(--verdigris-deep); border-color: var(--verdigris-deep); }
.choice__input:checked::after { transform: translateY(-2px) rotate(-45deg) scale(1); }
.choice__input:focus-visible { outline: none; }
.choice__body .eyebrow { margin-bottom: .5rem; }
.choice__title { display: block; font: 420 1.3rem/1.15 var(--serif); letter-spacing: -.01em; color: var(--ink); cursor: pointer; margin-bottom: .45rem; overflow-wrap: break-word; }
.choice__title::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.choice__body :where(p, li, label) { overflow-wrap: anywhere; }
.choice__desc { color: var(--ink-soft); font-size: .95rem; margin: 0 0 .6rem; }
.choice__meta { color: var(--brass-deep); font-weight: 600; }
.choice__outcomes { grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: .6rem 0 0; border-top: 1px solid var(--line-light); display: grid; gap: .3rem; font-size: .88rem; color: var(--ink-soft); }
.choice__outcomes li { position: relative; padding-left: 1.1rem; }
.choice__outcomes li::before { content: ""; position: absolute; left: 0; top: .62em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--verdigris); }
.choice--unsure { background: transparent; border-style: dashed; border-color: #8C93A3; }
.choice-set.has-error .choice { border-color: #9B2C2C; }
.field--radios { min-width: 0; min-inline-size: 0; border: 0; margin: 0; padding: 0; }
.field--radios legend { padding: 0; font-weight: 600; font-size: 1rem; margin-bottom: .6rem; }
.radio-pills { display: flex; flex-wrap: wrap; gap: .55rem; }
.radio-pill { position: relative; display: inline-flex; align-items: center; gap: .55rem; max-width: 100%; padding: .65rem 1rem; border: 1.5px solid #8C93A3; border-radius: 999px; background: #fff; cursor: pointer; font-weight: 500 !important; font-size: .95rem; transition: border-color .25s, background .25s, box-shadow .25s; }
.radio-pill:hover { border-color: var(--ink-soft); }
.radio-pill input { flex: none; width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--verdigris-deep); padding: 0; border: 0; }
.radio-pill:has(input:checked) { border-color: var(--verdigris-deep); background: #EAF5F3; box-shadow: 0 0 0 3px rgba(21,107,98,.15); }
.radio-pill:has(input:focus-visible) { outline: 3px solid var(--verdigris-deep); outline-offset: 2px; }
.radio-pill span { overflow-wrap: anywhere; }
.field__hint { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.has-error.field--radios .radio-pill { border-color: #9B2C2C; }
.privacy-note { border-top: 1px solid var(--line-light); padding-top: 1.1rem; font-size: .92rem; color: var(--ink-soft); }
.privacy-note__title { font: 600 1rem/1.3 var(--sans); letter-spacing: 0; color: var(--ink); margin-bottom: .4rem; }
.privacy-note a, .start a, .start .form-error-summary, .start legend, .start .field__error { overflow-wrap: anywhere; }
.start__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.link-button { font: 600 1rem/1.3 var(--sans); color: var(--verdigris-deep); background: none; border: 0; padding: .3rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; max-width: 100%; text-align: left; }
.link-button:hover { text-decoration-thickness: 2px; }
.link-button:focus-visible { outline: 3px solid var(--verdigris-deep); outline-offset: 3px; border-radius: 4px; }
.link-button--back::before { content: "← "; }
.review { gap: 1.6rem; }
.review__group + .review__group { border-top: 1px solid var(--line-light); padding-top: 1.4rem; }
.review__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1rem; margin-bottom: .8rem; }
.review__head h2 { font-size: 1.35rem; margin: 0; }
.review__lines { grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.review__lines li { display: grid; grid-template-columns: minmax(0, 1fr); overflow-wrap: anywhere; gap: .15rem; padding-left: 1.1rem; border-left: 3px solid var(--verdigris); }
.review__lines span { color: var(--ink-soft); font-size: .92rem; }
.review__list { grid-template-columns: minmax(0, 1fr); margin: 0; display: grid; gap: .5rem; }
.review__list div { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: .3rem 1rem; }
.review__list dt { font-weight: 600; font-size: .92rem; }
.review__list dd { margin: 0; overflow-wrap: anywhere; }
.next-card { position: sticky; top: 110px; background: var(--midnight); color: var(--parchment); border-radius: var(--radius); padding: clamp(1.3rem, 4vw, 1.8rem); box-shadow: var(--shadow); }
.next-card__title { font-size: 1.4rem; color: var(--parchment); }
.next-card__list { grid-template-columns: minmax(0, 1fr); overflow-wrap: anywhere; margin: 0 0 1rem; padding-left: 1.2rem; display: grid; gap: .8rem; color: #CED5E2; font-size: .95rem; }
.next-card__list strong { color: var(--brass-bright); font-weight: 600; }
.next-card__foot { margin: 0; font-size: .88rem; color: #CED5E2; }
.next-card a { color: var(--verdigris); }
.start__thanks { text-align: center; justify-items: center; }
.start__thanks .lede { margin-inline: auto; }
@media (max-width: 55em) {
  .start__grid { grid-template-columns: minmax(0, 1fr); }
  .next-card { position: static; }
}
@media (max-width: 35em) {
  .review__list div { grid-template-columns: minmax(0, 1fr); }
  .choice { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .radio-pill { border-radius: 14px; }
}
@media (forced-colors: active) { .choice__input:checked { background: Highlight; } .choice:has(.choice__input:checked) { outline: 3px solid Highlight; } }

/* Reduced motion: everything static, no parallax, no transitions. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
  .hero__scroll, .cta-band__rings, .intro__orbit { display: none; }
  [data-parallax] { transform: none !important; }
}
@media (forced-colors: active) { .btn { border: 2px solid ButtonText; } .grain, .hero__canvas { display: none; } }
@media (max-width: 45em) { .hero__scroll { display: none; } }

/* Services carousel (Services page and step 1 of /start/). Without JS it is a plain swipeable, scroll-snapping list;
   site.js adds previous/next, dots and arrow keys. Each service has its own accent, number and line motif. */
.svc--verdigris { --accent: #156B62; --accent-soft: #DCEEE9; --accent-glow: rgba(21,107,98,.22); }
.svc--cobalt { --accent: #1F4F8F; --accent-soft: #DFE7F3; --accent-glow: rgba(31,79,143,.22); }
.svc--brass { --accent: #75561A; --accent-soft: #F2E6CB; --accent-glow: rgba(122,91,30,.24); }
.svc--moss { --accent: #46662A; --accent-soft: #E3ECD5; --accent-glow: rgba(70,102,42,.22); }
.svc--plum { --accent: #6E3B6E; --accent-soft: #EEE0EB; --accent-glow: rgba(110,59,110,.22); }
.svc--slate { --accent: #3A4B63; --accent-soft: #E1E5EC; --accent-glow: rgba(58,75,99,.22); }
.svc--terracotta { --accent: #96401F; --accent-soft: #F4E0D6; --accent-glow: rgba(150,64,31,.22); }
.svc--indigo { --accent: #45408C; --accent-soft: #E3E1F2; --accent-glow: rgba(69,64,140,.22); }
.svc-carousel { container-type: inline-size; min-width: 0; max-width: 100%; }
.svc-carousel__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-bottom: .6rem; }
.svc-carousel__bar > * { min-width: 0; max-width: 100%; }
.svc-carousel__hint { margin: 0; flex: 1 1 9rem; font-size: .9rem; color: var(--ink-soft); overflow-wrap: anywhere; }
[data-tone="dark"] .svc-carousel__hint { color: var(--mist); }
.svc-carousel__controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.svc-carousel__controls[hidden], .svc-carousel__dots[hidden] { display: none; }
.svc-carousel__count { font: 500 .78rem/1 var(--mono); letter-spacing: .08em; color: var(--ink-soft); margin-right: .3rem; font-variant-numeric: tabular-nums; }
[data-tone="dark"] .svc-carousel__count { color: var(--mist); }
.svc-carousel__btn { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--vellum); color: var(--ink); cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), opacity .25s; }
.svc-carousel__btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-carousel__btn:hover:not(:disabled) { background: var(--ink); color: var(--parchment); }
.svc-carousel__btn:disabled { opacity: .35; cursor: default; }
[data-tone="dark"] .svc-carousel__btn { border-color: var(--brass-bright); background: transparent; color: var(--parchment); }
.svc-carousel__track { position: relative; list-style: none; margin: 0 calc(-1 * min(.35rem, 2vw)); padding: .5rem min(.35rem, 2vw) 1.3rem; display: flex; gap: clamp(.8rem, 2.5vw, 1.2rem); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: min(.35rem, 2vw); scrollbar-width: thin; scrollbar-color: rgba(14,22,38,.35) transparent; -webkit-overflow-scrolling: touch; border-radius: 12px; }
.svc-carousel__track:focus-visible { outline-offset: -2px; }
.motion .svc-carousel__track { scroll-behavior: smooth; }
.svc { flex: 0 0 min(86%, 23rem); min-width: 0; display: flex; scroll-snap-align: start; }
@container (min-width: 40rem) { .svc { flex-basis: calc((100% - 1.2rem) / 2); } }
@container (min-width: 64rem) { .svc { flex-basis: calc((100% - 2.4rem) / 3); } }
.svc__card { position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; background: var(--vellum); color: var(--ink); border: 1.5px solid var(--line-light); border-top: 5px solid var(--accent); border-radius: var(--radius); padding: 0 clamp(1rem, 4.5vw, 1.5rem) clamp(1rem, 4.5vw, 1.4rem); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s var(--ease), background .3s; }
.svc__card > * { min-width: 0; max-width: 100%; }
.svc__card :where(p, li, label, h2, h3, a, span) { overflow-wrap: anywhere; }
.svc__card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.motion .svc__card:hover { transform: translateY(-4px); }
.svc__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 calc(-1 * clamp(1rem, 4.5vw, 1.5rem)) 1.1rem; max-width: none; padding: 1rem clamp(1rem, 4.5vw, 1.5rem); background: linear-gradient(120deg, var(--accent-soft) 35%, rgba(251,248,241,.4)); border-radius: calc(var(--radius) - 6px) calc(var(--radius) - 6px) 0 0; color: var(--accent); }
.svc__num { font: 340 clamp(2.2rem, 1.9rem + 1.2vw, 2.9rem)/1 var(--serif); font-variation-settings: "opsz" 144; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; }
.svc__icon { flex: none; width: 3.1rem; height: 3.1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease-spring); }
.motion .svc__card:hover .svc__icon, .motion .svc.is-checked .svc__icon { transform: rotate(-6deg) scale(1.06); }
.svc__name { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin: 0 0 .55rem; font: 500 .72rem/1.35 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.svc__tag { display: inline-block; padding: .25em .6em; border-radius: 99px; background: var(--accent); color: #fff; letter-spacing: .08em; }
.svc__headline { font: 420 clamp(1.3rem, 1.15rem + .6vw, 1.6rem)/1.15 var(--serif); letter-spacing: -.012em; margin: 0 0 .6rem; color: var(--ink); }
.svc__summary { font-size: .95rem; color: var(--ink-soft); margin: 0 0 .8rem; }
.svc__outcomes { list-style: none; margin: 0 0 1rem; padding: .75rem 0 0; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: minmax(0, 1fr); gap: .4rem; font-size: .92rem; }
.svc__outcomes li { position: relative; padding-left: 1.6rem; }
.svc__outcomes li::before { content: ""; position: absolute; left: .1rem; top: .38em; width: .8rem; height: .45rem; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.svc__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1rem; padding-top: .3rem; }
.svc__foot > * { min-width: 0; max-width: 100%; }
.svc__time { display: inline-flex; align-items: center; gap: .45rem; margin: 0; font: 500 .78rem/1.3 var(--mono); letter-spacing: .04em; color: var(--accent); }
.svc__time svg { flex: none; width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.svc__cta { --bg: var(--accent); padding: .8rem 1.2rem; }
.svc__cta:hover { box-shadow: 0 14px 30px -12px var(--accent); }
/* Choose toggle: the checkbox and its label sit on the card; the label's overlay makes the whole card tappable. */
.svc__choose { display: inline-flex; align-items: center; gap: .6rem; max-width: 100%; min-height: 2.9rem; padding: .45rem min(1.1rem, 4vw) .45rem min(.6rem, 3vw); border: 1.5px solid var(--accent); border-radius: 999px; color: var(--accent); font-weight: 600; transition: background .3s var(--ease), color .3s var(--ease); }
.svc__input { position: relative; z-index: 1; flex: none; appearance: none; -webkit-appearance: none; margin: 0; width: 1.6rem; height: 1.6rem; border: 1.5px solid var(--accent); border-radius: 50%; background: #fff; cursor: pointer; display: grid; place-content: center; }
.svc__input::after { content: ""; width: .7rem; height: .4rem; border: solid var(--accent); border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .35s var(--ease-spring); }
.svc__input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.svc__input:focus-visible { outline: none; }
.svc__toggle { min-width: 0; cursor: pointer; }
.svc__toggle::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc__toggle-on { display: none; }
.svc:has(.svc__input:checked) .svc__card, .no-js .svc.is-checked .svc__card { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow); }
.svc:has(.svc__input:checked) .svc__choose, .no-js .svc.is-checked .svc__choose { background: var(--accent); color: #fff; }
.svc:has(.svc__input:checked) .svc__toggle-on { display: inline; }
.svc:has(.svc__input:checked) .svc__toggle-off { display: none; }
.svc:has(.svc__input:focus-visible) .svc__choose { outline: 3px solid var(--accent); outline-offset: 3px; }
.choice-set.has-error .svc__card { border-color: #9B2C2C; border-top-color: var(--accent); }
.svc-carousel__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: .2rem; }
.svc-carousel__dot { width: .6rem; height: .6rem; padding: 0; border: 0; border-radius: 99px; background: rgba(14,22,38,.22); cursor: pointer; transition: width .35s var(--ease), background .3s; }
.svc-carousel__dot.is-active { width: 1.7rem; background: var(--accent); }
[data-tone="dark"] .svc-carousel__dot { background: rgba(244,239,228,.3); }
[data-tone="dark"] .svc-carousel__dot.is-active { background: var(--brass-bright); }
.services__head { max-width: 760px; }
.choice-set .choice--unsure { margin-top: .4rem; }
/* Step 1: the Continue bar stays at the bottom of the screen, next to the cards, while the choices are on screen. */
.start__actions--sticky { position: sticky; bottom: 0; z-index: 5; max-width: none; margin-inline: calc(-1 * min(.75rem, 4vw)); padding: .75rem min(.75rem, 4vw) calc(.75rem + env(safe-area-inset-bottom, 0px)); background: rgba(244,239,228,.96); border-top: 1px solid var(--line-light); border-radius: 16px 16px 0 0; box-shadow: 0 -18px 30px -24px rgba(11,18,32,.45); }
@supports (backdrop-filter: blur(1px)) { .start__actions--sticky { background: rgba(244,239,228,.86); backdrop-filter: blur(10px); } }
.start__chosen { flex: 1 1 12rem; min-width: 0; margin: 0; font-size: .92rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.start__chosen strong { color: var(--ink); }
.start__actions--sticky .btn { flex: 0 1 auto; }
/* Short screens (landscape phones, 200% page zoom): the bar would cover too much, so Continue sits under the cards. */
/* One column: the Continue bar runs edge to edge, so no corner or card shows beside it. */
@media (max-width: 55em) { .start__actions--sticky { margin-inline: calc(-1 * var(--gutter) / 2); padding-inline: calc(var(--gutter) / 2); border-radius: 0; } }
@media (max-height: 480px) { .start__actions--sticky { position: static; margin-inline: 0; padding-inline: 0; background: none; backdrop-filter: none; border-top: 0; box-shadow: none; } }
@media (max-width: 35em) {
  .start__actions--sticky { gap: .6rem 1rem; }
  .start__chosen { flex-basis: 8rem; font-size: .85rem; line-height: 1.4; }
  .svc__head { padding-block: .7rem; margin-bottom: .9rem; }
  .svc__num { font-size: 2rem; } .svc__icon { width: 2.6rem; height: 2.6rem; }
  .svc__summary { font-size: .9rem; line-height: 1.5; }
  .svc__outcomes { font-size: .88rem; line-height: 1.45; gap: .3rem; }
}
/* Very narrow carousels (e.g. 320px screens with both 200% text and 200% zoom): tighter card padding and a stacked
   "Choose this" control so the words always stay inside the card. */
@container (max-width: 12rem) {
  .svc__card { padding-inline: .5rem; }
  .svc__head { margin-inline: -.5rem; padding-inline: .5rem; }
  .svc__choose { flex-wrap: wrap; gap: .3rem; padding: .4rem; border-radius: .9rem; font-size: .8rem; }
}
@media (forced-colors: active) { .svc:has(.svc__input:checked) .svc__card { outline: 3px solid Highlight; } .svc__input:checked { background: Highlight; } .svc-carousel__dot.is-active { background: Highlight; } }
@media (prefers-reduced-motion: reduce) { .svc-carousel__track { scroll-behavior: auto; } .svc__card:hover, .svc__icon { transform: none !important; } }

/* --- Consultation time step ----------------------------------------------------------------------------------- */
.when > * { min-width: 0; max-width: 100%; }
.when__note { margin: 0 0 1.4rem; padding: .8rem 1rem; border-left: 4px solid var(--verdigris-deep); background: #EAF5F3; border-radius: 0 10px 10px 0; overflow-wrap: anywhere; }
.slot-set { min-width: 0; margin: 0 0 1.6rem; padding: 1.1rem min(1.2rem, 4vw) .4rem; border: 1.5px solid var(--line-light); border-radius: 16px; background: rgba(255,255,255,.55); }
.slot-set > * { min-width: 0; max-width: 100%; }
.slot-set__legend { padding: 0 .4rem; font-family: var(--serif, inherit); font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }
.slot-set .field select { max-width: 100%; }
.slot-set.has-error { border-color: #9B2C2C; }
.thanks__consult { margin: 1.4rem 0; padding: 1rem min(1.2rem, 4vw); border: 1.5px solid var(--line-light); border-radius: 14px; background: #fff; text-align: left; }
.thanks__consult > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.thanks__consult-title { font-size: 1.1rem; margin: 0 0 .6rem; }
