/* ============================================================
   XUVIAN — Shared Stylesheet
   WordPress handoff: enqueue via functions.php or link in header.php
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Tokens ── */
:root {
  --navy:        #0F1F3D;
  --navy-deep:   #091526;
  --navy-mid:    #1A3260;
  --gold:        #C9A84C;
  --gold-light:  #E8CC82;
  --white:       #FFFFFF;
  --grey-bg:     #F5F6F8;
  --grey-border: #DDE1E9;
  --grey-mid:    #6B7280;
  --grey-dark:   #374151;
  --text:        #111827;

  --font:        'Inter', system-ui, sans-serif;

  --max-w:       1120px;
  --section-v:   96px;
  --section-v-sm:56px;
  --radius:      4px;
  --radius-lg:   8px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Utility ── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 32px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(9, 21, 38, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}
.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-cta { flex-shrink: 0; }
.nav-cta .btn { padding: 10px 22px; font-size: 14px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero Sections ── */
.hero {
  background: var(--navy-deep);
  padding-top: calc(68px + 80px);
  padding-bottom: 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(26,50,96,0.6) 0%, transparent 70%);
  pointer-events: none;
}
/* Signature diagonal gold rule */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-light) 60%, transparent 100%);
  opacity: 0.6;
}
.hero .container { position: relative; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1.5px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 760px;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Section Styles ── */
.section { padding: var(--section-v) 0; }
.section-white { background: var(--white); }
.section-grey  { background: var(--grey-bg); }
.section-navy  { background: var(--navy); }
.section-navy-deep { background: var(--navy-deep); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label.light { color: var(--gold-light); }

h2.section-heading {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 20px;
}
h2.section-heading.on-dark { color: var(--white); }

.section-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--grey-dark);
  max-width: 680px;
}
.section-body.on-dark { color: rgba(255,255,255,0.72); }
.section-body p + p { margin-top: 16px; }

/* ── Divider rule ── */
.gold-rule {
  width: 48px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 32px;
}

/* ── Network Table ── */
.network-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
}
.network-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.network-table td {
  padding: 24px;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  line-height: 1.65;
}
.network-table tr:last-child td { border-bottom: none; }
.network-table td:first-child {
  font-weight: 600;
  color: var(--white);
  width: 38%;
  font-size: 15px;
}
.network-table tr:hover td { background: rgba(255,255,255,0.03); }
.participant-sub {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  line-height: 1.5;
}

/* ── Flywheel callout ── */
.flywheel-callout {
  margin-top: 48px;
  padding: 28px 32px;
  border-left: 3px solid var(--gold);
  background: rgba(201,168,76,0.06);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.flywheel-callout p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
}

/* ── Logo row ── */
.logo-row {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.logo-placeholder {
  height: 44px;
  width: 140px;
  background: var(--grey-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--grey-mid);
  text-transform: uppercase;
}

/* ── Founder cards ── */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.founder-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.founder-card:hover {
  box-shadow: 0 8px 32px rgba(15,31,61,0.10);
}
.founder-photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.founder-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(9,21,38,0.5), transparent);
}
.founder-initials {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.founder-info { padding: 28px 28px 32px; }
.founder-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.founder-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.founder-bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey-dark);
}

/* ── Three-column grid ── */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.col-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.col-card:hover {
  box-shadow: 0 6px 24px rgba(15,31,61,0.09);
  transform: translateY(-2px);
}
.col-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.col-card-icon svg { width: 22px; height: 22px; stroke: var(--gold); }
.col-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.col-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey-dark);
}

/* ── Two-column cards ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.two-col-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.two-col-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.two-col-card p {
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255,255,255,0.65);
}

/* ── About bullets ── */
.not-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.not-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--grey-dark);
}
.not-item::before {
  content: '—';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Footer CTA ── */
.footer-cta {
  background: var(--navy-deep);
  padding: var(--section-v) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-light) 60%, transparent 100%);
  opacity: 0.6;
}
.footer-cta h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.2;
  max-width: 640px;
  margin: 0 auto 36px;
}

/* ── Site Footer ── */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 40px 0 32px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}
.footer-logo span { color: var(--gold); }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ── Scroll fade-in ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .three-col { grid-template-columns: 1fr 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --section-v: var(--section-v-sm); }
  .container { padding-inline: 20px; }
  .three-col { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--navy-deep);
    padding: 24px 20px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 4px;
  }
  .nav-links.open + .nav-cta { display: flex; }
  .network-table { display: block; overflow-x: auto; }
  .hero h1 { font-size: clamp(30px, 8vw, 44px); }
  .logo-row { gap: 24px; }
  .logo-placeholder { width: 110px; height: 38px; }
}
