/* =========================================================
   Naze Therapy · "Letters from Natalie"
   Warm laid paper, ink, airmail stripes, photographic prints.
   Type: Bricolage Grotesque (display) + Literata (reading, letter voice)
   Colour: terracotta · marigold · deep teal · turquoise on envelope paper
   ========================================================= */
:root {
  --paper:   #FBF4E8;   /* envelope paper */
  --paper-2: #F7E2CF;   /* blush sheet */
  --card:    #FFFDF8;   /* fresh sheet / print border */
  --ink:     #2A1E17;   /* brown-black ink */
  --ink-2:   #4A382D;
  --muted:   #6A5547;   /* 6.4:1 on paper */
  --terra:   #B04425;   /* primary: 5.7:1 with white */
  --terra-d: #8E3519;
  --marigold:#F2A93B;   /* fills only; ink or teal on top */
  --mari-l:  #FCE3B4;
  --teal:    #0F4A45;   /* deep teal fields */
  --teal-d:  #0A3532;
  --turq:    #11695E;   /* text/buttons, 6.5:1 with white */
  --turq-l:  #D4ECE6;
  --line:    rgba(42, 30, 23, .14);

  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --read:    "Literata", Georgia, "Times New Roman", serif;

  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 44px);
  --r: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);            /* exponential ease-out */
  --shadow-print: 0 2px 3px rgba(42,30,23,.08), 0 18px 34px -14px rgba(42,30,23,.35);
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .18 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--read);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper) var(--paper-grain);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--terra);
  scrollbar-color: var(--terra) var(--paper-2);
}
::selection { background: var(--marigold); color: var(--ink); }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--terra); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--terra-d); }
[hidden] { display: none !important; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; color: var(--ink); }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-optical-sizing: auto;
  color: var(--ink);
  margin: 0 0 .45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); font-weight: 800; line-height: .98; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 750; line-height: 1.04; letter-spacing: -.03em; }
h3 { font-size: 1.45rem; font-weight: 700; line-height: 1.35; letter-spacing: -.012em; }
h4 { font-size: 1.12rem; font-weight: 700; line-height: 1.35; letter-spacing: -.005em; }
p, li { text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico .fill { fill: currentColor; stroke: none; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }

/* The marigold highlighter: the one recurring flourish */
.hl {
  background: linear-gradient(transparent 62%, var(--marigold) 62%, var(--marigold) 92%, transparent 92%);
  padding: 0 .06em; margin: 0 -.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--display); font-weight: 650; font-size: 1.02rem; line-height: 1.1; letter-spacing: -.005em;
  padding: .95em 1.5em; min-height: 48px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background-color .2s, box-shadow .35s var(--ease), color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-sm { padding: .62em 1.15em; min-height: 42px; font-size: .95rem; }
.btn-terra { background: var(--terra); color: #fff; box-shadow: 0 10px 22px -12px rgba(142,53,25,.9); }
.btn-terra:hover { background: var(--terra-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(42,30,23,.3); }
.btn-ghost:hover { border-color: var(--ink); background: var(--card); color: var(--ink); }
.btn-marigold { background: var(--marigold); color: var(--ink); }
.btn-marigold:hover { background: #F7BC5C; color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--paper); border-color: rgba(251,244,232,.45); }
.btn-ghost-light:hover { border-color: var(--paper); color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(251, 244, 232, .9);
  backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: inline-flex; align-items: baseline; gap: .3em; text-decoration: none; color: var(--ink); }
.brand-word { font-family: var(--display); font-weight: 800; font-size: 1.65rem; letter-spacing: -.04em; line-height: 1; }
.brand-word::after { content: ""; display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--terra); margin-left: .08em; }
.brand-sub { font-family: var(--read); font-style: italic; font-size: 1.05rem; color: var(--muted); }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-family: var(--display); font-weight: 550; font-size: .98rem; color: var(--ink-2); text-decoration: none; padding: 6px 0; background: linear-gradient(var(--marigold), var(--marigold)) 0 92% / 0 3px no-repeat; transition: background-size .35s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background-size: 100% 3px; }
.menu-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; margin-left: auto; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; padding: 6px var(--gutter) 24px; border-top: 1px solid var(--line); }
.mobile-menu a:not(.btn) { padding: 14px 0; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .mm-wa { color: var(--turq); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Letter voice ---------- */
.salutation { font-family: var(--read); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.7rem); color: var(--terra); margin-bottom: .5rem; }
.signoff { font-family: var(--read); font-style: italic; color: var(--muted); margin: 2rem 0 0; line-height: 1.4; }
.sig { font-family: var(--display); font-style: normal; font-weight: 750; font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-letter h1 { max-width: 12ch; margin-bottom: .35em; }
.lede { font-size: clamp(1.12rem, 1.6vw, 1.28rem); line-height: 1.6; max-width: 36ch; color: var(--ink-2); margin-bottom: 1.9rem; }
.lede strong { background: linear-gradient(transparent 70%, var(--mari-l) 70%); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta.center { justify-content: center; }
.creds { margin-top: 1.4rem; font-size: .95rem; color: var(--muted); max-width: 44ch; line-height: 1.5; }
.creds strong { color: var(--teal); }

/* Photographic prints */
.print { margin: 0; position: relative; background: var(--card); padding: 12px 12px 14px; border-radius: 4px; box-shadow: var(--shadow-print); }
.print img { border-radius: 2px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.print figcaption { font-family: var(--read); font-style: italic; font-size: .9rem; color: var(--muted); padding: 10px 4px 0; }
.print-hero { transform: rotate(2.2deg); max-width: 440px; justify-self: end; width: 100%; }
.stamp { position: absolute; width: clamp(120px, 13vw, 156px); left: -58px; bottom: 54px; transform: rotate(-12deg); filter: drop-shadow(0 6px 10px rgba(42,30,23,.18)); }
.st-o { fill: var(--terra); }
.st-i { fill: none; stroke: var(--paper); stroke-width: 2.5; stroke-dasharray: 4 5; }
.st-ring { font-family: var(--display); font-weight: 700; font-size: 15.5px; letter-spacing: 2.2px; fill: var(--paper); }
.st-word { font-family: var(--read); font-style: italic; font-weight: 600; font-size: 32px; fill: #FFF6E8; }

/* The one authored moment: the print settles, then the stamp presses down */
@media (prefers-reduced-motion: no-preference) {
  .print-hero { animation: settle 1.1s var(--ease) both; }
  .stamp { animation: stamp-press .7s .75s var(--ease) both; }
  @keyframes settle { from { transform: rotate(-3deg) translateY(18px); box-shadow: 0 1px 2px rgba(42,30,23,.1); } }
  @keyframes stamp-press {
    0% { opacity: 0; transform: rotate(-4deg) scale(1.45); filter: blur(2px) drop-shadow(0 22px 22px rgba(42,30,23,.25)); }
    70% { opacity: 1; transform: rotate(-12deg) scale(.97); filter: blur(0) drop-shadow(0 4px 6px rgba(42,30,23,.2)); }
    100% { transform: rotate(-12deg) scale(1); }
  }
}

/* P.S. row */
.ps { margin-top: clamp(40px, 6vw, 72px); }
.ps-q { font-family: var(--read); font-size: 1.2rem; color: var(--ink-2); margin-bottom: 14px; }
.ps-mark { font-family: var(--display); font-weight: 800; color: var(--terra); margin-right: .25em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--read); font-size: 1rem; color: var(--ink); text-decoration: none;
  padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line);
  transition: background-color .25s, border-color .25s, transform .35s var(--ease), color .2s;
}
.chip:hover { background: var(--mari-l); border-color: var(--marigold); color: var(--ink); transform: translateY(-2px); }
.ps-note { margin-top: 14px; font-style: italic; color: var(--muted); }

/* Airmail stripe band */
.airmail { height: 10px; background: repeating-linear-gradient(-45deg, var(--terra) 0 16px, var(--paper) 16px 24px, var(--turq) 24px 40px, var(--paper) 40px 48px); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.sub { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.section-head.center .sub { margin-inline: auto; }

/* ---------- Themes (How I help) ---------- */
.themes { border-top: 2px solid var(--ink); }
.theme { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(20px, 4vw, 64px); padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.theme-head h3 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 800; letter-spacing: -.03em; color: var(--t); margin-bottom: .3em; }
.theme-head p { font-style: italic; color: var(--muted); max-width: 26ch; }
.topics { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px 36px; }
.topics h4 { margin-bottom: .3em; }
.topics p { color: var(--ink-2); font-size: 1rem; margin-bottom: .55em; }
.check-link { font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--turq); text-decoration: none; display: inline-flex; gap: .35em; align-items: center; }
.check-link::after { content: "→"; transition: transform .3s var(--ease); }
.check-link:hover { color: var(--teal); text-decoration: underline; }
.check-link:hover::after { transform: translateX(3px); }
.assess-band {
  display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between;
  margin-top: 36px; padding: 24px 28px; border-radius: var(--r);
  background: var(--turq-l); color: var(--ink); text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.assess-band:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(15,74,69,.5); }
.assess-band-t { max-width: 62ch; }
.assess-band-t strong { font-family: var(--display); color: var(--teal); }
.assess-band-go { font-family: var(--display); font-weight: 700; color: var(--turq); white-space: nowrap; }

/* ---------- About ---------- */
.about { background: var(--paper-2) var(--paper-grain); }
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.print-about { transform: rotate(-1.8deg); position: sticky; top: 110px; max-width: 460px; }
.about-letter h2 { max-width: 16ch; }
.about-lead { font-family: var(--read); font-style: italic; font-size: 1.3rem; line-height: 1.5; color: var(--terra-d); }
.about-letter > p { max-width: 62ch; }
.pull { margin: 2rem 0; padding: 0; }
.pull p { font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.35; letter-spacing: -.02em; color: var(--teal); max-width: 26ch; margin: 0; }
.pull p::before { content: "“"; color: var(--terra); margin-right: .05em; }
.pull p::after { content: "”"; color: var(--terra); }
.promises { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.promises li { padding: 12px 0 12px 30px; border-top: 1px solid var(--line); position: relative; font-weight: 600; }
.promises li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 8px; border-left: 2.5px solid var(--turq); border-bottom: 2.5px solid var(--turq); transform: rotate(-45deg); }
.cred-stamps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.cred { display: inline-flex; flex-direction: column; padding: 10px 16px; border-radius: 10px; border: 1.5px dashed rgba(42,30,23,.35); font-family: var(--display); font-size: .95rem; font-weight: 600; color: var(--ink); background: var(--card); line-height: 1.35; }
.cred b { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.cred-prime { border: 2px solid var(--teal); background: var(--teal); color: var(--paper); }
.cred-prime b { color: var(--marigold); }

/* ---------- How we'll start (soft oat sheet, marigold as a thread not a flood) ---------- */
.start { background: #F6EBDA var(--paper-grain); }
.start h2 { color: var(--ink); margin-bottom: clamp(28px, 4vw, 48px); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.steps li { padding-top: 22px; background: linear-gradient(var(--marigold), var(--marigold)) 0 0 / 56px 4px no-repeat, linear-gradient(rgba(42,30,23,.14), rgba(42,30,23,.14)) 0 1px / 100% 1px no-repeat; }
.step-n { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: .9; color: var(--terra); margin-bottom: 14px; letter-spacing: -.04em; }
.steps h3 { color: var(--ink); }
.steps p { color: var(--ink-2); margin: 0; max-width: 34ch; }

/* ---------- Self-check (soft mint sheet + a living preview) ---------- */
.selfcheck { background: #E6F2EE var(--paper-grain); }
.selfcheck-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.selfcheck .sub { color: var(--ink-2); }
.sc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.text-link { font-family: var(--display); font-weight: 650; color: var(--turq); text-decoration: underline; text-decoration-color: rgba(17,105,94,.35); text-underline-offset: 5px; }
.text-link:hover { color: var(--teal); text-decoration-color: currentColor; }
.sc-or { margin: 30px 0 10px; font-style: italic; color: var(--muted); }
.sc-topics { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sc-topics a { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 15px; border-radius: 999px; background: rgba(255,253,248,.75); border: 1.5px solid rgba(17,105,94,.22); font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--teal); text-decoration: none; transition: background-color .25s, border-color .25s, transform .35s var(--ease); }
.sc-topics a span { font-family: var(--read); font-weight: 400; font-style: italic; font-size: .85rem; color: var(--muted); }
.sc-topics a:hover { background: var(--card); border-color: var(--turq); transform: translateY(-2px); color: var(--teal); }

.sc-demo { display: flex; flex-direction: column; gap: 16px; padding: 26px 26px 22px; border-radius: 22px; background: var(--card); color: var(--ink); text-decoration: none; box-shadow: 0 2px 4px rgba(15,74,69,.06), 0 30px 50px -26px rgba(15,74,69,.45); transform: rotate(1.2deg); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.sc-demo:hover { color: var(--ink); transform: rotate(0deg) translateY(-4px); box-shadow: 0 2px 4px rgba(15,74,69,.06), 0 40px 60px -28px rgba(15,74,69,.5); }
.sc-demo-top { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: .85rem; color: var(--muted); }
.sc-demo-bar { flex: 1; height: 5px; border-radius: 5px; background: var(--paper-2); overflow: hidden; }
.sc-demo-bar i { display: block; height: 100%; width: 30%; background: var(--terra); border-radius: 5px; }
.sc-demo-q { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.4; letter-spacing: -.015em; }
.sc-cycle { display: grid; color: var(--terra); }
.sc-cycle span { grid-area: 1 / 1; }
.sc-cycle span:not(:first-child) { opacity: 0; }
.sc-opts { display: grid; gap: 8px; }
.sc-opts span { padding: 10px 14px; border-radius: 12px; border: 1.5px solid rgba(42,30,23,.14); background: var(--paper); font-size: .95rem; transition: none; }
.sc-opts span:nth-child(2) { background: var(--turq); border-color: var(--turq); color: #fff; }
.sc-meter { position: relative; display: block; margin-top: 4px; }
.sc-bands { display: flex; gap: 3px; height: 10px; border-radius: 999px; overflow: hidden; }
.sc-bands i { flex: 1; }
.sc-bands i:nth-child(1) { background: #8FD3C9; } .sc-bands i:nth-child(2) { background: #F6D08A; }
.sc-bands i:nth-child(3) { background: #F3B04C; } .sc-bands i:nth-child(4) { background: #DA7A4C; }
.sc-pin { position: absolute; top: -5px; left: 30%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--card); border: 3.5px solid var(--ink); box-shadow: 0 3px 8px rgba(42,30,23,.25); }
.sc-demo-foot { font-size: .9rem; font-style: italic; color: var(--muted); }

/* Gentle, slow loop: the question changes, an answer is chosen, the result settles. 12s cycle. */
@media (prefers-reduced-motion: no-preference) {
  .sc-cycle span { opacity: 0; animation: sc-word 12s var(--ease) infinite; }
  .sc-cycle span:nth-child(2) { animation-delay: 3s; }
  .sc-cycle span:nth-child(3) { animation-delay: 6s; }
  .sc-cycle span:nth-child(4) { animation-delay: 9s; }
  @keyframes sc-word { 0% { opacity: 0; transform: translateY(8px); } 4%, 22% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; transform: translateY(-6px); } }
  .sc-opts span, .sc-opts span:nth-child(2) { background: var(--paper); border-color: rgba(42,30,23,.14); color: var(--ink); animation: sc-pick 12s ease infinite; }
  .sc-opts span:nth-child(1) { animation-delay: 6.8s; }
  .sc-opts span:nth-child(2) { animation-delay: 0.8s; }
  .sc-opts span:nth-child(3) { animation-delay: 9.8s; }
  .sc-opts span:nth-child(4) { animation-delay: 3.8s; }
  @keyframes sc-pick { 0%, 4% { background: var(--paper); border-color: rgba(42,30,23,.14); color: var(--ink); } 7%, 19% { background: var(--turq); border-color: var(--turq); color: #fff; } 23%, 100% { background: var(--paper); border-color: rgba(42,30,23,.14); color: var(--ink); } }
  .sc-pin { animation: sc-glide 12s cubic-bezier(.45,0,.2,1) infinite; }
  @keyframes sc-glide { 0%, 8% { left: 30%; } 25%, 33% { left: 62%; } 50%, 58% { left: 14%; } 75%, 83% { left: 45%; } 100% { left: 30%; } }
  .sc-demo-bar i { animation: sc-fill 12s linear infinite; }
  @keyframes sc-fill { 0% { width: 20%; } 100% { width: 90%; } }
}

/* ---------- Fees: two clear price cards ---------- */
.fees { background: var(--paper); }
.price-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; max-width: 920px; margin: 0 auto; }
.price-card { display: flex; flex-direction: column; background: var(--card); border-radius: 24px; overflow: hidden; box-shadow: 0 2px 4px rgba(42,30,23,.05), 0 24px 44px -26px rgba(42,30,23,.4); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(42,30,23,.05), 0 34px 56px -28px rgba(42,30,23,.45); }
.price-top { padding: 28px 30px 24px; background: #E3F1EC; }
.price-card-main .price-top { background: #FBE9DC; }
.price-badge { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: .02em; background: var(--turq); color: #fff; }
.price-card-main .price-badge { background: var(--terra); }
.price-top h3 { font-size: 1.4rem; margin-bottom: .2em; }
.price-big { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 4.4vw, 3.2rem); letter-spacing: -.04em; line-height: 1.05; color: var(--ink); }
.price-big small { font-family: var(--read); font-weight: 400; font-style: italic; font-size: 1.05rem; letter-spacing: 0; color: var(--muted); }
.price-list { list-style: none; margin: 0; padding: 22px 30px 8px; flex: 1; }
.price-list li { position: relative; padding: 8px 0 8px 28px; }
.price-list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2.5px solid var(--turq); border-bottom: 2.5px solid var(--turq); transform: rotate(-45deg); }
.price-card .btn { margin: 14px 30px 30px; }
.fee-notes { list-style: none; padding: 0; margin: 30px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; max-width: 920px; color: var(--ink-2); font-size: .98rem; }
.fee-notes li { display: inline-flex; align-items: center; gap: 9px; }
.fee-notes li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--marigold); flex: none; }

/* ---------- Booking ---------- */
.booking { background: var(--paper-2) var(--paper-grain); }
.booking-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.booking-side { position: sticky; top: 100px; }
.booking-side > p { color: var(--ink-2); }
.print-booking { transform: rotate(-2deg); max-width: 300px; margin: 22px 0 26px; }
.reassure { list-style: none; padding: 0; margin: 0; }
.reassure li { padding: 10px 0 10px 28px; position: relative; border-top: 1px solid var(--line); font-size: 1rem; }
.reassure li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2.5px solid var(--turq); border-bottom: 2.5px solid var(--turq); transform: rotate(-45deg); }
.booker { background: var(--card); border-radius: 22px; padding: clamp(14px, 2.4vw, 26px); box-shadow: 0 30px 60px -32px rgba(42,30,23,.4); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 16px; background: var(--paper); margin-bottom: 18px; }
.tabs [role="tab"] { font: inherit; text-align: left; cursor: pointer; border: 0; background: transparent; border-radius: 12px; padding: 13px 16px; display: flex; flex-direction: column; gap: 2px; color: var(--ink); transition: background-color .25s, box-shadow .35s var(--ease); }
.tabs [role="tab"]:hover { background: rgba(255,255,255,.6); }
.tabs [role="tab"][aria-selected="true"] { background: var(--card); box-shadow: 0 6px 16px -8px rgba(42,30,23,.35); }
.tab-name { font-family: var(--display); font-weight: 700; font-size: 1.12rem; }
.tab-meta { font-size: .92rem; color: var(--muted); }
.tabs [aria-selected="true"] .tab-meta { color: var(--terra); font-weight: 600; }
.cal-embed { height: 700px; min-width: 280px; border-radius: 14px; overflow: hidden; background: var(--paper); position: relative; }
.cal-loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-style: italic; color: var(--muted); }
.cal-fallback { font-size: .92rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.mini-steps { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: m; }
.mini-steps li { counter-increment: m; font-family: var(--display); font-size: .9rem; color: var(--muted); padding-top: 10px; border-top: 4px solid var(--paper-2); }
.mini-steps li::before { content: counter(m) " · "; }
.mini-steps li.is-active { border-color: var(--terra); color: var(--ink); font-weight: 650; }
.mini-steps li.is-done { border-color: var(--turq); }
.pay-card { max-width: 620px; margin: 10px auto; padding: 8px 4px; }
.pay-card h3 { font-size: 1.6rem; }
.paymethod { border: 0; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.paymethod legend { font-family: var(--display); font-weight: 650; margin-bottom: 10px; }
.paymethod label { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; flex: 1 1 200px; transition: border-color .2s, background-color .2s; }
.paymethod label:has(input:checked) { border-color: var(--turq); background: var(--turq-l); }
.paymethod span { font-size: .95rem; color: var(--muted); line-height: 1.35; }
.paymethod span b { display: block; color: var(--ink); font-family: var(--display); }
input[type="radio"], input[type="checkbox"] { accent-color: var(--terra); width: 18px; height: 18px; flex: none; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--ink); }
.field input, .field textarea { font: inherit; font-family: var(--read); font-weight: 400; font-size: 1rem; padding: 13px 15px; border-radius: 12px; border: 1.5px solid rgba(42,30,23,.22); background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #8A7466; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 4px rgba(17,105,94,.15); }
.field input.invalid { border-color: var(--terra); }
.field-err { font-family: var(--read); font-weight: 400; font-size: .88rem; color: var(--terra-d); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.check input { margin-top: 4px; }
.secure { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--muted); margin: 18px 0 0; }
.secure .ico { color: var(--turq); }
.form-error { color: var(--terra-d); font-weight: 600; margin-top: 14px; }
.pane-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.done { text-align: center; padding: 28px 0; }
.done-mark { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: var(--turq); display: grid; place-items: center; }
.done-mark svg { width: 44px; fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-text { max-width: 46ch; margin: 0 auto; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; color: var(--ink); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 30px; width: 12px; height: 12px; border-right: 2.5px solid var(--terra); border-bottom: 2.5px solid var(--terra); transform: rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq summary:hover { color: var(--terra-d); }
.faq details p { color: var(--ink-2); max-width: 64ch; padding-right: 40px; }

/* ---------- Write back ---------- */
.writeback { background: var(--card); text-align: center; }
.writeback-inner { padding-block: clamp(64px, 9vw, 112px); }
.writeback h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1.2rem; }

/* ---------- Crisis ---------- */
.crisis { background: var(--paper-2); }
.crisis-inner { display: flex; gap: 14px; align-items: flex-start; padding-block: 22px; }
.crisis-ico { color: var(--terra); width: 24px; height: 24px; margin-top: 3px; }
.crisis p { margin: 0; font-size: 1rem; }
.crisis a { font-weight: 700; color: var(--terra-d); white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-d); color: #CFE3DF; padding: 64px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.brand-light, .brand-light:hover { color: var(--paper); }
.brand-light .brand-sub { color: #CFE3DF; }
.brand-light .brand-word::after { background: var(--marigold); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-tag { margin-top: 12px; max-width: 30ch; }
.footer h4 { font-size: 1rem; color: var(--marigold); margin: 6px 0 12px; }
.footer p { font-size: .98rem; }
.footer a { color: #E9F3F0; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(207,227,223,.2); font-size: .88rem; }

.mobile-book { display: none; }

/* =========================================================
   Self-check page
   ========================================================= */
.assess-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); }
.assess-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 84px); align-items: center; }
.assess-hero h1 { max-width: 11ch; }
.assess-hero .lede { max-width: 46ch; }
.print-selfcheck { transform: rotate(-2deg); max-width: 380px; justify-self: end; width: 100%; }
.assess-perks { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.assess-perks li { position: relative; padding-left: 26px; font-family: var(--display); font-weight: 600; color: var(--teal); }
.assess-perks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 2.5px solid var(--turq); border-bottom: 2.5px solid var(--turq); transform: rotate(-45deg); }

.start-here { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; padding: 28px 30px; border-radius: var(--r); background: var(--marigold); margin-bottom: 40px; }
.start-here h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .2em; }
.start-here p { margin: 0; color: var(--ink); max-width: 56ch; }
.tools-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.tools-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.tool-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-filter button { font-family: var(--display); font-weight: 600; font-size: .92rem; padding: 8px 15px; min-height: 40px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.tool-filter button:hover { border-color: var(--turq); }
.tool-filter button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.tools { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.tool { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.tool h3 { font-size: 1.25rem; margin: 0 0 .15em; }
.tool h3 small { font-family: var(--read); font-weight: 400; font-style: italic; font-size: .95rem; color: var(--muted); letter-spacing: 0; margin-left: .4em; }
.tool p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.tool-meta { font-family: var(--display); font-size: .88rem !important; color: var(--muted) !important; margin-top: 4px !important; }
.assess-disclaimer { margin-top: 32px; padding: 20px 24px; border-radius: var(--r); background: var(--turq-l); color: var(--ink); }

.quiz-section, .result-section { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 96px); min-height: 72vh; }
.quiz, .result { max-width: 760px; margin: 0 auto; background: var(--card); border-radius: 22px; padding: clamp(22px, 5vw, 48px); box-shadow: 0 30px 70px -36px rgba(42,30,23,.45); position: relative; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; font-family: var(--display); font-size: .92rem; color: var(--muted); }
.link-btn { font-family: var(--display); font-weight: 600; font-size: .95rem; background: none; border: 0; padding: 6px 0; color: var(--turq); cursor: pointer; }
.link-btn:hover { color: var(--teal); text-decoration: underline; }
.quiz-bar { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; margin-bottom: 28px; }
.quiz-bar span { display: block; height: 100%; background: var(--terra); border-radius: 6px; transition: width .45s var(--ease); }
.quiz-name { font-family: var(--display); font-weight: 650; font-size: .95rem; color: var(--turq); margin-bottom: 6px; }
.quiz-stem { font-style: italic; color: var(--muted); margin-bottom: 8px; }
.quiz-q { font-size: clamp(1.45rem, 3.2vw, 2rem); font-weight: 700; margin-bottom: 26px; outline: none; }
.answers { display: grid; gap: 10px; }
.answer { font-family: var(--read); font-size: 1.05rem; text-align: left; padding: 16px 20px; min-height: 54px; border-radius: 14px; border: 1.5px solid rgba(42,30,23,.18); background: var(--paper); color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s, transform .3s var(--ease); }
@media (hover: hover) { .answer:hover { border-color: var(--terra); transform: translateX(3px); } }
.answer[aria-checked="true"] { background: var(--terra); border-color: var(--terra); color: #fff; }
.quiz-nav { margin-top: 22px; min-height: 30px; }
.leave-confirm { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--paper-2); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.leave-confirm p { margin: 0; flex: 1 1 220px; }

.urgent { padding: 22px 24px; border-radius: 16px; background: var(--paper-2); margin-bottom: 30px; }
.urgent h3 { font-size: 1.3rem; color: var(--terra-d); margin-bottom: .35em; }
.urgent p { margin: 0; }
.urgent a { font-weight: 700; white-space: nowrap; }
.result-lead { font-style: italic; color: var(--muted); margin-bottom: 4px; }
.result-title { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; outline: none; margin-bottom: 10px; }
.result-score { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.score-num { font-family: var(--display); font-weight: 800; font-size: 3.4rem; color: var(--terra); line-height: 1; letter-spacing: -.04em; }
.score-max { color: var(--muted); }
.meter { position: relative; margin: 8px 0 10px; }
.meter-bands { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 3px; }
.meter-bands span { opacity: .55; }
.meter-bands span.is-on { opacity: 1; }
.meter-pin { position: absolute; top: -6px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: var(--card); border: 4px solid var(--ink); box-shadow: 0 4px 10px rgba(42,30,23,.3); transition: left .7s var(--ease); }
.meter-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--display); font-size: .9rem; color: var(--muted); margin-bottom: 24px; }
.meter-legend span { display: inline-flex; align-items: center; gap: 7px; }
.meter-legend span.is-on { color: var(--ink); font-weight: 700; }
.meter-legend i { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.result-text { font-size: 1.1rem; }
.result-letter { margin: 28px 0; padding: 28px; border-radius: 18px; background: var(--teal); color: var(--paper); }
.result-letter .salutation { color: var(--marigold); font-size: 1.25rem; }
.result-letter p { color: #E3EFEC; max-width: 52ch; }
.result-letter .sig { color: #fff; font-size: 1.25rem; }
.result-letter .hero-cta { margin-top: 18px; }
.email-form { padding: 24px; border-radius: 18px; background: var(--paper); }
.email-form h3 { font-size: 1.3rem; }
.email-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; margin-bottom: 14px; }
.email-note { font-size: .9rem; color: var(--muted); margin: 10px 0 0; }
.email-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.email-status { margin: 0; font-size: .95rem; color: var(--teal); }
.result-again { text-align: center; margin-top: 26px; }
.sources { border-top: 2px solid var(--ink); }
.sources summary { cursor: pointer; padding: 18px 0; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.sources ul { padding-left: 18px; color: var(--ink-2); font-size: .97rem; }
.sources li { margin-bottom: 8px; }
.sources p { color: var(--muted); font-size: .97rem; }
.about-tools { padding: 24px 0 56px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .theme { grid-template-columns: 1fr; }
  .about-grid, .booking-grid, .selfcheck-grid, .faq-wrap { grid-template-columns: 1fr; }
  .print-about, .booking-side { position: static; }
  .print-about { max-width: 380px; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1.02rem; }
  .hero-grid, .assess-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-letter { order: 1; }
  .print-hero { order: 2; max-width: 300px; justify-self: center; transform: rotate(2deg); }
  .stamp { width: 104px; left: -36px; bottom: 40px; }
  .print-selfcheck { max-width: 260px; justify-self: center; }
  .hero-cta .btn { flex: 1 1 100%; }
  .promises { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: 1fr; }
  .sc-demo { transform: none; }
  .tabs { grid-template-columns: 1fr; }
  .cal-embed { height: 680px; }
  .fields, .email-row { grid-template-columns: 1fr; }
  .print-booking { display: none; }
  .start-here { grid-template-columns: 1fr; }
  .tool { grid-template-columns: 1fr; }
  .tool .btn { justify-self: start; }
  .foot-grid { grid-template-columns: 1fr; }
  .mobile-book {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 40;
    transform: translateY(160%); transition: transform .45s var(--ease);
  }
  .mobile-book.show { transform: none; }
  .mobile-book:hover { transform: none; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* Methali: a proverb, set like a handwritten P.S. on the marigold sheet */
.methali { margin: clamp(32px, 4vw, 48px) 0 0; padding-top: 22px; border-top: 1px dashed rgba(42,30,23,.35); max-width: 62ch; font-size: 1.08rem; color: var(--ink); }
.methali span { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--teal); margin-right: .3em; }
.methali em { color: var(--ink); margin-right: .3em; }
@media (max-width: 760px) { .stamp { left: -18px; } }

/* Results gate + credits */
.email-gate h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); outline: none; }
.email-gate > p { color: var(--ink-2); max-width: 54ch; }
.email-gate .email-row { margin-top: 18px; }
.gate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 20px; }
.link-btn.inline { padding: 0; font-size: inherit; }
.tool-credit { font-size: .85rem !important; color: var(--muted) !important; font-style: italic; margin-top: 2px !important; }
.result-credit { font-size: .88rem; font-style: italic; color: var(--muted); margin-top: -4px; }
.writeback-email { margin: 22px 0 0; color: var(--ink-2); }
.writeback-email a { font-weight: 700; word-break: break-word; }
