/* ─── Suhrobasia — Forest Glass ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Extracted from profile photo */
  --shirt: #B8C4A6;
  --shirt-light: #C4CCA9;
  --shirt-deep: #9AA680;
  --forest: #2D3E24;
  --forest-mid: #4A5D23;
  --palm: #3D5228;
  --sky: #EBF2F5;
  --cream: #F7F7F2;
  --linen: #D4C9B0;
  --sand: #E8E2D4;
  --gold: #C4B08A;
  --espresso: #2A241E;

  --shirt-rgb: 184, 196, 166;
  --forest-rgb: 45, 62, 36;

  /* Semantic mapping */
  --bg-deep: #1A2416;
  --bg: var(--forest);
  --moss: var(--forest-mid);
  --sage: var(--shirt-deep);
  --sage-bright: var(--shirt);
  --glass: rgba(var(--shirt-rgb), 0.06);
  --glass-border: rgba(var(--shirt-rgb), 0.22);
  --glass-shine: rgba(var(--shirt-rgb), 0.14);
  --text: var(--cream);
  --muted: rgba(247, 247, 242, 0.55);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --r: 28px;
  --r-sm: 20px;
  --pill: 100px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --shell: min(100%, 480px);
  --fab-h: 56px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-bottom: calc(var(--fab-h) + 1.5rem);
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* ─── Forest ambient ─── */
.forest-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 70% at 50% -20%, rgba(var(--shirt-rgb), 0.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 60%, rgba(74, 93, 35, 0.2), transparent),
    radial-gradient(ellipse 50% 40% at 100% 80%, rgba(196, 176, 138, 0.1), transparent),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(var(--shirt-rgb), 0.08), transparent),
    linear-gradient(180deg, #1A2416 0%, var(--forest) 45%, #243320 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: float 20s ease-in-out infinite;
}

.orb--1 { width: 340px; height: 340px; background: rgba(var(--shirt-rgb), 0.32); top: -8%; left: -15%; }
.orb--2 { width: 260px; height: 260px; background: rgba(196, 176, 138, 0.14); top: 40%; right: -12%; animation-delay: -7s; }
.orb--3 { width: 200px; height: 200px; background: rgba(74, 93, 35, 0.35); bottom: 15%; left: 5%; animation-delay: -14s; }

.leaf {
  position: absolute;
  font-size: 2rem;
  opacity: 0.12;
  animation: sway 8s ease-in-out infinite;
}

.leaf--1 { top: 18%; right: 8%; }
.leaf--2 { bottom: 25%; left: 6%; animation-delay: -3s; font-size: 2.5rem; }

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  mix-blend-mode: overlay;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, -20px); }
}

@keyframes sway {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(8deg); }
}

@keyframes pulse-fab {
  0%, 100% { box-shadow: 0 8px 32px rgba(24, 119, 242, 0.45), 0 0 0 0 rgba(24, 119, 242, 0.3); }
  50% { box-shadow: 0 12px 40px rgba(24, 119, 242, 0.55), 0 0 0 8px rgba(24, 119, 242, 0); }
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Skip link */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 0.6rem 1.2rem;
  background: var(--sage-bright);
  color: var(--espresso);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--pill);
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: calc(0.5rem + var(--safe-top));
  outline: 2px solid var(--sand);
  outline-offset: 2px;
}

/* Focus visible */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--shirt);
  outline-offset: 3px;
}

/* ─── Shell ─── */
.shell {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: 0 auto;
  min-height: 100dvh;
  padding: calc(0.5rem + var(--safe-top)) 1rem calc(1.5rem + var(--safe-bottom));
}

/* ─── Glass ─── */
.glass {
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--r);
  padding: 1.35rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 var(--glass-shine);
}

.glass--moss {
  background: linear-gradient(145deg, rgba(var(--shirt-rgb), 0.18), rgba(var(--shirt-rgb), 0.04));
  border-color: rgba(var(--shirt-rgb), 0.28);
}

.flag {
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* ─── Topbar ─── */
.topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  margin-bottom: 0.85rem;
  border-radius: var(--pill);
  transition: padding 0.3s, box-shadow 0.3s, background 0.3s;
}

.topbar--sticky {
  position: sticky;
  top: calc(0.5rem + var(--safe-top));
  z-index: 50;
}

.topbar--scrolled {
  padding: 0.45rem 0.85rem;
  background: rgba(var(--forest-rgb), 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  border-color: rgba(var(--shirt-rgb), 0.2);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--shirt);
  text-decoration: none;
}

.topbar-links {
  display: flex;
  gap: 0.65rem;
  flex: 1;
  justify-content: flex-end;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.topbar-links::-webkit-scrollbar { display: none; }

.topbar-links a {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.topbar-links a.is-active,
.topbar-links a:hover { color: var(--shirt); }

.topbar-cta {
  display: none !important;
}

/* Mobile topbar — 2 rows */
@media (max-width: 1023px) {
  .topbar {
    flex-wrap: wrap;
    gap: 0;
    padding: 0.65rem 0.85rem 0;
    border-radius: var(--r-sm);
  }

  .topbar-brand {
    width: 100%;
    justify-content: center;
    padding-bottom: 0.6rem;
    font-size: 1rem;
  }

  .topbar-links {
    flex: 0 0 100%;
    justify-content: space-between;
    gap: 0;
    padding: 0.55rem 0;
    border-top: 1px solid rgba(var(--shirt-rgb), 0.15);
    overflow-x: visible;
  }

  .topbar-links a {
    flex: 1;
    text-align: center;
    font-size: 0.68rem;
    padding: 0.25rem 0;
  }
}

/* ─── Page layout ─── */
.page {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ─── Hero ─── */
.hero {
  padding: 1.25rem;
  padding-bottom: 1.75rem;
  text-align: center;
}

.hero-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 340px;
  margin: 0 auto 1.25rem;
  border: 1px solid rgba(var(--shirt-rgb), 0.35);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.35),
    0 0 80px rgba(var(--shirt-rgb), 0.2);
  transition: transform 0.4s ease;
}

.hero-card--ring::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--r) + 3px);
  background: conic-gradient(from 0deg, var(--shirt), var(--linen), var(--shirt-light), var(--shirt-deep), var(--shirt));
  z-index: -1;
  animation: ring-spin 8s linear infinite;
  opacity: 0.7;
}

.hero-card--ring::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--r) + 1px);
  background: var(--bg-deep);
  z-index: -1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--forest-rgb), 0.88) 0%, transparent 55%);
}

.hero-badge {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: rgba(var(--forest-rgb), 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--shirt-rgb), 0.3);
  border-radius: var(--pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sand);
  white-space: nowrap;
}

.hero-copy h1 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.2rem;
}

.hero-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--shirt);
  margin-bottom: 0.35rem;
}

.hero-tagline {
  font-size: 0.82rem;
  color: var(--linen);
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.pill {
  padding: 0.3rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--espresso);
  background: rgba(var(--shirt-rgb), 0.55);
  border: 1px solid rgba(var(--shirt-rgb), 0.7);
  border-radius: var(--pill);
}

.hero-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.hero-cta {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.btn-copy {
  max-width: 220px;
  width: 100%;
}

.btn-sm {
  min-height: 42px;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  flex: 1;
  max-width: 160px;
}

/* ─── Community ─── */
.community-top { text-align: center; margin-bottom: 1.15rem; }

.community-big {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--cream), var(--shirt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.community-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Social orbs with real logos */
.social-orbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.social-orbs--5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
}

.social-orbs--5 .social-orb {
  min-height: 68px;
  padding: 0.6rem 0.25rem;
}

.social-orbs--5 .social-logo {
  width: 22px;
  height: 22px;
}

.social-orbs--5 .social-count {
  font-size: 0.68rem;
}

.social-orb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 72px;
  padding: 0.75rem 0.35rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.social-orb:active { transform: scale(0.94); }

.social-logo { width: 26px; height: 26px; }

.social-count {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--sand);
}

.social-orb--ig { background: linear-gradient(145deg, rgba(225, 48, 108, 0.35), rgba(131, 58, 180, 0.2)); border-color: rgba(225, 48, 108, 0.35); }
.social-orb--yt { background: linear-gradient(145deg, rgba(255, 0, 0, 0.3), rgba(180, 0, 0, 0.15)); border-color: rgba(255, 0, 0, 0.3); }
.social-orb--tg { background: linear-gradient(145deg, rgba(0, 136, 204, 0.35), rgba(0, 100, 180, 0.15)); border-color: rgba(0, 136, 204, 0.35); }
.social-orb--wa { background: linear-gradient(145deg, rgba(37, 211, 102, 0.3), rgba(18, 140, 70, 0.15)); border-color: rgba(37, 211, 102, 0.3); }
.social-orb--fb { background: linear-gradient(145deg, rgba(24, 119, 242, 0.35), rgba(13, 101, 217, 0.15)); border-color: rgba(24, 119, 242, 0.35); }

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.25rem;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn-sage {
  background: linear-gradient(135deg, var(--shirt), var(--shirt-deep));
  color: var(--espresso);
  box-shadow: 0 6px 24px rgba(var(--shirt-rgb), 0.45);
}

.btn-glass {
  background: rgba(var(--shirt-rgb), 0.08);
  color: var(--cream);
  border: 1px solid rgba(var(--shirt-rgb), 0.25);
}

.btn-block { width: 100%; margin-top: 0.65rem; }

/* Typography */
.eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shirt);
  margin-bottom: 0.35rem;
}

h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.lead {
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
  line-height: 1.5;
}

.lead strong { color: var(--shirt); }

.muted {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.45rem;
}

.muted strong { color: var(--sand); }

.quote {
  margin-top: 0.65rem;
  padding: 0.85rem 1rem;
  background: rgba(var(--shirt-rgb), 0.12);
  border: 1px solid rgba(var(--shirt-rgb), 0.22);
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 600;
  font-style: italic;
  color: var(--sand);
}

/* Tiles */
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.tile {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

@media (hover: hover) {
  .tile:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--shirt-rgb), 0.4);
    background: rgba(var(--shirt-rgb), 0.1);
  }

  .connect-row:hover {
    transform: translateX(4px);
    background: rgba(var(--shirt-rgb), 0.1);
  }

  .social-orb:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

.tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 0.45rem;
  object-fit: cover;
}

.tile h3 {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.tile p {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Videos — vertical cards */
.tag {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shirt);
}

.video-dur {
  position: absolute;
  z-index: 2;
  padding: 0.15rem 0.4rem;
  font-size: 0.6rem;
  font-weight: 800;
  color: #fff;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.video-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.75rem;
}

.video-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(var(--shirt-rgb), 0.18);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.video-card:active {
  transform: scale(0.98);
}

.video-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--forest);
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(var(--forest-rgb), 0.55) 0%, rgba(var(--forest-rgb), 0.1) 50%, transparent 100%);
}

.video-card-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(var(--shirt-rgb), 0.92);
  color: var(--espresso);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.video-card-play svg {
  margin-left: 3px;
}

.video-card-body {
  padding: 0.85rem 1rem 1rem;
}

.video-card-body h3 {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0.25rem 0 0.4rem;
}

.video-card-meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--shirt);
  opacity: 0.85;
}

.video-card .video-dur {
  bottom: 10px;
  right: 10px;
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  border-radius: 8px;
}

@media (hover: hover) {
  .video-card:hover {
    border-color: rgba(var(--shirt-rgb), 0.4);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  }

  .video-card:hover .video-card-thumb img {
    transform: scale(1.04);
  }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.stat {
  padding: 1rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
}

.stat-n {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--shirt);
}

.stat-k {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Connect */
.connect-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.connect-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 54px;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, background 0.2s;
}

.connect-label { flex: 1; }

.connect-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.35;
  color: var(--sand);
  transition: opacity 0.2s, transform 0.2s;
}

.connect-row:active .connect-chevron,
.connect-row:hover .connect-chevron {
  opacity: 0.8;
  transform: translateX(2px);
}

.connect-row:active {
  transform: scale(0.98);
  background: rgba(var(--shirt-rgb), 0.1);
}

.connect-logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  padding: 5px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.connect-logo--ig { color: #e1306c; }
.connect-logo--yt { color: #ff0000; }
.connect-logo--tg { color: #0088cc; }
.connect-logo--wa { color: #25d366; }
.connect-logo--fb { color: #1877f2; background: rgba(24, 119, 242, 0.15); }

.connect-label {
  font-weight: 700;
  font-size: 0.88rem;
}

.connect-label em {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.connect-row--fb {
  border-color: rgba(24, 119, 242, 0.25);
  background: rgba(24, 119, 242, 0.08);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.25rem 0 0.25rem;
  font-size: 0.72rem;
  color: var(--muted);
}

/* ─── Send Message FAB (Facebook) ─── */
.msg-bubble {
  position: fixed;
  bottom: calc(1.25rem + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--pill);
  text-decoration: none;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1877f2, #0d65d9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(24, 119, 242, 0.45);
  animation: pulse-fab 3s ease-in-out infinite;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  white-space: nowrap;
}

.msg-bubble.is-hidden,
.msg-bubble.is-at-hero {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px);
  animation: none;
}

.msg-bubble:active:not(.is-hidden):not(.is-at-hero) {
  transform: translateX(-50%) scale(0.96);
}

.msg-bubble-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Toast */
.toast {
  position: fixed;
  bottom: calc(var(--fab-h) + 1.75rem + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  padding: 0.65rem 1.25rem;
  background: rgba(var(--forest-rgb), 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--shirt-rgb), 0.35);
  border-radius: var(--pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sand);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.toast.is-show {
  opacity: 1;
  animation: toast-in 0.35s ease;
}

/* ─── Desktop — full screen layout ─── */
@media (min-width: 1024px) {
  :root {
    --shell: 100%;
  }

  html {
    scroll-padding-top: 5rem;
  }

  .shell {
    max-width: 1440px;
    padding: 0 3rem calc(2rem + var(--safe-bottom));
  }

  .glass {
    padding: 2rem;
    margin-bottom: 1.25rem;
  }

  /* Topbar */
  .topbar {
    position: sticky;
    top: 1rem;
    margin: 1rem 0 1.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--pill);
    z-index: 100;
  }

  .topbar-brand {
    font-size: 1.15rem;
    min-width: 140px;
  }

  .topbar-links {
    gap: 2rem;
    justify-content: center;
  }

  .topbar-links a {
    font-size: 0.9rem;
  }

  .topbar-cta {
    display: flex !important;
    min-height: 42px;
    padding: 0.55rem 1.25rem;
    font-size: 0.82rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Hero — split screen */
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: calc(100vh - 140px);
    text-align: left;
    padding: 2.5rem;
  }

  .hero-card {
    max-height: none;
    min-height: 480px;
    height: 100%;
    margin: 0;
    aspect-ratio: auto;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-role { font-size: 1.05rem; }
  .hero-tagline { font-size: 0.95rem; }
  .hero-desc { font-size: 1rem; max-width: 420px; }

  .hero-pills,
  .hero-cta {
    justify-content: flex-start;
  }

  .btn-sm {
    max-width: 180px;
    flex: 0 1 auto;
  }

  /* Community — horizontal band */
  .glass--moss {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2.5rem;
    align-items: center;
    padding: 2rem 2.5rem;
  }

  .community-top {
    text-align: left;
    margin: 0;
    min-width: 160px;
  }

  .community-big { font-size: 3.8rem; }

  .social-orbs--5 {
    margin-bottom: 0;
  }

  .social-orbs--5 .social-orb {
    min-height: 80px;
  }

  .btn-row {
    flex-direction: column;
    min-width: 200px;
  }

  /* Page grid — 2 columns for about/services, stats/connect */
  .page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .page > .glass,
  .page > .footer {
    margin-bottom: 0;
  }

  #top,
  .glass--moss,
  #videos,
  .page > .footer {
    grid-column: 1 / -1;
  }

  #about,
  #services,
  #stats,
  #connect {
    height: 100%;
  }

  #services .tiles {
    grid-template-columns: 1fr 1fr;
  }

  .tile h3 { font-size: 0.88rem; }
  .tile p { font-size: 0.78rem; }

  /* Videos — 3 columns */
  .video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .video-card-body h3 {
    font-size: 1rem;
  }

  /* Stats — 4 in a row */
  #stats .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  #stats .stat-n {
    font-size: 2rem;
  }

  h2 { font-size: 1.6rem; }

  /* Connect fills column */
  #connect .connect-list {
    gap: 0.55rem;
  }

  /* FAB hidden on desktop — topbar CTA instead */
  .msg-bubble {
    display: none;
  }

  .toast {
    right: 2rem;
    left: auto;
    bottom: calc(var(--fab-h) + 2.5rem);
    transform: none;
  }

  .toast.is-show {
    animation: toast-in-desk 0.35s ease;
  }

  @keyframes toast-in-desk {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .footer {
    padding: 2rem 0 0.5rem;
    font-size: 0.8rem;
  }

  .orb--1 { width: 500px; height: 500px; }
  .orb--2 { width: 400px; height: 400px; }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --shell: min(100%, 680px);
  }

  .btn-row { flex-direction: row; }
  .btn-row .btn { flex: 1; }

  .video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .hero-card { max-height: 420px; }
  .glass { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .leaf, .msg-bubble, .hero-card--ring::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (display-mode: standalone) {
  .shell { padding-top: calc(0.35rem + var(--safe-top)); }
}
