/* Victoria Crane Service. Direction: "one motif" (taste-skill, seed 45620688).
   The motif is the swing sector: a quarter disc whose corner is the crane's pivot and whose arc is the
   hook's working radius. It appears as the hero disc, the photo corner, the button corner, the bullet
   and the footer blocks. Oxblood ink on grey paper; photographs in greyscale. See DESIGN.md. */

:root {
  --bg: #e2e2e2;
  --surface: #d6d6d6;
  --surface-2: #cacaca;
  --paper: #efefef;
  --ink: #7d0c14;
  --ink-deep: #4e070c;
  --muted: #6f3f43;
  --accent: #7d0c14;
  --accent-ink: #efefef;
  --tint-3: #a8474d;
  --tint-4: #d2a3a6;
  --on-red: #efe6e6;
  --on-red-soft: #e6cfd1;
  --field-red: #922a32;

  --font: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 1rem + 5.6vw, 6rem);

  --m: clamp(16px, 2.6vw, 36px);
  --gap: clamp(16px, 2vw, 32px);
  --section: clamp(96px, 11vw, 192px);
  --arc-photo: clamp(96px, 16vw, 300px);
  --arc-btn: 1.6rem;
  --max: 1520px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-press: 120ms;
  --t-hover: 180ms;

  /* Lead form (shared engine), light ground */
  --lead-accent: var(--ink);
  --lead-accent-ink: var(--accent-ink);
  --lead-fg: var(--ink);
  --lead-muted: var(--muted);
  --lead-border: rgb(125 12 20 / .38);
  --lead-surface: transparent;
  --lead-field-bg: var(--paper);
  --lead-error: #a1000f;
  --lead-radius: 0px;
  --lead-gap: 14px;
  --lead-wa: #0e7a3f;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .2em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--ink); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-red :focus-visible, .foot :focus-visible { outline-color: var(--on-red); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.field-red { background: var(--ink); color: var(--on-red); }
.field-red + .section, .field-surface + .section, .section + .field-red, .section + .field-surface { padding-top: var(--section); }
.field-surface { background: var(--surface); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: var(--m); top: -100px; z-index: 100; background: var(--ink); color: var(--accent-ink); padding: 12px 16px; }
.skip:focus { top: 12px; }

/* Type roles (five sizes on any page: display, head, lead, body, small) */
.display { font-size: var(--step-display); line-height: .95; letter-spacing: -0.04em; }
.h-sec { font-size: var(--step-head); line-height: 1; }
.lead { font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.01em; max-width: 34ch; }
.small { font-size: var(--step-small); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 62ch; }
.prose a, .text-link { font-weight: 500; }
.muted { color: var(--muted); }
.field-red .muted { color: var(--on-red-soft); }

/* ---------- Motif ---------- */
.arc { display: inline-block; width: .72em; height: .72em; background: currentColor; border-top-right-radius: 100%; flex: none; }
.arc-frame { margin: 0; overflow: clip; border-top-right-radius: var(--arc-photo); background: var(--surface-2); }
.arc-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 10px; }

/* ---------- Buttons: flat, square, one quarter-round corner ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8rem 1.5rem .8rem 1.25rem; border: 0;
  border-top-right-radius: var(--arc-btn);
  background: var(--ink); color: var(--accent-ink);
  font: inherit; font-weight: 600; font-size: 1.0625rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: .6rem 1.1rem .6rem .95rem; font-size: 1rem; --arc-btn: 1.35rem; }
.btn-quiet { background: var(--surface-2); color: var(--ink); }
.btn-light { background: var(--on-red); color: var(--ink); }
.btn-ghost-light { background: var(--field-red); color: var(--on-red); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink-deep); }
  .btn-quiet:hover { background: var(--tint-4); color: var(--ink-deep); }
  .btn-light:hover { background: #ffffff; color: var(--ink-deep); }
  .btn-ghost-light:hover { background: var(--tint-3); color: #fff; }
  .nav a:hover, .foot-col a:hover, .crumbs a:hover { text-decoration-color: currentColor; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header bar ---------- */
.bar { position: relative; z-index: 5; }
.bar-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 24px; padding-block: 18px; }
.mark { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); letter-spacing: -0.03em; text-decoration: none; min-height: 44px; }
.mark-arc { width: .85em; height: .85em; background: var(--ink); border-top-right-radius: 100%; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 22px; font-size: 1rem; font-weight: 500; }
.nav a { text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 860px) {
  .bar-in { grid-template-columns: 1fr auto; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 0 18px; font-size: .9375rem; }
  .nav a { min-height: 40px; }
  .mark span:last-child { max-width: 11ch; line-height: 1.05; }
}

/* ---------- Home hero: giant cropped disc ---------- */
.hero { position: relative; overflow: clip; min-height: min(calc(100svh - 82px), 900px); display: flex; align-items: center; }
.hero-disc {
  --d: min(120svh, 112vw);
  position: absolute; z-index: 0; width: var(--d); aspect-ratio: 1; border-radius: 50%; background: var(--ink);
  top: calc(55% - var(--d) / 2); left: max(54%, calc(78% - var(--d) / 2));
}
.hero-in { position: relative; z-index: 1; width: 100%; padding-block: clamp(48px, 8vh, 96px); }
.hero-copy { max-width: min(48%, 760px); }
.hero h1 { font-size: clamp(3rem, 1rem + 5.4vw, 6.25rem); line-height: .95; letter-spacing: -0.04em; }
.hero .lead { margin-top: 36px; max-width: 30ch; color: var(--ink); }
.hero .btn-row { margin-top: 36px; }
.hero-towns { position: absolute; z-index: 1; right: var(--m); bottom: clamp(32px, 7vh, 72px); max-width: min(30vw, 420px); text-align: right; color: var(--on-red); font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; }
.hero-towns strong { display: block; font-weight: 600; }
.lines .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.lines [data-line] { display: block; }
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; }
  .hero-in { padding-block: 28px 0; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(2.6rem, 11.5vw, 4.5rem); }
  .hero .lead { margin-top: 24px; font-size: 1.125rem; }
  .hero .btn-row { margin-top: 28px; }
  .hero-base { position: relative; height: 74vw; margin-top: 40px; overflow: clip; }
  .hero-disc { --d: 130vw; top: 0; left: calc(50% - 65vw); }
  .hero-towns { left: var(--m); right: var(--m); bottom: auto; top: 26vw; max-width: none; text-align: center; font-size: 1.0625rem; }
}
@media (min-width: 861px) { .hero-base { display: contents; } }

/* ---------- Page hero (service pages) ---------- */
.phero { padding-block: clamp(32px, 5vw, 72px) var(--section); }
.phero .grid { align-items: end; row-gap: 40px; }
.phero-copy { grid-column: 1 / span 6; }
.phero h1 { font-size: clamp(2.5rem, 1rem + 4.2vw, 5rem); line-height: .95; letter-spacing: -0.04em; }
.phero .lead { margin-top: 32px; }
.phero .btn-row { margin-top: 32px; }
.phero-pic { grid-column: 7 / -1; aspect-ratio: 4 / 3.3; margin-right: calc(var(--m) * -1); }
.crumbs { font-size: var(--step-small); margin-bottom: 28px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { text-decoration: underline; text-decoration-color: transparent; }
@media (max-width: 860px) {
  .phero-copy, .phero-pic { grid-column: 1 / -1; }
  .phero-pic { margin-right: 0; aspect-ratio: 4 / 3; }
}

/* ---------- Section heads ---------- */
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head h2 { grid-column: 1 / span 6; }
.sec-head > p { grid-column: 7 / span 5; font-size: var(--step-body); max-width: 52ch; }
@media (max-width: 860px) { .sec-head h2, .sec-head > p { grid-column: 1 / -1; } }

/* ---------- Menu list with photo bullets ---------- */
.menu-cat { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 40px; }
.menu-cat h3 { font-size: clamp(2rem, 1.2rem + 2.2vw, 3.125rem); }
.menu-cat span { font-size: 1rem; color: var(--muted); }
.menu { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; row-gap: 36px; }
.menu + .menu-cat { margin-top: 96px; }
.menu li { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; align-items: start; }
.menu .bul { width: 64px; height: 64px; object-fit: cover; border-top-right-radius: 100%; filter: grayscale(1) contrast(1.08); background: var(--surface-2); }
.menu .bul-arc { width: 64px; height: 64px; background: var(--ink); border-top-right-radius: 100%; }
.menu .bul-arc.soft { background: var(--tint-4); }
.menu h4, .menu .item-name { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; display: flex; justify-content: space-between; gap: 12px; }
.menu .item-name a { text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; }
.menu .item-name a::after { content: ""; position: absolute; inset: 0; }
.menu li { position: relative; }
@media (hover: hover) and (pointer: fine) { .menu li:hover .item-name a { text-decoration-color: currentColor; } }
.menu .item-go { flex: none; font-weight: 500; }
.menu p { font-size: 1rem; max-width: 40ch; margin-top: 6px; }
.menu .who { color: var(--ink); font-weight: 500; font-size: 1rem; margin-top: 6px; }
.menu .who::before { content: ""; display: inline-block; width: .6em; height: .6em; margin-right: .45em; background: currentColor; border-top-right-radius: 100%; }
@media (max-width: 760px) {
  .menu { grid-template-columns: 1fr; row-gap: 28px; }
  .menu li { grid-template-columns: 52px 1fr; column-gap: 16px; }
  .menu .bul, .menu .bul-arc { width: 52px; height: 52px; }
  .menu-cat h3 { font-size: 8.5vw; }
  .menu + .menu-cat { margin-top: 64px; }
}

/* ---------- How it works: accordion of tinted panels ---------- */
.stages { display: flex; height: 520px; margin-top: 64px; }
.stage { flex: 0 0 9.5%; min-width: 0; position: relative; overflow: hidden; transition: flex-basis 450ms var(--ease-in-out); }
.stage[open] { flex: 1 1 0; }
.stage summary:focus-visible, .card summary:focus-visible { outline: 3px solid currentColor; outline-offset: -8px; }
.stage:nth-child(1) { background: var(--ink-deep); color: var(--on-red); }
.stage:nth-child(2) { background: var(--ink); color: var(--on-red); }
.stage:nth-child(3) { background: var(--tint-3); color: #fff; }
.stage:nth-child(4) { background: var(--tint-4); color: var(--ink-deep); }
.stage summary { list-style: none; cursor: pointer; position: absolute; inset: 0; padding: 24px; display: flex; align-items: flex-end; }
.stage summary::-webkit-details-marker { display: none; }
.stage summary span { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.stage[open] summary { position: static; padding: 32px 32px 0; cursor: default; align-items: flex-start; }
.stage[open] summary span { writing-mode: horizontal-tb; transform: none; font-size: clamp(1.75rem, 1rem + 1.6vw, 2.5rem); letter-spacing: -0.03em; white-space: normal; }
.stage-body { position: absolute; left: 0; right: 0; bottom: 0; top: 0; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; pointer-events: none; }
.stage-body > * { pointer-events: auto; }
.stage-body p { max-width: 36ch; font-size: 1.125rem; }
.stage-body .arc-frame { height: 100%; max-height: 300px; align-self: end; --arc-photo: 140px; }
.stage-body .arc-frame img { height: 100%; }
@media (max-width: 860px) {
  .stages { flex-direction: column; height: auto; margin-top: 40px; }
  .stage, .stage[open] { flex: none; }
  .stage summary, .stage[open] summary { position: static; padding: 20px; min-height: 64px; align-items: center; }
  .stage summary span, .stage[open] summary span { writing-mode: horizontal-tb; transform: none; font-size: 1.125rem; }
  .stage-body { position: static; grid-template-columns: 1fr; padding: 0 20px 24px; }
  .stage-body p { font-size: 1.0625rem; }
  .stage-body .arc-frame { aspect-ratio: 16 / 10; height: auto; --arc-photo: 96px; }
}

/* ---------- Lift sizer (the live thing): figure on a disc ---------- */
.sizer { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; min-height: min(92svh, 860px); }
.sizer-list { grid-column: 1 / span 5; grid-row: 1; align-self: end; position: relative; z-index: 1; }
.sizer-list h2 { font-size: clamp(1.75rem, 1rem + 2vw, 2.75rem); color: var(--muted); line-height: 1.15; }
.sizer-field { display: grid; gap: 4px; margin-top: 18px; }
.sizer-field label { font-size: clamp(1.75rem, 1rem + 2vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.sizer-input { display: flex; align-items: baseline; gap: 10px; }
.sizer-input input {
  width: 6.5ch; min-height: 52px; font: inherit; font-size: clamp(1.5rem, 1rem + 1.2vw, 2rem); font-weight: 500; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 0; padding: 4px 10px; font-variant-numeric: tabular-nums;
}
.sizer-input span { font-size: 1.125rem; font-weight: 500; }
.sizer-stage { grid-column: 6 / -1; grid-row: 1; position: relative; display: grid; place-items: center; align-self: center; }
.sizer-disc { width: min(64svh, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--on-red); position: relative; }
.sizer-disc svg { position: absolute; inset: 8%; width: 84%; height: 84%; overflow: visible; }
.sizer-out { position: absolute; right: 0; bottom: 6%; max-width: 30ch; font-size: 1.0625rem; background: var(--bg); padding: 16px 18px; border-top-right-radius: 28px; }
.sizer-out dl { margin: 0; display: grid; gap: 10px; }
.sizer-out dt { font-size: var(--step-small); color: var(--muted); }
.sizer-out dd { margin: 0; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.sizer-note { margin-top: 20px; font-size: 1rem; max-width: 46ch; }
.sizer-list .btn { margin-top: 24px; }
.sizer [data-live] { display: none; }
.js .sizer [data-live] { display: revert; }
.js .sizer [data-static] { display: none; }
.fig-line { stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: square; }
.fig-thin { stroke: currentColor; fill: none; stroke-width: 1.5; stroke-dasharray: 6 6; opacity: .8; }
.fig-fill { fill: currentColor; }
.fig-soft { fill: var(--tint-3); }
.fig-text { fill: currentColor; font: 600 15px var(--font); }
@media (max-width: 860px) {
  .sizer { min-height: 0; row-gap: 28px; }
  .sizer-stage, .sizer-list { grid-column: 1 / -1; grid-row: auto; }
  .sizer-stage { order: -1; }
  .sizer-disc { width: 86vw; }
  .sizer-out { position: static; margin-top: 16px; width: 100%; max-width: none; }
  .sizer-out dl { grid-template-columns: 1fr 1fr; }
  .sizer-field { grid-template-columns: 1fr auto; align-items: center; }
  .sizer-field label { font-size: 1.5rem; }
}

/* ---------- Stats: stepped figure tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; align-items: start; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-top-right-radius: clamp(60px, 9vw, 160px); }
.tile .fig { font-size: clamp(3.5rem, 1rem + 4.8vw, 5.75rem); font-weight: 600; letter-spacing: -0.045em; line-height: .9; font-variant-numeric: tabular-nums; }
.tile p { font-size: 1.0625rem; max-width: 26ch; }
.tile-a { grid-column: 1 / span 6; grid-row: 1 / span 2; height: 70vh; min-height: 460px; max-height: 680px; background: var(--ink); color: var(--on-red); }
.tile-b { grid-column: 7 / span 3; grid-row: 2; height: 44vh; min-height: 300px; max-height: 430px; background: var(--ink-deep); color: var(--on-red); }
.tile-c { grid-column: 10 / span 3; grid-row: 2; height: 34vh; min-height: 260px; max-height: 340px; margin-top: 12vh; background: var(--tint-4); color: var(--ink-deep); }
.tiles-head { grid-column: 7 / span 6; grid-row: 1; align-self: end; padding: 0 0 24px 12px; min-height: 14vh; display: flex; align-items: flex-end; }
.tiles-head h2 { font-size: clamp(1.75rem, 1rem + 1.4vw, 2.25rem); }
.tile-c .fig { font-size: clamp(2.75rem, 1rem + 3.4vw, 4.25rem); }
.local { margin-top: clamp(64px, 8vw, 128px); align-items: start; row-gap: 40px; }
.local .prose { grid-column: 1 / span 6; }
.local h3 { font-size: clamp(1.5rem, 1rem + 1.2vw, 2rem); margin-bottom: 20px; letter-spacing: -0.025em; line-height: 1.1; }
.local .prose h3:not(:first-child) { margin-top: 40px; }
.local figure { grid-column: 8 / -1; }
.local .arc-frame { aspect-ratio: 16 / 10; }
.local .arc-frame img { filter: grayscale(.85) sepia(.15) contrast(1.05); }
@media (max-width: 860px) {
  .tile-a { grid-column: 1 / -1; grid-row: 2; height: 56vw; min-height: 260px; }
  .tile-a .fig { font-size: 15vw; }
  .tile-b { grid-column: 1 / span 6; grid-row: 3; height: auto; min-height: 220px; }
  .tile-c { grid-column: 7 / span 6; grid-row: 3; height: auto; min-height: 220px; margin-top: 32px; }
  .tile-b .fig, .tile-c .fig { font-size: 11vw; }
  .tile { padding: 20px; gap: 24px; }
  .tile p { font-size: 1rem; }
  .tiles-head { grid-column: 1 / -1; grid-row: 1; min-height: 0; padding: 0 0 16px; }
  .local .prose, .local figure { grid-column: 1 / -1; }
}

/* ---------- Pricing: two fields ---------- */
.fields { display: grid; grid-template-columns: 7fr 5fr; }
.fields > div { min-height: min(86svh, 760px); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 24px; }
.fields h3 { font-size: clamp(2.25rem, 1rem + 3.4vw, 4.5rem); letter-spacing: -0.04em; line-height: .95; }
.fields .who { font-size: var(--step-lead); line-height: 1.3; max-width: 26ch; }
.fields .what { max-width: 48ch; margin-top: auto; }
.fields .what p + p { margin-top: .9em; }
.fields .btn { align-self: flex-start; }
.field-op { background: var(--ink); color: var(--on-red); }
.field-bare { background: var(--surface); color: var(--ink); }
.fields-head { margin-bottom: clamp(40px, 5vw, 64px); }
@media (max-width: 860px) {
  .fields { grid-template-columns: 1fr; margin-inline: calc(var(--m) * -1); }
  .fields > div { min-height: 0; padding: 32px var(--m); }
  .fields h3 { font-size: 12vw; }
  .fields .btn { align-self: stretch; }
}

/* ---------- FAQ: tabbed index cards ---------- */
.faq-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.faq-wrap > h2 { grid-column: 3 / span 8; margin-bottom: 48px; }
.cards { grid-column: 3 / span 8; --tab-h: 40px; --tab-w: 200px; --tab-step: 150px; }
.card {
  --x: calc(var(--i, 0) * var(--tab-step));
  position: relative; margin-top: calc(var(--tab-h) * -1 + 4px); padding-top: var(--tab-h);
  clip-path: polygon(0 var(--tab-h), var(--x) var(--tab-h), var(--x) 0, calc(var(--x) + var(--tab-w)) 0, calc(var(--x) + var(--tab-w)) var(--tab-h), 100% var(--tab-h), 100% 100%, 0 100%);
  background: var(--surface); color: var(--ink);
}
.card:first-child { margin-top: 0; }
.card:nth-child(3n+2) { background: var(--ink); color: var(--on-red); }
.card:nth-child(3n+3) { background: var(--surface-2); }
.card .tab { position: absolute; top: 0; left: var(--x); width: var(--tab-w); height: var(--tab-h); display: flex; align-items: center; padding: 0 16px; font-size: 1rem; font-weight: 500; }
.card summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 16px 24px 52px; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; min-height: 96px; }
.card summary::-webkit-details-marker { display: none; }
.card summary::after { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; background: currentColor; border-top-right-radius: 100%; transition: transform 300ms var(--ease-out); }
.card[open] summary::after { transform: rotate(90deg); }
.card[open] summary { padding-bottom: 12px; }
.card .ans { padding: 0 24px 64px; max-width: calc(50ch + 48px); font-size: 1.0625rem; }
.card .ans p + p { margin-top: .8em; }
@media (max-width: 860px) {
  .faq-wrap > h2, .cards { grid-column: 1 / -1; }
  .faq-wrap > h2 { font-size: 9vw; margin-bottom: 32px; }
  .cards { --tab-w: 132px; --tab-step: 48px; }
  .card .tab { font-size: .9375rem; padding: 0 12px; }
  .card summary { font-size: 1.125rem; padding: 14px 20px 44px; min-height: 88px; }
  .card .ans { padding: 0 20px 56px; font-size: 1rem; }
}

/* ---------- Two-column blocks (service pages) ---------- */
.split { align-items: start; row-gap: 40px; }
.split > .split-a { grid-column: 1 / span 5; }
.split > .split-b { grid-column: 7 / -1; }
.split h2 { font-size: var(--step-head); }
.split .lead { margin-top: 24px; }
.scope { display: grid; gap: 40px; }
.scope h3 { font-size: 1.5rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: .5em; }
.scope h3 .arc { width: .6em; height: .6em; }
.scope ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.scope li { padding-left: 1.4em; position: relative; max-width: 58ch; }
.scope li::before { content: ""; position: absolute; left: 0; top: .5em; width: .55em; height: .55em; background: currentColor; border-top-right-radius: 100%; }
.types { row-gap: 40px; align-items: center; }
.types figure { grid-column: 1 / span 6; }
.types .arc-frame { aspect-ratio: 4 / 3.4; }
.types .types-list { grid-column: 8 / -1; }
.types dl { margin: 28px 0 0; display: grid; gap: 24px; }
.types dt { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.types dd { margin: 4px 0 0; max-width: 46ch; }
.prep { list-style: none; counter-reset: prep; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; margin-top: 8px; }
.prep li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.prep li::before { content: ""; width: 40px; height: 40px; background: var(--ink); border-top-right-radius: 100%; margin-top: 2px; }
.prep h3 { font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.rules { row-gap: 48px; }
.rules > div { grid-column: span 4; }
.rules h3 { font-size: 1.625rem; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 14px; }
.rules p + p { margin-top: .8em; }
.rules a { font-weight: 500; }
@media (max-width: 860px) {
  .split > .split-a, .split > .split-b, .types figure, .types .types-list, .rules > div { grid-column: 1 / -1; }
  .prep { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Coupon form ---------- */
.coupon {
  --notch: 28px; --cut: 44%;
  position: relative; overflow: clip; display: grid; grid-template-columns: var(--cut) 1fr; background: var(--ink); color: var(--on-red);
}
.coupon::before, .coupon::after { content: ""; position: absolute; z-index: 1; left: calc(var(--cut) - var(--notch)); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2); border-radius: 50%; background: var(--bg); }
.coupon::before { top: calc(var(--notch) * -1); }
.coupon::after { bottom: calc(var(--notch) * -1); }
.coupon-a { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 24px; border-right: 5px dotted var(--bg); }
.coupon-a h2 { font-size: clamp(2rem, 1rem + 2.2vw, 3.25rem); letter-spacing: -0.04em; line-height: .98; }
.coupon-a .note { margin-top: auto; font-size: 1rem; max-width: 36ch; color: var(--on-red-soft); }
.coupon-a p { max-width: 38ch; }
.coupon-b { padding: clamp(28px, 3.6vw, 52px); min-width: 0; }
.on-red {
  --lead-accent: var(--on-red); --lead-accent-ink: var(--ink); --lead-fg: var(--on-red); --lead-muted: var(--on-red-soft);
  --lead-border: rgb(255 255 255 / .42); --lead-field-bg: var(--field-red); --lead-error: #ffe08a;
}
.on-red .lead-field input::placeholder, .on-red .lead-field textarea::placeholder { color: #ead6d7; opacity: 1; }
@media (max-width: 900px) {
  .coupon { grid-template-columns: 1fr; margin-inline: calc(var(--m) * -1 + 12px); }
  .coupon::before, .coupon::after { display: none; }
  .coupon-a { border-right: 0; border-bottom: 5px dotted var(--bg); }
}

/* ---------- Lead form restyle ---------- */
.lead-form { font-size: 1.0625rem; }
.lead-step-title { font-size: clamp(1.5rem, 1rem + 1vw, 2rem); letter-spacing: -0.03em; line-height: 1.1; font-weight: 600; }
.lead-step-count { font-size: .9375rem; }
.lead-progress-track { height: 6px; border-radius: 0; }
.lead-progress-bar { border-top-right-radius: 6px; }
.lead-label { font-size: 1rem; font-weight: 500; }
.lead-field input:not([type=radio]):not([type=checkbox]), .lead-field select, .lead-field textarea { min-height: 52px; font-size: 1.0625rem; }
.lead-field select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 1v10a10 10 0 0 0 10-10Z' fill='%237d0c14'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 12px; }
.on-red .lead-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 1v10a10 10 0 0 0 10-10Z' fill='%23efe6e6'/%3E%3C/svg%3E"); }
.lead-field select option { color: #1a1a1a; background: #fff; }
.lead-field input:focus-visible, .lead-field select:focus-visible, .lead-field textarea:focus-visible { outline-width: 3px; outline-offset: 2px; }
.lead-tile-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.lead-tile { min-height: 64px; padding: .8rem .95rem; justify-content: center; }
.lead-tile-text { font-size: 1.0625rem; }
.lead-tile-hint { font-size: .875rem; }
.lead-tile-grid input:checked + .lead-tile { background: var(--lead-accent); color: var(--lead-accent-ink); border-top-right-radius: 22px; }
.lead-tile-grid input:checked + .lead-tile .lead-tile-hint { color: inherit; }
.lead-btn { min-height: 52px; font-size: 1.0625rem; }
.lead-next, .lead-submit { border-top-right-radius: var(--arc-btn); }
.lead-back { border-color: var(--lead-border); }
.lead-done-title { font-size: clamp(1.75rem, 1rem + 1.4vw, 2.5rem); letter-spacing: -0.03em; }
.lead-done-text { margin-bottom: 1rem; }
.lead-done-faster { margin-bottom: .75rem; font-weight: 500; }
.lead-status a { font-weight: 600; }

/* ---------- Quote page ---------- */
.qpage { padding-block: clamp(24px, 4vw, 56px) var(--section); }
.qpage .grid { row-gap: 48px; align-items: start; }
.qhead { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; align-items: end; }
.qhead h1 { grid-column: 1 / span 7; font-size: clamp(2.5rem, 1rem + 4.2vw, 5rem); letter-spacing: -0.04em; line-height: .95; }
.qhead .lead { grid-column: 8 / -1; }
.qhead .crumbs { grid-column: 1 / -1; margin-bottom: 0; }
.qform { grid-column: 1 / span 7; background: var(--paper); padding: clamp(24px, 3.4vw, 52px); border-top-right-radius: clamp(60px, 8vw, 140px); }
.qside { grid-column: 9 / -1; display: grid; gap: 48px; }
.qside h2 { font-size: clamp(1.5rem, 1rem + 1.1vw, 2rem); letter-spacing: -0.03em; margin-bottom: 16px; line-height: 1.1; }
.qsteps { list-style: none; display: grid; gap: 18px; }
.qsteps li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.qsteps li::before { content: ""; width: 28px; height: 28px; background: var(--ink); border-top-right-radius: 100%; margin-top: 2px; }
.qsteps li:nth-child(2)::before { background: var(--tint-3); }
.qsteps li:nth-child(3)::before { background: var(--tint-4); }
.qside .btn-row { margin-top: 18px; }
.qside .pic { aspect-ratio: 9 / 11; --arc-photo: 120px; }
@media (max-width: 960px) {
  .qhead h1, .qhead .lead, .qform, .qside { grid-column: 1 / -1; }
  .qform { margin-inline: calc(var(--m) * -1); border-top-right-radius: 64px; }
}

/* ---------- Band (motif across the page) ---------- */
.band { height: clamp(72px, 10vw, 160px); background: var(--ink); border-top-right-radius: clamp(72px, 10vw, 160px); margin-right: var(--m); }

/* ---------- Sibling links ---------- */
.siblings .menu { margin-top: 8px; }

/* ---------- Footer: the mark, built large ---------- */
.foot { background: var(--ink); color: var(--on-red); padding-top: clamp(64px, 8vw, 120px); padding-bottom: 32px; margin-top: 0; }
.section:last-child { padding-bottom: var(--section); }
.foot-mark { display: flex; align-items: flex-end; gap: 4px; height: 34svh; min-height: 200px; max-height: 360px; text-decoration: none; }
.foot-mark span {
  flex: 1 1 0; height: var(--h); background: var(--on-red); color: var(--ink); display: flex; align-items: flex-end; justify-content: center;
  font-weight: 600; font-size: clamp(2.5rem, 1rem + 6vw, 8rem); line-height: .8; letter-spacing: -0.04em; padding-bottom: .08em;
}
.foot-mark span:first-child { border-top-right-radius: clamp(40px, 6vw, 110px); }
.foot-mark span:nth-child(5) { border-top-right-radius: clamp(40px, 6vw, 110px); }
.foot-name { margin-top: 28px; font-size: var(--step-lead); line-height: 1.3; max-width: 40ch; letter-spacing: -0.01em; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; margin-top: 56px; }
.foot-col { grid-column: span 2; display: flex; flex-direction: column; gap: 6px; font-size: .9375rem; }
.foot-col:first-child { grid-column: span 3; }
.foot-contact { grid-column: 9 / -1; }
.foot-col h2 { font-size: 1rem; letter-spacing: -0.01em; font-weight: 600; margin-bottom: 8px; color: #fff; }
.foot-col a { text-decoration: underline; text-decoration-color: transparent; min-height: 32px; display: inline-flex; align-items: center; transition: text-decoration-color var(--t-hover) ease; }
.foot-contact p { color: var(--on-red-soft); max-width: 44ch; line-height: 1.5; }
.foot-contact .btn-row { margin-top: 16px; }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; font-size: .9375rem; color: var(--on-red-soft); }
@media (max-width: 860px) {
  .foot-mark { height: 22svh; min-height: 140px; }
  .foot-mark span { font-size: 9vw; }
  .foot-col, .foot-col:first-child { grid-column: span 6; }
  .foot-contact { grid-column: 1 / -1; }
  .foot-col a { min-height: 44px; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-line] { transform: translateY(105%); animation: line-up 850ms var(--ease-out) forwards; animation-delay: calc(120ms + var(--i, 0) * 110ms); }
  .js .hero [data-load] { opacity: 0; transform: translateY(14px); animation: rise 520ms var(--ease-out) forwards; animation-delay: var(--d, 420ms); }
  .js .hero-disc { transform: scale(.82); opacity: 0; animation: disc-in 1100ms var(--ease-out) 60ms forwards; }
  .js [data-reveal] > * { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .js [data-reveal] > :nth-child(2) { transition-delay: 80ms; }
  .js [data-reveal] > :nth-child(3) { transition-delay: 160ms; }
  .js [data-reveal] > :nth-child(4) { transition-delay: 240ms; }
  .js [data-reveal] > :nth-child(n+5) { transition-delay: 300ms; }
  .js [data-reveal].is-in > * { opacity: 1; transform: none; }
  .js .shutter { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter img { transform: scale(1.12); transition: transform 1500ms var(--ease-out); }
  .js .shutter.is-in { clip-path: inset(0); }
  .js .shutter.is-in img { transform: none; }
  .drift img { animation: drift 24s ease-in-out infinite alternate; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes disc-in { to { transform: none; opacity: 1; } }
@keyframes drift { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.08) translateX(-1.5%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
