/* Layout: one long page. Dark bark and ember tones, ash-grey ground, system fonts only. */
:root {
  --bg: #edefea;
  --alt: #e2e5de;
  --surface: #f8f9f6;
  --fg: #1f1a16;
  --muted: #5b534b;
  --ember: #b33f0c;
  --on-ember: #ffffff;
  --line: #cfd3ca;
  --bark: #2a211b;
  --on-bark: #f1ebe3;

  --font-display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151210;
    --alt: #1b1714;
    --surface: #211c18;
    --fg: #efe9e2;
    --muted: #b0a599;
    --ember: #f08a3e;
    --on-ember: #1a0f08;
    --line: #38322c;
    --bark: #0f0c0a;
    --on-bark: #efe9e2;
    color-scheme: dark;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--ember); text-underline-offset: 0.2em; }

:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--bark);
  color: var(--on-bark);
  padding: 0.5rem 1rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.wrap {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 46rem; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7vw, 4.75rem); font-weight: 850; letter-spacing: -0.03em; text-transform: uppercase; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 750; }
p { margin: 0; }

.draft-bar {
  background: var(--ember);
  color: var(--on-ember);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  padding: 0.5rem max(1rem, env(safe-area-inset-left, 0px));
}

.site-header { background: var(--bark); color: var(--on-bark); }
.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 0.875rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: var(--on-bark);
  text-decoration: none;
}
.header-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--ember); color: var(--on-ember); }
.btn-secondary { border-color: var(--ember); color: var(--ember); background: transparent; }
.site-header .btn-secondary { border-color: var(--on-bark); color: var(--on-bark); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-secondary:hover { background: var(--ember); color: var(--on-ember); }
.btn-pending { border: 2px dashed var(--muted); color: var(--muted); font-weight: 500; font-size: 0.9rem; }
.site-header .btn-pending { border-color: #8d8277; color: #c9bfb3; }

.hero { padding-block: clamp(2.5rem, 7vw, 5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; min-width: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 700; color: var(--ember); }
.lead { font-size: 1.25rem; max-width: 34rem; }
.hero-art { justify-self: center; width: min(100%, 26rem); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.fine { font-size: 0.875rem; color: var(--muted); }

.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-alt { background: var(--alt); }
.section .wrap > h2 + .section-intro, .section-intro { margin-top: 0.75rem; max-width: 40rem; color: var(--muted); }
.section .wrap > * + * { margin-top: 1.5rem; }
.section .wrap > h2 + .section-intro { margin-top: 0.75rem; }

.price-grid {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}
.price-icon { width: 3.5rem; height: 3.5rem; margin-bottom: 0.25rem; }
.price { font-family: var(--font-display); font-size: 2.75rem; font-weight: 850; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-note { color: var(--muted); font-size: 0.975rem; }

.points {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem 2rem;
}
.points li { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; border-top: 3px solid var(--ember); padding-top: 0.75rem; }
.points p { color: var(--muted); }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 2rem 4rem;
}
.two-col > * { min-width: 0; }
.two-col > * + * { margin-top: 0; }
.list-title { margin-bottom: 0.75rem; }
.town-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.5rem 1rem;
  font-weight: 600;
}
.town-list li { padding-bottom: 0.4rem; border-bottom: 1px solid var(--line); }

details { border-bottom: 1px solid var(--line); padding-block: 0.25rem; }
.narrow details + details { margin-top: 0; }
summary { cursor: pointer; font-weight: 700; padding-block: 0.75rem; }
details p { padding-bottom: 1rem; color: var(--muted); }

.cta-band { background: var(--bark); color: var(--on-bark); }
.cta-band .btn-secondary { border-color: var(--on-bark); color: var(--on-bark); }
.cta-band .btn-secondary:hover { background: var(--ember); border-color: var(--ember); color: var(--on-ember); }
.cta-band .btn-pending { border-color: #8d8277; color: #c9bfb3; }

.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; }

.site-footer { background: var(--bark); color: var(--on-bark); padding-block: 1.5rem; font-size: 0.9rem; border-top: 1px solid #3a3029; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; }
.site-footer a { color: var(--on-bark); }

@media (max-width: 48rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { width: min(70%, 16rem); order: -1; justify-self: start; }
}

[hidden] { display: none !important; }

.consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  background: var(--bark);
  color: var(--on-bark);
  border-top: 3px solid var(--ember);
  padding: 1rem max(1rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}
.consent p { flex: 1 1 22rem; font-size: 0.95rem; }
.consent a { color: var(--on-bark); }
.consent-actions { display: flex; gap: 0.5rem; }
.consent .btn-secondary { border-color: var(--on-bark); color: var(--on-bark); }
.link-button {
  background: none;
  border: 0;
  padding: 0;
  margin-left: 1rem;
  font: inherit;
  color: var(--on-bark);
  text-decoration: underline;
  cursor: pointer;
}

.nav-link { color: var(--on-bark); font-weight: 600; margin-left: auto; }
.facts { margin: 1.5rem 0 0; display: grid; gap: 0.75rem; }
.facts div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 0.25rem 1rem; border-top: 1px solid var(--line); padding-top: 0.75rem; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.tbc { color: var(--muted); font-style: italic; }
@media (max-width: 30rem) { .facts div { grid-template-columns: minmax(0, 1fr); } }

.contact-bar { display: none; }
@media (max-width: 48rem) {
  .contact-bar {
    display: flex;
    gap: 0.5rem;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 20;
    background: var(--bark);
    border-top: 3px solid var(--ember);
    padding: 0.625rem max(1rem, env(safe-area-inset-right, 0px)) max(0.625rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  }
  .contact-bar .btn { flex: 1 1 0; min-width: 0; padding-inline: 0.5rem; }
  .contact-bar .btn-secondary { border-color: var(--on-bark); color: var(--on-bark); }
  .contact-bar .btn-pending { border-color: #8d8277; color: #c9bfb3; }
  body { padding-bottom: 4.75rem; }
}
.price-order { margin-top: auto; padding-top: 0.5rem; font-weight: 700; }
.checklist-intro { margin-top: 0.75rem; }
.checklist { margin: 0.75rem 0 0; padding-left: 1.25rem; display: grid; gap: 0.25rem; }
.about-photo { width: 100%; height: auto; border: 1px solid var(--line); }
.quotes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; }
.quotes blockquote { margin: 0; padding-left: 1rem; border-left: 3px solid var(--ember); }
.quotes footer { margin-top: 0.5rem; font-weight: 700; color: var(--muted); }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark { width: 2rem; height: 2rem; }
