/* ==========================================================================
   The public pages: the homepage at / and /about/.

   Drafted with Brennan as a sales page (artifact, 14 Oct 2026, issue 446) and
   built here section for section. Everything is scoped under html.home (the class sits on <html>: the Route 53
   check needs the exact string <body class="cover"> on /), so
   none of it reaches the journey or the rooms, and flow.css's page shell
   (the measured main, the serif body, bold headings) is set aside for these
   two pages only.

   DESKTOP FIRST, as everywhere: base rules are the desktop layout, the two
   queries at the end adapt down (860px: one column and the burger; 600px:
   phone).

   COLOUR comes from /tokens.css only — no hex and no rgba colours. Artwork is the
   client's own: the splash inline (it follows `color`), the Life Objects and
   owls as CSS masks over a token colour, so they recolour the same way.
   ========================================================================== */

.home body {
  display: block;
  padding: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  background: var(--sand);
  color: var(--text-main);
}
html.home { scroll-padding-top: 5.75rem; }

.home main { max-width: none; margin: 0; padding: 0; }
.home main > * + * { margin-top: 0; }
.home p { max-width: none; }
.home h1, .home h2 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: 0; text-wrap: balance; }
.home h3 { font-family: var(--sans); font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.home a { color: inherit; }
.home :focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.home-wrap { max-width: 70rem; margin-inline: auto; padding-inline: 2rem; }
.home-band { position: relative; padding-block: 6rem; }

.home .eyebrow {
  font: 700 0.8125rem/1.2 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre-deep);
}
.home .lede { font-size: 1.25rem; color: var(--text-muted); max-width: 36em; }

/* Calls to action. Not .btn: flow.css owns that name for the journey. */
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 1.75rem; border-radius: 999px;
  font: 700 1.0625rem/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s; white-space: nowrap;
}
.cta-sun { background: var(--sun); color: var(--on-sun); box-shadow: var(--shadow-sm); }
.cta-sun:hover { background: var(--sun-deep); }
.cta-line { border-color: var(--border-mid); color: var(--forest); background: transparent; }
.cta-line:hover { background: var(--forest-pale); }
.section-cta { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2.25rem; }

.sec-head { max-width: 47.5rem; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-head .lede { margin-inline: auto; }
.sec-cta-center { justify-content: center; margin-top: 2rem; }

/* ---------- top bar: sticky, burger below 860px ---------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: var(--sand); border-bottom: 1px solid var(--border);
}
.site-head-row { display: flex; align-items: center; gap: 2rem; min-height: 4.75rem; }
.home-wordmark { display: block; width: 10.5rem; flex: none; color: var(--charcoal); }
.home-wordmark svg { display: block; width: 100%; height: auto; }
.home-nav { display: flex; gap: 1.75rem; margin-left: auto; font-size: 1rem; }
.home-nav a { text-decoration: none; color: var(--text-muted); padding-block: 0.75rem; }
.home-nav a:hover, .home-nav a[aria-current="page"] { color: var(--forest); }
.home-nav a[aria-current="page"] { font-weight: 700; }
.head-actions { display: flex; gap: 0.75rem; align-items: center; }
.head-signin { text-decoration: none; color: var(--forest); font-weight: 500; padding: 0.75rem 0.5rem; }
.head-actions .cta { min-height: 2.75rem; padding: 0 1.25rem; font-size: 1rem; }

.menu-btn {
  display: none; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem;
  border: 2px solid var(--border-mid); background: var(--sand); color: var(--charcoal);
  cursor: pointer; padding: 0; place-items: center;
}
.menu-btn-bars { display: grid; gap: 5px; width: 1.25rem; }
.menu-btn-bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] .menu-btn-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--border); background: var(--sand); box-shadow: var(--shadow-md); }
.mobile-menu nav { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: 0.5rem 1rem; }
.mobile-menu a {
  display: flex; align-items: center; min-height: 3.25rem; white-space: nowrap;
  border-bottom: 1px solid var(--border); text-decoration: none;
  color: var(--charcoal); font: 500 1.125rem/1.2 var(--sans);
}
.mobile-menu a:last-child { border-bottom: 0; color: var(--forest); }
.mobile-menu a[aria-current="page"] { color: var(--forest); font-weight: 700; }

/* ---------- artwork as masks over a token colour ---------- */
.art {
  display: block; background-color: currentColor;
  -webkit-mask: var(--art) center / contain no-repeat;
          mask: var(--art) center / contain no-repeat;
}
.art-sailboat     { --art: url("/assets/objects/sailboat.svg");     aspect-ratio: 102.31 / 112.956; }
.art-teddy-bear   { --art: url("/assets/objects/teddy-bear.svg");   aspect-ratio: 60.571 / 69.292; }
.art-watering-can { --art: url("/assets/objects/watering-can.svg"); aspect-ratio: 104.698 / 90.249; }
.art-mug          { --art: url("/assets/objects/mug.svg");          aspect-ratio: 71.579 / 67.099; }
.art-guitar       { --art: url("/assets/objects/guitar.svg");       aspect-ratio: 90.024 / 228.372; }
.art-keys         { --art: url("/assets/objects/keys.svg");         aspect-ratio: 65.049 / 30.958; }
.art-plant        { --art: url("/assets/objects/potted-plant.svg"); aspect-ratio: 100.215 / 126.486; }
.art-owl-reading  { --art: url("/assets/owls/reading.svg");         aspect-ratio: 142.589 / 177.94; }
.art-owl-face     { --art: url("/assets/owls/face.svg");            aspect-ratio: 116.912 / 89.843; }

/* ---------- hero ---------- */
.home-hero { padding-block: 4.5rem 6rem; overflow: hidden; }
.home-hero .home-wrap { display: grid; grid-template-columns: 18.75rem minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.home-hero-copy { position: relative; z-index: 1; min-width: 0; }
.home-splash { position: relative; width: 100%; max-width: 17.5rem; justify-self: center; }
.home-splash::before {
  content: ""; position: absolute; top: 2%; left: 12%; width: 76%; aspect-ratio: 1;
  background: var(--sun); border-radius: 50%;
}
.home-splash svg { position: relative; display: block; width: 100%; height: auto; color: var(--forest); }
.home-hero h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); margin-top: 1.125rem; }
.home-hero h1 em { color: var(--forest); }
.home-hero .lede { margin-top: 1.5rem; }
.home-hero .section-cta { margin-top: 2.25rem; }
.reassure { display: flex; flex-wrap: wrap; gap: 0.5rem 1.375rem; margin-top: 1.375rem; font-size: 0.9375rem; color: var(--text-muted); list-style: none; }
.reassure li { display: flex; align-items: center; gap: 0.5rem; }
.reassure li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--forest); }
.final .reassure { justify-content: center; }

/* ---------- Everything your will is missing ---------- */
.will { background: var(--sand-deep); overflow: hidden; }
.will .home-wrap { position: relative; }
.will-copy { position: relative; z-index: 1; max-width: 40rem; }
.will h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 0.875rem; white-space: nowrap; }
.will-sub { font: italic 400 clamp(1.25rem, 2vw, 1.5rem)/1.4 var(--serif); color: var(--ochre-deep); margin-top: 0.875rem; }
.will-sub em { color: var(--charcoal); }
.will-body { margin-top: 2rem; display: grid; gap: 0.875rem; font-size: 1.1875rem; }
.dot-list { list-style: none; display: grid; gap: 0.625rem; }
.dot-list li { position: relative; padding-left: 1.625rem; }
.dot-list li::before {
  content: ""; position: absolute; left: 2px; top: .6em; width: 10px; height: 10px;
  border-radius: 50%; background: var(--sun);
}
.will-art {
  position: absolute; right: -5rem; top: -2.5rem; width: min(36rem, 54%);
  display: flex; flex-direction: column; color: var(--forest); opacity: .18; pointer-events: none;
}
.will-art .art-sailboat { width: 44%; margin-left: 60%; margin-top: 8%; }
.will-art-row { display: flex; align-items: flex-end; margin-top: -4%; }
.will-art .art-teddy-bear { width: 66%; flex: none; }
.will-art .art-watering-can { width: 40%; flex: none; margin-left: -6%; margin-bottom: 4%; }

/* ---------- Empowering you (Forest) ---------- */
.guided { background: var(--forest); color: var(--on-forest); overflow: hidden; }
.guided h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 0.875rem; }
/* Sun-pale, not Sun: Sun on Forest is under AA for text this size. */
.guided .eyebrow { color: var(--sun-pale); }
.guided-sub { font: italic 400 clamp(1.25rem, 2vw, 1.5rem)/1.4 var(--serif); color: var(--sun-pale); margin-top: 0.875rem; }
.guided .lede { color: var(--on-forest-muted); margin-top: 1.25rem; }
.guided .sec-head, .guided .section-cta { position: relative; z-index: 1; }
.guided-owl {
  position: absolute; left: 6%; bottom: -1rem; width: min(16.25rem, 24.7%);
  color: var(--sun); opacity: .22; pointer-events: none; transform: scaleX(-1);
}

/* ---------- pricing ---------- */
.pricing { background: var(--sand-deep); }
.pricing h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 0.875rem; }
.pricing .lede { margin-top: 1.25rem; }
.price-stack { max-width: 51.25rem; margin: 3rem auto 0; display: grid; gap: 1rem; }
.price-card { border-radius: var(--radius-lg); min-width: 0; }
.price-free {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 2.5rem; align-items: center;
  padding: 2.75rem; background: var(--sand); border: 2px solid var(--sun); box-shadow: var(--shadow-md);
}
.price-main { display: flex; flex-direction: column; gap: 1.125rem; min-width: 0; }
.price-main .cta { align-self: flex-start; margin-top: 0.375rem; }
.price-name { font: 700 0.8125rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-deep); }
.price { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.price-amount { font: 400 4.5rem/1 var(--serif); color: var(--charcoal); }
.price-term { font: italic 400 1.375rem/1.2 var(--serif); color: var(--forest); }
.price-foot { font-size: 0.9375rem; color: var(--text-muted); }
.price-free .dot-list { padding-left: 2.5rem; border-left: 1px solid var(--border-mid); font-size: 1.0625rem; }

.price-soon { border: 2px dashed var(--border-mid); padding: 1.125rem 1.75rem; }
.price-soon summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; flex-wrap: wrap; cursor: pointer; min-height: 2.75rem;
}
.price-soon summary::-webkit-details-marker { display: none; }
.price-soon summary .price-name { color: var(--text-muted); display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.soon-badge { font: 700 0.75rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: var(--sun-pale); color: var(--charcoal); padding: 6px 10px; border-radius: 999px; }
.soon-toggle { display: inline-flex; align-items: center; gap: 0.625rem; color: var(--forest); font: 500 0.9375rem/1 var(--sans); }
.soon-toggle-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--border-mid); font: 700 1.125rem/1 var(--sans); }
.soon-toggle-icon::before { content: "+"; }
.price-soon[open] .soon-toggle-icon::before { content: "\2013"; }
.price-soon[open] .soon-toggle-label { display: none; }
.price-soon summary:hover .soon-toggle-label { text-decoration: underline; }
.price-soon[open] { padding-bottom: 1.5rem; }
.price-soon > * + * { margin-top: 1.125rem; }
.soon-lede { font: italic 400 1.25rem/1.4 var(--serif); color: var(--forest); }
.price-soon .dot-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; color: var(--text-muted); }
.price-soon .dot-list li::before { background: transparent; border: 2px solid var(--olive); }

.why-free { max-width: 40rem; margin: 3rem auto 0; text-align: center; padding-top: 1.5rem; border-top: 3px solid var(--sun); }
.why-free p { color: var(--text-muted); margin-top: 0.375rem; font-size: 1.0625rem; }

/* ---------- closing ---------- */
.final { text-align: center; padding-block: 6.5rem; overflow: hidden; }
.final-objects { display: flex; justify-content: center; align-items: flex-end; gap: 2.25rem; color: var(--forest); margin-bottom: 2.25rem; }
.final-objects .art { height: 4rem; width: auto; }
.final h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); max-width: 16em; margin: 0 auto; }
.final .lede { margin: 1.25rem auto 0; }
.final .cta { margin-top: 2.25rem; min-height: 3.75rem; padding: 0 2.5rem; font-size: 1.1875rem; }

/* ---------- footer ---------- */
.site-foot { background: var(--forest-deep); color: var(--on-forest-muted); padding-block: 2.5rem; font-size: 0.9375rem; }
.site-foot .home-wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-foot .home-wordmark { color: var(--sand); width: 8.75rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-foot a { color: var(--on-forest-muted); text-decoration: none; padding-block: 0.5rem; }
.site-foot a:hover { color: var(--sand); text-decoration: underline; }
.site-foot p { margin: 0; }

/* ==========================================================================
   /about/
   ========================================================================== */
.about-head { padding-block: 5.5rem 4.5rem; }
.about-head h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); margin-top: 1rem; }
.about-head .lede { margin-top: 1.25rem; }
.person-donna { background: var(--sand-deep); }
.person .home-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4.5rem; align-items: center; }
.person-brennan .home-wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.person-photo { margin: 0; min-width: 0; }
.person-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: var(--sand-deep);
}
.person-photo figcaption { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.625rem; }
.person-copy { min-width: 0; display: flex; flex-direction: column; gap: 0.875rem; }
.person-copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.person-role { font: italic 400 1.25rem/1.4 var(--serif); color: var(--forest); margin-top: -0.25rem; }
.person-copy > p:not(.eyebrow):not(.person-role) { color: var(--text-muted); max-width: 34em; }
.person-quote { margin: 0.75rem 0 0; padding-left: 1.375rem; border-left: 3px solid var(--sun); font: italic 400 1.625rem/1.35 var(--serif); color: var(--charcoal); }
.person-quote footer, .workshop-quote footer { font: 400 0.9375rem/1.4 var(--sans); font-style: normal; text-align: left; color: var(--text-muted); margin-top: 0.5rem; }
.workshop-quote { margin: 0.25rem 0 0; font: italic 400 1.0625rem/1.5 var(--serif); color: var(--text-main); }

.promise { background: var(--sand-deep); }
.promise h2 { font-size: clamp(1.875rem, 3.2vw, 2.625rem); }
.promise-owl { width: 5.25rem; color: var(--forest); margin-bottom: 1.125rem; }
.promise-points { list-style: none; margin-top: 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; text-align: center; }
.promise-points li { border-top: 3px solid var(--sun); padding-top: 1.375rem; min-width: 0; }
.promise-points p { color: var(--text-muted); margin-top: 0.375rem; }
.promise-mail { text-align: center; margin-top: 2.5rem; color: var(--text-muted); }
.promise-mail b { color: var(--charcoal); user-select: all; }

.partner-card {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: center;
  border: 2px solid var(--border-mid); border-radius: var(--radius-lg); padding: 3rem;
}
.partner-logo { margin-top: 1.125rem; }
.partner-logo img { display: block; width: 100%; max-width: 21.25rem; height: auto; }
.partner-tag { font: italic 400 1.25rem/1.4 var(--serif); color: var(--forest); margin-top: 0.625rem; }
.partner-copy { display: flex; flex-direction: column; gap: 0.875rem; min-width: 0; }
.partner-copy p { color: var(--text-muted); }
.text-link { color: var(--forest) !important; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--charcoal) !important; }

/* ==========================================================================
   Adapt down
   ========================================================================== */
@media (min-width: 53.8125rem) { .mobile-menu { display: none !important; } }

@media (max-width: 62.5rem) {
  .person .home-wrap, .person-brennan .home-wrap { gap: 3rem; }
}

@media (max-width: 53.75rem) {
  .home-nav, .head-signin { display: none; }
  .head-actions { margin-left: auto; }
  .menu-btn { display: grid; }
  .home-hero .home-wrap { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .home-splash { max-width: min(12.5rem, 52vw); }
  .will h2 { white-space: normal; }
  .will-art { width: 70%; right: -12%; opacity: .12; }
  .price-free { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .price-free .dot-list { padding-left: 0; border-left: 0; padding-top: 1.5rem; border-top: 1px solid var(--border-mid); }
  .person .home-wrap, .person-brennan .home-wrap { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .person-photo { max-width: 26.25rem; }
  .person-brennan .person-photo { order: -1; }
  .promise-points { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .partner-card { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1.75rem 1.375rem; }
}

@media (max-width: 37.5rem) {
  .home-wrap { padding-inline: 1.125rem; }
  .home-band { padding-block: 4rem; }
  .home-hero { padding-block: 2.5rem 4rem; position: relative; }
  .home-wordmark { width: 8.25rem; }
  /* The splash becomes a faded watermark, bottom right, behind the words. */
  .home-hero .home-splash { position: absolute; right: -3rem; bottom: -2.25rem; width: 14.375rem; max-width: none; opacity: .16; z-index: 0; pointer-events: none; }
  /* The will's objects sit low on the right; the section clips their base. */
  .will-art { top: auto; bottom: -8.75rem; right: -22%; width: 78%; }
  .guided-owl { width: 40%; left: 1.125rem; bottom: -0.875rem; opacity: .16; }
  .price-free, .price-soon { padding: 1.625rem 1.375rem; }
  .price-soon { padding-block: 1rem; }
  .soon-toggle-label { display: none; }
  .price-soon .dot-list { grid-template-columns: minmax(0, 1fr); }
  .final-objects { gap: 1.125rem; }
  .final-objects .art { height: 2.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { transition: none !important; animation: none !important; }
}
