/* Big Jay Landscaping — site styles
   Concept: a crew's job ticket. Warm paper, navy ink, jay-blue actions, a sun-yellow tag
   for the one thing to act on. Display type: Big Shoulders (tall, condensed, set big). */

:root {
  --paper: #f1f4f8;
  --white: #ffffff;
  --ink: #0e1a2b;
  --stone: #4d5868;
  --jay: #1e4fa0;        /* actions and links, 7.8:1 with white */
  --jay-deep: #163c7d;
  --navy: #12223a;       /* dark bands, footer */
  --navy-2: #1b2f4f;
  --sky: #dbe6f5;        /* tints, text on navy */
  --grass: #2c7a3d;      /* check marks, small accents */
  --sun: #f3c443;        /* tag color, never small text on white */
  --line: #d5dbe4;
  --field: #6b7380;      /* form borders, 4.8:1 on white */
  --danger: #b3261e;
  --danger-bg: #fbeceb;
  --danger-line: #e3a7a2;
  --ok-bg: #e7f2ea;
  --ok-line: #9fcaa9;

  --font-display: "Big Shoulders", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-ui: "Instrument Sans", "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.6rem, 1.3rem + 1.2vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.4vw, 3.2rem);
  --step-4: clamp(2.7rem, 1.6rem + 4.2vw, 4.6rem);

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

@font-face {
  font-family: "Big Shoulders";
  src: url("../fonts/bigshoulders.woff") format("woff");
  font-weight: 600 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.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(--jay);
}
::selection { background: var(--sun); color: var(--ink); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--jay); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--jay-deep); text-decoration-thickness: 2px; }
main p a, main li a, main dd a { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--jay); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3 { color: var(--ink); margin: 0 0 0.5em; text-wrap: balance; }
h1 { font: 800 var(--step-4)/0.95 var(--font-display); text-transform: uppercase; letter-spacing: 0.005em; }
h2 { font: 800 var(--step-3)/1 var(--font-display); text-transform: uppercase; 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: 34rem; }
.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(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--stone); margin: 0; }

.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; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 2.875rem; padding: 0.65em 1.3em; border-radius: var(--r);
  border: 2px solid var(--jay); background: var(--white); color: var(--jay);
  font: 600 1rem/1.2 var(--font-ui); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--sky); color: var(--jay-deep); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--jay); color: var(--white); }
.btn-primary:hover { background: var(--jay-deep); border-color: var(--jay-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: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 1.25rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); }
.brand img { width: 42px; height: 42px; }
.brand-name { display: grid; line-height: 1; }
.brand-name b { font: 900 1.65rem/0.9 var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; }
.brand-name span { font: 600 0.72rem/1.2 var(--font-ui); color: var(--stone); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.15rem; }
.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.75rem; color: var(--ink); text-decoration: none; font: 600 0.98rem var(--font-ui); border-radius: var(--r); }
.site-nav ul a:hover { background: var(--paper); }
.site-nav ul a[aria-current="page"], .site-nav ul a[aria-current="true"] { background: var(--sky); color: var(--jay-deep); }
.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(--jay); }
.nav-toggle { display: none; }
@media (max-width: 62rem) { .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.5rem; }
  .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 ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 4.75rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4rem; } }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 .tag { display: inline-block; background: var(--sun); padding: 0 0.12em; margin-left: -0.04em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero .lead { margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero-facts { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 0.45rem; color: var(--stone); font-size: 0.95rem; }
.hero-facts li { display: flex; gap: 0.55rem; align-items: flex-start; }
.hero-facts .icon { color: var(--grass); margin-top: 0.15em; }

/* Visit builder: a job ticket the visitor fills in */
.ticket { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px -26px rgba(14, 26, 43, 0.45); }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.25rem; background: var(--navy); color: var(--white); border-radius: var(--r) var(--r) 0 0; }
.ticket-head h2 { color: var(--white); font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin: 0; }
.ticket-head span { font: 600 0.8rem var(--font-ui); color: var(--sky); letter-spacing: 0.06em; text-transform: uppercase; }
.ticket-body { padding: 1.25rem; }
.ticket fieldset { border: 0; margin: 0 0 1.25rem; padding: 0; min-width: 0; }
.ticket legend { font: 700 1rem var(--font-ui); margin-bottom: 0.6rem; padding: 0; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11.5rem), 1fr)); gap: 0.5rem; }
.chip { position: relative; display: flex; align-items: center; gap: 0.6rem; min-height: 2.875rem; padding: 0.55rem 0.75rem; border: 1px solid var(--field); border-radius: var(--r); background: var(--white); font: 600 1rem/1.25 var(--font-ui); cursor: pointer; }
.chip input { width: 1.5rem; height: 1.5rem; font-size: 1rem; margin: 0; accent-color: var(--jay); flex: none; }
.chip:has(input:checked) { border-color: var(--jay); background: var(--sky); }
.chip:has(input:focus-visible) { outline: 3px solid var(--jay); outline-offset: 2px; }
.seg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seg .chip { flex: 1 1 8rem; }
.ticket-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; padding: 1rem 1.25rem 1.25rem; border-top: 2px dashed var(--line); }
.ticket-foot p { margin: 0; font-size: var(--step--1); color: var(--stone); flex: 1 1 14rem; }
.ticket-foot .btn { flex: 0 0 auto; }

/* ---------- Services list ---------- */
.svc-rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: svc; }
.svc-rows li { counter-increment: svc; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0 1.25rem; padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.svc-rows li::before { content: counter(svc, decimal-leading-zero); grid-row: 1 / span 2; font: 800 2.4rem/1 var(--font-display); color: var(--jay); }
.svc-rows p { margin: 0; color: var(--stone); }
@media (min-width: 52rem) {
  .svc-rows li { grid-template-columns: 4.5rem minmax(0, 20rem) minmax(0, 1fr); align-items: baseline; gap: 0 2rem; }
  .svc-rows li::before { grid-row: auto; font-size: 3rem; }
  .svc-rows li h3 { margin: 0; }
}
.svc-rows h3 { margin: 0 0 0.3rem; font-size: 1.25rem; }
.svc-rows h3 a { color: var(--ink); text-decoration-color: var(--jay); }
.svc-rows h3 a:hover { color: var(--jay); }

/* ---------- Seasons ---------- */
.seasons { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); }
.season { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.35rem 1.35rem 1.25rem; }
.season h3 { font: 800 2rem/1 var(--font-display); text-transform: uppercase; margin: 0 0 0.2rem; }
.season .months { display: block; font: 600 0.82rem var(--font-ui); color: var(--stone); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.9rem; }
.season ul { list-style: none; margin: 0; padding: 0; }
.season li { display: flex; gap: 0.55rem; padding-block: 0.3rem; font-size: 0.97rem; }
.season li .icon { color: var(--grass); margin-top: 0.2em; }
.season.quiet { background: transparent; border-style: dashed; }
.season-note { margin: 1rem 0 0; font-size: var(--step--1); color: var(--stone); max-width: 44rem; }

/* ---------- Dark band: how booking works ---------- */
.band-dark { background: var(--navy); color: var(--sky); }
.band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark .section-head p { color: var(--sky); }
.band-dark a { color: var(--white); }
.band-dark :focus-visible { outline-color: var(--sun); }
.steps { 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; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--sun); color: var(--ink); font: 800 1.5rem/1 var(--font-display); margin-bottom: 0.9rem; }
.steps p { margin: 0; }

/* ---------- Photo band and page photos ---------- */
.photo-band img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--r); }
.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: var(--r); }

/* ---------- Call to action: a pinned work tag ---------- */
.worktag { background: var(--sun); color: var(--ink); border-radius: var(--r); display: grid; gap: 1.5rem 3rem; padding: clamp(1.5rem, 4vw, 2.75rem); position: relative; }
@media (min-width: 52rem) { .worktag { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.worktag::before { content: ""; position: absolute; top: 1.1rem; right: 1.1rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px rgba(14, 26, 43, 0.25); }
.worktag h2 { margin-bottom: 0.3em; }
.worktag p { margin: 0 0 1.25rem; max-width: 32rem; }
.worktag .btn-primary { background: var(--ink); border-color: var(--ink); }
.worktag .btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.worktag dl { margin: 0; display: grid; gap: 0.8rem; }
.worktag dt { font: 600 0.78rem var(--font-ui); letter-spacing: 0.06em; text-transform: uppercase; }
.worktag dd { margin: 0.1rem 0 0; font: 600 1.05rem/1.45 var(--font-ui); overflow-wrap: anywhere; }
.worktag dd a { color: var(--ink); }
.worktag .btn-primary, .worktag .btn-primary:hover { color: var(--white); }
.worktag :focus-visible { outline-color: var(--ink); }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding-block: clamp(2.25rem, 5vw, 3.75rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.2rem); margin-bottom: 0.3em; max-width: 20ch; }
.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; }

/* ---------- Inner page blocks ---------- */
.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(--grass); 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); text-transform: none; letter-spacing: 0; }
.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); text-transform: none; letter-spacing: 0; 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(--jay); 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: 0.6rem; height: 0.6rem; margin: 0.45rem 0.3rem 0 0; border-right: 2px solid var(--jay); border-bottom: 2px solid var(--jay); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 0.7rem; }
.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(--jay); outline-offset: 0; border-color: var(--jay); }
.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(--jay); 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(--ok-bg); 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); text-transform: none; letter-spacing: 0; margin-bottom: 0.3rem; }
.notice p:last-child { margin: 0; }
.form-intro { margin: -0.25rem 0 1.25rem; color: var(--stone); }

/* ---------- 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); border-radius: var(--r); padding: 1.25rem 1.5rem; margin: 1.25rem 0 2rem; }
.legal-notice h2 { font: 700 1.05rem var(--font-ui); text-transform: none; letter-spacing: 0; 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); text-transform: none; letter-spacing: 0; 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 { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
th, td { text-align: left; vertical-align: top; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
th { background: var(--paper); font: 600 0.9rem var(--font-ui); white-space: nowrap; }
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(--white); border: 2px solid var(--jay); 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); text-transform: none; letter-spacing: 0; 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(--navy); color: var(--sky); font-size: 0.95rem; }
.site-footer a, .site-footer .linklike { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--sun); }
.site-footer .brand, .site-footer .brand:hover { color: var(--white); }
.site-footer .brand-name span { color: var(--sky); }
.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 { margin: 0.75rem 0 0; }
.footer-head { font: 800 1.35rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--white); margin-bottom: 0.8rem; }
.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(--sun); margin-top: 0.15em; }
.footer-list a { text-decoration: none; min-height: 24px; }
.footer-list a:hover { text-decoration: underline; color: var(--white); }
.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; }
.footer-hours dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--white); }
.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(--navy-2); font-size: var(--step--1); }
.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 { 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; background: var(--white); color: var(--ink); border: 2px solid var(--navy); border-radius: var(--r); box-shadow: 0 18px 50px -14px rgba(14, 26, 43, 0.5); }
.consent[hidden] { display: none; }
.consent-inner { padding: 1.2rem 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); text-transform: none; letter-spacing: 0; 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(--jay); flex: none; }
@media (max-width: 30rem) {
  .consent { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 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 yellow tag on the headline slides in */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .tag { background-size: 0% 100%; background-image: linear-gradient(var(--sun), var(--sun)); background-repeat: no-repeat; background-color: transparent; animation: tag .7s cubic-bezier(.2,.7,.2,1) .25s forwards; }
  @keyframes tag { to { background-size: 100% 100%; } }
}

@media print {
  .site-header, .site-footer, .consent, .worktag, .ticket { display: none; }
}
.table-wrap { position: relative; max-width: 100%; }
