/* ============================================================
   Deirdre Daly Holistic Therapies — design tokens
   Committed color strategy: lavender/purple carries the surface,
   deep indigo bands punctuate the journey section (Persuade mode).
   ============================================================ */
:root {
  --lavender-50:  #f8f2fb;
  --lavender-100: #efe1f7;
  --lavender-200: #e2caf1;
  --lavender-300: #cfa8e6;
  --purple-500:   #8a4fc4;
  --purple-600:   #6f3aa8;
  --purple-700:   #55287f;
  --purple-900:   #2f1a4f;
  --ink:          #35204f;
  --ink-soft:     #5b4577;
  --cream:        #fdfaf5;
  --cream-deep:   #f6ede0;
  --accent-gold:  #d9b568;
  --line:         rgba(53, 32, 79, 0.14);
  --line-on-dark: rgba(255, 255, 255, 0.14);
  --shadow-soft:  0 18px 40px -22px rgba(47, 26, 79, 0.35);
  --shadow-lift:  0 24px 60px -20px rgba(47, 26, 79, 0.45);

  /* state colors: deliberately outside the lavender/purple palette so
     success/error read as universal signals, not brand accents */
  --success-bg:   #e6f2df;
  --success-text: #2e5a1f;
  --error:        #b5354a;
  --error-bg:     #f6dfe2;
  --error-text:   #7c2233;

  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-script:  "Yellowtail", "Segoe Script", cursive;
  --font-sans:    "Outfit", "Segoe UI", system-ui, sans-serif;

  --measure: 68ch;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--purple-900); margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.6rem); line-height: 1.05; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3vw + 1rem, 3rem); line-height: 1.1; }
h3 { font-size: clamp(1.25rem, 1.2vw + 1rem, 1.6rem); }
p { margin: 0 0 1em; max-width: var(--measure); }
a { color: inherit; }
img { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--purple-600);
  letter-spacing: 0.01em;
}

/* selection, focus, scrollbar — browser surfaces belong to the palette too */
::selection { background: var(--purple-500); color: var(--cream); }
:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 4px;
}
* { scrollbar-color: var(--purple-500) var(--lavender-100); scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--lavender-100); }
::-webkit-scrollbar-thumb { background: var(--purple-500); border-radius: 8px; border: 3px solid var(--lavender-100); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--purple-900);
  color: var(--cream);
  padding: 0.9em 1.4em;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.wrap {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.eyebrow-free-heading { max-width: 24ch; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 245, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9em;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
}
.brand-mark { width: 46px; height: 46px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--purple-700);
  line-height: 1;
}
.brand-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.main-nav { display: flex; align-items: center; gap: 1.9em; }
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding-block: 0.3em;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--purple-500);
  transition: right 0.25s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }

.nav-cta {
  background: var(--purple-700);
  color: var(--cream) !important;
  padding: 0.6em 1.3em;
  border-radius: 999px;
  font-size: 0.95rem;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--purple-900); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4em;
  cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; color: var(--purple-700); }

/* Seven nav links + CTA need tighter spacing than the original six-item nav
   was sized for; without this, link labels wrap mid-word ("Doula" /
   "Support") and the CTA loses "Get" anywhere below ~1150px. Applied for
   every width above the 720px hamburger takeover, since the tighter spacing
   reads fine at any desktop width, not just the in-between band. */
@media (min-width: 721px) {
  .main-nav { gap: 1.1em; }
  .main-nav a { font-size: 0.85rem; white-space: nowrap; }
  .nav-cta { padding: 0.6em 1em; white-space: nowrap; }
}
@media (min-width: 721px) and (max-width: 1080px) {
  .brand-sub { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  background: radial-gradient(120% 100% at 15% 0%, var(--lavender-100) 0%, var(--lavender-50) 45%, var(--cream) 100%);
  padding-block: clamp(3rem, 6vw, 6rem) clamp(4rem, 8vw, 7rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, var(--lavender-200) 0%, transparent 70%);
  opacity: 0.7;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-mark { width: 96px; height: 96px; margin-bottom: 1.4rem; }

/* ---------- subpage header (baby-massage, breastfeeding, contact, faq) ---------- */
/* Same lavender ground as the hero, at Headline scale — Display stays hero-only. */
.page-header {
  position: relative;
  overflow: clip;
  background: radial-gradient(120% 100% at 15% 0%, var(--lavender-100) 0%, var(--lavender-50) 45%, var(--cream) 100%);
  padding-block: clamp(2.6rem, 5vw, 4.5rem) clamp(2.2rem, 4vw, 3.5rem);
}
.page-header::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, var(--lavender-200) 0%, transparent 70%);
  opacity: 0.7;
  z-index: 0;
}
.page-header .wrap { position: relative; z-index: 1; max-width: 720px; }
.page-header .page-mark { width: 56px; height: 56px; margin-bottom: 1.1rem; }
.page-header h1 { max-width: 20ch; }
.page-header p { font-size: 1.15rem; color: var(--ink-soft); max-width: 52ch; }
.page-header .hero-actions { margin-top: 1.4em; }
.hero-copy .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 1.6em; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: var(--font-sans);
}
.btn-primary {
  background: var(--purple-700);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--purple-900); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost {
  background: transparent;
  border-color: var(--purple-500);
  color: var(--purple-700);
}
.btn-ghost:hover { background: var(--lavender-100); }
.btn:active { transform: translateY(0); }

.hero-trust {
  margin-top: 2.2em;
  display: flex;
  gap: 1.6em;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.hero-trust li { display: flex; align-items: center; gap: 0.5em; font-weight: 600; }
.hero-trust svg { width: 18px; height: 18px; color: var(--purple-600); flex-shrink: 0; }

/* hero envelope visual: the four views peek like tucked cards */
.hero-envelope {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 6;
}
.envelope-card {
  position: absolute;
  width: 78%;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.5em 1.6em;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.envelope-card .view-letter {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--purple-500);
  display: block;
}
.envelope-card h3 { margin-bottom: 0.2em; }
.envelope-card p { font-size: 0.875rem; margin: 0; color: var(--ink-soft); }
.card-a { top: 0; left: 0; z-index: 4; transform: rotate(-4deg); }
.card-b { top: 14%; right: 0; z-index: 3; transform: rotate(3deg); }
.card-c { top: 28%; left: 5%; z-index: 2; transform: rotate(-3deg); }
.card-d { top: 42%; right: 5%; z-index: 1; transform: rotate(4deg); }

/* ---------- section shell ---------- */
section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }

/* ---------- views (services) ---------- */
.views-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.4rem, 3vw, 2.2rem);
}
.view-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 2.5vw, 2.4rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.view-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.view-card .view-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--purple-500);
}
.view-card .view-tag .letter-badge {
  width: 2.1em; height: 2.1em;
  border-radius: 50%;
  background: var(--lavender-100);
  display: grid;
  place-items: center;
  color: var(--purple-700);
}
.view-icon { width: 46px; height: 46px; color: var(--purple-600); }
.view-card ul { display: flex; flex-direction: column; gap: 0.5em; margin: 0.4em 0 0.8em; }
.view-card li { font-size: 0.95rem; color: var(--ink-soft); display: flex; gap: 0.55em; }
.view-card li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 0.2em; color: var(--accent-gold); }
.view-card .view-price { margin-top: auto; font-weight: 700; color: var(--purple-700); }
.view-link { font-weight: 700; color: var(--purple-700); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4em; }
.view-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.view-link:hover svg { transform: translateX(3px); }

/* ---------- journey (drenched band) ---------- */
.journey {
  background: linear-gradient(180deg, var(--purple-900) 0%, var(--purple-700) 100%);
  color: var(--lavender-50);
  position: relative;
  overflow: clip;
}
.journey::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 85% 10%, rgba(255,255,255,0.08), transparent 70%);
}
.journey .wrap { position: relative; z-index: 1; }
.journey .section-head h2 { color: var(--cream); }
.journey .section-head p { color: var(--lavender-200); }

.journey-path {
  position: relative;
  padding-top: 1rem;
}
.journey-line {
  stroke: var(--lavender-300);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
/* reveal-on-scroll only hides content once .js confirms script is running;
   a failed/blocked main.js (or JS disabled) leaves everything visible */
.js:not(.reveal-fallback) .journey-line { stroke-dashoffset: 1400; }
.js .journey-line.in-view { stroke-dashoffset: 0; }

.journey-stops {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-top: -2.4rem;
}
.journey-stop {
  padding-top: 2.6rem;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js:not(.reveal-fallback) .journey-stop { opacity: 0; transform: translateY(14px); }
.js .journey-stop.in-view { opacity: 1; transform: translateY(0); }
.journey-stop .stop-dot {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent-gold);
  margin-bottom: 1em;
  box-shadow: 0 0 0 6px rgba(217, 181, 104, 0.22);
}
.journey-stop h3 { color: var(--cream); font-size: 1.15rem; }
.journey-stop p { color: var(--lavender-200); font-size: 0.95rem; }

/* ---------- pricing (back of the envelope) ---------- */
.pricing-panel {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 3rem);
  box-shadow: var(--shadow-soft);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 43px, var(--line) 44px);
}
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
.swipe-hint { display: none; font-size: 0.8rem; color: var(--purple-600); font-weight: 700; margin-bottom: 0.8em; }
.pricing-table {
  width: 100%;
  /* min-width: 560px; */
  border-collapse: collapse;
}
.pricing-table caption {
  text-align: left;
  font-family: var(--font-script);
  color: var(--purple-600);
  font-size: 1.3rem;
  margin-bottom: 0.6em;
}
.pricing-table th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-block: 0.6em;
  border-bottom: 2px solid var(--lavender-300);
}
.pricing-table td { padding-block: 0.85em; border-bottom: 1px dashed var(--line); vertical-align: top; }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table .item-name { font-weight: 700; color: var(--purple-900); }
.table-link { font-weight: 600; font-size: 0.8rem; color: var(--purple-600); text-decoration: none; }
.table-link:hover { text-decoration: underline; }
.pricing-table .item-desc { font-size: 0.875rem; color: var(--ink-soft); max-width: 42ch; }
.pricing-table .item-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--purple-700);
  white-space: nowrap;
  text-align: right;
}
.pricing-group-label {
  font-weight: 700;
  color: var(--purple-600) !important;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding-top: 1.4em !important;
  border-bottom: none !important;
}
.pricing-note {
  margin-top: 1.6em;
  font-size: 0.875rem;
  color: var(--ink-soft);
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
}
.pricing-note strong { color: var(--purple-700); }
.pricing-note-stack { flex-direction: column; gap: 0.9em; margin-top: 0; font-size: 0.95rem; }

/* ---------- credentials / evidence ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
/* let grid cells shrink below their content so a wide table-scroll can
   contain (scroll) rather than force the whole column past the viewport */
.about-grid > * { min-width: 0; }
.about-grid:has(> :only-child) { grid-template-columns: 1fr; }

/* ---------- tabs (Before Baby / After Baby) — CSS-only via a native radiogroup ----------
   Radios live inside their own label, inside the radiogroup, for correct AT containment;
   :has() on the .tabs wrapper drives which panel/pill is active without needing the radios
   and panels to be flat siblings. */
.tab-radio { position: absolute; opacity: 0; pointer-events: none; }
.tab-list { display: flex; gap: 0.7em; margin-bottom: 2.2rem; flex-wrap: wrap; }
.tab-label {
  position: relative;
  cursor: pointer;
  padding: 0.7em 1.7em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-weight: 700;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tab-panel { display: none; }
.tabs:has(#tab-before:checked) #panel-before,
.tabs:has(#tab-after:checked) #panel-after { display: block; }
.tabs:has(#tab-before:checked) label:has(#tab-before),
.tabs:has(#tab-after:checked) label:has(#tab-after) {
  background: var(--purple-600);
  color: #fff;
  border-color: var(--purple-600);
}
.tabs:has(#tab-before:focus-visible) label:has(#tab-before),
.tabs:has(#tab-after:focus-visible) label:has(#tab-after) {
  outline: 2px solid var(--purple-500);
  outline-offset: 2px;
}
.tab-panel .pricing-note { margin-top: 2rem; }

/* ---------- narrative block: centered intro copy over a left-aligned bio-block ---------- */
.narrative-block { max-width: var(--measure); margin-inline: auto; text-align: center; }
.narrative-block .bio-block { text-align: left; }
.credential-list { display: flex; flex-direction: column; gap: 0.9em; margin-top: 1.2em; }
.credential-item {
  display: flex;
  align-items: center;
  gap: 0.85em;
  padding: 0.7em 1em;
  background: var(--lavender-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.credential-item svg { width: 22px; height: 22px; color: var(--purple-600); flex-shrink: 0; }
.credential-item span { font-weight: 600; font-size: 0.95rem; color: var(--ink); }

.evidence-insert {
  position: relative;
  transform: rotate(2deg);
  margin-top: 2rem;
}
.evidence-insert img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  border: 8px solid var(--cream);
}
.evidence-insert figcaption {
  margin-top: 0.8em;
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
  transform: rotate(-2deg);
}

.bio-block { background: var(--lavender-50); border-radius: var(--radius-lg); padding: clamp(1.6rem, 2.5vw, 2.4rem); border: 1px solid var(--line); }
.bio-block p { color: var(--ink-soft); }

/* ---------- testimonials ---------- */
.testimonials-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.6em 1.7em;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.testimonial-card::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--lavender-200);
  position: absolute;
  top: 0.1em;
  left: 0.3em;
  line-height: 1;
  z-index: 0;
}
.testimonial-card blockquote {
  margin: 0.6em 0 0.8em;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  z-index: 1;
  font-style: italic;
}
.testimonial-card cite {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple-600);
}

/* ---------- contact ---------- */
.contact-section { background: var(--lavender-50); }
.contact-teaser .wrap { max-width: 640px; text-align: center; }
.contact-teaser .wrap > div { display: flex; flex-direction: column; align-items: center; }
.contact-teaser .hero-actions { justify-content: center; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
}
.contact-info h2 { max-width: 14ch; }
.contact-methods { margin-top: 1.6em; display: flex; flex-direction: column; gap: 1em; }
.contact-method { display: flex; align-items: center; gap: 0.9em; text-decoration: none; color: var(--ink); font-weight: 600; }
.contact-method svg { width: 24px; height: 24px; color: var(--purple-600); flex-shrink: 0; }
.contact-method:hover { color: var(--purple-700); }

.contact-form {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1em; }
.field { margin-bottom: 1.1em; display: flex; flex-direction: column; gap: 0.4em; }
.field label { font-weight: 700; font-size: 0.875rem; color: var(--purple-900); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 0.8em 1em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 4px var(--lavender-100);
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field .hint { font-size: 0.8rem; color: var(--ink-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field .error-msg { font-size: 0.8rem; color: var(--error); display: none; font-weight: 600; }
.field.has-error .error-msg { display: block; }

.form-status {
  display: none;
  padding: 1em 1.2em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 1.2em;
}
.form-status.success { display: block; background: var(--success-bg); color: var(--success-text); }
.form-status.error { display: block; background: var(--error-bg); color: var(--error-text); }
.contact-form[data-state="success"] .form-fields { display: none; }

/* honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- faq (native details/summary — no JS needed) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 1rem; max-width: 760px; margin-inline: auto; }
.faq-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 0.3em 1.6em;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1em 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--purple-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 8l6 6 6-6' stroke='%236f3aa8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item p { color: var(--ink-soft); padding-bottom: 1.2em; margin: 0; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--purple-900);
  color: var(--lavender-100);
  padding-block: 3rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand .brand-name { color: var(--lavender-100); }
.footer-brand p { color: var(--lavender-200); font-size: 0.95rem; max-width: 38ch; }
.footer-col h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 0.8em; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.55em; }
.footer-col a { color: var(--lavender-200); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1em;
  font-size: 0.8rem;
  color: var(--lavender-300);
}
.social-row { display: flex; gap: 0.3em; }
.social-row a { color: var(--lavender-100); display: inline-flex; align-items: center; justify-content: center; padding: 0.75em; margin: -0.75em; }
.social-row svg { width: 20px; height: 20px; }
.credit { display: inline-flex; align-items: center; gap: 0.5em; color: var(--lavender-100); text-decoration: none; }
.credit:hover { color: var(--cream); }
.credit img { width: 16px; height: auto; }

/* ---------- reveal-on-scroll ---------- */
.reveal { transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.js:not(.reveal-fallback) .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* the fanned/overlapping cards hide each other once the column narrows and
     text wraps taller; stack them into a clean, readable list on mobile */
  .hero-envelope { position: static; aspect-ratio: auto; max-width: 420px; margin-inline: auto; display: grid; gap: 1rem; }
  .envelope-card { position: static; width: 100%; transform: none; }
  .journey-stops { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .testimonials-strip { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; inset: 72px 0 0 0; background: var(--cream); flex-direction: column; align-items: flex-start; padding: 2rem 6%; gap: 0.6em; transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding-block: 0.75em; }
  .nav-toggle { display: block; padding: 0.6em; }
  .views-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .journey-stops { grid-template-columns: 1fr; }
  .testimonials-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  /* the header's backdrop-filter makes it the containing block for the
     position:fixed mobile nav, collapsing the overlay; drop it on mobile so
     the nav fills the viewport (header stays opaque instead of frosted) */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }

  /* pricing tables collapse into stacked rows instead of scrolling sideways */
  .swipe-hint { display: none; }
  .table-scroll { overflow: visible; }
  .pricing-table { display: block; min-width: 0; }
  .pricing-table caption { display: block; }
  .pricing-table thead { display: none; }
  .pricing-table tbody { display: block; }
  .pricing-table tr { display: block; padding: 0.7em 0; border-bottom: 1px dashed var(--line); }
  .pricing-table tr:last-child { border-bottom: none; }
  .pricing-table td { display: block; padding: 0; border: none; }
  .pricing-table .item-desc { max-width: none; margin-top: 0.25em; }
  .pricing-table .item-price { text-align: left; margin-top: 0.4em; }
  .pricing-table .pricing-group-label { padding-top: 0.6em !important; }
}

/* ---------- client round 1: portrait + hero logo ---------- */
/* ponytail: source photo is only 365px wide; cap display size so it stays sharp-ish. Swap in a larger photo to lift the cap. */
.portrait { width: 100%; max-width: 340px; height: auto; justify-self: center; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.envelope-logo { position: absolute; bottom: 12%; left: 50%; width: 32%; height: auto; transform: translateX(-50%); }
@media (max-width: 980px) {
  .envelope-logo { position: static; transform: none; width: 140px; justify-self: center; }
}
