/* ===================================================================
   Feyi Eniola — personal brand site
   Palette matches the roadmap PDF + logo: navy / gold
=================================================================== */

:root {
  --navy: #12213B;
  --navy-dark: #0A1526;
  --navy-mid: #16294A;
  --gold: #C79A3D;
  --gold-light: #E0B563;
  --slate: #3D4A5C;
  --ink: #1B2230;
  --body: #4A5164;
  --bg: #FFFFFF;
  --bg-alt: #F6F7FA;
  --bg-navy-alt: #16233B;
  --border: #E3E6EC;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(18, 33, 59, 0.06);
  --shadow-md: 0 12px 32px rgba(18, 33, 59, 0.10);
  --shadow-lg: 0 24px 60px rgba(18, 33, 59, 0.16);
  --maxw: 1180px;
  --font-head: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 17px; color: var(--body); margin: 0; }

section { padding: 96px 0; }
@media (max-width: 768px) {
  section { padding: 64px 0; }
}

.bg-alt { background: var(--bg-alt); }
.bg-navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #C9D3E5;
}
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  box-shadow: 0 10px 24px rgba(199, 154, 61, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(199, 154, 61, 0.45); }
.btn-outline {
  border-color: rgba(18, 33, 59, 0.18);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover { border-color: var(--navy); transform: translateY(-2px); }
.bg-navy .btn-outline, .hero .btn-outline { border-color: rgba(255,255,255,0.3); color: #fff; }
.bg-navy .btn-outline:hover, .hero .btn-outline:hover { border-color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ============================== HEADER ============================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(18,33,59,0.08);
  padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand-word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.4px;
  color: #fff;
  transition: color 0.25s ease;
}
.site-header.scrolled .brand-word { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease;
  position: relative;
}
.site-header.scrolled .nav-links a { color: var(--slate); }
.nav-links a:hover { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 18px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 600;
}
.menu-toggle span {
  width: 26px; height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.site-header.scrolled .menu-toggle span { background: var(--navy); }
.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-links .mobile-cta { display: none; }

@media (max-width: 920px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.25);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: #fff; font-size: 18px; }
  .nav-cta { display: none; }
  .nav-links .mobile-cta { display: inline-flex; margin-top: 10px; }
  .menu-toggle { display: flex; }
}

/* ============================== HERO ============================== */
.hero {
  position: relative;
  padding: 168px 0 100px;
  background: radial-gradient(ellipse at top right, #1a2f52 0%, var(--navy) 45%, var(--navy-dark) 100%);
  color: #C9D3E5;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(199,154,61,0.14), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(199,154,61,0.10), transparent 45%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-light);
  background: rgba(199,154,61,0.12);
  border: 1px solid rgba(199,154,61,0.35);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 26px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold-light); }
.hero p.lead {
  font-size: 18px;
  max-width: 540px;
  color: #B7C1D6;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.hero-stats {
  display: flex; gap: 34px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 26px;
}
.hero-stats div { max-width: 200px; }
.hero-stats strong {
  display: block; font-family: var(--font-head); font-size: 15px; color: #fff; margin-bottom: 4px;
}
.hero-stats span { font-size: 13.5px; color: #92A0BC; }

.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo-frame {
  position: relative;
  width: min(480px, 100%);
}
.hero-photo-frame .glow {
  position: absolute;
  inset: 6% 8% 2% 8%;
  background: radial-gradient(ellipse at center, rgba(199,154,61,0.22), transparent 72%);
  filter: blur(14px);
  z-index: 0;
}
.hero-photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.45));
}
.hero-badge {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  right: -10px;
  background: #fff;
  color: var(--navy);
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #33C481; box-shadow: 0 0 0 4px rgba(51,196,129,0.2); }

@media (max-width: 920px) {
  .hero { padding: 140px 0 70px; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; text-align: left; }
  .hero-photo-wrap { order: -1; margin-bottom: 20px; }
  .hero-photo-frame { width: min(280px, 70vw); }
}

/* ============================== ENGINES ============================== */
.engines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.engine-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.engine-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.engine-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.engine-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-dark));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.engine-icon svg { width: 26px; height: 26px; color: #fff; }
.engine-card h3 { font-size: 20px; margin-bottom: 10px; }
.engine-card p { font-size: 15px; margin: 0; }
.engine-tag {
  display: inline-block; margin-top: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.6px; color: var(--navy);
  background: var(--bg-alt); padding: 6px 12px; border-radius: 999px;
}

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

/* ============================== SERVICES / PRICING ============================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
}
.price-badge {
  position: absolute; top: -14px; left: 30px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: 0.6px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 19px; margin-bottom: 6px; }
.price-card .price {
  font-family: var(--font-head);
  font-size: 30px; font-weight: 700; color: var(--navy);
  margin: 10px 0 4px;
}
.price-card .price small { font-size: 14px; font-weight: 500; color: var(--body); }
.price-card .price-desc { font-size: 14px; color: var(--body); margin-bottom: 22px; }
.price-list { margin-bottom: 26px; flex-grow: 1; }
.price-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--ink);
  padding: 7px 0;
  border-bottom: 1px dashed var(--border);
}
.price-list li:last-child { border-bottom: none; }
.price-list li svg { flex-shrink: 0; margin-top: 3px; width: 15px; height: 15px; color: var(--gold); }

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; }
}

/* ============================== SAAS PORTFOLIO ============================== */
.saas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.saas-card {
  background: #101d34;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 30px;
  color: #C9D3E5;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease;
}
.saas-card:hover { transform: translateY(-6px); }
.saas-logo-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.saas-mark {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  color: var(--navy-dark);
}
.saas-mark-img {
  width: 48px; height: 48px; border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.saas-status {
  font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.saas-status.live { background: rgba(51,196,129,0.15); color: #59D89C; }
.saas-card h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.saas-card p.tag { color: var(--gold-light); font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.saas-card p.desc { font-size: 14.5px; color: #9FADC6; margin-bottom: 22px; flex-grow: 1; }
.saas-link {
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  color: #fff; display: inline-flex; align-items: center; gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px;
}
.saas-link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.saas-card:hover .saas-link svg { transform: translate(3px,-3px); }

@media (max-width: 980px) {
  .saas-grid { grid-template-columns: 1fr; }
}

/* ============================== LEARN / CONTENT + WORKSHOPS ============================== */
.learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.learn-col h3 { font-size: 22px; margin-bottom: 14px; }
.learn-col p { margin-bottom: 22px; }
.video-list { margin-bottom: 24px; }
.video-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px; color: var(--ink); font-weight: 500;
}
.video-list li .play {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-alt); color: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.video-list li .play svg { width: 13px; height: 13px; }

.workshop-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius);
  padding: 34px;
  color: #C9D3E5;
}
.workshop-card h3 { color: #fff; }
.workshop-meta { display: flex; gap: 22px; flex-wrap: wrap; margin: 20px 0 24px; }
.workshop-meta div strong { display: block; color: #fff; font-family: var(--font-head); font-size: 15px; }
.workshop-meta div span { font-size: 12.5px; color: #92A0BC; }
.workshop-list { margin-bottom: 26px; }
.workshop-list li { padding: 8px 0; font-size: 14px; display:flex; gap: 10px; }
.workshop-list li b { color: var(--gold-light); font-family: var(--font-head); min-width: 20px; }

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

/* ============================== ABOUT ============================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about-photo { position: relative; }
.about-photo-bg {
  position: absolute; inset: 18px -18px -18px 18px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  z-index: 0;
}
.about-photo img {
  position: relative; z-index: 1;
  border-radius: var(--radius);
  width: 100%;
}
.about-badges { position: relative; z-index: 1; display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.about-badge {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 16px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.about-copy h2 { margin-bottom: 18px; }
.about-copy p { margin-bottom: 18px; font-size: 16px; }
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}
.about-pillar { display: flex; gap: 14px; }
.about-pillar .num {
  font-family: var(--font-head); font-weight: 700; color: var(--gold);
  font-size: 22px; min-width: 34px;
}
.about-pillar strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 15px; margin-bottom: 4px; }
.about-pillar span { font-size: 13.5px; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; margin: 0 auto; }
  .about-pillars { grid-template-columns: 1fr; }
}

/* ============================== CONTACT ============================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 24px;
  padding: 60px;
  color: #C9D3E5;
}
.contact-wrap h2 { color: #fff; }
.contact-methods { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-method {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 16px 20px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.contact-method:hover { background: rgba(255,255,255,0.09); transform: translateX(4px); }
.contact-method .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(199,154,61,0.18); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-method .ic svg { width: 19px; height: 19px; }
.contact-method div strong { display: block; color: #fff; font-family: var(--font-head); font-size: 14.5px; }
.contact-method div span { font-size: 13px; color: #92A0BC; }

.contact-form { background: #fff; border-radius: 18px; padding: 34px; color: var(--ink); }
.contact-form h3 { font-size: 18px; margin-bottom: 4px; }
.contact-form p.hint { font-size: 13.5px; color: var(--body); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-field label { font-size: 12.5px; font-weight: 600; color: var(--navy); font-family: var(--font-head); }
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 12px 14px; font-family: var(--font-body); font-size: 14.5px;
  color: var(--ink); background: var(--bg-alt);
  transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-note { font-size: 12px; color: var(--body); margin-top: 12px; text-align: center; }

.form-success {
  text-align: center;
  padding: 40px 10px;
}
.form-success::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(89, 216, 156, 0.15);
  color: #2FAE7A;
  font-size: 22px;
  font-weight: 700;
}
.form-success h3 { margin-bottom: 8px; }
.form-success p { font-size: 14.5px; color: var(--body); margin: 0; }

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; padding: 36px 26px; border-radius: 18px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================== FOOTER ============================== */
.site-footer { background: var(--navy-dark); color: #8B98B4; padding: 56px 0 26px; }
.footer-top {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding-bottom: 40px; margin-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 34px; margin-bottom: 14px; }
.footer-brand p { max-width: 300px; font-size: 14px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 13.5px; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; margin-bottom: 11px; color: #8B98B4; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; margin-top: 6px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover { background: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; }
.footer-legal-links a { margin: 0 6px; }
.footer-legal-links a:hover { color: var(--gold-light); }

@media (max-width: 700px) {
  .footer-top, .footer-bottom { flex-direction: column; }
  .footer-cols { gap: 34px; }
}

/* ============================== REVEAL ANIMATION ============================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* Skip link for accessibility */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--navy-dark);
  padding: 12px 18px; font-weight: 700; z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 400;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  border: none;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; }

/* ============================== LEGAL PAGES ============================== */
.legal-hero {
  padding: 150px 0 56px;
}
.legal-hero .container { max-width: 820px; }
.legal-hero .eyebrow { color: var(--gold-light); }
.legal-hero h1 { margin-bottom: 10px; font-size: clamp(30px, 4vw, 42px); }
.legal-updated { color: #B9C3D6; font-size: 14.5px; }
.legal-back {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 22px; font-family: var(--font-head); font-weight: 600;
  font-size: 13.5px; color: #fff; opacity: 0.85;
}
.legal-back:hover { opacity: 1; color: var(--gold-light); }

.legal-content { max-width: 780px; margin: 0 auto; padding: 56px 24px 110px; }
.legal-content h2 {
  font-size: 21px; margin-top: 44px; padding-top: 4px;
  border-top: 1px solid var(--border);
}
.legal-content h2:first-child { border-top: none; margin-top: 0; }
.legal-content h3 { font-size: 16.5px; margin: 22px 0 10px; color: var(--navy); }
.legal-content p, .legal-content li { color: var(--body); font-size: 15.5px; line-height: 1.75; margin: 0 0 14px; }
.legal-content ul { margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.legal-content ul li { margin-bottom: 8px; }
.legal-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--navy); }
.legal-note {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 20px;
  font-size: 14px; color: var(--slate); margin: 24px 0;
}
.legal-note strong { color: var(--navy); }
.legal-toc {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin: 26px 0 0; padding: 18px 20px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
}
.legal-toc a { font-size: 13.5px; color: #C9D3E5; }
.legal-toc a:hover { color: var(--gold-light); }
