/* ECWCP Lawn and Landscaping — site styles
   Concept: Tidewater yard work. A deep tide-teal owns whole regions of the page,
   marsh-grass chartreuse marks the one thing to act on, photos sit in soft-cornered frames.
   Type: Gabarito for display, Atkinson Hyperlegible Next for reading. */

:root {
  --bg: #f6f8f8;
  --white: #ffffff;
  --ink: #13201f;
  --slate: #4a5a58;
  --tide: #0d5550;       /* committed brand field, 8.6:1 with white */
  --tide-2: #093d3a;     /* footer, hover */
  --tint: #e3efed;       /* quiet sections */
  --foam: #cfe6e2;       /* text on teal */
  --marsh: #c6dd4a;      /* action color on teal, ink text on it */
  --link: #0b6b63;
  --line: #d3dddb;
  --field: #687876;
  --danger: #b3261e;
  --danger-bg: #fbeceb;
  --danger-line: #e3a7a2;
  --ok-bg: #edf5d2;
  --ok-line: #b9cf55;

  --font-display: "Gabarito", "Segoe UI", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.2rem;
  --step-2: clamp(1.4rem, 1.15rem + 1vw, 1.75rem);
  --step-3: clamp(1.8rem, 1.35rem + 1.9vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.3vw, 3.9rem);

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

@font-face { font-family: "Gabarito"; src: url("../fonts/gabarito.woff") format("woff"); font-weight: 600 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/atkinson-next.woff") format("woff"); font-weight: 400 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: 6rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-0)/1.62 var(--font-body); overflow-x: hidden; caret-color: var(--tide); }
::selection { background: var(--marsh); color: var(--ink); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--tide-2); text-decoration-thickness: 2px; }
main p a, main li a, main dd a { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--tide); outline-offset: 2px; border-radius: 4px; }
.on-tide :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--marsh); }

h1, h2, h3 { color: var(--ink); margin: 0 0 0.5em; text-wrap: balance; font-family: var(--font-display); }
h1 { font-weight: 800; font-size: var(--step-4); line-height: 1.03; letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: var(--step-3); line-height: 1.1; letter-spacing: -0.015em; }
h3 { font-weight: 700; font-size: var(--step-1); line-height: 1.3; }
p { margin: 0 0 1em; }
p, li, dd, summary { text-wrap: pretty; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--slate); max-width: 36rem; }
.small { font-size: var(--step--1); }
.muted { color: var(--slate); }
.tnum { font-variant-numeric: tabular-nums; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.prose { max-width: 38rem; }
.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section-tint { background: var(--tint); }
.section-head { max-width: 42rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--slate); margin: 0; }
.on-tide { background: var(--tide); color: var(--foam); }
.on-tide h1, .on-tide h2, .on-tide h3 { color: var(--white); }
.on-tide a { color: var(--white); }
.on-tide .section-head p, .on-tide .lead { color: var(--foam); }

.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: 3rem; padding: 0.7em 1.35em; border-radius: 999px; border: 2px solid var(--tide); background: transparent; color: var(--tide); font: 700 1rem/1.2 var(--font-display); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--tint); color: var(--tide-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--tide); color: var(--white); }
.btn-primary:hover { background: var(--tide-2); border-color: var(--tide-2); color: var(--white); }
.btn-marsh, .on-tide .btn-marsh { background: var(--marsh); border-color: var(--marsh); color: var(--ink); }
.btn-marsh:hover, .on-tide .btn-marsh:hover { background: #d6ea67; border-color: #d6ea67; color: var(--ink); }
.btn-line-light, .on-tide .btn-line-light { border-color: var(--foam); color: var(--white); }
.btn-line-light:hover, .on-tide .btn-line-light:hover { background: var(--tide-2); color: var(--white); }
.btn-small { min-height: 2.75rem; padding: 0.45em 1.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(--tide); color: var(--white); }
.header-row { display: flex; align-items: center; gap: 1.25rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand img { width: 44px; height: 44px; }
.brand-name { display: grid; line-height: 1; }
.brand-name b { font: 900 1.5rem/1 var(--font-display); letter-spacing: 0.03em; }
.brand-name span { font: 600 0.78rem/1.2 var(--font-display); color: var(--foam); margin-top: 0.2rem; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.site-nav ul { list-style: none; display: flex; gap: 0.1rem; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 0.55rem 0.75rem; color: var(--white); text-decoration: none; font: 600 0.98rem var(--font-display); border-radius: 999px; }
.site-nav ul a:hover { background: var(--tide-2); color: var(--white); }
.site-nav ul a[aria-current="page"], .site-nav ul a[aria-current="true"] { background: var(--white); color: var(--tide); }
.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-display); color: var(--white); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--marsh); }
.header-phone .icon { color: var(--marsh); }
.site-header .btn-primary { background: var(--marsh); border-color: var(--marsh); color: var(--ink); }
.site-header .btn-primary:hover { background: #d6ea67; border-color: #d6ea67; color: var(--ink); }
.nav-toggle { display: none; }
@media (max-width: 66rem) { .header-phone span { display: none; } }
@media (max-width: 56rem) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; margin-left: auto; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--foam); border-radius: 999px; background: transparent; color: var(--white); font: 600 0.95rem var(--font-display); 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(--tide); border-top: 1px solid var(--tide-2); }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0.25rem; }
  .site-nav ul a { padding: 0.75rem 1rem; }
  .header-phone span { display: inline; }
}
@media (max-width: 23rem) {
  .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.5rem) 0; }
.hero-grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 60rem) { .hero-grid.has-photo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 3.5rem; } }
.hero-text { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--marsh); }
.hero .lead { color: var(--foam); margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.quick { margin-top: 2.25rem; }
.quick p { font: 600 0.92rem var(--font-display); color: var(--foam); margin-bottom: 0.6rem; }
.quick ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.quick a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.35rem 1rem; border-radius: 999px; background: var(--tide-2); color: var(--white); text-decoration: none; font: 600 0.95rem var(--font-display); }
.quick a:hover { background: var(--marsh); color: var(--ink); }
.hero-photo { position: relative; margin-bottom: -4rem; z-index: 1; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r) var(--r) var(--r) 0; box-shadow: 0 28px 50px -30px rgba(9, 61, 58, 0.7); }
.hero-photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--marsh); color: var(--ink); font: 600 0.8rem var(--font-display); padding: 0.35rem 0.75rem; border-radius: 0 var(--r-s) 0 0; }
@media (max-width: 59.99rem) { .hero-photo { max-width: 26rem; margin-bottom: -3rem; } }
.after-hero { padding-top: clamp(5.5rem, 9vw, 7.5rem); }

/* ---------- Service cards ---------- */
.svc-group + .svc-group { margin-top: 3rem; }
.svc-group > h3 { font-size: var(--step-2); display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.1rem; }
.svc-group > h3 small { font: 600 0.9rem var(--font-body); color: var(--slate); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(9, 61, 58, 0.55); }
.card picture img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card h3, .card h4 { font: 700 1.15rem/1.3 var(--font-display); margin: 0; }
.card h3 a, .card h4 a { color: var(--ink); text-decoration: none; }
.card h3 a::after, .card h4 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:focus-visible, .card h4 a:focus-visible { outline: none; }
.card:has(a:focus-visible) { outline: 3px solid var(--tide); outline-offset: 3px; }
.card p { margin: 0; color: var(--slate); font-size: 0.98rem; }
.card .more { margin-top: auto; padding-top: 0.6rem; font: 700 0.92rem var(--font-display); color: var(--link); }

/* ---------- Growth chart and month planner ---------- */
.planner { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 62rem) { .planner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 3rem; } }
.chart { background: var(--tide-2); border-radius: var(--r); padding: 1.25rem 1.25rem 1rem; }
.chart svg { display: block; width: 100%; height: auto; }
.chart .grid line { stroke: rgba(207, 230, 226, 0.16); }
.chart .lbl { fill: var(--foam); font: 600 13px var(--font-display); }
.chart .cool { fill: none; stroke: var(--marsh); stroke-width: 4; stroke-linecap: round; }
.chart .warm { fill: none; stroke: var(--foam); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; }
.chart .now { fill: var(--marsh); opacity: 0.18; transition: x .25s; }
.chart-key { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; list-style: none; margin: 0.75rem 0 0; padding: 0; font-size: 0.9rem; }
.chart-key li { display: flex; align-items: center; gap: 0.5rem; }
.chart-key i { display: inline-block; width: 1.75rem; height: 0; border-top: 4px solid var(--marsh); border-radius: 2px; }
.chart-key i.warm { border-top: 3px dotted var(--foam); }
.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.35rem; margin-top: 1rem; }
@media (min-width: 40rem) { .months { grid-template-columns: repeat(12, 1fr); } }
.months button { min-height: 2.75rem; border: 1px solid rgba(207, 230, 226, 0.35); border-radius: var(--r-s); background: transparent; color: var(--white); font: 700 0.9rem var(--font-display); cursor: pointer; }
.months button:hover { background: var(--tide); }
.months button[aria-pressed="true"] { background: var(--marsh); border-color: var(--marsh); color: var(--ink); }
.month-panel { background: var(--white); color: var(--ink); border-radius: var(--r); padding: 1.5rem; }
.month-panel h3 { color: var(--ink); font-size: var(--step-2); margin-bottom: 0.25rem; }
.month-panel .sub { color: var(--slate); font-size: 0.95rem; margin-bottom: 1rem; }
.month-panel ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.month-panel li { display: flex; gap: 0.6rem; padding-block: 0.5rem; border-top: 1px solid var(--line); }
.month-panel li:first-child { border-top: 0; }
.month-panel li .icon { color: var(--link); margin-top: 0.2em; }
.month-panel li a { color: var(--ink); font-weight: 700; }
.month-panel .note { font-size: var(--step--1); color: var(--slate); margin: 0; }
.month-panel a.all { color: var(--link); }

/* ---------- Split: photo + text ---------- */
.split-photo { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .split-photo { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; } .split-photo.flip > :first-child { order: 2; } }
.split-photo picture img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.7rem; }
.checks .icon { color: var(--link); margin-top: 0.2em; }

/* ---------- Height table ---------- */
.height-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r); overflow: hidden; font-size: 0.98rem; }
.height-table th, .height-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.height-table thead th { background: var(--tide); color: var(--white); font: 700 0.95rem var(--font-display); }
.height-table tbody th { font: 700 1rem var(--font-display); background: var(--white); }
.height-table tr:last-child th, .height-table tr:last-child td { border-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--marsh); color: var(--ink); border-radius: var(--r); padding: clamp(1.75rem, 4vw, 3rem); display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 56rem) { .cta-band { grid-template-columns: 1.3fr 1fr; } }
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band p { margin: 0; max-width: 34rem; }
.cta-band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font: 700 1.05rem var(--font-display); }
.cta-band li { display: flex; gap: 0.6rem; align-items: center; }
.cta-band li a { color: var(--ink); overflow-wrap: anywhere; display: inline-block; padding-block: 0.4rem; }
.cta-band .btn-primary, .cta-band .btn-primary:hover { color: var(--white); }
.cta-band .btn-primary { margin-top: 1.25rem; }
.cta-band :focus-visible { outline-color: var(--ink); }

/* ---------- Inner page header ---------- */
.page-hero { padding-block: clamp(2.25rem, 5vw, 3.75rem); background: var(--tide); color: var(--foam); }
.page-hero :focus-visible { outline-color: var(--marsh); }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); max-width: 22ch; margin-bottom: 0.35em; color: var(--white); }
.page-hero p { color: var(--foam); max-width: 40rem; 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(--foam); }
.breadcrumbs a { color: var(--white); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.35rem; opacity: 0.6; }

/* ---------- 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: 54rem) { .split { grid-template-columns: 1.25fr 0.75fr; 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(--link); 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-size: var(--step-1); font-weight: 700; 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(--slate); }
.fact-panel dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.fact-panel.tide { background: var(--tide); border-color: var(--tide); color: var(--foam); }
.fact-panel.tide h2 { color: var(--white); }
.fact-panel.tide a { color: var(--white); }
.fact-panel.tide .btn-marsh, .fact-panel.tide .btn-marsh:hover { color: var(--ink); }
.fact-panel.tide .muted { color: var(--foam); }
.service-aside, .about-aside { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 54rem) { .service-aside, .about-aside { position: sticky; top: 7rem; } }
.service-article h2 { font-size: var(--step-2); margin-top: 2.25rem; }
.related h2 { font: 700 1rem var(--font-display); 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(--link); margin-top: 0.2em; }
.fact-panel.tide .contact-list .icon { color: var(--marsh); }
.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); }
.callout { background: var(--tint); border-radius: var(--r); padding: 1.25rem 1.5rem; margin: 1.75rem 0; }
.callout h3 { margin-bottom: 0.3rem; font-size: 1.1rem; }
.callout p:last-child { margin: 0; }

/* ---------- Lawn guide ---------- */
.guide-toc { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 2.5rem; }
.guide-toc a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.3rem 1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 600 0.95rem var(--font-display); }
.guide-toc a:hover { border-color: var(--tide); color: var(--tide); }
.guide h2 { font-size: var(--step-2); margin-top: 2.75rem; }
.year-table td:first-child { white-space: nowrap; font-weight: 700; }
@media (max-width: 40rem) {
  .year-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .year-table tr, .year-table td { display: block; }
  .year-table td:first-child { padding-bottom: 0; border-bottom: 0; font-family: var(--font-display); }
}

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: 2.75rem; }
.faq-group h2 { font-size: var(--step-2); }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-s); margin-bottom: 0.6rem; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font: 700 1.05rem/1.4 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--tint); color: var(--tide); font: 800 1.1rem/1 var(--font-display); }
.faq details[open] summary::after { content: "–"; background: var(--marsh); color: var(--ink); }
.faq .answer { padding: 0 1.2rem 1.1rem; color: var(--slate); max-width: 42rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 58rem) { .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: 700 1rem var(--font-display); margin-bottom: 0.35rem; }
.field .hint { font: 400 var(--step--1) var(--font-body); color: var(--slate); }
.field input, .field select, .field textarea { width: 100%; padding: 0.7rem 0.9rem; min-height: 3rem; border: 1px solid var(--field); border-radius: var(--r-s); 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(--tide); outline-offset: 0; border-color: var(--tide); }
.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.98rem var(--font-body); margin: 0; }
.consent-check input { width: 1.5rem; height: 1.5rem; margin: 0; accent-color: var(--tide); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.25rem; border-radius: var(--r-s); 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-size: var(--step-1); margin-bottom: 0.3rem; }
.notice p:last-child { margin: 0; }
.form-intro { margin: -0.25rem 0 1.25rem; color: var(--slate); }

/* ---------- Legal pages ---------- */
.legal { max-width: 38rem; }
.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(--slate); }
.legal-notice { background: var(--white); border: 2px solid var(--tide); border-radius: var(--r); padding: 1.25rem 1.5rem; margin: 1.25rem 0 2rem; }
.legal-notice h2 { font-size: 1.1rem; 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-size: 1.05rem; 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-s); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
th { background: var(--tint); font: 700 0.92rem var(--font-display); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td code { font-size: 0.9em; background: var(--bg); padding: 0.1em 0.35em; border-radius: 4px; }
.dns-panel { background: var(--tide); color: var(--foam); border-radius: var(--r); padding: 1.5rem 1.75rem; margin: 1.5rem 0 2.5rem; }
.dns-panel h2 { color: var(--white); font-size: var(--step-1); margin: 0 0 0.5rem; }
.dns-panel strong { color: var(--white); }
.dns-panel :focus-visible { outline-color: var(--marsh); }
.dns-panel .btn-primary { background: var(--marsh); border-color: var(--marsh); color: var(--ink); }
.dns-panel .btn-ghost { color: var(--white); }
.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(--tide-2); color: var(--foam); font-size: 0.97rem; }
.site-footer a, .site-footer .linklike { color: var(--white); }
.site-footer .brand-name span { color: var(--foam); }
.footer-grid { display: grid; gap: 2rem; padding-block: 3.25rem 2.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 26rem; }
@media (min-width: 62rem) { .footer-grid { grid-template-columns: 1.3fr 1.3fr 1.2fr 0.8fr; } .footer-brand { grid-column: auto; } }
.footer-brand p { margin: 0.8rem 0 0; }
.footer-head { font: 800 1.1rem var(--font-display); color: var(--marsh); 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(--marsh); margin-top: 0.15em; }
.footer-list a { 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; }
.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 rgba(207, 230, 226, 0.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; bottom: 1rem; max-width: 33rem; width: calc(100% - 2rem); background: var(--tide); color: var(--foam); border-radius: var(--r); box-shadow: 0 20px 50px -18px rgba(9, 61, 58, 0.8); }
.consent[hidden] { display: none; }
.consent-inner { padding: 1.25rem 1.4rem 1.2rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
.consent-inner:focus { outline: none; }
.consent :focus-visible { outline-color: var(--marsh); }
.consent h2 { color: var(--white); font-size: 1.2rem; margin-bottom: 0.4rem; }
.consent p { font-size: 0.95rem; color: var(--foam); }
.consent a, .consent .linklike { color: var(--white); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.consent-actions .btn { flex: 1 1 8rem; border-color: var(--foam); color: var(--white); }
.consent-actions .btn:hover { background: var(--tide-2); }
.consent-actions .btn[data-consent="accept"], .consent-actions .btn[data-consent="reject"] { background: var(--white); border-color: var(--white); color: var(--tide); }
.consent-actions .btn[data-consent="accept"]:hover, .consent-actions .btn[data-consent="reject"]:hover { background: var(--marsh); border-color: var(--marsh); color: var(--ink); }
.consent-actions .btn-ghost { flex: 0 1 auto; border-color: transparent; }
.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(--foam); }
.switch strong { display: block; color: var(--white); }
.switch input { width: 1.5rem; height: 1.5rem; margin: 0; accent-color: var(--marsh); flex: none; }
@media (max-width: 30rem) {
  .consent { left: 0; bottom: 0; width: 100%; max-width: none; border-radius: var(--r) var(--r) 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.86rem; 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%; transform: translateX(-50%); bottom: 0.5rem; }
  .consent-inner { padding: 0.85rem 1.1rem; }
  .consent p { font-size: 0.86rem; line-height: 1.4; margin-bottom: 0.6rem; }
  .consent-more { display: none; }
}

/* One authored moment: the fescue line draws in when the chart scrolls into view (only when JS is on) */
@media (prefers-reduced-motion: no-preference) {
  .chart.js-draw .cool { stroke-dasharray: 1600; stroke-dashoffset: 1600; }
  .chart.js-draw.is-in .cool { animation: draw 1.6s cubic-bezier(.2,.7,.2,1) forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

@media print { .site-header, .site-footer, .consent, .cta-band { display: none; } }
