/* =====================================================================
   Superior Lawn & Landscaping — "Stone & Sand Editorial"
   Vanilla CSS. Works via file://. Light + dark themes via tokens only.
   ===================================================================== */

/* ---------- Brand palette (raw, used only to compose tokens) ---------- */
:root {
  --c-charcoal: #1B1A18;
  --c-charcoal-2: #232220;
  --c-charcoal-3: #2c2b28;
  --c-sand: #C9A36A;
  --c-sand-soft: #D8BE92;
  --c-terracotta: #B7613B;
  --c-terracotta-soft: #C8794F;
  --c-moss: #3B4A3F;
  --c-moss-light: #5C7363;
  --c-cream: #F5F1E8;
  --c-cream-2: #ECE5D6;
  --c-cream-3: #E2D9C6;

  /* Type scale (fluid where it helps) */
  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.92rem);
  --step-0: clamp(1rem, 0.95rem + 0.22vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.36rem + 0.7vw, 1.95rem);
  --step-3: clamp(1.9rem, 1.65rem + 1.2vw, 2.7rem);
  --step-4: clamp(2.4rem, 1.95rem + 2.1vw, 3.9rem);
  --step-5: clamp(2.9rem, 2.15rem + 3.6vw, 5.2rem);

  /* Spacing scale (4 / 8 based) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  --container: 1180px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;

  --header-h: 76px;
}

/* ---------- DARK theme (default) ---------- */
:root,
[data-theme='dark'] {
  color-scheme: dark;
  --bg: var(--c-charcoal);
  --bg-2: #201f1c;
  --surface: #232220;
  --surface-2: #2b2926;
  --surface-raised: #2f2d29;
  --text: #F3EEE3;
  --text-strong: #FBF8F0;
  --muted: #B6AE9E;
  --muted-2: #938b7c;
  --primary: var(--c-sand);
  --primary-strong: var(--c-sand-soft);
  --on-primary: #1B1A18;
  --accent: var(--c-terracotta-soft);
  --accent-ink: var(--c-terracotta-soft);
  --moss: var(--c-moss-light);
  --sand: var(--c-sand);
  --terracotta: var(--c-terracotta-soft);
  --border: rgba(245, 241, 232, 0.14);
  --border-strong: rgba(245, 241, 232, 0.26);
  --ring: var(--c-sand);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.34);
  --shadow-2: 0 18px 50px rgba(0, 0, 0, 0.5);
  --brand-mark-bg: #2f2d29;
  --header-bg: rgba(24, 23, 21, 0.78);
  --hero-scrim-top: rgba(20, 19, 17, 0.30);
  --hero-scrim-bottom: rgba(20, 19, 17, 0.92);
  --hero-text: #F7F3EA;
  --hero-muted: #E4DDCE;
  --hero-chip-bg: rgba(28, 27, 24, 0.55);
  --hero-chip-border: rgba(245, 241, 232, 0.22);
  --stone-line: rgba(245, 241, 232, 0.05);
}

/* ---------- LIGHT theme ---------- */
[data-theme='light'] {
  color-scheme: light;
  --bg: var(--c-cream);
  --bg-2: #EFE9DC;
  --surface: #FFFFFF;
  --surface-2: #FBF8F1;
  --surface-raised: #FFFFFF;
  --text: #2A2620;
  --text-strong: var(--c-charcoal);
  --muted: #6A6356;
  --muted-2: #6F685B;        /* AA on white (5.5:1) and cream (4.9:1) */
  --primary: #876328;        /* darkened sand; white text clears AA (5.46:1) */
  --primary-strong: #6F5020;
  --on-primary: #FFFFFF;
  --accent: var(--c-terracotta);
  --accent-ink: #9C4E2C;     /* darker terracotta for text contrast (5.26:1 on cream) */
  --moss: var(--c-moss);
  --sand: #876328;           /* matches --primary so sand-as-text also clears AA */
  --terracotta: var(--c-terracotta);
  --border: rgba(27, 26, 24, 0.14);
  --border-strong: rgba(27, 26, 24, 0.24);
  --ring: #876328;
  --shadow-1: 0 1px 2px rgba(60, 50, 30, 0.06), 0 10px 28px rgba(60, 50, 30, 0.10);
  --shadow-2: 0 22px 56px rgba(60, 50, 30, 0.16);
  --brand-mark-bg: #1B1A18;
  --header-bg: rgba(245, 241, 232, 0.82);
  --hero-scrim-top: rgba(20, 19, 17, 0.28);
  --hero-scrim-bottom: rgba(20, 19, 17, 0.86);
  --hero-text: #F7F3EA;       /* hero sits over dark imagery in both themes */
  --hero-muted: #E8E1D2;
  --hero-chip-bg: rgba(28, 27, 24, 0.46);
  --hero-chip-border: rgba(245, 241, 232, 0.28);
  --stone-line: rgba(27, 26, 24, 0.045);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 82% -8%, color-mix(in srgb, var(--primary) 9%, transparent), transparent 60%),
    linear-gradient(var(--stone-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--stone-line) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  background-attachment: fixed, fixed, fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  color: var(--text-strong);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: color-mix(in srgb, var(--primary) 38%, transparent); color: var(--text-strong); }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.section { padding-block: clamp(var(--sp-8), 6vw, var(--sp-10)); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--sp-4); top: -64px;
  z-index: 200;
  background: var(--primary); color: var(--on-primary);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: var(--sp-3);
}

.section-head {
  max-width: 64ch;
  margin-bottom: clamp(var(--sp-6), 4vw, var(--sp-8));
}
.section-head h2 { font-size: var(--step-3); margin-bottom: var(--sp-4); }
.section-intro { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1;
  padding: 0.85em 1.4em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn-lg { padding: 1em 1.7em; font-size: var(--step-0); }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-1);
}
.btn-primary:hover { background: var(--primary-strong); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--hero-chip-bg);
  color: var(--hero-text);
  border-color: var(--hero-chip-border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--hero-text); transform: translateY(-2px); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: var(--sp-3); flex: none; }
.brand-mark { display: inline-flex; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.primary-nav { display: none; }
.primary-nav ul { list-style: none; display: flex; gap: clamp(var(--sp-4), 2vw, var(--sp-6)); padding: 0; }
.primary-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: var(--sp-2) 0;
  position: relative;
  transition: color var(--dur) var(--ease);
}
.primary-nav a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--primary);
  transition: right var(--dur) var(--ease);
}
.primary-nav a:hover { color: var(--text-strong); }
.primary-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: var(--sp-3); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.theme-toggle:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme='light'] .theme-toggle .icon-sun { display: block; }
[data-theme='light'] .theme-toggle .icon-moon { display: none; }

.header-cta { display: none; }

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0 11px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: var(--sp-4) var(--sp-5) var(--sp-6);
}
.mobile-nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; }
.mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav a {
  display: block;
  padding: var(--sp-4) var(--sp-1);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
}
.mobile-nav .btn { margin-top: var(--sp-5); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(var(--sp-8), 14vw, var(--sp-10));
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--hero-scrim-top) 0%, transparent 32%, var(--hero-scrim-bottom) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 50ch; }
.hero .eyebrow { color: var(--sand); }
.hero h1 {
  font-size: var(--step-5);
  color: var(--hero-text);
  margin-bottom: var(--sp-5);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero-lead {
  font-size: var(--step-1);
  color: var(--hero-muted);
  max-width: 54ch;
  margin-bottom: var(--sp-6);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-7); }

.trust-chips {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3);
}
.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--hero-text);
  background: var(--hero-chip-bg);
  border: 1px solid var(--hero-chip-border);
  border-radius: var(--radius-pill);
  padding: 0.5em 0.9em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.trust-chips svg { color: var(--sand); }

/* =====================================================================
   VALUE STRIP
   ===================================================================== */
.value-strip {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5) var(--sp-4);
  padding-block: var(--sp-6);
}
.value-item { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.value-num {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--text-strong);
}
.value-label { font-size: var(--step--1); color: var(--muted); }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-grid { display: grid; gap: clamp(var(--sp-7), 5vw, var(--sp-9)); }
.about-copy h2 { font-size: var(--step-3); margin-bottom: var(--sp-5); }
.about-copy p { color: var(--muted); margin-bottom: var(--sp-4); max-width: 64ch; }
.about-copy strong { color: var(--text-strong); font-weight: 600; }

.cred-list { list-style: none; padding: 0; margin-top: var(--sp-6); display: grid; gap: var(--sp-4); }
.cred-list li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.cred-list svg { color: var(--primary); flex: none; margin-top: 2px; }
.cred-list div { display: flex; flex-direction: column; }
.cred-list strong { color: var(--text-strong); font-weight: 600; }
.cred-list span { font-size: var(--step--1); color: var(--muted); }

.about-aside { display: grid; gap: var(--sp-4); align-content: start; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.stat-card--accent {
  background: linear-gradient(150deg, color-mix(in srgb, var(--moss) 24%, var(--surface)), var(--surface));
  border-color: color-mix(in srgb, var(--moss) 32%, var(--border));
}
.stat-figure {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1;
}
.stat-unit { font-size: 0.4em; color: var(--primary); margin-left: 0.15em; font-weight: 600; }
.stat-text { font-size: var(--step--1); color: var(--muted); }

/* =====================================================================
   SERVICES
   ===================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--dur) var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-2);
}
.service-card:hover::after { transform: scaleY(1); }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--primary) 16%, transparent);
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 26%, transparent);
}
.service-card h3 { font-size: var(--step-1); }
.service-card p { color: var(--muted); font-size: var(--step-0); }

/* =====================================================================
   PRICING
   ===================================================================== */
.pricing { background: var(--bg-2); border-block: 1px solid var(--border); }
.price-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-1); }
.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 360px;
  font-variant-numeric: tabular-nums;
}
.price-table caption { text-align: left; }
.price-table th, .price-table td { text-align: left; padding: var(--sp-4) var(--sp-5); }
.price-table thead th {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border-strong);
}
.price-table tbody tr { border-bottom: 1px solid var(--border); }
.price-table tbody tr:last-child { border-bottom: none; }
.price-table tbody tr:hover { background: var(--surface-2); }
.price-table tbody th {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-strong);
  font-size: var(--step-0);
}
.price-col { text-align: right; white-space: nowrap; }
.price-figure {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--text-strong);
}
.price-unit { color: var(--muted); font-size: var(--step--1); margin-left: 0.35em; }

.price-disclaimer {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  margin-top: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: var(--radius);
  color: var(--text);
  font-size: var(--step--1);
  max-width: 70ch;
}
.price-disclaimer svg { color: var(--accent-ink); flex: none; margin-top: 1px; }
.price-disclaimer em { font-style: italic; }

.pricing-cta { margin-top: var(--sp-6); }

/* =====================================================================
   GALLERY
   ===================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
.gallery-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
  aspect-ratio: 4 / 3;
}
.gallery-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--sp-5) var(--sp-4) var(--sp-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  color: #F7F3EA;
  background: linear-gradient(transparent, rgba(20, 19, 17, 0.78));
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* =====================================================================
   TESTIMONIAL
   ===================================================================== */
.testimonial { background: var(--surface); border-block: 1px solid var(--border); }
.quote-card {
  max-width: 56ch;
  margin-inline: auto;
  text-align: center;
  position: relative;
  padding-top: var(--sp-6);
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--primary);
  opacity: 0.5;
  display: block;
  height: 0.5em;
}
.quote-card blockquote p {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-strong);
  font-style: italic;
}
.quote-card figcaption { margin-top: var(--sp-5); display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); }
.quote-stars { display: inline-flex; gap: 3px; color: var(--primary); }
.quote-attr {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =====================================================================
   SERVICE AREA
   ===================================================================== */
.area-grid { display: grid; gap: clamp(var(--sp-6), 5vw, var(--sp-8)); align-items: center; }
.area-copy h2 { font-size: var(--step-3); margin-bottom: var(--sp-4); }
.area-copy > p { color: var(--muted); max-width: 60ch; }
.town-list {
  list-style: none; padding: 0;
  margin-top: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
}
.town-list li {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.5em 1em;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.town-list li:hover { border-color: var(--primary); color: var(--text-strong); }
.area-note { margin-top: var(--sp-5); font-size: var(--step--1); color: var(--muted-2); }

.area-motif {
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { background: var(--bg-2); border-top: 1px solid var(--border); }
.contact-grid { display: grid; gap: clamp(var(--sp-6), 5vw, var(--sp-8)); }
.contact-intro h2 { font-size: var(--step-3); margin-bottom: var(--sp-4); }
.contact-intro > p { color: var(--muted); max-width: 52ch; }

.contact-methods { list-style: none; padding: 0; margin-top: var(--sp-6); display: grid; gap: var(--sp-4); }
.contact-methods li { display: flex; gap: var(--sp-4); align-items: flex-start; }
.contact-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 26%, transparent);
  color: var(--primary);
}
.contact-methods div { display: flex; flex-direction: column; }
.contact-label {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-methods a { color: var(--text-strong); font-weight: 500; transition: color var(--dur) var(--ease); }
.contact-methods a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.contact-static { color: var(--text-strong); font-weight: 500; }

/* Form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--sp-5), 4vw, var(--sp-7));
  box-shadow: var(--shadow-2);
}
.form-lead {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: var(--sp-5);
}
.field { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.field-row { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
.field label { font-size: var(--step--1); font-weight: 600; color: var(--text); }
.field input, .field textarea {
  font: inherit;
  font-size: var(--step-0);
  color: var(--text);
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75em 0.9em;
  width: 100%;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent);
}
.field input[aria-invalid='true'], .field textarea[aria-invalid='true'] {
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

.form-status {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  background: color-mix(in srgb, var(--moss) 18%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--moss) 36%, var(--border));
  color: var(--text-strong);
}
.form-status[data-state='error'] {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 36%, var(--border));
}
.form-fineprint { margin-top: var(--sp-4); font-size: var(--step--1); color: var(--muted-2); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: clamp(var(--sp-7), 5vw, var(--sp-9));
  margin-top: var(--sp-2);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
}
.footer-brand .brand { margin-bottom: var(--sp-4); }
.footer-tag { color: var(--muted); font-size: var(--step--1); max-width: 40ch; margin-bottom: var(--sp-4); }
.footer-badges { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.footer-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
  background: color-mix(in srgb, var(--moss) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--moss) 32%, var(--border));
  border-radius: var(--radius-pill);
  padding: 0.4em 0.8em;
}
[data-theme='dark'] .footer-badge { color: var(--c-moss-light); }

.footer-heading {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-4);
}
.footer-nav ul, .footer-contact ul { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.footer-nav a, .footer-contact a { color: var(--text); font-size: var(--step-0); transition: color var(--dur) var(--ease); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--primary); }
.footer-contact li { color: var(--muted); font-size: var(--step-0); }
.footer-hours { font-variant-numeric: tabular-nums; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.footer-bottom p { font-size: var(--step--1); color: var(--muted-2); }
.footer-disclaimer { font-style: italic; }

/* =====================================================================
   PAGE-LOAD REVEAL (gated by prefers-reduced-motion)
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: reveal-in 600ms var(--ease) forwards;
  }
  .reveal-group .reveal:nth-child(1) { animation-delay: 90ms; }
  .reveal-group .reveal:nth-child(2) { animation-delay: 180ms; }
  .reveal-group .reveal:nth-child(3) { animation-delay: 270ms; }
  .reveal-group .reveal:nth-child(4) { animation-delay: 360ms; }
  .reveal-group .reveal:nth-child(5) { animation-delay: 450ms; }

  @keyframes reveal-in {
    to { opacity: 1; transform: translateY(0); }
  }

  /* Scroll-in for sections observed by JS */
  .in-view-init { opacity: 0; transform: translateY(26px); }
  .in-view {
    opacity: 1; transform: translateY(0);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  }
}

/* =====================================================================
   RESPONSIVE — progressively enhance up
   ===================================================================== */
@media (min-width: 600px) {
  .value-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 768px) {
  .header-cta { display: inline-flex; }
  .about-aside { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 2fr 1fr 1.2fr; gap: var(--sp-8); }
}

@media (min-width: 880px) {
  .about-aside { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .primary-nav { display: block; }

  .about-grid { grid-template-columns: 1.5fr 1fr; align-items: start; }
  .about-aside { grid-template-columns: 1fr; position: sticky; top: calc(var(--header-h) + var(--sp-5)); }

  .card-grid { grid-template-columns: repeat(3, 1fr); }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
  }
  .gallery-tile { aspect-ratio: auto; }
  .gallery-tile.tile-wide { grid-column: span 2; }

  .area-grid { grid-template-columns: 1.2fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.05fr; align-items: start; }
}

@media (min-width: 1180px) {
  .container { padding-inline: var(--sp-6); }
}

/* Reduce blur cost on very small screens / save battery */
@media (max-width: 420px) {
  .site-header { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
