/* Rivon Counseling & Consulting
   Layout concept: "Calm current" — airy cream pages with soft mint/sky/peach glows,
   a floating glass nav, arched and rounded photo cards, and a thin river line
   that draws itself between sections (echoing the wave in the Rivon logo). */

:root {
  /* Color */
  --ink: #1F3B33;          /* headings, buttons */
  --text: #3C4A45;         /* body copy */
  --muted: #5F6F68;        /* captions, meta */
  --bg: #FAF7F2;           /* warm cream page */
  --surface: #FFFFFF;      /* cards */
  --line: #E6E1D6;         /* hairlines */
  --sage: #5E8B6E;         /* accent from logo green */
  --sage-deep: #3F6B52;    /* accent text on cream (AA) */
  --mist: #6FB3D9;         /* accent from logo blue */
  --accent-from: #4E7F5F;  /* headline gradient, both ends ≥ 4:1 on cream */
  --accent-to: #357399;
  --mint: #DDEDE1;
  --sky: #DCEEF9;
  --peach: #F7E4D6;
  --on-ink: #FAF7F2;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.4vw, 3.2rem);
  --step-4: clamp(2.8rem, 1.6rem + 5vw, 5.6rem);

  /* Shape & space */
  --radius: 28px;
  --radius-sm: 18px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --maxw: 1180px;
  --shadow: 0 24px 60px -32px rgba(31, 59, 51, 0.35);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--ink);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
h3 { font-weight: 400; font-size: var(--step-1); line-height: 1.25; letter-spacing: 0; font-variation-settings: "SOFT" 100, "opsz" 36; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--mist); outline-offset: 3px; border-radius: 6px; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px; }

.accent {
  font-style: italic;
  background: linear-gradient(100deg, var(--accent-from) 10%, var(--accent-to) 90%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.95rem/1 var(--font-body);
  padding: 16px 26px; border-radius: 999px;
  text-decoration: none; border: 1.5px solid var(--ink);
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--sage-deep); border-color: var(--sage-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--surface); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--sage-deep); text-decoration: none;
}
.inline-link { color: var(--sage-deep); font-weight: 600; white-space: nowrap; }
.link-arrow::after { content: "→"; transition: transform .25s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Soft glows */
.glow { position: absolute; pointer-events: none; z-index: 0; filter: blur(10px); }
.glow::before, .glow::after { content: ""; position: absolute; border-radius: 50%; }
.glow-hero { inset: -120px 0 auto; height: 760px; }
.glow-hero::before { width: 620px; height: 520px; left: -8%; top: 40px; background: radial-gradient(closest-side, var(--mint), transparent); }
.glow-hero::after { width: 560px; height: 480px; right: -6%; top: 0; background: radial-gradient(closest-side, var(--sky), transparent); }
.glow-peach { position: absolute; width: 520px; height: 420px; left: 42%; top: 120px; border-radius: 50%; background: radial-gradient(closest-side, var(--peach), transparent); pointer-events: none; filter: blur(10px); z-index: 0; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; z-index: 50;
  top: calc(14px + env(safe-area-inset-top, 0px)); left: 0; right: 0;
  padding-left: max(14px, env(safe-area-inset-left, 0px));
  padding-right: max(14px, env(safe-area-inset-right, 0px));
}
.nav {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 10px 40px -24px rgba(31, 59, 51, 0.35);
  transition: background-color .3s ease;
}
.site-header.is-scrolled .nav { background: rgba(255, 255, 255, 0.9); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 46px; height: auto; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); letter-spacing: 0.01em; }
.brand-sub { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--text);
  transition: background-color .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--mint); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--mint); }
.nav-cta { padding: 13px 20px; font-size: 0.88rem; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--ink); color: var(--on-ink); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; left: max(14px, env(safe-area-inset-left, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); top: calc(100% + 10px);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px; border-radius: 24px;
    background: var(--surface); border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-links a { padding: 14px 18px; font-size: 1rem; }
  .nav-links .nav-links-cta { display: block; margin-top: 6px; }
  .nav-links .nav-links-cta a { background: var(--ink); color: var(--on-ink); text-align: center; }
  .site-header.is-open .nav-links { opacity: 1; visibility: visible; transform: none; }
}
@media (min-width: 961px) { .nav-links .nav-links-cta { display: none; } }

/* ---------- Sections ---------- */
main { position: relative; }
.section { position: relative; padding-block: clamp(72px, 9vw, 130px); }
.section-head { display: grid; gap: 18px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); position: relative; z-index: 1; }
.section-head h2 { font-size: var(--step-3); }
.section-head p { font-size: 1.1rem; max-width: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Hero */
.hero { position: relative; padding-top: clamp(150px, 16vw, 200px); padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 28px; justify-items: center; text-align: center; }
.hero h1 { font-size: var(--step-4); max-width: 14ch; }
.hero-lede { max-width: 56ch; font-size: 1.15rem; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-note { font-size: var(--step--1); color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px var(--mint); }
.hero-media { position: relative; z-index: 1; margin-top: clamp(48px, 6vw, 72px); }
.hero-media picture img {
  width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 20px; padding: 14px 18px;
  box-shadow: var(--shadow); font-size: 0.92rem; line-height: 1.35; color: var(--ink);
}
.hero-chip strong { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1; color: var(--sage-deep); }
.hero-chip.one { left: clamp(12px, 4vw, 48px); bottom: clamp(-28px, -2vw, -16px); }
.hero-chip.two { right: clamp(12px, 4vw, 48px); top: clamp(16px, 3vw, 32px); }
.hero-chip.two img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* River line divider */
.river { display: block; width: 100%; height: 120px; color: var(--sage); opacity: .55; overflow: visible; }
.river path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.river path.blue { stroke: var(--mist); opacity: .8; }
.js .river path { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); transition: stroke-dashoffset 2.4s cubic-bezier(.45,.05,.2,1); }
.js .river.is-drawn path { stroke-dashoffset: 0; }

/* Intro / meet */
.meet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.arch { position: relative; }
.arch picture img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  border-radius: 999px 999px var(--radius) var(--radius);
  filter: sepia(0.12) saturate(1.08) brightness(1.03);
}
.arch::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: linear-gradient(160deg, var(--mint), var(--sky));
}
.arch-badge {
  position: absolute; right: -14px; bottom: 36px;
  background: var(--surface); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow);
  font-size: 0.85rem; line-height: 1.4; color: var(--muted);
}
.arch-badge b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: var(--ink); }
.meet-copy { display: grid; gap: 22px; }
.meet-copy h2 { font-size: var(--step-3); }
.meet-copy p { max-width: 58ch; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 6px 0 0; }
.badges li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
}
.badges li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }

/* Concerns */
.concerns { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.chips li {
  padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 0.98rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  transition: background-color .25s ease, transform .25s ease;
}
.chips li:nth-child(3n+1) { background: var(--mint); border-color: transparent; }
.chips li:nth-child(3n+2) { background: var(--sky); border-color: transparent; }
.chips li:nth-child(3n) { background: var(--peach); border-color: transparent; }
.chips li:hover { transform: translateY(-2px); }
.concerns-note { margin-top: 28px; max-width: 54ch; }
.soft-photo picture img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

/* Services */
.services-band { background: linear-gradient(180deg, transparent, rgba(221, 237, 225, 0.55) 18%, rgba(220, 238, 249, 0.45) 82%, transparent); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; z-index: 1; }
.card {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.card:hover picture img { transform: scale(1.04); }
.card-media { overflow: hidden; }
.card-body { display: grid; gap: 10px; padding: 22px 24px 26px; flex: 1; align-content: start; }
.card-body p { font-size: 0.98rem; }
.card-body .link-arrow { margin-top: 6px; }

/* Steps */
.steps-wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: start;
  padding: 24px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); background: var(--mint);
}
.steps li:nth-child(2)::before { background: var(--sky); }
.steps li:nth-child(3)::before { background: var(--peach); }
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: 0.98rem; }
.steps a { color: var(--sage-deep); font-weight: 600; }

/* Quote band */
.quote-band { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; min-height: 460px; display: grid; align-items: end; }
.quote-band picture, .quote-band picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.quote-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(250, 247, 242, 0) 20%, rgba(31, 59, 51, 0.72)); }
.quote-band blockquote { margin: 0; padding: clamp(32px, 6vw, 72px); max-width: 880px; color: #FAF7F2; }
.quote-band blockquote p { font-family: var(--font-display); font-weight: 300; font-size: var(--step-3); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.quote-band cite { display: block; margin-top: 18px; font-style: normal; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: .85; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.faq .section-head { position: sticky; top: 120px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 24px; }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 22px; font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--mint); font-size: 1.2rem; font-weight: 400; transition: transform .3s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 22px; max-width: 62ch; }
.faq-list details a { color: var(--sage-deep); font-weight: 600; }

/* Contact band */
.contact-band {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px);
  background: var(--ink); color: var(--on-ink);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px);
  padding: clamp(36px, 6vw, 80px);
}
.contact-band::before {
  content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(111, 179, 217, 0.45), transparent); pointer-events: none;
}
.contact-band::after {
  content: ""; position: absolute; width: 480px; height: 480px; left: -160px; bottom: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(94, 139, 110, 0.55), transparent); pointer-events: none;
}
.contact-band > * { position: relative; z-index: 1; min-width: 0; }
.contact-band h2 { color: var(--on-ink); font-size: var(--step-3); }
.contact-band .eyebrow { color: #BFDCCB; }
.contact-band p { color: rgba(250, 247, 242, 0.85); max-width: 50ch; }
.contact-copy { display: grid; gap: 20px; align-content: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: center; }
.contact-list li > a {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center;
  padding: 14px 18px; border-radius: 18px; background: rgba(250, 247, 242, 0.08); border: 1px solid rgba(250, 247, 242, 0.14);
  text-decoration: none; color: var(--on-ink); font-weight: 600;
  font-size: clamp(0.9rem, 0.82rem + 0.35vw, 1.0625rem);
  transition: background-color .25s ease;
}
.contact-list li > a:hover { background: rgba(250, 247, 242, 0.16); }
.contact-list li > a > span { min-width: 0; }
.email { white-space: nowrap; }
.email wbr { display: inline; }
.contact-list small { display: block; font-weight: 500; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: .7; }
.contact-list svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgba(250, 247, 242, 0.12); }
.btn-light { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); justify-self: start; }
.btn-light:hover { background: var(--mint); border-color: var(--mint); transform: translateY(-2px); }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding-top: clamp(150px, 15vw, 190px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero .container { position: relative; z-index: 1; display: grid; gap: 22px; }
.page-hero h1 { font-size: var(--step-4); max-width: 16ch; }
.page-hero p.lede { font-size: 1.15rem; max-width: 60ch; }

/* Split feature (inner pages) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-copy { display: grid; gap: 20px; align-content: start; }
.split-copy h2 { font-size: var(--step-3); }
.split-copy p { max-width: 60ch; }
.photo picture img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.photo.tall picture img { aspect-ratio: 4 / 5; }
.photo-pair { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; align-items: end; }
.photo-pair picture:last-child img { aspect-ratio: 3 / 4; }
.photo-pair picture:first-child img { aspect-ratio: 4 / 5; }
.photo-pair img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.ticks li::before {
  content: ""; width: 26px; height: 26px; border-radius: 50%; margin-top: 2px;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F6B52' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 12px; align-content: start; }
.value .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--mint); color: var(--sage-deep); }
.value:nth-child(2) .icon { background: var(--sky); color: #2F6E92; }
.value:nth-child(3) .icon { background: var(--peach); color: #9A5B37; }
.value .icon svg { width: 26px; height: 26px; }

/* Credentials & insurance */
.credentials { font-size: 0.95rem; color: var(--muted); }
.credentials a { color: var(--sage-deep); font-weight: 600; }
.insurers { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 4px 0 0; padding: 0; }
.insurers li {
  padding: 16px 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.25rem; color: var(--ink);
}

/* Service detail anchors */
.service-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.service-nav a { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.service-nav a:hover { background: var(--mint); }
.service { scroll-margin-top: 120px; }
.service + .service { border-top: 1px solid var(--line); }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.meta-row span { padding: 8px 14px; border-radius: 999px; background: var(--mint); font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.meta-row span:nth-child(2) { background: var(--sky); }
.meta-row span:nth-child(3) { background: var(--peach); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); display: grid; gap: 20px; align-content: start; min-width: 0; }
.panel h2 { font-size: var(--step-2); }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.info-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list svg { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--mint); color: var(--sage-deep); }
.info-list small { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-list a, .info-list span { color: var(--ink); font-weight: 600; text-decoration: none; }
.info-list a:hover { color: var(--sage-deep); text-decoration: underline; }
.panel-tint { background: linear-gradient(160deg, var(--mint), var(--sky)); border-color: transparent; }
.panel-photo picture img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-sm); }
.info-list li > div { min-width: 0; }

/* Footer */
.site-footer { padding-block: clamp(56px, 7vw, 88px) calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-lockup img { width: 52px; }
.footer-lockup .brand-name { font-size: 1.5rem; }
.footer-lockup .brand-sub { display: block; }
.footer-brand p { font-size: 0.95rem; max-width: 36ch; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.95rem; }
.footer-links a { text-decoration: none; color: var(--text); }
.footer-links a:hover { color: var(--sage-deep); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 0.85rem; color: var(--muted); }
.crisis { font-size: 0.88rem; color: var(--muted); max-width: 70ch; }
.crisis strong { color: var(--ink); }

/* Reveal on scroll (content is visible by default; JS adds .js to opt into motion) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .12s; }
.js .reveal[data-delay="2"] { transition-delay: .24s; }
.js .reveal[data-delay="3"] { transition-delay: .36s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .contact-band { grid-template-columns: minmax(0, 1fr); }
  .contact-band .contact-list { max-width: 520px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .meet, .concerns, .steps-wrap, .faq, .contact-band, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
  .cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .faq .section-head { position: static; }
  .arch { max-width: 420px; margin-inline: auto 22px; }
  .value-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media picture img { aspect-ratio: 4 / 3; }
  .hero-chip.two { display: none; }
  .soft-photo { max-width: 520px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-sub { display: none; }
  .brand img { width: 40px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .steps li { grid-template-columns: 48px minmax(0, 1fr); padding: 20px; gap: 16px; }
  .steps li::before { width: 48px; height: 48px; font-size: 1.3rem; }
  .arch-badge { right: 0; }
  .contact-band { padding: 32px 20px; }
  .contact-list li > a { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
  .contact-list li > a > svg { display: none; }
  .email { white-space: normal; }
  .info-list a, .info-list span { font-size: 0.95rem; }
  .info-list li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .info-list svg { width: 40px; height: 40px; padding: 10px; }
  .quote-band { min-height: 380px; }
}

@media (max-width: 380px) {
  .info-list a, .info-list span { font-size: 0.88rem; }
  .panel { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .river path { stroke-dashoffset: 0; }
}
