/* ==========================================================================
   METANOIASTRO — design system
   Two typefaces, strictly cast:
   - Cormorant Garamond: headings, display numerals, blockquotes. Never bold
     inside body copy.
   - Jost: everything else — body, labels, buttons, tables, navigation.
   One accent (clay), one tint family (sage), warm paper. Nothing else.
   ========================================================================== */

:root {
  --paper: #f3eee6;
  --ivory: #fdfaf3;
  --ink: #201b16;
  --muted: #6d665c;
  --faint: #e7e0d3;
  --line: rgba(32, 27, 22, 0.14);
  --line-strong: rgba(32, 27, 22, 0.3);
  --sage: #e2e6d8;
  --sage-deep: #5c6852;
  --clay: #a2684f;
  --clay-deep: #8a5744;
  --charcoal: #221e19;
  --shadow: 0 24px 60px -28px rgba(32, 27, 22, 0.35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", Arial, sans-serif;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--clay); color: var(--ivory); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------------------
   Typography roles
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, .page-title, .section-title {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
}

.page-title { font-size: clamp(2.5rem, 5.6vw, 4.3rem); max-width: 21ch; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 26ch; }
.section-title.small { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 42rem;
}

.eyebrow,
.section-kicker {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clay);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.1rem;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--clay);
  flex: none;
}

.center .eyebrow::before,
.center .section-kicker::before { display: none; }
.center .eyebrow, .center .section-kicker { justify-content: center; }

blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.35;
  margin: 0 0 1rem;
}

.text-link {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--clay-deep);
  border-bottom: 1px solid var(--clay);
  padding-bottom: 0.25rem;
  transition: color 0.25s ease;
}
.text-link:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 56px);
}

.section { padding-block: clamp(4rem, 8.5vw, 7rem); }
.section.tight { padding-block: clamp(2.6rem, 5vw, 4rem); }

.band { background: var(--ivory); border-block: 1px solid var(--line); }
.sage-band { background: var(--sage); }
.dark-band { background: var(--charcoal); color: #d9d2c6; }
.dark-band .section-title, .dark-band h2, .dark-band h3, .dark-band blockquote { color: #f2ecdf; }
.dark-band .lead, .dark-band p { color: #b8b0a2; }
.dark-band .eyebrow, .dark-band .section-kicker { color: #c9a184; }
.dark-band .eyebrow::before, .dark-band .section-kicker::before { background: #c9a184; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: start;
}
.split.center { align-items: center; }

.stack > * + * { margin-top: 1rem; }

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 860px) { .editorial-grid { grid-template-columns: 1fr; } }

.image-frame {
  border-radius: 150px 150px var(--radius) var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(243, 238, 230, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  justify-self: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.nav { display: flex; gap: clamp(14px, 2vw, 28px); align-items: center; }
.nav-right { justify-self: end; }

.nav-link {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--ink); border-bottom-color: var(--clay); }
.nav-link.mobile-only { display: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: none;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--ink);
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: start; order: 2; margin-left: 6px; }
  .nav-toggle { display: block; order: 1; }
  .nav[data-nav] {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    display: none;
    order: 4;
  }
  .nav[data-nav].is-open { display: flex; }
  .nav[data-nav] .nav-link { padding: 1rem clamp(20px, 5vw, 40px); border-bottom: 1px solid var(--line); }
  .nav[data-nav] .nav-link.mobile-only { display: block; }
  .nav-right { order: 3; }
  .nav-right .nav-link { display: none; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.button {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.button.primary:hover { background: var(--clay-deep); border-color: var(--clay-deep); }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button.ghost:hover { border-color: var(--ink); }
.dark-band .button.ghost { color: #e9e2d4; border-color: rgba(233, 226, 212, 0.4); }
.dark-band .button.ghost:hover { border-color: #e9e2d4; }
.button.small { padding: 0.6rem 1.4rem; font-size: 0.66rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; align-items: center; }

/* --------------------------------------------------------------------------
   Heroes
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  background: var(--charcoal) url("hero-astrology.png") center 30% / cover no-repeat;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 20, 16, 0.82) 0%, rgba(24, 20, 16, 0.55) 46%, rgba(24, 20, 16, 0.18) 100%),
    linear-gradient(0deg, rgba(24, 20, 16, 0.55) 0%, rgba(24, 20, 16, 0) 42%);
}
.hero-copy { max-width: 640px; padding-block: clamp(5rem, 12vw, 8rem); color: #f2ecdf; }
.hero-copy .eyebrow { color: #cfa588; }
.hero-copy .eyebrow::before { background: #cfa588; }
.hero-copy .page-title { color: #f7f2e7; }
.hero-copy .lead { color: rgba(240, 233, 220, 0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero .button.ghost { color: #f2ecdf; border-color: rgba(242, 236, 223, 0.5); }
.hero .button.ghost:hover { border-color: #f2ecdf; }

.page-hero { padding-block: clamp(3.6rem, 8vw, 6rem) clamp(2.6rem, 5vw, 4rem); }
.page-hero .lead { margin-top: 0.5rem; }

.page-hero.media {
  position: relative;
  padding-block: clamp(6rem, 13vw, 9.5rem);
  color: #f2ecdf;
  isolation: isolate;
  background-size: cover;
  background-position: center;
}
.page-hero.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 20, 16, 0.8) 0%, rgba(24, 20, 16, 0.5) 52%, rgba(24, 20, 16, 0.2) 100%),
    linear-gradient(0deg, rgba(24, 20, 16, 0.45) 0%, rgba(24, 20, 16, 0.05) 50%);
}
.page-hero.media .page-title { color: #f7f2e7; }
.page-hero.media .lead { color: rgba(240, 233, 220, 0.9); }
.page-hero.media .eyebrow { color: #cfa588; }
.page-hero.media .eyebrow::before { background: #cfa588; }

.services-hero { background-image: url("consultation-reading.png"); }
.about-hero { background-image: url("synastry-relocation.png"); }
.chart-hero { background-image: url("guide-workbook.png"); }

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  border-block: 1px solid var(--line);
  background: var(--ivory);
}
.trust-item { padding: 1.7rem clamp(1.2rem, 3vw, 2.4rem); border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.trust-item p { font-size: 0.9rem; color: var(--muted); margin: 0; }
@media (max-width: 700px) { .trust-item { border-right: 0; border-bottom: 1px solid var(--line); } .trust-item:last-child { border-bottom: 0; } }

/* --------------------------------------------------------------------------
   Offer cards (services) — one quiet structure, no bold noise
   -------------------------------------------------------------------------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
  align-items: stretch;
}

.service-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card.featured { border-color: var(--clay); }

.service-flag {
  position: absolute;
  top: -0.8rem; left: 1.8rem;
  background: var(--clay);
  color: var(--ivory);
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
}

.service-number {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--clay);
}
.service-card h3 { margin: 0.4rem 0 0.6rem; }
.service-for {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.06rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.service-includes { list-style: none; margin: 0 0 1.4rem; padding: 0; flex: 1; }
.service-includes li {
  padding: 0.55rem 0 0.55rem 1.35rem;
  position: relative;
  border-top: 1px solid var(--faint);
  font-size: 0.93rem;
  color: var(--muted);
}
.service-includes li::before {
  content: "\2726";
  position: absolute;
  left: 0; top: 0.6rem;
  color: var(--clay);
  font-size: 0.72rem;
}
.price {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.price small {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.5rem;
}

/* Detail rows on the readings page */
.detail-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
  border-top: 1px solid var(--line);
}
.detail-row:last-of-type { border-bottom: 1px solid var(--line); }
.detail-row .service-number { font-size: 1.6rem; }
.detail-row .price { font-size: 2.4rem; margin: 0.4rem 0 0; }
.detail-row h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0 0 0.5rem; }
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem 1.6rem;
  margin: 1.4rem 0 1.8rem;
}
.included-grid span {
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.5rem 0 0.5rem 1.35rem;
  position: relative;
  border-top: 1px solid var(--faint);
}
.included-grid span::before {
  content: "\2726";
  position: absolute; left: 0; top: 0.55rem;
  color: var(--clay);
  font-size: 0.72rem;
}
@media (max-width: 640px) { .detail-row { grid-template-columns: 1fr; } }

.delivery-note {
  font-size: 0.88rem;
  color: var(--sage-deep);
  background: var(--sage);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin: 0 0 1.4rem;
}
.delivery-note strong { font-weight: 500; color: var(--ink); }

.service-list { list-style: none; margin: 1.4rem 0; padding: 0; }
.service-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0.1rem;
  border-top: 1px solid var(--faint);
  font-size: 0.95rem;
}
.service-list li:last-child { border-bottom: 1px solid var(--faint); }
.service-list span { font-family: var(--serif); font-size: 1.15rem; }

/* --------------------------------------------------------------------------
   Process / numbered steps
   -------------------------------------------------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
  margin-top: 2.6rem;
}
.process-step { border-top: 1px solid var(--line-strong); padding-top: 1.3rem; }
.dark-band .process-step, .sage-band .process-step { border-top-color: rgba(32,27,22,0.25); }
.dark-band .process-step { border-top-color: rgba(233,226,212,0.25); }
.process-step h3 { display: flex; align-items: baseline; gap: 0.8rem; font-size: 1.3rem; }
.process-step h3 .step-n,
.process-step .service-number { font-size: 1rem; }
.process-step p { font-size: 0.94rem; color: var(--muted); margin-top: 0.5rem; }
.dark-band .process-step p { color: #a9a193; }

/* --------------------------------------------------------------------------
   Quote block
   -------------------------------------------------------------------------- */

.quote-block .section-kicker { margin-bottom: 1.4rem; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-panel {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
@media (max-width: 680px) { .field-grid { grid-template-columns: 1fr; } .field { grid-column: auto !important; } }

.field label {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fffdf8;
  padding: 0.8rem 0.95rem;
  font-size: 0.98rem;
  font-weight: 300;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(162, 104, 79, 0.14);
}
.field-note { font-size: 0.82rem; color: var(--muted); margin: 0.3rem 0 0; }
.privacy-note { font-size: 0.82rem; color: var(--muted); margin-top: 1.2rem; }
.form-status {
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: var(--sage-deep);
  margin-top: 1rem;
}
.form-status.is-error { color: var(--clay-deep); }

.advanced-fields { grid-column: 1 / -1; border-top: 1px solid var(--faint); padding-top: 1rem; }
.advanced-fields summary {
  cursor: pointer;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Booking timetable — tap a window instead of a dropdown
   -------------------------------------------------------------------------- */

.timetable { display: grid; gap: 1.1rem; }
.timetable-day { border-top: 1px solid var(--faint); padding-top: 0.8rem; }
.timetable-day h4 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.6rem;
}
.timetable-slots { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.slot-chip {
  border: 1px solid var(--line-strong);
  background: #fffdf8;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.slot-chip:hover { border-color: var(--ink); }
.slot-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}
.slot-chip.slot-none { border-style: dashed; color: var(--muted); }
.slot-chip.slot-none[aria-pressed="true"] { color: var(--ivory); border-style: solid; }
.slot-chip.is-booked {
  background: var(--faint);
  border-color: var(--faint);
  color: var(--muted);
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.75;
}
.slot-chip.is-booked:hover { border-color: var(--faint); }
.timetable-legend {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.6rem;
}
.legend-chip {
  width: 30px; height: 18px;
  border-radius: 999px;
  background: var(--faint);
  border: 1px solid var(--faint);
  display: inline-block;
}
.timetable-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.4rem; }

.availability-card {
  background: var(--sage);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  margin: 1.6rem 0;
}
.availability-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.availability-card > p { font-size: 0.88rem; color: var(--sage-deep); }
.availability-list { list-style: none; margin: 0.8rem 0 0; padding: 0; }
.availability-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  border-top: 1px solid rgba(92, 104, 82, 0.25);
  padding: 0.55rem 0.1rem;
  font-size: 0.93rem;
}
.availability-list li span { color: var(--sage-deep); font-size: 0.8rem; }

.table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.data-table th,
.data-table td {
  border-top: 1px solid var(--faint);
  padding: 0.75rem 0.65rem;
  text-align: left;
  vertical-align: top;
}
.data-table th {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Chart generator
   -------------------------------------------------------------------------- */

.chart-layout { display: grid; grid-template-columns: 1fr; gap: clamp(1.6rem, 3.5vw, 2.4rem); max-width: 780px; margin-inline: auto; }
.chart-form-sticky { position: static; }

.location-search { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.location-search input { flex: 1; min-width: 180px; }
.location-search.stacked { flex-direction: column; align-items: stretch; }
.location-search.stacked .button { width: 100%; }
.location-results { display: grid; gap: 0.5rem; margin-top: 0.6rem; }
.location-result {
  text-align: left;
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
  display: grid;
  gap: 0.15rem;
  transition: border-color 0.25s ease;
}
.location-result:hover { border-color: var(--clay); }
.location-result strong { font-weight: 400; font-size: 0.95rem; }
.location-result span { font-size: 0.78rem; color: var(--muted); }
.selected-location { font-size: 0.84rem; color: var(--sage-deep); margin: 0.5rem 0 0; }
.selected-location.is-error { color: var(--clay-deep); }

.chart-output { display: grid; gap: 1.6rem; }
.chart-output[hidden] { display: none; }

.big-three { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.big-three-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.big-three-role {
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 0.4rem;
}
.big-three-sign {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
  display: flex; align-items: center; gap: 0.55rem;
}
.big-three-glyph { font-size: 1.25rem; color: var(--clay-deep); }
.big-three-note { font-size: 0.86rem; color: var(--muted); margin: 0; }

.chart-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.8rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: 0.92rem;
}
.chart-summary em {
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.5rem;
}

.chart-wheel-wrap {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 2rem);
}
.chart-wheel { width: 100%; max-width: 640px; height: auto; display: block; margin-inline: auto; }
.chart-wheel text { font-family: var(--sans); }
.wheel-sign { font-size: 17px; fill: rgba(32, 27, 22, 0.75); text-anchor: middle; dominant-baseline: central; }
.wheel-house { font-size: 11px; fill: rgba(32, 27, 22, 0.45); text-anchor: middle; dominant-baseline: central; letter-spacing: 0.05em; }
.wheel-planet { font-size: 21px; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.wheel-degree { font-size: 9.5px; fill: rgba(32, 27, 22, 0.55); text-anchor: middle; dominant-baseline: central; }
.wheel-axis { stroke: rgba(32, 27, 22, 0.75); stroke-width: 1.6; }
.wheel-axis.soft { stroke: rgba(32, 27, 22, 0.3); stroke-width: 1; }
.wheel-axis-label { font-size: 11px; letter-spacing: 0.12em; fill: rgba(32, 27, 22, 0.6); text-anchor: middle; dominant-baseline: central; }
.wheel-aspect { stroke-width: 1.1; opacity: 0.85; }
.wheel-aspect.flow { stroke: var(--sage-deep); }
.wheel-aspect.tension { stroke: var(--clay); }
.wheel-aspect.neutral { stroke: rgba(32, 27, 22, 0.4); }

.wheel-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  justify-content: center;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.wheel-legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.legend-line { width: 22px; height: 0; border-top: 2px solid; display: inline-block; }
.legend-line.flow { border-color: var(--sage-deep); }
.legend-line.tension { border-color: var(--clay); }
.legend-line.neutral { border-color: rgba(32, 27, 22, 0.4); }

.data-tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.6rem; }
.table-panel {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.table-panel h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 0.8rem;
}

.collapsible-panel { padding: 0; }
.collapsible-panel summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
}
.collapsible-panel summary::-webkit-details-marker { display: none; }
.collapsible-panel summary span:first-child {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
}
.collapsible-count {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.collapsible-count::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--clay);
  transition: transform 0.3s ease;
  line-height: 1;
}
.collapsible-panel[open] .collapsible-count::after { transform: rotate(45deg); }
.collapsible-body { padding: 0 1.6rem 1.6rem; }
.table-panel table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.table-panel th {
  text-align: left;
  font-weight: 400;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid var(--line-strong);
}
.table-panel td { padding: 0.6rem 0.4rem; border-bottom: 1px solid var(--faint); }
.table-panel tr:last-child td { border-bottom: 0; }
.glyph-cell { display: inline-block; width: 1.5em; color: var(--clay-deep); }
.retro-badge { color: var(--clay-deep); font-size: 0.85em; }
.aspect-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 0.6rem; vertical-align: baseline; }
.aspect-dot.flow { background: var(--sage-deep); }
.aspect-dot.tension { background: var(--clay); }
.aspect-dot.neutral { background: rgba(32, 27, 22, 0.4); }
.aspect-dot.minor { background: rgba(32, 27, 22, 0.2); }

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.8rem; }
.post-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card h2 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin: 0; }
.post-card p { font-size: 0.94rem; color: var(--muted); flex: 1; }
.post-meta { font-size: 0.76rem; letter-spacing: 0.1em; color: var(--muted); }

.article-view { max-width: 720px; margin-inline: auto; }
.article-view h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.article-view p { color: #423c34; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list { max-width: 780px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  padding: 1.25rem 0.2rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--clay);
  flex: none;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 0.2rem 1.4rem; color: var(--muted); max-width: 64ch; }

/* --------------------------------------------------------------------------
   Guide
   -------------------------------------------------------------------------- */

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
  gap: clamp(2.4rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 860px) { .guide-layout { grid-template-columns: 1fr; } }

.guide-cover {
  background: linear-gradient(160deg, #fbf7ee 0%, #e8e0cf 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  max-width: 330px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.guide-cover .cover-kicker { font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--clay); }
.guide-cover .cover-title { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; line-height: 1.15; margin: 0.7rem 0; text-transform: uppercase; letter-spacing: 0.06em; }
.guide-cover .cover-sub { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 0.95rem; }

.check-list { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.check-list li {
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  color: var(--muted);
  border-top: 1px solid var(--faint);
  font-size: 0.96rem;
}
.check-list li::before {
  content: "\2726";
  position: absolute; left: 0; top: 0.6rem;
  color: var(--clay);
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   Legal
   -------------------------------------------------------------------------- */

.legal-panel { max-width: 760px; }
.legal-panel h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.legal-panel ul { padding-left: 1.3rem; }
.legal-panel li { margin-bottom: 0.4rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--charcoal); color: #a9a193; padding: 3.4rem 0 2.4rem; }
.footer-grid {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.6rem 2.5rem;
  align-items: end;
}
.footer-brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f2ecdf;
  margin-bottom: 0.5rem;
}
.site-footer p { font-size: 0.85rem; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: #a9a193;
  transition: color 0.25s ease;
}
.footer-links a:hover { color: #f2ecdf; }

/* --------------------------------------------------------------------------
   Toast & cookie banner
   -------------------------------------------------------------------------- */

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  background: var(--charcoal);
  color: #f2ecdf;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 80;
  max-width: min(92vw, 520px);
  text-align: center;
}
.site-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 70;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  max-width: min(94vw, 640px);
}
.cookie-banner p { margin: 0; font-size: 0.85rem; color: var(--muted); }
.cookie-actions { display: flex; gap: 0.6rem; flex: none; }
@media (max-width: 560px) { .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; } }

/* --------------------------------------------------------------------------
   Booking form: honeypot, checkbox, on-page confirmation panel
   -------------------------------------------------------------------------- */

.field-honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.field-check { margin-top: 0.2rem; }
.checkbox-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.checkbox-row input[type="checkbox"] {
  margin-top: 0.15rem;
  width: 1.05rem; height: 1.05rem;
  accent-color: var(--clay);
  flex: 0 0 auto;
}

.booking-confirmation {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.booking-confirmation.is-visible { opacity: 1; transform: none; }
.confirmation-mark {
  width: 58px; height: 58px;
  color: var(--sage-deep);
  margin-bottom: 1.1rem;
}
.confirmation-mark svg { width: 100%; height: 100%; }
.confirmation-mark circle { opacity: 0.4; }
.confirmation-lead { color: var(--muted); line-height: 1.7; margin: 0 0 1.5rem; }
.confirmation-details {
  border-top: 1px solid var(--line);
  margin: 0 0 1.5rem;
  padding-top: 0.4rem;
}
.confirmation-details > div {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.confirmation-details dt {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.confirmation-details dd {
  margin: 0;
  text-align: right;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
}
.confirmation-ref dd { font-family: var(--sans); letter-spacing: 0.12em; font-size: 0.95rem; }
.confirmation-next { color: var(--muted); line-height: 1.7; margin: 0 0 1.6rem; }

/* --------------------------------------------------------------------------
   Motion layer (task 7). All gated on fine pointer + no reduced-motion.
   -------------------------------------------------------------------------- */

.tilt { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); transform-style: preserve-3d; will-change: transform; }
.magnetic { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
[data-parallax] { will-change: transform; }
.parallax-layer { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: transform; }

@media (hover: none), (pointer: coarse) {
  .tilt, .magnetic, .parallax-layer { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .tilt, .magnetic, .parallax-layer, [data-parallax] { transform: none !important; }
}

/* --------------------------------------------------------------------------
   Inline subscribe form (guide page)
   -------------------------------------------------------------------------- */

.subscribe-inline {
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.subscribe-label { font-size: 0.9rem; color: var(--muted); margin: 0 0 0.8rem; line-height: 1.5; }
.subscribe-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.subscribe-row input[type="email"] {
  flex: 1; min-width: 200px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
}
.subscribe-row input[type="email"]:focus { outline: 2px solid var(--clay); outline-offset: 1px; }

/* --------------------------------------------------------------------------
   Orbiting sun around the wordmark (one spin on load, then rests)
   -------------------------------------------------------------------------- */

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  isolation: isolate;
}

/* The orbit wrapper sits centered on the wordmark; the ellipse is wider than
   tall and tilted a few degrees so the path reads as a slightly crooked orbit. */
.brand-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  /* Fixed pixel box (matches the SVG viewBox 1:1 so the sun's offset-path and
     the drawn trail share the exact same coordinate space and stay aligned).
     Width is tuned to span the wordmark; it is re-centered on the brand. */
  width: 240px;
  height: 66px;
  transform: translate(-50%, -50%) rotate(-6deg);
  pointer-events: none;
  z-index: -1;
}

.brand-sun {
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  /* White-hot core, fading to the faintest warm edge — reads as glowing light,
     not a yellow dot. */
  background: radial-gradient(circle at 50% 50%,
    #ffffff 0%,
    #fffaf0 38%,
    #fdeecf 66%,
    rgba(253, 226, 176, 0) 100%);
  box-shadow:
    0 0 4px 1px rgba(255, 255, 255, 0.95),
    0 0 9px 3px rgba(255, 244, 214, 0.7),
    0 0 16px 6px rgba(246, 210, 150, 0.45),
    0 0 26px 10px rgba(233, 183, 110, 0.22);
  /* Ellipse in a 240x66 space: center (120,33), rx 114, ry 24. This matches the
     SVG track exactly. */
  offset-path: path("M 6 33 A 114 24 0 1 1 6 33.01");
  offset-rotate: 0deg;
  offset-distance: 0%;
  will-change: offset-distance;
}

/* The sun travels exactly one full loop and stops at the resting point. The
   orbit line draws itself behind the sun over the same duration (see the ring
   keyframes below), so the sun appears to trail a thin line as it goes. */
@keyframes brand-sun-spin {
  0%   { offset-distance: 0%; opacity: 0; }
  6%   { opacity: 1; }
  100% { offset-distance: 100%; opacity: 1; }
}

.brand-orbit.is-spinning .brand-sun {
  animation: brand-sun-spin 5s cubic-bezier(0.22, 0.7, 0.24, 1) 1 both;
}

/* When resting, hold the sun at the start/end point of the loop (0% = 100%),
   just left of the wordmark. */
.brand-orbit:not(.is-spinning) .brand-sun {
  offset-distance: 0%;
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* The orbit trail: a thin line the sun "draws" as it travels. The path is
   normalized to pathLength=1, so we hide it with dashoffset:1 and reveal to 0
   over the same 5s and easing as the sun — the drawn tip stays under the sun. */
.brand-orbit-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.brand-orbit-track {
  fill: none;
  stroke: rgba(176, 122, 66, 0.85);
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1; /* hidden until drawn */
  vector-effect: non-scaling-stroke;
}

@keyframes brand-orbit-draw {
  0%   { stroke-dashoffset: 1; }
  100% { stroke-dashoffset: 0; }
}

.brand-orbit.is-spinning .brand-orbit-track {
  animation: brand-orbit-draw 5s cubic-bezier(0.22, 0.7, 0.24, 1) 1 forwards;
}

/* Once drawn, the completed orbit line rests softly visible. */
.brand-orbit:not(.is-spinning) .brand-orbit-track {
  stroke-dashoffset: 0;
  stroke: rgba(162, 104, 79, 0.5);
  transition: stroke 0.6s ease;
}

/* Graceful fallback: browsers without offset-path support get a static sun
   tucked to the left of the wordmark instead of a broken one at 0,0. */
@supports not (offset-path: path("M 0 0 A 1 1 0 1 1 0 0.01")) {
  .brand-sun {
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    animation: none !important;
  }
  .brand-orbit-ring { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-orbit.is-spinning .brand-sun { animation: none; }
  .brand-sun { offset-distance: 88%; opacity: 1; }
}

/* On small screens the wordmark is smaller; scale the whole orbit down as one
   unit (transform scales the sun's path and the SVG together, keeping them in
   sync) rather than resizing the box, which would desync the fixed-pixel path. */
@media (max-width: 720px) {
  .brand-orbit { transform: translate(-50%, -50%) rotate(-6deg) scale(0.8); }
}

/* --------------------------------------------------------------------------
   How it works — step-by-step path (services page)
   -------------------------------------------------------------------------- */

.how-steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  display: grid;
  gap: 0;
}
.how-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  padding: 1.5rem 0;
  position: relative;
}
.how-step + .how-step { border-top: 1px solid var(--line); }

/* Numbered marker with a connecting line down the sequence. */
.how-num {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1;
  padding-bottom: 2px;
  color: var(--ivory);
  background: var(--clay);
  box-shadow: 0 4px 14px rgba(162, 104, 79, 0.28);
}
.how-step:not(:last-child) .how-num::after {
  content: "";
  position: absolute;
  top: 46px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: calc(100% + 3rem);
  background: linear-gradient(var(--clay), rgba(162, 104, 79, 0.15));
}
.how-step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  margin: 0.35rem 0 0.5rem;
  color: var(--ink);
}
.how-step p { margin: 0; color: var(--muted); line-height: 1.7; }
.how-step strong { color: var(--clay-deep); font-weight: 500; }

.how-reassurance {
  max-width: 620px;
  margin: 2.6rem auto 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--sage-deep);
  line-height: 1.6;
}

@media (max-width: 620px) {
  .how-step { gap: 1rem; }
  .how-num { width: 40px; height: 40px; font-size: 1.2rem; }
  .how-step:not(:last-child) .how-num::after { top: 40px; }
}
