/* ==========================================================================
   HerHQ — Design System
   A business & growth community for women founders
   ========================================================================== */

/* ----------  Design tokens  ---------- */
:root {
  /* Brand palette */
  --cream:      #FBF5EF;   /* page background – warm ivory */
  --cream-2:    #FDF9F4;   /* lighter surface / cards */
  --blush:      #F7E4DD;   /* soft pink section */
  --blush-2:    #F3D8CF;   /* deeper pink strip */
  --rose:       #EFCBC2;   /* accent pink */
  --brick:      #AB4E47;   /* terracotta – CTAs / accents (WCAG AA: ~5.4:1 on white, ~4.9:1 on cream) */
  --brick-600:  #8E3F39;   /* terracotta – darker hover */
  --brick-soft: #D98A83;
  --forest:     #1E3A30;   /* dark green – primary buttons / dark bands */
  --forest-600: #17322A;   /* darker green – hover */
  --forest-700: #152B23;
  --ink:        #2A2724;   /* primary text */
  --muted:      #665F58;   /* secondary text (WCAG AA on cream & blush) */
  --line:       #ECE0D6;   /* hairline borders */
  --gold:       #C79A6B;

  /* Typography */
  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(42,39,36,.05), 0 4px 14px rgba(42,39,36,.05);
  --shadow-md: 0 10px 40px rgba(42,39,36,.09);
  --shadow-lg: 0 24px 60px rgba(42,39,36,.13);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----------  Reset  ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 700; line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }

/* ----------  Layout helpers  ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1320px; }
.wrap-narrow { max-width: 900px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-sm { padding-block: clamp(40px, 6vw, 72px); }
.bg-cream  { background: var(--cream); }
.bg-cream2 { background: var(--cream-2); }
.bg-blush  { background: var(--blush); }
.bg-rose   { background: var(--rose); }
.bg-forest { background: var(--forest); color: #F4ECE4; }
.bg-forest h1,.bg-forest h2,.bg-forest h3 { color: #FBF5EF; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* Fade-in on scroll — progressive enhancement: only hidden when JS is present,
   so content is always visible if JS is slow/absent (no invisible-content risk). */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----------  Typography utilities  ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: .9rem;
  display: inline-block;
}
.display { font-size: clamp(2.5rem, 6vw, 4.1rem); line-height: 1.04; }
.h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); line-height: 1.7; }
.accent { color: var(--brick); }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); }
.balance { text-wrap: balance; }
.section-head { max-width: 720px; margin-inline: auto; margin-bottom: clamp(2rem,4vw,3.25rem); }
.section-head.left { margin-inline: 0; }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--sans); font-weight: 600; font-size: .96rem;
  padding: .85em 1.6em; border-radius: 10px; line-height: 1;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-forest { background: var(--forest); color: #FBF5EF; box-shadow: var(--shadow-sm); }
.btn-forest:hover { background: var(--forest-600); box-shadow: var(--shadow-md); }
.btn-brick { background: var(--brick); color: #fff; box-shadow: var(--shadow-sm); }
.btn-brick:hover { background: var(--brick-600); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(42,39,36,.22); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--forest); }
.btn-light { background: #FBF5EF; color: var(--forest); }
.btn-light:hover { background: #fff; }
.btn-ghost-light { background: transparent; color: #FBF5EF; box-shadow: inset 0 0 0 1.5px rgba(251,245,239,.4); }
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1.5px #FBF5EF; }
.btn-lg { padding: 1em 2em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--forest); font-size: .95rem; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow.brick { color: var(--brick); }

/* ----------  Announcement bar  ---------- */
.announce {
  background: var(--brick); color: #fff; font-size: .88rem; text-align: center;
  padding: .6rem var(--gutter);
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
}
.announce .spark { opacity: .9; }
.announce a {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  padding: .3em 1em; border-radius: 999px; font-weight: 600; font-size: .82rem;
  transition: background .2s;
}
.announce a:hover { background: rgba(255,255,255,.28); }

/* ----------  Header / Nav  ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,245,239,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; letter-spacing: -.01em; color: var(--ink); }
.brand span { color: var(--brick); }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-links a { font-size: .93rem; font-weight: 500; color: var(--ink); position: relative; padding: .3rem 0; transition: color .2s; }
.nav-links a::after { content:""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--brick); transition: width .25s var(--ease); }
.nav-links a:hover { color: var(--brick); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--brick); }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.nav-actions .avatar { width: 38px; height: 38px; border-radius: 999px; background: var(--blush); display: grid; place-items: center; color: var(--forest); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }
.drawer-wrap { display: none; }

@media (max-width: 960px) {
  .nav-links, .nav-actions .avatar { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Full-viewport overlay that clips the off-canvas panel (no page overflow,
     no interference with the sticky header). */
  .drawer-wrap {
    display: block; position: fixed; inset: 0; overflow: hidden;
    z-index: 55; pointer-events: none; visibility: hidden;
  }
  .drawer-wrap.open { pointer-events: auto; visibility: visible; }

  .scrim { position: absolute; inset: 0; background: rgba(30,58,48,.4); opacity: 0; transition: opacity .3s var(--ease); }
  .drawer-wrap.open .scrim { opacity: 1; }

  .nav-drawer {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw, 340px);
    background: var(--cream-2); box-shadow: var(--shadow-lg); padding: 90px 28px 28px;
    transform: translateX(100%); transition: transform .35s var(--ease);
    overflow-y: auto; visibility: visible;
  }
  .drawer-wrap.open .nav-drawer { transform: none; }

  .nav-drawer .nav-links { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; width: 100%; }
  .nav-drawer .nav-links a { font-size: 1.1rem; width: 100%; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav-drawer .btn { margin-top: 1.2rem; width: 100%; }
  .drawer-close { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; }
}

/* ----------  Hero  ---------- */
.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy .display { margin-bottom: 1.3rem; }
.hero-copy .lead { max-width: 34ch; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero-trust { display: flex; align-items: flex-start; gap: .55rem; color: var(--muted); font-size: .92rem; max-width: 42ch; }
.hero-trust svg { flex: none; width: 1.15rem; height: 1.15rem; color: var(--forest); margin-top: .15rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid > * { min-width: 0; }        /* let the media column shrink (prevents overflow) */
  .hero-copy .lead { max-width: none; }
}

/* ----------  Photo placeholders  ---------- */
.photo {
  position: relative; overflow: hidden; background:
    radial-gradient(120% 120% at 20% 10%, #F0D8C6 0%, #E7BCA9 45%, #D89A86 100%);
  border-radius: var(--radius-lg); min-height: 260px; box-shadow: var(--shadow-md);
}
.photo::after {
  content:""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 80% 90%, rgba(30,58,48,.22), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M0 0h20v20H0zM20 20h20v20H20z'/%3E%3C/svg%3E");
}
.photo-blob { border-radius: 46% 46% 44% 44% / 8% 8% 6% 6%; }
.photo-organic { border-radius: 140px 20px 20px 20px; }
.photo-tag {
  position: absolute; left: 18px; top: 18px; z-index: 2;
  background: rgba(251,245,239,.9); color: var(--forest); font-size: .74rem; font-weight: 600;
  letter-spacing: .04em; padding: .35em .8em; border-radius: 999px; backdrop-filter: blur(4px);
}
.photo .ph-mono {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 1;
  font-family: var(--serif); font-size: 2.4rem; color: rgba(251,245,239,.85);
}
.photo.tone-forest { background: linear-gradient(150deg, #234A3C 0%, #1E3A30 100%); }
.photo.tone-blush { background: linear-gradient(150deg, #F7E4DD 0%, #EFCBC2 100%); }
.photo.tone-blush .ph-mono { color: rgba(193,95,87,.5); }
.hero-media .photo { aspect-ratio: 5/4; min-height: 340px; }
@media (max-width: 860px) { .hero-media .photo { aspect-ratio: 16 / 10; min-height: 0; margin-top: 2rem; } }

/* ----------  Trust / logo strip  ---------- */
.trust-strip { padding-block: 2.2rem; border-block: 1px solid var(--line); }
.trust-strip p { text-align: center; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.3rem; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 3.6rem); }
.logos span { font-family: var(--serif); font-weight: 700; font-size: clamp(1.05rem,2vw,1.5rem); color: #4a443f; opacity: .72; letter-spacing: .02em; }
.logos .logo-inc { font-style: italic; }
.logos .logo-bi { font-family: var(--sans); font-weight: 800; font-size: .8rem; letter-spacing: .12em; line-height: 1.1; text-transform: uppercase; text-align:center; }

/* ----------  Feature grid (icon rows)  ---------- */
.feature-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem 1.2rem; }
.feature { text-align: center; }
.feature .ic { width: 52px; height: 52px; margin: 0 auto .85rem; display: grid; place-items: center; color: var(--brick); }
.feature .ic svg { width: 30px; height: 30px; stroke-width: 1.5; }
.feature h4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-bottom: .35rem; }
.feature p { font-size: .9rem; color: var(--muted); line-height: 1.55; }

/* ----------  Cards  ---------- */
.card { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--blush); display: grid; place-items: center; color: var(--brick); margin-bottom: 1.1rem; }
.card .ic svg { width: 28px; height: 28px; stroke-width: 1.6; }
.card h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.card h4 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; }
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1000px){ .grid-6,.grid-5{ grid-template-columns: repeat(3,1fr);} .grid-4{grid-template-columns:repeat(2,1fr);} }
@media (max-width: 720px){ .grid-2,.grid-3,.grid-4,.grid-5,.grid-6{ grid-template-columns: 1fr; } }

/* Persona / who-is-it-for cards */
.persona { border-radius: var(--radius); overflow: hidden; background: var(--cream-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.persona:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.persona .photo { border-radius: 0; min-height: 150px; box-shadow: none; }
.persona .p-body { padding: 1.1rem 1.15rem 1.35rem; }
.persona h4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-bottom: .3rem; }
.persona p { font-size: .86rem; color: var(--muted); line-height: 1.5; }

/* ----------  Bullet lists  ---------- */
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; font-size: .95rem; color: var(--ink); }
.check-list li::before {
  content:""; position: absolute; left: 0; top: .15rem; width: 1.25rem; height: 1.25rem; border-radius: 999px;
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C15F57' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/.75rem no-repeat;
}
.tick-list li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; font-size: .93rem; }
.tick-list li::before { content:"✓"; position: absolute; left: 0; color: var(--brick); font-weight: 700; }

/* ----------  Pricing  ---------- */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 900px){ .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.price-card { position: relative; background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.7rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card.featured { border: 1.5px solid var(--brick); box-shadow: var(--shadow-md); }
.price-card .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brick); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .06em; padding: .35em 1em; border-radius: 999px; }
.price-card h3 { font-size: 1.35rem; text-align: center; }
.price-card .tagline { text-align: center; color: var(--muted); font-size: .9rem; margin-top: .3rem; margin-bottom: 1.1rem; }
.price-card .amount { text-align: center; font-family: var(--serif); font-weight: 700; font-size: 2.4rem; color: var(--ink); }
.price-card .amount small { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--muted); }
.price-card .amount.apply { font-size: 1.5rem; }
.price-card hr { border: 0; border-top: 1px solid var(--line); margin: 1.3rem 0; }
.price-card .tick-list { flex: 1; margin-bottom: 1.4rem; }
.price-card .plus { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .7rem; }

/* Comparison table */
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-2); }
.compare table { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td { padding: .95rem 1.1rem; text-align: left; font-size: .92rem; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--serif); font-size: 1.02rem; background: var(--blush); color: var(--ink); }
.compare thead th:first-child { border-top-left-radius: var(--radius); }
.compare thead th:last-child { border-top-right-radius: var(--radius); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--forest); font-weight: 700; }
.compare .no { color: #C9BEB4; }
.compare td small { color: var(--muted); }

/* ----------  Steps / timeline  ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; position: relative; }
.steps::before { content:""; position: absolute; top: 22px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--brick-soft) 0 8px, transparent 8px 16px); z-index: 0; }
@media (max-width: 900px){ .steps { grid-template-columns: repeat(2,1fr); } .steps::before { display:none; } }
@media (max-width: 520px){ .steps { grid-template-columns: 1fr; } }
.step { text-align: center; position: relative; z-index: 1; }
.step .num { width: 46px; height: 46px; margin: 0 auto .85rem; border-radius: 999px; background: var(--brick); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--cream); }
.step h4 { font-family: var(--sans); font-weight: 600; font-size: .98rem; margin-bottom: .3rem; }
.step p { font-size: .85rem; color: var(--muted); line-height: 1.5; }

/* Journey arrow row */
.journey { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem 1rem; }
.journey span { font-family: var(--serif); font-size: clamp(1.1rem,2.4vw,1.7rem); color: var(--forest); }
.journey .arrow { color: var(--brick); font-size: 1.3rem; }

/* ----------  Testimonials  ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.4rem; }
.quote { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm); }
.quote .mark { font-family: var(--serif); font-size: 2.6rem; line-height: .5; color: var(--brick-soft); display: block; margin-bottom: .6rem; }
.quote p { font-size: .96rem; color: var(--ink); margin-bottom: 1.2rem; }
.quote .who { display: flex; align-items: center; gap: .7rem; }
.quote .who .av { width: 40px; height: 40px; border-radius: 999px; background: var(--blush-2); display:grid; place-items:center; color: var(--brick); font-family: var(--serif); font-weight: 700; }
.quote .who b { font-size: .9rem; font-weight: 600; display: block; }
.quote .who small { font-size: .8rem; color: var(--muted); }

/* ----------  Accordion (FAQ)  ---------- */
.accordion { max-width: 820px; margin-inline: auto; }
.acc-item { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .8rem; overflow: hidden; }
.acc-item summary { list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary .pm { flex: none; width: 24px; height: 24px; position: relative; }
.acc-item summary .pm::before, .acc-item summary .pm::after { content:""; position: absolute; background: var(--brick); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s; }
.acc-item summary .pm::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.acc-item summary .pm::after { left: 11px; top: 4px; bottom: 4px; width: 2px; }
.acc-item[open] summary { color: var(--brick); }
.acc-item[open] summary .pm::after { transform: scaleY(0); opacity: 0; }
.acc-body { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .96rem; }
.acc-body p + p { margin-top: .7rem; }

/* Numbered legal accordion */
.legal-acc .acc-item summary { align-items: center; }
.legal-acc .num { font-family: var(--serif); color: var(--brick); font-weight: 700; margin-right: 1rem; font-size: 1.05rem; }
.chev { flex: none; width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease); }
.acc-item[open] .chev { transform: rotate(180deg); }

/* Vertical tabs (community guidelines) */
.vtabs { display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem; }
@media (max-width: 760px){ .vtabs { grid-template-columns: 1fr; } }
.vtabs .tablist { display: flex; flex-direction: column; gap: .25rem; }
.vtabs .tablist button { text-align: left; padding: .85rem 1.1rem; border-radius: var(--radius-sm); font-weight: 500; color: var(--muted); transition: .2s; }
.vtabs .tablist button.active { background: var(--blush); color: var(--ink); font-weight: 600; }
@media (max-width:760px){ .vtabs .tablist { flex-direction: row; flex-wrap: wrap; } }

/* ----------  Split / feature-with-image  ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split.narrow-media { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; } .split > * { min-width: 0; } .split.rev .split-media { order: -1; } }

/* ----------  CTA band  ---------- */
.cta-band { background: var(--forest); color: #F4ECE4; border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.4rem); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #FBF5EF; margin-bottom: .7rem; }
.cta-band p { color: rgba(244,236,228,.82); max-width: 52ch; margin: 0 auto 1.6rem; }
.cta-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 1.1rem; font-size: .86rem; color: rgba(244,236,228,.7); }
.cta-leaf { position: absolute; right: -20px; bottom: -20px; width: 180px; opacity: .12; color: #FBF5EF; }

/* ----------  Newsletter  ---------- */
.newsletter { background: var(--blush); border-radius: var(--radius-lg); padding: clamp(2rem,4vw,3rem); }
.news-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; }
@media (max-width: 820px){ .news-grid { grid-template-columns: 1fr; text-align: center; } }
.news-ic { width: 62px; height: 62px; border-radius: 999px; background: var(--cream-2); display: grid; place-items: center; color: var(--brick); }
.subscribe { display: flex; gap: .6rem; }
@media (max-width: 480px){ .subscribe { flex-direction: column; } }
.subscribe input { flex: 1; min-width: 0; }

/* ----------  Forms  ---------- */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.field .req { color: var(--brick); }
input, textarea, select {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: #A99F96; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brick); box-shadow: 0 0 0 3px rgba(193,95,87,.14); }
textarea { min-height: 130px; resize: vertical; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
@media (max-width: 640px){ .form-2col { grid-template-columns: 1fr; } }
.checkbox { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--muted); }
.checkbox input { width: auto; margin-top: .2rem; }
.form-card { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.form-note { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.form-note svg { width: 1rem; height: 1rem; color: var(--forest); }

/* ----------  Events list  ---------- */
.event-card { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.event-card .photo { border-radius: 0; min-height: 170px; }
.event-card .ev-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.event-card .ev-date { color: var(--brick); font-weight: 600; font-size: .82rem; letter-spacing: .02em; margin-bottom: .5rem; }
.event-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.event-card p { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.event-card .ev-meta { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.1rem; }
.event-card .ev-meta svg { width: 1rem; height: 1rem; color: var(--forest); }
.event-card .btn { margin-top: auto; }
.meetups { background: var(--blush); border-radius: var(--radius); padding: 1.6rem; }
.meetup-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgba(42,39,36,.08); }
.meetup-row:last-child { border-bottom: 0; }
.meetup-row .m-date { font-weight: 600; color: var(--brick); font-size: .85rem; width: 62px; flex: none; }
.meetup-row .m-info b { font-size: .95rem; display: block; }
.meetup-row .m-info small { color: var(--muted); font-size: .82rem; }

/* ----------  Mentors  ---------- */
.mentor { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.mentor .photo { border-radius: 0; min-height: 210px; }
.mentor .m-body { padding: 1.1rem 1.2rem 1.4rem; }
.mentor h4 { font-size: 1.08rem; margin-bottom: .1rem; }
.mentor .role { color: var(--brick); font-size: .82rem; font-weight: 600; margin-bottom: .6rem; }
.mentor p { font-size: .86rem; color: var(--muted); margin-bottom: .8rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { font-size: .74rem; background: var(--blush); color: var(--brick-600); padding: .3em .75em; border-radius: 999px; }

/* ----------  Resource categories  ---------- */
.res-cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .7rem; padding: 1.4rem 1rem; background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.res-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.res-cat .ic { width: 46px; height: 46px; color: var(--brick); display: grid; place-items: center; }
.res-cat .ic svg { width: 26px; height: 26px; stroke-width: 1.5; }
.res-cat b { font-size: .92rem; font-weight: 600; }

/* ----------  Split feature list (about values etc.)  ---------- */
.icon-list { display: grid; gap: 1.3rem; }
.icon-list .row { display: flex; gap: 1rem; }
.icon-list .row .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--blush); display: grid; place-items: center; color: var(--brick); }
.icon-list .row .ic svg { width: 24px; height: 24px; stroke-width: 1.6; }
.icon-list .row h4 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; margin-bottom: .2rem; }
.icon-list .row p { font-size: .9rem; color: var(--muted); }

/* Mission / vision */
.mv { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; background: var(--blush); border-radius: var(--radius-lg); padding: clamp(1.8rem,4vw,3rem); }
@media (max-width: 760px){ .mv { grid-template-columns: 1fr; } .mv .mv-divider { display: none; } }
.mv .mv-col { text-align: center; }
.mv .mv-col .ic { width: 56px; height: 56px; margin: 0 auto 1rem; color: var(--brick); display: grid; place-items: center; }
.mv .mv-col .ic svg { width: 34px; height: 34px; stroke-width: 1.4; }
.mv .mv-col h3 { margin-bottom: .6rem; }
.mv .mv-col p { color: var(--muted); font-size: .95rem; }
.mv .mv-divider { width: 46px; height: 46px; border-radius: 999px; background: var(--brick); color: #fff; display: grid; place-items: center; }

/* Founder note */
.founder-sign { font-family: "Dancing Script", var(--serif); font-size: 1.9rem; color: var(--ink); margin-top: 1rem; }

/* ----------  404 / thank-you  ---------- */
.big-404 { font-family: var(--serif); font-weight: 800; font-size: clamp(6rem, 20vw, 12rem); color: var(--forest); line-height: .9; }
.hero-illus svg { width: 100%; height: auto; }
.confetti-check { width: 108px; height: 108px; margin: 0 auto 1.5rem; border-radius: 999px; background: var(--forest); display: grid; place-items: center; color: #fff; }
.confetti-check svg { width: 52px; height: 52px; stroke-width: 2.5; }

/* ----------  Contact info blocks  ---------- */
.info-card { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.contact-methods { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; text-align: center; }
@media (max-width: 720px){ .contact-methods { grid-template-columns: 1fr; } }
.contact-methods .ic { width: 48px; height: 48px; border-radius: 999px; background: var(--blush); color: var(--brick); display: grid; place-items: center; margin: 0 auto .7rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; min-height: 200px; background:
  linear-gradient(135deg,#E9EFE6,#DCE7D9); position: relative; }
.map-embed::after { content:""; position:absolute; left:50%; top:50%; width:20px; height:20px; transform:translate(-50%,-70%); background: var(--brick); border-radius: 50% 50% 50% 0; rotate: -45deg; box-shadow: var(--shadow-sm); }

/* ----------  Stats  ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; text-align: center; }
@media (max-width: 640px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat b { display: block; font-family: var(--serif); font-size: clamp(1.8rem,3.5vw,2.6rem); color: var(--brick); }
.stat span { font-size: .88rem; color: var(--muted); }

/* ----------  Footer  ---------- */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--line); padding-block: clamp(2.5rem,5vw,3.5rem) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr) 1.4fr; gap: 2rem; }
@media (max-width: 960px){ .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { display: inline-block; margin-bottom: .8rem; }
.footer-brand p { color: var(--muted); font-size: .92rem; max-width: 30ch; margin-bottom: 1rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: var(--blush); display: grid; place-items: center; color: var(--forest); transition: .2s; }
.footer-social a:hover { background: var(--forest); color: #FBF5EF; }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h5 { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--muted); font-size: .92rem; padding: .28rem 0; transition: color .2s; }
.footer-col a:hover { color: var(--brick); }
.footer-sub p { font-size: .82rem; color: var(--muted); margin-top: .5rem; }
.footer-sub .subscribe { margin-top: .3rem; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.4rem; text-align: center; color: var(--muted); font-size: .84rem; }

/* ----------  Page hero (interior)  ---------- */
.page-hero { padding-block: clamp(2.5rem,5vw,4rem); }
.page-hero.center { text-align: center; }
.page-hero .lead { max-width: 60ch; }
.page-hero.center .lead { margin-inline: auto; }

/* Utility spacing */
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}
.gap-sm{gap:.6rem}
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.pill { padding: .55em 1.2em; border-radius: 999px; font-size: .9rem; font-weight: 500; background: var(--cream-2); border: 1px solid var(--line); color: var(--muted); cursor: pointer; transition: .2s; }
.pill.active, .pill:hover { background: var(--brick); color: #fff; border-color: var(--brick); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Slider dots */
.slider-dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.5rem; }
.dot { width: 9px; height: 9px; border-radius: 999px; background: var(--blush-2); transition: .25s var(--ease); }
.dot.active { background: var(--brick); width: 24px; }

/* Stacked avatar row */
.avatars { display: inline-flex; align-items: center; }
.avatars .a { width: 38px; height: 38px; border-radius: 999px; border: 2px solid var(--cream); margin-left: -10px; background: var(--blush-2); display: grid; place-items: center; color: var(--brick); font-family: var(--serif); font-weight: 700; font-size: .85rem; }
.avatars .a:first-child { margin-left: 0; }
.avatars .a.more { background: var(--brick); color: #fff; font-family: var(--sans); font-size: .78rem; }
.avatar-line { display: flex; align-items: center; gap: .8rem; }
.avatar-line small { font-size: .86rem; color: var(--muted); }
.stars { color: var(--brick); letter-spacing: .1em; }

/* Small badge */
.badge { display: inline-block; background: var(--blush); color: var(--brick-600); font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: .3em .8em; border-radius: 999px; }

/* Two-up feature block on dark */
.bg-forest .feature .ic { color: var(--brick-soft); }
.bg-forest .feature p { color: rgba(244,236,228,.75); }
.bg-forest .feature h4 { color: #FBF5EF; }
.bg-forest .lead { color: rgba(244,236,228,.82); }

/* Rounded media wrapper for split sections */
.split-media .photo { aspect-ratio: 4/3; min-height: 300px; }
@media (max-width: 820px){ .split-media .photo { aspect-ratio: 16 / 10; min-height: 0; } }
.round-lg { border-radius: var(--radius-lg); }

/* Prose (legal pages inner) */
.prose p { color: var(--muted); margin-bottom: .9rem; }
.prose h4 { margin: 1.4rem 0 .5rem; }
.prose ul { margin: 0 0 1rem; }
.prose ul li { position: relative; padding-left: 1.3rem; margin-bottom: .4rem; color: var(--muted); }
.prose ul li::before { content:""; position: absolute; left: 0; top: .6rem; width: 6px; height: 6px; border-radius: 999px; background: var(--brick); }

/* ----------  Mobile polish  ---------- */
.compare { -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) {
  .section { padding-block: 54px; }
  .section-sm { padding-block: 36px; }
  .cta-band { padding: 2.2rem 1.4rem; }
  .newsletter { padding: 1.7rem 1.3rem; }
  .form-card { padding: 1.4rem 1.2rem; }
  .footer-col a { padding-block: .42rem; }   /* comfortable tap targets */
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .page-hero .split .btn { width: 100%; }
}
