/* 24 Steps — all styling. Tokens only (tokens.css). The device is the paint chip:
   a solid colour block with a label strip under it, like a sample card in a paint store. */

*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--fs-body); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); line-height: var(--lh-body); color: var(--ink);
  background: var(--undercoat); font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--headland); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 var(--space-2); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: var(--space-4); }
h3 { font-size: 1.2rem; margin-top: var(--space-3); }
p, ul, ol, table { margin: 0 0 var(--space-2); }
p, li { max-width: var(--measure); }
small, .muted { color: var(--stone); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--space-2); }
.skip { position: absolute; left: -999px; top: 0; background: var(--tape); color: var(--ink); padding: var(--space-1) var(--space-2); z-index: 10; }
.skip:focus { left: var(--space-2); }

/* Header */
.site-header { background: var(--undercoat); border-bottom: 1px solid var(--stone-light); }
.site-header .wrap { display: flex; align-items: center; gap: var(--space-3); min-height: 72px; flex-wrap: wrap; }
.brand { font-weight: 800; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.1rem; }
.brand-chip { width: 22px; height: 22px; background: var(--headland); border-bottom: 5px solid var(--tape); border-radius: 2px; }
.site-nav { margin-left: auto; display: flex; gap: var(--space-2); flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--tape); }
.nav-cta { white-space: nowrap; }
@media (max-width: 760px) { .site-nav { order: 3; width: 100%; margin-left: 0; padding-bottom: var(--space-1); } .nav-cta { margin-left: auto; } }

/* Buttons */
.btn { display: inline-block; font-weight: 600; text-decoration: none; padding: 0.75rem 1.25rem; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 600; line-height: 1.2; }
.btn-primary { background: var(--headland); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-tape { background: var(--tape); color: var(--ink); }
.btn-tape:hover { background: var(--ink); color: var(--white); }

/* Hero: one oversized chip holding the headline */
.hero { padding: var(--space-4) 0 var(--space-5); }
.hero-chip { background: var(--headland); color: var(--white); padding: var(--space-5) var(--space-4); border-radius: var(--radius); position: relative; overflow: hidden; }
.hero-chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--tape); }
.hero-chip h1 { color: var(--white); max-width: 18ch; }
.hero-chip p { font-size: 1.15rem; max-width: 52ch; color: var(--white); opacity: 0.94; }
.hero-chip .btn-primary { background: var(--white); color: var(--ink); }
.hero-chip .btn-primary:hover { background: var(--tape); }
.hero-label { display: flex; justify-content: space-between; gap: var(--space-2); padding: var(--space-2) var(--space-1) 0; font-weight: 600; color: var(--stone); flex-wrap: wrap; }
.hero-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-3); }
@media (prefers-reduced-motion: no-preference) {
  .hero-chip { animation: settle 700ms cubic-bezier(.2,.7,.2,1) both; }
  @keyframes settle { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Sections */
.section { padding: var(--space-4) 0; }
.section-tight { padding: var(--space-3) 0; }
.section-ink { background: var(--ink); color: var(--white); }
.section-ink h2, .section-ink h3 { color: var(--white); }
.section-ink a { color: var(--tape); }
.lede { font-size: 1.2rem; max-width: 56ch; }

/* Chips (service and area cards) */
.chips { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); padding: 0; margin: var(--space-3) 0; list-style: none; }
.chip { display: block; text-decoration: none; color: var(--ink); background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stone-light); }
.chip .swatch { height: 120px; background: var(--headland); }
.chip.c1 .swatch { background: var(--headland); }
.chip.c2 .swatch { background: #2E8A9E; }
.chip.c3 .swatch { background: #5F6B76; }
.chip.c4 .swatch { background: #8FB7C4; }
.chip.c5 .swatch { background: #E0C97A; }
.chip.c6 .swatch { background: #3C4A5C; }
.chip.c7 .swatch { background: #B9C7CC; }
.chip.c8 .swatch { background: #14213D; }
.chip .label { padding: var(--space-2); border-top: 4px solid var(--tape); }
.chip .label strong { display: block; font-size: 1.05rem; }
.chip .label span { color: var(--stone); font-size: 0.95rem; }
.chip:hover .label { background: var(--undercoat); }

/* Price table */
.prices { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.prices th, .prices td { text-align: left; padding: 0.8rem var(--space-2); border-bottom: 1px solid var(--stone-light); vertical-align: top; }
.prices th { background: var(--ink); color: var(--white); font-weight: 600; }
.prices td.num { white-space: nowrap; font-weight: 600; }
.prices tr:last-child td { border-bottom: 0; }

/* The 24 meaning block */
.meaning { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.meaning > div { background: var(--white); padding: var(--space-3); border-radius: var(--radius); border-top: 6px solid var(--tape); }
.meaning h3 { margin-top: 0; }

/* Steps / lists */
.plain { list-style: none; padding: 0; }
.plain li { padding: 0.35rem 0 0.35rem 1.4rem; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: 0.95rem; width: 0.7rem; height: 0.35rem; background: var(--tape); }
.checklist { columns: 2; column-gap: var(--space-4); }
@media (max-width: 640px) { .checklist { columns: 1; } }
.checklist li { break-inside: avoid; }

/* Forms (pay page, contact) */
form.card { background: var(--white); padding: var(--space-3); border-radius: var(--radius); border: 1px solid var(--stone-light); max-width: 520px; }
label { display: block; font-weight: 600; margin-top: var(--space-2); }
input, select, textarea { font: inherit; width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--stone); border-radius: var(--radius); margin-top: 0.3rem; background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; }
.notice { background: var(--white); border-left: 6px solid var(--tape); padding: var(--space-2) var(--space-3); border-radius: var(--radius); max-width: var(--measure); }
.placeholder { background: var(--white); border: 2px dashed var(--stone-light); padding: var(--space-4); text-align: center; color: var(--stone); border-radius: var(--radius); }
.embed { min-height: 640px; border: 0; width: 100%; background: var(--white); border-radius: var(--radius); }

/* FAQ */
details { background: var(--white); border-radius: var(--radius); padding: var(--space-2) var(--space-3); margin-bottom: var(--space-1); border: 1px solid var(--stone-light); max-width: var(--measure); }
summary { font-weight: 600; cursor: pointer; }
details p { margin-top: var(--space-2); }

/* CTA band */
.cta-band { background: var(--white); border-radius: var(--radius); padding: var(--space-4); display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; border-left: 10px solid var(--tape); margin: var(--space-4) 0; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: 0.3rem 0 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--white); padding: var(--space-5) 0 var(--space-4); margin-top: var(--space-5); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--tape); }
.footer-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-grid h3 { font-size: 1rem; color: var(--tape); margin-top: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 0.2rem 0; }
.footer-legal { margin-top: var(--space-4); padding-top: var(--space-2); border-top: 1px solid rgba(255,255,255,0.2); font-size: 0.9rem; color: var(--stone-light); display: flex; gap: var(--space-2); flex-wrap: wrap; justify-content: space-between; }
