/* fraunces-vietnamese-wght-normal */
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/fraunces-vietnamese-wght-normal.CnvboYUG.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* fraunces-latin-ext-wght-normal */
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/fraunces-latin-ext-wght-normal.Ca2vKHc0.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* fraunces-latin-wght-normal */
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/_astro/fraunces-latin-wght-normal.ukD16Tqj.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* instrument-sans-latin-ext-wght-normal */
@font-face {
  font-family: 'Instrument Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/_astro/instrument-sans-latin-ext-wght-normal.B5bTHO_g.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* instrument-sans-latin-wght-normal */
@font-face {
  font-family: 'Instrument Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/_astro/instrument-sans-latin-wght-normal.BbzFLZTg.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* Rowan Hale Counselling. Warm paper, deep green ink, clay accent. */
:root {
  --paper: #f6f1e8;
  --paper-deep: #ece4d6;
  --ink: #26332d;
  --ink-soft: #55635c;
  --clay: #c4653f;
  --clay-deep: #9c4a2a;
  --sage: #8fa58f;
  --sage-deep: #4f6b5a;
  --moss: #1f2a25;
  --rule: rgba(38, 51, 45, 0.16);

  --serif: 'Fraunces Variable', Georgia, serif;
  --sans: 'Instrument Sans Variable', system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --measure: 36rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: 'wdth' 100;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--clay-deep); }
:focus-visible { outline: 2px solid var(--clay-deep); outline-offset: 3px; border-radius: 2px; }
button { font: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  font-variation-settings: 'opsz' 144, 'SOFT' 60, 'WONK' 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 8.5vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.15; }
em.soft { font-style: italic; color: var(--clay-deep); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }
p { margin: 0 0 1em; max-width: var(--measure); }
p.lede { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; color: inherit; }

.label {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 1.25rem;
}

.wrap { padding-inline: var(--gutter); max-width: 76rem; margin-inline: auto; }
section { padding-block: clamp(4rem, 10vw, 8rem); }
.zone-deep { background: var(--paper-deep); }
.zone-moss { background: var(--moss); color: var(--paper); }
.zone-moss .label { color: var(--sage); }
.zone-moss a:hover { color: #e3a98f; }
.zone-moss em.soft { color: #e3a98f; }

.split { display: grid; gap: 2.5rem 4rem; align-items: start; }
@media (min-width: 52rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split.flip > :first-child { order: 2; }
}

.button {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 48px; padding: 0.75rem 1.4rem;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: 999px;
  text-decoration: none; font-weight: 500; cursor: pointer;
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.button:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: var(--paper); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button.ghost { background: transparent; color: var(--ink); }
.button.ghost:hover { background: var(--ink); color: var(--paper); }
.zone-moss .button { background: var(--paper); color: var(--moss); border-color: var(--paper); }
.zone-moss .button:hover { background: #e3a98f; border-color: #e3a98f; color: var(--moss); }
.zone-moss .button.ghost { background: transparent; color: var(--paper); }
.zone-moss .button.ghost:hover { background: var(--paper); color: var(--moss); }

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.brand { font-family: var(--serif); font-size: 1.3rem; text-decoration: none; letter-spacing: -0.01em; font-variation-settings: 'opsz' 48, 'SOFT' 50; }
.nav { display: flex; gap: clamp(0.9rem, 2.5vw, 2rem); list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.nav a { text-decoration: none; padding: 0.5rem 0; }
.nav a[aria-current='page'] { text-decoration: underline; text-decoration-color: var(--clay); text-decoration-thickness: 2px; }
.nav .cta { display: none; }
@media (max-width: 40rem) {
  .nav li:not(.keep) { display: none; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: 0; overflow: hidden; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero .wrap { width: 100%; padding-block: clamp(5.5rem, 12vh, 8rem) clamp(2.5rem, 6vh, 4rem); }
.hero h1 { margin-bottom: 0.35em; max-width: 11ch; }
.hero .lede { max-width: 30rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero .hint { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-deep); margin-top: 3rem; display: flex; gap: 0.6rem; align-items: center; }
.hero .hint::before { content: ''; width: 2.25rem; height: 1px; background: var(--sage-deep); }
@media (hover: none) { .hero .hint .mouse { display: none; } }
@media (hover: hover) { .hero .hint .touch { display: none; } }

/* Reasons list */
.reasons { list-style: none; margin: 0; padding: 0; columns: 1; }
.reasons li {
  font-family: var(--serif); font-size: clamp(1.45rem, 2.8vw, 2.3rem); line-height: 1.15;
  padding: 1.1rem 0; border-top: 1px solid var(--rule);
  font-variation-settings: 'opsz' 72, 'SOFT' 40;
}
.reasons li:last-child { border-bottom: 1px solid var(--rule); }
.reasons li span { color: var(--ink-soft); font-family: var(--sans); font-size: 0.95rem; display: block; margin-top: 0.3rem; font-variation-settings: normal; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.steps li { counter-increment: step; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.steps li::before {
  content: '0' counter(step); display: block; font-family: var(--serif); font-size: 3rem; line-height: 1;
  color: var(--clay); margin-bottom: 0.75rem; font-variation-settings: 'opsz' 144, 'SOFT' 100;
}
.steps h3 { margin-bottom: 0.4em; }
.steps p { font-size: 1rem; color: var(--ink-soft); }
.zone-moss .steps p { color: #cdd6cf; }
.zone-moss .steps li { border-color: rgba(246, 241, 232, 0.2); }

/* Portrait */
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 1.5rem 1.5rem; overflow: hidden; background: var(--paper-deep); max-width: 24rem; }
.portrait .wash { position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 30% 25%, rgba(143,165,143,0.55), transparent 70%),
  radial-gradient(55% 45% at 75% 70%, rgba(196,101,63,0.35), transparent 70%),
  var(--paper-deep); }
.portrait .initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: clamp(4rem, 9vw, 7rem); color: var(--ink); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }
.portrait figcaption { position: absolute; inset: auto 0 0; padding: 0.8rem 1.2rem; font-size: 0.8rem; color: var(--ink-soft); background: linear-gradient(transparent, rgba(236,228,214,0.95)); }

/* Facts */
.facts { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 0; }
.facts div { border-top: 1px solid var(--rule); padding-top: 1rem; }
.facts dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 0.4rem; }
.facts dd { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; font-variation-settings: 'opsz' 96, 'SOFT' 50; }
.facts dd small { font-family: var(--sans); font-size: 0.95rem; color: var(--ink-soft); display: block; margin-top: 0.35rem; }

/* FAQ */
.faq { max-width: 46rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.2; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; font-variation-settings: 'opsz' 72, 'SOFT' 40; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); color: var(--clay-deep); font-size: 1.5rem; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 1.25rem; }

/* Marquee of quiet words */
.marquee { overflow: hidden; padding-block: clamp(2rem, 5vw, 3.5rem); border-block: 1px solid var(--rule); white-space: nowrap; }
.marquee span { display: inline-block; font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 7vw, 5.5rem); line-height: 1; padding-inline: 0.4em; color: var(--sage-deep); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }

/* Form */
.form { display: grid; gap: 1.5rem; max-width: 36rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.95rem; font-weight: 500; }
.field .help { font-size: 0.85rem; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1.05rem; color: var(--ink);
  padding: 0.85rem 1rem; border: 1px solid var(--rule); border-radius: 0.75rem; background: #fff;
  width: 100%; min-height: 48px;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--sage-deep); outline: 2px solid var(--sage); outline-offset: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choices label { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; border: 1px solid var(--rule); border-radius: 999px; cursor: pointer; background: #fff; min-height: 44px; }
.choices input { accent-color: var(--clay-deep); width: 1.1rem; height: 1.1rem; margin: 0; }
.choices label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1rem 1.2rem; border-radius: 0.75rem; background: var(--paper-deep); }
.form-status[hidden] { display: none; }
.form-status.ok { background: #e4ebe2; }
.form-status.bad { background: #f3dfd5; }
.form-status p { margin: 0 0 0.5em; }
.form-status p:last-child { margin: 0; }
.copy-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1rem; }
.copy-btn { border: 1px solid var(--rule); background: #fff; border-radius: 999px; padding: 0.5rem 1rem; cursor: pointer; min-height: 44px; }
.copy-btn:hover { border-color: var(--ink); }

/* Footer */
.site-footer { padding-block: 3rem 2.5rem; font-size: 0.9rem; color: var(--ink-soft); }
.site-footer .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .site-footer .wrap { grid-template-columns: 1fr 1fr 1fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.site-footer .demo { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 1.25rem; font-size: 0.85rem; }

/* Page header for inner pages */
.page-head { padding-top: clamp(7rem, 16vh, 11rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.page-head h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); max-width: 14ch; }
.prose:not(.wrap) { max-width: var(--measure); }
.wrap.prose > * { max-width: var(--measure); }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 2em; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4em; }

/* Reveals: content is visible by default; motion is added only when supported and wanted. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .reveal-stagger > * {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    .marquee .track { animation: drift linear both; animation-timeline: scroll(root); }
  }
  .hero .wrap > * { animation: arrive 1.1s var(--ease) both; }
  .hero .wrap > :nth-child(2) { animation-delay: 0.12s; }
  .hero .wrap > :nth-child(3) { animation-delay: 0.24s; }
  .hero .wrap > :nth-child(4) { animation-delay: 0.36s; }
  .hero .wrap > :nth-child(5) { animation-delay: 0.6s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }
@keyframes arrive { from { opacity: 0; transform: translateY(0.9rem); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-18%); } }

/* A paper card inside a moss zone keeps paper-zone button colours. */
.card { background: var(--paper); color: var(--ink); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 1.5rem; }
.zone-moss .card .button { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.zone-moss .card .button:hover { background: var(--clay-deep); border-color: var(--clay-deep); }
.zone-moss .card a:hover { color: var(--clay-deep); }
