/* Ventura Carpet Cleaners: the island dusk theme. One file, every class in design/class-inventory.txt.
   Two self-hosted variable families (SIL OFL): Literata for headings and the job names, Atkinson Hyperlegible Next for
   body, interface and every figure. Body is 18 px on every width; prices use tabular figures; headings are sentence
   case. The two bold things are the cutaway drawings and the rate board set like a tide table; everything else is
   quiet, phone first, and WCAG AA on every text pair (brand/kit/colours.json). */

/* ---------- fonts ---------- */
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/literata-latin-wght-normal.woff2) format('woff2-variations'); }
@font-face { font-family: 'Literata'; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/literata-latin-wght-italic.woff2) format('woff2-variations'); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2) format('woff2-variations'); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: italic; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2) format('woff2-variations'); }

/* ---------- tokens ---------- */
:root {
  --page: #FFFFFF;
  --mist: #F4F2F7;
  --mist-2: #E9E5F1;
  --haze: #D7D1E3;
  --slate: #8B839F;
  --heather: #5E5870;
  --ink: #241E38;
  --ink-2: #2E2748;
  --violet: #5B3F99;
  --violet-deep: #4A3180;
  --lilac: #CDBEF0;
  --lilac-light: #DED4F6;
  --wine: #A3233B;
  --pink: #E7A4B6;
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Atkinson Hyperlegible Next', Arial, Helvetica, sans-serif;
  --shell: 1180px;
  --column: 760px;
  --gutter: 16px;
  --radius: 10px;
  --radius-panel: 12px;
  --cut: 22px; /* the chamfer on spec sheets: the section cut */
  --ease: 160ms ease-out;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 18px/1.55 var(--sans); color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: inherit; margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3rem); line-height: 1.12; margin-bottom: .45em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2rem); line-height: 1.18; margin-top: 1.5em; }
h3 { font-size: 1.25rem; line-height: 1.25; margin-top: 1.2em; }
h2:first-child, h3:first-child { margin-top: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
a { color: var(--violet); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; text-decoration-color: color-mix(in srgb, var(--violet) 55%, transparent); transition: color var(--ease), text-decoration-color var(--ease); }
a:hover { color: var(--violet-deep); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 4px; }
strong { font-weight: 700; }
table { font-variant-numeric: tabular-nums; }
dl, dd { margin: 0; }
address { font-style: normal; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
mark { background: none; color: inherit; }

.shell { width: min(100% - 2 * var(--gutter), var(--shell)); margin-inline: auto; }
.column { width: min(100% - 2 * var(--gutter), var(--column)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 14px; background: var(--ink); color: #FFFFFF; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { left: 8px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.todo { background: var(--pink); color: var(--ink); outline: 2px dashed var(--wine); outline-offset: 1px; padding: 0 .25em; font-weight: 600; } /* development only: never ships */
.no-break { white-space: nowrap; }

/* ---------- buttons and glyphs ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .55em 1.25em; border: 2px solid transparent; border-radius: var(--radius); font: 600 17px/1.2 var(--sans); text-decoration: none; cursor: pointer; background: var(--ink); color: #FFFFFF; transition: background-color var(--ease), color var(--ease), border-color var(--ease); }
.button:hover { color: #FFFFFF; }
.button-primary { background: var(--violet); color: #FFFFFF; border-color: var(--violet); }
.button-primary:hover, .button-primary:active { background: var(--violet-deep); border-color: var(--violet-deep); color: #FFFFFF; }
.button-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.button-outline:hover, .button-outline:active { background: var(--mist-2); color: var(--ink); }
.button-on-dark { background: var(--lilac); color: var(--ink); border-color: var(--lilac); }
.button-on-dark:hover, .button-on-dark:active { background: var(--lilac-light); border-color: var(--lilac-light); color: var(--ink); }
.button-small { min-height: 44px; padding: .4em 1em; font-size: 16px; }
.button-full { width: 100%; }
.glyph { width: 22px; height: 22px; flex: none; }
.glyph-button { width: 20px; height: 20px; }
.glyph-job { width: 28px; height: 28px; color: var(--violet); }
.actions { display: grid; gap: 10px; margin: 0 0 1em; }
@media (min-width: 600px) { .actions { display: flex; flex-wrap: wrap; } }

/* ---------- top bar ---------- */
.topbar { position: relative; background: var(--page); z-index: 30; }
.topbar-row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 6px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); text-decoration: none; min-height: 44px; }
.logo:hover { color: var(--violet-deep); }
.logo-mark { width: 36px; height: 36px; flex: none; }
.logo-name { font: 600 17px/1.15 var(--serif); letter-spacing: -0.005em; }
.topnav { display: none; gap: 4px; }
.topnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); font-weight: 500; text-decoration: none; border-radius: var(--radius); }
.topnav a:hover { background: var(--mist); color: var(--ink); }
.topnav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; text-decoration-color: var(--violet); }
.topbar-call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; color: var(--ink); font-weight: 600; text-decoration: none; border-radius: var(--radius); }
.topbar-call:hover { color: var(--violet-deep); background: var(--mist); }
.topbar-call > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* icon-only on phones */
.drawer { position: static; }
.drawer-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: var(--radius); font-weight: 600; cursor: pointer; }
.drawer-toggle:hover { background: var(--mist); }
.drawer[open] .drawer-toggle { background: var(--mist-2); }
.drawer-nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 8px var(--gutter) 16px; background: var(--mist-2); z-index: 40; }
.drawer-nav a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; color: var(--ink); font-weight: 500; text-decoration: none; border-radius: var(--radius); }
.drawer-nav a:hover { background: var(--page); color: var(--violet-deep); }
.drawer-call { font-weight: 600; }
@media (min-width: 600px) { .logo-mark { width: 40px; height: 40px; } .logo-name { font-size: 20px; } .topbar-row { min-height: 68px; gap: 16px; } }
@media (min-width: 960px) {
  .topnav { display: flex; }
  .topbar-call { padding: 0 12px; }
  .topbar-call > span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .drawer { display: none; }
}
@media (max-width: 959px) { .topbar-row > .button { display: none; } }

/* ---------- bands and running text ---------- */
.band { padding: 40px 0; }
.band-tint { background: var(--mist); }
@media (min-width: 840px) { .band { padding: 56px 0; } }
.intro, .page-dek, .place-intro, .read-dek, .opening-dek { color: var(--heather); font-size: 18px; max-width: 62ch; }
.standfirst { font-family: var(--serif); font-size: 21px; line-height: 1.5; max-width: 60ch; }
.small-print, .more-link, .source-note, .sheet-note, .rate-note, .form-note, .field-hint { font-size: 15px; line-height: 1.5; color: var(--heather); }
.more-link { font-size: 17px; }
.source-note, .sheet-note, .source-list { overflow-wrap: anywhere; }
.kicker { font: italic 400 19px/1.35 var(--serif); color: var(--heather); margin: 0 0 .4em; }
.price-line { font-size: 19px; line-height: 1.4; font-weight: 600; font-variant-numeric: tabular-nums; margin: 0 0 .35em; }
.partner-line { font-size: 16px; line-height: 1.45; margin: 0 0 1em; }
.trail ol { display: flex; flex-wrap: wrap; gap: 0 8px; list-style: none; padding: 0; margin: 0 0 12px; font-size: 15px; color: var(--heather); }
.trail li + li::before { content: "/"; margin-right: 8px; color: var(--slate); }
.trail a { color: var(--heather); }
.trail a:hover { color: var(--violet-deep); }

/* ---------- openings: home, the six jobs, the nine places ---------- */
.opening, .job-top, .place-top { padding: 20px 0 32px; }
.page-top { padding: 20px 0 8px; }
.opening-grid, .job-top-grid, .place-top-grid { display: grid; gap: 20px 40px; align-items: center; }
.opening-copy, .job-copy, .place-copy { min-width: 0; }
.opening-art, .job-art, .place-art { margin: 0; min-width: 0; }
.opening-art svg, .job-art svg, .place-art svg { display: block; width: 100%; height: auto; }
.opening-art figcaption, .job-art figcaption, .place-art figcaption { font-size: 15px; line-height: 1.45; color: var(--heather); margin-top: 8px; }
/* Phone first: the headline, the price line, the partner line, the two buttons, then the top of the drawing; the
   opening's closing sentence follows the drawing. */
@media (max-width: 839px) {
  .opening-copy { display: contents; }
  .opening-art { order: 5; }
  .opening-dek { order: 6; margin-bottom: 0; }
  .opening h1, .job-top h1, .place-top h1 { margin-bottom: .35em; }
  .opening .kicker, .place-top .kicker { font-size: 18px; margin-bottom: .3em; }
  .place-intro { font-size: 17px; margin-bottom: .7em; }
  .opening .price-line, .job-top .price-line, .place-top .price-line { font-size: 18px; }
  .opening .partner-line, .job-top .partner-line, .place-top .partner-line { margin-bottom: .8em; }
  .opening .actions, .job-top .actions, .place-top .actions { gap: 8px; margin-bottom: .8em; }
  .trail ol { margin-bottom: 8px; }
}
@media (min-width: 840px) {
  .opening-grid, .job-top-grid, .place-top-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .opening, .job-top, .place-top { padding: 32px 0 48px; }
  .opening-dek { margin-bottom: 0; }
}

/* ---------- the rate board: a tide table ---------- */
.rate-board { background: var(--page); border: 1px solid var(--haze); border-radius: var(--radius-panel); overflow: hidden; }
.rate-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.rate-table thead th { background: var(--ink); color: #FFFFFF; font-size: 15px; font-weight: 600; line-height: 1.3; text-align: left; padding: 12px 18px; }
.rate-table tbody tr:nth-child(even) { background: var(--mist); }
.rate-table th, .rate-table td { text-align: left; vertical-align: top; padding: 16px 18px; font-size: 17px; line-height: 1.45; }
.rate-table th[scope="row"] { width: 27%; font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.25; }
.rate-table .rate-partner { width: 34%; color: var(--ink); }
.rate-table .rate-national { color: var(--heather); }
.rate-job { display: flex; align-items: center; gap: 10px; color: var(--violet); text-decoration: none; }
.rate-job span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; text-decoration-color: color-mix(in srgb, var(--violet) 55%, transparent); }
.rate-job:hover { color: var(--violet-deep); }
.rate-job:hover span { text-decoration-color: currentColor; }
.rate-job::after { content: ""; flex: 1; min-width: 14px; margin: 0 2px 0 10px; border-bottom: 2px dotted var(--haze); align-self: center; translate: 0 2px; }
.rate-note { margin: 0; padding: 12px 18px 14px; background: var(--mist-2); }
@media (max-width: 699px) {
  .rate-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rate-table tr { display: block; padding: 14px 16px 16px; }
  .rate-table th, .rate-table td, .rate-table .rate-partner, .rate-table .rate-national { display: block; padding: 0; width: auto; }
  .rate-table th[scope="row"] { width: auto; margin-bottom: 8px; }
  .rate-table td { margin-top: 8px; }
  .rate-table td::before { content: attr(data-label); display: block; font-size: 14px; font-weight: 600; color: var(--heather); margin-bottom: 1px; }
  .rate-job::after { display: none; }
}

/* ---------- the house grid ---------- */
.house-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.house-card a { display: grid; gap: 3px; align-content: start; height: 100%; padding: 18px 20px 20px; border-radius: var(--radius-panel); background: var(--mist); color: var(--ink); text-decoration: none; transition: background-color var(--ease); }
.band-tint .house-card a { background: var(--page); }
.house-card a:hover { background: var(--lilac-light); color: var(--ink); }
.house-era { font-size: 15px; color: var(--heather); }
.house-name { font: 600 21px/1.2 var(--serif); color: var(--violet); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; text-decoration-color: color-mix(in srgb, var(--violet) 55%, transparent); margin-bottom: 3px; }
.house-card a:hover .house-name { text-decoration-color: currentColor; }
.house-kind { font-weight: 500; font-size: 17px; }
.house-text { font-size: 16px; line-height: 1.45; color: var(--heather); margin-top: 4px; }

/* ---------- process, reading, lists ---------- */
.process { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1em; display: grid; gap: 20px; }
.process > li { counter-increment: s; position: relative; padding-left: 52px; }
.process > li::before { content: counter(s); position: absolute; left: 0; top: -.1em; font: 600 34px/1 var(--serif); color: var(--violet); font-variant-numeric: tabular-nums; }
.process > li h3 { margin-top: 0; }
.process > li p { margin-bottom: 0; }
@media (min-width: 900px) { .process:not(.process-compact) { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.process-compact { gap: 18px; }
.reading-list { list-style: none; padding: 0; margin: 0 0 1em; }
.reading-list li { padding: 14px 0; border-top: 1px solid var(--haze); }
.reading-list li:first-child { border-top: 0; padding-top: 0; }
.reading-title { font: 600 20px/1.25 var(--serif); }
.reading-summary { margin: 4px 0 0; color: var(--heather); font-size: 16px; }
.reading-group { margin-top: 2em; }
.reading-group h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--heather); margin-bottom: .4em; }
.plain-list, .source-list { padding-left: 1.2em; }
.plain-list li, .source-list li { margin-bottom: .35em; }
.source-list { font-size: 16px; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .45em; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 6px; border-left: 2.5px solid var(--violet); border-bottom: 2.5px solid var(--violet); transform: rotate(-45deg); }
.job-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.job-list > li { padding: 18px 20px; border-radius: var(--radius-panel); background: var(--mist); }
.band-tint .job-list > li { background: var(--page); }
.job-list > li p { margin: 6px 0 0; font-size: 16px; color: var(--heather); }
.job-link { display: inline-flex; align-items: center; gap: 10px; font: 600 20px/1.2 var(--serif); }
.link-columns { display: grid; gap: 24px; }
.link-columns h3 { margin-top: 0; font-size: 19px; }
.link-columns ul { padding-left: 1.2em; margin: 0; }
.link-columns li { margin-bottom: .4em; }
@media (min-width: 800px) { .link-columns { grid-template-columns: repeat(3, 1fr); } }

/* ---------- spec sheets: the job sheet and the place facts ---------- */
.sheet-layout, .place-layout { display: grid; gap: 32px; }
.job-sheet, .place-facts-box { background: var(--mist-2); padding: 18px 0 14px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.sheet-title, .place-facts-title { font-size: 20px; margin: 0 0 10px; padding: 0 20px; }
.sheet-list, .place-facts { margin: 0; }
.sheet-row, .fact { padding: 9px 20px; }
.sheet-row:nth-child(odd), .fact:nth-child(odd) { background: color-mix(in srgb, var(--page) 70%, transparent); }
.sheet-row dt, .fact dt { font-size: 15px; font-weight: 600; color: var(--heather); line-height: 1.35; }
.sheet-row dd, .fact dd { margin: 1px 0 0; font-size: 17px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.sheet-note { margin: 12px 0 0; padding: 0 20px; }
.job-text, .place-text { min-width: 0; }
.job-text h2:first-of-type, .place-text h2:first-child { margin-top: 0; }
@media (min-width: 960px) {
  .sheet-layout, .place-layout { grid-template-columns: 330px minmax(0, 1fr); gap: 48px; align-items: start; }
  .job-sheet, .place-facts-box { position: sticky; top: 16px; }
}

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; margin: 0 0 1.2em; border-radius: var(--radius-panel); }
.data-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; font-size: 16px; line-height: 1.45; }
.data-table caption { text-align: left; font-weight: 600; padding: 0 0 8px; }
.data-table thead th { background: var(--mist-2); font-size: 15px; font-weight: 600; text-align: left; padding: 10px 14px; vertical-align: bottom; }
.data-table th, .data-table td { text-align: left; padding: 10px 14px; vertical-align: top; }
.data-table tbody th { font-weight: 600; }
.data-table tbody tr:nth-child(even) { background: var(--mist); }
.data-table tbody tr:nth-child(odd) { background: var(--page); }
@media (max-width: 699px) {
  .data-table.stacked thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table.stacked tr { display: block; padding: 10px 14px; }
  .data-table.stacked th, .data-table.stacked td { display: block; padding: 2px 0; }
  .data-table.stacked th { padding-bottom: 4px; }
  .data-table.stacked td::before { content: attr(data-label); display: block; font-size: 14px; font-weight: 600; color: var(--heather); }
  .data-table.stacked td[data-label=""]::before { display: none; }
}

/* ---------- questions ---------- */
.qa { margin: 0 0 1em; }
.qa-item { border-top: 1px solid var(--haze); }
.qa-item:last-child { border-bottom: 1px solid var(--haze); }
.qa-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; cursor: pointer; }
.qa-q h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.qa-q::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 2.5px solid var(--violet); border-bottom: 2.5px solid var(--violet); transform: rotate(45deg); transition: transform var(--ease); }
.qa-item[open] .qa-q::after { transform: rotate(-135deg); }
.qa-q:hover h3 { color: var(--violet-deep); }
.qa-a { padding: 0 0 18px; max-width: 62ch; }
.qa-a p:last-child { margin-bottom: 0; }

/* ---------- figures ---------- */
.chart { margin: 1.5em 0; }
.chart img { display: block; width: 100%; height: auto; border-radius: var(--radius-panel); }
.chart figcaption { font-size: 15px; line-height: 1.45; color: var(--heather); margin-top: 8px; }
/* Photos (data/photos.mjs): labeled illustrations set like the charts, full width of their column. */
.photo { margin: 1.5em 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: var(--radius-panel); background: var(--mist); }
.photo figcaption { font-size: 15px; line-height: 1.45; color: var(--heather); margin-top: 8px; }
.photo-small img { width: auto; max-width: 100%; }

/* ---------- guides ---------- */
.read { display: block; }
.read-top { padding: 20px 0 28px; }
.read-top h1 { max-width: 20ch; }
.byline { font-size: 16px; color: var(--heather); }
.byline a { color: var(--heather); }
.short-answer { margin-top: 20px; padding: 20px 24px 22px; background: var(--mist-2); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.short-answer h2 { font-size: 20px; margin: 0 0 8px; }
.short-answer p { margin: 0; font-size: 18px; font-variant-numeric: tabular-nums; }
.read-body { padding: 28px 0 48px; }
.contents { margin: 0 0 2em; padding: 16px 20px 6px; border-radius: var(--radius-panel); background: var(--mist); }
.contents h2 { font: 600 16px/1.3 var(--sans); color: var(--heather); margin: 0 0 8px; }
.contents ol { margin: 0; padding-left: 1.4em; font-size: 16px; }
.contents li { margin-bottom: 6px; }
@media (min-width: 600px) { .contents ol { columns: 2; column-gap: 32px; } .contents li { break-inside: avoid; } }
.read-part { margin-top: 2.2em; }
.read-part:first-of-type { margin-top: 0; }
.read-part h2 { margin-top: 0; }
.side-note { margin: 2em 0; padding: 22px 24px; border-radius: var(--radius-panel); background: var(--mist); }
.side-note h2 { font-size: 22px; margin: 0 0 .4em; }
.side-note p { max-width: 56ch; }
.side-note .button { margin-top: 4px; }
.text-flow h2:first-child { margin-top: 0; }

/* ---------- forms, the request band and the request page ---------- */
.request-band { background: var(--ink); color: #FFFFFF; padding: 48px 0; }
.request-band a:not(.button) { color: var(--lilac); text-decoration-color: color-mix(in srgb, var(--lilac) 60%, transparent); }
.request-band a:not(.button):hover { color: #FFFFFF; text-decoration-color: currentColor; }
.request-band :focus-visible { outline-color: var(--lilac); }
.request-copy p { color: var(--mist); max-width: 48ch; }
.request-copy h2 { color: #FFFFFF; }
.request-grid, .request-page { display: grid; gap: 32px; }
.request-form { display: grid; gap: 16px; padding: 22px 20px 20px; border-radius: var(--radius-panel); background: var(--page); color: var(--ink); }
.request-band .request-form a, .request-form a { color: var(--violet); text-decoration-color: color-mix(in srgb, var(--violet) 55%, transparent); }
.request-band .request-form a:hover, .request-form a:hover { color: var(--violet-deep); text-decoration-color: currentColor; }
.request-band .request-form :focus-visible { outline-color: var(--violet); }
.request-form .button { margin-top: 2px; }
.field { display: grid; gap: 6px; }
.field-label { font-weight: 600; font-size: 16px; line-height: 1.3; }
.optional { font-weight: 400; color: var(--heather); }
.field-hint { margin: 0; }
.field input, .field select, .field textarea { font: 400 17px/1.3 var(--sans); min-height: 48px; width: 100%; padding: 10px 12px; border: 1.5px solid var(--slate); border-radius: var(--radius); background: var(--page); color: var(--ink); transition: border-color var(--ease), box-shadow var(--ease); }
.field select { padding-right: 36px; appearance: auto; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 3px var(--lilac); }
.field-pair { display: grid; gap: 16px; }
@media (min-width: 600px) { .field-pair { grid-template-columns: 1fr 1fr; } .request-form { padding: 26px 24px 24px; } }
.consent-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: var(--radius); font-size: 15px; line-height: 1.45; color: var(--ink); }
.consent-box input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--violet); cursor: pointer; }
.form-alert { margin: 0; padding: 12px 14px; border: 2px solid var(--wine); border-radius: var(--radius); color: var(--wine); font-weight: 600; font-size: 16px; }
.form-alert[hidden] { display: none; }
.form-note { margin: 0; }
.request-aside h2 { margin-top: 0; }
.request-aside .process-compact { margin-bottom: 1.4em; }
.sent-note { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; color: var(--violet); }
.mail-address { font-style: normal; }
@media (min-width: 900px) {
  .request-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
  .request-page { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .request-band { padding: 64px 0; }
}

/* ---------- the price tool ---------- */
.price-tool { display: grid; gap: 24px; padding: 22px 20px 24px; border-radius: var(--radius-panel); background: var(--mist); margin: 0 0 1em; }
.tool-inputs { display: grid; gap: 16px; align-content: start; }
.tool-result { padding: 20px 22px 22px; border-radius: var(--radius-panel); background: var(--page); align-self: start; }
.tool-amount { margin: 0 0 2px; font-size: 16px; color: var(--heather); font-variant-numeric: tabular-nums; }
.tool-range { margin: 0 0 .35em; font: 600 clamp(1.75rem, 1.3rem + 1.5vw, 2.25rem)/1.15 var(--serif); font-variant-numeric: tabular-nums; }
.tool-note { margin: 0 0 1em; }
.tool-result .button { width: 100%; }
@media (min-width: 800px) { .price-tool { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); padding: 28px; } .tool-result .button { width: auto; } }

/* ---------- footer ---------- */
.base { background: var(--ink); color: #FFFFFF; padding: 48px 0 28px; font-size: 16px; line-height: 1.5; }
.base a { color: var(--lilac); text-decoration-color: color-mix(in srgb, var(--lilac) 60%, transparent); }
.base a:hover { color: #FFFFFF; text-decoration-color: currentColor; }
.base :focus-visible { outline-color: var(--lilac); }
.base-grid { display: grid; gap: 32px; }
.base-id { max-width: 40ch; }
.base-logo { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: #FFFFFF; }
.base-logo .logo-mark { width: 40px; height: 40px; }
.base-logo .logo-name { font-size: 20px; }
.base-address { margin: 0 0 6px; color: var(--mist); }
.base-phone { margin: 0 0 12px; font-weight: 600; }
.base-partner { margin: 0; color: var(--mist); }
.base-links { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.base-links ul { list-style: none; padding: 0; margin: 0; }
.base-links li { margin-bottom: 8px; }
.base-heading { font: 600 18px/1.25 var(--serif); color: #FFFFFF; margin: 0 0 10px; }
.base-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); }
.base-disclaimer { font-size: 15px; line-height: 1.5; color: var(--mist); max-width: 100ch; }
.base-copy { font-size: 15px; color: var(--mist); margin: 0; }
@media (min-width: 900px) { .base-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; } .base { padding-top: 56px; } }

/* ---------- the analytics notice ---------- */
.notice { position: fixed; inset: auto 0 0 0; z-index: 60; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--ink-2); color: #FFFFFF; font-size: 15px; line-height: 1.45; }
.notice[hidden] { display: none; }
.notice a { color: var(--lilac); text-decoration-color: color-mix(in srgb, var(--lilac) 60%, transparent); }
.notice a:hover { color: #FFFFFF; }
.notice :focus-visible { outline-color: var(--lilac); }
.notice-text { margin: 0; flex: 1 1 260px; }
.notice-actions { display: flex; gap: 10px; flex: none; }
.notice .button-primary { background: var(--lilac); border-color: var(--lilac); color: var(--ink); }
.notice .button-primary:hover { background: var(--lilac-light); border-color: var(--lilac-light); color: var(--ink); }
.notice .button-on-dark { background: transparent; border-color: var(--lilac); color: #FFFFFF; }
.notice .button-on-dark:hover { background: rgba(255, 255, 255, .08); color: #FFFFFF; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
