/* Georgie Miller — coaching & breathwork
   Layout: editorial, spacious single column with split sections; ivory ground, olive ink, sage and stone bands */
:root {
  --bg: #f7f4ee;          /* warm ivory */
  --surface: #fffdf9;
  --stone: #ebe5da;       /* soft stone band */
  --sage: #dfe4d6;        /* pale sage band */
  --fg: #262a22;          /* olive-black ink */
  --muted: #5e6455;
  --olive: #5a6339;       /* muted olive accent */
  --olive-soft: #cfd5bd;
  --line: #d9d3c6;
  --display: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --body: "EB Garamond", "Garamond", Georgia, serif;
  --mono: "EB Garamond", "Garamond", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161812; --surface: #1d2018; --stone: #1f211b; --sage: #1b2019; --fg: #ecebe3; --muted: #a8ab9c;
    --olive: #b7c08f; --olive-soft: #3a4128; --line: #33362c; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #161812; --surface: #1d2018; --stone: #1f211b; --sage: #1b2019; --fg: #ecebe3; --muted: #a8ab9c;
  --olive: #b7c08f; --olive-soft: #3a4128; --line: #33362c; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 1.1875rem; line-height: 1.65; }
img { max-width: 100%; }
.wrap { max-width: 70rem; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 46rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(2.7rem, 6.6vw, 4.9rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3rem); }
h3 { font-size: 1.55rem; font-weight: 600; }
p { margin: 0; max-width: 64ch; }
a { color: var(--olive); text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 4px; }
.label { font-family: var(--body); font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive); }
.lede { font-size: clamp(1.15rem, 2vw, 1.3rem); color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }
.stack-lg { display: flex; flex-direction: column; gap: 1.8rem; min-width: 0; }

/* Header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem 1.5rem; padding-block: 0.9rem; flex-wrap: wrap; }
.brand { font-family: var(--display); font-size: 1.3rem; color: var(--fg); text-decoration: none; white-space: nowrap; }
nav.main { display: flex; gap: 0.3rem 1.3rem; flex-wrap: wrap; font-size: 0.95rem; }
nav.main a { color: var(--muted); text-decoration: none; padding-block: 0.2rem; border-bottom: 1px solid transparent; }
nav.main a:hover { color: var(--fg); }
nav.main a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--olive); }

/* Buttons */
.ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn { display: inline-block; background: var(--olive); color: var(--bg); padding: 0.85rem 1.5rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.98rem; border: 1.5px solid var(--olive); }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--olive); }
.textlink { font-weight: 600; text-decoration: none; }
.textlink::after { content: " →"; }

/* Sections */
section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.band-stone { background: var(--stone); }
.band-sage { background: var(--sage); }
.sec-head { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2.6rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip > :first-child { order: 2; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero .stack { max-width: 52rem; }

/* Home hero */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; justify-self: center; width: min(28rem, 100%); }
.photo { display: block; width: 100%; height: auto; max-width: 30rem; margin-inline: auto; object-fit: cover; object-position: 50% 25%; border-radius: 12px; }
.photo.arch { aspect-ratio: 4 / 5; object-position: 50% 45%; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo-band { display: block; width: min(70rem, 100% - 2 * max(16px, env(safe-area-inset-left, 0px))); margin-inline: auto; aspect-ratio: 16 / 7; height: auto; object-fit: cover; object-position: 35% 40%; border-radius: 12px; }

/* Breath badge + orb */
.breath { display: flex; align-items: center; gap: 0.9rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.55rem 1.2rem 0.55rem 0.55rem; box-shadow: 0 12px 30px -16px rgb(0 0 0 / 0.4); }
.orb-wrap { width: 3.2rem; aspect-ratio: 1; display: grid; place-items: center; position: relative; flex: none; }
.ring { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 50%; }
.orb { width: 45%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--surface), var(--olive-soft) 60%, var(--olive) 140%); transform: scale(1); }
.cue { font-family: var(--body); font-variant-numeric: tabular-nums; font-size: 0.95rem; color: var(--muted); letter-spacing: 0.06em; min-width: 8em; }
.cue strong { color: var(--fg); font-weight: 500; }

/* The question */
.question { font-family: var(--display); font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.25; max-width: 30ch; text-wrap: balance; margin: 0; }

/* Lists */
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.ticks li { padding-left: 1.6rem; position: relative; max-width: 60ch; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.8rem; height: 1px; background: var(--olive); }
.cols-2 { columns: 2 18rem; column-gap: 3rem; }
.cols-2 li { break-inside: avoid; margin-bottom: 0.9rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 0.8rem; min-width: 0; }
.card .textlink { margin-top: auto; padding-top: 0.4rem; }
.card.soon { background: transparent; border-style: dashed; }
.tag { align-self: flex-start; font-family: var(--body); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.6rem; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 2.2rem 3rem; }
.principle { border-top: 1px solid var(--line); padding-top: 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.principle h3 { font-size: 1.45rem; }
.principle p { color: var(--muted); }

/* Credentials strip */
.creds { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.creds li { font-size: 0.92rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.9rem; background: var(--surface); }

/* Timeline (about) */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding-block: 1rem; border-top: 1px solid var(--line); }
.timeline .when { font-family: var(--body); font-size: 0.95rem; font-weight: 600; color: var(--olive); font-variant-numeric: tabular-nums; padding-top: 0.15rem; }

/* Breath patterns (breathwork page) */
.patterns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pattern-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pattern-tabs button { font: inherit; font-size: 0.92rem; padding: 0.55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--olive); background: transparent; color: var(--olive); cursor: pointer; }
.pattern-tabs button[aria-pressed="true"] { background: var(--olive); color: var(--bg); }
.pattern-stage { display: grid; place-items: center; gap: 1.2rem; }
.pattern-stage .orb-wrap { width: min(18rem, 70vw); }
.pattern-stage .cue { font-size: 1rem; text-align: center; min-height: 1.6em; }
.pattern-note { font-size: 0.9rem; color: var(--muted); }

/* FAQ / details */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 48rem; }
details { border-bottom: 1px solid var(--line); padding-block: 1.1rem; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--body); color: var(--olive); }
details[open] summary::after { content: "−"; }
details > :not(summary) { margin-top: 0.8rem; color: var(--muted); }
details ul { padding-left: 1.2rem; }

.note { font-size: 0.92rem; color: var(--muted); border-left: 2px solid var(--olive-soft); padding-left: 1rem; max-width: 64ch; }

/* CTA band */
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }

/* Contact */
.contact-list { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-list .k { display: block; font-family: var(--body); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.big-email { font-family: var(--display); font-size: clamp(1.4rem, 3.5vw, 2.1rem); word-break: break-word; }

/* Footer */
footer.site { border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
footer.site .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; padding-block: 2.5rem; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
footer.site a { color: var(--muted); }
footer.site .disclaimer { grid-column: 1 / -1; max-width: 75ch; }


/* Full-bleed photo layouts */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(86svh, 50rem); }
.feature-body { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; min-width: 0;
  padding-block: clamp(3rem, 7vw, 6rem);
  padding-left: max(clamp(16px, 6vw, 6rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 5vw, 5rem), env(safe-area-inset-right, 0px)); }
.feature-body > * { max-width: 34rem; }
.feature-media { position: relative; min-height: 24rem; overflow: hidden; background: var(--stone); }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature.media-left .feature-media { order: -1; }
.feature.media-left .feature-body { padding-left: max(clamp(16px, 5vw, 5rem), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 6vw, 6rem), env(safe-area-inset-right, 0px)); }
.feature-hero { min-height: min(calc(100svh - 4rem), 54rem); }
.feature-media .breath { position: absolute; left: 1.5rem; bottom: 1.5rem; }

.impact { position: relative; min-height: min(82svh, 46rem); display: grid; align-items: end; overflow: hidden; }
.impact img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 32% 35%; }
.impact::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(18 20 14 / 0.7), rgb(18 20 14 / 0) 55%); }
.impact .wrap { position: relative; z-index: 1; width: 100%; padding-block: clamp(2rem, 6vw, 4rem); display: flex; justify-content: flex-end; }
.impact-line { text-align: right; font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.1; color: #fbf8f1; max-width: 18ch; text-wrap: balance; }

@media (max-width: 820px) {
  .feature, .feature-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .feature-media { order: -1; min-height: 0; aspect-ratio: 4 / 5; max-height: 78svh; }
  .feature-body, .feature.media-left .feature-body { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 2.5rem 3rem; }
  .feature-media .breath { left: max(1rem, env(safe-area-inset-left, 0px)); bottom: 1rem; }
  .impact { min-height: 70svh; }
  .impact .wrap { justify-content: flex-start; }
  .impact-line { text-align: left; }
}

@media (max-width: 820px) {
  .split, .patterns { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
  .hero .hero-visual { order: -1; }
  .photo-band { aspect-ratio: 4 / 3; }
  footer.site .wrap { grid-template-columns: minmax(0, 1fr); }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
