@charset "UTF-8";

:root {
  --forest-950: #0d2b1d;
  --forest-900: #123722;
  --forest-800: #19472d;
  --forest-700: #215b3b;
  --leaf-600: #397a50;
  --leaf-500: #5f976d;
  --leaf-300: #a9c9aa;
  --leaf-100: #e7f0e4;
  --cream-50: #fffdf7;
  --cream-100: #faf6eb;
  --cream-200: #f0eadb;
  --terracotta-600: #a55236;
  --terracotta-500: #c56d4d;
  --terracotta-100: #f5e4db;
  --marigold-500: #e4ad2f;
  --marigold-100: #fbf0c9;
  --ink-900: #17221b;
  --ink-700: #3f4e44;
  --ink-500: #66736a;
  --line: #dce3d9;
  --white: #ffffff;
  --danger: #a13939;
  --success: #26754a;
  --shadow-sm: 0 6px 18px rgba(23, 49, 32, .08);
  --shadow-md: 0 18px 52px rgba(22, 48, 31, .13);
  --shadow-lg: 0 26px 70px rgba(15, 41, 27, .18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 44px;
  --container: 1180px;
  --header-height: 78px;
  --font-bn: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  margin: 0;
  min-width: 0;
  background: var(--cream-50);
  color: var(--ink-900);
  font-family: var(--font-bn);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
main, section, article, aside, nav, form, fieldset, div { min-width: 0; }
img, video, svg { display: block; max-width: 100%; }
img { object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--marigold-100); color: var(--forest-950); }

h1, h2, h3, h4, p, blockquote, figure, dl, dd { margin-top: 0; }
h1, h2, h3, h4 { color: var(--forest-950); line-height: 1.18; letter-spacing: -.025em; }
h1 { font-size: clamp(2.85rem, 7.4vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3.45rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.45rem); }
p { color: var(--ink-700); }

:focus-visible {
  outline: 3px solid var(--marigold-500);
  outline-offset: 3px;
  border-radius: 5px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--forest-950);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.section-shell { padding: clamp(76px, 10vw, 132px) 0; }
.section-shell--tint {
  background:
    radial-gradient(circle at 15% 10%, rgba(95, 151, 109, .1), transparent 28%),
    var(--cream-100);
  border-block: 1px solid rgba(220, 227, 217, .7);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(220, 227, 217, .9);
  background: rgba(255, 253, 247, .98);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; font-weight: 800; color: var(--forest-900); }
.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px 14px 14px 5px;
  background: var(--forest-800);
  color: var(--cream-50);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.brand__mark svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand__text { font-size: 1.33rem; letter-spacing: -.04em; }
.primary-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.primary-nav__link { position: relative; padding: 9px 14px; border-radius: 999px; color: var(--ink-700); font-size: .94rem; font-weight: 650; }
.primary-nav__link:hover, .primary-nav__link.is-active { color: var(--forest-900); background: var(--leaf-100); }
.primary-nav__link.is-active::after { content: ""; position: absolute; right: 12px; bottom: 5px; left: 12px; height: 2px; border-radius: 9px; background: var(--leaf-600); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-button { position: relative; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.icon-button:hover { background: var(--leaf-100); border-color: var(--leaf-300); }
.icon-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notification-dot { position: absolute; top: -4px; right: -4px; display: grid; min-width: 19px; height: 19px; padding: 0 5px; place-items: center; border: 2px solid var(--cream-50); border-radius: 999px; background: var(--terracotta-500); color: white; font-size: .65rem; font-weight: 800; line-height: 1; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 4px 0; border-radius: 3px; background: var(--forest-900); transition: transform .22s, opacity .22s; }
.nav-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.button--primary { background: var(--forest-800); color: var(--white); box-shadow: 0 8px 20px rgba(25, 71, 45, .18); }
.button--primary:hover { background: var(--forest-950); box-shadow: 0 10px 26px rgba(25, 71, 45, .24); }
.button--ghost { border-color: var(--line); background: transparent; color: var(--forest-900); }
.button--ghost:hover { border-color: var(--leaf-300); background: var(--leaf-100); }
.button--soft { background: var(--leaf-100); color: var(--forest-900); }
.button--soft:hover { background: #dcebd9; }
.button--outline { border-color: var(--forest-800); background: transparent; color: var(--forest-900); }
.button--outline:hover { background: var(--forest-800); color: white; }
.button--large { min-height: 54px; padding: 14px 23px; }
.button--cream { background: var(--cream-50); color: var(--forest-950); }
.button--cream:hover { background: var(--marigold-100); }
.button--glass { border-color: rgba(255,255,255,.52); background: rgba(255,255,255,.12); color: white; }
.button--glass:hover { background: rgba(255,255,255,.2); }
.button[disabled] { opacity: .58; cursor: not-allowed; transform: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--forest-800); font-weight: 800; }
.text-link span { transition: transform .18s; }
.text-link:hover span { transform: translateX(4px); }

.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--terracotta-600); font-size: .78rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.eyebrow > span { width: 25px; height: 2px; border-radius: 9px; background: currentColor; }
.eyebrow--plain { display: block; margin-bottom: 5px; color: var(--leaf-600); }
.eyebrow--light { color: var(--marigold-100); }
.section-heading { margin-bottom: clamp(34px, 5vw, 54px); }
.section-heading h2 { max-width: 720px; margin-bottom: 0; }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); align-items: end; gap: 42px; }
.section-heading--split > p { max-width: 430px; margin: 0; font-size: 1.06rem; }
.section-action { display: flex; justify-content: center; margin-top: 40px; }

.home-hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  padding: clamp(48px, 7vw, 92px) 0 clamp(70px, 9vw, 112px);
  overflow: clip;
  background:
    radial-gradient(circle at 4% 80%, rgba(197,109,77,.1), transparent 23%),
    radial-gradient(circle at 90% 16%, rgba(95,151,109,.14), transparent 30%),
    var(--cream-50);
}
.home-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .25; background-image: repeating-linear-gradient(94deg, transparent 0 18px, rgba(30,72,45,.025) 18px 19px); }
.home-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, .93fr) minmax(420px, .77fr); align-items: center; gap: clamp(44px, 7vw, 96px); }
.home-hero__copy { padding-block: 20px; }
.home-hero h1 { margin-bottom: 26px; }
.home-hero h1 em { color: var(--leaf-600); font-style: normal; position: relative; white-space: nowrap; }
.home-hero h1 em::after { content: ""; position: absolute; left: 1%; right: 0; bottom: -.06em; height: .12em; border-radius: 100%; background: var(--marigold-500); transform: rotate(-1.5deg); opacity: .8; }
.home-hero__lead { max-width: 620px; margin-bottom: 30px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.8; }
.hero-trust { display: flex; align-items: center; gap: 15px; margin-top: 34px; }
.hero-trust p { margin: 0; font-size: .88rem; line-height: 1.45; }
.hero-trust strong { color: var(--forest-900); }
.avatar-stack { display: flex; padding-left: 7px; }
.avatar-stack span { display: grid; width: 36px; height: 36px; margin-left: -7px; place-items: center; border: 3px solid var(--cream-50); border-radius: 50%; background: var(--avatar); color: var(--forest-950); font-size: .68rem; font-weight: 800; }
.home-hero__media { position: relative; margin: 0; padding: 0 0 34px 28px; }
.hero-photo-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 48% 48% 26px 26px; background: var(--forest-800); box-shadow: var(--shadow-lg); }
.hero-photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(8,37,22,.42)); pointer-events: none; }
.hero-photo-frame img { width: 100%; height: 100%; }
.photo-label { position: absolute; z-index: 1; right: 24px; bottom: 22px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(13,43,29,.78); color: white; font-size: .72rem; font-weight: 750; }
.hero-story-card { position: absolute; z-index: 2; left: 0; bottom: 0; max-width: 285px; padding: 20px 22px; border: 1px solid rgba(220,227,217,.8); border-radius: 18px; background: var(--cream-50); box-shadow: var(--shadow-md); }
.hero-story-card__icon { display: grid; width: 30px; height: 30px; margin-bottom: 8px; place-items: center; border-radius: 50%; background: var(--marigold-100); color: var(--terracotta-600); }
.hero-story-card p { margin: 0 0 6px; color: var(--forest-900); font-size: .88rem; font-weight: 750; line-height: 1.5; }
.hero-story-card small { color: var(--ink-500); }
.hero-sprout { position: absolute; top: 6%; left: -11%; width: 112px; height: 112px; transform: rotate(-13deg); color: var(--leaf-600); opacity: .28; }
.hero-sprout svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

.community-pulse { padding: 24px 0; border-block: 1px solid var(--line); background: var(--forest-950); color: white; }
.pulse-grid { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(0, 1.6fr) auto; align-items: center; gap: 38px; }
.pulse-intro { display: flex; align-items: center; gap: 15px; }
.pulse-intro h2 { margin: 0; color: white; font-size: 1.15rem; letter-spacing: -.01em; }
.pulse-intro .eyebrow { color: var(--leaf-300); }
.live-indicator { position: relative; width: 12px; height: 12px; flex: 0 0 auto; border-radius: 50%; background: #83d19a; }
.live-indicator::after { content: ""; position: absolute; inset: -5px; border: 1px solid #83d19a; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; transform: scale(.75); } 80%, 100% { opacity: 0; transform: scale(1.45); } }
.pulse-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.pulse-stats > div { padding-inline: 26px; border-left: 1px solid rgba(255,255,255,.16); }
.pulse-stats dt { color: rgba(255,255,255,.63); font-size: .72rem; }
.pulse-stats dd { color: white; font-size: 1.35rem; font-weight: 850; }
.community-pulse .text-link { color: var(--marigold-100); white-space: nowrap; }

.topic-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 16px; }
.topic-tile { position: relative; overflow: hidden; min-height: 0; border-radius: var(--radius-md); background: var(--forest-800); color: white; box-shadow: var(--shadow-sm); }
.topic-tile--wide { grid-column: span 2; }
.topic-tile img { width: 100%; height: 100%; transition: transform .55s ease; }
.topic-tile:hover img { transform: scale(1.045); }
.topic-tile__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,31,18,.04) 25%, rgba(6,31,18,.83) 100%); }
.topic-tile__meta { position: absolute; top: 16px; left: 16px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(13,43,29,.55); font-size: .68rem; font-weight: 700; }
.topic-tile__title { position: absolute; right: 20px; bottom: 18px; left: 20px; display: flex; align-items: center; justify-content: space-between; font-size: 1.38rem; font-weight: 850; }
.topic-tile__title b { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.17); font-size: .9rem; transition: transform .2s; }
.topic-tile:hover .topic-tile__title b { transform: rotate(12deg) translate(2px,-2px); }

.conversation-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.conversation-card { display: grid; grid-template-columns: 190px minmax(0,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); transition: transform .2s, box-shadow .2s; }
.conversation-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.conversation-card--feature { grid-row: span 2; grid-template-columns: 1fr; }
.conversation-card__image { position: relative; min-height: 210px; overflow: hidden; background: var(--leaf-100); }
.conversation-card--feature .conversation-card__image { aspect-ratio: 16/9; min-height: 0; }
.conversation-card__image img { width: 100%; height: 100%; transition: transform .45s; }
.conversation-card:hover .conversation-card__image img { transform: scale(1.03); }
.media-badge { position: absolute; right: 12px; bottom: 12px; padding: 5px 9px; border-radius: 999px; background: rgba(13,43,29,.82); color: white; font-size: .66rem; font-weight: 750; }
.conversation-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; }
.conversation-card__body h3 { margin: 9px 0 11px; }
.conversation-card__body h3 a:hover { color: var(--leaf-600); }
.conversation-card__body > p { display: -webkit-box; overflow: hidden; margin-bottom: 16px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .9rem; }
.author-line { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 14px; }
.author-line strong, .author-line small { display: block; }
.author-line strong { color: var(--forest-900); font-size: .8rem; }
.author-line small { color: var(--ink-500); font-size: .68rem; }
.avatar { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--terracotta-100); color: var(--terracotta-600); font-size: .7rem; font-weight: 850; }
.avatar--leaf { background: var(--leaf-100); color: var(--forest-800); }
.avatar--large { width: 48px; height: 48px; font-size: .88rem; }
.tag { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: var(--terracotta-100); color: var(--terracotta-600); font-size: .65rem; font-weight: 800; }
.tag--soft { background: var(--leaf-100); color: var(--forest-700); }
.tag--earth { background: #efe7d7; color: #795a28; }
.tag--sun { background: var(--marigold-100); color: #7b5911; }
.engagement { display: flex; align-items: center; gap: 16px; width: 100%; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-500); font-size: .75rem; }
.save-button { margin-left: auto; padding: 0; border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; }
.save-button.is-saved { color: var(--terracotta-600); }

.member-story { background: var(--forest-900); color: white; }
.member-story__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(44px, 8vw, 100px); }
.member-story__media { position: relative; margin: 0; }
.member-story__media::before { content: ""; position: absolute; top: -18px; right: 24px; bottom: 18px; left: -18px; border: 1px solid rgba(169,201,170,.35); border-radius: var(--radius-lg); }
.member-story__media img { position: relative; width: 100%; aspect-ratio: 4/4.5; border-radius: var(--radius-lg); }
.member-story__media figcaption { position: absolute; right: -18px; bottom: 25px; padding: 13px 17px; border-radius: 12px; background: var(--cream-50); box-shadow: var(--shadow-md); }
.member-story__media figcaption span, .member-story__media figcaption strong { display: block; }
.member-story__media figcaption span { color: var(--terracotta-600); font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.member-story__media figcaption strong { color: var(--forest-900); font-size: .83rem; }
.member-story__copy blockquote { margin-bottom: 34px; color: white; font-size: clamp(1.7rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.42; letter-spacing: -.025em; }
.member-story__copy .eyebrow { color: var(--leaf-300); }
.member-story__copy .text-link { margin-top: 25px; color: var(--marigold-100); }
.story-person { display: flex; align-items: center; gap: 13px; }
.story-person strong, .story-person small { display: block; }
.story-person strong { color: white; }
.story-person small { color: rgba(255,255,255,.6); }

.guide-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.guide-card { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(28px, 6vw, 76px); align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.guide-card > a { overflow: hidden; aspect-ratio: 16/8.7; border-radius: var(--radius-md); background: var(--leaf-100); }
.guide-card img { width: 100%; height: 100%; transition: transform .45s; }
.guide-card:hover img { transform: scale(1.035); }
.guide-card > div { position: relative; padding-right: 60px; }
.guide-card h3 { max-width: 650px; margin-bottom: 10px; font-size: clamp(1.35rem, 2.8vw, 2rem); }
.guide-card h3 a:hover { color: var(--leaf-600); }
.guide-card p:last-child { margin: 0; }
.guide-number { position: absolute; top: 0; right: 0; color: var(--leaf-300); font-size: 1.8rem; font-weight: 300; }

.join-banner { padding-top: 10px; }
.join-banner__inner { position: relative; display: grid; min-height: 520px; overflow: hidden; place-items: center; border-radius: var(--radius-xl); background: var(--forest-950); }
.join-banner__inner > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.join-banner__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,37,23,.94) 0%, rgba(9,37,23,.8) 48%, rgba(9,37,23,.28) 100%); }
.join-banner__content { position: relative; z-index: 1; width: 100%; padding: clamp(34px, 7vw, 82px); }
.join-banner__content h2 { max-width: 720px; margin-bottom: 20px; color: white; }
.join-banner__content > p:not(.eyebrow) { max-width: 620px; margin-bottom: 28px; color: rgba(255,255,255,.79); font-size: 1.08rem; }

.site-footer { margin-top: 30px; padding: 78px 0 22px; background: #0b281a; color: white; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr .65fr .65fr 1fr; gap: 54px; padding-bottom: 60px; }
.brand--footer { color: white; }
.brand--footer .brand__mark { background: var(--cream-50); color: var(--forest-900); }
.footer-brand > p { max-width: 340px; margin: 20px 0 18px; color: rgba(255,255,255,.64); }
.footer-note { color: var(--marigold-100); font-size: .85rem; font-weight: 700; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-nav h2, .footer-newsletter h2 { margin-bottom: 9px; color: white; font-size: .88rem; letter-spacing: .04em; }
.footer-nav a { color: rgba(255,255,255,.64); font-size: .86rem; }
.footer-nav a:hover { color: var(--marigold-100); }
.footer-newsletter p { color: rgba(255,255,255,.64); font-size: .82rem; }
.newsletter-field { display: flex; padding: 5px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.06); }
.newsletter-field input { width: 100%; min-width: 0; padding: 8px 12px; border: 0; outline: 0; background: transparent; color: white; }
.newsletter-field input::placeholder { color: rgba(255,255,255,.43); }
.newsletter-field button { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 50%; background: var(--marigold-500); color: var(--forest-950); cursor: pointer; font-weight: 900; }
.form-message { min-height: 22px; margin: 7px 0 0; color: var(--leaf-300) !important; font-size: .72rem !important; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__bottom p, .site-footer__bottom a { color: rgba(255,255,255,.48); font-size: .72rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom div { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer__bottom a:hover { color: white; }

.toast-region { position: fixed; z-index: 1000; right: 18px; bottom: 18px; display: grid; max-width: min(380px, calc(100% - 36px)); gap: 8px; }
.toast { padding: 13px 17px; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; background: var(--forest-950); color: white; box-shadow: var(--shadow-md); animation: toast-in .25s ease both; font-size: .85rem; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
.reveal { animation: reveal-in .7s ease both; }
.reveal-delay { animation-delay: .12s; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(14px); } }

/* Shared inner-page primitives */
.page-main { min-height: 70vh; }
.page-hero { position: relative; overflow: clip; padding: clamp(52px, 8vw, 96px) 0; background: var(--cream-100); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); align-items: center; gap: clamp(36px, 7vw, 84px); }
.page-hero__copy h1 { margin-bottom: 20px; font-size: clamp(2.7rem, 6vw, 5rem); }
.page-hero__copy > p { max-width: 650px; font-size: 1.08rem; }
.page-hero__media { overflow: hidden; min-height: 350px; border-radius: var(--radius-lg); background: var(--forest-800); box-shadow: var(--shadow-md); }
.page-hero__media img { width: 100%; height: 100%; min-height: 350px; }
.page-shell { padding: clamp(54px, 8vw, 94px) 0; }
.surface-card { border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.filter-chip { min-height: 38px; padding: 7px 13px; border: 1px solid transparent; border-radius: 999px; background: var(--cream-100); color: var(--ink-700); cursor: pointer; font-weight: 700; }
.filter-chip:hover, .filter-chip[aria-pressed="true"], .filter-chip.is-active { background: var(--forest-800); color: white; }
.result-count { margin-left: auto; color: var(--ink-500); font-size: .8rem; }
.empty-state { padding: 58px 24px; text-align: center; border: 1px dashed var(--leaf-300); border-radius: var(--radius-md); background: var(--leaf-100); }
.empty-state[hidden] { display: none; }
.empty-state h2, .empty-state h3 { margin-bottom: 8px; }
.form-field { display: grid; gap: 7px; }
.form-field label, .field-label { color: var(--forest-900); font-size: .83rem; font-weight: 800; }
.form-field input, .form-field textarea, .form-field select, .control {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #cbd7cc;
  border-radius: 12px;
  outline: none;
  background: white;
  color: var(--ink-900);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus, .control:focus { border-color: var(--leaf-600); box-shadow: 0 0 0 3px rgba(95,151,109,.16); }
.field-help, .field-error { margin: 0; font-size: .74rem; }
.field-help { color: var(--ink-500); }
.field-error { color: var(--danger); }
.status-message { padding: 12px 14px; border-radius: 11px; background: var(--leaf-100); color: var(--success); font-size: .82rem; font-weight: 700; }
.status-message.is-error { background: #f8e4e2; color: var(--danger); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 26px; color: var(--ink-500); font-size: .76rem; }
.breadcrumbs a:hover { color: var(--forest-800); }

@media (max-width: 1100px) {
  .header-signin { display: none; }
  .pulse-grid { grid-template-columns: 1fr 1.5fr; }
  .pulse-grid > .text-link { display: none; }
  .conversation-card { grid-template-columns: 155px minmax(0,1fr); }
  .site-footer__grid { grid-template-columns: 1.4fr .8fr .8fr; }
  .footer-newsletter { grid-column: 1 / -1; max-width: 520px; }
}

@media (max-width: 899px) {
  :root { --header-height: 70px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .nav-toggle { display: block; order: 3; margin-left: 2px; }
  .primary-nav {
    position: fixed;
    z-index: 220;
    top: calc(var(--header-height) + 10px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--cream-50);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s, visibility .2s, transform .2s;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav__link { padding: 13px 14px; }
  .primary-nav__link.is-active::after { top: 11px; right: 11px; bottom: auto; left: auto; width: 7px; height: 7px; border-radius: 50%; }
  .header-actions { gap: 7px; margin-left: auto; }
  .header-create { width: 42px; min-height: 42px; padding: 0; font-size: 0; }
  .header-create svg { width: 20px; }
  .home-hero { min-height: auto; }
  .home-hero__grid, .member-story__grid, .page-hero__grid { grid-template-columns: 1fr; }
  .home-hero__copy { text-align: center; }
  .home-hero__copy .eyebrow, .home-hero__copy .button-row, .hero-trust { justify-content: center; }
  .home-hero__lead { margin-inline: auto; }
  .home-hero__media { width: min(570px, 100%); margin-inline: auto; }
  .pulse-grid { grid-template-columns: 1fr; gap: 20px; }
  .pulse-stats > div:first-child { padding-left: 0; border-left: 0; }
  .topic-mosaic { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .conversation-grid { grid-template-columns: 1fr; }
  .conversation-card--feature { grid-row: auto; }
  .member-story__grid { gap: 58px; }
  .member-story__media { width: min(620px, calc(100% - 18px)); }
  .guide-card { grid-template-columns: 1fr; gap: 24px; }
  .guide-card > a { aspect-ratio: 16/8; }
  .section-heading--split { grid-template-columns: 1fr; gap: 16px; }
  .section-heading--split > p { max-width: 650px; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
  .page-hero__media { min-height: 300px; }
  .page-hero__media img { min-height: 300px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .brand__text { font-size: 1.16rem; }
  .brand__mark { width: 37px; height: 37px; }
  .icon-button { width: 39px; height: 39px; }
  .nav-toggle { width: 41px; height: 41px; }
  .home-hero { padding-top: 36px; }
  .home-hero h1 { font-size: clamp(2.6rem, 13vw, 4.1rem); }
  .home-hero h1 br { display: none; }
  .home-hero h1 em { white-space: normal; }
  .button-row { align-items: stretch; }
  .home-hero__copy .button-row .button { flex: 1 1 170px; }
  .home-hero__media { padding-left: 0; }
  .hero-photo-frame { border-radius: 44% 44% 22px 22px; }
  .hero-story-card { left: 10px; max-width: calc(100% - 20px); }
  .hero-sprout { display: none; }
  .pulse-stats { grid-template-columns: 1fr; gap: 0; }
  .pulse-stats > div { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); border-left: 0; }
  .pulse-stats dd { margin: 0; }
  .topic-mosaic { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .topic-tile--wide { grid-column: auto; }
  .conversation-card { grid-template-columns: 1fr; }
  .conversation-card__image { min-height: 220px; aspect-ratio: 16/10; }
  .conversation-card--feature .conversation-card__image { aspect-ratio: 16/10; }
  .member-story__media figcaption { right: -8px; }
  .member-story__copy blockquote { font-size: 1.55rem; }
  .guide-card > div { padding-right: 0; }
  .guide-number { position: static; display: block; margin-bottom: 8px; }
  .join-banner__inner { min-height: 560px; border-radius: 26px; }
  .join-banner__overlay { background: linear-gradient(180deg, rgba(9,37,23,.82), rgba(9,37,23,.95)); }
  .join-banner__content { text-align: center; }
  .join-banner__content .eyebrow, .join-banner__content .button-row { justify-content: center; }
  .join-banner__content .button { width: 100%; }
  .site-footer { padding-top: 58px; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 36px 24px; }
  .footer-brand, .footer-newsletter { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: column; }
  .desktop-link { display: none; }
  .filter-bar { align-items: stretch; }
  .result-count { width: 100%; margin: 4px 2px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
