/* ByDate Express site styles. Shared by every page; tokens come from tokens.css. */
:root { --max: 1180px; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--text-link); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-family: var(--font-heading); font-weight: var(--heading-weight); font-stretch: var(--heading-stretch); letter-spacing: -0.02em; }
body { font-feature-settings: "cv11", "ss01"; }
h3 { font-stretch: 100%; letter-spacing: -0.012em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--space-5); }
@media (max-width: 480px) { .wrap { padding: 0 var(--space-4); } }
.skip { position: absolute; left: -9999px; top: 0; background: var(--surface-page); padding: var(--space-2) var(--space-4); z-index: 100; }
.skip:focus { left: var(--space-4); top: var(--space-4); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--color-ink-900); color: var(--color-neutral-0); border-bottom: 1px solid rgba(255,255,255,.08); transition: background var(--duration-base) var(--easing-standard), border-color var(--duration-base) var(--easing-standard); }
.site-header.is-solid { background: rgba(10,26,51,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; gap: var(--space-5); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-2); color: inherit; text-decoration: none; font-weight: var(--weight-bold); font-size: var(--text-lg); letter-spacing: -.01em; }
.brand svg { width: 34px; height: 22px; flex: none; color: var(--brand-mark); }
.nav { display: flex; gap: var(--space-5); margin-left: auto; }
.nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: var(--text-sm); font-weight: var(--weight-medium); }
.nav a:hover { color: #fff; }
.header-cta { display: flex; gap: var(--space-2); align-items: center; }
.brand span, .btn { white-space: nowrap; }
.label-short { display: none; }
@media (max-width: 920px) { .nav { display: none; } .header-cta { margin-left: auto; } .header-cta .btn-ghost-light { display: none; } }
@media (max-width: 480px) { .header-cta .label-full { display: none; } .header-cta .label-short { display: inline; } .header-cta .btn { padding: 0 var(--space-4); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-5); border-radius: var(--radius-md); border: 1px solid transparent; font: inherit; font-size: var(--text-sm); font-weight: var(--weight-bold); text-decoration: none; cursor: pointer; transition: background var(--duration-fast) var(--easing-standard), border-color var(--duration-fast) var(--easing-standard); }
.btn-primary { background: var(--color-azure-600); color: #fff; }
.btn-primary:hover { background: var(--color-azure-700); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-outline { color: var(--text-primary); border-color: var(--border-strong); background: transparent; }
.btn-outline:hover { border-color: var(--text-primary); }
.btn-lg { min-height: 52px; font-size: var(--text-md); }

/* Hero: full-screen photo, header overlaid, content anchored bottom-left */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--color-ink-900); color: #fff; min-height: max(100svh, 640px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 40%; z-index: -2; transform: scale(1.08); animation: hero-settle 2.4s var(--easing-standard) forwards; }
@keyframes hero-settle { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; transform: none; } }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(90deg, rgba(10,26,51,.94) 0%, rgba(10,26,51,.78) 34%, rgba(10,26,51,.42) 52%, rgba(10,26,51,0) 72%),
    linear-gradient(0deg, rgba(10,26,51,.94) 0%, rgba(10,26,51,.6) 26%, rgba(10,26,51,0) 52%),
    linear-gradient(180deg, rgba(10,26,51,.55) 0%, rgba(10,26,51,0) 16%); }
.hero-inner { position: relative; width: 100%; padding-top: 140px; padding-bottom: var(--space-7); }
.hero-content { max-width: 760px; }
.eyebrow { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--color-sky-400); margin-bottom: var(--space-4); }
.hero-tag { display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-5); padding: 6px 14px 6px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-pill); background: rgba(10,26,51,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.hero h1 { font-size: clamp(64px, 7.6vw, 116px); line-height: 0.9; letter-spacing: -0.05em; }
.hero h1 em { display: block; font-style: normal; color: var(--color-sky-400); }
.hero-lede { margin-top: var(--space-6); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: rgba(255,255,255,.86); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin: var(--space-8) 0 0; padding: var(--space-5) 0 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; counter-reset: proof; }
.hero-proof li { counter-increment: proof; font-size: var(--text-md); font-weight: var(--weight-medium); color: #fff; }
.hero-proof li::before { content: "0" counter(proof); display: block; margin-bottom: var(--space-2); font-size: var(--text-xs); letter-spacing: .12em; color: var(--color-sky-400); font-variant-numeric: tabular-nums; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 4px rgba(61,220,151,.25); flex: none; }
@media (max-width: 760px) {
  .hero-bg { object-position: 22% 40%; }
  .hero-scrim { background:
    linear-gradient(0deg, rgba(10,26,51,.96) 0%, rgba(10,26,51,.82) 42%, rgba(10,26,51,.2) 70%, rgba(10,26,51,0) 85%),
    linear-gradient(180deg, rgba(10,26,51,.55) 0%, rgba(10,26,51,0) 16%); }
  .hero-inner { padding-top: 120px; }
  .hero-proof { grid-template-columns: 1fr; gap: var(--space-3); margin-top: var(--space-7); }
  .hero-proof li { display: flex; gap: var(--space-3); align-items: baseline; }
  .hero-proof li::before { display: inline; margin: 0; }
}

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding: var(--space-8) 0; }
.section-muted { background: var(--surface-muted); }
.section-head { max-width: 44em; margin-bottom: var(--space-7); }
.section-head h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: var(--heading-tracking); color: var(--text-primary); }
.section-head p { margin-top: var(--space-4); font-size: 19px; color: var(--text-secondary); }
.section-head .eyebrow { color: var(--action-primary); }

.grid { display: grid; gap: var(--space-5); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface-page); border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.card h3 { font-size: var(--text-xl); line-height: var(--leading-snug); color: var(--text-primary); margin-top: var(--space-4); }
.card p { margin-top: var(--space-3); color: var(--text-secondary); }
.card ul { margin: var(--space-4) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); font-size: var(--text-sm); color: var(--text-secondary); }
.card li { display: flex; gap: var(--space-2); }
.card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--action-primary); margin-top: .55em; flex: none; }
.icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--color-azure-100); color: var(--color-azure-700); display: grid; place-items: center; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .icon { background: var(--color-ink-700); color: var(--color-sky-400); } }

/* Delivery options strip */
.options { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border-default); border-radius: var(--radius-lg); overflow: hidden; margin-top: var(--space-6); background: var(--surface-page); }
.option { padding: var(--space-5) var(--space-6); }
.option + .option { border-left: 1px solid var(--border-default); }
.option .tag { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--action-primary); }
.option h3 { font-size: var(--text-lg); margin-top: var(--space-2); color: var(--text-primary); }
.option p { font-size: var(--text-sm); color: var(--text-secondary); margin-top: var(--space-2); }
@media (max-width: 760px) { .options { grid-template-columns: 1fr; } .option + .option { border-left: 0; border-top: 1px solid var(--border-default); } }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); padding: 0; margin: 0; list-style: none; }
.steps li { position: relative; padding-top: var(--space-7); }
.steps li::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-family: var(--font-heading); font-stretch: var(--heading-stretch); font-size: var(--text-3xl); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking); color: var(--action-primary); line-height: 1; }
.steps li::after { content: ""; position: absolute; top: 18px; left: 64px; right: 0; height: 1px; background: var(--border-strong); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: var(--text-xl); color: var(--text-primary); }
.steps p { margin-top: var(--space-3); color: var(--text-secondary); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li::after { display: none; } }

/* Why split */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-8); align-items: start; }
.split .section-head { margin-bottom: 0; position: sticky; top: 100px; }
.features { display: grid; gap: 0; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-4); padding: var(--space-5) 0; border-top: 1px solid var(--border-default); }
.feature:last-child { border-bottom: 1px solid var(--border-default); }
.feature h3 { font-size: var(--text-lg); color: var(--text-primary); }
.feature p { margin-top: var(--space-2); color: var(--text-secondary); }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: var(--space-6); } .split .section-head { position: static; } }

/* Audience */
.audience { text-align: left; }
.audience h3 { margin-top: var(--space-3); font-size: var(--text-lg); }

/* Coverage */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.state { background: var(--surface-page); border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: var(--space-6); }
.state-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.state h3 { font-size: var(--text-2xl); letter-spacing: -0.025em; color: var(--text-primary); }
.status { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--color-success); background: rgba(30,125,79,.1); padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.coverage-text { margin-top: var(--space-3); color: var(--text-secondary); }
.chips li { font-size: var(--text-sm); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); padding: var(--space-1) var(--space-3); color: var(--text-primary); }
.coverage-note { margin-top: var(--space-5); color: var(--text-secondary); font-size: var(--text-sm); }
@media (max-width: 760px) { .coverage { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--border-default); }
.faq details:last-child { border-bottom: 1px solid var(--border-default); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) 0; font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--text-primary); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: var(--text-2xl); line-height: 1; color: var(--action-primary); transition: transform var(--duration-base) var(--easing-standard); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 var(--space-5); color: var(--text-secondary); max-width: 46em; }

/* CTA band */
.cta-band { background: var(--color-ink-900); color: #fff; }
.cta-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); padding-top: var(--space-8); padding-bottom: var(--space-8); }
.cta-panel { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: var(--space-6); background: rgba(255,255,255,.03); display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.cta-panel h2 { font-size: clamp(30px, 3.5vw, 40px); line-height: 1.05; letter-spacing: var(--heading-tracking); }
.cta-panel p { color: rgba(255,255,255,.78); }
.cta-panel .btn { margin-top: auto; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--color-ink-900); color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.08); font-size: var(--text-sm); }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* Forms (site.js relies on .pl-* class names) */
.pl-form { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.pl-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 520px) { .pl-row { grid-template-columns: 1fr; } }
.pl-field { display: grid; gap: var(--space-1); }
.pl-field label { font-size: var(--text-sm); font-weight: var(--weight-medium); }
.pl-field input, .pl-field select, .pl-field textarea { width: 100%; min-height: 44px; padding: var(--space-2) var(--space-3); border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface-page); color: var(--text-primary); font: inherit; }
.pl-field textarea { min-height: 96px; resize: vertical; }
.pl-field input:focus, .pl-field select:focus, .pl-field textarea:focus { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: var(--action-primary); }
.pl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pl-note { font-size: var(--text-xs); color: var(--text-secondary); }
.pl-form-actions { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.pl-submit:disabled { opacity: .6; cursor: wait; }
.pl-status { font-size: var(--text-sm); color: var(--color-danger); }
.pl-success { text-align: center; padding: var(--space-5) 0 0; }
.pl-success .check { width: 56px; height: 56px; margin: 0 auto var(--space-4); border-radius: 50%; display: grid; place-items: center; background: rgba(30,125,79,.12); color: var(--color-success); font-size: 28px; }
.pl-success p { color: var(--text-secondary); margin: var(--space-2) 0 var(--space-5); }

/* Navigation: active page + mobile menu */
.nav a { position: relative; padding: 6px 0; }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--color-sky-400); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-md); background: transparent; color: #fff; cursor: pointer; flex: none; }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .i-close { display: none; }
@media (max-width: 920px) {
  .site-header .wrap { gap: var(--space-2); }
  .menu-toggle { display: inline-flex; }
  .site-header.nav-open { background: var(--color-ink-900); }
  .site-header.nav-open .nav { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: var(--space-2) var(--space-5) var(--space-5); background: var(--color-ink-900); border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-header.nav-open .nav a { padding: var(--space-3) 0; font-size: var(--text-lg); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-header.nav-open .nav a[aria-current="page"] { color: var(--color-sky-400); }
  .site-header.nav-open .nav a[aria-current="page"]::after { display: none; }
  .site-header.nav-open .i-open { display: none; }
  .site-header.nav-open .i-close { display: block; }
}

/* Inner-page header: navy field, soft azure glow, oversized brand mark */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--color-ink-900); color: #fff; padding: 108px 0 var(--space-8); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
    radial-gradient(60% 90% at 88% 0%, rgba(47,134,208,.38) 0%, rgba(47,134,208,0) 62%),
    radial-gradient(45% 70% at 100% 100%, rgba(124,196,245,.16) 0%, rgba(124,196,245,0) 70%); }
.page-hero-mark { position: absolute; right: -6%; bottom: -18%; width: min(62vw, 780px); height: auto; color: rgba(124,196,245,.07); z-index: -1; pointer-events: none; }
.page-hero h1 { font-size: clamp(48px, 6.4vw, 96px); line-height: .94; letter-spacing: -0.05em; max-width: 11.5em; }
.page-hero h1 em { font-style: normal; color: var(--color-sky-400); }
.page-hero .hero-lede { max-width: 36em; }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-5); padding: 0; list-style: none; font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.crumbs a { color: var(--color-sky-400); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: var(--space-2); color: rgba(255,255,255,.35); }
.jump-links { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-7) 0 0; padding: 0; list-style: none; }
.jump-links a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-4); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-pill); color: #fff; font-size: var(--text-sm); text-decoration: none; transition: border-color var(--duration-fast) var(--easing-standard), background var(--duration-fast) var(--easing-standard); }
.jump-links a:hover { border-color: #fff; background: rgba(255,255,255,.06); }
@media (max-width: 760px) { .page-hero { padding: 64px 0 var(--space-7); } }

/* Detail rows (services, industries) */
.rows { border-bottom: 1px solid var(--border-default); }
.row { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-7); padding: var(--space-7) 0; border-top: 1px solid var(--border-default); scroll-margin-top: 90px; }
.row-num { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--action-primary); }
.row h2 { margin-top: var(--space-3); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.04; letter-spacing: -0.035em; color: var(--text-primary); }
.row-lede { margin-top: var(--space-4); font-size: var(--text-lg); color: var(--text-secondary); max-width: 30em; }
.row-detail { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-content: start; }
.row-detail h3, .label { font-family: var(--font-body); font-stretch: 100%; font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--text-secondary); }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; gap: var(--space-5); } .row-detail { grid-template-columns: 1fr; gap: var(--space-5); } }

.checklist { display: grid; gap: var(--space-2); margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: var(--space-3); color: var(--text-primary); }
.checklist li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; flex: none; background: var(--action-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.checklist.on-dark li { color: rgba(255,255,255,.88); }
.checklist.on-dark li::before { background: var(--color-sky-400); }

.text-link { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--weight-bold); color: var(--action-primary); text-decoration: none; }
.text-link::after { content: "→"; transition: transform var(--duration-fast) var(--easing-standard); }
.text-link:hover::after { transform: translateX(3px); }
.section-foot { margin-top: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
a.card { display: block; text-decoration: none; color: inherit; transition: border-color var(--duration-fast) var(--easing-standard), box-shadow var(--duration-fast) var(--easing-standard), transform var(--duration-fast) var(--easing-standard); }
a.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .text-link { margin-top: var(--space-4); }

/* Dark statement band */
.band-dark { background: var(--color-ink-900); color: #fff; }
.band-dark .section-head h2 { color: #fff; }
.band-dark .section-head p { color: rgba(255,255,255,.78); }
.band-dark .section-head .eyebrow { color: var(--color-sky-400); }
.panel-dark { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: var(--space-6); background: rgba(255,255,255,.03); }
.panel-dark h3 { font-size: var(--text-xl); color: #fff; }

/* Numbered vertical steps (contact, drivers) */
.vsteps { display: grid; gap: var(--space-5); margin: var(--space-6) 0 0; padding: 0; list-style: none; counter-reset: v; }
.vsteps li { counter-increment: v; display: grid; grid-template-columns: 44px 1fr; gap: var(--space-3); }
.vsteps li::before { content: "0" counter(v); font-family: var(--font-heading); font-stretch: var(--heading-stretch); font-weight: var(--heading-weight); font-size: var(--text-xl); letter-spacing: -0.03em; color: var(--action-primary); line-height: 1.3; }
.vsteps h3 { font-size: var(--text-lg); color: var(--text-primary); }
.vsteps p { margin-top: var(--space-1); color: var(--text-secondary); }

/* Form pages */
.form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--space-8); align-items: start; }
.form-layout .section-head { margin-bottom: 0; }
.form-card { position: relative; background: var(--surface-page); border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: var(--space-7) var(--space-6); box-shadow: var(--shadow-md); }
.form-card .eyebrow { color: var(--action-primary); margin-bottom: var(--space-2); }
.form-card h2 { font-size: var(--text-3xl); letter-spacing: -0.035em; color: var(--text-primary); }
.form-card .lede { margin-top: var(--space-2); color: var(--text-secondary); }
@media (max-width: 920px) { .form-layout { grid-template-columns: 1fr; gap: var(--space-7); } }
@media (max-width: 480px) { .form-card { padding: var(--space-6) var(--space-4); } }

/* Footer (multi-column) */
.site-footer .footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-6); align-items: start; padding-top: var(--space-8); padding-bottom: var(--space-7); }
.footer-tagline { margin-top: var(--space-3); max-width: 22em; color: rgba(255,255,255,.62); }
.footer-col h2 { font-family: var(--font-body); font-stretch: 100%; font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: var(--space-3); }
.footer-col ul { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.site-footer .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-5); padding-bottom: var(--space-5); border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.55); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.site-footer .footer-legal a { color: rgba(255,255,255,.78); }
@media (max-width: 860px) { .site-footer .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.section-head .vsteps p { margin-top: var(--space-1); font-size: var(--text-md); }
.section-head .vsteps h3 { font-size: var(--text-lg); }

/* ===== Editorial layout (T. Rowe Price-style panels, more air) ===== */
:root { --art-navy: #061D3D; --section-y: clamp(88px, 10vw, 136px); }
.section { padding: var(--section-y) 0; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lede-lg { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--text-secondary); }

/* Split panel: full-bleed media half + copy half */
.panel { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(520px, 44vw, 680px); background: var(--surface-page); color: var(--text-primary); }
.panel-media { position: relative; overflow: hidden; min-height: 360px; }
.panel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(56px, 7vw, 120px) clamp(24px, 7vw, 120px); }
.panel-copy .eyebrow { color: var(--action-primary); }
.panel-copy h2 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.03; letter-spacing: -0.04em; max-width: 11em; }
.panel-copy p.lede-lg { margin-top: var(--space-5); max-width: 28em; }
.panel-copy .checklist { margin-top: var(--space-5); }
.panel-copy .btn, .panel-copy .text-link { margin-top: var(--space-6); }
.panel.reverse .panel-media { order: 2; }
.panel.navy { background: var(--art-navy); color: #fff; }
.panel.navy h2 { color: #fff; }
.panel.navy .eyebrow { color: var(--color-sky-400); }
.panel.navy .lede-lg { color: rgba(255,255,255,.8); }
.panel.navy .checklist li { color: rgba(255,255,255,.88); }
.panel.navy .checklist li::before { background: var(--color-sky-400); }
.panel.navy .text-link { color: var(--color-sky-400); }
.panel.art .panel-media { display: grid; place-items: center; }
.panel.art .panel-media img { position: static; width: min(88%, 560px); height: auto; aspect-ratio: 1; object-fit: contain; }
.panel + .panel { border-top: 1px solid var(--border-default); }
.panel.navy + .panel, .panel + .panel.navy { border-top: 0; }
@media (max-width: 860px) {
  .panel { grid-template-columns: 1fr; min-height: 0; }
  .panel.reverse .panel-media { order: 0; }
  .panel-media { min-height: 0; aspect-ratio: 3 / 2; }
  .panel.art .panel-media { aspect-ratio: auto; padding-top: var(--space-7); }
  .panel.art .panel-media img { width: min(78%, 420px); }
  .panel-copy { padding: var(--space-7) var(--space-5) var(--space-8); }
}

/* Photo cards */
.photo-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.photo-card .media { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; background: var(--surface-muted); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--easing-standard); }
.photo-card:hover img { transform: scale(1.03); }
.photo-card h3 { margin-top: var(--space-5); font-size: var(--text-2xl); letter-spacing: -0.025em; color: var(--text-primary); }
.photo-card p { margin-top: var(--space-2); color: var(--text-secondary); }
.photo-card .text-link { margin-top: var(--space-4); }
.grid-3.cards-loose { gap: clamp(24px, 3vw, 40px); }

/* Commitments: big numbered columns */
.commitments { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.commitment { border-top: 2px solid var(--text-primary); padding-top: var(--space-5); }
.commitment .label { color: var(--action-primary); }
.commitment h3 { margin-top: var(--space-3); font-size: var(--text-2xl); letter-spacing: -0.025em; color: var(--text-primary); }
.commitment p { margin-top: var(--space-3); color: var(--text-secondary); }
.commitments.two { grid-template-columns: repeat(2, 1fr); }
.commitments.two h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -0.03em; }
@media (max-width: 860px) { .commitments, .commitments.two { grid-template-columns: 1fr; gap: var(--space-6); } }

/* Short stat-free proof row */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.pillar h3 { font-size: var(--text-lg); color: var(--text-primary); }
.pillar p { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--text-secondary); }
.pillar .icon { margin-bottom: var(--space-4); }
@media (max-width: 920px) { .pillars { grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-5); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* Closing call to action (NCE-style single statement) */
.cta-final { background: var(--art-navy); color: #fff; text-align: center; padding: var(--section-y) 0; position: relative; overflow: hidden; isolation: isolate; }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 50% 0%, rgba(47,134,208,.32), rgba(47,134,208,0) 70%); }
.cta-final h2 { font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.045em; max-width: 14em; margin: 0 auto; }
.cta-final p { margin: var(--space-5) auto 0; max-width: 32em; font-size: clamp(18px, 1.4vw, 20px); color: rgba(255,255,255,.8); }
.cta-final .hero-actions { justify-content: center; margin-top: var(--space-7); }

/* Simplified rows (services) */
.row.simple .row-detail { grid-template-columns: 1fr; }
.row-media { margin-top: var(--space-5); overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 3 / 2; }
.row-media img { width: 100%; height: 100%; object-fit: cover; }
/* Feather illustration edges so their navy melts into the panel */
.panel.art .panel-media img { -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); mask-image: radial-gradient(closest-side, #000 78%, transparent 100%); }

/* ===== Home hero (design option A: Ferndesk x NCE) ===== */
:root { --paper: #F4F3EE; --paper-line: #E4E2DA; --ink-text: #141A24; --ink-muted: #4D535C; }
.home-hero { background: #fff; color: var(--ink-text); padding-bottom: clamp(56px, 7vw, 88px); }
.home-hero-head { max-width: 920px; margin: 0 auto; padding: clamp(56px, 7vw, 88px) 24px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.now-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border: 1px solid var(--paper-line); border-radius: var(--radius-pill); background: #fff; font-size: 13px; font-weight: var(--weight-medium); color: #3A4049; }
.now-tag { padding: 2px 8px; border-radius: var(--radius-pill); background: var(--color-azure-100); color: var(--color-azure-700); font-size: 11px; font-weight: var(--weight-bold); letter-spacing: .08em; }
.home-hero h1 { margin-top: 0; font-size: clamp(44px, 6.4vw, 88px); line-height: .98; letter-spacing: -0.04em; color: var(--ink-text); }
.home-hero-lede { margin-top: 24px; max-width: 620px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-muted); }
.home-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.btn-lift { box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(10,26,51,.25); }
.btn-light { background: #fff; color: var(--ink-text); border-color: var(--paper-line); box-shadow: 0 1px 2px rgba(20,26,36,.06); }
.btn-light:hover { border-color: #C8C5BA; }

.hero-frame-wrap { margin-top: clamp(40px, 5vw, 64px); }
.hero-frame { background: #fff; border: 1px solid var(--paper-line); border-radius: 16px; padding: 8px; box-shadow: 0 24px 60px rgba(6,29,61,.16); }
.hero-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px 4px 10px; }
.hero-tab { min-height: 36px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px; background: transparent; font: inherit; font-size: 13px; color: #5C626B; cursor: pointer; transition: background var(--duration-fast) var(--easing-standard), color var(--duration-fast) var(--easing-standard); }
.hero-tab:hover { color: var(--ink-text); background: var(--paper); }
.hero-tab[aria-selected="true"] { border-color: var(--paper-line); background: #fff; color: var(--ink-text); font-weight: var(--weight-medium); box-shadow: 0 1px 2px rgba(20,26,36,.06); }
.hero-shot { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 7.6; background: var(--paper); }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-chip { position: absolute; display: flex; align-items: center; margin: 0; }
.hero-chip-status { top: 24px; right: 24px; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill); background: rgba(6,29,61,.86); color: #fff; font-size: 13px; font-weight: var(--weight-medium); }
.hero-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; }
.hero-chip-signed { left: 24px; bottom: 24px; gap: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.95); box-shadow: 0 8px 24px rgba(6,29,61,.18); }
.hero-chip-signed > span:last-child { display: flex; flex-direction: column; }
.hero-chip-signed strong { font-size: 14px; color: var(--ink-text); }
.hero-chip-signed > span:last-child > span { font-size: 12px; color: #5C626B; }
.hero-chip-check { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #E6F4EC; color: var(--color-success); flex: none; }
@media (max-width: 760px) {
  .hero-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .hero-tab { flex: none; }
  .hero-shot { aspect-ratio: 4 / 3; }
  .hero-chip-status { top: 12px; right: 12px; font-size: 12px; padding: 6px 10px; }
  .hero-chip-signed { left: 12px; bottom: 12px; padding: 8px 12px; }
  .hero-chip-signed > span:last-child > span { display: none; }
}

.built-for { background: var(--art-navy); color: #fff; }
.built-for .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding-top: 36px; padding-bottom: 36px; }
.built-for-label { font-size: 13px; color: #A9B6C8; }
.built-for ul { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; padding: 0; list-style: none; }
.built-for li { font-family: var(--font-heading); font-stretch: var(--heading-stretch); font-size: 20px; font-weight: var(--heading-weight); letter-spacing: -0.02em; color: #fff; }

/* Inner-page header: white, matching the home hero (overrides the earlier navy version) */
.page-hero { background: #fff; color: var(--ink-text); border-bottom: 1px solid var(--paper-line); }
.page-hero::before { content: none; }
.page-hero h1 { color: var(--ink-text); }
.page-hero h1 em { color: var(--color-azure-600); }
.page-hero .hero-lede { color: var(--ink-muted); }
.page-hero .crumbs { color: #5C626B; }
.page-hero .crumbs a { color: var(--color-azure-600); }
.page-hero .crumbs li + li::before { color: #A9AFB8; }
.page-hero .jump-links a { color: var(--ink-text); border-color: var(--paper-line); background: #fff; }
.page-hero .jump-links a:hover { border-color: #C8C5BA; background: var(--paper); }

/* Blog and careers */
.blog-list { display: grid; gap: var(--space-7); }
.blog-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--space-7); align-items: center; }
.blog-feature-image { display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-muted); }
.blog-feature-image img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform var(--duration-slow) var(--easing-standard); }
.blog-feature-image:hover img { transform: scale(1.03); }
.blog-feature h3 { margin: var(--space-3) 0 var(--space-4); font-size: clamp(30px, 3.5vw, 48px); line-height: 1.07; }
.blog-feature h3 a, .blog-teaser h3 a { color: var(--text-primary); text-decoration: none; }
.blog-feature h3 a:hover, .blog-teaser h3 a:hover { color: var(--action-primary); }
.blog-feature-copy > p:not(.row-num), .blog-teaser > p:not(.row-num) { color: var(--text-secondary); line-height: 1.65; }
.blog-feature .text-link, .blog-teaser .text-link { margin-top: var(--space-5); }
.blog-secondary { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-7); }
.blog-teaser { border-top: 1px solid var(--border-default); padding-top: var(--space-6); }
.blog-teaser h3 { margin: var(--space-3) 0; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.13; }
.article-layout { display: grid; grid-template-columns: minmax(160px, .4fr) minmax(0, 1fr); gap: var(--space-8); }
.article-meta { display: grid; align-content: start; gap: var(--space-6); }
.article-body { max-width: 720px; font-size: var(--text-lg); line-height: 1.7; color: var(--text-secondary); }
.article-body p + p { margin-top: var(--space-5); }
.article-body h2 { margin: var(--space-7) 0 var(--space-4); font-size: clamp(26px, 3vw, 36px); line-height: 1.15; color: var(--text-primary); }
.article-body .article-intro { font-size: clamp(20px, 2.3vw, 25px); line-height: 1.55; color: var(--text-primary); }
.article-end { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--border-default); }
.legal-page .article-body { max-width: 760px; }
.legal-page .article-body p + p { margin-top: var(--space-4); }
.legal-page .article-body strong { color: var(--text-primary); }
.legal-page .article-body h2 { scroll-margin-top: 90px; }
.legal-toc { position: sticky; top: 100px; gap: var(--space-3); }
.legal-toc .row-num { margin-bottom: var(--space-3); }
.legal-toc a { width: fit-content; color: var(--text-secondary); font-size: var(--text-sm); text-decoration: none; }
.legal-toc a:hover { color: var(--action-primary); text-decoration: underline; }
.service-area-list { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.service-area-list li { padding: var(--space-3) var(--space-4); border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-page); color: var(--text-primary); font-weight: var(--weight-medium); }
.career-note { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.career-note h2 { font-size: clamp(32px, 4vw, 48px); color: var(--text-primary); }
.career-note p:not(.eyebrow) { max-width: 43em; margin-top: var(--space-3); color: var(--text-secondary); }
@media (max-width: 860px) {
  .blog-feature, .article-layout { grid-template-columns: 1fr; gap: var(--space-6); }
  .blog-secondary { gap: var(--space-6); }
  .legal-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-toc .row-num { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .blog-secondary { grid-template-columns: 1fr; }
  .career-note { align-items: flex-start; flex-direction: column; }
}

/* ===== Blog (field notes): current light style x T. Rowe Price Insights ===== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Page header with an illustration tile */
.page-hero.has-art .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero-art { overflow: hidden; border-radius: 20px; background: var(--art-navy); aspect-ratio: 1; box-shadow: 0 24px 60px rgba(6,29,61,.16); }
.page-hero-art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .page-hero.has-art .wrap { grid-template-columns: 1fr; }
  .page-hero-art { max-width: 420px; aspect-ratio: 4 / 3; }
}

/* Topic filter */
.notes-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-5); margin-bottom: clamp(32px, 4vw, 48px); }
.notes-head .section-head { margin-bottom: 0; }
.topic-filter { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.topic-chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--paper-line); border-radius: var(--radius-pill); background: #fff; font: inherit; font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--ink-text); cursor: pointer; transition: background var(--duration-fast) var(--easing-standard), border-color var(--duration-fast) var(--easing-standard), color var(--duration-fast) var(--easing-standard); }
.topic-chip:hover { border-color: #C8C5BA; }
.topic-chip[aria-pressed="true"] { background: var(--art-navy); border-color: var(--art-navy); color: #fff; }

/* Field-note cards with illustration thumbnails */
.note-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.note-card { display: flex; flex-direction: column; }
.note-card[hidden] { display: none; }
.note-thumb { display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--art-navy); aspect-ratio: 16 / 10; }
.note-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--easing-standard); }
.note-card:hover .note-thumb img { transform: scale(1.04); }
.note-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-5); font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--action-primary); }
.note-meta span:last-child { color: var(--text-secondary); }
.note-card h3 { margin-top: var(--space-3); font-size: clamp(22px, 2vw, 26px); line-height: 1.15; letter-spacing: -0.02em; }
.note-card h3 a { color: var(--text-primary); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size var(--duration-base) var(--easing-standard); }
.note-card h3 a:hover { color: var(--action-primary); background-size: 100% 1px; }
.note-card > p:last-child { margin-top: var(--space-3); color: var(--text-secondary); }
@media (max-width: 920px) { .note-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .note-grid { grid-template-columns: 1fr; } }

/* Article pages */
.article-meta .note-meta { margin-top: calc(-1 * var(--space-4)); }

/* Hero tabs: crossfade between panels (site.js marks the frame data-enhanced) */
.hero-tab { transition: background var(--duration-base) var(--easing-standard), color var(--duration-base) var(--easing-standard), border-color var(--duration-base) var(--easing-standard), box-shadow var(--duration-base) var(--easing-standard); }
.hero-frame[data-enhanced] { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-frame[data-enhanced] .hero-tabs { grid-row: 1; }
.hero-frame[data-enhanced] .hero-shot { grid-row: 2; grid-column: 1; opacity: 0; visibility: hidden; transition: opacity 520ms var(--easing-standard), visibility 0s linear 520ms; }
.hero-frame[data-enhanced] .hero-shot.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 520ms var(--easing-standard), visibility 0s; }
.hero-frame[data-enhanced] .hero-shot img { transform: scale(1.04); transition: transform 1400ms var(--easing-standard); }
.hero-frame[data-enhanced] .hero-shot.is-active img { transform: scale(1); }
.hero-frame[data-enhanced] .hero-chip { opacity: 0; transform: translateY(10px); transition: opacity 360ms var(--easing-standard), transform 360ms var(--easing-standard); }
.hero-frame[data-enhanced] .hero-shot.is-active .hero-chip-status { opacity: 1; transform: none; transition-delay: 220ms; }
.hero-frame[data-enhanced] .hero-shot.is-active .hero-chip-signed { opacity: 1; transform: none; transition-delay: 340ms; }
@media (prefers-reduced-motion: reduce) {
  .hero-frame[data-enhanced] .hero-shot, .hero-frame[data-enhanced] .hero-shot img, .hero-frame[data-enhanced] .hero-chip { transition: none !important; transform: none !important; }
}

/* ===== Quote page ===== */
.quote-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.quote-aside { position: sticky; top: 100px; }
.quote-aside h2 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.03em; color: var(--text-primary); }
.quote-aside .vsteps p { font-size: var(--text-md); }
.quote-note { margin-top: var(--space-6); padding: var(--space-5); border-radius: var(--radius-lg); background: var(--color-azure-100); color: var(--color-ink-900); }
.quote-note h3 { font-size: var(--text-md); }
.quote-note p { margin-top: var(--space-2); font-size: var(--text-sm); color: #2A3A52; }
@media (max-width: 920px) { .quote-layout { grid-template-columns: 1fr; } .quote-aside { position: static; order: 2; } }

.quote-form { gap: var(--space-6); }
.quote-step { display: grid; gap: var(--space-4); margin: 0; padding: var(--space-6) 0 0; border: 0; border-top: 1px solid var(--border-default); min-width: 0; }
.quote-step legend { display: flex; align-items: center; gap: var(--space-3); float: left; width: 100%; margin-bottom: var(--space-2); padding: 0; font-family: var(--font-heading); font-stretch: var(--heading-stretch); font-size: var(--text-xl); font-weight: var(--heading-weight); letter-spacing: -0.02em; color: var(--text-primary); }
.quote-step legend + * { clear: both; }
.quote-step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--art-navy); color: #fff; font-family: var(--font-body); font-stretch: 100%; font-size: 12px; font-weight: var(--weight-bold); letter-spacing: 0; }
.field-label { font-size: var(--text-sm); font-weight: var(--weight-medium); }
.optional { font-weight: var(--weight-regular); color: var(--text-secondary); }
.pl-field input::placeholder, .pl-field textarea::placeholder { color: #8A929C; }

/* Service choice cards (native radios, styled) */
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice > span { display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: var(--space-3) var(--space-4) var(--space-3) 44px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: #fff; transition: border-color var(--duration-fast) var(--easing-standard), background var(--duration-fast) var(--easing-standard), box-shadow var(--duration-fast) var(--easing-standard); }
.choice > span::before { content: ""; position: absolute; left: 16px; top: 18px; width: 16px; height: 16px; border: 1.5px solid #8A929C; border-radius: 50%; background: #fff; transition: border var(--duration-fast) var(--easing-standard); }
.choice strong { font-size: var(--text-md); color: var(--text-primary); }
.choice small { font-size: var(--text-sm); color: var(--text-secondary); }
.choice:hover > span { border-color: #8A929C; }
.choice input:checked + span { border-color: var(--action-primary); background: #F2F8FD; box-shadow: 0 0 0 1px var(--action-primary); }
.choice input:checked + span::before { border: 5px solid var(--action-primary); }
.choice input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
@media (max-width: 520px) { .choice-grid { grid-template-columns: 1fr; } }

/* Segmented control (native radios) */
.segmented { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface-muted); width: fit-content; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-5); border-radius: 3px; font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--text-secondary); transition: background var(--duration-fast) var(--easing-standard), color var(--duration-fast) var(--easing-standard), box-shadow var(--duration-fast) var(--easing-standard); }
.segmented input:checked + span { background: #fff; color: var(--text-primary); box-shadow: 0 1px 2px rgba(20,26,36,.12); }
.segmented input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* ===== Home hero: isometric delivery scene (Emons-style), generated by scripts/hero_scene.py ===== */
.scene-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #E6EFF8 0%, #F3F7FB 70%); min-height: clamp(600px, calc(100svh - 68px), 900px); }
.scene-stage { position: absolute; inset: 0; }
.scene-svg { display: block; width: 100%; height: 100%; }
/* Route: only the leg from the van to its next stop is drawn (site.js sets the dash), like a navigation line */
.scene-route { fill: none; stroke: var(--color-azure-600); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: .55; stroke-dasharray: 0 100000; }
.scene-van { filter: drop-shadow(0 3px 2px rgba(6,29,61,.2)); }
.scene-marker { cursor: pointer; }
.scene-marker-dot { fill: #fff; stroke: rgba(6,29,61,.14); stroke-width: 1; filter: drop-shadow(0 4px 8px rgba(6,29,61,.2)); transition: fill var(--duration-base) var(--easing-standard); }
.scene-marker-plus { fill: none; stroke: var(--color-ink-900); stroke-width: 2.4; stroke-linecap: round; transition: stroke var(--duration-base) var(--easing-standard); }
.scene-marker-pulse { fill: var(--color-sky-400); transform-box: fill-box; transform-origin: center; animation: marker-pulse 2.4s var(--easing-standard) infinite; }
.scene-marker.is-active .scene-marker-dot { fill: var(--color-azure-600); stroke: transparent; }
.scene-marker.is-active .scene-marker-plus { stroke: #fff; }
@keyframes marker-pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(2.4); opacity: 0; } }

.scene-overlay { position: relative; z-index: 1; min-height: inherit; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; padding-top: 48px; padding-bottom: 32px; pointer-events: none; }
.scene-overlay > * { pointer-events: auto; }
.scene-card { max-width: 540px; padding: clamp(24px, 2.6vw, 36px); border: 1px solid rgba(228,226,218,.9); border-radius: 16px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(6,29,61,.14); }
.scene-card h1 { font-size: clamp(38px, 4.2vw, 60px); line-height: 1; letter-spacing: -0.04em; color: var(--ink-text); }
.scene-lede { margin-top: 18px; font-size: 17px; line-height: 1.55; color: var(--ink-muted); }
.scene-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.scene-chapters { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.scene-caption { padding: 8px 14px; border-radius: var(--radius-pill); background: rgba(6,29,61,.88); color: #fff; font-size: 14px; font-weight: var(--weight-medium); }
.scene-tabs { display: flex; gap: 4px; padding: 6px; border: 1px solid rgba(228,226,218,.9); border-radius: 12px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 32px rgba(6,29,61,.12); }
.scene-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 14px; font-weight: var(--weight-medium); color: var(--ink-text); white-space: nowrap; cursor: pointer; transition: background var(--duration-base) var(--easing-standard), color var(--duration-base) var(--easing-standard); }
.scene-tab span { font-size: 12px; color: var(--ink-muted); font-variant-numeric: tabular-nums; transition: color var(--duration-base) var(--easing-standard); }
.scene-tab:hover { background: rgba(6,29,61,.06); }
.scene-tab[aria-pressed="true"] { background: var(--art-navy); color: #fff; }
.scene-tab[aria-pressed="true"] span { color: var(--color-sky-400); }
@media (max-width: 860px) {
  .scene-hero { min-height: 0; display: flex; flex-direction: column; }
  .scene-stage { position: relative; height: max(300px, 64vw); }
  .scene-overlay { min-height: 0; flex-direction: column; flex-wrap: nowrap; align-items: stretch; padding-top: 0; margin-top: -40px; }
  .scene-overlay, .scene-card, .scene-chapters { min-width: 0; max-width: 100%; }
  .scene-card { max-width: none; }
  .scene-chapters { align-items: stretch; }
  .scene-caption { align-self: flex-start; }
  .scene-tabs { overflow-x: auto; scrollbar-width: none; }
}
@media (prefers-reduced-motion: reduce) { .scene-marker-pulse { animation: none; } }
.scene-van polygon { stroke: rgba(6,29,61,.45); stroke-width: .9; stroke-linejoin: round; }

/* Location name pops up above the (+) when the van parks there (or when a visitor picks it) */
.scene-label { opacity: 0; transform: translateY(8px) scale(.9); transform-box: fill-box; transform-origin: 50% 100%; transition: opacity 280ms var(--easing-standard), transform 360ms var(--easing-standard); pointer-events: none; }
.scene-label rect, .scene-label path { fill: var(--art-navy); }
.scene-label text { fill: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.scene-marker.is-arrived .scene-label { opacity: 1; transform: none; }
.scene-marker.is-arrived .scene-marker-dot { fill: var(--color-azure-600); stroke: transparent; }
.scene-marker.is-arrived .scene-marker-plus { stroke: #fff; }

/* Destination pin (POI) at the end of the van's current trip */
.scene-poi { opacity: 0; transition: opacity 200ms var(--easing-standard); pointer-events: none; }
.scene-poi.is-visible { opacity: 1; }
.scene-poi-pin path { fill: var(--color-azure-600); stroke: #fff; stroke-width: 2; }
.scene-poi-pin circle { fill: #fff; }
.scene-poi-shadow { fill: rgba(6,29,61,.22); }
.scene-poi.is-visible .scene-poi-pin { animation: poi-drop 520ms cubic-bezier(.3, 1.45, .55, 1) both; }
.scene-poi.is-visible .scene-poi-shadow { animation: poi-shadow 520ms var(--easing-standard) both; }
@keyframes poi-drop { from { transform: translateY(-22px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes poi-shadow { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.scene-poi-shadow { transform-box: fill-box; transform-origin: center; }

/* Live feel: rings ripple from the pin, ETA badge with a blinking live dot */
.scene-poi-ring { fill: none; stroke: var(--color-azure-600); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.scene-poi.is-visible .scene-poi-ring { animation: poi-ring 2s cubic-bezier(.2, .6, .35, 1) infinite; }
.scene-poi.is-visible .scene-poi-ring-2 { animation-delay: 1s; }
@keyframes poi-ring { from { transform: scale(.25); opacity: .7; } to { transform: scale(1.3); opacity: 0; } }
.scene-poi-eta rect { fill: var(--art-navy); }
.scene-poi-eta text { fill: #fff; font-family: var(--font-body); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.scene-poi-live { fill: #3DDC97; animation: live-blink 1.2s ease-in-out infinite; }
@keyframes live-blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .scene-poi-ring, .scene-poi-live { animation: none !important; } }

/* ===== Custom dropdown (site.js upgrades every .pl-field select) ===== */
.dd { position: relative; }
.dd-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.dd-trigger { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); width: 100%; min-height: 44px; padding: var(--space-2) var(--space-3); border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface-page); color: var(--text-primary); font: inherit; text-align: left; cursor: pointer; transition: border-color var(--duration-fast) var(--easing-standard); }
.dd-trigger:hover { border-color: #8A929C; }
.dd-trigger:focus-visible, .dd.is-open .dd-trigger { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: var(--action-primary); }
.dd-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-value.is-placeholder { color: #8A929C; }
.dd-chevron { width: 18px; height: 18px; flex: none; color: var(--text-secondary); transition: transform var(--duration-base) var(--easing-standard); }
.dd.is-open .dd-chevron { transform: rotate(180deg); }
.dd.is-invalid .dd-trigger { border-color: var(--color-danger); }
.dd-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: 288px; margin: 0; padding: 6px; overflow-y: auto; list-style: none; background: #fff; border: 1px solid var(--border-default); border-radius: 12px; box-shadow: 0 16px 40px rgba(6,29,61,.16), 0 2px 6px rgba(6,29,61,.06); outline: none; transform-origin: 50% 0; animation: dd-in 160ms var(--easing-standard); }
.dd.is-up .dd-list { top: auto; bottom: calc(100% + 6px); transform-origin: 50% 100%; }
@keyframes dd-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.dd.is-up .dd-list { animation-name: dd-in-up; }
@keyframes dd-in-up { from { opacity: 0; transform: translateY(4px) scale(.98); } }
.dd-list [role="option"] { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 44px; padding: 0 var(--space-3); border-radius: 8px; color: var(--text-primary); cursor: pointer; user-select: none; }
.dd-list [role="option"].is-active { background: var(--surface-muted); }
.dd-list [role="option"][aria-selected="true"] { color: var(--action-primary); font-weight: var(--weight-medium); }
.dd-list [role="option"][aria-selected="true"]::after { content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (prefers-reduced-motion: reduce) { .dd-list { animation: none; } }

/* Custom date & time picker: builds on the .dd trigger, with a calendar and a time list in one panel */
.dp-icon { width: 18px; height: 18px; flex: none; color: var(--text-secondary); transition: color var(--duration-fast) var(--easing-standard); }
.dp.is-open .dp-icon { color: var(--action-primary); }
.dp-panel { position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; display: grid; grid-template-columns: auto 136px; grid-template-areas: "cal times" "foot foot"; width: max-content; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--border-default); border-radius: 12px; box-shadow: 0 16px 40px rgba(6,29,61,.16), 0 2px 6px rgba(6,29,61,.06); transform-origin: 0 0; animation: dd-in 160ms var(--easing-standard); }
.dp-panel[hidden] { display: none; }
.dp.is-right .dp-panel { left: auto; right: 0; transform-origin: 100% 0; }
.dp.is-up .dp-panel { top: auto; bottom: calc(100% + 6px); transform-origin: 0 100%; animation-name: dd-in-up; }
.dp-cal { grid-area: cal; padding: 12px; }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: 4px; }
.dp-month { margin: 0; font-family: var(--font-heading); font-size: var(--text-md); font-weight: var(--weight-bold); color: var(--text-primary); }
.dp-nav { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--text-primary); cursor: pointer; }
.dp-nav:hover:not(:disabled) { background: var(--surface-muted); }
.dp-nav:disabled { color: #C9CDD3; cursor: default; }
.dp-grid { border-collapse: collapse; table-layout: fixed; }
.dp-grid th { width: 44px; height: 32px; padding: 0; font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--text-secondary); text-align: center; }
.dp-grid td { height: 44px; padding: 0; text-align: center; }
.dp-day { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text-primary); font: inherit; font-size: var(--text-sm); font-variant-numeric: tabular-nums; cursor: pointer; transition: background var(--duration-fast) var(--easing-standard); }
.dp-day:hover { background: var(--surface-muted); }
.dp-day.is-outside { color: #A2A8B0; }
.dp-day.is-today { box-shadow: inset 0 0 0 1.5px var(--action-primary); font-weight: var(--weight-bold); }
.dp-day[aria-disabled="true"] { color: #C9CDD3; background: none; box-shadow: none; cursor: default; }
td[aria-selected="true"] .dp-day { background: var(--action-primary); color: #fff; font-weight: var(--weight-bold); box-shadow: none; }
.dp-day:focus-visible, .dp-nav:focus-visible, .dp-clear:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; }
.dp-times { grid-area: times; position: relative; border-left: 1px solid var(--border-default); }
.dp-times-label { display: flex; align-items: center; height: 40px; margin: 12px 0 0; padding: 0 16px; font-family: var(--font-heading); font-size: var(--text-md); font-weight: var(--weight-bold); color: var(--text-primary); }
.dp-time-list { position: absolute; inset: 56px 6px 8px; margin: 0; padding: 0 2px; overflow-y: auto; list-style: none; outline: none; overscroll-behavior: contain; scrollbar-width: thin; }
.dp-time-list:focus-visible { box-shadow: inset 0 0 0 2px var(--focus-ring); border-radius: 8px; }
.dp-time-list [role="option"] { display: flex; align-items: center; justify-content: center; min-height: 40px; margin: 2px 0; padding: 0 var(--space-2); border-radius: 8px; color: var(--text-primary); font-size: var(--text-sm); font-variant-numeric: tabular-nums; white-space: nowrap; cursor: pointer; user-select: none; }
.dp-time-list [role="option"]:hover, .dp-time-list:focus-visible [role="option"].is-active { background: var(--surface-muted); }
.dp-time-list [role="option"][aria-disabled="true"] { color: #C9CDD3; background: none; cursor: default; }
.dp-time-list [role="option"][aria-selected="true"] { background: var(--action-primary); color: #fff; font-weight: var(--weight-bold); }
.dp-foot { grid-area: foot; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 10px 12px; border-top: 1px solid var(--border-default); }
.dp-clear { min-height: 40px; padding: 0 var(--space-2); border: 0; border-radius: 6px; background: none; color: var(--action-primary); font: inherit; font-size: var(--text-sm); font-weight: var(--weight-medium); cursor: pointer; }
.dp-clear:hover { text-decoration: underline; }
.dp-done { min-height: 40px; padding: 0 var(--space-5); }
@media (max-width: 560px) {
  .dp-panel, .dp.is-right .dp-panel { left: 0; right: 0; width: auto; max-width: none; grid-template-columns: minmax(0, 1fr); grid-template-areas: "cal" "times" "foot"; }
  .dp-grid { width: 100%; }
  .dp-grid th { width: auto; }
  .dp-times { border-left: 0; border-top: 1px solid var(--border-default); padding: 10px 0; }
  .dp-times-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dp-time-list { position: static; display: flex; gap: 6px; padding: 2px 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none; }
  .dp-time-list::-webkit-scrollbar { display: none; }
  .dp-time-list [role="option"] { flex: none; margin: 0; padding: 0 var(--space-3); border: 1px solid var(--border-default); scroll-snap-align: center; }
  .dp-time-list [role="option"][aria-selected="true"] { border-color: var(--action-primary); }
  .dp-time-list [role="option"][aria-disabled="true"] { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dp-panel { animation: none; } }

/* Footer legal links: spaced, dot-separated, muted like the rest of the bottom bar */
.site-footer .footer-bottom { align-items: center; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-5); }
.footer-legal a { color: rgba(255,255,255,.72); font-size: var(--text-sm); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a + a::before { content: ""; display: inline-block; width: 3px; height: 3px; margin-right: var(--space-5); border-radius: 50%; background: rgba(255,255,255,.35); vertical-align: middle; }
