/* @CO · site layer
   Load order: brand/atco-tokens.css → brand/fonts.css → brand/atco-components.css → this file.
   Components (ac-*) come from the brand kit unchanged. This file only adds page layout, fluid type,
   the work gallery, the form's step mechanics and page transitions. Colours come from tokens only. */

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); }
[hidden] { display: none !important; }
img { max-width: 100%; }
.ac-page { min-height: 100vh; overflow-x: clip; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 200; padding: 12px 18px; border-radius: var(--radius-pill); background: var(--sun); color: var(--on-sun); font-weight: 700; text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }
.ph { display: inline-block; font-size: .85em; border: 1.5px dashed currentColor; padding: 0 .45em; border-radius: 6px; opacity: .9; }

/* Reveals stay visible if JavaScript never runs */
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

/* Fluid type from the tokens (390px → 1280px), so mid-size screens scale smoothly */
.ac-display { font-size: var(--fs-display); line-height: var(--lh-display); }
.ac-h1 { font-size: var(--fs-h1); }
.ac-h2 { font-size: var(--fs-h2); }
.ac-h3 { font-size: var(--fs-h3); }
.ac-lead { font-size: var(--fs-lead); }
.ac-splash { font-size: var(--fs-hero); }
/* Hold the headline until the animation starts, so it never shows twice. Safety net: if no script
   ever marks it ready (blocked or failed JavaScript), it reveals itself after 2 seconds anyway. */
.js .ac-splash:not(.is-ready) { visibility: hidden; animation: splash-failsafe 0s linear 2s forwards; }
@keyframes splash-failsafe { to { visibility: visible; } }
/* ---------- Logo images (files from the kit, never retyped) ---------- */
.ac-header__logo img { height: 36px; width: auto; display: block; }
.ac-sheet__logo img { height: 28px; width: auto; display: block; }
.ac-footer__logo img { height: 56px; width: auto; display: block; }
@media (max-width: 719px) { .ac-header__logo img { height: 28px; } }

/* ---------- Stage (heroes) ---------- */
.ac-stage .ac-eyebrow { color: var(--on-stage-soft); }
.ac-stage .ac-lead { color: var(--on-stage-soft); max-width: 60ch; margin-top: var(--space-5); }
.ac-stage .ac-accent { color: var(--sun); }
.ac-stage .hero-lead { color: var(--on-stage); max-width: 52ch; }
.page-hero .ac-stage__body { padding-top: var(--space-8); padding-bottom: var(--space-9); }
.page-hero .ac-h1 { margin-top: var(--space-4); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-6); }
.final { text-align: center; }
.final .ac-stage__body { display: grid; justify-items: center; gap: var(--space-5); padding-block: var(--space-9); }
.final .ac-lead { margin: 0 auto; }

/* ---------- Section helpers ---------- */
.ac-section__head .ac-lead { max-width: 64ch; }
.ac-section--pine .ac-lead, .ac-section--pine .ac-eyebrow { color: var(--on-pine-soft); }
.ac-section--pine .ac-accent { color: var(--sun); }
.after-link { margin-top: var(--space-6); }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-8); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }

/* ---------- Request form ---------- */
.form-step { display: grid; gap: var(--space-7); }
/* only multi-step forms slide between steps; a page can hold several one-step forms, and a transition name must be unique */
.ac-form:has(.form-step + .form-step) .form-step { view-transition-name: form-step; }
.form-step > .ac-fieldset + .ac-fieldset { margin-top: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 719px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.form-legal { color: var(--ink-soft); font-size: var(--fs-small); margin: 0; }
.form-legal a { color: var(--link); }
.form-picks { margin: 0; padding: var(--space-4) var(--space-5); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); font-weight: 700; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ac-summary:focus { outline: 2px solid var(--focus); outline-offset: 3px; }
::view-transition-old(form-step) { animation: var(--dur-base) var(--out) both step-out; }
::view-transition-new(form-step) { animation: var(--dur-base) var(--out) both step-in; }
.vt-back::view-transition-old(form-step) { animation-name: step-out-back; }
.vt-back::view-transition-new(form-step) { animation-name: step-in-back; }
@keyframes step-out { to { opacity: 0; transform: translateX(-24px); } }
@keyframes step-in { from { opacity: 0; transform: translateX(24px); } }
@keyframes step-out-back { to { opacity: 0; transform: translateX(24px); } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-24px); } }
.ac-tray__go { justify-self: start; }
.ac-tray { transition: transform var(--dur-base) var(--out), opacity var(--dur-base) var(--out); }
.ac-tray.is-tucked { transform: translateY(calc(100% + 32px)); opacity: 0; pointer-events: none; }

/* ---------- Comparison table: keep the phone card layout from the kit, let desktop breathe ---------- */
.ac-section--pine .ac-compare thead th { border-bottom-color: var(--on-pine); }
.ac-section--pine .ac-compare tbody th, .ac-section--pine .ac-compare td { color: var(--on-pine); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 920px; }

/* ==========================================================================
   The open, scroll-led layer (2026-10-08): generous spacing, centered hero with a showcase strip,
   project cards, marquee bands, word-by-word headings, rolling button text, the @ cursor.
   Every moving part has a still version under prefers-reduced-motion.
   ========================================================================== */

/* ---------- Room to breathe ---------- */
.ac-section { padding-block: clamp(96px, 11vw, 168px); }
.ac-section__head { margin-bottom: clamp(48px, 6vw, 88px); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-5) var(--space-7); margin-bottom: clamp(48px, 6vw, 88px); }
.head-row .ac-section__head { margin-bottom: 0; }

/* ---------- Centered hero + showcase strip ---------- */
.hero-center .ac-stage__body { text-align: center; display: grid; justify-items: center; padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero-center .hero-lead { margin-inline: auto; max-width: 46ch; }
.hero-center .ac-stage__actions { justify-content: center; }
.hero-center .ac-eyebrow { margin-bottom: var(--space-4); }
.showcase { position: relative; z-index: 1; padding-bottom: clamp(56px, 8vw, 112px); }
.showcase .ac-browser { width: clamp(280px, 34vw, 520px); flex: none; box-shadow: var(--shadow-lg); }
.showcase .ac-browser__shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* ---------- Marquees (showcase strip and the services band) ---------- */
.marquee { --speed: 60s; position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { --gap: var(--space-5); display: flex; gap: var(--gap); width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee var(--speed) linear infinite; }
.marquee:hover .marquee__track, .is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.showcase, .band { position: relative; }
.band .motion-toggle { bottom: auto; top: 50%; translate: 0 -50%; }
.motion-toggle { position: absolute; right: max(var(--gutter), calc((100% - var(--content-max)) / 2)); bottom: var(--space-4); z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: color-mix(in srgb, var(--stage) 70%, transparent); color: var(--on-stage); font: 700 13px/1 var(--font-body); cursor: pointer; }
.motion-toggle .ac-icon { width: 14px; height: 14px; }
.band { padding-block: clamp(28px, 4vw, 44px); border-block: 1px solid var(--line); background: var(--paper); }
.band .marquee__track { --gap: var(--space-6); align-items: center; }
.band__item { font: 800 clamp(34px, 5vw, 64px)/1 var(--font-display); text-transform: uppercase; white-space: nowrap; color: var(--ink); }
.band__item:nth-child(even) { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--sun); }
.band__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pop, var(--sun)); flex: none; }

/* ---------- Clickable showcase strip ---------- */
.showcase { padding-bottom: clamp(104px, 11vw, 168px); }
.showcase li { flex: none; }
.show-item { display: block; color: inherit; text-decoration: none; transition: transform 600ms var(--out), box-shadow 600ms var(--out); }
.show-item:hover, .show-item:focus-visible { transform: translateY(-8px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 2px var(--sun); }
.show-item .ac-browser__bar { display: flex; align-items: center; gap: 10px; }
.show-item__go { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font: 700 12px/1 var(--font-body); color: var(--sun); opacity: 0; transition: opacity 300ms var(--out); }
.show-item__go .ac-icon { width: 12px; height: 12px; }
.show-item:hover .show-item__go, .show-item:focus-visible .show-item__go { opacity: 1; }
.marquee:focus-within .marquee__track { animation-play-state: paused; }

/* ---------- Sand sections: the light theme, a fine grain, and dunes that rise into the section above ---------- */
[data-theme="light"].ac-section { background: var(--paper); color: var(--ink); }
.ac-section:has(> .dunes) { position: relative; }
.sand { isolation: isolate; }
.sand::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .24 0 0 0 .32 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sand > .ac-wrap { position: relative; z-index: 1; }
.dunes { --dune: var(--paper); position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(44px, 7vw, 112px); overflow: hidden; pointer-events: none; z-index: 2; }
.ac-section--paper2 > .dunes { --dune: var(--paper-2); }
.dunes svg { display: block; width: 120%; height: 100%; margin-left: -10%; }
.dunes path { transform-box: fill-box; }
.dunes__front { fill: var(--dune); }
.dunes__mid { fill: color-mix(in srgb, var(--dune) 62%, transparent); }
.dunes__back { fill: color-mix(in srgb, var(--dune) 30%, transparent); }
.sand .dunes__mid { fill: var(--paper-2); }
.sand .dunes__back { fill: color-mix(in srgb, var(--sun) 38%, var(--paper-2)); }
/* a few grains blown along the crest of the sand dunes */
.sand .dunes::after { content: ""; position: absolute; inset: 0; opacity: .6;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--sun) 70%, var(--paper)) 0 1.2px, transparent 1.8px), radial-gradient(circle, var(--paper) 0 1px, transparent 1.5px);
  background-size: 160px 70px, 110px 46px; background-position: 0 30px, 40px 52px;
  -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 85%); mask-image: linear-gradient(to top, #000 20%, transparent 85%); }
@media (prefers-reduced-motion: no-preference) {
  .sand .dunes::after { animation: sand-wind 26s linear infinite; }
  @keyframes sand-wind { to { background-position: 320px 18px, 260px 40px; } }
  @supports (animation-timeline: view()) {
    .dunes path { animation: dune-x linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .dunes__back { --dx: 5%; } .dunes__mid { --dx: -3.5%; } .dunes__front { --dx: 1.6%; }
    @keyframes dune-x { from { translate: calc(var(--dx) * -1) 0; } to { translate: var(--dx) 0; } }
  }
}

/* ---------- Marketing card in a second colour (cedar teal, the follow-up pop on sand) ---------- */
.ac-plan--teal { background: var(--pop-followup); color: #fff; border-color: var(--pop-followup); box-shadow: var(--shadow-lg); }
.ac-plan--teal .ac-plan__for, .ac-plan--teal .ac-plan__price span { color: rgba(255, 255, 255, .88); }
.ac-plan--teal ul { border-top-color: rgba(255, 255, 255, .28); }
.ac-plan--teal li .ac-icon { color: var(--sun); }
.ac-plan--teal .ac-plan__badge { background: #fff; color: #0e1e16; transform: rotate(2deg); }
.ac-plan--teal :focus-visible { outline-color: #fff; }
.ac-plan--featured li .ac-icon { color: var(--sun); }

/* ---------- FAQ: heading on the left, answers on the right ---------- */
.faq-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.faq-split .ac-section__head { margin-bottom: 0; position: sticky; top: var(--space-7); }
.faq-split .ac-section__head p { margin: 0; }
@media (max-width: 900px) { .faq-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } .faq-split .ac-section__head { position: static; } }

/* ---------- Our work: vertical scroll moves the row sideways (desktop); swipe with snap on phones ---------- */
.work { position: relative; view-timeline-name: --work; }
.work-sticky { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 64px); }
.work .head-row { margin-bottom: 0; width: 100%; box-sizing: border-box; }
.work-track { --edge: max(var(--gutter), calc((100% - var(--content-max)) / 2)); display: flex; gap: clamp(24px, 3vw, 40px); padding-inline: var(--edge); scroll-padding-inline: var(--edge); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-4); }
.work-track .proj { flex: none; width: min(560px, 80vw); scroll-snap-align: start; }
@media (max-width: 719px) { .work-track { --edge: var(--gutter-phone); gap: var(--space-4); } .work-track .proj { width: 84vw; } }
@supports (animation-timeline: view()) {
  @media (min-width: 720px) and (prefers-reduced-motion: no-preference) {
    .work { height: 340vh; padding-block: 0; }
    .work-sticky { position: sticky; top: 0; height: 100vh; align-content: center; overflow: hidden; }
    .work-track { overflow: visible; scroll-snap-type: none; width: max-content; justify-self: start; animation: work-x linear both; animation-timeline: --work; animation-range: contain 0% contain 100%; }
    @keyframes work-x { 0%, 8% { transform: none; } 92%, 100% { transform: translateX(calc(-100% + 100vw)); } }
  }
}

/* ---------- The @ in the closing headline draws itself in ---------- */
.at-glyph { display: inline-block; width: .78em; height: .78em; vertical-align: -.04em; color: var(--sun); }
.at-glyph svg { display: block; width: 100%; height: 100%; overflow: visible; }
.js .words .at-glyph path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms var(--out) 400ms; }
.js .words.is-in .at-glyph path { stroke-dashoffset: 0; }

/* ---------- Dunes at the foot of a sand section, rising in the colour of the black section that follows ---------- */
.dunes--end { --dune: var(--black); top: auto; bottom: -1px; }
.sand .dunes--end .dunes__mid { fill: color-mix(in srgb, var(--dune) 62%, transparent); }
.sand .dunes--end .dunes__back { fill: color-mix(in srgb, var(--dune) 30%, transparent); }
.sand .dunes--end::after { display: none; }

/* ---------- Floating nav: after a short scroll the header becomes a glass pill and shrinks ---------- */
html { scroll-padding-top: 104px; }
.ac-header .ac-header__bar { transition: height 420ms var(--out), padding 420ms var(--out), background-color 420ms var(--out); }
.float-host { position: fixed !important; z-index: 60; top: 12px; left: 50%; translate: -50% 0; width: min(1120px, calc(100% - 24px)); background: none !important; animation: float-in 520ms var(--out); }
.ac-header.is-floating .ac-header__bar {
  width: 100%; max-width: none; box-sizing: border-box;
  height: 64px; padding: 0 10px 0 24px; border-radius: var(--radius-pill);
  color: var(--on-cobalt); background: color-mix(in srgb, #0b0b0c 84%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.ac-header.is-floating .ac-header__logo img { height: 26px; }
.ac-header:not(.ac-header--on-cobalt).is-floating .ac-header__bar { color: var(--ink); background: color-mix(in srgb, var(--paper) 82%, transparent); border-color: var(--line); }
@keyframes float-in { from { translate: -50% -150%; opacity: 0; } }
@media (max-width: 719px) { .float-host { top: 8px; width: calc(100% - 16px); } .ac-header.is-floating .ac-header__bar { height: 56px; padding: 0 8px 0 16px; } .ac-header.is-floating .ac-header__logo img { height: 22px; } }
@media (prefers-reduced-motion: reduce) { .float-host { animation: none; } }

/* ---------- Moving sand behind cards and rows: a glow that follows the pointer, with grains drifting through it ---------- */
.flair { position: relative; isolation: isolate; }
.flair::before, .flair::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 450ms var(--out); }
.flair::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--sun) 26%, transparent), transparent 62%); }
.flair::after {
  background-image: radial-gradient(circle, color-mix(in srgb, var(--sun) 60%, transparent) 0 1px, transparent 1.6px), radial-gradient(circle, color-mix(in srgb, var(--ink) 22%, transparent) 0 .8px, transparent 1.3px);
  background-size: 22px 22px, 13px 13px;
  -webkit-mask-image: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), #000, transparent 70%); mask-image: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), #000, transparent 70%);
}
@media (hover: hover) { .flair:hover::before, .flair:hover::after { opacity: 1; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .flair:hover::after { animation: grain-drift 9s linear infinite; } }
@keyframes grain-drift { to { background-position: 66px -22px, -39px 26px; } }

/* ---------- Headings fill with flowing sand on hover (and sweep once as they arrive on touch screens) ---------- */
:root { --sandtext: linear-gradient(100deg, #f5c431 0%, #fff1c7 16%, #d39d3c 32%, #f3ead2 48%, #c48f34 64%, #fff1c7 80%, #f5c431 100%); }
[data-theme="light"] { --sandtext: linear-gradient(100deg, #5a3f0c 0%, #9b7128 16%, #3b3324 32%, #7d5f22 48%, #4a3a16 64%, #9b7128 80%, #5a3f0c 100%); }
.js .words .wd__i {
  background-image: var(--sandtext), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='1'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .15 0 0 0 0 .05 0 0 0 .45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 260% 100%, 120px 120px; background-position: 0 0, 0 0;
  -webkit-background-clip: text; background-clip: text;
}
.js .words .wd__i, .js .words .wd__i .ac-accent { transition: transform 1000ms var(--out), color 500ms var(--out); transition-delay: calc(var(--i, 0) * 55ms), 0ms; }
@media (hover: hover) {
  .js .words:hover .wd__i, .js .words:hover .wd__i .ac-accent { color: transparent; }
  .js .words:hover .wd__i { animation: sand-flow 3.6s linear infinite; }
}
.js .words.is-sanding .wd__i, .js .words.is-sanding .wd__i .ac-accent { color: transparent; }
.js .words.is-sanding .wd__i { animation: sand-flow 1.8s linear 1; }
@keyframes sand-flow { to { background-position: -260% 0, 120px 0; } }

/* ---------- Case study page ---------- */
.cs-hero { max-width: 980px; }
.cs-numbers { padding-top: clamp(56px, 7vw, 96px); }
.cs-numbers .cs-facts { margin-bottom: clamp(64px, 8vw, 112px); }
.cs-numbers__head { margin-bottom: clamp(32px, 4vw, 56px); }
.cs-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 1000px) { .cs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cs-stats { grid-template-columns: minmax(0, 1fr); } }
.cs-stats li { display: grid; align-content: start; gap: 6px; padding: clamp(24px, 2.6vw, 32px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--pop, var(--sun)); }
.cs-stats__before { font: 800 22px/1 var(--font-display); text-transform: uppercase; color: var(--ink-soft); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--pop-ads); }
.cs-stats__after { font: 800 clamp(44px, 4.4vw, 64px)/.95 var(--font-display); text-transform: uppercase; color: var(--pop, var(--sun)); }
.cs-stats__label { margin-top: var(--space-3); color: var(--ink-soft); font-size: 15px; }
.cs-two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.cs-two .ac-section__head { margin-bottom: 0; }
.cs-two .ac-section__head p { margin: 0; }
.cs-two--media { align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
@media (max-width: 900px) { .cs-two { grid-template-columns: minmax(0, 1fr); } }
.cs-quote { margin: 0; padding: clamp(28px, 3vw, 44px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.cs-quote blockquote { margin: 0; }
.cs-quote blockquote p { margin: 0; font: 400 italic clamp(30px, 3vw, 44px)/1.1 var(--font-serif); }
.cs-quote blockquote p::before { content: "“"; color: var(--sun); }
.cs-quote blockquote p::after { content: "”"; color: var(--sun); }
.cs-quote figcaption { margin-top: var(--space-4); font: 700 13px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.cs-subhead { font: 800 clamp(24px, 2.4vw, 32px)/1.05 var(--font-display); text-transform: uppercase; margin: clamp(56px, 7vw, 96px) 0 var(--space-5); }
.cs-subhead--tight { margin-top: 0; }
.cs-pattern { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); counter-reset: p; }
.cs-pattern--stack { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .cs-pattern { grid-template-columns: minmax(0, 1fr); } }
.cs-pattern li { counter-increment: p; display: grid; gap: var(--space-3); align-content: start; padding-top: var(--space-4); border-top: 2px solid var(--pop, var(--line)); font-size: 18px; }
.cs-pattern li::before { content: counter(p, decimal-leading-zero); font: 800 40px/1 var(--font-display); color: var(--pop, var(--sun)); }
.cs-pattern li:nth-child(1) { --pop: var(--pop-websites); } .cs-pattern li:nth-child(2) { --pop: var(--pop-search); }
.cs-pattern li:nth-child(3) { --pop: var(--pop-reviews); } .cs-pattern li:nth-child(4) { --pop: var(--pop-social); }
.fix-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.fix-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.fix-table th { text-align: left; padding: 18px 22px; font: 800 20px/1 var(--font-display); text-transform: uppercase; background: var(--card); border-bottom: 1px solid var(--line); }
.fix-table th + th, .fix-table td + td { border-left: 1px solid var(--line); }
.fix-table th:first-child { color: var(--pop-ads); }
.fix-table th + th { color: var(--pop-search); }
.fix-table td { padding: 18px 22px; vertical-align: top; border-bottom: 1px solid var(--line); width: 50%; }
.fix-table td:first-child { color: var(--ink-soft); }
.fix-table tr:last-child td { border-bottom: 0; }
@media (max-width: 719px) {
  .fix-wrap { border: 0; border-radius: 0; overflow: visible; }
  .fix-table, .fix-table tbody, .fix-table tr, .fix-table td { display: block; width: auto; }
  .fix-table thead { display: none; }
  .fix-table tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
  .fix-table td + td { border-left: 0; border-top: 1px dashed var(--line); }
  .fix-table td::before { display: block; margin-bottom: 6px; font: 700 12px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
  .fix-table td:first-child::before { content: "Old site"; color: var(--pop-ads); }
  .fix-table td + td::before { content: "New site"; color: var(--pop-search); }
}
.cs-cards { margin-bottom: clamp(48px, 6vw, 80px); }
.cs-cards .card h3 { font-size: clamp(24px, 2.2vw, 30px); }
.cs-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); border-left: 2px solid var(--line); }
.cs-timeline li { position: relative; padding-left: var(--space-6); }
.cs-timeline li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--paper); }
.cs-timeline time { display: block; font: 800 24px/1 var(--font-display); text-transform: uppercase; margin-bottom: var(--space-2); }
.cs-timeline p { margin: 0; color: var(--ink-soft); }
.cs-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-7); }
@media (max-width: 719px) { .cs-checks { grid-template-columns: minmax(0, 1fr); } }
.cs-checks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.cs-checks .ac-icon { width: 22px; height: 22px; color: var(--sun); margin-top: 2px; }
.ba-slot { margin: clamp(40px, 5vw, 64px) 0 0; }
.ba-slot__frame { display: grid; place-items: center; aspect-ratio: 16 / 7; border-radius: var(--radius-lg); border: 2px dashed var(--field-line); background: var(--card); padding: var(--space-5); text-align: center; }
/* small stat chips under the big numbers */
.cs-minis { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.cs-minis li { padding: 10px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); color: var(--ink-soft); font-size: 15px; }
.cs-minis b { color: var(--ink); }

/* before/after thumbnails open in a lightbox */
.ba-zoom { position: relative; display: block; color: inherit; text-decoration: none; }
.ba-zoom img { transition: transform 700ms var(--out); }
.ba-zoom:hover img, .ba-zoom:focus-visible img { transform: scale(1.015); }
.ba-zoom__hint { position: absolute; right: 14px; bottom: 14px; padding: 8px 14px; border-radius: var(--radius-pill); background: rgba(0, 0, 0, .78); color: #fff; font: 700 13px/1 var(--font-body); opacity: 0; transition: opacity 300ms var(--out); pointer-events: none; }
.ba-zoom:hover .ba-zoom__hint, .ba-zoom:focus-visible .ba-zoom__hint { opacity: 1; }
@media (hover: none) { .ba-zoom__hint { opacity: 1; } }
html.lb-open { overflow: hidden; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .94); color: #fff; overflow: auto; overscroll-behavior: contain; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox__bar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, .6)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox__count { font: 700 14px/1 var(--font-body); color: rgba(255, 255, 255, .75); }
.lightbox__btns { display: flex; gap: 8px; }
.lightbox__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); color: #fff; font: 700 15px/1 var(--font-body); cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .14); }
.lightbox__btn:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.lightbox__btn .ac-icon { width: 18px; height: 18px; }
.lightbox__flip { display: inline-flex; transform: scaleX(-1); }
.lightbox__fig { margin: 0 auto; padding: 8px 16px 48px; max-width: 1600px; }
.lightbox__fig img { display: block; width: 100%; height: auto; border-radius: 12px; background: #fff; }
.lightbox__fig figcaption { margin-top: 14px; color: rgba(255, 255, 255, .78); }
@media (prefers-reduced-motion: no-preference) { .lightbox[open] .lightbox__fig { animation: lb-in 420ms var(--out); } @keyframes lb-in { from { opacity: 0; transform: translateY(12px) scale(.985); } } }
@media (max-width: 719px) { .lightbox__btn { padding: 0 12px; font-size: 14px; } .lightbox__btns { gap: 6px; } }
.ba-slot__img { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.ba-slot__img img { display: block; width: 100%; height: auto; }
.ba-grid { align-items: start; }
.ba-slot figcaption { margin-top: var(--space-3); color: var(--ink-soft); font-size: 15px; }
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.ba-grid .ba-slot { margin: 0; }
.ba-grid .ba-slot__frame { aspect-ratio: 16 / 9; }
.ba-slot--wide { grid-column: 1 / -1; }
.ba-slot--wide .ba-slot__frame { aspect-ratio: 16 / 7; }
@media (max-width: 719px) { .ba-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Big intro statement ---------- */
.statement { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--space-8); align-items: end; }
.statement .ac-display { font-size: clamp(48px, 7.4vw, 120px); line-height: .9; }
.statement p { margin: 0; font-size: var(--fs-lead); color: var(--ink-soft); }
.statement .ac-stage__actions { margin-top: var(--space-6); }
@media (max-width: 900px) { .statement { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }

/* ---------- Project cards ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 40px); }
.proj-grid > :nth-child(even) { margin-top: clamp(0px, 8vw, 120px); }
@media (max-width: 719px) { .proj-grid { grid-template-columns: minmax(0, 1fr); } .proj-grid > :nth-child(even) { margin-top: 0; } }
.proj__link { display: grid; gap: var(--space-4); color: inherit; text-decoration: none; }
.proj__shot { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card); aspect-ratio: 16 / 10; }
.proj__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 900ms var(--out); }
.proj__link:hover .proj__shot img, .proj__link:focus-visible .proj__shot img { transform: scale(1.04); }
.proj__meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); }
.proj__name { font: 800 clamp(26px, 2.6vw, 36px)/1 var(--font-display); text-transform: uppercase; margin: 0; }
.proj__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--link); white-space: nowrap; }
.proj__go .ac-icon { width: 16px; height: 16px; }
.proj__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.proj__tags li { padding: 4px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.proj__blurb { margin: 0; color: var(--ink); max-width: 48ch; }

/* ---------- Pricing side by side ---------- */
.price-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.price-duo .ac-plan--featured { transform: none; }
.price-duo .ac-plan--featured:hover { transform: translateY(-4px); }
.price-duo .ac-btn { margin-top: auto; justify-self: start; align-self: flex-start; }
@media (max-width: 900px) { .price-duo { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Why @CO: four approach cards ---------- */
.approach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); margin-bottom: clamp(64px, 8vw, 120px); }
@media (max-width: 719px) { .approach { grid-template-columns: minmax(0, 1fr); } }
.approach__card { position: relative; overflow: hidden; display: grid; align-content: start; gap: var(--space-3); padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); min-height: 280px; }
.approach__card h3 { font: 800 clamp(28px, 2.8vw, 40px)/1 var(--font-display); text-transform: uppercase; margin: 0; }
.approach__card p { margin: 0; color: var(--ink-soft); max-width: 44ch; }
.approach__num { font: 400 italic 20px/1 var(--font-serif); color: var(--pop, var(--sun)); }
.approach__art { display: flex; gap: 16px; margin-top: var(--space-5); margin-bottom: calc(-1 * clamp(28px, 3vw, 40px) - 40px); }
.approach__art img { display: block; width: calc(50% - 8px); max-width: 220px; height: auto; border-radius: 22px; border: 6px solid #111; box-shadow: var(--shadow-lg); }
.approach__art--wide img { width: 100%; max-width: none; border-radius: var(--radius); border-width: 1px; border-color: var(--line); }

/* ---------- Closing call to action ---------- */
.final--big .ac-display { font-size: clamp(56px, 9vw, 152px); line-height: .88; }
.final--big .ac-stage__body { padding-block: clamp(112px, 14vw, 200px); }

/* ---------- Case studies ---------- */
.cs-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-block: 1px solid var(--line); }
.cs-facts > div { padding: var(--space-5) var(--space-5) var(--space-5) 0; }
.cs-facts > div + div { padding-left: var(--space-5); border-left: 1px solid var(--line); }
.cs-facts dt { font: 700 13px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.cs-facts dd { margin: 0; font: 800 clamp(22px, 2.2vw, 30px)/1.05 var(--font-display); text-transform: uppercase; }
@media (max-width: 719px) { .cs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cs-facts > div:nth-child(3) { border-left: 0; padding-left: 0; } .cs-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.cs-hero-shot { position: relative; z-index: 1; margin-top: calc(-1 * clamp(40px, 6vw, 96px)); }
.cs-hero-shot .ac-browser { box-shadow: var(--shadow-lg); }
.cs-hero-shot img { display: block; width: 100%; height: auto; }
.cs-story-wrap { padding-top: 0; }
.cs-story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); }
@media (max-width: 900px) { .cs-story { grid-template-columns: minmax(0, 1fr); } }
.cs-story h2 { font: 800 clamp(28px, 2.8vw, 40px)/1 var(--font-display); text-transform: uppercase; margin: 0 0 var(--space-4); }
.cs-story p { margin: 0; color: var(--ink-soft); }
.cs-phones { display: flex; justify-content: center; gap: clamp(16px, 3vw, 48px); }
.cs-phones img { width: min(300px, 44vw); height: auto; border-radius: 32px; border: 8px solid #111; box-shadow: var(--shadow-lg); }
.cs-phones img:nth-child(2) { margin-top: clamp(32px, 6vw, 96px); }

/* ---------- Word-by-word headings ---------- */
.js .words .wd { display: inline-block; vertical-align: top; clip-path: inset(-20% -12% 0 -12%); padding-bottom: .12em; margin-bottom: -.12em; }
.js .words .wd__i { display: inline-block; transform: translateY(110%); transition: transform 1000ms var(--out); transition-delay: calc(var(--i, 0) * 55ms); }
.js .words.is-in .wd__i { transform: none; }

/* ---------- Rolling button text ---------- */
.roll { display: inline-grid; overflow: hidden; line-height: 1.2; }
.roll > span { grid-area: 1 / 1; transition: transform 420ms var(--out); }
.roll > span + span { transform: translateY(110%); }
@media (hover: hover) {
  .ac-btn:hover .roll > span:first-child, .ac-btn:focus-visible .roll > span:first-child { transform: translateY(-110%); }
  .ac-btn:hover .roll > span + span, .ac-btn:focus-visible .roll > span + span { transform: none; }
}

/* ---------- Gentle movement on project images as they pass ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .proj__shot img, .cs-hero-shot img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes drift { from { translate: 0 -2.5%; scale: 1.06; } to { translate: 0 2.5%; scale: 1.06; } }
  }
}

/* ---------- The @ cursor: mouse and trackpad only; text fields keep the normal text cursor ---------- */
@media (hover: hover) and (pointer: fine) and (forced-colors: none) {
  html { cursor: url("/assets/img/cursor/at.svg?v=c51db469ca") 16 16, auto; }
  a[href], button:not(:disabled), label, summary, select, [role="button"], .ac-pill, .ac-tile { cursor: url("/assets/img/cursor/at-hover.svg?v=6d0374ff36") 20 20, pointer; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea, [contenteditable] { cursor: text; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track [aria-hidden="true"].dup, .motion-toggle { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .js .words .wd__i { transform: none; transition: none; }
  .roll > span { transition: none; }
}
.price-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-4) var(--space-6); }
.price-row > div { display: grid; gap: var(--space-3); max-width: 46ch; }
.price-stack ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 719px) { .price-stack ul { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Plans and catalog (services page) ---------- */
.plans-note { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: var(--space-6); color: var(--ink-soft); font-size: var(--fs-small); }
.cat { padding-top: var(--space-8); }
.cat-head { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.cat-head .ac-service__icon { width: 56px; height: 56px; }
.cat-intro { color: var(--ink-soft); margin: 0 0 var(--space-5); max-width: 64ch; }
.ac-service__price small { display: block; font-size: 13px; }

/* ---------- How it works ---------- */
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-5); counter-reset: s; }
@media (max-width: 1100px) { .steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 719px) { .steps-list { grid-template-columns: minmax(0, 1fr); } }
.steps-list li { display: grid; gap: var(--space-3); align-content: start; padding-top: var(--space-5); border-top: 2px solid var(--line); counter-increment: s; }
.steps-list li::before { content: counter(s, decimal-leading-zero); font: 800 56px/1 var(--font-display); color: var(--pop, var(--sun)); }
/* Numbered steps follow the kit's fixed order (guide/pops.md): websites, search, reviews, social; the fifth step continues with follow-up */
.steps-list li:nth-child(1) { --pop: var(--pop-websites); }
.steps-list li:nth-child(2) { --pop: var(--pop-search); }
.steps-list li:nth-child(3) { --pop: var(--pop-reviews); }
.steps-list li:nth-child(4) { --pop: var(--pop-social); }
.steps-list li:nth-child(5) { --pop: var(--pop-followup); }
.steps-list p { margin: 0; color: var(--ink-soft); }
.steps-list .who { font-size: var(--fs-small); font-weight: 700; color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
@media (max-width: 900px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.card p { margin: 0; color: var(--ink-soft); }
.card .ac-service__icon { margin-bottom: var(--space-2); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7); }
@media (max-width: 719px) { .duo { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }
.duo > div { display: grid; gap: var(--space-4); align-content: start; padding-top: var(--space-5); border-top: 2px solid var(--sun); }
.duo ul { margin: 0; padding-left: 1.2em; display: grid; gap: var(--space-2); color: var(--on-pine-soft); }

/* ---------- Our story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--space-8); align-items: start; }
@media (max-width: 900px) { .story { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }
.prose { display: grid; gap: var(--space-5); max-width: 64ch; }
.prose p { margin: 0; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); border: 2px dashed var(--field-line); background: var(--card); display: grid; place-items: center; text-align: center; padding: var(--space-5); color: var(--ink-soft); }

/* ---------- Privacy (Sand theme for long reading) ---------- */
.legal { max-width: 72ch; display: grid; gap: var(--space-5); }
.legal p { margin: 0; }

/* ---------- Services landing page: offer + form above the fold ---------- */
.lp-hero__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: var(--space-8); align-items: start; }
@media (max-width: 959px) { .lp-hero__body { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }
.lp-points { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.lp-points li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-weight: 700; }
.lp-points .ac-icon { width: 22px; height: 22px; color: var(--sun); margin-top: 1px; }
.form-card { position: relative; z-index: 1; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-lg); scroll-margin-top: var(--space-5); }
@media (max-width: 719px) { .form-card { padding: var(--space-5); } }
.form-card .form-step { gap: var(--space-5); }
.form-card .fields { gap: var(--space-4); }
.form-card .ac-fieldset legend { margin-bottom: var(--space-2); }
.form-card__title { font: 800 34px/1 var(--font-display); text-transform: uppercase; margin: 0; }
.form-micro { margin: 0; font-size: var(--fs-small); color: var(--ink-soft); text-align: center; }
.form-micro a { color: var(--ink-soft); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
@media (max-width: 900px) { .work-grid { grid-template-columns: minmax(0, 1fr); } }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); } }
.svc { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; padding: var(--space-5); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.svc h3 { font: 700 21px/1.1 var(--font-display); text-transform: uppercase; margin: 0 0 4px; }
.svc p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.svc-plus { margin: var(--space-5) 0 0; color: var(--ink-soft); }
.mk-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-8); align-items: center; margin-top: var(--space-8); }
@media (max-width: 900px) { .mk-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }
.mk-offer .lp-points { margin-top: var(--space-5); }
.steps-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 719px) { .steps-list--3 { grid-template-columns: minmax(0, 1fr); } }
.sticky-cta { display: none; }
@media (max-width: 719px) {
  .sticky-cta { display: flex; justify-content: center; position: fixed; left: var(--gutter-phone); right: var(--gutter-phone); bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; box-shadow: var(--shadow-lg); transition: transform var(--dur-base) var(--out), opacity var(--dur-base) var(--out); }
  .sticky-cta.is-hidden { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
}

/* ---------- Work blurbs ---------- */
.ac-work__blurb { margin: 6px 0 0; font-size: 15px; line-height: 1.4; color: var(--ink); }

/* ---------- Questions page: search ---------- */
.q-search { position: relative; max-width: 640px; margin-top: var(--space-6); }
.q-search .ac-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; color: var(--ink-soft); pointer-events: none; }
.q-search .ac-input { width: 100%; min-height: 64px; padding-left: 54px; font-size: 20px; border-radius: var(--radius-pill); }
html:not(.js) .q-search { display: none; }
.q-count { min-height: 1.5em; margin: var(--space-3) 0 0; color: var(--on-stage-soft); }
.q-group + .q-group { margin-top: var(--space-8); }
.q-group > .ac-h3 { margin-bottom: var(--space-4); }
.q-group details { scroll-margin-top: var(--space-6); }
.q-empty { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.q-empty p { margin: var(--space-3) 0 0; color: var(--ink-soft); }

/* ---------- Page to page: cross-fade and rise 16px (motion.md) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: var(--dur-slow) var(--out) both page-out; }
::view-transition-new(root) { animation: var(--dur-slow) var(--out) both page-in; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
