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

:root {
  --navy: #0A1628;
  --navy-deep: #060E1A;
  --gold: #D4A843;
  --gold-muted: rgba(212, 168, 67, 0.5);
  --gold-dim: rgba(212, 168, 67, 0.15);
  --gold-ghost: rgba(212, 168, 67, 0.06);
  --cream: #E8E0D0;
  --cream-soft: rgba(232, 224, 208, 0.55);
  --cream-muted: rgba(232, 224, 208, 0.35);
  --cream-faint: rgba(232, 224, 208, 0.18);
  --cream-ghost: rgba(232, 224, 208, 0.08);
  --sentinel: #0F6CBD;
  --crewbit: #5DCAA5;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --pad: clamp(24px, 5vw, 64px);
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(212, 168, 67, 0.25);
  color: var(--cream);
}

a { color: inherit; }

/* ─── NAV ─── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--pad);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--gold-ghost);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-bar { width: 2px; height: 24px; background: var(--gold); }

.nav-wordmark {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(232, 228, 220, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover { color: #fff; }

.nav-mobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.nav-mobile span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.nav-mobile span:first-child { top: 4px; }
.nav-mobile span:last-child { bottom: 4px; }

.menu-open .nav-mobile span:first-child {
  top: 50%; transform: rotate(45deg);
}
.menu-open .nav-mobile span:last-child {
  bottom: 50%; transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(40px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.mobile-menu a {
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--cream-faint);
  text-decoration: none;
}

.menu-open .mobile-menu { display: flex; }

/* ─── HERO ─── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(212, 168, 67, 0.03) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(15, 108, 189, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

.hero-overline {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold-muted);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 300;
  line-height: 1.15;
  max-width: 580px;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--cream-muted);
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-stats {
  display: flex;
  gap: 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
  margin-bottom: 6px;
}

.stat-value {
  font-size: 14px;
  color: var(--cream-soft);
}

.stat-divider {
  width: 1px;
  background: var(--gold-ghost);
  align-self: stretch;
}

.scroll-line {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold-dim), transparent);
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}

/* ─── SUB-PAGE HERO ─── */

.sub-hero {
  padding: 120px var(--pad) 80px;
  position: relative;
}

.sub-hero-num {
  position: absolute;
  right: var(--pad);
  top: 80px;
  font-size: 160px;
  font-weight: 300;
  color: rgba(212, 168, 67, 0.025);
  line-height: 1;
  pointer-events: none;
}

.breadcrumb {
  font-size: 11px;
  color: var(--cream-ghost);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.breadcrumb a {
  color: var(--cream-faint);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--gold-muted); }

.breadcrumb .sep {
  margin: 0 8px;
  color: rgba(212, 168, 67, 0.15);
}

.breadcrumb .current { color: var(--gold-muted); }

.sub-overline {
  font-size: 10px;
  letter-spacing: 0.4em;
  color: rgba(212, 168, 67, 0.4);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.3s forwards;
}

.sub-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  max-width: 500px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.4s forwards;
}

.sub-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--cream-muted);
  max-width: 460px;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.5s forwards;
}

/* ─── SECTIONS ─── */

section {
  padding: 120px var(--pad);
  position: relative;
}

.section-border { border-top: 1px solid var(--gold-ghost); }

.section-label {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
}

.section-label span {
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--gold-muted);
  white-space: nowrap;
}

.section-label-line {
  flex: 1;
  height: 1px;
  background: var(--gold-ghost);
}

/* ─── DIVISIONS ─── */

.division { margin-bottom: 56px; }
.division:last-child { margin-bottom: 0; }

.division-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 16px;
}

.division-num { font-size: 11px; color: var(--gold-dim); min-width: 20px; }

.division-name {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s;
}

a.division-name:hover { color: var(--gold-muted); }

.division-status {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cream-faint);
  margin-left: auto;
}

.division-status.active { color: var(--gold-muted); }

.division-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--cream-muted);
  line-height: 1.75;
  max-width: 560px;
  padding-left: 40px;
  margin-bottom: 24px;
}

.division-forthcoming { opacity: 0.45; transition: opacity 0.3s; }
.division-forthcoming:hover { opacity: 0.7; }

/* ─── PRODUCT CARDS ─── */

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-left: 40px;
}

.product-card {
  border-radius: 8px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
  text-decoration: none;
  display: block;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}

.product-card.sentinel { border: 1px solid rgba(15, 108, 189, 0.15); }
.product-card.sentinel::before { background: var(--sentinel); }
.product-card.sentinel:hover { border-color: rgba(15, 108, 189, 0.35); }

.product-card.crewbit { border: 1px solid rgba(93, 202, 165, 0.15); }
.product-card.crewbit::before { background: var(--crewbit); }
.product-card.crewbit:hover { border-color: rgba(93, 202, 165, 0.35); }

.product-dot { width: 6px; height: 6px; border-radius: 50%; }
.sentinel .product-dot { background: var(--sentinel); }
.crewbit .product-dot { background: var(--crewbit); }

.product-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.product-name { font-size: 11px; letter-spacing: 0.22em; font-weight: 500; }
.sentinel .product-name { color: var(--sentinel); }
.crewbit .product-name { color: var(--crewbit); }

.product-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--cream-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.product-link {
  font-size: 11px;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-link .arrow { transition: transform 0.3s; }
.product-card:hover .product-link .arrow { transform: translateX(4px); }

.sentinel .product-link { color: rgba(15, 108, 189, 0.6); }
.sentinel:hover .product-link { color: var(--sentinel); }
.crewbit .product-link { color: rgba(93, 202, 165, 0.6); }
.crewbit:hover .product-link { color: var(--crewbit); }

/* ─── PHILOSOPHY ─── */

.philosophy {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.philosophy-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 40px;
}

.philosophy-quote {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 24px;
}

.philosophy-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--cream-muted);
  line-height: 1.8;
}

/* ─── PRINCIPLES ─── */

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 720px;
  margin: 0 auto;
}

.principle-rule {
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 20px;
}

.principle-title {
  font-family: var(--serif);
  font-size: 18px;
  margin-bottom: 10px;
}

.principle-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--cream-muted);
  line-height: 1.7;
}

/* ─── THESIS GRID ─── */

.thesis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.thesis-text {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 16px;
}

.thesis-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--cream-muted);
  line-height: 1.75;
}

.thesis-facts {
  border-left: 1px solid rgba(212, 168, 67, 0.08);
  padding-left: 48px;
}

.thesis-fact { margin-bottom: 28px; }
.thesis-fact:last-child { margin-bottom: 0; }

.thesis-fact-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(212, 168, 67, 0.35);
  margin-bottom: 6px;
}

.thesis-fact-value {
  font-size: 14px;
  color: var(--cream-soft);
}

/* ─── PILLARS ─── */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar {
  border-top: 2px solid var(--gold-dim);
  padding-top: 20px;
}

.pillar-title {
  font-family: var(--serif);
  font-size: 17px;
  margin-bottom: 8px;
}

.pillar-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--cream-muted);
  line-height: 1.65;
}

/* ─── IMAGE PLACEHOLDER ─── */

.image-placeholder {
  background: rgba(212, 168, 67, 0.03);
  border: 1px solid rgba(212, 168, 67, 0.06);
  border-radius: 8px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.04) 0%, rgba(10, 22, 40, 0.5) 50%, rgba(15, 108, 189, 0.02) 100%);
}

.image-placeholder-text {
  position: relative;
  text-align: center;
}

.image-placeholder-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(212, 168, 67, 0.2);
  margin-bottom: 8px;
}

.image-placeholder-sub {
  font-size: 12px;
  color: var(--cream-ghost);
}

/* ─── CTA BOX ─── */

.cta-box {
  border: 1px solid rgba(212, 168, 67, 0.1);
  border-radius: 8px;
  padding: 48px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--cream-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.cta-btn {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
  border: 1px solid rgba(212, 168, 67, 0.3);
  padding: 14px 36px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s;
}

.cta-btn:hover {
  background: rgba(212, 168, 67, 0.08);
  border-color: rgba(212, 168, 67, 0.5);
}

/* ─── FOOTER ─── */

footer {
  padding: 40px var(--pad);
  border-top: 1px solid var(--gold-ghost);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-left { font-size: 11px; color: var(--cream-faint); line-height: 1.8; }
.footer-left .muted { color: var(--cream-ghost); }

.footer-right { font-size: 11px; }
.footer-right a {
  color: var(--cream-faint);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-right a:hover { color: var(--gold-muted); }

/* ─── ANIMATIONS ─── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ─── MOBILE ─── */

@media (max-width: 768px) {
  nav { height: 64px; }
  .nav-links { display: none; }
  .nav-mobile { display: block; }

  .hero { padding-top: 100px; min-height: 90vh; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .stat-divider { width: 40px; height: 1px; }

  .sub-hero { padding-top: 100px; }
  .sub-hero-num { display: none; }

  section { padding: 80px var(--pad); }

  .product-grid { grid-template-columns: 1fr; padding-left: 0; }
  .principles-grid, .pillars-grid { grid-template-columns: 1fr; gap: 32px; }
  .thesis-grid { grid-template-columns: 1fr; gap: 32px; }
  .thesis-facts { border-left: none; padding-left: 0; border-top: 1px solid rgba(212,168,67,0.08); padding-top: 32px; }

  .division-header { flex-wrap: wrap; }
  .division-status { margin-left: 40px; width: 100%; }
  .division-desc { padding-left: 0; }

  footer { flex-direction: column; gap: 20px; align-items: flex-start; }
}
