/* t226 public site — navy/gold, simple and readable */
:root {
  --navy: #0a192f;
  --navy-2: #0d2137;
  --navy-3: #132c4a;
  --ink: #e8eef6;
  --muted: #b7c3d4;
  --gold: #fbbf24;
  --gold-2: #e8c766;
  --gold-deep: #c9a227;
  --obsidian: #07111e;
  --line: rgba(251, 191, 36, 0.28);
  --card: #10233c;
  --font: "Inter", system-ui, sans-serif;
  --display: "Cinzel", "Palatino Linotype", serif;
  --max: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); }
a:hover { color: var(--gold); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--obsidian); padding: 0.6rem 1rem; z-index: 100;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 3rem, var(--max)); } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--navy) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; min-height: 4.25rem;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: inherit; min-height: 44px;
  flex-shrink: 0;
}
.brand img, .brand svg { width: 2.2rem; height: 1.85rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--display); font-weight: 700;
  letter-spacing: 0.16em; font-size: 0.86rem;
}
.brand-text span {
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.header-tools { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.nav-desktop { display: none; align-items: center; gap: 0.15rem; }
@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none !important; }
}
@media (max-width: 959px) {
  .header-tools > .btn-quiet { display: none; } /* See All Portals is in the drawer */
}
.nav-desktop a, .nav-desktop button.nav-link {
  color: var(--ink); text-decoration: none; background: none; border: 0;
  font: inherit; font-weight: 500; font-size: 0.9rem;
  padding: 0.55rem 0.7rem; min-height: 44px;
  display: inline-flex; align-items: center; cursor: pointer;
  border-radius: 0.5rem;
}
.nav-desktop a:hover, .nav-desktop button.nav-link:hover { color: var(--gold); }
.div-menu { position: relative; }
.div-menu-panel {
  display: none; position: absolute; top: calc(100% + 0.35rem); left: 0;
  min-width: 18rem; padding: 0.5rem;
  background: var(--navy-2); border: 1px solid var(--line);
  border-radius: 0.85rem; box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  z-index: 50;
}
.div-menu:hover .div-menu-panel, .div-menu:focus-within .div-menu-panel,
.div-menu.is-open .div-menu-panel { display: block; }
.div-menu-panel a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; width: 100%; padding: 0.65rem 0.75rem;
  min-height: 44px; border-radius: 0.55rem; text-decoration: none; color: var(--ink);
  font-size: 0.9rem;
}
.div-menu-panel a:hover { background: rgba(251,191,36,0.1); color: var(--gold); }
.div-menu-panel .phase { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; min-height: 44px; padding: 0.55rem 1rem;
  border-radius: 0.7rem; font-weight: 700; font-size: 0.86rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; line-height: 1.2;
}
.btn-gold { background: linear-gradient(180deg, #fbbf24, #d97706); color: var(--obsidian) !important; }
.btn-gold:hover { filter: brightness(1.07); color: var(--obsidian) !important; }
.btn-outline {
  background: transparent; color: var(--gold-2) !important;
  border-color: rgba(251,191,36,0.45);
}
.btn-outline:hover { background: rgba(251,191,36,0.1); }
.btn-quiet { background: transparent; color: var(--ink) !important; border-color: rgba(255,255,255,0.16); font-weight: 600; }
.btn-quiet:hover { border-color: var(--gold); color: var(--gold) !important; }

.menu-toggle {
  width: 44px; height: 44px; border-radius: 0.6rem;
  background: var(--navy-3); border: 1px solid rgba(255,255,255,0.12);
  color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Mobile drawer */
.drawer-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(4,10,20,0.62); z-index: 45;
}
.drawer-backdrop.is-open { display: block; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(22rem, 92vw);
  background: var(--navy-2); z-index: 50; transform: translateX(100%);
  transition: transform 0.25s ease; display: flex; flex-direction: column;
  border-left: 1px solid var(--line); padding: 1rem 1.1rem 2rem;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.drawer nav a, .drawer nav button {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.6rem; width: 100%; min-height: 44px;
  padding: 0.65rem 0.4rem; color: var(--ink); text-decoration: none;
  background: none; border: 0; font: inherit; font-size: 1rem; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06); cursor: pointer;
}
.drawer nav a:hover, .drawer nav .sub a:hover { color: var(--gold); }
.drawer .sub { padding-left: 0.6rem; }
.drawer .sub a { font-size: 0.95rem; color: var(--muted); border-bottom-color: transparent; }
.drawer .sub a .phase {
  color: var(--muted); font-size: 0.72rem; letter-spacing: 0.06em;
  text-transform: uppercase; white-space: nowrap; opacity: 0.9;
}
.drawer-actions { display: grid; gap: 0.5rem; margin-top: 1.1rem; }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  min-height: min(78vh, 38rem);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { min-height: min(82vh, 42rem); } }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,25,47,0.25) 0%, rgba(10,25,47,0.45) 40%, rgba(10,25,47,0.94) 100%);
}
.hero-body { position: relative; z-index: 1; padding: 5.5rem 0 2.4rem; }
.eyebrow {
  color: var(--gold); font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600; margin: 0 0 0.7rem;
}
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.7rem, 4.6vw, 3.15rem);
  line-height: 1.18; letter-spacing: 0.01em;
  margin: 0 0 0.9rem; max-width: 22ch; color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero .lead { font-size: clamp(1rem, 2vw, 1.2rem); color: #dbe4f0; max-width: 38rem; margin: 0 0 1.4rem; }
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.status-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.1rem; }
.pill {
  display: inline-flex; align-items: center; padding: 0.28rem 0.65rem;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(10,25,47,0.55); color: var(--gold-2);
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
}
.concept-badge {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2;
  padding: 0.2rem 0.5rem; border-radius: 999px;
  background: rgba(0,0,0,0.7); color: #f1f5f9;
  font-size: 10px; font-weight: 600; letter-spacing: 0.04em; pointer-events: none;
}

/* Sections */
.section { padding: 3.2rem 0; }
.section + .section { border-top: 1px solid rgba(255,255,255,0.06); }
.section h2 {
  font-family: var(--display); font-size: clamp(1.45rem, 3vw, 2.05rem);
  margin: 0 0 0.5rem; letter-spacing: 0.02em;
}
.section .deck { color: var(--muted); max-width: 40rem; margin: 0 0 1.6rem; }

.paths { display: grid; gap: 1rem; }
@media (min-width: 768px) { .paths { grid-template-columns: 1fr 1fr 1fr; } }
.path-card, .note, .price-card, .about-block {
  background: var(--card); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem; padding: 1.15rem 1.2rem;
}
.path-card h3, .price-card h3 { margin: 0 0 0.35rem; font-size: 1.02rem; }
.path-card p, .note p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Division cards */
.div-grid { display: grid; gap: 1.1rem; }
@media (min-width: 700px) { .div-grid { grid-template-columns: 1fr 1fr; } }
.div-card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.15rem; overflow: hidden; color: inherit; text-decoration: none;
}
.div-card.is-featured { box-shadow: 0 10px 36px rgba(0,0,0,0.28); border-color: var(--line); }
@media (min-width: 900px) {
  .div-grid { grid-template-columns: 1fr 1fr; }
  .div-card.is-featured { grid-column: span 1; }
  .div-grid.is-lead { grid-template-columns: 1fr 1fr; }
}
.div-card-media { position: relative; aspect-ratio: 16/10; background: #08111c; overflow: hidden; }
.div-card-media img { width: 100%; height: 100%; object-fit: cover; }
.div-card-body { padding: 1.05rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.div-card h3 {
  font-family: var(--display); font-size: 1.25rem; margin: 0; color: #fff;
}
.div-card .one-liner { margin: 0; color: var(--muted); font-size: 0.95rem; flex: 1; }
.div-card-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.4rem; }
.div-card-actions .btn { flex: 1 1 10rem; }

.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.roadmap li {
  display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.8rem; align-items: start;
}
.roadmap .n {
  width: 2.2rem; height: 2.2rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(251,191,36,0.12); color: var(--gold); font-weight: 700; font-size: 0.85rem;
}
.roadmap p { margin: 0.15rem 0 0; color: var(--muted); }

.support {
  background: linear-gradient(180deg, #10233c, #0c1c31);
  border: 1px solid var(--line); border-radius: 1.15rem; padding: 1.4rem 1.35rem;
}
.support p { margin: 0 0 1rem; }

/* Division page */
.page-hero { position: relative; isolation: isolate; min-height: min(62vh, 28rem); display: flex; align-items: flex-end; overflow: hidden; }
.page-hero .hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sticky-cta {
  position: sticky; top: 4.25rem; z-index: 30;
  background: color-mix(in srgb, var(--navy) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.55rem 0;
}
.gallery { display: grid; gap: 0.8rem; }
@media (min-width: 700px) { .gallery { grid-template-columns: 1fr 1fr 1fr; } }
.gallery figure { margin: 0; position: relative; border-radius: 0.9rem; overflow: hidden; aspect-ratio: 4/3; background: #08111c; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.price-grid { display: grid; gap: 0.8rem; }
@media (min-width: 700px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-card .amt { color: var(--gold); font-weight: 700; margin: 0.15rem 0; }
.price-card .note { padding: 0; border: 0; background: none; color: var(--muted); font-size: 0.88rem; }

/* Forms */
.form label { display: block; font-size: 0.85rem; font-weight: 600; margin: 0 0 0.35rem; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 44px; padding: 0.65rem 0.8rem;
  border-radius: 0.7rem; border: 1px solid rgba(255,255,255,0.16);
  background: var(--obsidian); color: var(--ink); font: inherit;
}
.form textarea { min-height: 7rem; resize: vertical; }
.form .row { display: grid; gap: 0.8rem; }
@media (min-width: 640px) { .form .row-2 { grid-template-columns: 1fr 1fr; } }
.form .check { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; margin-top: 0.45rem; }
.form .check input { width: auto; min-height: 0; }
.form-status { margin-top: 0.9rem; padding: 0.8rem 1rem; border-radius: 0.8rem; display: none; }
.form-status.is-on { display: block; }
.form-status.is-ok { background: #0f2e22; border: 1px solid #34d399; color: #bbf7d0; }
.form-status.is-err { background: #3a1212; border: 1px solid #f87171; color: #fecaca; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2.4rem 0 1.6rem; color: var(--muted); font-size: 0.88rem;
}
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.3rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.7rem 1.1rem; }
.footer-links a { color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--gold); }
.legal { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: space-between; }

.not-found { padding: 5rem 0 4rem; text-align: left; }
.not-found h1 { font-family: var(--display); font-size: 2rem; }

[hidden], .is-hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
