/* ==========================================================================
   Hilary Rieman · Counseling & Art Therapy
   No external fonts or scripts: fast, private, works offline.
   ========================================================================== */

/* Palette: deep forest-teal greens (sampled from Hilary's headshot)
   with orange as a limited accent. Contrast checked against WCAG AA:
   --orange is decorative only (strokes, dots, ticks); --orange-ink is the
   orange used for small text (5.1:1 on --bg). */
:root {
  --bg: #faf7f1;
  --bg-tint: #f1ece2;
  --surface: #ffffff;
  --ink: #1f2d27;
  --ink-soft: #4c5a53;
  --line: #e3dccf;
  --green: #2a5a4c;
  --green-deep: #1f4438;
  --green-mid: #7fa391;
  --green-soft: #e3ece5;
  --orange: #e2712f;
  --orange-ink: #b04a17;
  --orange-soft: #fbe6d8;
  --orange-on-dark: #f6a066;
  --on-accent: #ffffff;
  --contact-bg: #1f4438;
  --contact-ink: #f5f0e6;

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

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(35 48 42 / .06), 0 8px 24px rgb(35 48 42 / .07);
  --gutter: clamp(16px, 4vw, 40px);
  --section-pad: clamp(56px, 9vw, 112px);
  --header-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121a17;
    --bg-tint: #18211d;
    --surface: #1c2622;
    --ink: #ece7de;
    --ink-soft: #b2bab3;
    --line: #2f3d36;
    --green: #9cc8b0;
    --green-deep: #b5d8c4;
    --green-mid: #5f8a76;
    --green-soft: #22302a;
    --orange: #f28a4c;
    --orange-ink: #f28a4c;
    --orange-soft: #3a2619;
    --orange-on-dark: #f6a066;
    --on-accent: #0f1f19;
    --contact-bg: #1a2f26;
    --contact-ink: #ece7de;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .25);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 1.4rem + 4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--green-deep); text-underline-offset: 3px; }
a:hover { color: var(--orange-ink); }

:focus-visible {
  outline: 3px solid var(--orange-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--bg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid var(--green);
  background: var(--green);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--on-accent); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--green-deep); }
.btn-ghost:hover { background: var(--green-soft); color: var(--green-deep); }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
.btn-light { background: var(--contact-ink); border-color: var(--contact-ink); color: var(--contact-bg); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--contact-bg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; }
.brand-sub { font-size: .8rem; color: var(--ink-soft); letter-spacing: .02em; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}
.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: .97rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover { border-bottom-color: var(--orange-ink); color: var(--ink); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  color: var(--ink);
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 13px;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
  content: "";
}
.nav-toggle-bar { top: 23px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); background: var(--ink); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

/* Call button in the header: shown only when the nav collapses to the menu */
.header-call { display: none; }
@media (max-width: 920px) {
  .header-call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--green);
    color: var(--on-accent);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
  }
  .header-call:hover { background: var(--green-deep); color: var(--on-accent); }
  .header-call svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
  .header-inner { gap: 8px; }
}
@media (max-width: 380px) {
  .header-call { padding: 0; width: 40px; justify-content: center; }
  .header-call-text { display: none; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
  }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; padding-top: 16px; }
  .site-nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 0; }
  .site-nav .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 10vw, 128px) clamp(64px, 10vw, 120px);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
}
/* Sized explicitly: the global `svg { max-width: 100% }` rule would otherwise
   cap the art at the photo width. */
.hero-art {
  position: absolute;
  top: -20%;
  left: -26%;
  width: 154%;
  height: 136%;
  max-width: none;
  pointer-events: none;
}
.hero-photo {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  border: 6px solid var(--photo-frame);
  box-shadow: var(--shadow);
}

.hero-copy { position: relative; z-index: 3; }

/* Mid widths: smaller photo, nudged left so the collage (which extends past
   the photo on both sides) is not clipped at the screen edge. */
@media (min-width: 961px) and (max-width: 1180px) {
  .hero-visual { width: min(100%, 300px); justify-self: start; margin-left: 12px; }
}
/* Stacked layout (tablets and phones): her photo comes first, so visitors
   see who they'd be talking to before any text. */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: clamp(28px, 7vw, 48px); }
  .hero-visual { order: -1; width: min(52%, 240px); margin: 12px auto 0; }
}
@media (max-width: 600px) {
  .hero { padding-top: 40px; }
  .hero-visual { width: min(46%, 180px); }
  .pill-extra { display: none; }
}

.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--green-deep); }
.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); color: var(--ink-soft); max-width: 46ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { margin-top: 24px; font-size: .92rem; color: var(--ink-soft); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .9rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow);
}
.status-dot {
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #4caf6e;
  box-shadow: 0 0 0 4px rgb(76 175 110 / .2);
}

@media (max-width: 720px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .status-pill { border-radius: var(--radius-sm); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }
.section-tint { background: var(--bg-tint); }

.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: .75em;
}
.eyebrow-light { color: var(--orange-on-dark); }

.h-small {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: .8em;
}
.spaced { margin-top: clamp(40px, 6vw, 64px); }

.muted { color: var(--ink-soft); }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
}

.prose { max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }

.approach-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); margin-top: 8px; }
@media (max-width: 820px) { .approach-grid { grid-template-columns: 1fr; } }

/* ---------- Quote band ---------- */
.quote-band {
  background: var(--green);
  color: var(--on-accent);
  padding-block: clamp(48px, 7vw, 88px);
  text-align: center;
}
.quote-band blockquote { margin: 0 auto; max-width: 24ch; }
.quote-band p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: .5em;
}
.quote-band p::before { content: "\201C"; }
.quote-band p::after { content: "\201D"; }
.quote-band footer { font-size: .95rem; letter-spacing: .06em; opacity: .85; }
.quote-band footer::before { content: "\2014\00a0"; }

/* ---------- Chips ---------- */
.chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: .92rem;
  font-weight: 500;
}
.chips-soft li {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  margin-top: 12px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow);
}
.card p { color: var(--ink-soft); margin: 0; }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card-icon svg {
  width: 30px; height: 30px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.who {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px 40px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.who p { margin: 0; color: var(--ink-soft); }

/* ---------- Fees ---------- */
.fee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
  margin: 12px 0 clamp(36px, 5vw, 56px);
}
.fee-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  background: var(--surface);
}
.fee-card-accent { background: var(--green-soft); border-color: transparent; }
.fee-label { font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .25em; }
.fee-amount {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  color: var(--green-deep);
}
.fee-amount-text { font-size: 1.9rem; padding-block: .17em; }
.fee-note { font-size: .9rem; color: var(--ink-soft); margin: .5em 0 0; }

.fee-details { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .fee-details { grid-template-columns: 1fr; } }

.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .45em;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: rotate(-45deg);
}

.fine-print {
  margin-top: clamp(32px, 4vw, 48px);
  padding: 16px 20px;
  border-left: 3px solid var(--orange);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .9rem;
  color: var(--ink-soft);
  max-width: 75ch;
}

/* ---------- Credentials ---------- */
.cred-list { margin: 0; display: grid; gap: 16px; }
.cred-list > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.cred-list dt { font-weight: 700; margin-bottom: 2px; }
.cred-list dd { margin: 0; color: var(--ink-soft); }

/* ---------- Endorsements ---------- */
.endorse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  margin-top: 12px;
}
.endorse {
  margin: 0;
  padding: clamp(28px, 3vw, 36px);
  padding-top: clamp(48px, 5vw, 56px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}
.endorse::before {
  content: "\201C";
  position: absolute;
  top: 4px;
  left: clamp(24px, 3vw, 32px);
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--orange);
}
.endorse blockquote { margin: 0 0 16px; }
.endorse blockquote p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 0;
}
.endorse blockquote p::before { content: "\201C"; }
.endorse blockquote p::after { content: "\201D"; }
.endorse figcaption { font-size: .92rem; color: var(--ink-soft); }
.endorse figcaption strong { color: var(--ink); }

/* ---------- Contact ---------- */
.contact { background: var(--contact-bg); color: var(--contact-ink); }
.contact h2 { color: var(--contact-ink); }
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 820px) { .contact-inner { grid-template-columns: 1fr; } }

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: rgb(255 255 255 / .07);
  border: 1px solid rgb(255 255 255 / .15);
}
.contact-phone {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.4rem);
  font-weight: 600;
  color: var(--contact-ink);
  text-decoration: none;
}
.contact-phone:hover { color: var(--orange-on-dark); }
.contact-alt { color: var(--contact-ink); font-size: .95rem; }
.contact-alt:hover { color: var(--orange-on-dark); }
.contact-note { margin: 0; font-size: .95rem; opacity: .85; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 32px calc(32px + env(safe-area-inset-bottom));
  font-size: .9rem;
  color: var(--ink-soft);
}
.footer-inner p { margin: 0 0 .5em; }
.crisis {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-tint);
  margin-bottom: 16px !important;
}

/* ---------- Simple pages (offline / 404) ---------- */
.simple-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--gutter);
}
.simple-page img { margin: 0 auto 24px; }
.simple-page .btn { margin-top: 8px; }

.learn-more {
  margin-top: 1.25em;
  padding-top: 1em;
  border-top: 1px solid var(--line);
  font-size: .95rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   Art: cut paper. Flat, crisp collage shapes (leaf, sun, arch, dots) in the
   brand colors, with a faint paper grain and soft "paper" shadows. A quiet
   nod to art therapy. All motion is skipped for reduced-motion visitors.
   ========================================================================== */

:root {
  --leaf-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M8 94C-2 56 24 18 94 6c8 48-24 84-86 88z'/%3E%3C/svg%3E");
  --wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V16C120 6 260 4 400 12s300 14 420 6 260-16 380-4v14z'/%3E%3C/svg%3E");
  --paper-shadow: drop-shadow(0 2px 3px rgb(31 45 39 / .14));
  --grain-opacity: .07;
  /* Cut-paper colors keep their hue in dark mode (real paper does not invert). */
  --paper-leaf: #2a5a4c;
  --paper-backdrop: #e3ece5;
  --paper-sun: #e2712f;
  --photo-frame: #ffffff;
  --logo-canvas: #fffdf8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grain-opacity: .09;
    --paper-shadow: drop-shadow(0 2px 4px rgb(0 0 0 / .35));
    --paper-leaf: #3a705d;
    --paper-backdrop: #2c3d35;
    --paper-sun: #d9692c;
    --photo-frame: #e4ddd0;
    --logo-canvas: #e4ddd0;
  }
}

/* Paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: 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 .45 0 0 0 0 .4 0 0 0 0 .35 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* Hero collage behind the headshot */
.hero-photo { z-index: 2; }
.hero-art { filter: var(--paper-shadow); }
.cut-backdrop { fill: var(--paper-backdrop); }
.cut-sun { fill: var(--paper-sun); }
.cut-leaf { fill: var(--paper-leaf); }
.cut-vein { fill: none; stroke: var(--bg); stroke-width: 4; stroke-linecap: round; opacity: .7; }
.cut-dot { fill: var(--orange); opacity: .55; }

/* Cut-paper ribbon under "your brain" */
.brush { position: relative; white-space: nowrap; z-index: 0; }
.brush::after {
  content: "";
  position: absolute;
  left: -1%;
  right: -2%;
  bottom: -.07em;
  height: .13em;
  z-index: -1;
  background: var(--orange);
  clip-path: polygon(0 20%, 100% 0, 98.5% 100%, 1.5% 85%);
  transform: rotate(-1.2deg);
  transform-origin: left center;
}

/* Tiny paper leaf before section labels */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 9px;
  vertical-align: -.12em;
  background: currentColor;
  -webkit-mask: var(--leaf-mask) center / contain no-repeat;
  mask: var(--leaf-mask) center / contain no-repeat;
}

/* Specialty icons sit in cut shapes: circle, arch, leaf */
.card-icon { filter: var(--paper-shadow); transition: transform .4s ease; }
.cards .card:nth-child(1) .card-icon { border-radius: 50%; }
.cards .card:nth-child(2) .card-icon { border-radius: 999px 999px 6px 6px; }
.cards .card:nth-child(3) .card-icon { border-radius: 6px 70% 6px 70%; }
.card { transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-4px) rotate(-.4deg); }
.card:hover .card-icon { transform: rotate(-8deg); }

/* Faint cut shapes peeking in from section edges */
.has-deco { position: relative; overflow: hidden; }
.has-deco > .container { position: relative; z-index: 1; }
.cut-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: var(--paper-shadow);
}
.cut-deco--about { left: -50px; bottom: -40px; width: clamp(170px, 22vw, 290px); }
.cut-deco--specialties { right: -70px; top: 24px; width: clamp(180px, 24vw, 320px); }
.cut-deco--credentials { right: -60px; bottom: -50px; width: clamp(160px, 20vw, 260px); }
.deco-soft { fill: var(--green-mid); opacity: .16; }
.deco-peach { fill: var(--orange-soft); }
.deco-orange { fill: var(--orange); }
.deco-vein { fill: none; stroke: var(--bg-tint); stroke-width: 4; stroke-linecap: round; opacity: .8; }
@media (max-width: 720px) {
  .cut-deco { opacity: .7; }
  .cut-deco--about { width: 150px; left: -60px; bottom: -50px; }
  .cut-deco--specialties { width: 160px; right: -70px; top: 8px; }
  .cut-deco--credentials { width: 140px; }
}

/* Wave edges on the green bands */
.quote-band, .contact { position: relative; overflow: hidden; isolation: isolate; }
.quote-band::before, .quote-band::after,
.contact::before, .contact::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(14px, 2.2vw, 26px);
  background: var(--bg);
  z-index: 1;
  -webkit-mask: var(--wave-mask) center / 100% 100% no-repeat;
  mask: var(--wave-mask) center / 100% 100% no-repeat;
  pointer-events: none;
}
.quote-band::before, .contact::before { top: -1px; transform: scaleY(-1); }
.quote-band::after, .contact::after { bottom: -1px; transform: scaleX(-1); }
.quote-band .container, .contact .container { position: relative; z-index: 2; }

/* Cut shapes inside the green bands (tone-on-tone, plus a small sun) */
.band-cut { position: absolute; z-index: 0; pointer-events: none; }
.band-tone { fill: var(--green-deep); opacity: .45; }
.band-vein { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; }
.band-sun { fill: var(--orange); }
.band-cut--leaf { left: -40px; bottom: -50px; width: clamp(170px, 22vw, 300px); }
.band-cut--sun { right: 9%; top: 22%; width: clamp(28px, 3.4vw, 46px); }
.contact .band-tone { fill: #fff; opacity: .06; }
.contact .band-sun { fill: var(--orange-on-dark); opacity: .9; }
.band-cut--contact-leaf { right: -60px; top: -30px; width: clamp(200px, 26vw, 340px); transform: scaleX(-1); }
.band-cut--contact-sun { left: 4%; bottom: 14%; width: clamp(22px, 2.6vw, 34px); }
@media (max-width: 720px) {
  .band-cut--sun { right: 6%; top: 10%; }
  .band-cut--contact-sun { left: auto; right: 8%; bottom: 6%; }
}

/* Footer: a tiny leaf, sun and arch */
.cut-trio { display: flex; align-items: flex-end; gap: 7px; margin-bottom: 14px; }
.cut-trio span { display: block; filter: var(--paper-shadow); }
.cut-trio .t-leaf {
  width: 14px; height: 14px; background: var(--green);
  -webkit-mask: var(--leaf-mask) center / contain no-repeat;
  mask: var(--leaf-mask) center / contain no-repeat;
}
.cut-trio .t-sun { width: 11px; height: 11px; border-radius: 50%; background: var(--orange); }
.cut-trio .t-arch { width: 11px; height: 15px; border-radius: 999px 999px 2px 2px; background: var(--green-mid); }

/* Motion: collage pieces drop into place; content fades up on scroll */
@media (prefers-reduced-motion: no-preference) {
  .hero-art .cut {
    transform-box: fill-box;
    transform-origin: center;
    animation: cut-in .7s cubic-bezier(.2, .8, .3, 1.2) backwards;
  }
  .hero-art .cut-card { animation-delay: .15s; }
  .hero-art .cut-leaf-group { animation-delay: .35s; }
  .hero-art .cut-sun { animation-delay: .55s; }
  .hero-art .cut-dot { animation-delay: .75s; }
  .brush::after { animation: ribbon-in .6s cubic-bezier(.3, .7, .3, 1) .9s backwards; }

  /* Uses `translate` (not `transform`) so it combines with card hover. */
  .js-reveal .reveal {
    opacity: 0;
    translate: 0 16px;
    transition: opacity .7s ease var(--reveal-delay, 0ms), translate .7s ease var(--reveal-delay, 0ms), transform .3s ease, box-shadow .3s ease;
  }
  .js-reveal .reveal.is-visible { opacity: 1; translate: none; }
}
@keyframes cut-in { from { opacity: 0; transform: translateY(14px) rotate(-8deg) scale(.9); } }
@keyframes ribbon-in { from { transform: rotate(-1.2deg) scaleX(0); } }

/* Logo: brain-to-canvas mark (inline SVG; colors follow light/dark mode) */
.logo-mark { display: block; flex: none; }
.lm-outline { stroke: var(--green); }
.lm-brain { fill: var(--paper-backdrop); }
.lm-canvas { fill: var(--logo-canvas); }
.lm-line { stroke: var(--orange); }
.brand .logo-mark { width: 46px; height: 46px; }
.gate-card .logo-mark { width: 84px; height: 84px; }
.simple-page .logo-mark { width: 88px; height: 88px; margin: 0 auto 20px; }

/* ---------- Private preview gate (remove when going live) ---------- */
.preview-locked body > :not(.preview-gate) { display: none !important; }
.preview-gate { display: none; }
.preview-locked .preview-gate {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--gutter);
}
.gate-card {
  width: min(100%, 380px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.gate-card h1 { font-size: 2rem; margin: 8px 0 0; }
.gate-card p { margin: 0; }
.gate-card input {
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: .04em;
  margin-top: 8px;
}
.gate-card input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.gate-card .btn { width: 100%; cursor: pointer; font: inherit; font-weight: 600; }
.gate-error { min-height: 1.5em; color: var(--orange-ink); font-size: .92rem; }
