/* 12 Hills Dog Rescue — home page
   Palette taken from the roadside sign and the farm itself:
   barn red, warm sand, Nebraska goldenrod, fence-post wood. */

:root {
  --brand: #C8503A;
  --brand-2: #AC4130;
  --ink: #2A2320;
  --ink-2: #544C47;
  --muted: #6B635E;
  --line: #ECE4DE;
  --sky: #FBF7F3;
  --paper: #FFFFFF;
  --gold: #E3B23C;
  --gold-2: #EEC45A;
  --gold-deep: #A2750F;
  --gold-tint: #FDF5DF;
  --coral-tint: #FDEEE8;
  --teal: #177868;
  --teal-tint: #E2F3EE;
  --berry: #A5457A;
  --berry-tint: #F8EAF1;
  --brand-tint: #FCE9E3;
  --wood: #8B6A48;
  --wood-dark: #6F5238;
  --on-brand: #FFFFFF;
  --band-line: rgba(42, 35, 32, .12);

  --sans: "Overpass", "Helvetica Neue", Arial, sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;

  --wrap: 1200px;
  --gutter: 48px;
  --section: clamp(76px, 9vw, 128px);
  --hills: clamp(36px, 5.5vw, 84px);
  --radius: 14px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 { font-family: var(--sans); color: var(--ink); text-wrap: balance; }
h2 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -0.018em; }
h3 { font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter)); margin-inline: auto; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 10px;
  font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-2); }
.btn-line { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-line:hover { background: var(--brand); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-gold:focus-visible { outline-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn-block { width: 100%; }

.text-link {
  font-weight: 700; color: var(--brand); text-decoration: underline;
  text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px;
  transition: text-decoration-color .15s ease;
}
.text-link:hover { text-decoration-color: var(--brand); }
.text-link-light { color: var(--brand); }

/* ---------- Top bar: visiting info ---------- */

.topbar { background: var(--teal); color: var(--on-brand); font-size: 13.5px; line-height: 1.4; }
.topbar-row { display: flex; align-items: center; gap: 12px 28px; min-height: 42px; padding: 8px 0; }
.tb-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.tb-item svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tb-item strong { color: #fff; font-weight: 700; }
.tb-item a { color: inherit; text-decoration: none; }
.tb-item a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.tb-link {
  margin-left: auto; color: var(--gold); font-weight: 700; white-space: nowrap;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.tb-link:hover { color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-name { font-size: 20px; font-weight: 900; letter-spacing: -0.01em; line-height: 1; color: var(--ink); white-space: nowrap; }
.brand-name span { font-weight: 600; }
.brand-text { display: flex; flex-direction: column; gap: 5px; }
.brand-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.brand-light .brand-name { color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--brand); color: var(--brand); }
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; margin-right: 9px; }
.site-nav ul a {
  font-size: 16px; font-weight: 600; text-decoration: none; color: var(--ink);
  padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .15s ease;
}
.site-nav ul a:hover { border-bottom-color: var(--gold); }

.menu-toggle {
  display: none; align-items: center; gap: 10px;
  background: none; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 9px 14px; font-weight: 700; font-size: 15px; cursor: pointer; color: var(--ink);
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero: the farm photo, with the real roadside sign left visible ---------- */

.hero {
  position: relative;
  min-height: clamp(640px, calc(100vh - 76px), 860px);
  background: var(--teal);
  overflow: hidden;
  isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 58%;
  z-index: -2;
}
/* darken the middle for legible text, keep the sign on the left bright */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 14, 12, 0) 28%, rgba(22, 14, 12, .5) 48%, rgba(22, 14, 12, .62) 100%),
    linear-gradient(180deg, rgba(22, 14, 12, .25) 0%, rgba(22, 14, 12, 0) 30%);
}
.hero-inner {
  position: relative; display: flex; align-items: center; justify-content: flex-end;
  min-height: inherit;
  padding: 32px 0 176px;
}
.hero-content { width: min(100%, 500px); margin-right: 0; text-align: left; color: #fff; }
.hero-place {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 6px; border-radius: 999px;
  background: rgba(22, 14, 12, .55); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(4px);
  font-size: 15px; font-weight: 600; color: #fff;
}
.hero-place svg { width: 16px; height: 16px; fill: var(--gold); }
.hero h1 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(44px, 4.9vw, 70px);
  font-weight: 500; line-height: 1.08; letter-spacing: -0.015em;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .4);
}
.hero-sub {
  margin-top: 20px; max-width: 36ch;
  font-size: clamp(18px, 1.45vw, 20px); font-weight: 400; line-height: 1.55;
  color: rgba(255, 255, 255, .95);
  text-shadow: 0 1px 14px rgba(0, 0, 0, .5);
}
.hero-accent { color: #F4D58D; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-actions .btn { min-height: 54px; padding: 12px 26px; font-size: 16.5px; border-radius: 12px; }
.btn-ghost { border-color: rgba(255, 255, 255, .85); color: #fff; background: rgba(22, 14, 12, .35); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--brand); }
.btn-ghost:focus-visible { outline-color: #fff; }

.hills-edge { position: absolute; left: 0; width: 100%; height: var(--hills); display: block; pointer-events: none; }
.hills-sky { fill: var(--sky); }
.hills-coral { fill: var(--coral-tint); }
.hills-teal { fill: var(--teal-tint); }
.hills-top { top: calc(var(--hills) * -1 + 1px); }

/* one orchestrated entrance */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-content { opacity: 0; transform: translateY(18px); transition: opacity .7s ease .15s, transform .8s cubic-bezier(.2, .7, .2, 1) .15s; }
  .js.is-loaded .hero-content { opacity: 1; transform: none; }
}

/* ---------- Quick facts ---------- */

.quick { background: var(--paper); }
.stats {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: -92px 0 0; padding: 8px 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 26px 50px -26px rgba(42, 30, 24, .4);
}
.stats li { display: flex; align-items: center; gap: 16px; padding: 20px 28px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats svg { width: 40px; height: 40px; flex: none; fill: var(--brand); }
.stats p { font-size: 14.5px; line-height: 1.35; color: var(--muted); }
.stats strong { display: block; font-size: 27px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: var(--brand); }
/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section-head { max-width: 640px; }
.section-head p { margin-top: 18px; font-size: 18.5px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Process ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 60px; }
.step-photo {
  aspect-ratio: 5 / 4; overflow: hidden; background: var(--sky);
  border-radius: 50% 50% var(--radius) var(--radius) / 26% 26% var(--radius) var(--radius);
}
.step:nth-child(2) .step-photo { border-radius: 42% 58% var(--radius) var(--radius) / 30% 20% var(--radius) var(--radius); }
.step:nth-child(3) .step-photo { border-radius: 58% 42% var(--radius) var(--radius) / 22% 30% var(--radius) var(--radius); }
.step-photo img { width: 100%; height: 100%; object-fit: cover; }
.step-body { position: relative; padding-top: 34px; }
.step-num {
  position: absolute; top: -26px; left: 22px;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand); color: #fff; border: 4px solid var(--paper);
  font-size: 20px; font-weight: 900;
}
.step h3 { font-size: 27px; }
.step-body > p:not(.step-fact) { margin-top: 10px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.step-fact {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 15.5px; font-weight: 700; line-height: 1.45; color: var(--brand);
}

/* ---------- Adoptable dogs ---------- */

.dogs { background: var(--teal-tint); }
.dogs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 8px 18px;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid rgba(42, 35, 32, .16); border-radius: 999px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }

.dog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.dog {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.dog[hidden] { display: none; }
.dog > img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; background: var(--line); }
.dog-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.dog-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dog-title h3 { font-size: 27px; }
.dog-age {
  flex: none; padding: 4px 11px 3px; border-radius: 999px;
  background: var(--brand-tint); color: var(--brand);
  font-size: 14px; font-weight: 700;
}
.dog-meta { margin-top: 2px; font-size: 15px; color: var(--muted); }
.dog-about { margin: 14px 0 18px; font-family: var(--serif); font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.compat { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.compat li { display: flex; align-items: center; gap: 7px; }
.compat svg { width: 19px; height: 19px; flex: none; }
.compat em { font-style: normal; color: var(--muted); font-weight: 600; }
.dog-link {
  display: block; margin-top: auto; padding: 12px; text-align: center;
  border: 1.5px solid var(--brand); border-radius: 10px;
  font-size: 15.5px; font-weight: 700; text-decoration: none; color: var(--brand);
  transition: background-color .15s ease, color .15s ease;
}
.compat + .dog-link { margin-top: 22px; }
.dog-body .compat { margin-bottom: 0; }
.dog-link:hover { background: var(--brand); color: #fff; }
.dog-empty { margin-top: 40px; max-width: 56ch; font-size: 17px; color: var(--ink-2); }

.dogs-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(42, 35, 32, .12);
  font-size: 18px; color: var(--ink-2);
}
.dogs-foot strong { color: var(--ink); }

/* ---------- Impact ---------- */

.impact {
  position: relative;
  background: var(--coral-tint); color: var(--ink-2);
  padding: clamp(64px, 7vw, 100px) 0 clamp(80px, 9vw, 120px);
}
.impact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.impact h2 { color: var(--ink); }
.impact-copy p { margin: 18px 0 26px; font-size: 18px; max-width: 42ch; }
.figures { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.figures div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 22px 0 32px; border-top: 2px solid var(--brand); }
.figures div:nth-child(n+3) { padding-bottom: 0; }
.figures dd { font-size: clamp(50px, 5.6vw, 78px); font-weight: 900; line-height: 1; letter-spacing: -0.03em; color: var(--brand); font-variant-numeric: tabular-nums; }
.figures dt { margin-top: 10px; font-size: 16px; font-weight: 600; color: var(--ink-2); }

/* ---------- Story ---------- */

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.story-media { position: relative; padding-bottom: 40px; }
.story-main {
  width: 88%; aspect-ratio: 9 / 11; object-fit: cover;
  border-radius: 50% 50% var(--radius) var(--radius) / 22% 22% var(--radius) var(--radius);
}
.story-inset {
  position: absolute; right: 0; bottom: 0;
  width: 50%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 0% 40%;
  border: 8px solid var(--paper); border-radius: 12px;
  box-shadow: 0 20px 40px -18px rgba(42, 30, 24, .45);
}
.prose { margin-top: 26px; font-family: var(--serif); font-size: 18.5px; line-height: 1.78; color: var(--ink-2); max-width: 36em; }
.prose p + p { margin-top: 1em; }
.barn-quote {
  margin: 34px 0 30px; padding: 22px 26px 20px;
  border: 2.5px solid var(--brand); border-radius: 6px;
  display: inline-block;
}
.barn-quote p { font-size: clamp(22px, 2.2vw, 27px); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; color: var(--brand); }
.barn-quote footer { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.story-copy > .text-link { display: table; }

/* ---------- Help + donate ---------- */

.help { background: var(--gold-tint); }
.help-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; }
.help-intro { margin-top: 18px; font-size: 18.5px; color: var(--ink-2); max-width: 46ch; }
.ways { margin-top: 36px; }
.ways li {
  display: grid; grid-template-columns: 170px 1fr; gap: 6px 28px;
  padding: 26px 0; border-top: 1px solid rgba(42, 35, 32, .12);
}
.ways li:last-child { border-bottom: 1px solid rgba(42, 35, 32, .12); }
.ways h3 { grid-row: span 2; font-size: 23px; }
.ways p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.ways .text-link { justify-self: start; margin-top: 8px; font-size: 15.5px; }

.donate {
  position: sticky; top: 100px;
  background: var(--paper); border: 2.5px solid var(--brand); border-radius: var(--radius);
  box-shadow: 0 24px 50px -30px rgba(42, 30, 24, .5);
}
.donate-body { padding: 34px 32px 28px; }
.donate h2 { font-size: 30px; }
.donate fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.donate input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }

.donate .freq { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; border: 1.5px solid var(--brand); border-radius: 10px; overflow: hidden; }
.freq span { display: block; padding: 11px 8px; text-align: center; font-size: 15.5px; font-weight: 700; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.freq input:checked + span { background: var(--brand); color: #fff; }
.freq input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: -3px; }

.amounts legend { margin-bottom: 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
.donate .amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 24px; }
.amounts span {
  display: block; padding: 15px 4px 13px; text-align: center; cursor: pointer;
  border: 1.5px solid rgba(42, 35, 32, .16); border-radius: 10px;
  font-size: 20px; font-weight: 800; color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.amounts span:hover { border-color: var(--brand); }
.amounts input:checked + span { border-color: var(--ink); background: var(--brand-tint); box-shadow: inset 0 0 0 1.5px var(--brand); }
.amounts input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.other { display: block; margin-top: 18px; }
.other > span:first-child { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.other-field {
  display: flex; align-items: center; gap: 4px; padding: 0 14px;
  border: 1.5px solid rgba(42, 35, 32, .16); border-radius: 10px;
  font-size: 18px; font-weight: 700; color: var(--muted);
}
.other-field:focus-within { border-color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.other-field input { flex: 1; min-width: 0; border: 0; padding: 12px 4px; font-size: 18px; font-weight: 700; color: var(--ink); background: transparent; outline: none; }
.donate-impact {
  margin: 20px 0 16px; padding: 14px 16px; border-radius: 10px;
  background: var(--gold-tint); font-size: 15.5px; line-height: 1.5; font-weight: 600; color: var(--ink);
}
.donate-note { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- Adopter stories ---------- */

.stories-grid { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto 1fr; gap: 36px 56px; margin-top: 52px; }
.story-card { margin: 0; }
.story-feature { grid-row: span 2; }
.story-card img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.story-feature img { aspect-ratio: 11 / 8; }
.story-feature figcaption { padding-top: 26px; }
.story-feature blockquote p { font-family: var(--serif); font-size: clamp(21px, 2vw, 25px); line-height: 1.5; color: var(--ink); }
.story-card:not(.story-feature) { display: grid; grid-template-columns: 42% 1fr; gap: 24px; align-items: center; align-self: start; }
.story-card:not(.story-feature) img { aspect-ratio: 1 / 1; }
.story-card:not(.story-feature) blockquote p { font-family: var(--serif); font-size: 17.5px; line-height: 1.6; color: var(--ink); }
.story-card blockquote { margin: 0; }
.who { margin-top: 14px; font-size: 15px; color: var(--muted); }
.who strong { color: var(--ink); font-weight: 700; }

/* ---------- Visit ---------- */

.visit { background: var(--berry-tint); }
.visit-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: stretch; }
.visit-intro { margin-top: 18px; font-size: 18px; color: var(--ink-2); }
.visit-details { margin-top: 30px; }
.visit-details > div { display: grid; grid-template-columns: 128px 1fr; gap: 4px 24px; padding: 18px 0; border-top: 1px solid rgba(42, 35, 32, .12); }
.visit-details dt { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.visit-details dd { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.visit-details dd a:not(.text-link) { color: var(--ink); font-weight: 600; text-decoration: none; }
.visit-details dd a:not(.text-link):hover { text-decoration: underline; }
.visit-details .text-link { display: inline-block; margin-top: 6px; }
.hours { border-collapse: collapse; }
.hours th { padding: 0 20px 4px 0; text-align: left; font-weight: 400; white-space: nowrap; }
.hours td { padding: 0 0 4px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.slow-sign {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  padding: 10px 16px; border-radius: 8px;
  background: var(--gold); color: var(--ink); font-size: 15.5px; font-weight: 700;
}
.slow-sign svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map { min-height: 480px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(42, 35, 32, .12); background: var(--line); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 480px; border: 0; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  background: var(--teal-tint); color: var(--ink-2);
  padding: clamp(56px, 6vw, 84px) 0 36px;
  font-size: 15.5px;
}
.newsletter {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  padding-bottom: 52px; border-bottom: 1px solid var(--band-line);
}
.newsletter h2 { color: var(--ink); font-size: clamp(26px, 2.6vw, 32px); }
.newsletter p { margin-top: 8px; font-size: 17px; }
.news-form { display: flex; flex-wrap: wrap; gap: 10px; width: min(100%, 470px); }
.news-form input {
  flex: 1 1 240px; min-height: 50px; padding: 12px 16px;
  border: 1.5px solid var(--band-line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px;
}
.news-form input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.news-msg { width: 100%; color: var(--brand); font-weight: 700; }

.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.6fr 1fr; gap: 40px; padding: 52px 0 44px; }
.footer-brand p { margin-top: 18px; max-width: 34ch; line-height: 1.65; }
.site-footer h3 { margin-bottom: 12px; font-size: 16px; color: var(--ink); }
.site-footer p { line-height: 1.7; }
.footer-ein { margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.legal { margin-left: auto; text-align: right; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.legal strong { font-weight: 700; color: var(--ink-2); }
.legal-line > * { white-space: nowrap; }
.legal .sep { margin: 0 8px; }
.site-footer ul li + li { margin-top: 6px; }
.site-footer a:not(.btn):not(.brand) { color: var(--ink-2); text-decoration: none; }
.site-footer a:not(.btn):not(.brand):hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }

.footer-base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 26px; border-top: 1px solid var(--band-line); font-size: 14.5px;
}
.footer-brand .social { margin-top: 20px; }
.social { display: flex; gap: 10px; }
.social li + li { margin-top: 0 !important; }
.social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--band-line); color: var(--teal) !important;
  transition: border-color .15s ease, background-color .15s ease;
}
.social a:hover { border-color: var(--teal); background: rgba(255, 255, 255, .5); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Multi-colour accents: repeated items rotate through the palette ---------- */

.stats li:nth-child(1) { --accent: var(--brand); }
.stats li:nth-child(2) { --accent: var(--berry); }
.stats li:nth-child(3) { --accent: var(--teal); }
.stats li:nth-child(4) { --accent: var(--gold-deep); }
.stats li svg { fill: var(--accent); }
.stats li strong { color: var(--accent); }

.step:nth-child(1) { --accent: var(--brand); }
.step:nth-child(2) { --accent: var(--teal); }
.step:nth-child(3) { --accent: var(--berry); }
.step .step-num { background: var(--accent); }
.step .step-fact { color: var(--accent); }

.figures div:nth-child(1) { --accent: var(--brand); }
.figures div:nth-child(2) { --accent: var(--teal); }
.figures div:nth-child(3) { --accent: var(--berry); }
.figures div:nth-child(4) { --accent: var(--gold-deep); }
.figures div { border-top-color: var(--accent); }
.figures div dd { color: var(--accent); }

.ways li:nth-child(1) h3 { color: var(--brand); }
.ways li:nth-child(2) h3 { color: var(--teal); }
.ways li:nth-child(3) h3 { color: var(--berry); }
.ways li:nth-child(4) h3 { color: var(--gold-deep); }

/* ---------- Responsive ---------- */

@media (min-width: 1300px) {
  .hero-content { width: 540px; margin-right: -100px; }
}

@media (max-width: 1180px) {
  .tb-note { display: none; }
  .site-nav { gap: 22px; }
  .site-nav ul { gap: 18px; }
  .stats li { padding: 18px 20px; gap: 12px; }
  .stats svg { width: 34px; height: 34px; }
  .stats strong { font-size: 23px; }
}

@media (max-width: 1080px) {
  .steps { gap: 24px; }
  .dog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .impact-grid, .story-grid, .help-grid, .visit-grid { grid-template-columns: 1fr; gap: 56px; }
  .story-media { max-width: 620px; }
  .donate { position: static; max-width: 560px; }
  .stories-grid { grid-template-columns: 1fr; }
  .story-feature { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .tb-item:first-child span { white-space: normal; }
  .tb-addr { display: none; }
  .hero { min-height: 0; }
  .hero::before { display: none; }
  .hero-photo { position: relative; height: auto; aspect-ratio: 1448 / 1086; object-fit: cover; }
  .hero-inner { display: block; min-height: 0; padding: 36px 0 calc(var(--hills) + 36px); }
  .hero-content { width: 100%; max-width: 560px; margin: 0; }
  .hero-place { font-size: 14.5px; background: rgba(255, 255, 255, .08); }
  .hero-inner { padding-bottom: 116px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: -84px; padding: 0; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px 16px 24px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(42, 30, 24, .35);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-nav ul a:hover { border-bottom-color: var(--line); color: var(--brand-2); }
  .site-nav .btn { min-height: 50px; }
  .steps { grid-template-columns: 1fr; gap: 48px; max-width: 560px; }
}

@media (max-width: 720px) {
  :root { --gutter: 32px; }
  body { font-size: 16.5px; }
  .brand-name { font-size: 18px; }
  .brand-mark { width: 38px; height: 38px; }

  .hero h1 { font-size: clamp(38px, 10.5vw, 48px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .brand-tag { font-size: 9px; letter-spacing: .1em; }
  .stats li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; }
  .stats svg { width: 28px; height: 28px; }
  .stats strong { font-size: 21px; }
  .stats p { font-size: 13.5px; }
  .hero-sub { font-size: 17px; }


  .section-head p, .help-intro, .visit-intro { font-size: 17px; }
  .dog-grid { grid-template-columns: 1fr; }
  .filter { gap: 6px; }
  .chip { padding: 8px 13px; font-size: 14.5px; }
  .dogs-foot .btn { width: 100%; }
  .figures { gap: 0 24px; }
  .figures dt { font-size: 15px; }
  .story-media { padding-bottom: 28px; }
  .story-main { width: 86%; }
  .story-inset { width: 54%; border-width: 6px; }
  .prose { font-size: 17.5px; }
  .ways li { grid-template-columns: 1fr; }
  .ways h3 { grid-row: auto; }
  .donate-body { padding: 26px 20px 22px; }
  .donate .amounts { gap: 8px; }
  .amounts span { font-size: 18px; }
  .story-card:not(.story-feature) { grid-template-columns: 38% 1fr; gap: 18px; }
  .story-card:not(.story-feature) blockquote p { font-size: 16.5px; }
  .visit-details > div { grid-template-columns: 1fr; }
  .hours th, .hours td { display: block; padding: 0; }
  .hours td { margin-bottom: 8px; }
  .map, .map iframe { min-height: 340px; }
  .newsletter { padding-bottom: 40px; }
  .news-form .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 36px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .legal { margin-left: 0; text-align: left; }
}

@media (max-width: 480px) {
  .topbar-row { flex-wrap: wrap; gap: 6px 16px; }
  .tb-item:first-child { display: none; }
  .menu-toggle { padding: 11px 12px; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand { gap: 10px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* =====================================================================
   Inner pages
   ===================================================================== */

.hills-paper { fill: var(--paper); }
.bg-sky { background: var(--sky); }
.bg-teal { background: var(--teal-tint); }
.bg-coral { background: var(--coral-tint); }
.bg-gold { background: var(--gold-tint); }
.bg-berry { background: var(--berry-tint); }

/* page hero */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(420px, 60vh, 580px);
  background: var(--teal); color: #fff;
}
.page-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 14, 12, .72) 0%, rgba(22, 14, 12, .42) 50%, rgba(22, 14, 12, .08) 100%),
    linear-gradient(0deg, rgba(22, 14, 12, .45) 0%, rgba(22, 14, 12, 0) 55%);
}
.page-hero .wrap { padding: 110px 0 calc(var(--hills) + 44px); }
.page-hero .hills-edge { bottom: -1px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.crumbs a { color: #fff; text-decoration: none; border-bottom: 1.5px solid rgba(255, 255, 255, .5); }
.crumbs a:hover { border-bottom-color: var(--gold); }
.crumbs span[aria-hidden] { opacity: .6; }
.page-hero h1 {
  margin-top: 16px; max-width: 17ch;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5vw, 66px); line-height: 1.08; letter-spacing: -0.015em;
  color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.page-hero .lead { margin-top: 18px; max-width: 50ch; font-size: clamp(17.5px, 1.4vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .94); text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.page-hero .hero-actions { margin-top: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .js .page-hero .wrap > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .page-hero .wrap > :nth-child(2) { transition-delay: .06s; }
  .js .page-hero .wrap > :nth-child(3) { transition-delay: .12s; }
  .js .page-hero .wrap > :nth-child(4) { transition-delay: .18s; }
  .js.is-loaded .page-hero .wrap > * { opacity: 1; transform: none; }
}

.page-hero.align-right .wrap { display: flex; flex-direction: column; align-items: flex-end; }
.page-hero.align-right .wrap > * { width: min(100%, 560px); }
.page-hero.align-right::before {
  background:
    linear-gradient(270deg, rgba(22, 14, 12, .72) 0%, rgba(22, 14, 12, .45) 42%, rgba(22, 14, 12, 0) 70%),
    linear-gradient(0deg, rgba(22, 14, 12, .35) 0%, rgba(22, 14, 12, 0) 50%);
}
@media (max-width: 720px) {
  .page-hero.align-right .wrap { align-items: stretch; }
}

/* shared headings inside inner sections */
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font-size: 15px; font-weight: 700; color: var(--brand); margin-bottom: 12px; }

/* split: text beside media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; margin: 0; }
.split-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.split-media .hill-img { aspect-ratio: 9 / 10; border-radius: 50% 50% var(--radius) var(--radius) / 22% 22% var(--radius) var(--radius); }
.split-media figcaption { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.split h2 + .prose, .split h2 + p { margin-top: 22px; }
.split .body-text { margin-top: 18px; font-size: 17.5px; line-height: 1.7; color: var(--ink-2); max-width: 58ch; }
.split .body-text + .body-text { margin-top: 14px; }
.split > div > .btn { margin-top: 28px; }
.split > div > .text-link { display: inline-block; margin-top: 22px; }

/* accent rotation for repeated items */
.accents > :nth-child(4n+1) { --accent: var(--brand); --accent-tint: var(--coral-tint); }
.accents > :nth-child(4n+2) { --accent: var(--teal); --accent-tint: var(--teal-tint); }
.accents > :nth-child(4n+3) { --accent: var(--berry); --accent-tint: var(--berry-tint); }
.accents > :nth-child(4n+4) { --accent: var(--gold-deep); --accent-tint: var(--gold-tint); }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px;
}
.card-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  background: var(--accent-tint, var(--coral-tint));
}
.card-icon svg { width: 26px; height: 26px; fill: var(--accent, var(--brand)); }
.card h3 { font-size: 22px; }
.card p { margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.card .meta { margin-top: auto; padding-top: 18px; font-size: 14.5px; font-weight: 700; color: var(--accent, var(--brand)); }
.card > .text-link, .card-body > .text-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.photo-card { padding: 0; overflow: hidden; }
.photo-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.photo-card .card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }

/* numbered process (a real sequence) */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 52px; position: relative; }
.process-list::before {
  content: ""; position: absolute; top: 26px; left: 26px; right: 12%;
  border-top: 2px dashed rgba(42, 35, 32, .18);
}
.process-list li { position: relative; }
.process-num {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 20px; font-weight: 900;
  box-shadow: 0 0 0 6px var(--section-bg, var(--paper));
}
.process-list h3 { margin-top: 20px; font-size: 21px; }
.process-list p { margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.bg-sky .process-list { --section-bg: var(--sky); }
.bg-teal .process-list { --section-bg: var(--teal-tint); }
.bg-gold .process-list { --section-bg: var(--gold-tint); }
.bg-coral .process-list { --section-bg: var(--coral-tint); }

/* timeline */
.timeline { margin-top: 52px; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 8px 32px; padding: 0 0 36px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px var(--paper);
}
.timeline .year { font-size: 26px; font-weight: 900; line-height: 1.1; color: var(--accent); }
.timeline h3 { font-size: 20px; }
.timeline p { margin-top: 6px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 60ch; }

/* checklists */
.checklist { margin-top: 22px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.checklist strong { color: var(--ink); }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.list-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 30px 32px; }
.list-card h3 { font-size: 22px; }
.list-card .sub { margin-top: 6px; font-size: 15.5px; color: var(--muted); }

/* gallery */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; margin-top: 52px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gallery figure:first-child img { aspect-ratio: auto; }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, .94);
  font-size: 14px; font-weight: 700; color: var(--ink);
}

/* fee table */
.fees { width: 100%; border-collapse: collapse; margin-top: 26px; background: var(--paper); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.fees th, .fees td { padding: 17px 22px; text-align: left; font-size: 16.5px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fees tr:last-child th, .fees tr:last-child td { border-bottom: 0; }
.fees th { font-weight: 700; color: var(--ink); }
.fees td { font-weight: 800; color: var(--brand); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fees .note { display: block; font-weight: 400; font-size: 14.5px; color: var(--muted); margin-top: 2px; }

/* FAQ */
.faq { margin-top: 44px; max-width: 820px; }
.section-head.center + .faq { margin-inline: auto; }
.faq details { border-top: 1px solid rgba(42, 35, 32, .14); }
.faq details:last-child { border-bottom: 1px solid rgba(42, 35, 32, .14); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-size: 18.5px; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--coral-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%23C8503A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand); }
.faq details p { padding: 0 48px 24px 4px; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }

/* forms */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(26px, 3.4vw, 44px); box-shadow: 0 30px 60px -40px rgba(42, 30, 24, .35); }
.form-card h2 { font-size: clamp(28px, 2.8vw, 36px); }
.form-card > p { margin-top: 10px; font-size: 16.5px; color: var(--ink-2); max-width: 60ch; }
.form-fields { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.form-fields > .full { grid-column: 1 / -1; }
.field > span, .field legend { font-size: 15px; font-weight: 700; color: var(--ink); }
.field legend { margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid rgba(42, 35, 32, .18); border-radius: 10px; background: #fff;
  font-size: 16px; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%232A2320' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23, 120, 104, .18); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.options { display: flex; flex-wrap: wrap; gap: 10px; }
.options label { position: relative; }
.options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.options span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(42, 35, 32, .18); background: #fff; font-size: 15px; font-weight: 600; color: var(--ink);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.options input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.options input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--teal); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-actions .btn { min-width: 220px; }
.form-actions small { font-size: 14px; color: var(--muted); }
.form-done { margin-top: 26px; padding: 22px 24px; border-radius: 14px; background: var(--teal-tint); color: var(--ink); }
.form-done:focus { outline: none; }
.form-done strong { display: block; font-size: 19px; color: var(--teal); }
.form-done p { margin-top: 6px; font-size: 16px; color: var(--ink-2); }

/* call-to-action band */
.cta-band { padding: clamp(56px, 7vw, 96px) 0; }
.cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px;
  padding: clamp(32px, 4.4vw, 56px); border-radius: 22px;
  background: var(--teal); color: #fff;
}
.cta-inner h2 { color: #fff; max-width: 20ch; }
.cta-inner p { margin-top: 10px; font-size: 18px; color: rgba(255, 255, 255, .9); max-width: 48ch; }
.cta-inner .hero-actions { margin-top: 0; }

/* contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 4; }
.contact-cards .card { padding: 26px; box-shadow: 0 24px 50px -34px rgba(42, 30, 24, .45); }
.contact-cards .card h3 { font-size: 19px; }
.contact-cards .card p { font-size: 15.5px; }
.contact-cards .card a:not(.text-link) { color: var(--ink); font-weight: 700; text-decoration: none; }
.contact-cards .card a:not(.text-link):hover { color: var(--brand); }
.pull-up { margin-top: -72px; }

/* money breakdown, gift tiers, wish list */
.alloc { margin-top: 30px; }
.alloc li { display: grid; grid-template-columns: 110px 1fr; gap: 4px 24px; align-items: baseline; padding: 20px 0; border-top: 1px solid rgba(42, 35, 32, .12); }
.alloc li:last-child { border-bottom: 1px solid rgba(42, 35, 32, .12); }
.alloc .pct { grid-row: span 2; font-size: 40px; font-weight: 900; line-height: 1; letter-spacing: -0.02em; color: var(--accent); font-variant-numeric: tabular-nums; }
.alloc h3 { font-size: 19px; }
.alloc p { font-size: 15.5px; color: var(--ink-2); }
.tiers { margin-top: 26px; display: grid; gap: 12px; }
.tiers li { display: flex; align-items: center; gap: 18px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.tiers .amt { flex: none; min-width: 84px; padding: 8px 10px; border-radius: 10px; text-align: center; background: var(--accent-tint); color: var(--accent); font-size: 19px; font-weight: 900; }
.tiers p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.wish { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.wish .list-card { padding: 26px; }
.wish h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.wish h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.wish ul { margin-top: 14px; display: grid; gap: 8px; font-size: 15.5px; color: var(--ink-2); }

.quote-band { text-align: center; }
.quote-band blockquote p { max-width: 32ch; margin-inline: auto; font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.35; color: var(--ink); }
.quote-band .who { margin-top: 20px; font-size: 16px; }

.note-box { margin-top: 24px; padding: 18px 20px; border-radius: 12px; background: var(--gold-tint); font-size: 15.5px; line-height: 1.6; color: var(--ink); }

@media (max-width: 1080px) {
  .card-grid, .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process-list::before { display: none; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .wish { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split-media { max-width: 640px; }
}

@media (max-width: 720px) {
  .page-hero { min-height: 440px; }
  .page-hero::before { background: linear-gradient(0deg, rgba(22, 14, 12, .8) 0%, rgba(22, 14, 12, .48) 60%, rgba(22, 14, 12, .25) 100%); }
  .page-hero .wrap { padding: 96px 0 calc(var(--hills) + 32px); }
  .page-hero .hero-actions .btn { flex: 1 1 100%; }
  .card-grid, .card-grid.two, .card-grid.four, .process-list, .two-lists, .contact-cards, .wish { grid-template-columns: 1fr; }
  .card, .list-card { padding: 24px; }
  .timeline li { grid-template-columns: 1fr; padding-left: 28px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery figure:first-child img { aspect-ratio: 4 / 3; }
  .fees th, .fees td { padding: 14px 16px; font-size: 15.5px; }
  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 4px; }
  .form-fields { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .alloc li { grid-template-columns: 84px 1fr; }
  .alloc .pct { font-size: 32px; }
  .cta-inner .btn { flex: 1 1 100%; }
  .pull-up { margin-top: -40px; }
}

/* plain page hero and long-form documents (privacy policy) */
.page-hero.simple { min-height: 0; background: var(--teal-tint); color: var(--ink); }
.page-hero.simple::before { display: none; }
.page-hero.simple .wrap { padding: 72px 0 calc(var(--hills) + 40px); }
.page-hero.simple .crumbs { color: var(--muted); }
.page-hero.simple .crumbs a { color: var(--ink); border-bottom-color: rgba(42, 35, 32, .3); }
.page-hero.simple h1 { color: var(--ink); text-shadow: none; }
.page-hero.simple .lead { color: var(--ink-2); text-shadow: none; }
.doc-date { margin-top: 16px; font-size: 14.5px; font-weight: 700; color: var(--teal); }
.doc-section { padding-top: clamp(40px, 5vw, 64px); }
.doc-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.toc { position: sticky; top: 100px; padding: 22px 24px; border-radius: 16px; background: var(--sky); border: 1px solid var(--line); }
.toc-title { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.toc ol { display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--brand); }
.doc { max-width: 72ch; }
.doc-summary { padding: 20px 22px; border-radius: 14px; background: var(--gold-tint); font-size: 17px; line-height: 1.65; color: var(--ink); }
.doc h2 { margin-top: 52px; font-size: clamp(24px, 2.3vw, 30px); scroll-margin-top: 100px; }
.doc h3 { margin-top: 26px; font-size: 19px; }
.doc p, .doc li, .doc address { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.doc h2 + p, .doc h3 + p, .doc h2 + ul { margin-top: 12px; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 14px; }
.doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }
.doc li::marker { color: var(--brand); }
.doc strong { color: var(--ink); }
.doc a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.doc address { margin-top: 12px; font-style: normal; }
.footer-links { display: inline-flex; gap: 18px; margin-left: 18px; }
.form-actions small a { color: var(--ink-2); font-weight: 600; }
@media (max-width: 900px) {
  .doc-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { grid-template-columns: 1fr 1fr; column-gap: 20px; }
}
@media (max-width: 480px) {
  .toc ol { grid-template-columns: 1fr; }
  .footer-links { display: flex; margin: 8px 0 0; }
}

.footer-mails { margin-top: 12px; display: grid; gap: 8px; }
.site-footer .footer-mails li + li { margin-top: 0; }
.footer-mails span { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.footer-mails a { font-size: 14.5px; overflow-wrap: anywhere; }
