/* =========================================================
   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;
}

/* Landing page (index) */
.hero--landing {
  min-height: auto;
  padding-top: 8px;
  align-items: center;
  text-align: center;
}

.hero--landing .home-logo {
  margin-top: 8px;
  margin-bottom: 20px;
}

.oc-lead {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.oc-status .p {
  max-width: none;
}

.oc-section {
  max-width: 70ch;
}

.oc-h2 {
  font-size: 22px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
  line-height: 1.2;
}

.oc-prose + .oc-prose {
  margin-top: 12px;
}

.list {
  margin: 0;
  padding-left: 1.25em;
  color: var(--muted);
  line-height: 1.75;
}

.nav--landing {
  justify-content: flex-start;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
}

.nav--sub {
  padding-top: 18px;
  padding-bottom: 0;
}

.nav--sub a[aria-current="page"] {
  color: var(--text);
  box-shadow:
    0 0 0 1px rgba(231,231,231,0.07) inset,
    0 0 18px var(--signal);
}

.hero--subpage {
  min-height: auto;
  padding-top: 8px;
}

.h1--compact {
  font-size: 34px;
}

.oc-prose--inset {
  margin-bottom: 12px;
}

.oc-footer {
  letter-spacing: 0.06em;
}

/* Request inquiry modal */
body.oc-modal-open {
  overflow: hidden;
}

.oc-modal[hidden] {
  display: none !important;
}

.oc-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px var(--padx);
}

.oc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(4px);
}

.oc-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(92vh, 860px);
  overflow: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: #101318;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  padding: 24px 22px 22px;
}

.oc-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(231, 231, 231, 0.12);
  border-radius: 10px;
  background: rgba(231, 231, 231, 0.04);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.oc-modal__close:hover {
  color: var(--text);
  border-color: rgba(231, 231, 231, 0.2);
}

.oc-modal__title {
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 36px 14px 0;
  line-height: 1.3;
}

.oc-modal__disclaimer {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(209, 108, 108, 0.25);
  border-left: 3px solid #d16c6c;
  border-radius: 10px;
  background: rgba(209, 108, 108, 0.06);
}

.oc-modal__disclaimer-title {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d16c6c;
}

.oc-modal__disclaimer-list {
  margin: 0;
  padding-left: 1.15em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.oc-form {
  display: grid;
  gap: 14px;
}

.oc-form__field {
  display: grid;
  gap: 6px;
}

.oc-form__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.oc-form__input,
.oc-form__textarea {
  width: 100%;
  border: 1px solid rgba(231, 231, 231, 0.14);
  border-radius: 10px;
  background: rgba(231, 231, 231, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 10px 12px;
}

.oc-form__textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.55;
}

.oc-form__input:focus,
.oc-form__textarea:focus {
  outline: none;
  border-color: rgba(79, 163, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(79, 163, 255, 0.25);
}

.oc-form__input[aria-invalid="true"],
.oc-form__textarea[aria-invalid="true"] {
  border-color: rgba(209, 108, 108, 0.65);
}

.oc-form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.oc-form__check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.oc-form__errors {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(209, 108, 108, 0.35);
  background: rgba(209, 108, 108, 0.08);
  color: #e8b4b4;
  font-size: 13px;
  line-height: 1.55;
}

.oc-form__errors[hidden] {
  display: none;
}

.oc-form__status {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(79, 163, 255, 0.35);
  background: rgba(79, 163, 255, 0.08);
  color: #b9d9ff;
  font-size: 13px;
  line-height: 1.55;
}

.oc-form__status[hidden] {
  display: none;
}

.oc-form__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.oc-form__actions .btn {
  cursor: pointer;
  font: inherit;
}

.oc-request-fallback {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 70ch;
}

.oc-form__visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.oc-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.oc-form__status--error {
  border-color: rgba(209, 108, 108, 0.35);
  background: rgba(209, 108, 108, 0.08);
  color: #e8b4b4;
}

.oc-form__actions .btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
