/* FirstFix Homes — site styles */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
}

:root {
  --white: #ffffff;
  --cream: #faf7f2;
  --sand: #f2ece3;
  --linen: #e7ded2;
  --charcoal: #2a2d2e;
  --ink-soft: #545a5c;
  --ink-muted: #6b7173;
  --seafoam: #8cc5b2;
  --seafoam-soft: #e4f2ec;
  --seafoam-deep: #2c6a5c;
  --seafoam-deeper: #22554a;
  --error: #a3322a;
  --error-bg: #fbecea;
  --success-bg: #e4f2ec;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(42, 45, 46, .06), 0 8px 28px rgba(42, 45, 46, .08);
  --wrap: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--seafoam-deep); text-underline-offset: .18em; }
a:hover { color: var(--seafoam-deeper); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.85rem); }
p { margin: 0 0 1em; }

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

.visually-hidden {
  position: absolute !important; 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: 1rem; top: -100px; z-index: 100;
  background: var(--charcoal); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: var(--white); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--seafoam-deep); margin-bottom: .9rem;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.5rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--seafoam-deep); color: var(--white); }
.btn-primary:hover { background: var(--seafoam-deeper); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--charcoal); border-color: var(--charcoal); }
.btn-secondary:hover { background: var(--charcoal); color: var(--white); }
.btn-light { background: rgba(255,255,255,.94); color: var(--charcoal); }
.btn-light:hover { background: var(--white); color: var(--charcoal); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.85); background: rgba(0,0,0,.12); }
.btn-outline-light:hover { background: var(--white); color: var(--charcoal); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--linen);
  backdrop-filter: saturate(1.2) blur(6px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.logo {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--charcoal);
  font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: .01em; white-space: nowrap;
}
.logo:hover { color: var(--charcoal); }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo span em { font-style: normal; color: var(--seafoam-deep); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--linen);
  background: var(--white); color: var(--charcoal); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav a.nav-link {
  color: var(--charcoal); text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.site-nav a.nav-link:hover, .site-nav a.nav-link[aria-current="page"] { border-bottom-color: var(--seafoam); }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; text-decoration: none; color: var(--seafoam-deep); white-space: nowrap;
  padding: .55rem 1rem; border-radius: 999px; background: var(--seafoam-soft);
}
.header-phone svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--linen);
    padding: .5rem 1.25rem 1.25rem; box-shadow: 0 14px 24px rgba(0,0,0,.06);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a.nav-link { display: block; padding: .95rem .25rem; border-bottom: 1px solid var(--sand); font-size: 1.05rem; }
  .site-nav a.nav-link:hover { border-bottom-color: var(--sand); color: var(--seafoam-deep); }
  .header-phone { margin-top: 1rem; justify-content: center; padding: .85rem 1rem; }
}
@media (max-width: 380px) { .logo { font-size: 1.3rem; } .logo svg { width: 28px; height: 28px; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(86vh, 760px); display: grid; align-items: end; color: var(--white); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -1; }
.hero-media img { object-fit: cover; object-position: center 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(25,28,29,.62) 0%, rgba(25,28,29,.35) 45%, rgba(25,28,29,0) 75%),
    linear-gradient(180deg, rgba(25,28,29,.05) 0%, rgba(25,28,29,.15) 45%, rgba(25,28,29,.6) 100%);
}
.hero-content { padding-block: 7rem 4.5rem; }
.hero h1 { color: var(--white); max-width: 17ch; text-shadow: 0 2px 18px rgba(0,0,0,.25); margin-bottom: .35em; }
.hero p { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 40ch; color: rgba(255,255,255,.96); margin-bottom: 2rem; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
@media (max-width: 540px) {
  .hero::before { background: linear-gradient(180deg, rgba(25,28,29,.15) 0%, rgba(25,28,29,.45) 40%, rgba(25,28,29,.78) 100%); }
  .hero { min-height: 78vh; }
  .hero-content { padding-block: 5rem 2.5rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-cream { background: var(--cream); }
.section-sand { background: var(--sand); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Property cards ---------- */
.property-list { display: grid; gap: 2.5rem; }
.property-card {
  display: grid; grid-template-columns: 1.25fr 1fr;
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--linen);
}
.property-card-media { position: relative; background: var(--sand); min-height: 320px; }
.property-card-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.property-card-media .photo-count {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(255,255,255,.95); color: var(--charcoal); border: 0;
  padding: .5rem .9rem; border-radius: 999px; font: 600 .9rem var(--sans); cursor: pointer;
  display: inline-flex; gap: .4rem; align-items: center;
}
.property-card-media .photo-count svg { width: 18px; height: 18px; }
.property-card-body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.property-location { display: flex; align-items: center; gap: .4rem; color: var(--ink-muted); font-size: .95rem; margin-bottom: .4rem; }
.property-location svg { width: 16px; height: 16px; color: var(--seafoam-deep); }
.property-facts { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; }
.property-facts li {
  background: var(--cream); border: 1px solid var(--linen); border-radius: 999px;
  padding: .3rem .8rem; font-size: .9rem; color: var(--ink-soft);
}
.property-facts li strong { color: var(--charcoal); }
.placeholder-note { color: var(--ink-muted); font-style: italic; font-size: .95rem; }
.amenities h4, .property-card-body h4 {
  font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 .6rem;
}
.amenity-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .35rem 1rem; }
.amenity-list li { position: relative; padding-left: 1.3rem; font-size: .97rem; }
.amenity-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--seafoam); }
.thumb-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.thumb-strip button { padding: 0; border: 0; background: var(--sand); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; width: 100%; aspect-ratio: 1; position: relative; }
.thumb-strip img { width: 100%; height: 100%; object-fit: cover; }
.thumb-strip .more {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(42,45,46,.55); color: var(--white); font-weight: 600;
}
.card-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: auto; }
@media (max-width: 860px) {
  .property-card { grid-template-columns: 1fr; }
  .property-card-media { min-height: 0; }
}

/* ---------- Gallery ---------- */
.gallery-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.gallery-tabs button {
  border: 1px solid var(--linen); background: var(--white); color: var(--charcoal);
  padding: .55rem 1.1rem; border-radius: 999px; font: 500 .95rem var(--sans); cursor: pointer; min-height: 42px;
}
.gallery-tabs button[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.gallery-tabs button .count { opacity: .7; margin-left: .3rem; font-size: .85em; }
.gallery-category { margin-bottom: 3rem; }
.gallery-category h3 { display: flex; align-items: baseline; gap: .6rem; }
.gallery-category h3 small { font: 500 .9rem var(--sans); color: var(--ink-muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; list-style: none; margin: 0; padding: 0; }
.gallery-grid[data-count="3"] li:first-child,
.gallery-grid[data-count="many"] li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-grid[data-count="1"], .gallery-grid[data-count="2"], .gallery-grid[data-count="4"] { grid-template-columns: repeat(2, 1fr); }
.gallery-grid button { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--sand); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gallery-empty {
  border: 1.5px dashed var(--linen); border-radius: var(--radius); background: var(--cream);
  padding: 2rem; text-align: center; color: var(--ink-muted);
}
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .gallery-grid[data-count="3"] li:first-child,
  .gallery-grid[data-count="many"] li:first-child { grid-column: span 2; grid-row: auto; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh;
  background: rgba(20,22,23,.96); color: var(--white);
}
.lightbox::backdrop { background: rgba(20,22,23,.96); }
.lightbox-inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; gap: 1rem; }
.lightbox-bar p { margin: 0; font-size: .95rem; color: rgba(255,255,255,.8); }
.lightbox figure { margin: 0; display: grid; place-items: center; min-height: 0; padding: 0 3.75rem; }
.lightbox figure img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox figcaption { padding: .75rem 1rem 1.25rem; text-align: center; font-size: .95rem; color: rgba(255,255,255,.85); }
.lb-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: var(--white); cursor: pointer; display: inline-grid; place-items: center;
}
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: .6rem; } .lb-next { right: .6rem; }
@media (max-width: 640px) {
  .lightbox figure { padding: 0 .5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
  .lightbox figcaption { padding-bottom: 4.5rem; }
}

/* ---------- Property detail page ---------- */
.property-hero { padding-block: 3rem 2rem; background: var(--cream); border-bottom: 1px solid var(--linen); }
.breadcrumb { font-size: .92rem; margin-bottom: 1rem; color: var(--ink-muted); }
.breadcrumb a { color: var(--ink-soft); }
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.detail-aside {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  background: var(--white); border: 1px solid var(--linen); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow);
}
.detail-aside dl { margin: 0 0 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; }
.detail-aside dt { color: var(--ink-muted); font-size: .95rem; }
.detail-aside dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 960px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--linen); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.75rem);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; }
.field .optional { font-weight: 400; color: var(--ink-muted); font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem;
  font: 400 1rem/1.4 var(--sans); color: var(--charcoal);
  background: var(--white); border: 1.5px solid #cfc6ba; border-radius: var(--radius-sm);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232a2d2e' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--seafoam-deep); box-shadow: 0 0 0 3px rgba(44,106,92,.2); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .88rem; margin-top: .35rem; min-height: 0; }
.field-error:empty { display: none; }
.hint { font-size: .88rem; color: var(--ink-muted); margin-top: .35rem; }

.inquiry-notice {
  display: flex; gap: .8rem; align-items: flex-start;
  background: var(--seafoam-soft); border-left: 4px solid var(--seafoam-deep);
  padding: 1rem 1.15rem; border-radius: var(--radius-sm); margin-bottom: 1.75rem; font-size: .98rem;
}
.inquiry-notice svg { width: 22px; height: 22px; flex: none; color: var(--seafoam-deep); margin-top: .1rem; }
.inquiry-notice p { margin: 0; }

.consent-group { border: 0; padding: 0; margin: .5rem 0 0; }
.consent-group legend { font-weight: 600; font-size: .95rem; margin-bottom: .2rem; padding: 0; }
.consent-group > p { font-size: .9rem; color: var(--ink-muted); margin: 0 0 .75rem; }
.consent {
  display: grid; grid-template-columns: 24px 1fr; gap: .75rem; align-items: start;
  padding: .9rem 1rem; background: var(--cream); border: 1px solid var(--linen); border-radius: var(--radius-sm);
  margin-bottom: .65rem; font-size: .9rem; line-height: 1.55; color: var(--ink-soft); cursor: pointer;
}
.consent input { width: 20px; height: 20px; margin: .12rem 0 0; accent-color: var(--seafoam-deep); cursor: pointer; }
.consent strong { color: var(--charcoal); display: block; margin-bottom: .15rem; }

.form-footer { margin-top: 1.5rem; }
.form-legal { font-size: .87rem; color: var(--ink-muted); margin-top: .9rem; }
.no-payment { font-size: .9rem; color: var(--ink-soft); display: flex; gap: .5rem; align-items: center; margin-top: .75rem; }
.no-payment svg { width: 18px; height: 18px; color: var(--seafoam-deep); flex: none; }

.form-status { margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: var(--radius-sm); font-size: .98rem; }
.form-status:empty { display: none; }
.form-status.success { background: var(--success-bg); border: 1px solid #b9dccd; color: #1d4a40; }
.form-status.error { background: var(--error-bg); border: 1px solid #ebc0bb; color: #7a231d; }
.form-status strong { display: block; margin-bottom: .2rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Booking section layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split-aside ul.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.split-aside ul.checks li { display: grid; grid-template-columns: 26px 1fr; gap: .6rem; color: var(--ink-soft); }
.split-aside ul.checks svg { width: 22px; height: 22px; color: var(--seafoam-deep); margin-top: .15rem; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }

/* ---------- Property management ---------- */
.pm-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.pm-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pm-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pm-points { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: grid; gap: 1rem; }
.pm-points li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; }
.pm-points .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--seafoam-soft); color: var(--seafoam-deep); display: grid; place-items: center; }
.pm-points .icon svg { width: 22px; height: 22px; }
.pm-points strong { display: block; }
.pm-points span { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 860px) { .pm-intro { grid-template-columns: 1fr; } .pm-photo { order: -1; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.contact-card {
  background: var(--white); border: 1px solid var(--linen); border-radius: var(--radius); padding: 1.75rem;
}
.contact-card .icon { width: 48px; height: 48px; border-radius: 50%; background: var(--seafoam-soft); color: var(--seafoam-deep); display: grid; place-items: center; margin-bottom: 1rem; }
.contact-card .icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.contact-card p { margin: 0; color: var(--ink-soft); }
.contact-card a.big { font-size: 1.2rem; font-weight: 600; text-decoration: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.82); padding-block: 3.5rem 2rem; font-size: .95rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--seafoam); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.site-footer .logo { color: var(--white); margin-bottom: .75rem; }
.site-footer .logo span em { color: var(--seafoam); }
.site-footer h2 { font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer ul a { text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; color: rgba(255,255,255,.62); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal / simple pages ---------- */
.page-head { background: var(--cream); border-bottom: 1px solid var(--linen); padding-block: 3.5rem 2.5rem; }
.page-head p { color: var(--ink-soft); margin: 0; }
.legal { padding-block: 3rem 5rem; }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.5rem; }
.legal h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin-top: 1.5rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .4rem; }
.legal .callout {
  background: var(--seafoam-soft); border-left: 4px solid var(--seafoam-deep);
  padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin: 1.5rem 0;
}
.legal .toc { background: var(--cream); border: 1px solid var(--linen); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.legal .toc ol { margin: .5rem 0 0; padding-left: 1.25rem; columns: 2; column-gap: 2rem; }
@media (max-width: 640px) { .legal .toc ol { columns: 1; } }

.thanks { text-align: center; padding-block: 6rem; }
.thanks .actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }

noscript .noscript-msg { display: block; background: var(--sand); padding: 1rem; border-radius: var(--radius-sm); }
