/* Rob Green Counselling — design system
   Calm, warm paper with deep green ink. Serif display, humanist sans body.
   Content is visible without JavaScript; motion is progressive and respects reduced-motion. */

:root {
  --paper: #f6f3ec;
  --paper-2: #efeadf;
  --white: #fffdf8;
  --ink: #1b2822;
  --ink-soft: #4a5a52;
  --line: #d8d2c3;
  --line-soft: #e6e1d4;
  --green-950: #131211; /* darkest ink/surface: black */
  --green-900: #173a2d;
  --green-800: #1f4a39;
  --green-700: #2a5e48;
  --green-500: #4f7f63;
  --sage-300: #c5d3c3;
  --sage-200: #dbe5d9;
  --sage-100: #e9efe6;
  --black: #131211;
  --black-2: #1d1b19;
  --gold: #c49a3c;        /* on dark backgrounds */
  --gold-deep: #8f6a1c;   /* gold text on light backgrounds (AA) */
  --gold-soft: #eadcb6;
  --red: #8e1e29;
  --red-soft: #f4dfdf;
  --clay: #8e1e29;
  --clay-soft: #f4dfdf;
  --danger: #9b2f2a;
  --focus: #8e1e29;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 39, 30, .06), 0 12px 32px -12px rgba(16, 39, 30, .18);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-700); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--black); letter-spacing: -.012em; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { margin: 0 0 1em; }
em { font-style: italic; }
h1 em, h2 em { color: var(--green-700); }

.sr-only { position: absolute; 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: 12px; top: -60px; z-index: 100; background: var(--green-900); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 1rem; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); line-height: 1.6; max-width: 38em; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.35em; border-radius: 999px; border: 1px solid transparent;
  background: var(--green-900); color: var(--white); font: 600 1rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--green-700); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--green-900); border-color: var(--green-900); }
.btn-ghost:hover { background: var(--green-900); color: var(--white); }
.btn-light { background: var(--paper); color: var(--green-950); }
.btn-light:hover { background: var(--white); color: var(--green-950); }
.btn-small { min-height: 40px; padding: .5em 1.1em; font-size: .95rem; }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #7d231f; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 236, .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
.mark {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px 14px 14px 4px;
  background: var(--black); color: var(--gold); font: 500 1.15rem/1 var(--serif); letter-spacing: .02em;
  box-shadow: inset 0 -4px 0 var(--red);
}
.wordmark { display: flex; flex-direction: column; font: 500 1.3rem/1.05 var(--serif); }
.wordmark small { font: 600 .66rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--green-700); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { color: var(--green-700); }
.site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--red); }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--green-950); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .js .site-nav { display: none; }
  .site-nav { position: absolute; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(16,39,30,.25); }
  .js .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--line-soft); color: var(--green-700); }
  .site-nav .btn { margin-top: 16px; }
  .no-js-nav .site-nav { position: static; box-shadow: none; }
}

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.tone-sage { background: var(--sage-100); }
.tone-paper2 { background: var(--paper-2); }
.tone-dark { background: var(--black); color: #e4e0d6; }
.tone-dark h2, .tone-dark h3 { color: var(--paper); }
.tone-dark .eyebrow { color: var(--gold); }
.tone-dark .eyebrow::before { background: var(--red); }
.tone-dark .lede, .tone-dark .muted { color: #cfc9bc; }
.tone-dark a:not(.btn) { color: var(--sage-200); }

.section-head { display: grid; gap: 16px 64px; grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(36px, 5vw, 56px); }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1fr 1fr; align-items: end; } }
.section-head h2 { margin: 0; }
.section-head .lede { margin: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 8vw, 104px) clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 72px; } }
.hero h1 { max-width: 11em; }
.hero .lede { margin-bottom: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding: 0; list-style: none; color: var(--ink-soft); font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero-art { position: relative; min-height: 420px; display: grid; place-items: center; }
.contours { position: absolute; left: 50%; top: 50%; width: min(150%, 640px); height: auto; aspect-ratio: 1; transform: translate(-50%, -50%); color: var(--gold-soft); pointer-events: none; }
.session-card { position: relative; width: min(100%, 380px); background: var(--white); border: 1px solid var(--line-soft); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.session-card h2 { font-size: 1.6rem; margin-bottom: .3em; }
.session-card dl { margin: 18px 0 22px; display: grid; gap: 0; }
.session-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: .97rem; }
.session-card dt { color: var(--ink-soft); }
.session-card dd { margin: 0; font-weight: 600; text-align: right; }
.session-card .btn { width: 100%; }

.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { max-width: 14em; }

/* Statement */
.statement { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.3; color: var(--black); max-width: 24em; margin: 0; }
.tone-dark .statement { color: var(--paper); }
.statement em { color: var(--green-700); }
.tone-dark .statement em { color: var(--gold); }

/* Cards */
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 8px; }
.card p { color: var(--ink-soft); }
.card .text-link { margin-top: auto; }
.card-num { font: 500 1rem/1 var(--serif); color: var(--gold-deep); margin-bottom: 10px; }
.tone-sage .card { border-color: transparent; }

/* Two column */
.two-col { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 80px; } .two-col.center { align-items: center; } }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius) var(--radius) var(--radius) 6px; background: linear-gradient(160deg, var(--sage-200), var(--sage-100)); border: 1px solid var(--line-soft); display: grid; place-items: center; position: relative; overflow: hidden; }
.portrait .mark { width: 96px; height: 96px; font-size: 2.4rem; border-radius: 30px 30px 30px 8px; box-shadow: inset 0 -7px 0 var(--red); }
.portrait-note { position: absolute; bottom: 16px; left: 16px; right: 16px; font-size: .82rem; color: var(--ink-soft); text-align: center; }
.pull { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; margin: 28px 0; font: italic 1.25rem/1.5 var(--serif); color: var(--green-900); }

/* Steps */
.steps { display: grid; gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line-soft); }
.tone-dark .steps li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--black); font: 500 1.1rem/1 var(--serif); margin-bottom: 16px; }
.tone-dark .steps li::before { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); }
.steps p { margin: 0; color: var(--ink-soft); }
.tone-dark .steps p { color: #cfc9bc; }

/* Detail list */
.details { margin: 0; display: grid; }
.details > div { display: grid; grid-template-columns: minmax(110px, 160px) 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.details > div:last-child { border-bottom: 1px solid var(--line); }
.details dt { font-weight: 600; color: var(--green-900); }
.details dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 520px) { .details > div { grid-template-columns: 1fr; gap: 2px; } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; list-style: none; }
.tags li { padding: 6px 14px; border-radius: 999px; background: var(--sage-100); color: var(--green-900); font-size: .92rem; }
.tone-sage .tags li { background: var(--white); }

/* Service blocks */
.service { display: grid; gap: 24px 64px; padding-block: 48px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.service:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .service { grid-template-columns: 1fr 1.4fr; } }

/* FAQ (native details) */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font: 500 1.2rem/1.35 var(--serif); color: var(--green-950); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-soft); }
.faq .answer p:last-child { margin: 0; }

/* Callout */
.callout { display: grid; gap: 24px; align-items: center; background: var(--black); color: #e4e0d6; border-bottom: 4px solid var(--gold); border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 5vw, 56px); }
@media (min-width: 860px) { .callout { grid-template-columns: 1fr auto; } }
.callout h2 { color: var(--paper); margin-bottom: .3em; }
.callout p { margin: 0; color: #cfc9bc; max-width: 40em; }

/* Notice */
.notice { border-radius: var(--radius-sm); padding: 16px 20px; background: var(--red-soft); color: #5c1820; border: 1px solid #e6c0c3; font-size: .95rem; }
.notice strong { color: #4a1219; }
.notice-calm { background: var(--sage-100); border-color: var(--sage-200); color: var(--green-900); }

/* Support strip */
.support { display: grid; gap: 12px 40px; align-items: center; }
@media (min-width: 860px) { .support { grid-template-columns: 1fr auto; } }
.support p { margin: 0; }

/* Footer */
.site-footer { background: var(--black); color: #cfc9bc; padding-block: 64px 32px; font-size: .95rem; border-top: 4px solid var(--green-700); }
.site-footer a { color: #efe9dc; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer .brand { color: var(--paper); }
.site-footer .mark { background: var(--black-2); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(196,154,60,.5), inset 0 -4px 0 var(--red); }
.site-footer .wordmark small { color: var(--gold); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } }
.footer-grid h2 { font: 600 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 6px 0 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #a8a295; font-size: .88rem; }

/* Reveal (only when JS is running) */
.js .reveal { opacity: 0; translate: 0 14px; transition: opacity .5s ease, translate .5s ease, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.js .reveal.is-visible { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; translate: none; transition: none; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label, .legend { font-weight: 600; color: var(--green-950); font-size: .98rem; }
.hint { color: var(--ink-soft); font-size: .9rem; font-weight: 400; }
.input, .field input, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid #b9b2a2; background: var(--white); color: var(--ink); font: 1rem/1.3 var(--sans);
}
.field input:focus, .field select:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--green-900); }
.field.has-error input { border-color: var(--danger); border-width: 2px; }
.error-text { color: var(--danger); font-weight: 600; font-size: .92rem; }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.dob { display: flex; gap: 12px; }
.dob .field input { text-align: center; }
.dob .dd, .dob .mm { width: 72px; } .dob .yyyy { width: 100px; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--green-900); flex: none; }

/* ---------- Booking ---------- */
.booking { display: grid; gap: 32px; align-items: start; }
.booking > * { min-width: 0; }
@media (min-width: 1000px) { .booking { grid-template-columns: 1fr 340px; gap: 48px; } }
.booking-panel { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 40px); }
.booking-step + .booking-step { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line-soft); }
.booking-step h2 { font-size: 1.6rem; }
.booking-step h2 .num { display: block; margin-bottom: 8px; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; color: var(--green-500); text-transform: uppercase; }
.choice-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border: 0; padding: 0; margin: 0; }
.choice-grid legend { margin-bottom: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice label { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; transition: border-color .15s, background .15s; }
.choice label strong { color: var(--green-950); }
.choice label span { color: var(--ink-soft); font-size: .9rem; }
.choice input:checked + label { border: 2px solid var(--green-900); background: var(--sage-100); padding: 15px 17px; }
.choice input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }

.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.day { flex: none; scroll-snap-align: start; min-width: 76px; padding: 10px 8px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); text-align: center; cursor: pointer; font: inherit; color: var(--ink); }
.day small { display: block; color: var(--ink-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.day strong { display: block; font: 500 1.4rem/1.2 var(--serif); color: var(--green-950); }
.day[aria-pressed="true"] { background: var(--green-900); border-color: var(--green-900); }
.day[aria-pressed="true"] small, .day[aria-pressed="true"] strong { color: var(--paper); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 12px; }
.time { min-height: 46px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); font: 600 1rem/1 var(--sans); color: var(--green-950); cursor: pointer; }
.time:hover { border-color: var(--green-700); }
.time[aria-pressed="true"] { background: var(--green-900); color: var(--paper); border-color: var(--green-900); }
.slot-empty { padding: 20px; border-radius: var(--radius-sm); background: var(--paper-2); color: var(--ink-soft); }

.summary { position: sticky; top: 96px; border-top: 4px solid var(--gold); background: var(--green-950); color: #e4e0d6; border-radius: var(--radius); padding: 28px; }
.summary h2 { color: var(--paper); font-size: 1.4rem; }
.summary dl { margin: 0 0 20px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.summary dt { color: #a8a295; }
.summary dd { margin: 0; text-align: right; color: var(--paper); font-weight: 600; }
.summary .total dd { font: 500 1.6rem/1 var(--serif); }
.summary .btn { width: 100%; background: var(--paper); color: var(--green-950); }
.summary .btn:hover { background: var(--white); }
.summary .fine { font-size: .82rem; color: #a8a295; margin: 14px 0 0; }

.age-message, .status-card, [data-errors] { scroll-margin-top: 110px; }
.age-message:focus, .status-card:focus, .call-wait:focus, [data-errors]:focus { outline: none; }
.age-message { background: var(--sage-100); border: 1px solid var(--sage-200); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.age-message h2 { font-size: 1.7rem; }
.age-message ul { padding-left: 1.2em; }

.status-card { max-width: 640px; margin-inline: auto; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(24px, 5vw, 48px); text-align: center; }
.status-card .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--sage-200); color: var(--green-900); display: grid; place-items: center; margin: 0 auto 20px; font-size: 1.8rem; }
.status-card .details { text-align: left; margin: 24px 0; }

.spinner { width: 28px; height: 28px; border: 3px solid var(--sage-200); border-top-color: var(--green-700); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

/* ---------- Call ---------- */
.call-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--green-950); color: #e4e0d6; }
.call-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter); border-bottom: 1px solid rgba(255,255,255,.1); }
.call-bar .brand { color: var(--paper); }
.call-bar .mark { background: var(--black-2); color: var(--gold); width: 36px; height: 36px; font-size: 1rem; }
.call-stage { flex: 1; display: grid; place-items: center; padding: 16px; }
.call-frame { width: 100%; height: calc(100vh - 90px); border: 0; border-radius: 14px; background: #0b1d16; }
.call-wait { max-width: 520px; text-align: center; padding: 24px; }
.call-wait h1 { color: var(--paper); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.call-wait p { color: #cfc9bc; }
.call-wait .btn { background: var(--paper); color: var(--green-950); }

.demo-room { width: 100%; max-width: 1100px; display: grid; gap: 16px; }
.demo-tiles { position: relative; display: grid; }
.tile { position: relative; border-radius: 16px; background: #1d1b19; overflow: hidden; display: grid; place-items: center; }
.tile-main { aspect-ratio: 16 / 9; min-height: 260px; background: radial-gradient(circle at 50% 40%, #2a2724, #151413); }
.tile-mark { width: 96px; height: 96px; font-size: 2.2rem; border-radius: 30px 30px 30px 8px; box-shadow: inset 0 -7px 0 var(--red); }
.tile-name { position: absolute; left: 14px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: var(--paper); font-size: .9rem; }
.tile-status { position: absolute; top: 14px; left: 14px; color: var(--gold); font-size: .85rem; display: inline-flex; align-items: center; gap: 8px; }
.tile-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4caf7a; }
.tile-self { position: absolute; right: 16px; bottom: 16px; width: min(32%, 260px); aspect-ratio: 4 / 3; border: 2px solid rgba(196,154,60,.6); background: #262320; }
.tile-self video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.tile-self .btn { font-size: .82rem; min-height: 34px; padding: .4em .9em; }
.call-controls { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.ctrl { min-height: 46px; min-width: 110px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: #262320; color: var(--paper); font: 600 .95rem/1 var(--sans); cursor: pointer; }
.ctrl[aria-pressed="true"] { background: var(--paper); color: var(--black); }
.ctrl-leave { background: var(--red); border-color: var(--red); }
.demo-note { text-align: center; color: #a8a295; font-size: .88rem; margin: 0; }
@media (max-width: 600px) { .tile-self { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 12px; } }

/* ---------- Admin ---------- */
.admin-page { background: var(--paper-2); min-height: 100vh; }
.admin-bar { background: var(--green-950); color: var(--paper); }
.admin-bar .nav { min-height: 64px; }
.admin-bar .brand { color: var(--paper); }
.admin-bar .mark { background: var(--black-2); color: var(--gold); width: 36px; height: 36px; font-size: 1rem; }
.admin-bar .wordmark small { color: var(--gold); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 28px 0 24px; overflow-x: auto; }
.tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 16px; font: 600 1rem/1 var(--sans); color: var(--ink-soft); cursor: pointer; white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--black); border-bottom-color: var(--red); }
.stat-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 24px; }
.stat { background: var(--white); border-radius: var(--radius-sm); padding: 18px 20px; border: 1px solid var(--line-soft); }
.stat strong { display: block; font: 500 2rem/1.1 var(--serif); color: var(--green-950); }
.stat span { color: var(--ink-soft); font-size: .9rem; }
.booking-list { display: grid; gap: 10px; }
.booking-row { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 16px 20px; display: grid; gap: 10px 20px; align-items: center; }
@media (min-width: 900px) { .booking-row { grid-template-columns: 150px 1fr auto; } }
.booking-when strong { display: block; font: 500 1.15rem/1.2 var(--serif); color: var(--green-950); }
.booking-when span { color: var(--ink-soft); font-size: .9rem; }
.booking-who { display: grid; gap: 2px; font-size: .95rem; }
.booking-who .name { font-weight: 600; }
.booking-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; background: var(--sage-100); color: var(--green-900); }
.badge.pending_payment { background: var(--clay-soft); color: #6b3a1f; }
.badge.cancelled, .badge.expired, .badge.refunded { background: #eee; color: #555; }
.badge.completed { background: var(--sage-200); }
.badge.no_show { background: #f3dcda; color: var(--danger); }
.admin-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; }
.rule-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
@media (max-width: 600px) { .rule-row { grid-template-columns: 1fr 1fr; } }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--green-950); color: var(--paper); padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow); z-index: 90; }
.dev-flag { background: var(--clay); color: var(--white); text-align: center; font-size: .85rem; padding: 6px 12px; }

/* =========================================================
   Interaction layer
   Calm, slow and optional: everything below is switched off
   for prefers-reduced-motion, and content never depends on it.
   ========================================================= */

/* Reading progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--red)); transform: scaleX(var(--progress, 0)); transform-origin: 0 50%; z-index: 60; pointer-events: none; }

/* Header settles as you scroll */
.site-header .nav { transition: min-height .3s ease; }
.site-header.is-scrolled .nav { min-height: 64px; }
.site-header .mark { transition: transform .3s ease; }
.site-header.is-scrolled .mark { transform: scale(.9); }
.brand:hover .mark { transform: rotate(-4deg); }

/* Mobile menu slides in */
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.js .site-nav.is-open { animation: menuIn .25s ease both; }

/* Hero entrance */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .hero-grid > div:first-child > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero-grid > div:first-child > :nth-child(2) { animation-delay: .08s; }
.js .hero-grid > div:first-child > :nth-child(3) { animation-delay: .16s; }
.js .hero-grid > div:first-child > :nth-child(4) { animation-delay: .24s; }
.js .hero-grid > div:first-child > :nth-child(5) { animation-delay: .32s; }
.js .hero .session-card { animation: rise .9s cubic-bezier(.2, .7, .2, 1) .25s both; }

/* Hero contours drift slowly and follow the pointer a little */
@keyframes drift { from { transform: rotate(-3deg) scale(.98); } to { transform: rotate(4deg) scale(1.03); } }
.contours g { transform-box: fill-box; transform-origin: center; animation: drift 14s ease-in-out infinite alternate; }
.contours { transition: translate .6s cubic-bezier(.2, .7, .2, 1); translate: calc(var(--px, 0) * 18px) calc(var(--py, 0) * 18px); }
.hero .session-card { transition: translate .6s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; translate: calc(var(--px, 0) * -6px) calc(var(--py, 0) * -6px); }

/* Buttons: gentle lift and sheen */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { box-shadow: 0 10px 24px -14px rgba(19, 18, 17, .55); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: none; }

/* Cards: lift with a soft gold spotlight that follows the pointer */
.card { position: relative; isolation: isolate; overflow: hidden; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(196, 154, 60, .16), transparent 60%); opacity: 0; transition: opacity .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card:hover::before { opacity: 1; }
.card .text-link span { display: inline-block; transition: transform .25s; }
.card:hover .text-link span { transform: translateX(4px); }
.card-num { transition: color .3s; }
.card:hover .card-num { color: var(--red); }

/* Text links get an animated underline */
.text-link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s ease; }
.text-link:hover { text-decoration: none; background-size: 100% 1px; }

/* Steps: numbers pop in as they arrive */
@keyframes pop { 0% { transform: scale(.6); } 70% { transform: scale(1.08); } 100% { transform: scale(1); } }
.js .steps li.is-visible::before { animation: pop .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: inherit; }
.steps li { transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s, opacity .45s ease; }
.steps li:hover { transform: translateY(-3px); border-color: var(--gold-soft); }
.tone-dark .steps li:hover { border-color: rgba(196, 154, 60, .5); }

/* Statement: words light up as you read down the page */
.statement .w { opacity: .22; transition: opacity .35s ease; }
.statement .w.lit { opacity: 1; }

/* FAQ answers ease open */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq details[open] .answer { animation: fadeDown .3s ease both; }
.faq details { transition: border-color .25s, box-shadow .25s; }
.faq details:hover { border-color: var(--gold-soft); }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--gold-soft); }

/* Portrait mark breathes gently */
@keyframes softPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.portrait .mark { animation: softPulse 6s ease-in-out infinite; }

/* Booking controls respond to touch */
.choice label { transition: border-color .15s, background .15s, transform .15s; }
.choice label:hover { transform: translateY(-1px); border-color: var(--green-700); }
.day, .time { transition: background .2s, border-color .2s, transform .12s, color .2s; }
.day:hover { border-color: var(--green-700); }
.day:active, .time:active { transform: scale(.96); }
.time[aria-pressed="true"], .day[aria-pressed="true"] { animation: pop .3s ease both; }

/* ---------- Breathing exercise ---------- */
.breathe { display: grid; place-items: center; }
.breathe-ring { position: relative; width: min(78vw, 340px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.6), rgba(255,255,255,0) 70%); }
.breathe-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--gold-soft); }
.breathe-circle { position: absolute; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3b7a5d, var(--green-900) 70%); box-shadow: 0 20px 60px -20px rgba(23, 58, 45, .6), inset 0 0 0 6px rgba(196, 154, 60, .35); transform: scale(.55); transition-property: transform, box-shadow; transition-timing-function: cubic-bezier(.45, 0, .55, 1); transition-duration: 1.2s; }
.breathe[data-phase="in"] .breathe-circle, .breathe[data-phase="hold"] .breathe-circle { transform: scale(1); }
.breathe[data-phase="hold"] .breathe-circle { box-shadow: 0 20px 60px -20px rgba(23, 58, 45, .6), inset 0 0 0 6px rgba(196, 154, 60, .8); }
.breathe-label { position: relative; z-index: 1; margin: 0; max-width: 50%; text-align: center; color: var(--paper); font: 500 1.2rem/1.25 var(--serif); }
.breathe-count { display: block; font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }

/* Respect reduced motion everywhere */
@media (prefers-reduced-motion: reduce) {
  .js .hero-grid > div:first-child > *, .js .hero .session-card, .contours g, .portrait .mark,
  .js .steps li.is-visible::before, .faq details[open] .answer, .js .site-nav.is-open,
  .time[aria-pressed="true"], .day[aria-pressed="true"] { animation: none; }
  .contours, .hero .session-card { translate: none; }
  .card:hover, .steps li:hover, .btn:hover, .choice label:hover { transform: none; }
  .btn::after { display: none; }
  .statement .w { opacity: 1; }
  .breathe-circle { transition-property: box-shadow, opacity; }
  .breathe[data-phase] .breathe-circle { transform: scale(.8); }
  .breathe[data-phase="out"] .breathe-circle { opacity: .55; }
}
