/* Dubon Green & Clean — site styles
   Concept: a landscape architect's yard plan. Clean drafting paper, pine-ink linework,
   a fresh leaf green for actions and a water blue for the "clean" side of the name.
   Display type: Archivo Expanded (wide, like lettering on a work van). */

:root {
  --paper: #fbfcf9;       /* page */
  --white: #ffffff;
  --ink: #11261c;         /* text, linework */
  --stone: #4f5e55;       /* secondary text */
  --leaf: #1d6b34;        /* primary action, links */
  --leaf-deep: #14522a;   /* hover */
  --leaf-soft: #b9dcc2;   /* plan fills */
  --mint: #e8f3eb;        /* tinted surfaces */
  --sky: #1c6aa3;         /* focus, water accents */
  --sky-tint: #e7f1f8;
  --line: #d2ddd4;        /* rules and borders */
  --grid: rgba(29, 107, 52, 0.07);  /* drafting grid */
  --field: #6c7c72;       /* form borders, 4.4:1 on white */
  --danger: #b3261e;
  --danger-bg: #fbeceb;
  --danger-line: #e3a7a2;
  --ok-line: #9ccaa8;

  --font-display: "Archivo Expanded", "Archivo", "Segoe UI", Arial, sans-serif;
  --font-ui: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.35rem, 1.1rem + 0.9vw, 1.65rem);
  --step-3: clamp(1.6rem, 1.15rem + 1.7vw, 2.35rem);
  --step-4: clamp(2.05rem, 1.1rem + 3.6vw, 3.9rem);

  --wrap: 74rem;
  --gutter: clamp(1rem, 3vw, 2rem);
  --r: 6px;
}

@font-face {
  font-family: "Archivo Expanded";
  src: url("../fonts/archivo-expanded.woff") format("woff");
  font-weight: 600 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-text.woff") format("woff");
  font-weight: 500 700; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
  overflow-x: hidden; caret-color: var(--leaf);
}
::selection { background: var(--leaf); color: var(--white); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--leaf); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--leaf-deep); text-decoration-thickness: 2px; }
main p a, main li a, main dd a { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 3px; }
.site-footer :focus-visible { outline-color: var(--sky); }

h1, h2, h3 { color: var(--ink); margin: 0 0 0.55em; text-wrap: balance; }
h1 { font: 800 var(--step-4)/1.04 var(--font-display); letter-spacing: -0.012em; }
h2 { font: 750 var(--step-3)/1.1 var(--font-display); letter-spacing: -0.01em; }
h3 { font: 700 var(--step-1)/1.3 var(--font-ui); }
p { margin: 0 0 1em; }
p, li, dd, summary { text-wrap: pretty; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--stone); max-width: 36rem; }
.small { font-size: var(--step--1); }
.muted { color: var(--stone); }
.tnum { font-variant-numeric: tabular-nums; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.prose { max-width: 37rem; }
.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section-tint { background: var(--mint); }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--stone); margin: 0; }
.rule-top { border-top: 1px solid var(--line); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--white); padding: 0.5rem 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

/* Drafting paper: a fine grid, used only behind the plan-like areas */
.paper-grid {
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 2.875rem; padding: 0.65em 1.25em; border-radius: var(--r);
  border: 2px solid var(--leaf); background: var(--white); color: var(--leaf);
  font: 600 1rem/1.2 var(--font-ui); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--mint); color: var(--leaf-deep); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--leaf); color: var(--white); }
.btn-primary:hover { background: var(--leaf-deep); border-color: var(--leaf-deep); color: var(--white); }
.btn-small { min-height: 2.75rem; padding: 0.45em 1em; font-size: 0.95rem; }
.btn-ghost { border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 0.2em; }
.btn-ghost:hover { background: transparent; text-decoration-thickness: 2px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.7; cursor: progress; transform: none; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.3) blur(6px); }
.header-row { display: flex; align-items: center; gap: 1.25rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; }
.brand-name { display: grid; line-height: 1; }
.brand-name b { font: 800 1.25rem/1 var(--font-display); letter-spacing: 0.01em; }
.brand-name span { font: 600 0.72rem/1.25 var(--font-ui); color: var(--stone); letter-spacing: 0.01em; margin-top: 0.2rem; }
.brand:hover { color: var(--ink); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.site-nav ul { list-style: none; display: flex; gap: 0.15rem; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 0.55rem 0.7rem; color: var(--ink); text-decoration: none; font: 600 0.98rem var(--font-ui); border-radius: var(--r); }
.site-nav ul a:hover { background: var(--mint); }
.site-nav ul a[aria-current="page"], .site-nav ul a[aria-current="true"] { color: var(--leaf); box-shadow: inset 0 -2px 0 var(--leaf); border-radius: 0; }
.header-phone { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 2.75rem; min-width: 2.75rem; font: 600 0.98rem var(--font-ui); color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--leaf); }
.nav-toggle { display: none; }
@media (max-width: 60rem) {
  .header-phone span { display: none; }
}
@media (max-width: 52rem) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; margin-left: auto;
    min-height: 2.75rem; padding: 0 0.9rem; border: 1px solid var(--line); border-radius: var(--r);
    background: var(--white); color: var(--ink); font: 600 0.95rem var(--font-ui); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0.75rem; padding: 0.75rem var(--gutter) 1.25rem; background: var(--white); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 0.8rem 0.25rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current="page"], .site-nav ul a[aria-current="true"] { box-shadow: inset 3px 0 0 var(--leaf); padding-left: 0.75rem; }
  .header-phone { justify-content: center; min-height: 2.75rem; }
  .header-phone span { display: inline; }
}
@media (max-width: 22.5rem) {
  .brand-name span { display: none; }
  .nav-toggle-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Home: hero with the yard plan ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-inner { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 6vw, 4rem); }
.hero h1 { max-width: 13em; margin-bottom: 0.45em; font-size: clamp(2.05rem, 1.2rem + 2.9vw, 3.35rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3.5rem; } }
.hero .lead { margin-bottom: 1.75rem; }

.starter { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; max-width: 30rem; box-shadow: 0 10px 30px -18px rgba(17, 38, 28, 0.35); }
.starter label { display: block; font: 700 1rem var(--font-ui); margin-bottom: 0.5rem; }
.starter-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.starter select { flex: 1 1 13rem; min-height: 2.875rem; padding: 0.6rem 0.75rem; border: 1px solid var(--field); border-radius: var(--r); background: var(--white); color: var(--ink); font: inherit; }
.starter .btn { flex: 0 0 auto; }
.starter p { margin: 0.85rem 0 0; font-size: var(--step--1); color: var(--stone); }
.starter p a { font-weight: 600; }
.hero-facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.4rem; color: var(--stone); font-size: 0.95rem; }
.hero-facts li { display: flex; align-items: center; gap: 0.5rem; }
.hero-facts .icon { color: var(--leaf); }

/* The plan drawing */
.plan { margin: 0; }
.plan-sheet { background: var(--white); border: 1px solid var(--ink); border-radius: 2px; padding: 0.75rem; position: relative; }
.plan svg { display: block; width: 100%; height: auto; }
.plan .zone { cursor: pointer; }
.plan .zone .fill { transition: filter .15s; }
.plan .zone:hover .fill, .plan .zone:focus-visible .fill { filter: brightness(0.92) saturate(1.2); }
.plan .zone:focus-visible { outline: none; }
.plan .zone:focus-visible .key-dot, .plan .zone:hover .key-dot { fill: var(--leaf); }
.plan .zone:focus-visible .key-dot { stroke: var(--sky); stroke-width: 4; }
.plan .key-dot { fill: var(--ink); transition: fill .15s; }
.plan .key-num { fill: var(--white); font: 700 15px var(--font-ui); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.plan figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.6rem 0.15rem 0; font-size: var(--step--1); color: var(--stone); }
.legend { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: 0.35rem 1.25rem; counter-reset: key; }
.legend li { display: flex; align-items: center; gap: 0.6rem; }
.legend .key { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font: 700 0.85rem var(--font-ui); }
.legend a { font-weight: 600; padding-block: 0.3rem; }

/* ---------- Services as a plan legend ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); border-top: 1px solid var(--ink); }
.svc-list li { display: grid; grid-template-columns: 3.25rem 1fr; gap: 0 1.1rem; padding-block: 1.35rem; border-bottom: 1px solid var(--line); }
.swatch { width: 3.25rem; height: 3.25rem; border: 1px solid var(--ink); border-radius: 2px; background: var(--white); display: block; }
.svc-list h3 { margin: 0.1rem 0 0.3rem; }
.svc-list h3 a { color: var(--ink); text-decoration-color: var(--leaf); }
.svc-list h3 a:hover { color: var(--leaf); }
.svc-list p { margin: 0; color: var(--stone); }

/* ---------- Lawn calendar ---------- */
.cal-wrap { overflow-x: auto; border: 1px solid var(--ink); border-radius: 2px; background: var(--white); }
.cal { border-collapse: collapse; width: 100%; min-width: 46rem; font-size: 0.9rem; }
.cal th, .cal td { padding: 0; border-bottom: 1px solid var(--line); }
.cal thead th { font: 600 0.8rem var(--font-ui); color: var(--stone); text-align: center; padding: 0.55rem 0; border-bottom: 1px solid var(--ink); }
.cal tbody th { text-align: left; font: 600 0.92rem var(--font-ui); padding: 0.6rem 0.9rem; white-space: nowrap; position: sticky; left: 0; background: var(--white); border-right: 1px solid var(--line); }
.cal tbody th small { display: block; font: 400 0.78rem var(--font-body); color: var(--stone); }
.cal td { height: 2.75rem; position: relative; border-left: 1px dashed var(--line); }
.cal td.on::before { content: ""; position: absolute; inset: 0.8rem 0; background: var(--leaf); }
.cal td.light::before { content: ""; position: absolute; inset: 0.8rem 0; background: var(--leaf-soft); }
.cal td.start::before { left: 0.25rem; border-radius: 3px 0 0 3px; }
.cal td.end::before { right: 0.25rem; border-radius: 0 3px 3px 0; }
.cal tr:last-child th, .cal tr:last-child td { border-bottom: 0; }
.cal-key { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0.9rem 0 0; padding: 0; list-style: none; font-size: var(--step--1); color: var(--stone); }
.cal-key li { display: flex; align-items: center; gap: 0.45rem; }
.cal-key i { display: inline-block; width: 1.6rem; height: 0.7rem; border-radius: 2px; background: var(--leaf); }
.cal-key i.light { background: var(--leaf-soft); }

/* ---------- Process (a real sequence) ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); counter-reset: step; }
.process li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 1rem; }
.process li::before { content: "Step " counter(step); display: block; font: 600 0.85rem var(--font-ui); color: var(--leaf); margin-bottom: 0.35rem; }
.process p { margin: 0; color: var(--stone); }

/* ---------- Photo band and page photos ---------- */
.photo-band img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; border-radius: 2px; }
.page-photo { display: block; margin: 0 0 2rem; }
.page-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; border: 1px solid var(--line); }

/* ---------- Title block (call to action, like a drawing's title block) ---------- */
.title-block { border: 2px solid var(--ink); background: var(--white); display: grid; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .title-block { grid-template-columns: 1.4fr 1fr; } }
.tb-main { padding: clamp(1.5rem, 4vw, 2.5rem); }
.tb-main h2 { margin-bottom: 0.35em; }
.tb-main p { color: var(--stone); margin-bottom: 1.25rem; max-width: 34rem; }
.tb-cells { display: grid; border-top: 2px solid var(--ink); }
@media (min-width: 52rem) { .tb-cells { border-top: 0; border-left: 2px solid var(--ink); } }
.tb-cell { padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--line); }
.tb-cell:last-child { border-bottom: 0; }
.tb-cell dt { font: 600 0.8rem var(--font-ui); color: var(--stone); }
.tb-cell dd { margin: 0.15rem 0 0; font: 600 1.05rem var(--font-ui); overflow-wrap: anywhere; }
.tb-cell dd a { color: var(--ink); }

/* ---------- Page header (inner pages) ---------- */
.page-hero { border-bottom: 1px solid var(--line); padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.page-hero h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); margin-bottom: 0.35em; max-width: 22ch; }
.page-hero p { color: var(--stone); max-width: 38rem; margin: 0; font-size: var(--step-1); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0 0 1rem; font-size: var(--step--1); color: var(--stone); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--line); }

/* ---------- Generic blocks used on inner pages ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.split > *, .contact-grid > * { min-width: 0; }
@media (min-width: 52rem) { .split { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; } }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 0.75rem; padding-block: 0.5rem; }
.checklist .icon { color: var(--leaf); margin-top: 0.2em; }
.fact-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.fact-panel h2, .fact-panel h3 { font: 700 var(--step-1)/1.3 var(--font-ui); }
.fact-panel dl { margin: 0; }
.fact-panel dl div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.5rem; border-bottom: 1px solid var(--line); }
.fact-panel dl div:last-child { border-bottom: 0; }
.fact-panel dt { color: var(--stone); }
.fact-panel dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.service-aside, .about-aside { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 52rem) { .service-aside, .about-aside { position: sticky; top: 6.5rem; } }
.service-article h2 { font-size: var(--step-2); margin-top: 2.25rem; }
.related h2 { font: 700 1rem var(--font-ui); margin-bottom: 0.4rem; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { border-top: 1px solid var(--line); }
.related a { display: block; padding: 0.6rem 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.contact-list li { display: flex; gap: 0.7rem; padding-block: 0.45rem; }
.contact-list .icon { color: var(--leaf); margin-top: 0.2em; }

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: 2.75rem; }
.faq-group h2 { font-size: var(--step-2); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; font: 600 1.05rem/1.4 var(--font-ui); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 2px; font: 600 1rem/1 var(--font-ui); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 1.2rem; color: var(--stone); max-width: 40rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: 1.35fr 1fr; gap: 4rem; } }
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; gap: 1.1rem; }
@media (min-width: 40rem) { .form .row { grid-template-columns: 1fr 1fr; } }
.field label, .field .label { display: block; font: 600 1rem var(--font-ui); margin-bottom: 0.35rem; }
.field .hint { font: 400 var(--step--1) var(--font-body); color: var(--stone); }
.field input, .field select, .field textarea { width: 100%; padding: 0.7rem 0.85rem; min-height: 2.875rem; border: 1px solid var(--field); border-radius: var(--r); background: var(--white); color: var(--ink); font: inherit; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--sky); outline-offset: 0; border-color: var(--sky); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: var(--step--1); margin: 0.3rem 0 0; }
.field .consent-check { display: flex; gap: 0.7rem; align-items: flex-start; font: 400 0.95rem var(--font-body); margin: 0; }
.consent-check input { width: 1.5rem; height: 1.5rem; margin: 0; accent-color: var(--leaf); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.25rem; border-radius: var(--r); margin-bottom: 1.5rem; }
.notice-ok { background: var(--mint); border: 1px solid var(--ok-line); }
.notice-err { background: var(--danger-bg); border: 1px solid var(--danger-line); }
.notice h2 { font: 700 var(--step-1) var(--font-ui); margin-bottom: 0.3rem; }
.notice p:last-child { margin: 0; }

/* ---------- Legal pages ---------- */
.legal { max-width: 37rem; }
.legal h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.legal h3 { margin-top: 1.5rem; }
.legal ul { padding-left: 1.2rem; }
.legal li + li { margin-top: 0.35rem; }
.legal .updated { color: var(--stone); }
.legal-notice { background: var(--sky-tint); border: 1px solid #b8d3e6; border-radius: var(--r); padding: 1.25rem 1.5rem; margin: 1.25rem 0 2rem; }
.legal-notice h2 { font: 700 1.05rem var(--font-ui); margin: 0 0 0.4rem; }
.legal-notice p { margin: 0; }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.5rem; margin: 2rem 0; }
.toc h2 { font: 700 1rem var(--font-ui); margin: 0 0 0.5rem; }
.toc ol { margin: 0; padding-left: 1.25rem; columns: 2 15rem; column-gap: 2rem; }
.toc li { break-inside: avoid; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
table:not(.cal) { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
table:not(.cal) th, table:not(.cal) td { text-align: left; vertical-align: top; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
table:not(.cal) th { background: var(--mint); font: 600 0.9rem var(--font-ui); white-space: nowrap; }
table:not(.cal) tr:last-child td { border-bottom: 0; }
td code { font-size: 0.9em; background: var(--paper); padding: 0.1em 0.35em; border-radius: 4px; }
.dns-panel { background: var(--mint); border: 1px solid var(--ok-line); border-radius: var(--r); padding: 1.5rem 1.75rem; margin: 1.5rem 0 2.5rem; }
.dns-panel h2 { font: 700 var(--step-1) var(--font-ui); margin: 0 0 0.5rem; }
.dns-status { margin: 0 0 1.25rem; }
.dns-status:focus { outline: none; }
.dns-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.dns-actions .btn-ghost { padding-inline: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mint); border-top: 2px solid var(--ink); color: var(--ink); font-size: 0.95rem; }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem 2.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 24rem; }
@media (min-width: 60rem) { .footer-grid { grid-template-columns: 1.25fr 1.3fr 1.2fr 0.7fr; } .footer-brand { grid-column: auto; } }
.footer-brand p { color: var(--stone); margin: 0.75rem 0 0; }
.footer-head { font: 700 1rem var(--font-ui); margin-bottom: 0.7rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding-block: 0.25rem; }
.footer-list li:has(> .icon), .footer-list a { display: inline-flex; gap: 0.5rem; align-items: flex-start; }
.footer-list .icon { color: var(--leaf); margin-top: 0.15em; }
.footer-list a { color: var(--ink); text-decoration: none; min-height: 24px; }
.footer-list a:hover { text-decoration: underline; }
.footer-hours { margin: 0; }
.footer-hours div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.25rem; }
.footer-hours dt { white-space: nowrap; color: var(--stone); }
.footer-hours dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.25rem 2rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--stone); }
.footer-legal p { margin: 0; max-width: 36rem; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.footer-legal a, .footer-legal .linklike { color: var(--ink); display: inline-block; min-height: 24px; line-height: 24px; }

/* ---------- Cookie banner ---------- */
.consent { position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: 1rem; max-width: 34rem; margin-left: auto; background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 0 18px 50px -14px rgba(17, 38, 28, 0.45); }
.consent[hidden] { display: none; }
.consent-inner { padding: 1.3rem 1.4rem 1.2rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
.consent-inner:focus { outline: none; }
.consent h2 { font: 700 1.15rem var(--font-ui); margin-bottom: 0.4rem; }
.consent p { font-size: 0.94rem; color: var(--stone); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.consent-actions .btn { flex: 1 1 8rem; }
.consent-actions .btn-ghost { flex: 0 1 auto; }
.consent-prefs { display: grid; gap: 0.75rem; margin: 0 0 1rem; }
.switch { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.93rem; color: var(--stone); }
.switch strong { display: block; color: var(--ink); }
.switch input { width: 1.5rem; height: 1.5rem; margin: 0; accent-color: var(--leaf); flex: none; }
@media (max-width: 30rem) {
  .consent { left: 0; right: 0; bottom: 0; max-width: none; border-radius: var(--r) var(--r) 0 0; border-width: 2px 0 0; }
  .consent-inner { padding: 1rem 1rem calc(0.85rem + env(safe-area-inset-bottom)); max-height: 85vh; }
  .consent h2 { font-size: 1.05rem; margin-bottom: 0.25rem; }
  .consent p { font-size: 0.84rem; line-height: 1.45; margin-bottom: 0.75rem; }
  .consent-more { display: none; }
  .consent-actions { gap: 0.4rem; }
  .consent-actions .btn { flex: 1 1 calc(50% - 0.4rem); min-height: 2.75rem; padding: 0.5em 0.75em; font-size: 0.95rem; }
  .consent-actions .btn-ghost { flex: 1 1 100%; min-height: 2.25rem; padding: 0.25em; }
}
@media (max-height: 30rem) and (min-width: 30.01rem) {
  .consent { max-width: 48rem; left: 50%; right: auto; transform: translateX(-50%); width: calc(100% - 2rem); bottom: 0.5rem; }
  .consent-inner { padding: 0.85rem 1.1rem; }
  .consent p { font-size: 0.84rem; line-height: 1.4; margin-bottom: 0.6rem; }
  .consent-more { display: none; }
}

/* ---------- One authored moment: the plan draws itself in ---------- */
@media (prefers-reduced-motion: no-preference) {
  .plan .ink { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.3s cubic-bezier(.2,.7,.2,1) .1s forwards; }
  .plan .zone .fill { animation: fade .6s ease-out .7s both; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

@media print {
  .site-header, .site-footer, .consent, .title-block, .starter { display: none; }
}
