/* ==========================================================================
   Secret Society of Service Bureaus — Stylesheet
   Dark / Gold / Emerald "private society" theme. Solid colors only — no
   gradients anywhere (backgrounds, borders, buttons, text, overlays).
   ========================================================================== */

:root {
  --bg: #050505;
  --bg-soft: #0a0a0a;
  --card: #111111;
  --card-border: rgba(212, 175, 55, 0.35);
  --gold: #d4af37;
  --gold-bright: #f5d76e;
  --emerald: #0f7b3f;
  --emerald-bright: #19c463;
  --text: #f5f1e8;
  --muted: #b8b0a3;
  --danger: #e5484d;
  --success: #22c55e;

  --font-display: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --section-pad: clamp(64px, 9vw, 112px);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-card: 0 18px 50px -24px rgba(0, 0, 0, 0.8);
}

/* ---------------------------------------------------------------------- */
/* Reset & base                                                            */
/* ---------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--text);
}

p {
  margin: 0;
}

button {
  font-family: inherit;
}

.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.section--soft {
  background: var(--bg-soft);
}

.section-header {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header.is-left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.eyebrow--emerald {
  color: var(--emerald-bright);
}

.section-header h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.01em;
}

.section-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.section-header .section-lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------------------------------------------------- */
/* Ambient glow orbs — solid color + blur, never gradients                */
/* ---------------------------------------------------------------------- */

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb--gold {
  background: var(--gold);
  opacity: 0.16;
}

.glow-orb--emerald {
  background: var(--emerald);
  opacity: 0.22;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-divider {
  width: 120px;
  height: 1px;
  margin: 0 auto;
  background: rgba(212, 175, 55, 0.35);
}

/* ---------------------------------------------------------------------- */
/* Buttons & badges                                                        */
/* ---------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--gold);
  color: #1a1303;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.4), 0 18px 40px -16px rgba(212, 175, 55, 0.55);
}

.btn-primary:hover {
  background: var(--gold-bright);
  box-shadow: 0 0 0 1px rgba(245, 215, 110, 0.5), 0 20px 48px -16px rgba(245, 215, 110, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--emerald-bright);
  border-color: var(--emerald);
}

.btn-secondary:hover {
  background: rgba(15, 123, 63, 0.18);
  border-color: var(--emerald-bright);
  color: var(--text);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.0625rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.section-header .btn-row,
.btn-row.is-centered,
.cta-row.is-centered {
  display: flex;
  justify-content: center;
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.06);
}

.badge-pill .icon {
  width: 14px;
  height: 14px;
}

/* ---------------------------------------------------------------------- */
/* Header / Navigation                                                     */
/* ---------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-crest {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text span {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--gold-bright);
}

.nav-links a.is-active {
  position: relative;
}

.nav-links a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions .btn {
  padding: 12px 22px;
  font-size: 0.9375rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--gold-bright);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(5, 5, 5, 0.97);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  display: block;
  padding: 14px 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid rgba(245, 241, 232, 0.06);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav .btn {
  margin-top: 12px;
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */

.hero {
  padding-top: calc(76px + clamp(56px, 10vw, 110px));
  padding-bottom: clamp(64px, 10vw, 110px);
  text-align: center;
  background: var(--bg);
}

.hero .glow-orb--gold {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -160px;
}

.hero .glow-orb--emerald {
  width: 560px;
  height: 560px;
  bottom: -220px;
  right: -180px;
}

.hero-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 48px);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 20px;
  background: rgba(17, 17, 17, 0.55);
  box-shadow: var(--shadow-card);
}

.hero-crest {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
  box-shadow:
    0 0 0 6px rgba(212, 175, 55, 0.08),
    0 0 0 14px rgba(212, 175, 55, 0.04),
    0 0 70px rgba(15, 123, 63, 0.45);
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: 0.01em;
}

.hero h1 .gold-text {
  color: var(--gold-bright);
}

.hero-subhead {
  font-size: clamp(1.0625rem, 2.4vw, 1.375rem);
  color: var(--text);
  max-width: 700px;
  font-weight: 500;
}

.hero-support {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
}

/* ---------------------------------------------------------------------- */
/* Generic card grids                                                      */
/* ---------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

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

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

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold-bright);
  margin-bottom: 18px;
}

.icon-circle--emerald {
  border-color: rgba(25, 196, 99, 0.45);
  background: rgba(15, 123, 63, 0.18);
  color: var(--emerald-bright);
}

.icon-circle--lg {
  width: 72px;
  height: 72px;
}

.icon-circle--lg .icon {
  width: 34px;
  height: 34px;
}

.icon-circle .icon {
  width: 26px;
  height: 26px;
}

/* ---------------------------------------------------------------------- */
/* Comparison section                                                      */
/* ---------------------------------------------------------------------- */

.compare-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 860px) {
  .compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.compare-card {
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--card-border);
  background: var(--card);
}

.compare-card--bad {
  border-color: rgba(229, 72, 77, 0.35);
}

.compare-card--good {
  border-color: rgba(25, 196, 99, 0.4);
  box-shadow: 0 0 50px -20px rgba(25, 196, 99, 0.35);
}

.compare-card h3 {
  font-size: 1.375rem;
  margin-bottom: 24px;
}

.compare-card--bad h3 {
  color: var(--danger);
}

.compare-card--good h3 {
  color: var(--emerald-bright);
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(245, 241, 232, 0.06);
  color: var(--text);
}

.compare-list li:last-child {
  border-bottom: none;
}

.compare-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.compare-card--bad .icon {
  color: var(--danger);
}

.compare-card--good .icon {
  color: var(--emerald-bright);
}

/* ---------------------------------------------------------------------- */
/* Ecosystem grouped pills (Big Idea section)                              */
/* ---------------------------------------------------------------------- */

.ecosystem-groups {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .ecosystem-groups {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ecosystem-group {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.ecosystem-group-title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 18px;
}

.ecosystem-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ecosystem-pills li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.04);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.ecosystem-pills .icon {
  width: 18px;
  height: 18px;
  color: var(--emerald-bright);
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------- */
/* Audience cards                                                          */
/* ---------------------------------------------------------------------- */

.audience-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.audience-card p {
  color: var(--muted);
}

/* ---------------------------------------------------------------------- */
/* Benefits grid (Inside the Society)                                      */
/* ---------------------------------------------------------------------- */

.benefit-card h3 {
  font-size: 1.0625rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-card p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.benefit-card--media {
  padding: 0;
  overflow: hidden;
}

.benefit-card-media {
  display: block;
  border-bottom: 1px solid var(--card-border);
}

.benefit-card-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.benefit-card-body {
  padding: 24px 28px 28px;
}

.benefit-card--media .icon-circle {
  display: none;
}

.benefit-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.benefit-card:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 20px 48px -24px rgba(212, 175, 55, 0.28);
  transform: translateY(-2px);
}

.benefits-more {
  margin-top: 32px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 8px 24px 24px;
}

.benefits-more summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  text-align: center;
}

.benefits-more summary::-webkit-details-marker {
  display: none;
}

.benefits-more summary::after {
  content: ' +';
  color: var(--muted);
}

.benefits-more[open] summary::after {
  content: ' −';
}

.benefits-more .grid {
  margin-top: 8px;
}

.benefits-more[open] .reveal-stagger > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------------------- */
/* Automation section + workflow diagram                                  */
/* ---------------------------------------------------------------------- */

.partner-banner {
  margin: 0 auto 56px;
  max-width: 560px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
}

.partner-banner img {
  width: 100%;
  border-radius: var(--radius-sm);
  display: block;
}

.partner-banner figcaption {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
}

.automation-layout {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 960px) {
  .automation-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.automation-copy .section-header {
  margin: 0 0 24px;
  text-align: left;
}

.automation-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.automation-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
}

.automation-list .icon {
  width: 20px;
  height: 20px;
  color: var(--emerald-bright);
  margin-top: 2px;
}

.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 16px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card);
}

.flow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 132px;
  text-align: center;
}

.flow-node .icon-circle {
  margin-bottom: 0;
}

.flow-node span {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.flow-arrow {
  color: var(--gold);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.flow-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.06);
}

.flow-center .icon-circle {
  margin-bottom: 0;
}

.flow-center span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

@media (max-width: 639px) {
  .flow-row {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }
}

/* ---------------------------------------------------------------------- */
/* Residuals section                                                       */
/* ---------------------------------------------------------------------- */

.residuals-list {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .residuals-list {
    grid-template-columns: 1fr 1fr;
  }
}

.residuals-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.residuals-col li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(245, 241, 232, 0.06);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.residuals-col li:last-child {
  border-bottom: none;
}

.residuals-col .icon {
  width: 20px;
  height: 20px;
  color: var(--gold-bright);
  margin-top: 2px;
  flex-shrink: 0;
}

.disclaimer {
  margin-top: 40px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------- */
/* Limited access / scarcity section                                      */
/* ---------------------------------------------------------------------- */

.section--vault {
  padding-top: calc(var(--section-pad) + 24px);
  padding-bottom: calc(var(--section-pad) + 24px);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.scarcity-progress {
  max-width: 640px;
  margin: 0 auto 36px;
}

.scarcity-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.scarcity-progress-meta span:last-child {
  color: var(--gold-bright);
}

.scarcity-progress-track {
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(245, 241, 232, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
}

.scarcity-progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.45);
}

.scarcity-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}

@media (min-width: 760px) {
  .scarcity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.scarcity-card {
  text-align: center;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 28px 20px;
}

.scarcity-card--muted {
  opacity: 0.55;
}

.scarcity-card--muted .scarcity-value {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(184, 176, 163, 0.6);
}

.scarcity-card--highlight {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 0 50px -18px rgba(212, 175, 55, 0.5);
}

.scarcity-card--highlight .scarcity-value {
  font-size: 2.25rem;
}

.scarcity-card .scarcity-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold-bright);
  margin-bottom: 8px;
}

.scarcity-card .scarcity-label {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.vision-banner {
  margin: 0 auto 40px;
  max-width: 760px;
  text-align: center;
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.7;
}

.vision-banner strong {
  color: var(--gold-bright);
}

.subsection-label {
  display: block;
  text-align: center;
  margin: 56px 0 24px;
}

/* ---------------------------------------------------------------------- */
/* Mastermind / Event section                                             */
/* ---------------------------------------------------------------------- */

.event-layout {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .event-layout {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.event-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--card);
  min-height: 280px;
}

.event-visual--panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 320px;
  padding: 48px 32px;
  background: rgba(15, 123, 63, 0.08);
  border: 1px solid rgba(25, 196, 99, 0.25);
}

.event-visual-seal img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
  box-shadow:
    0 0 0 6px rgba(212, 175, 55, 0.08),
    0 0 40px rgba(15, 123, 63, 0.35);
}

.event-visual-label {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald-bright);
  text-align: center;
}

.event-visual-sub {
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
  max-width: 280px;
  line-height: 1.6;
}

.event-copy {
  text-align: left;
}

.event-copy .section-lead {
  margin-top: 16px;
  margin-left: 0;
  margin-right: 0;
}

.event-copy h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-top: 8px;
}

.event-copy .btn-row {
  margin-top: 28px;
}

/* ---------------------------------------------------------------------- */
/* Application form                                                        */
/* ---------------------------------------------------------------------- */

.apply-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 560px;
  margin: -24px auto 28px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.apply-note .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.application-card {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius);
  background: var(--card);
  padding: clamp(16px, 3vw, 28px);
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(212, 175, 55, 0.08);
}

.application-card iframe {
  display: block;
  width: 100%;
  border: none;
  border-radius: var(--radius-sm);
  background: #f5f1e8;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  padding: 56px 0 32px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}

@media (min-width: 760px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}

.footer-brand-text span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-disclaimer {
  border-top: 1px solid rgba(245, 241, 232, 0.08);
  padding-top: 24px;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-disclaimer p + p {
  margin-top: 8px;
}

/* ---------------------------------------------------------------------- */
/* Scroll reveal                                                           */
/* ---------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 60ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 120ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 300ms; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 420ms; }
.reveal-stagger.is-visible > *:nth-child(9) { transition-delay: 480ms; }
.reveal-stagger.is-visible > *:nth-child(10) { transition-delay: 540ms; }
.reveal-stagger.is-visible > *:nth-child(11) { transition-delay: 600ms; }
.reveal-stagger.is-visible > *:nth-child(12) { transition-delay: 660ms; }

@media (max-width: 767px) {
  .section-header.is-left,
  .automation-copy .section-header,
  .event-copy,
  .footer-top,
  .footer-brand,
  .footer-brand-text,
  .footer-links,
  .btn-row,
  .audience-card,
  .benefit-card,
  .ecosystem-group,
  .compare-card,
  .scarcity-card,
  .mobile-nav a {
    text-align: center;
  }

  .section-header.is-left,
  .automation-copy .section-header {
    margin-left: auto;
    margin-right: auto;
  }

  .btn-row,
  .footer-brand,
  .footer-links,
  .automation-list li,
  .compare-list li,
  .residuals-col li {
    justify-content: center;
  }

  .footer-top {
    align-items: center;
  }

  .icon-circle {
    margin-left: auto;
    margin-right: auto;
  }

  .event-copy .section-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .automation-list li,
  .compare-list li,
  .residuals-col li {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .stat-card:hover,
  .benefit-card:hover {
    transform: none;
  }

  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
