/* ==========================================================================
   Killaloe Lakeside Stays — site styles
   Palette: Shannon mist ground, lough-ink text, fairway green accent,
   trophy gold used sparingly for the Ryder Cup references.
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #eef1ee;
  --surface: #ffffff;
  --surface-2: #e2e8e3;
  --ink: #14262b;
  --ink-2: #3e5250;
  --muted: #6b7b74;
  --line: #c9d3cd;
  --line-strong: #a9b8b0;
  --accent: #1f6b4a;
  --accent-hover: #185a3d;
  --accent-soft: #dcebe2;
  --accent-ink: #ffffff;
  --gold: #a07019;
  --gold-soft: #f3e8cf;
  --water-1: #2f6f78;
  --water-2: #8dbbc0;
  --shadow: 0 1px 2px rgba(20, 38, 43, .06), 0 10px 30px -12px rgba(20, 38, 43, .18);
  --radius: 6px;
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --measure: 66ch;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1b1e;
  --surface: #162529;
  --surface-2: #1d3036;
  --ink: #e7ece8;
  --ink-2: #bcc8c2;
  --muted: #8c9c95;
  --line: #2a3e44;
  --line-strong: #3e565d;
  --accent: #4fb58a;
  --accent-hover: #67c69d;
  --accent-soft: #1b3a2e;
  --accent-ink: #0f1b1e;
  --gold: #d9b45a;
  --gold-soft: #3a3120;
  --water-1: #7cc1c9;
  --water-2: #2f6f78;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-optical-sizing: auto;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; max-width: var(--measure); }
ul, ol { padding-left: 1.2em; max-width: var(--measure); }
li { margin-bottom: .35em; }
small, .small { font-size: .9rem; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.eyebrow {
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .75rem;
}
.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}
.muted { color: var(--muted); }
.num { font-family: var(--font-display); font-variant-numeric: tabular-nums; }

/* Layout -------------------------------------------------------------- */
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 70ch; margin-bottom: 2rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2.5rem; align-items: start; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand small { display: block; font-weight: 500; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: .15rem; flex-wrap: wrap; }
.nav a { font-family: var(--font-display); font-size: .9rem; font-weight: 600; color: var(--ink-2); text-decoration: none; padding: .45rem .7rem; border-radius: 4px; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav .cta { background: var(--accent); color: var(--accent-ink); border-radius: 4px; margin-left: .4rem; }
.nav .cta:hover { background: var(--accent-hover); color: var(--accent-ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--ink); border-radius: 4px; padding: .4rem .6rem; font-family: var(--font-display); font-weight: 600; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; padding: .75rem 1.25rem 1rem; gap: .1rem; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: .7rem .5rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: .9rem; }
  .nav .cta { margin: .5rem 0 0; text-align: center; }
}

/* Notice ribbon (placeholder mode) ------------------------------------ */
.notice {
  background: var(--gold-soft); color: var(--ink);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  font-family: var(--font-display); font-size: .85rem; font-weight: 500;
  padding: .5rem 0; text-align: center;
}
.notice .wrap { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.notice strong { color: var(--gold); font-weight: 700; }

/* Hero (photo) ---------------------------------------------------------- */
.hero-photo { position: relative; isolation: isolate; color: #fff; background: #14262b; padding-block: clamp(4rem, 10vw, 7.5rem) clamp(5rem, 9vw, 7rem); }
.hero-photo .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 45%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(12,26,30,.80) 0%, rgba(12,26,30,.50) 42%, rgba(12,26,30,.10) 100%), linear-gradient(0deg, rgba(12,26,30,.55) 0%, rgba(12,26,30,0) 35%); }
.hero-photo .eyebrow { color: #e9c35a; }
.hero-photo h1 { color: #fff; max-width: 15ch; margin-bottom: 1rem; }
.hero-photo .lede { color: rgba(255,255,255,.88); margin-bottom: 1.75rem; }
.hero-photo .btn-secondary { color: #fff; border-color: rgba(255,255,255,.55); }
.hero-photo .btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero-photo .credit-unused { position: absolute; right: 1rem; bottom: .6rem; font-family: var(--font-display); font-size: .7rem; letter-spacing: .05em; color: rgba(255,255,255,.55); }
.facts-overlap { margin-top: -3.5rem; position: relative; z-index: 2; }
.facts-overlap .facts { box-shadow: var(--shadow); }
@media (max-width: 900px) { .facts-overlap { margin-top: -2rem; } }

.figure { margin: 0; }
.figure img { width: 100%; height: auto; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.figure figcaption { font-family: var(--font-display); font-size: .8rem; color: var(--muted); margin-top: .5rem; }
.photo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.photo-strip .figure img { aspect-ratio: 3 / 2; }
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr; } }

/* Hero (plain) ----------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: end; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1rem; max-width: 14ch; }
.hero .lede { margin-bottom: 1.6rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-art { position: absolute; inset: auto 0 0 0; height: 140px; pointer-events: none; opacity: .9; }
.hero-art svg { width: 100%; height: 100%; }

/* Key fact rail ------------------------------------------------------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.facts > div { padding: 1.1rem 1.25rem; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts .label { font-family: var(--font-display); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; font-weight: 600; }
.facts .value { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.facts .sub { font-size: .9rem; color: var(--ink-2); margin-top: .2rem; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts > div:nth-child(2) { border-right: 0; } .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts > div { border-right: 0; border-bottom: 1px solid var(--line); } .facts > div:last-child { border-bottom: 0; } }

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  padding: .7rem 1.1rem; border-radius: 4px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; line-height: 1.2;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--surface-2); color: var(--ink); }
.btn-sm { padding: .5rem .8rem; font-size: .85rem; }

/* Cards --------------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.panel { background: var(--surface-2); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.panel h3, .panel h4 { margin-top: 0; }
.callout { border-left: 3px solid var(--gold); background: var(--surface); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin-bottom: 0; }

/* Chips --------------------------------------------------------------- */
.chip { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .22rem .55rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.chip-gold { background: var(--gold-soft); color: var(--gold); }
.chip-muted { background: var(--surface-2); color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }

/* Property cards ------------------------------------------------------ */
.property-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 800px) { .property-grid { grid-template-columns: 1fr; } }
.property { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.property-photo { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(160deg, var(--water-2), var(--water-1)); display: grid; place-items: center; color: #fff; isolation: isolate; }
.property-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.property-photo .ph { position: relative; z-index: 1; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.property-photo .ph svg { width: 56px; height: 56px; margin: 0 auto .4rem; opacity: .85; }
.property-photo .tag { position: absolute; top: .8rem; left: .8rem; z-index: 2; }
.property-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.property-body h3 { margin: 0; font-size: 1.35rem; }
.property-loc { color: var(--muted); font-size: .95rem; margin-top: .15rem; }
.specs { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-family: var(--font-display); font-size: .9rem; font-weight: 600; color: var(--ink-2); padding: 0; margin: 0; list-style: none; }
.specs li { margin: 0; display: inline-flex; align-items: center; gap: .35rem; }
.specs svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.property-desc { margin: 0; font-size: 1rem; color: var(--ink-2); }
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .9rem 0; }
.pricing .label { font-family: var(--font-display); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pricing .value { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.pricing .sub { font-size: .85rem; color: var(--ink-2); }
.pricing-enquire { grid-template-columns: 1fr; }
.pricing-enquire .value { font-size: 1.15rem; }
.avail { display: grid; gap: .25rem; font-size: .95rem; }
.avail div { display: flex; justify-content: space-between; gap: 1rem; }
.avail dt { color: var(--muted); font-family: var(--font-display); font-size: .85rem; font-weight: 600; }
.avail dd { margin: 0; font-family: var(--font-display); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.property-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: auto; padding-top: .3rem; }

/* Property detail (properties page) ----------------------------------- */
.property-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; padding-block: 2.5rem; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.property-detail:first-of-type { border-top: 0; }
@media (max-width: 900px) { .property-detail { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 110px; gap: .5rem; }
.gallery .property-photo:first-child { grid-column: 1 / -1; grid-row: span 2; }
.gallery .property-photo { aspect-ratio: auto; border-radius: 4px; }
.gallery .property-photo .ph { font-size: .7rem; }
.gallery .property-photo .ph svg { width: 30px; height: 30px; }
.amenities { columns: 2; column-gap: 1.5rem; padding: 0; list-style: none; margin: 0; }
.amenities li { break-inside: avoid; padding: .3rem 0 .3rem 1.4rem; position: relative; font-size: .97rem; }
.amenities li::before { content: ""; position: absolute; left: 0; top: .78em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
@media (max-width: 520px) { .amenities { columns: 1; } }
.detail-meta { display: grid; gap: .5rem; }
.rate-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rate-table th, .rate-table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.rate-table td:first-child { min-width: 9.5rem; }
.rate-table td:last-child { white-space: nowrap; }
.rate-table th { font-family: var(--font-display); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.rate-table td:last-child, .rate-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.rate-table td.num { font-family: var(--font-display); font-weight: 700; }

/* Tables -------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
table.data th, table.data td { padding: .75rem .9rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { font-family: var(--font-display); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--surface-2); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.num, table.data th.num { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
table.data tr.highlight td { background: var(--accent-soft); }
table.data .day { font-family: var(--font-display); font-weight: 700; white-space: nowrap; }

/* Timeline (schedule) ------------------------------------------------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; max-width: none; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.timeline li:last-child { border-bottom: 0; }
.timeline .when { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.timeline .when small { display: block; font-weight: 600; color: var(--muted); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.timeline .what h4 { margin: 0 0 .2rem; }
.timeline .what p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.timeline li.match .when { color: var(--accent); }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: .3rem; } }

/* Steps --------------------------------------------------------------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; max-width: none; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.2rem 1fr; gap: .9rem; align-items: start; margin: 0; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 800; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: .95rem; }
.steps h4 { margin: .25rem 0 .2rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* Distance list ------------------------------------------------------- */
.dist { list-style: none; padding: 0; margin: 0; max-width: none; }
.dist li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); margin: 0; align-items: baseline; }
.dist li:last-child { border-bottom: 0; }
.dist .num { font-weight: 700; white-space: nowrap; }
.dist small { color: var(--muted); display: block; font-size: .85rem; }

/* FAQ ----------------------------------------------------------------- */
details.faq { border-bottom: 1px solid var(--line); padding: .25rem 0; }
details.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; padding: .75rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; flex: none; }
details.faq[open] summary::after { content: "–"; }
details.faq .answer { padding: 0 0 1rem; color: var(--ink-2); }
details.faq .answer p:last-child { margin-bottom: 0; }

/* Forms --------------------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-display); font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 4px; padding: .65rem .75rem; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field .hint { font-size: .85rem; color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .7rem; align-items: start; margin: 0; }
.contact-list svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.7; margin-top: .15rem; }
.contact-list .k { font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.contact-list .v { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }

/* Footer -------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem 3rem; margin-top: 2rem; background: var(--surface); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 800px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .3rem; font-size: .95rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.2rem; font-size: .85rem; color: var(--muted); max-width: none; }
.site-footer .legal p { max-width: none; margin-bottom: .4rem; }

/* Page intro band ------------------------------------------------------ */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--bg)); }
.page-head h1 { max-width: 18ch; }
.page-head .lede { margin-bottom: 0; }

/* Sticky in-page nav ---------------------------------------------------- */
.subnav { display: flex; gap: .25rem; flex-wrap: wrap; padding: .6rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: .85rem; font-weight: 600; }
.subnav a { color: var(--ink-2); text-decoration: none; padding: .35rem .6rem; border-radius: 4px; }
.subnav a:hover { background: var(--surface-2); color: var(--ink); }

/* Source notes ----------------------------------------------------------- */
.sources { font-size: .85rem; color: var(--muted); max-width: none; }
.sources a { color: var(--muted); }
.sources ul { columns: 2; column-gap: 2rem; max-width: none; }
@media (max-width: 700px) { .sources ul { columns: 1; } }

/* Compare table on home --------------------------------------------------- */
.compare td:first-child { font-family: var(--font-display); font-weight: 700; }

/* Utility ------------------------------------------------------------------ */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-1 { margin-top: 1rem; }
.center { text-align: center; }
.stack { display: grid; gap: 1rem; }
.flex { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.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; }
