/* ============================================================
   TGCN — The Trumpet Global Christian Networking Organization
   Shared stylesheet — "Vision & Awareness" edition
   Palette locked per rebuild brief Section 4.
   ============================================================ */

:root {
  /* --- locked palette (do not touch) --- */
  --primary: #1a3a5f;
  --primary-dark: #0c1f38;
  --primary-deep: #050d1a;
  --secondary: #800000;
  --accent: #d35400;
  --gold: #c9a84c;
  --bg: #faf9f7;
  --bg-warm: #f5f0ea;
  /* --- original neutrals --- */
  --text: #1a1a2e;
  --text-light: #5a5a6e;
  --white: #ffffff;
  --border: rgba(26,58,95,0.08);
  --gold-light: #e8d48b;
  /* --- accessibility-tuned derived tones (WCAG fixes, brief #11) --- */
  --gold-ink: #7d621c;        /* gold for small text on light bgs — 5.1:1+ */
  --accent-strong: #b34700;   /* buttons & small accent text — 5.5:1 */
  --text-muted: #656577;      /* muted text on white — 5.7:1 */
  --ease-premium: cubic-bezier(0.32,0.72,0,1);
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Clash Display', 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  color: var(--text); background: var(--bg);
  line-height: 1.75; overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.15; color: var(--primary-dark); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
button { cursor: pointer; border: none; font-family: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-lg { padding: 128px 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 500;
  background: var(--white); color: var(--primary-dark);
  padding: 12px 20px; border-radius: 100px; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  transition: top 300ms var(--ease-premium);
}
.skip-link:focus { top: 16px; }

/* ============ EYEBROW PILLS ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(125,98,28,0.08); color: var(--gold-ink); border: 1px solid rgba(125,98,28,0.22);
  margin-bottom: 20px;
}
.eyebrow-light {
  background: rgba(255,255,255,0.1); color: var(--gold-light);
  border-color: rgba(232,212,139,0.28);
}
.section-title { margin-bottom: 16px; }
.section-desc { color: var(--text-light); max-width: 580px; font-size: 1.05rem; line-height: 1.8; }
.section-desc.center { margin: 0 auto; text-align: center; }
.text-center { text-align: center; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 100px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: background-color 500ms var(--ease-premium), transform 500ms var(--ease-premium),
              box-shadow 500ms var(--ease-premium), border-color 500ms var(--ease-premium),
              color 500ms var(--ease-premium);
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible, a:focus-visible, .sector-card:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px;
}
.btn-primary {
  background: var(--accent-strong); color: var(--white);
  box-shadow: 0 4px 20px rgba(179,71,0,0.28), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover { background: #bf4a00; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(179,71,0,0.36); }
.btn-primary .btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.22);
  transition: transform 500ms var(--ease-premium), background-color 500ms var(--ease-premium);
  font-size: 0.85rem;
}
.btn-primary:hover .btn-icon { transform: translateX(2px); background: rgba(255,255,255,0.32); }
.btn-ghost {
  background: rgba(255,255,255,0.04); color: var(--white); border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.55); }
.btn-dark { background: var(--primary-dark); color: var(--white); }
.btn-dark:hover { background: var(--primary); transform: translateY(-2px); }

/* text arrow link */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--accent-strong); font-size: 0.95rem;
}
.arrow-link::after { content: '\2192'; transition: transform 400ms var(--ease-premium); }
.arrow-link:hover::after { transform: translateX(5px); }

/* ============ NAV ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 24px;
  transition: padding 600ms var(--ease-premium);
}
.navbar.scrolled { padding: 8px 24px; }
.nav-pill {
  max-width: 980px; margin: 0 auto;
  background: rgba(12,31,56,0.85); backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px; padding: 8px 8px 8px 24px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
}
.navbar.scrolled .nav-pill { box-shadow: 0 12px 48px rgba(0,0,0,0.3); }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 36px; width: 36px; border-radius: 50%; object-fit: cover; }
.nav-brand span { color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: rgba(255,255,255,0.72); padding: 8px 16px; border-radius: 100px;
  font-weight: 500; font-size: 0.85rem;
  transition: color 400ms var(--ease-premium), background-color 400ms var(--ease-premium);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-links a[aria-current="page"] { color: var(--gold-light); background: rgba(201,168,76,0.14); }

.hamburger { display: none; background: none; border: none; padding: 10px; cursor: pointer; z-index: 400; }
.hamburger span {
  display: block; width: 20px; height: 1.5px; background: var(--white); margin: 5px 0; border-radius: 2px;
  transition: transform 400ms var(--ease-premium), opacity 300ms var(--ease-premium);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

body.nav-open { overflow: hidden; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--primary-deep); overflow: hidden; padding: 140px 0 90px;
}
.hero-bg {
  position: absolute; inset: -12% 0 -12% 0; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0.6; mix-blend-mode: luminosity;
  will-change: transform;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(26,58,95,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(128,0,0,0.15) 0%, transparent 50%),
    linear-gradient(180deg, rgba(5,13,26,0.55) 0%, rgba(5,13,26,0.92) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 .accent-word { color: var(--gold-light); }
.hero-desc { color: rgba(255,255,255,0.78); font-size: 1.1rem; line-height: 1.9; margin-bottom: 18px; max-width: 580px; }
.hero-verse {
  color: var(--gold-light); font-size: 0.9rem; font-style: italic; margin-bottom: 38px;
}
.hero-verse .ref { font-style: normal; font-weight: 700; letter-spacing: 0.08em; font-size: 0.78rem; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-logo-float {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255,255,255,0.03); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  animation: heroFade 1.2s var(--ease-premium) 0.6s both, heroFloat 8s ease-in-out 2s infinite;
  box-shadow: 0 0 80px rgba(201,168,76,0.08);
}
.hero-logo-float img { width: 210px; height: 210px; border-radius: 50%; object-fit: cover; }
@keyframes heroFloat { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(-53%); } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }

/* staggered hero entrance (JS-gated so no-JS users see everything) */
html.js .hero [data-hero] { opacity: 0; animation: heroIn 900ms var(--ease-premium) var(--d, 0s) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ============ STATS STRIP ============ */
.stats { background: var(--primary-deep); padding: 88px 0; position: relative; overflow: hidden; }
.stats::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.07), transparent 55%);
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat { padding: 12px 8px; }
.stat + .stat { border-left: 1px solid rgba(201,168,76,0.22); }
.stat-num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3.6rem, 9vw, 6.4rem); line-height: 1;
  color: var(--gold-light);
}
.stat-label {
  margin-top: 10px; color: rgba(255,255,255,0.78);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.stats-verse { text-align: center; margin-top: 56px; color: rgba(255,255,255,0.55); font-size: 0.9rem; font-style: italic; }
.stats-verse .ref { color: var(--gold); font-style: normal; font-weight: 700; }

/* ============ SCRIPTURE CALLOUT ============ */
.scripture { max-width: 760px; margin: 0 auto; text-align: center; position: relative; padding: 0 8px; }
.scripture::before {
  content: '\201C';
  display: block; font-family: var(--font-display);
  font-size: 4.5rem; line-height: 0.6; color: var(--gold);
  margin-bottom: 26px;
}
.scripture .verse {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.35rem, 2.8vw, 1.95rem); line-height: 1.55; color: var(--primary-dark);
}
.scripture .ref {
  display: block; margin-top: 20px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-ink);
  opacity: 0; transform: translateY(8px);
  transition: opacity 700ms var(--ease-premium) 400ms, transform 700ms var(--ease-premium) 400ms;
}
.scripture.visible .ref { opacity: 1; transform: none; }
.scripture.on-dark::before { color: var(--gold); }
.scripture.on-dark .verse { color: var(--white); }
.scripture.on-dark .ref { color: var(--gold-light); }

/* ============ BEVEL CARDS ============ */
.bevel-outer {
  background: rgba(26,58,95,0.04); border: 1px solid rgba(26,58,95,0.06);
  padding: 6px; border-radius: var(--radius-2xl);
  transition: box-shadow 700ms var(--ease-premium), transform 700ms var(--ease-premium);
}
.bevel-outer:hover { box-shadow: 0 16px 64px rgba(26,58,95,0.1); transform: translateY(-4px); }
.bevel-inner {
  background: var(--white); border-radius: calc(var(--radius-2xl) - 6px);
  padding: 36px 32px; position: relative; overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.8);
}
.bevel-inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  opacity: 0; transition: opacity 500ms var(--ease-premium);
}
.bevel-outer:hover .bevel-inner::before { opacity: 1; }
.bevel-inner h3 { margin-bottom: 14px; font-size: 1.25rem; }
.bevel-inner p { color: var(--text-light); font-size: 0.95rem; }

/* icon wrap (shared by values, steps, sectors, trust) */
.icon-wrap {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--gold);
  box-shadow: 0 4px 16px rgba(26,58,95,0.2);
}
.icon-wrap svg { width: 28px; height: 28px; }

/* ============ ABOUT: QUESTIONS / VALUES / TRUST ============ */
.questions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.q-verse { margin-top: 16px; font-size: 0.82rem; font-style: italic; color: var(--gold-ink); }
.q-verse .ref { font-style: normal; font-weight: 700; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.value-card .bevel-inner { border-left: 3px solid var(--gold); }
.value-card .bevel-inner h3 { color: var(--primary); }
.verse-line {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(125,98,28,0.25);
  font-size: 0.82rem; font-style: italic; color: var(--gold-ink); line-height: 1.7;
}
.verse-line .ref { font-style: normal; font-weight: 700; letter-spacing: 0.04em; }

.statement { background: var(--bg-warm); padding: 120px 0; text-align: center; }
.statement h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 920px; margin: 0 auto 18px; }
.statement h2 .accent { color: var(--gold-ink); }
.statement p { color: var(--text-light); max-width: 560px; margin: 0 auto; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap {
  border-radius: var(--radius-2xl); overflow: hidden; position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
}
.about-img-wrap img { width: 100%; aspect-ratio: 11/6; object-fit: cover; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-light); margin-bottom: 16px; font-size: 0.98rem; }

/* ============ PAGE HERO (subpages) ============ */
.page-hero { padding: 170px 0 90px; position: relative; overflow: hidden; background: var(--primary-deep); }
.page-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.3; mix-blend-mode: luminosity;
}
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,13,26,0.5), rgba(5,13,26,0.95)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 560px; font-size: 1.05rem; }

.go-back {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px; border-radius: 100px;
  font-weight: 600; font-size: 0.85rem; color: var(--primary);
  background: var(--white); border: 1.5px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: background-color 500ms var(--ease-premium), color 500ms var(--ease-premium),
              border-color 500ms var(--ease-premium), transform 500ms var(--ease-premium);
  margin-bottom: 40px;
}
.go-back:hover { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); transform: translateX(-4px); }
.go-back svg { width: 16px; height: 16px; }

/* ============ HOW IT WILL WORK: TIMELINE ============ */
.coming-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 100px; margin-bottom: 22px;
  background: rgba(201,168,76,0.12); border: 1px solid rgba(232,212,139,0.3);
  color: var(--gold-light); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.coming-pill::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.5); } 50% { box-shadow: 0 0 0 6px rgba(201,168,76,0); } }

.timeline { position: relative; max-width: 880px; margin: 0 auto; padding: 8px 0; }
.timeline-spine {
  position: absolute; left: 31px; top: 8px; bottom: 8px; width: 2px;
  background: rgba(26,58,95,0.12); border-radius: 2px;
}
.timeline-progress {
  position: absolute; left: 31px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--accent));
  border-radius: 2px; transform: scaleY(0); transform-origin: top;
  will-change: transform;
}
.t-step { position: relative; padding-left: 92px; margin-bottom: 76px; }
.t-step:last-child { margin-bottom: 8px; }
.t-step .icon-wrap { position: absolute; left: 0; top: -4px; }
.t-step .step-num {
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 8px; display: block;
}
.t-step h3 { font-size: 1.5rem; margin-bottom: 10px; }
.t-step p { color: var(--text-light); max-width: 420px; }

@media (min-width: 900px) {
  .timeline-spine, .timeline-progress { left: 50%; margin-left: -1px; }
  .t-step { width: 50%; padding-left: 0; padding-right: 76px; margin-bottom: 88px; }
  .t-step .icon-wrap { left: auto; right: -28px; }
  .t-step:nth-of-type(even) { margin-left: 50%; padding-right: 0; padding-left: 76px; }
  .t-step:nth-of-type(even) .icon-wrap { right: auto; left: -28px; }
}

.diagram-wrap { max-width: 920px; margin: 0 auto; }
.diagram-caption { text-align: center; color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-top: 18px; }

/* ============ EXAMPLE LISTING CARD ============ */
.example-stage { max-width: 660px; margin: 0 auto; }
.example-card .bevel-inner { padding: 30px 32px; }
.example-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.badge {
  padding: 4px 12px; border-radius: 100px; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.badge-type { background: rgba(179,71,0,0.1); color: var(--accent-strong); }
.badge-example {
  background: rgba(125,98,28,0.08); color: var(--gold-ink);
  border: 1px dashed rgba(125,98,28,0.45);
}
.example-card h4 { font-family: var(--font-display); font-size: 1.12rem; margin-bottom: 8px; }
.example-card p { color: var(--text-light); font-size: 0.93rem; }
.example-meta { margin-top: 14px; font-size: 0.78rem; color: var(--text-muted); }
.example-note {
  text-align: center; margin-top: 22px; font-size: 0.85rem; color: var(--text-muted);
  max-width: 480px; margin-left: auto; margin-right: auto;
}

/* ============ SECTORS ============ */
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.sector-card { cursor: pointer; }
.sector-card .bevel-inner { display: flex; flex-direction: column; min-height: 196px; }
.sector-card .arrow-hint {
  margin-top: auto; padding-top: 14px; font-size: 0.8rem; font-weight: 700;
  color: var(--accent-strong); letter-spacing: 0.05em;
  transition: transform 500ms var(--ease-premium);
}
.sector-card:hover .arrow-hint, .sector-card:focus-visible .arrow-hint { transform: translateX(6px); }
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.industry-chip {
  padding: 16px 20px; border-radius: 14px; background: var(--white);
  border: 1px solid var(--border); display: flex; align-items: center; gap: 12px;
  transition: border-color 500ms var(--ease-premium), box-shadow 500ms var(--ease-premium),
              transform 500ms var(--ease-premium);
  font-weight: 500; font-size: 0.92rem;
}
.industry-chip:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(201,168,76,0.1); transform: translateY(-2px); }
.industry-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.sector-detail-head { margin-bottom: 40px; }
.sector-detail-head .big-icon {
  width: 72px; height: 72px; border-radius: 20px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--gold); box-shadow: 0 4px 16px rgba(26,58,95,0.2);
}
.sector-detail-head .big-icon svg { width: 36px; height: 36px; }
.sector-detail-head h2 { margin-bottom: 10px; }
.sector-detail-head p { color: var(--text-light); max-width: 560px; }

/* ============ CTA BAND ============ */
.cta-band { position: relative; padding: 100px 0; overflow: hidden; background: var(--primary-deep); text-align: center; }
.cta-band-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.22; mix-blend-mode: screen;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.68); max-width: 500px; margin: 0 auto 34px; }

/* ============ NOTIFY FORM (mailto-based) ============ */
.notify-form { display: flex; gap: 12px; max-width: 520px; margin: 0 auto; flex-wrap: wrap; }
.notify-form label { position: absolute; left: -9999px; }
.notify-form input {
  flex: 1; min-width: 240px; padding: 14px 20px;
  border: 1.5px solid rgba(255,255,255,0.25); border-radius: 100px;
  background: rgba(255,255,255,0.07); color: var(--white);
  font-family: inherit; font-size: 0.95rem;
  transition: border-color 400ms var(--ease-premium), box-shadow 400ms var(--ease-premium), background-color 400ms var(--ease-premium);
}
.notify-form input::placeholder { color: rgba(255,255,255,0.5); }
.notify-form input:focus {
  outline: none; border-color: var(--gold); background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.18);
}
.notify-note { margin-top: 16px; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.notify-confirm { margin-top: 14px; font-size: 0.9rem; color: var(--gold-light); font-weight: 600; }

/* ============ FOOTER ============ */
.footer { background: var(--primary-deep); color: rgba(255,255,255,0.55); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer h4 { color: var(--white); font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; margin-bottom: 16px; }
.footer p, .footer a { font-size: 0.88rem; line-height: 1.9; }
.footer a:hover { color: var(--gold-light); }
.footer-brand img { height: 40px; width: 40px; border-radius: 50%; margin-bottom: 14px; }
.footer-brand p { max-width: 300px; }
.footer-links li { margin-bottom: 6px; }
.footer-verse {
  text-align: center; padding: 28px 0 8px; margin: 0 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6); font-style: italic; font-size: 0.92rem; max-width: 640px; margin-left: auto; margin-right: auto;
}
.footer-verse .ref { display: block; font-style: normal; color: var(--gold); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0;
  text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.55);
}

/* ============ LEGAL PAGES ============ */
.legal-body { max-width: 720px; margin: 0 auto; }
.legal-body h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.legal-body p { color: var(--text-light); font-size: 0.96rem; margin-bottom: 14px; }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-premium), transform 800ms var(--ease-premium); }
.reveal.visible { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ============ PAGE CROSS-FADE ============ */
@view-transition { navigation: auto; }
html.js main { animation: pageIn 550ms var(--ease-premium) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* ============ RESPONSIVE ============ */
/* Hero emblem: hidden below 1560px so it can never collide with the headline (stress-test #5) */
@media (max-width: 1560px) { .hero-logo-float { display: none; } }

@media (max-width: 900px) {
  .hamburger { display: block; }
  .nav-links {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5,13,26,0.96); backdrop-filter: blur(24px);
    flex-direction: column; align-items: center; justify-content: center; gap: 14px; z-index: 300;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.05rem; padding: 10px 22px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .section-lg { padding: 88px 0; }
  .hero { min-height: 88vh; padding: 130px 0 72px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 36px; }
  .stat + .stat { border-left: none; border-top: 1px solid rgba(201,168,76,0.22); padding-top: 36px; }
  .sectors-grid { grid-template-columns: 1fr; }
  .nav-pill { border-radius: 20px; padding: 8px 16px; }
  .t-step { padding-left: 80px; margin-bottom: 56px; }
  .timeline-spine, .timeline-progress { left: 27px; }
  .t-step .icon-wrap { width: 50px; height: 50px; }
}

/* ============ REDUCED MOTION (brief #14 — from the first commit) ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
