/* ═══════════════════════════════════════════════════════════
   Granddaughter of the Earth — design system
   Direction: "Linen & Light" × "Stone Circle"
   Palette drawn from Katie's photographs.
   ═══════════════════════════════════════════════════════════ */

:root {
  --c-linen:  #f7f2e9;
  --c-linen-2:#efe7d8;
  --c-ink:    #2b2620;
  --c-moss:   #6b7a5c;
  --c-moss-text: #55644a; /* moss with ≥4.5:1 on linen tints — for text/links on light */
  --c-stone-text: #6e6a5f; /* stone with ≥4.5:1 on linen — for muted text on light */
  --c-forest: #3a4434;
  --c-gold:   #c39a5e;
  --c-bronze: #82632f; /* gold-family with ≥4.5:1 contrast on linen — for text on light */
  --c-stone:  #8b8578;

  /* booking-widget hooks (Forge contract) */
  --c-bg: var(--c-linen);
  --c-accent: var(--c-moss);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;

  --wrap: 1080px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--c-linen);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.14; margin: 0 0 .6em; }
h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); color: var(--c-forest); }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }

/* ─── skip link ─── */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-forest); color: var(--c-linen);
  padding: .6rem 1.1rem; z-index: 100; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ─── nav ─── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--c-linen) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--c-stone) 30%, transparent);
}
.nav {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem clamp(1.1rem, 4vw, 2.5rem);
}
.nav-brand {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.25rem; letter-spacing: .02em;
  color: var(--c-forest); text-decoration: none; white-space: nowrap;
}
.nav-brand-of { font-style: italic; color: var(--c-bronze); }
.nav-menu { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-menu a {
  color: var(--c-ink); text-decoration: none; font-size: .92rem; letter-spacing: .015em;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.nav-menu a:hover, .nav-menu a:focus-visible { border-bottom-color: var(--c-gold); }
.nav-cta {
  background: var(--c-forest); color: var(--c-linen) !important;
  padding: .5rem 1.05rem !important; border-radius: 999px;
  border-bottom: none !important;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--c-moss); }
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: none; padding: .55rem; cursor: pointer;
  }
  .nav-toggle-bar { width: 22px; height: 2px; background: var(--c-ink); transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: .5rem 0 1rem;
    background: var(--c-linen);
    border-bottom: 1px solid color-mix(in srgb, var(--c-stone) 35%, transparent);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; text-align: center; }
  .nav-menu a { display: inline-block; padding: .7rem 1rem; font-size: 1.05rem; }
  .nav-cta { margin-top: .4rem; }
}

/* ─── hero ─── */
.hero { position: relative; min-height: 92svh; display: grid; place-items: end center; isolation: isolate; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; z-index: -2; }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(24, 21, 17, .78) 0%, rgba(24, 21, 17, .25) 45%, rgba(24, 21, 17, .12) 100%);
}
.hero-inner { text-align: center; padding: 0 1.2rem clamp(3.5rem, 9vh, 6.5rem); color: #f4efe6; max-width: 46rem; }
.hero-kicker {
  text-transform: uppercase; letter-spacing: .32em; font-size: .8rem;
  color: var(--c-gold); margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2.7rem, 8.5vw, 5.2rem); font-weight: 500;
  color: #faf7f0; margin-bottom: .35em; text-wrap: balance;
}
.hero-tagline {
  font-style: italic; font-size: clamp(1.02rem, 2.4vw, 1.25rem);
  color: #e8e1d2; max-width: 34em; margin: 0 auto 1.8em;
}

/* ─── buttons ─── */
.btn {
  display: inline-block; text-decoration: none; border-radius: 999px;
  padding: .8rem 2rem; font-family: var(--font-body); font-size: 1rem;
  transition: background .2s, transform .2s;
}
.btn-gold { background: var(--c-gold); color: #241f18; }
.btn-gold:hover, .btn-gold:focus-visible { background: #d3ac72; transform: translateY(-1px); }

a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--c-gold); outline-offset: 3px;
}

/* ─── sections ─── */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.section-tint { background: var(--c-linen-2); }
.section-dark { background: var(--c-forest); color: #ece6d8; }
.section-dark h2 { color: #f4efe4; }
.section-dark .text-link { color: #d8b57e; /* lightened gold — ≥4.5:1 on forest */ }
.section-intro { font-style: italic; color: var(--c-stone-text); max-width: 40em; }
.section-dark .section-intro { color: #c9c2b0; }
.section-cta { margin-top: 1.6em; }
.motto {
  font-family: var(--font-display); font-style: italic; font-size: 1.45rem;
  color: var(--c-moss-text); margin: 1.2em 0;
}
.section-dark .motto { color: var(--c-gold); }

/* ripple divider — sound waves / water rings / stone circles */
.ripple { color: var(--c-gold); margin-bottom: 1.2rem; text-align: center; }
.ripple-left { text-align: left; }
.section h2 { text-align: center; }
.split-text h2, .split-text h3 { text-align: left; }
.section-intro { margin-left: auto; margin-right: auto; text-align: center; }
.split-text .section-intro { text-align: left; }

/* ─── offerings ─── */
.offer-grid {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem;
}
.offer-card {
  background: #fffdf8; border: 1px solid color-mix(in srgb, var(--c-stone) 24%, transparent);
  border-radius: var(--radius); padding: 1.8rem 1.6rem 1.5rem;
  box-shadow: 0 2px 14px rgba(43, 38, 32, .05);
  display: flex; flex-direction: column; gap: .2rem;
}
.offer-num {
  font-family: var(--font-display); color: var(--c-bronze); font-size: 1.15rem;
  letter-spacing: .12em;
}
.offer-card p { flex: 1; font-size: .98rem; }
.offer-link { color: var(--c-moss-text); text-decoration: none; font-size: .95rem; }
.offer-link:hover, .offer-link:focus-visible { color: var(--c-forest); text-decoration: underline; }

/* ─── split layouts + arch frames ─── */
.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.8rem, 5vw, 4rem); align-items: center;
}
.split-rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split-rev .arch-frame { order: 2; }
@media (max-width: 820px) {
  .split, .split-rev { grid-template-columns: 1fr; }
  .split-rev .arch-frame { order: 0; }
  .arch-frame { max-width: 26rem; margin-inline: auto; }
}
.arch-frame { margin: 0; }
.arch-frame img {
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: 0 10px 34px rgba(43, 38, 32, .16);
}

.banner { margin: 2.2rem 0; }
.banner img { border-radius: var(--radius); box-shadow: 0 10px 34px rgba(43, 38, 32, .12); width: 100%; }

/* ─── journeys ─── */
.journey-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.4rem, 4vw, 3rem); margin-top: 1rem;
}
.journey h3 { border-top: 2px solid var(--c-gold); padding-top: .9rem; }

/* ─── text links / bandcamp ─── */
.text-link { color: var(--c-moss-text); text-decoration-color: color-mix(in srgb, var(--c-gold) 60%, transparent); text-underline-offset: 3px; }
.text-link:hover, .text-link:focus-visible { color: var(--c-forest); }
.bandcamp { border: 0; width: 100%; max-width: 420px; height: 208px; margin: .4rem 0 .8rem; border-radius: 8px; }
.bandcamp-facade { margin: .4rem 0 .8rem; }
.bandcamp-play {
  position: relative; display: flex; align-items: center; gap: 1rem;
  width: 100%; max-width: 420px; padding: .8rem 1rem;
  background: #fffdf8; border: 1px solid color-mix(in srgb, var(--c-stone) 30%, transparent);
  border-radius: 8px; cursor: pointer; font-family: var(--font-body); font-size: 1rem;
  color: var(--c-ink); text-align: left; transition: box-shadow .2s;
}
.bandcamp-play:hover, .bandcamp-play:focus-visible { box-shadow: 0 4px 18px rgba(43,38,32,.14); }
.bandcamp-play img { width: 72px; height: 72px; border-radius: 6px; }
.bandcamp-play-icon {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; flex: none;
  background: var(--c-forest); color: var(--c-linen); border-radius: 999px; font-size: .8rem;
  padding-left: 3px;
}
.bandcamp-play-label { font-family: var(--font-display); font-size: 1.2rem; color: var(--c-forest); }

/* ─── reveal on scroll ─── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── footer ─── */
.site-footer { background: var(--c-ink); color: #cfc8b8; padding: 2.6rem 0 2.2rem; }
.footer-inner { text-align: center; }
.footer-brand { font-family: var(--font-display); font-size: 1.35rem; color: #efe8d8; margin-bottom: .4em; }
.footer-links a { color: var(--c-gold); text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { text-decoration: underline; }
.footer-copy { font-size: .85rem; color: #a69f90; margin: 1em 0 0; }

/* booking widget contrast overrides (muted text ≥4.5:1 on linen) */
.bk-intro, .bk-cal-dow, .bk-hint, .bk-optional, .bk-slots-empty { color: var(--c-stone-text); }

/* ─── 404 ─── */
.notfound { min-height: 70svh; display: grid; place-items: center; text-align: center; padding: 2rem; }
