/* =========================================================
   Obsidian Core™ — Ultra-Minimal Luxury / Classified System
   ========================================================= */

:root {
  --bg: #0B0D10;
  --panel: rgba(231,231,231,0.035);
  --hairline: rgba(231,231,231,0.10);
  --text: #E7E7E7;
  --muted: rgba(231,231,231,0.68);
  --faint: rgba(231,231,231,0.45);

  /* Cold signal accent — use sparingly */
  --signal: rgba(160,210,255,0.35);

  --maxw: 980px;
  --padx: 28px;
  --pady: 44px;
  --radius: 14px;

  --font: ui-sans-serif, system-ui, -apple-system,
          Segoe UI, Roboto, Arial, sans-serif;
}

/* Reset / base */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a { color: inherit; text-decoration: none; }

/* Layout */
.wrap {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Navigation — restrained, right aligned */
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--padx);
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.nav a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 10px 8px;
  border-radius: 10px;
}

.nav a:hover {
  color: var(--muted);
  box-shadow:
    0 0 0 1px rgba(231,231,231,0.07) inset,
    0 0 18px var(--signal);
}

/* Main container */
.main {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  padding: var(--pady) var(--padx) 72px;
}

/* Hero */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}

.h1 {
  font-size: 46px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.08;
}

.sub {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.6;
}

/* Buttons */
.stack {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(231,231,231,0.12);
  background: rgba(231,231,231,0.03);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: box-shadow 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(231,231,231,0.18);
  box-shadow:
    0 0 0 1px rgba(231,231,231,0.07) inset,
    0 0 22px var(--signal);
}

.btn.secondary {
  background: transparent;
  color: var(--muted);
  border-color: rgba(231,231,231,0.08);
}

/* Divider */
.hr {
  height: 1px;
  background: rgba(231,231,231,0.08);
  margin: 34px 0;
}

/* Text blocks */
.p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 70ch;
}

/* Notice / protocol block */
.notice {
  border: 1px solid rgba(231,231,231,0.10);
  background: rgba(231,231,231,0.02);
  border-radius: var(--radius);
  padding: 16px;
  line-height: 1.65;
}

.notice .title {
  font-size: 12px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

/* Footer */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  padding: 24px var(--padx) 34px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

/* Motion */
.fade-in {
  animation: fadeIn 220ms ease-out both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* Logo — restrained, non-dominant */
.logo {
  width: 96px;
  height: auto;
  opacity: 0.85;
}

/* Primary trademark logo */
.logo {
  width: 140px;
  height: auto;
  margin-bottom: 22px;
}

/* Global brand header (logo as primary mark) */
.brand {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--padx) 0;
  display: flex;
  justify-content: center;
}

.brand a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 140px;   /* global size: clearly visible */
  height: auto;
}

/* Homepage can be larger */
.brand-logo.hero {
  width: 200px;   /* opening page size: dominant */
  margin-bottom: 14px;
}

/* Brand emphasis colors */
.brand-gold {
  color: #D4AF37; /* restrained gold */
}

.brand-blue {
  color: #4FA3FF; /* Obsidian Core blue */
}

/* Bio text refinement */
.bio-primary {
  color: #E6E8EC; /* high-contrast off-white */
}

.bio-secondary {
  color: #A9AFB8; /* refined steel gray */
}

/* Home page hero logo */
.home-logo {
  max-width: 260px;
  margin: 48px auto 24px;
  display: block;
}

/* Global header logo (all pages) */
.header-logo {
  max-width: 140px;
}

/* Operational status emphasis */
.status-warning {
  color: #D16C6C; /* restrained operational red */
  border-left: 3px solid #D16C6C;
  padding-left: 12px;
}

/* Primary action button (gold) */
.btn-primary {
  background: #D4AF37;
  color: #0E1116;
  border: none;
}

.btn-primary:hover {
  background: #C9A634;
}

/* Secondary action button (Obsidian blue) */
.btn-secondary {
  background: transparent;
  color: #4FA3FF;
  border: 1px solid #4FA3FF;
}

.btn-secondary:hover {
  background: rgba(79, 163, 255, 0.08);
}

/* Operational Status — global emphasis (all pages) */
.notice.status {
  border-left: 3px solid #D16C6C;
}

.notice.status .title {
  color: #D16C6C;
}

.notice.status .p,
.notice.status p {
  color: #D16C6C;
}

/* Buttons — global brand colors */
.btn.btn-primary {
  background: #D4AF37;
  color: #0E1116;
  border: none;
}

.btn.btn-primary:hover {
  background: #C9A634;
}

.btn.btn-secondary {
  background: transparent;
  color: #4FA3FF;
  border: 1px solid #4FA3FF;
}

.btn.btn-secondary:hover {
  background: rgba(79, 163, 255, 0.08);
}

/* Home hero divider */
.hero-divider {
  width: 64px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #4FA3FF,
    transparent
  );
  margin: 28px auto;
  opacity: 0.6;
}

/* Home content breathing room */
.home-section {
  margin-top: 48px;
}
