/* ============================================================
   I'M THAT DADDY — "Massively" Cinematic Edition
   Deep slate · ember-gold accent · editorial serif + black sans
   Design language adapted from HTML5UP's "Massively" theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;0,900;1,400&family=Teko:wght@500;600;700&display=swap');

:root {
  /* Palette — deep slate canvas, ember accent */
  --bg:            #14181e;
  --bg-alt:        #10141a;
  --bg-deep:       #0c0f14;
  --surface:       #1a212a;
  --surface-2:     #202a36;
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text:          #eef1f5;
  --text-2:        rgba(238, 241, 245, 0.72);
  --text-3:        rgba(238, 241, 245, 0.45);

  --accent:        #ff7a2f;
  --accent-2:      #ffc95c;
  --accent-grad:   linear-gradient(115deg, #ff5a24 0%, #ff8b3a 45%, #ffc95c 100%);
  /* polished gold with chrome highlights, like the ITD crown */
  --crown-grad:    linear-gradient(180deg, #fff8e1 0%, #ffe39a 22%, #e0a940 45%, #a8741f 55%, #f5d27a 72%, #fff3c4 85%, #c48c2c 100%);
  /* warmer, darker gold-bronze for section titles */
  --bronze-grad:   linear-gradient(180deg, #fbe3b0 0%, #e9bd72 28%, #c58a3e 52%, #9a6228 68%, #dcaa5f 88%, #f0cd8a 100%);
  --accent-dim:    rgba(255, 122, 47, 0.14);
  --accent-glow:   rgba(255, 122, 47, 0.35);
  --on-accent:     #14181e;
  /* older names some pages still use */
  --gold:          var(--accent);
  --gold-dim:      var(--accent-dim);
  --text-secondary: var(--text-2);

  /* Type */
  --font-body:     'Merriweather', Georgia, 'Times New Roman', serif;
  --font-head:     'Source Sans 3', 'Helvetica Neue', Helvetica, sans-serif;

  /* Metrics */
  --wrapper:       72rem;
  --pad-x:         clamp(1.25rem, 4vw, 3rem);
  --section-y:     clamp(4.5rem, 10vw, 8rem);

  --radius:        10px;
  --radius-pill:   100px;
  --shadow:        0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-hover:  0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 122, 47, 0.25), 0 0 42px rgba(255, 122, 47, 0.12);

  --t-fast:        0.18s ease;
  --t-smooth:      0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Faint vignette + ember haze — quiet, cinematic */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(255, 122, 47, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 45% at 85% 110%, rgba(255, 122, 47, 0.06), transparent 65%),
    radial-gradient(ellipse 60% 40% at 8% 95%, rgba(255, 201, 92, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

::selection { background: rgba(255, 122, 47, 0.35); color: var(--on-accent); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--text);
  text-transform: uppercase;
}

a { color: inherit; text-decoration: none; }

/* ============ NAVIGATION ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem var(--pad-x);
  min-height: 72px;
  background: linear-gradient(180deg, rgba(12, 15, 20, 0.85), rgba(12, 15, 20, 0.45));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-smooth), border-color var(--t-smooth), box-shadow var(--t-smooth);
}

.navbar.scrolled {
  background: rgba(12, 15, 20, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.logo {
  font: 600 1.6rem/1 'Teko', 'Arial Narrow', Impact, sans-serif;
  padding-top: 0.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--crown-grad);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.logo-short {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: none;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1002;
  padding: 6px;
}

.bar {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t-fast);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.15rem;
  align-items: center;
}

/* Menu lettering matches the logo and headings: Teko in bronze, gold when active */
.nav-links li a {
  display: inline-block;
  color: #d9ad6c;
  font-family: 'Teko', var(--font-head);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
  /* Teko's capitals sit high in their line box; extra top padding centres them */
  padding: 0.65rem 0.85rem 0.45rem;
  border-radius: var(--radius-pill);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-links li a:hover {
  color: #f5d27a;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links li a.active {
  color: #ffe39a;
  background: var(--accent-dim);
  text-shadow: 0 0 14px rgba(255, 201, 92, 0.35), 0 1px 1px rgba(0, 0, 0, 0.6);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
.dropdown-toggle .fa-chevron-down { font-size: 0.6rem; transition: transform var(--t-fast); }
.dropdown:hover .dropdown-toggle .fa-chevron-down { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t-fast);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1rem 0.55rem;
  border-radius: 6px;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.dropdown-menu li a:hover {
  background: var(--accent-dim);
  color: var(--accent-2);
}

@media (max-width: 1199px) {
  .logo { display: none; }
  .logo-short { display: block; }
}

/* ============ NAV EXTRAS (all site pages) ============ */
/* ITD symbol next to the name */
.logo { display: inline-flex; align-items: center; gap: 0.55rem; }
.logo-short { align-items: center; gap: 0.5rem; }
@media (max-width: 1199px) { .logo { display: none; } .logo-short { display: inline-flex; } }
.logo::before, .logo-short::before {
  content: "";
  /* the crown and ITD letters from the logo, the same mark as the social pages' top bar */
  width: 52px; height: 40px; flex-shrink: 0;
  background: url("/assets/itd-mark.png") center / contain no-repeat;
  background-image: image-set(url("/assets/itd-mark.webp") type("image/webp"), url("/assets/itd-mark.png") type("image/png"));
  /* tone the logo's gloss down to a brushed-metal look (matches .nav-logo img in social.css) */
  filter: brightness(0.92) contrast(0.9) saturate(0.8);
}
/* Teko's capitals sit high in their line box, so lift the mark to line its middle up with the letters */
.logo::before { transform: translateY(-2px); }
/* "ITD" shown as the crown and letters from the logo, in one piece; the text stays for screen readers */
.logo-short { font-size: 0; background: none; }
.logo-short::before {
  width: 67px; height: 52px;
  background: url("/assets/itd-mark.png") center / contain no-repeat;
  background-image: image-set(url("/assets/itd-mark.webp") type("image/webp"), url("/assets/itd-mark.png") type("image/png"));
}
/* "Social" is the way into the community, so it stands out */
.nav-links li a[href="/feed"] {
  color: var(--on-accent);
  background: var(--accent-grad);
  font-weight: 700;
  text-shadow: none;
  margin-left: 0.35rem;
  box-shadow: 0 0 22px var(--accent-glow);
}
.nav-links li a[href="/feed"]:hover { color: var(--on-accent); filter: brightness(1.08); background: var(--accent-grad); }
.nav-links a:focus-visible, .cta-button:focus-visible, .btn-primary:focus-visible, .menu-toggle:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}
.dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* Phones & tablets: hamburger opens a full-screen menu */
@media (max-width: 991px) {
  .navbar { padding: 0.65rem 1rem; padding-top: calc(0.65rem + env(safe-area-inset-top, 0px)); min-height: 64px; }
  /* backdrop-filter on .navbar would make it the containing block for the fixed .nav-links,
     squashing the menu to the navbar's height, so the blur lives on a pseudo-element here */
  .navbar, .navbar.scrolled { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .navbar::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(12, 15, 20, 0.85), rgba(12, 15, 20, 0.45));
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    transition: background var(--t-smooth);
  }
  .navbar.scrolled::before { background: rgba(12, 15, 20, 0.92); }
  .menu-toggle {
    display: flex; justify-content: center; align-items: center;
    width: 44px; height: 44px; padding: 0; margin-left: auto;
    border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.04);
  }
  .menu-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-links {
    position: fixed;
    inset: 64px 0 0 0;
    z-index: 1001;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 1.25rem 1.25rem calc(2rem + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 12, 16, 0.98);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav-links.active { opacity: 1; visibility: visible; transform: none; }
  .nav-links li a {
    display: flex; align-items: center; min-height: 52px;
    font-size: 1.6rem; letter-spacing: 0.05em; padding: 0.85rem 1rem 0.6rem; border-radius: 12px;
  }
  /* Groups (About, Resources) are shown open, as headings with their links */
  .dropdown-toggle { pointer-events: none; color: var(--accent) !important; opacity: 0.8; font-size: 1.05rem !important; letter-spacing: 0.18em !important; min-height: 40px !important; margin-top: 0.6rem; text-shadow: none !important; }
  .dropdown-toggle .fa-chevron-down { display: none; }
  /* inherit, not visible: a visible child of the hidden menu would stay clickable over the page */
  .dropdown-menu, .dropdown:hover .dropdown-menu, .dropdown-menu.show {
    position: static; opacity: 1; visibility: inherit; transform: none;
    background: none; border: 0; box-shadow: none; padding: 0 0 0 0.75rem; min-width: 0;
    border-left: 2px solid var(--border-strong); margin-left: 1rem;
  }
  .dropdown-menu li a { font-size: 1.45rem; }
  .nav-links li a[href="/feed"] { justify-content: center; margin: 1rem 0 0; min-height: 56px; }
  body.menu-open { overflow: hidden; }
}

/* ============ SECTION BASE ============ */
section {
  padding: var(--section-y) var(--pad-x);
  position: relative;
  z-index: 1;
  max-width: var(--wrapper);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  text-align: center;
  margin: 0 auto 1rem;
  position: relative;
  display: block;
  width: 100%;
  background: var(--bronze-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.55));
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1.25rem;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-grad);
  box-shadow: 0 0 18px var(--accent-glow);
}

.section-subtitle {
  text-align: center;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-3);
  max-width: 40rem;
  margin: 2.25rem auto clamp(2rem, 5vw, 3.5rem);
}

/* Legacy divider — now a refined ember rule */
.gold-line {
  width: 90px;
  height: 3px;
  border: 0;
  border-radius: 2px;
  background: var(--accent-grad);
  box-shadow: 0 0 18px var(--accent-glow);
  margin: 0 auto 1.75rem;
}

/* ============ BUTTONS ============ */
.cta-button, .btn-primary, .buy-button, .submit-button {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 1rem 2.4rem;
  cursor: pointer;
  transition: all var(--t-fast);
  position: relative;
  z-index: 1;
}

.cta-button:hover, .btn-primary:hover, .buy-button:hover, .submit-button:hover {
  color: var(--on-accent);
  background: var(--accent-2);
  border-color: var(--accent-2);
  box-shadow: 0 0 32px var(--accent-glow);
}

.cta-button { margin-top: 1.25rem; }

/* ============ HERO ACTIONS (Support + Help Fight) ============ */
.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}
.hero-actions .cta-button { margin-top: 0; }

.help-fight-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-color: var(--accent-2);
  background: rgba(255, 122, 47, 0.08);
}
.help-fight-btn i { font-size: 1rem; }
.help-fight-btn .hf-count {
  min-width: 1.6em;
  padding: 0.15em 0.6em;
  border-radius: var(--radius-pill);
  background: var(--accent-2);
  color: var(--on-accent);
  font-weight: 900;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}
.help-fight-btn.joined {
  background: var(--accent-2);
  color: var(--on-accent);
  border-color: var(--accent-2);
  box-shadow: 0 0 32px var(--accent-glow);
}
.help-fight-btn.joined .hf-count {
  background: #14181e;
  color: var(--accent-2);
}
.help-fight-btn.bump { animation: hf-bump 0.4s ease; }
@keyframes hf-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.help-fight-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--accent-2);
  letter-spacing: 0.02em;
}

/* ============ MORTAL KOMBAT style — "Help Fight" ============ */
.mk-btn {
  --mk-red: #c8102e;
  --mk-red-hot: #ff2d2d;
  --mk-steel-hi: #f4f6f8;
  --mk-steel: #aeb6bf;
  --mk-steel-lo: #5c646d;
  font-family: 'Teko', sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 2.2rem 0.85rem;
  border-radius: 2px;
  border: 2px solid #14181e;
  background:
    linear-gradient(180deg,
      var(--mk-steel-hi) 0%,
      var(--mk-steel) 45%,
      var(--mk-steel-lo) 55%,
      var(--mk-steel) 100%);
  color: #14181e;
  text-shadow: 0 1px 0 rgba(255,255,255,0.45);
  box-shadow:
    0 0 0 2px var(--mk-red),
    0 6px 0 2px #7a0b1e,
    0 10px 24px rgba(0,0,0,0.55),
    inset 0 2px 0 rgba(255,255,255,0.5);
  clip-path: polygon(3% 0, 97% 0, 100% 28%, 100% 100%, 0 100%, 0 72%);
  position: relative;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  transform: skewX(-6deg);
}
.mk-btn > * { transform: skewX(6deg); }
.mk-btn .hf-label {
  color: #14181e;
  background: linear-gradient(180deg, #2a2f36 0%, #0c0f13 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.35));
  padding-right: 0.2em;
}
.mk-btn .hf-count {
  min-width: 1.9em;
  padding: 0.05em 0.5em 0.15em;
  border-radius: 0;
  font-family: 'Teko', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.05em;
  background: var(--mk-red);
  color: var(--on-accent);
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  border: 1px solid #7a0b1e;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 2px 4px rgba(0,0,0,0.5);
}
.mk-btn:hover {
  filter: brightness(1.08);
  transform: skewX(-6deg) scale(1.04);
  box-shadow:
    0 0 0 2px var(--mk-red-hot),
    0 6px 0 2px #7a0b1e,
    0 12px 30px rgba(255, 45, 45, 0.35),
    inset 0 2px 0 rgba(255,255,255,0.5);
}
.mk-btn:active {
  transform: skewX(-6deg) scale(0.99) translateY(2px);
  box-shadow:
    0 0 0 2px var(--mk-red),
    0 3px 0 2px #7a0b1e,
    0 6px 14px rgba(0,0,0,0.5),
    inset 0 2px 0 rgba(255,255,255,0.4);
}
.mk-btn.joined {
  background:
    linear-gradient(180deg,
      var(--mk-red-hot) 0%,
      var(--mk-red) 50%,
      #7a0b1e 100%);
  border-color: #14181e;
  box-shadow:
    0 0 0 2px var(--mk-steel),
    0 6px 0 2px #40202a,
    0 12px 34px rgba(255, 45, 45, 0.5),
    inset 0 2px 0 rgba(255,255,255,0.45);
}
.mk-btn.joined .hf-label {
  background: linear-gradient(180deg, #fff 0%, #ffd7d7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mk-btn.joined .hf-count {
  background: #14181e;
  color: var(--mk-red-hot);
  border-color: #000;
}
.mk-btn.bump { animation: mk-bump 0.4s ease; }
@keyframes mk-bump {
  0% { transform: skewX(-6deg) scale(1); }
  40% { transform: skewX(-6deg) scale(1.12); }
  100% { transform: skewX(-6deg) scale(1); }
}

/* ============ HERO — full-viewport cinematic ============ */
.hero {
  max-width: none;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 7rem var(--pad-x) 5rem;
}

.father-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.42;
  filter: saturate(0.7) contrast(1.08);
  z-index: -1;
}

/* Cinematic grade over the photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(12, 15, 20, 0.72) 0%,
      rgba(12, 15, 20, 0.38) 38%,
      rgba(12, 15, 20, 0.55) 68%,
      var(--bg) 100%),
    radial-gradient(ellipse 80% 60% at 50% 105%, rgba(255, 122, 47, 0.22), transparent 65%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 56rem;
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 1.0;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.hero h1 span {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px var(--accent-glow));
}

.hero-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  color: var(--accent-2);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

.hero p:not(.hero-sub) {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-2);
  margin-top: 1.5rem;
}

/* ============ ABOUT ============ */
.about-section { background: transparent; }
.about-section .about-content {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-2);
}

/* ============ MEANING ============ */
.meaning-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 18%, var(--bg-alt) 82%, var(--bg) 100%);
  max-width: none;
}
.meaning-section > * { max-width: var(--wrapper); margin-left: auto; margin-right: auto; }

.meaning-content {
  max-width: 46rem;
  margin: 0 auto;
  color: var(--text-2);
}
.meaning-content p { margin-bottom: 1.25rem; }

.meaning-list {
  list-style: none;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.9rem;
}
.meaning-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-2);
}
.meaning-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 2px;
  background: var(--accent-grad);
  box-shadow: 0 0 8px var(--accent-glow);
}
.meaning-list strong {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.92em;
}

/* ============ FACTS ============ */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: var(--wrapper);
  margin: 0 auto;
}

.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-smooth), border-color var(--t-fast), box-shadow var(--t-smooth), background var(--t-fast);
}

/* Slim ember top edge */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-grad);
  opacity: 0.45;
  transition: opacity var(--t-fast);
}

.glass-card:hover {
  transform: translateY(-5px);
  background: var(--surface-2);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}
.glass-card:hover::before { opacity: 1; }

.fact-card { text-align: center; padding-top: 2.5rem; }
.fact-card i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}
.fact-card h3 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.fact-card p { font-size: 0.92rem; color: var(--text-3); }

/* ============ CASE STUDIES ============ */
.cases-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: var(--wrapper);
  margin: 0 auto;
}

.case-study {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.case-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.case-header h3 { font-size: 1.2rem; }

.case-tag {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(255, 201, 92, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.85rem;
  background: var(--accent-dim);
  white-space: nowrap;
}

.case-study p { font-size: 0.92rem; color: var(--text-2); }
.case-result {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--accent-2);
}

/* ============ SUPPORT ============ */
.support-section {
  max-width: none;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 20%, var(--bg-deep) 80%, var(--bg) 100%);
}
.support-section > * { max-width: var(--wrapper); margin-left: auto; margin-right: auto; }

.support-intro {
  text-align: center;
  font-style: italic;
  max-width: 44rem;
  margin: 2.25rem auto 3.5rem;
  color: var(--text-3);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.support-card { display: flex; flex-direction: column; gap: 1rem; }

.support-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 22px rgba(255, 122, 47, 0.18);
}

.support-card h3 { font-size: 1.05rem; }
.support-card p { font-size: 0.9rem; color: var(--text-3); }

.support-cta {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.support-cta p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-2);
  margin-bottom: 1.5rem;
}

/* ============ COMMUNITY (support groups & meetings) ============ */
.community-label {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 1.25rem;
}
.community-label i { color: var(--accent); margin-right: 0.5rem; }
#community-events-wrap + #community-groups-wrap { margin-top: 3rem; }

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.community-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}
.community-card h4 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--text); }
.community-card p {
  font-size: 0.9rem;
  color: var(--text-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.community-when { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 0.95rem; }
.community-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; font-family: var(--font-head); font-size: 0.85rem; color: var(--text-3); }
.community-meta i { color: var(--accent); margin-right: 0.3rem; }
.community-tag {
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(255, 122, 47, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}
.community-link { margin-top: auto; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--accent-2); }

/* ============ STORE ============ */
.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: var(--wrapper);
  margin: 0 auto;
}

.product-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.img-placeholder {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1px dashed var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  font-size: 2rem;
  color: var(--text-3);
}
.product-card h3 { font-size: 0.95rem; }
.product-card p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-2);
}
.buy-button { padding: 0.7rem 1.6rem; font-size: 0.72rem; margin-top: auto; }

/* ============ CONTACT ============ */
.contact-section { max-width: none; }
.contact-section > * { max-width: 42rem; margin-left: auto; margin-right: auto; }

.contact-form form {
  display: grid;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-3); font-style: italic; }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 122, 47, 0.15);
}

.contact-form textarea { min-height: 140px; }

.contact-form .submit-button { justify-self: center; margin-top: 0.5rem; }

/* ============ MEDIA UPLOADS (Music and Media pages) ============ */
.media-upload { max-width: 42rem; margin: 2rem auto 0; text-align: center; }
.playlist-section[hidden], #photos[hidden], .media-mine[hidden], .media-progress[hidden] { display: none !important; }
.media-upload-form { text-align: left; }
.media-upload-intro { color: var(--text-2); line-height: 1.6; }
.media-upload-note { color: var(--text-3); font-size: 0.85rem; line-height: 1.5; }
.media-upload .cta-button { display: inline-flex; align-items: center; gap: 0.5rem; margin: 1rem 0 0.75rem; }
.media-file {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 1.5rem 1rem; border: 2px dashed var(--border-strong); border-radius: 12px;
  background: var(--surface); color: var(--text-2); cursor: pointer; text-align: center;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.media-file:hover, .media-file:focus-within { border-color: var(--accent); background: var(--surface-2); }
.media-file i { color: var(--accent); font-size: 1.6rem; }
.media-file-name { word-break: break-word; }
.media-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.media-cover { display: grid; gap: 0.4rem; color: var(--text-2); font-size: 0.9rem; }
.contact-form .media-cover input { padding: 0.6rem; }
.media-progress { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.media-progress-bar { height: 100%; width: 0; background: var(--accent-grad); transition: width 0.2s; }
.media-mine { margin-top: 1.5rem; text-align: left; }
.media-mine h3 { font-size: 1rem; text-transform: none; margin-bottom: 0.5rem; }
.media-mine-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border); color: var(--text-2); font-size: 0.92rem; }
.media-mine-title { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.media-status { font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.media-status.pending { color: var(--accent-2); }
.media-status.ok { color: #2ed573; }
.media-status.bad { color: #ff6b7a; }
.media-mine-delete { background: none; border: none; color: var(--text-3); cursor: pointer; padding: 0.4rem; }
.media-mine-delete:hover { color: #ff6b7a; }

/* Photo gallery (Media page) */
.photo-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; max-width: 1200px; margin: 2.5rem auto 0; }
.photo-gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.photo-gallery a { display: block; aspect-ratio: 1; }
.photo-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.photo-gallery a:hover img { transform: scale(1.04); }
.photo-gallery figcaption { padding: 0.6rem 0.8rem; font-size: 0.9rem; color: var(--text-2); }
.photo-gallery figcaption strong { color: var(--text); display: block; }

/* ============ FOOTER ============ */
footer {
  position: relative;
  z-index: 1;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 4rem var(--pad-x) 2rem;
}

.footer-content {
  max-width: var(--wrapper);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-section h3 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  margin-bottom: 1.1rem;
}
.footer-section p { font-size: 0.9rem; color: var(--text-3); }

.footer-section ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-section ul a {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-3);
  transition: color var(--t-fast);
}
.footer-section ul a:hover { color: var(--accent-2); }

.social-links { display: flex; gap: 0.6rem; }
.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-size: 0.9rem;
  color: var(--text-2);
  transition: all var(--t-fast);
}
.social-links a:hover {
  color: var(--on-accent);
  background: var(--accent-2);
  border-color: var(--accent-2);
  box-shadow: 0 0 22px var(--accent-glow);
}

.footer-bottom {
  max-width: var(--wrapper);
  margin: 0 auto;
  padding-top: 1.75rem;
  text-align: center;
}
.footer-bottom p {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ============ SCROLL ANIMATIONS (driven by script.js) ============ */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-container { grid-template-columns: 1fr; max-width: 46rem; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { min-height: 92vh; }
  .footer-content { grid-template-columns: 1fr; gap: 2.25rem; }
}

@media (max-width: 576px) {
  .facts-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; max-width: 22rem; margin-left: auto; margin-right: auto; }
  .cta-button, .btn-primary { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .animate-in { opacity: 1; transform: none; }
}

/* ================================================================
   HOMEPAGE REDESIGN — natural, strong, phone-first
   (scoped to body.home so other site pages keep their look)
   ================================================================ */
body.home { font-family: var(--font-head); font-weight: 400; font-size: 1.05rem; line-height: 1.7; overflow-x: hidden; }
html:has(body.home) { overflow-x: clip; }
body.home section { padding-top: clamp(3.5rem, 8vw, 6.5rem); padding-bottom: clamp(3.5rem, 8vw, 6.5rem); }
body.home .section-title { font-family: 'Teko', var(--font-head); font-weight: 600; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 2.6rem; }
body.home .section-title + .section-subtitle, body.home .section-title + .support-intro { margin-top: 0; }
body.home .section-subtitle, body.home .support-intro { font-family: var(--font-head); font-style: normal; font-size: clamp(1rem, 2.4vw, 1.15rem); color: var(--text-2); }

/* Solid ember button: the main action on each screen */
.btn-solid { color: var(--on-accent) !important; background: var(--accent-grad) !important; border-color: transparent !important; box-shadow: 0 10px 30px rgba(255, 122, 47, 0.28); }
.btn-solid:hover { filter: brightness(1.08); box-shadow: 0 0 36px var(--accent-glow); }

/* ---------- Hero ---------- */
body.home .hero {
  min-height: min(100svh, 920px);
  padding: calc(6rem + env(safe-area-inset-top, 0px)) var(--pad-x) 4.5rem;
  text-align: left;
  isolation: isolate;
}
body.home .hero-photo, body.home .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
body.home .father-portrait { object-fit: cover; object-position: 50% 30%; opacity: 0.68; filter: saturate(0.85) contrast(1.05); z-index: -2; }
body.home .hero::before {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 15, 20, 0.92) 0%, rgba(12, 15, 20, 0.7) 45%, rgba(12, 15, 20, 0.35) 100%),
    linear-gradient(180deg, rgba(12, 15, 20, 0.55) 0%, transparent 30%, transparent 70%, var(--bg) 100%),
    radial-gradient(ellipse 70% 55% at 80% 100%, rgba(255, 122, 47, 0.25), transparent 70%);
}
.hero-inner {
  width: 100%; max-width: var(--wrapper); margin: 0 auto;
  text-align: center;
}
body.home .hero-content { max-width: 40rem; margin: 0 auto; }
.hero-kicker {
  font-family: 'Teko', var(--font-head); font-weight: 600; font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 0.6rem;
}
.hero-kicker span { color: var(--accent); margin: 0 0.15em; }
body.home .hero h1 {
  font-family: 'Teko', var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(3.6rem, 11vw, 7.5rem); line-height: 0.88; letter-spacing: 0.01em;
}
body.home .hero h1 span { display: inline-block; }
body.home .hero-sub { font-family: var(--font-body); font-style: italic; font-size: clamp(1.5rem, 4vw, 2.2rem); margin-top: 0.4rem; }
body.home .hero-lead { font-family: var(--font-head); font-style: normal !important; font-size: clamp(1.05rem, 2.6vw, 1.3rem) !important; color: var(--text) !important; margin: 0.9rem auto 0 !important; max-width: 30rem; }
body.home .hero-actions { justify-content: center; margin-top: 1.8rem; align-items: center; }
body.home .hero-actions .cta-button { padding: 1.05rem 2rem; font-size: 0.85rem; }
body.home .help-fight-note { text-align: center; }
.hero-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.4rem; color: var(--text-2); font-weight: 700; letter-spacing: 0.04em; }
.hero-link:hover { color: var(--accent-2); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%);
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--border-strong); color: var(--text-2); animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue { 50% { transform: translate(-50%, 6px); } }

/* ---------- Proof strip ---------- */
.proof {
  position: relative; z-index: 2; max-width: 56rem; margin: -2.2rem auto 0; padding: 1.1rem 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.5rem;
  background: rgba(26, 33, 42, 0.92); border: 1px solid var(--border-strong); border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); backdrop-filter: blur(10px);
}
.proof-item { display: flex; align-items: baseline; gap: 0.55rem; }
.proof-item strong { font-family: 'Teko', var(--font-head); font-size: 2.1rem; line-height: 1; color: var(--accent-2); }
.proof-item span { color: var(--text-2); font-weight: 600; }

/* ---------- Cause + meaning ---------- */
body.home .about-section .about-content { max-width: 52rem; }
.statement { font-family: var(--font-head); font-size: clamp(1.2rem, 2.8vw, 1.55rem); line-height: 1.55; color: var(--text); font-weight: 600; }
body.home .meaning-content { max-width: 60rem; }
.meaning-lead { font-size: clamp(1.05rem, 2.4vw, 1.2rem); color: var(--text); text-align: center; max-width: 46rem; margin: 0 auto 1.5rem !important; }
.meaning-label { text-align: center; font-family: 'Teko', var(--font-head); font-size: 1.4rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
body.home .meaning-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0 2rem; }
body.home .meaning-list li {
  padding: 1.3rem 1.3rem 1.3rem 4.2rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; line-height: 1.55;
}
body.home .meaning-list li::before { display: none; }
body.home .meaning-list li i {
  position: absolute; left: 1.2rem; top: 1.25rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent-dim); color: var(--accent); font-size: 0.95rem;
}
body.home .meaning-list strong { font-size: 1.02rem; }
.pull-quote {
  max-width: 46rem; margin: 0 auto; padding: 1.5rem 1.75rem; border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, var(--accent-dim), transparent); border-radius: 0 14px 14px 0;
  font-family: var(--font-body); font-style: italic; font-size: clamp(1.1rem, 2.6vw, 1.35rem); line-height: 1.6; color: var(--text);
}

/* ---------- Facts ---------- */
body.home .fact-card h3 { font-family: 'Teko', var(--font-head); font-size: clamp(3.2rem, 7vw, 4.4rem); line-height: 0.95; margin-bottom: 0.4rem; }
body.home .fact-card p { font-size: 1rem; color: var(--text-2); }

/* ---------- Stories ---------- */
body.home .case-study { padding-top: 3.2rem; }
body.home .case-study::after {
  content: "\201C"; position: absolute; top: 0.2rem; left: 1.2rem;
  font-family: var(--font-body); font-size: 5rem; line-height: 1; color: var(--accent); opacity: 0.35;
}
body.home .case-quote { font-family: var(--font-body); font-style: italic; font-size: 0.98rem !important; line-height: 1.7; color: var(--text) !important; }
body.home .case-result { font-style: normal; font-weight: 700; }

/* ---------- Support services ---------- */
body.home .support-card { display: block; }
body.home .support-card summary { display: flex; flex-direction: column; gap: 1rem; list-style: none; cursor: default; }
body.home .support-card summary::-webkit-details-marker { display: none; }
body.home .support-card summary h3 { font-size: 1.15rem; }
body.home .support-card p { margin-top: 0.9rem; font-size: 0.98rem; color: var(--text-2); }

/* ---------- Contact ---------- */
body.home .contact-form { max-width: 44rem; margin: 0 auto; }
body.home .contact-form form { display: grid; gap: 0.9rem; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
body.home .contact-form input, body.home .contact-form textarea { width: 100%; font-size: 1rem; }
body.home .contact-form textarea { min-height: 150px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.contact-status { min-height: 1.4em; font-weight: 700; color: var(--text-2); }
.contact-status.ok { color: #2ed573; }
.contact-status.error { color: #ff6b7a; }

/* ---------- Footer ---------- */
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }

/* ---------- Phone quick-action bar ---------- */
.mobile-bar { display: none; }
/* Classes that set display must still respect the hidden attribute */
.proof[hidden], .proof-item[hidden], body.home [hidden] { display: none !important; }

/* ================= Tablet ================= */
@media (max-width: 900px) {
  body.home .meaning-list { grid-template-columns: 1fr; }
}

/* ================= Phones ================= */
@media (max-width: 640px) {
  body.home .hero { min-height: auto; padding: calc(5.2rem + env(safe-area-inset-top, 0px)) 1.1rem 3.2rem; }
  .hero-kicker { font-size: 0.95rem; letter-spacing: 0.14em; }
  body.home .hero h1 { font-size: clamp(3.1rem, 15.5vw, 4.4rem); }
  body.home .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  body.home .hero-actions .cta-button { width: 100%; justify-content: center; text-align: center; }
  .scroll-cue { display: none; }
  .proof { margin: -1.6rem 1rem 0; gap: 0.4rem 1.4rem; padding: 0.9rem 1rem; }
  .proof-item strong { font-size: 1.7rem; }
  .proof-item span { font-size: 0.9rem; }
  body.home section { padding-left: 1.1rem; padding-right: 1.1rem; }

  /* Swipeable rows: one card at a time with a peek of the next */
  body.home .swipe-row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.9rem;
    margin: 0 -1.1rem; padding: 0.25rem 1.1rem 0.5rem; scrollbar-width: none; max-width: none;
  }
  body.home .swipe-row::-webkit-scrollbar { display: none; }
  body.home .swipe-row > * { flex: 0 0 84%; scroll-snap-align: center; }
  @media (pointer: fine) { body.home .swipe-row { cursor: grab; } body.home .swipe-row:active { cursor: grabbing; } }
  body.home .glass-card:hover { transform: none; }
  .swipe-dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 1rem; }
  .swipe-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); transition: all 0.2s ease; cursor: pointer; }
  .swipe-dots span.on { width: 22px; border-radius: 4px; background: var(--accent); }

  /* Services fold into tappable rows */
  body.home .support-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  body.home .support-card { padding: 0.95rem 1.1rem; }
  body.home .support-card summary { flex-direction: row; align-items: center; gap: 0.9rem; cursor: pointer; }
  body.home .support-card summary::after { content: "\002B"; margin-left: auto; font-size: 1.4rem; color: var(--accent); transition: transform 0.2s ease; }
  body.home .support-card[open] summary::after { transform: rotate(45deg); }
  body.home .support-card .support-icon { width: 42px; height: 42px; font-size: 1rem; flex-shrink: 0; }
  body.home .support-card summary h3 { font-size: 1.02rem; }

  .contact-row { grid-template-columns: 1fr; }
  body.home .pull-quote { padding: 1.2rem 1.25rem; }

  .mobile-bar {
    display: flex; gap: 0.6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(12, 15, 20, 0.94); border-top: 1px solid var(--border-strong); backdrop-filter: blur(14px);
    transform: translateY(110%); transition: transform 0.3s ease;
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar > * {
    flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 0.45rem;
    border-radius: 12px; font: 800 0.95rem var(--font-head); letter-spacing: 0.04em; cursor: pointer;
  }
  .mobile-bar-fight { background: var(--accent-grad); color: var(--on-accent); border: 0; }
  .mobile-bar-fight.joined { background: #c8102e; color: #fff; }
  .mobile-bar-fight span { background: rgba(0, 0, 0, 0.18); border-radius: 100px; padding: 0.05rem 0.55rem; }
  .mobile-bar-group { color: var(--text); border: 1px solid var(--border-strong); background: var(--surface); }
  body.home footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none !important; }
}


/* Page headers and the Media Center and Music section headings share the section titles' gold-bronze */
.page-header h1, .live-hero h1, .music-hero h1,
.media-section h2, .media-contact-section h2, .playlist-header h2, .upload-container h2 {
  background: var(--bronze-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.55));
}

/* Research sources: every stat links back to where it came from */
.stat-source, .fact-source { display: block; margin-top: 0.75rem; font-size: 0.78rem; color: var(--text-3); }
.stat-source a, a.fact-source { color: var(--text-3); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.2); text-underline-offset: 3px; }
.stat-source a:hover, a.fact-source:hover { color: var(--accent-2); text-decoration-color: currentColor; }
.facts-more { text-align: center; margin-top: 1.75rem; }
.facts-more a { color: var(--accent); font-weight: 700; }
.facts-more a:hover { color: var(--accent-2); }
.research-note { max-width: 52rem; margin: 2rem auto 0; padding: 1rem 1.25rem; border-left: 3px solid var(--accent); border-radius: 8px; background: var(--accent-dim); color: var(--text-2); font-size: 0.95rem; line-height: 1.6; }
.research-note i { color: var(--accent); margin-right: 0.35rem; }
.research-quote cite a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sources-list { max-width: 52rem; margin: 2.5rem auto 0; padding-left: 1.4rem; display: grid; gap: 0.8rem; color: var(--text-2); font-size: 0.92rem; line-height: 1.6; }
.sources-list a { color: var(--accent); word-break: break-word; }
.sources-list a:hover { color: var(--accent-2); }

/* ============ RESEARCH PAGE: statistics and studies ============ */
.stat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 2.5rem auto 2rem; }
.stat-filter-btn {
  font: 700 0.8rem/1 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-2); background: var(--surface); border: 1px solid var(--border-strong);
  padding: 0.7rem 1.1rem; border-radius: 999px; cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.stat-filter-btn:hover { color: var(--text); border-color: var(--border-hover); }
.stat-filter-btn.active { color: var(--on-accent); background: var(--accent-grad); border-color: transparent; }
.stat-columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; max-width: 1200px; margin: 0 auto; }
.stat-item { display: flex; flex-direction: column; }
.stat-icon { color: var(--accent); font-size: 1.3rem; margin-bottom: 0.9rem; }
.stat-number {
  font: 600 clamp(2.8rem, 5vw, 3.6rem)/0.95 'Teko', var(--font-head); letter-spacing: 0.02em;
  background: var(--bronze-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 0.6rem;
}
.stat-description { color: var(--text-2); font-size: 0.98rem; line-height: 1.55; flex: 1; }
.stat-item .stat-source { padding-top: 0.75rem; border-top: 1px solid var(--border); }

.featured-studies { display: grid; gap: 1.5rem; max-width: 900px; margin: 2.5rem auto; }
.study-badge span {
  display: inline-block; font: 700 0.75rem/1 var(--font-head); letter-spacing: 0.1em;
  color: var(--on-accent); background: var(--accent-grad); padding: 0.4rem 0.7rem; border-radius: 999px;
}
.study-item h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin: 0.9rem 0 0.6rem; text-transform: none; }
.study-meta { color: var(--text-3); font-size: 0.88rem; margin-bottom: 1rem; }
.study-journal { font-style: italic; }
.study-content p { color: var(--text-2); line-height: 1.7; }
.study-highlights { margin-top: 1rem; padding: 1rem 1.25rem; background: var(--bg-alt, rgba(0, 0, 0, 0.2)); border-radius: 10px; }
.study-highlights h4 { font-size: 0.8rem; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.6rem; }
.study-highlights ul { padding-left: 1.2rem; display: grid; gap: 0.45rem; color: var(--text-2); }
.study-link { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.1rem; color: var(--accent); font-weight: 700; }
.study-link:hover { color: var(--accent-2); }
.research-quote { max-width: 900px; margin: 2.5rem auto 0; }
.research-quote blockquote { font-family: var(--font-body); font-style: italic; font-size: 1.15rem; line-height: 1.7; color: var(--text); }
.research-quote cite { display: block; margin-top: 0.8rem; font-size: 0.88rem; color: var(--text-3); }

/* ============ RESOURCE PAGES: help cards, lists and notes ============ */
.help-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; max-width: 1200px; margin: 2.5rem auto 0; }
.help-card { display: flex; flex-direction: column; gap: 0.6rem; }
.help-card h3 { font-size: 1.15rem; text-transform: none; }
.help-card p { color: var(--text-2); line-height: 1.6; flex: 1; }
.help-icon { color: var(--accent); font-size: 1.5rem; }
.help-link { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--accent); font-weight: 700; font-size: 0.95rem; }
.help-link:hover { color: var(--accent-2); }
.help-link i { font-size: 0.75em; }
.press-preview { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; background: var(--surface-2, #14181f); border-radius: 10px; overflow: hidden; margin-bottom: 0.4rem; }
.press-preview img { max-width: 85%; max-height: 85%; object-fit: contain; }
.content-narrow { max-width: 52rem; margin: 2.5rem auto 0; color: var(--text-2); font-size: 1.02rem; line-height: 1.75; }
.content-narrow > p + p { margin-top: 1rem; }
.content-narrow h3 { color: var(--text); font-size: 1.2rem; text-transform: none; margin: 2rem 0 0.6rem; }
.check-list, .steps-list { display: grid; gap: 0.85rem; margin: 1.25rem 0; padding: 0; }
.check-list { list-style: none; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 0.1rem; color: var(--accent); }
.steps-list { counter-reset: step; list-style: none; }
.steps-list li { counter-increment: step; position: relative; padding-left: 2.6rem; min-height: 1.9rem; }
.steps-list li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 1.85rem; height: 1.85rem; border-radius: 50%; display: grid; place-items: center;
  font: 700 0.9rem/1 var(--font-head); color: var(--on-accent); background: var(--accent-grad);
}
.content-narrow strong { color: var(--text); }
.legal-note { margin-top: 2rem; padding: 1rem 1.25rem; border-left: 3px solid var(--accent); border-radius: 8px; background: var(--accent-dim); color: var(--text-2); font-size: 0.93rem; line-height: 1.6; }
.legal-note i { color: var(--accent); margin-right: 0.35rem; }
.glossary { display: grid; gap: 0.9rem; margin-top: 1.25rem; }
.glossary div { padding: 0.9rem 1.1rem; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.glossary dt { color: var(--text); font-weight: 800; }
.glossary dd { margin: 0.25rem 0 0; }
.support-card p a { color: var(--accent); font-weight: 700; white-space: nowrap; }
.support-card p a:hover { color: var(--accent-2); }
.content-narrow a:not(.btn-primary):not(.cta-button) { color: var(--accent); font-weight: 600; }
.content-narrow a:not(.btn-primary):not(.cta-button):hover { color: var(--accent-2); }
.legal-doc ul { list-style: disc; padding-left: 1.4rem; margin: 0.6rem 0 0; display: grid; gap: 0.5rem; }
.legal-doc li::marker { color: var(--accent); }
.legal-doc ul + p { margin-top: 1rem; }
.footer-legal { margin-top: 0.6rem; }
.footer-legal a { color: var(--text-3); margin: 0 0.5rem; }
.footer-legal a:hover { color: var(--accent); }
.faq-list { display: grid; gap: 0.75rem; }
.faq-list details { padding: 0; }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.3rem; position: relative;
  color: var(--text); font-weight: 700; font-size: 1.05rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "\f067"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent);
  position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 0.85rem;
}
.faq-list details[open] summary::after { content: "\f068"; }
.faq-list details p { padding: 0 1.3rem 1.2rem; margin: 0; }

/* Log In in the site menu (turns into the member's name when signed in) */
.nav-links li a.nav-login {
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: 1px solid var(--border-strong); border-radius: 999px; padding-left: 1rem; padding-right: 1rem;
  max-width: 14rem; white-space: nowrap;
}
.nav-links li a.nav-login span { overflow: hidden; text-overflow: ellipsis; }
.nav-links li a.nav-login:hover { border-color: var(--accent); color: var(--text); }
.nav-links li a.nav-login.signed-in i.fa-crown { color: #f5d27a; }
.hero-login { margin-top: 0.9rem; font-size: 0.95rem; color: var(--text-2); }
.hero-login a { color: var(--accent-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 991px) {
  .nav-links li a.nav-login { justify-content: center; margin-top: 1rem; max-width: none; min-height: 52px; }
}

/* ============ HOMEPAGE: A System That Fails Families ============ */
.system-section { background: radial-gradient(ellipse at 50% 0%, rgba(255, 90, 36, 0.07), transparent 60%), var(--bg-alt, #10141a); }
.system-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; max-width: 1200px; margin: 2.5rem auto 0; }
.system-card { display: flex; flex-direction: column; gap: 0.7rem; border-top: 2px solid rgba(255, 122, 47, 0.45); }
.system-num {
  font: 600 2.6rem/0.9 'Teko', var(--font-head); letter-spacing: 0.02em;
  background: var(--bronze-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.system-card h3 { font-size: 1.2rem; }
.system-card p { color: var(--text-2); line-height: 1.65; flex: 1; font-size: 0.98rem; }
.system-card p strong { color: var(--text); }
.system-card .fact-source { margin-top: 0; }
.system-cta { max-width: 46rem; margin: 2.75rem auto 0; text-align: center; color: var(--text-2); font-size: 1.05rem; line-height: 1.6; }
.system-cta strong { color: var(--text); }
.system-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 1.4rem; }
@media (max-width: 400px) { .system-grid { grid-template-columns: 1fr; } }
.facts-more a + br + a { display: inline-block; margin-top: 0.6rem; }

/* Daddy Dictionary entry (homepage, "What I'm That Daddy Means") */
.dict-entry {
  max-width: 44rem; margin: 2.5rem auto 0; padding: 1.5rem 1.75rem; text-align: left;
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid #e0a940; border-radius: 12px;
}
.dict-label { font: 700 0.75rem/1 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.9rem; }
.dict-label i { color: #e0a940; margin-right: 0.35rem; }
.dict-word {
  font: 600 2.4rem/1 'Teko', var(--font-head); letter-spacing: 0.02em; margin-bottom: 0.6rem;
  background: var(--crown-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.dict-pron, .dict-pos { font: italic 400 1rem/1 var(--font-body); -webkit-text-fill-color: var(--text-3); margin-left: 0.4rem; }
.dict-def { color: var(--text); font-size: 1.05rem; line-height: 1.65; }
.dict-ex { margin-top: 0.75rem; color: var(--text-2); font-style: italic; }
.dict-note { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--border); color: var(--text-3); font-size: 0.92rem; }
.dict-note strong { color: var(--text-2); }
