:root {
  --bg-canvas: #171717;
  --bg-surface: rgba(41, 38, 34, 0.78);
  --bg-surface-solid: #292622;
  --bg-surface-hover: rgba(56, 51, 45, 0.92);
  --text-primary: #f4f1ea;
  --text-muted: #c2bbb0;
  --accent-primary: #d4a84b;
  --accent-secondary: #a87f2a;
  --gold-band-bg: #d4a84b;
  --gold-band-text: #171717;
  --border-subtle: rgba(212, 168, 75, 0.28);
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, 0.45);
  --glow-accent: 0 0 24px -4px rgba(212, 168, 75, 0.35);
  --glass-backdrop: blur(16px) saturate(160%);
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, Consolas, "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background-color: var(--bg-canvas); color: var(--text-primary); font-family: var(--font-body); line-height: 1.65; }
body { background-color: var(--bg-canvas); color: var(--text-primary); overflow-wrap: anywhere; hyphens: auto; min-height: 100vh; display: flex; flex-direction: column; }

img { max-width: 100%; height: auto; display: block; border-radius: 20px; object-fit: cover; }
a { color: var(--accent-primary); text-decoration: none; transition: color 0.25s var(--ease-kinetic); }
a:hover { color: #e8c374; }

.top-tagline-bar { background: #211e1a; border-bottom: 1px solid var(--border-subtle); padding: 0.45rem 1.5rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.04em; position: relative; }
.top-tagline-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }

.site-header { position: relative; background: var(--bg-canvas); border-bottom: 1px solid var(--border-subtle); padding: 1.1rem 1.5rem; z-index: 50; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand-link { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 700; font-size: 1.2rem; color: var(--text-primary); letter-spacing: -0.02em; text-align: left; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)); display: inline-flex; align-items: center; justify-content: center; color: #171717; font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem; }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { font-family: var(--font-mono); font-size: 0.88rem; color: var(--text-primary); position: relative; padding: 0.25rem 0; white-space: nowrap; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--accent-primary); transition: width 0.3s var(--ease-kinetic); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { width: 100%; }

.mobile-menu-btn { display: none; background: var(--bg-surface-solid); border: 1px solid var(--border-subtle); color: var(--text-primary); border-radius: 12px; padding: 0.45rem 0.75rem; font-size: 1.25rem; cursor: pointer; line-height: 1; }
.mobile-dropdown { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(23, 23, 23, 0.96); backdrop-filter: var(--glass-backdrop); border-bottom: 1px solid var(--border-subtle); padding: 1.25rem 1.5rem; flex-direction: column; gap: 0.85rem; z-index: 60; }
.mobile-dropdown.open { display: flex; }

.hero-band { position: relative; padding: 2.6rem 1.5rem 2rem; border-bottom: 1px solid var(--border-subtle); background: radial-gradient(circle at 25% 50%, rgba(212, 168, 75, 0.16), transparent 60%), var(--bg-canvas); }
.hero-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.hero-copy { max-width: 720px; }
.mono-label { font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-primary); display: inline-block; margin-bottom: 0.4rem; }
h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 0.75rem; color: var(--text-primary); }
.hero-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 65ch; margin-bottom: 1.1rem; }

.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent-primary); color: #171717; font-family: var(--font-mono); font-weight: 700; font-size: 0.9rem; padding: 0.75rem 1.4rem; border-radius: 20px; border: none; cursor: pointer; transition: transform 0.25s var(--ease-kinetic), box-shadow 0.25s var(--ease-kinetic); }
.btn-primary:hover { transform: translateY(-3px) scale(1.015); box-shadow: var(--shadow-elevation), var(--glow-accent); color: #171717; }
.link-expand { display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--font-mono); font-size: 0.88rem; color: var(--accent-primary); position: relative; padding-bottom: 2px; }
.link-expand::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30%; height: 1.5px; background: currentColor; transition: width 0.3s var(--ease-kinetic); }
.link-expand:hover::after { width: 100%; }

.pathway-container { max-width: 1200px; margin: 0 auto; padding: 2.5rem 1.5rem; position: relative; }
.pathway-stream { position: relative; padding-left: 3rem; }
.pathway-stream::before { content: ""; position: absolute; left: 1.05rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: linear-gradient(180deg, var(--accent-primary), rgba(212, 168, 75, 0.2), var(--accent-primary)); }

.pathway-section { position: relative; margin-bottom: 3.5rem; }
.pathway-section:last-child { margin-bottom: 1rem; }
.step-node { position: absolute; left: -3rem; top: 0.15rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--bg-surface-solid); border: 2px solid var(--accent-primary); color: var(--accent-primary); font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: var(--glow-accent); z-index: 2; }

.gold-band { background: var(--gold-band-bg); color: var(--gold-band-text); padding: 3rem 1.5rem; margin: 2rem 0; }
.gold-band .pathway-container { padding: 0; }
.gold-band h2, .gold-band h3, .gold-band p, .gold-band li, .gold-band th, .gold-band td { color: var(--gold-band-text); }
.gold-band .mono-label { color: #292622; font-weight: 700; }
.gold-band .glass-card { background: rgba(23, 23, 23, 0.88); color: var(--text-primary); border-color: rgba(23, 23, 23, 0.4); }
.gold-band .glass-card h3, .gold-band .glass-card p, .gold-band .glass-card li { color: var(--text-primary); }
.gold-band .link-expand { color: #171717; font-weight: 700; }
.gold-band .glass-card .link-expand { color: var(--accent-primary); }

h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); margin-bottom: 0.75rem; line-height: 1.25; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; line-height: 1.3; }
p { margin-bottom: 1rem; }
.prose-width { max-width: 70ch; }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.glass-card { background: var(--bg-surface); backdrop-filter: var(--glass-backdrop); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 1.5rem; transition: transform 0.3s var(--ease-kinetic), box-shadow 0.3s var(--ease-kinetic), background 0.3s var(--ease-kinetic); display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.glass-card:hover { transform: translateY(-5px) scale(1.01); box-shadow: var(--shadow-elevation), var(--glow-accent); background: var(--bg-surface-hover); }

.split-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.75rem; align-items: center; background: var(--bg-surface); backdrop-filter: var(--glass-backdrop); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 1.5rem; margin-top: 1.5rem; }
.aspect-16-9 { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: 20px; }
.aspect-4-3 { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 20px; }
.aspect-1-1 { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; border-radius: 20px; }

.silhouette-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.strip-item { background: rgba(23, 23, 23, 0.65); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 1.25rem; }
.strip-meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent-primary); display: block; margin-bottom: 0.35rem; }

.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: 20px; border: 1px solid var(--border-subtle); background: var(--bg-surface); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.92rem; }
th, td { padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--border-subtle); }
th { font-family: var(--font-mono); color: var(--accent-primary); background: rgba(23, 23, 23, 0.5); }

details.upkeep-drawer { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 1rem 1.35rem; margin-bottom: 0.85rem; transition: background 0.25s; }
details.upkeep-drawer[open] { background: var(--bg-surface-hover); }
details.upkeep-drawer summary { font-family: var(--font-mono); font-weight: 600; cursor: pointer; color: var(--text-primary); list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.upkeep-drawer summary::after { content: "+"; color: var(--accent-primary); font-size: 1.2rem; }
details.upkeep-drawer[open] summary::after { content: "−"; }
.drawer-body { padding-top: 0.85rem; color: var(--text-muted); border-top: 1px solid var(--border-subtle); margin-top: 0.75rem; }

.form-grid { display: grid; gap: 1.15rem; max-width: 680px; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
label { font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent-primary); }
input, select, textarea { background: rgba(23, 23, 23, 0.85); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 0.75rem 1rem; color: var(--text-primary); font-family: var(--font-body); font-size: 0.95rem; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-primary); border-color: transparent; }
.preview-box { background: #121110; border: 1px dashed var(--accent-primary); border-radius: 20px; padding: 1.25rem; font-family: var(--font-mono); font-size: 0.85rem; white-space: pre-wrap; color: var(--text-muted); margin-top: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1rem; }
.btn-secondary { background: transparent; border: 1px solid var(--accent-primary); color: var(--accent-primary); font-family: var(--font-mono); font-size: 0.85rem; padding: 0.65rem 1.2rem; border-radius: 20px; cursor: pointer; }
.btn-secondary:hover { background: rgba(212, 168, 75, 0.15); }

.reveal-item { opacity: 1; transform: translateY(0); transition: opacity 0.65s var(--ease-kinetic), transform 0.65s var(--ease-kinetic); }
.js-enabled .reveal-item { opacity: 0; transform: translateY(18px); }
.js-enabled .reveal-item.reveal-visible { opacity: 1; transform: translateY(0); }

.site-footer { margin-top: auto; background: #11100e; border-top: 1px solid var(--border-subtle); padding: 3rem 1.5rem 2rem; font-size: 0.9rem; color: var(--text-muted); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.footer-col h4 { font-family: var(--font-mono); color: var(--accent-primary); font-size: 0.85rem; margin-bottom: 0.75rem; text-transform: uppercase; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(212, 168, 75, 0.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.82rem; }

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .split-card { grid-template-columns: 1fr; }
  .pathway-stream { padding-left: 2.2rem; }
  .pathway-stream::before { left: 0.75rem; }
  .step-node { left: -2.2rem; width: 1.7rem; height: 1.7rem; font-size: 0.72rem; }
}
@media (max-width: 480px) {
  .top-tagline-inner { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .hero-band { padding: 1.8rem 1rem 1.5rem; }
  .pathway-container { padding: 1.8rem 1rem; }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
