/* =====================================================================
   Aurora · site styles
   Everything floats on a fixed WebGL light field (js/lights.js). Content
   sits in one centred 1024px column; cards are frosted glass; the only
   colour in the UI itself is the spectrum gradient on one phrase per
   headline, on hairlines and on featured borders.
   Requires tokens.css first.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--void); scroll-behavior: smooth; }
html.calm { scroll-behavior: auto; }
body {
  margin: 0; min-height: 100vh; background: var(--void); color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 8px; }
::selection { background: color-mix(in srgb, var(--violet) 45%, transparent); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-pill); background: var(--cta); color: var(--cta-ink); font-weight: 600; transition: top var(--d-fast); }
.skip:focus { top: 16px; }

/* Scrollbar tinted with the spectrum's mid colour, as on the source site. */
html { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--violet) 35%, transparent) transparent; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--violet) 35%, transparent); border-radius: 999px; }

/* ---------------------------------------------------------------- light field */
.lights { position: fixed; inset: 0; z-index: 0; background: var(--void); overflow: hidden; pointer-events: none; }
.lights canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: opacity 0.9s var(--ease); }
/* The light thins out towards the bottom of the screen, so text near the fold always sits on dark. */
.lights canvas { -webkit-mask-image: linear-gradient(180deg, #000 45%, rgb(0 0 0 / 0.35) 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, rgb(0 0 0 / 0.35) 80%, transparent 100%); }
.lights canvas.is-switching { opacity: 0 !important; }
/* A soft floor of black so long pages stay readable as the light sits behind them. */
.lights::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 120%, rgb(0 0 0 / 0.55), transparent 60%); }
.site { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-top: var(--s-9); }
.section-head { max-width: 640px; margin-bottom: var(--s-6); }
.section-head h2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.section-head p { margin-top: var(--s-2); color: var(--muted); }
.section-head.split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); max-width: none; }
.section-head.split > div { max-width: 640px; }
.hairline { display: block; height: 1px; width: 96px; margin-top: var(--s-3); background: var(--spectrum-soft); transform-origin: left; }
.label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.mono { font-family: var(--mono); }

/* ---------------------------------------------------------------- gradient type */
/* The signature: one phrase per headline in the spectrum. Inline padding keeps
   descenders and the last glyph from being clipped by background-clip. */
.spectrum-text {
  background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 0.06em 0.08em; margin: 0 -0.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------------------------------------------------------------- header */
.top { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding: var(--s-5) var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; font-size: 15px; opacity: 0.92; }
.brand svg { width: 26px; height: 26px; }
.brand span small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); line-height: 1.1; }
.nav { display: flex; gap: var(--s-6); font-size: 14px; font-weight: 500; }
.nav a { color: rgb(212 212 216); transition: color var(--d-fast); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.top-cta { display: flex; align-items: center; gap: var(--s-3); }
.burger { display: none; width: 36px; height: 36px; border-radius: var(--r-sm); place-items: center; transition: background-color var(--d-fast); }
.burger:hover { background: rgb(255 255 255 / 0.1); }
.burger i { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.3s; }
.burger i + i { margin-top: 5px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.menu { position: fixed; inset: 76px 16px auto; z-index: 40; display: grid; gap: 4px; padding: var(--s-4); border-radius: var(--r-md); border: 1px solid var(--line); background: rgb(0 0 0 / 0.8); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity var(--d-fast) var(--ease), transform var(--d-fast) var(--ease); }
.menu.open { opacity: 1; transform: none; pointer-events: auto; }
.menu a { padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 500; color: rgb(212 212 216); }
.menu a:hover { background: rgb(255 255 255 / 0.05); color: var(--ink); }
.menu hr { border: 0; border-top: 1px solid rgb(255 255 255 / 0.05); margin: 8px 0; }

/* ---------------------------------------------------------------- buttons */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 32px; border-radius: var(--r-pill); font-size: 1rem; font-weight: 500; line-height: 1.25; white-space: nowrap; transition: transform 0.25s var(--spring), background-color var(--d-fast), border-color var(--d-fast); }
.btn:active { transform: scale(0.95); }
.btn-light { background: var(--cta); color: var(--cta-ink); }
.btn-light::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--cta-hover), var(--cta)); opacity: 0; transition: opacity var(--d-fast); }
.btn-light:hover { transform: scale(1.05); }
.btn-light:hover::after { opacity: 1; }
.btn-glass { color: var(--ink); border: 1px solid var(--line-2); background: rgb(0 0 0 / 0.2); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.btn-glass:hover { background: rgb(255 255 255 / 0.1); border-color: var(--line-3); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-md { padding: 10px 24px; font-size: 14px; font-weight: 600; }
.pill-glass { display: inline-flex; padding: 8px 16px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.1); font-size: 14px; font-weight: 500; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background-color var(--d-fast); }
.pill-glass:hover { background: rgb(255 255 255 / 0.2); }
.link-quiet { font-size: 14px; color: var(--muted); text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.2); text-underline-offset: 4px; transition: color var(--d-fast); }
.link-quiet:hover { color: var(--ink); }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: rgb(255 255 255 / 0.7); transition: color var(--d-fast); }
.arrow-link svg { width: 14px; height: 14px; transition: transform var(--d-fast); }
.arrow-link:hover, a:hover .arrow-link { color: var(--ink); }
.arrow-link:hover svg, a:hover .arrow-link svg { transform: translateX(2px); }

/* ---------------------------------------------------------------- hero */
.hero { min-height: min(78vh, 820px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--s-8) var(--gutter) var(--s-9); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: var(--r-pill); border: 1px solid color-mix(in srgb, var(--violet) 40%, transparent); background: var(--glass); font-size: 12px; font-weight: 500; color: rgb(255 255 255 / 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hero h1 { margin: var(--s-5) 0; max-width: 14ch; font-size: var(--fs-hero); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.hero .lead { max-width: 42rem; font-size: var(--fs-lead); color: rgb(255 255 255 / 0.7); }
.hero .sublead { max-width: 42rem; margin-top: var(--s-3); font-size: 15px; color: rgb(255 255 255 / 0.45); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-4); margin-top: var(--s-6); }
.hero-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; margin-top: var(--s-5); }
.hero-links .sep { color: rgb(255 255 255 / 0.2); }

/* ---------------------------------------------------------------- glass cards */
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--glass); padding: var(--s-5); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); }
.card-lg { border-radius: var(--r-lg); }
.card-dark { background: var(--glass-dark); }
.card-hover { transition: border-color var(--d-fast), background-color var(--d-fast); }
.card-hover:hover { border-color: rgb(255 255 255 / 0.25); background: var(--glass-2); }
.card h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
.card p { font-size: 14px; line-height: 1.65; color: rgb(255 255 255 / 0.6); }
.dots { display: grid; align-content: start; gap: 12px; margin-top: var(--s-5); font-size: 14px; }
.dots li { display: flex; gap: 12px; color: rgb(255 255 255 / 0.72); }
.dots li::before { content: ""; flex: none; width: 4px; height: 4px; margin-top: 9px; border-radius: 50%; background: rgb(255 255 255 / 0.32); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.span-2 { grid-column: span 2; }
.num-grad { font-size: 14px; font-weight: 600; }

/* Service card with "Output:" label, as on the source's services page. */
.service .label { margin-bottom: 4px; }
.service h3 { margin-bottom: var(--s-4); }
.service .dots { flex: 1; }
.service.wide { flex-direction: row; gap: var(--s-6); align-items: flex-start; }
.service.wide > div { flex: 1; min-width: 0; }
.service.wide .dots { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); }

/* Proof tile: the big gradient-lit card with a glow in the corner. */
.proof-tile { overflow: hidden; background: linear-gradient(135deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.02)); padding: var(--s-6) 28px; }
.proof-tile::before { content: ""; position: absolute; right: -64px; top: -64px; width: 192px; height: 192px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--violet) 42%, transparent), transparent 70%); filter: blur(24px); pointer-events: none; }
.kicker { align-self: flex-start; padding: 2px 10px; border-radius: var(--r-pill); border: 1px solid color-mix(in srgb, var(--lilac) 30%, transparent); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in srgb, var(--lilac) 70%, white); }
.proof-tile h3 { margin-top: var(--s-4); font-size: 1.25rem; }
.proof-tile p { margin-top: var(--s-3); }
.steps-ol { display: grid; gap: 12px; margin-top: var(--s-5); counter-reset: s; }
.steps-ol li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgb(255 255 255 / 0.8); counter-increment: s; }
.steps-ol li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.15); background: rgb(0 0 0 / 0.3); font-size: 11px; font-weight: 600; color: rgb(255 255 255 / 0.7); }

/* ---------------------------------------------------------------- method */
.method { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.method::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 1px; background: var(--spectrum); opacity: 0.45; transform-origin: left; }
.method li { position: relative; }
.method .n { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: #000; font-size: 14px; font-weight: 600; }
.method h3 { margin-top: var(--s-4); font-size: 14px; font-weight: 600; }
.method p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: rgb(255 255 255 / 0.55); }

/* ---------------------------------------------------------------- case files */
.case { overflow: hidden; border-radius: var(--r-lg); }
.case-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-id { font: 500 11px/1 var(--mono); letter-spacing: 0.16em; color: rgb(255 255 255 / 0.4); }
.status { padding: 2px 10px; border-radius: var(--r-pill); border: 1px solid; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.st-live { border-color: rgb(52 211 153 / 0.3); color: rgb(167 243 208 / 0.9); }
.st-open { border-color: rgb(56 189 248 / 0.3); color: rgb(186 230 253 / 0.9); }
.st-soon { border-color: rgb(251 191 36 / 0.3); color: rgb(253 230 138 / 0.9); }
.st-dev { border-color: rgb(167 139 250 / 0.3); color: rgb(221 214 254 / 0.9); }
.st-nda { border-color: rgb(255 255 255 / 0.15); color: rgb(255 255 255 / 0.6); }
.case h3 { position: relative; margin-top: var(--s-4); }
.case > p { position: relative; margin-top: var(--s-3); }
.case .dots { position: relative; flex: 1; gap: 6px; margin-top: var(--s-4); }
.case-foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 2px 8px; border-radius: var(--r-pill); border: 1px solid var(--line); background: rgb(0 0 0 / 0.3); font-size: 11px; color: rgb(255 255 255 / 0.55); }
/* Classified: hazard stripes and a redaction bar. Used for work under NDA. */
.case.redacted { border-color: rgb(252 211 77 / 0.2); background: var(--glass-deep); }
.case.redacted::before { content: ""; position: absolute; inset: 0; opacity: 0.07; background-image: repeating-linear-gradient(135deg, #fbbf24 0 2px, transparent 2px 14px); pointer-events: none; }
.classified { position: relative; margin-top: var(--s-4); font: 500 11px/1 var(--mono); letter-spacing: 0.25em; text-transform: uppercase; color: rgb(253 230 138 / 0.8); }
.case.redacted h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.redact { display: inline-block; width: 112px; height: 20px; border-radius: 2px; background: rgb(255 255 255 / 0.8); }
.withheld { position: relative; margin-top: 4px; font-size: 12px; color: rgb(255 255 255 / 0.4); }

/* Logo strip: placeholder marks. Replace with the customer's real client logos. */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-5) var(--s-7); margin-top: var(--s-7); padding: var(--s-5) 0; border-block: 1px solid rgb(255 255 255 / 0.06); }
.logos span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: rgb(255 255 255 / 0.42); }
.logos svg { width: 18px; height: 18px; opacity: 0.8; }
.logos-note { margin-top: var(--s-3); text-align: center; font-size: 12px; color: var(--ghost); }

/* ---------------------------------------------------------------- pricing */
.plan { height: 100%; }
.plan.featured { border-color: color-mix(in srgb, var(--lilac) 30%, transparent); background: rgb(255 255 255 / 0.07); }
.pill-popular { border-color: color-mix(in srgb, var(--lilac) 30%, transparent); color: color-mix(in srgb, var(--lilac) 70%, white); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-head h3 { font-size: 1rem; }
.plan > p { margin-top: 8px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 20px; }
.price b { font-size: 1.875rem; font-weight: 600; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.price small, .plan .timeline { font-size: 12px; color: rgb(255 255 255 / 0.4); }
.plan .timeline { margin-top: 4px; }
.plan .dots { flex: 1; gap: 10px; }
.plan .btn { margin-top: var(--s-5); width: 100%; padding: 10px 20px; font-size: 14px; font-weight: 600; }
.plan .btn-quiet { border: 1px solid var(--line); background: var(--glass); color: var(--ink); }
.plan .btn-quiet:hover { background: rgb(255 255 255 / 0.1); }
.plan.featured .btn-light:hover { transform: scale(1.02); }

/* ---------------------------------------------------------------- disclosure (FAQ) */
.faq { display: grid; gap: 12px; }
.disclosure { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--glass-dark); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); }
.disclosure > h3 { font-size: inherit; }
.disclosure button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--s-5); padding: var(--s-5); text-align: left; }
.disclosure .q { display: block; font-size: 1rem; font-weight: 600; color: var(--ink); }
.disclosure .qs { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: rgb(255 255 255 / 0.55); }
.disclosure svg { flex: none; width: 16px; height: 16px; color: rgb(255 255 255 / 0.4); transition: transform 0.35s var(--spring); }
.disclosure button[aria-expanded="true"] svg { transform: rotate(180deg); }
.disclosure .panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.5s var(--spring-soft), opacity 0.25s var(--ease) 0.05s; }
.disclosure .panel > div { min-height: 0; overflow: hidden; }
.disclosure .panel p { padding: 0 var(--s-5) var(--s-5); max-width: 68ch; font-size: 14px; line-height: 1.7; color: rgb(255 255 255 / 0.62); }
.disclosure.open .panel { grid-template-rows: 1fr; opacity: 1; }

/* ---------------------------------------------------------------- quote + cta */
.quote { padding-top: var(--s-8); border-top: 1px solid rgb(255 255 255 / 0.05); text-align: center; }
.quote blockquote { max-width: 40rem; margin: 0 auto; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem); font-weight: 500; line-height: 1.25; text-wrap: balance; }
.quote figcaption { margin-top: var(--s-5); font-size: 13px; color: var(--faint); }
.cta-panel { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); padding: var(--s-6); border-radius: var(--r-lg); }
.cta-panel h2 { font-size: 1.125rem; font-weight: 600; }
.cta-panel p { margin-top: 4px; color: rgb(255 255 255 / 0.6); font-size: 14px; }
.cta-panel .row { display: flex; flex-wrap: wrap; gap: 12px; }

/* A second, local light under the closing panel so the page ends lit, not in black. */
.halo { position: relative; overflow-x: clip; }
.halo::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(900px, 140%); height: 420px; transform: translate(-50%, -40%); z-index: -1; pointer-events: none; background: radial-gradient(50% 50% at 30% 50%, color-mix(in srgb, var(--ice) 16%, transparent), transparent 70%), radial-gradient(50% 55% at 55% 50%, color-mix(in srgb, var(--violet) 28%, transparent), transparent 70%), radial-gradient(45% 50% at 78% 50%, color-mix(in srgb, var(--magenta) 20%, transparent), transparent 70%); filter: blur(40px); }
html:not(.calm) .halo::before { animation: halo 14s ease-in-out infinite alternate; }
@keyframes halo { to { transform: translate(-46%, -46%) scale(1.08); opacity: 0.8; } }

/* ---------------------------------------------------------------- footer */
.foot { margin-top: auto; padding: var(--s-9) var(--gutter) var(--s-5); font-size: 12px; color: rgb(255 255 255 / 0.4); }
.foot-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); }
.foot-in p + p { margin-top: 4px; color: rgb(255 255 255 / 0.3); }
.foot a:hover { color: rgb(255 255 255 / 0.7); }
.foot-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: rgb(255 255 255 / 0.25); }
.light-chip, .motion-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-pill); border: 1px solid rgb(255 255 255 / 0.06); background: rgb(255 255 255 / 0.05); font-size: 11px; color: rgb(255 255 255 / 0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: border-color var(--d-fast), background-color var(--d-fast), color var(--d-fast), transform 0.2s var(--spring); }
.light-chip:hover, .motion-chip:hover { border-color: rgb(255 255 255 / 0.15); background: rgb(255 255 255 / 0.1); color: rgb(255 255 255 / 0.7); }
.light-chip:active, .motion-chip:active { transform: scale(0.95); }
.light-chip svg { width: 12px; height: 12px; }
.motion-chip .sw { position: relative; width: 22px; height: 12px; border-radius: 999px; background: rgb(255 255 255 / 0.15); transition: background-color var(--d-fast); }
.motion-chip .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: #fff; transition: transform 0.25s var(--spring); }
.motion-chip[aria-checked="true"] .sw { background: var(--spectrum); }
.motion-chip[aria-checked="true"] .sw::after { transform: translateX(10px); }

/* ---------------------------------------------------------------- entrance motion */
/* Content is visible by default. js/aurora.js adds .will-enter only when motion is
   on, then .entered as items arrive, so screenshots and no-JS never show blanks. */
.will-enter [data-enter] { opacity: 0; transform: translateY(var(--dist, 24px)); }
.will-enter [data-enter="scale"] { transform: scale(0.92); }
.will-enter [data-enter="left"] { transform: translateX(-40px); }
.will-enter [data-enter="right"] { transform: translateX(40px); }
.will-enter [data-enter="line"] { transform: scaleX(0); opacity: 1; }
.will-enter [data-enter].entered { opacity: 1; transform: none; transition: opacity var(--d-base) var(--ease), transform 0.7s var(--spring-soft); transition-delay: var(--delay, 0ms); }
.will-enter [data-enter="line"].entered { transition: transform var(--d-slow) var(--ease) var(--delay, 200ms); }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.25s var(--ease) both vt-out; }
::view-transition-new(root) { animation: 0.45s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
html.calm *, html.calm *::before, html.calm *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .method { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-6); }
  .method::before { display: none; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .burger { display: grid; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .span-2 { grid-column: auto; }
  .service.wide { flex-direction: column; gap: 0; }
  .service.wide .dots { margin-top: var(--s-5); grid-template-columns: minmax(0, 1fr); }
  .section { padding-top: var(--s-8); }
}
@media (max-width: 560px) {
  .grid-4, .method { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: var(--s-6); min-height: auto; }
  .hero h1 { letter-spacing: -0.03em; }
  .hero-ctas { flex-direction: column; align-self: stretch; }
  .cta-panel { padding: var(--s-5); }
  .cta-panel .row, .cta-panel .row .btn { width: 100%; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}
