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

:root {
  --bg-obsidian: #050509;
  --bg-deep: #0d0f1a;
  --bg-panel: #1b1f33;
  --gold: #d1a85a;
  --text-main: #f5f3e8;
  --text-muted: #7c8199;
  --eko-teal: #2de3c3;
  --border-subtle: #252a3b;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 26px 80px rgba(0, 0, 0, 0.7);
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #101325, #020308 60%);
  color: var(--text-main);
  line-height: 1.6;
}

.page {
  min-height: 100vh;
}

/* Containers */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at top, #151933, #050509 55%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(45,227,195,0.18), transparent 60%),
    radial-gradient(circle at bottom, rgba(209,168,90,0.08), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 4rem 1.5rem 5rem;
}

.hero-beam {
  position: absolute;
  top: -30vh;
  left: 50%;
  width: 2px;
  height: 60vh;
  background: linear-gradient(to bottom, transparent, rgba(209,168,90,0.6), transparent);
  transform: translateX(-50%);
  filter: blur(0.5px);
  animation: beamPulse 5s infinite alternate;
}

@keyframes beamPulse {
  from { opacity: 0.4; }
  to { opacity: 0.9; }
}

.hero-title-block {
  backdrop-filter: blur(20px);
  background: linear-gradient(145deg, rgba(5,5,9,0.85), rgba(15,17,32,0.92));
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: var(--shadow-soft);
  padding: 2.8rem 2rem 2.4rem;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 2.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--gold), #f3d493);
  color: #120b04;
  box-shadow: 0 16px 45px rgba(0,0,0,0.55);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

.btn.ghost {
  border: 1px solid rgba(209,168,90,0.6);
  color: var(--text-main);
  background: radial-gradient(circle at top left, rgba(45,227,195,0.12), transparent);
}

.btn.ghost:hover {
  border-color: var(--eko-teal);
  box-shadow: 0 0 0 1px rgba(45,227,195,0.35);
}

/* Sections */

.section {
  padding: 4.5rem 0;
  background: transparent;
}

.section-dark {
  background: radial-gradient(circle at top, #151933, #03040a 60%);
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 1.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.section-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 2.5rem;
}

/* Mandate Pillars */

.pillars-3,
.pillars-4 {
  display: grid;
  gap: 1.5rem;
}

.pillars-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pillars-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.pillar-card {
  background: linear-gradient(145deg, rgba(15,17,32,0.96), rgba(5,5,9,0.98));
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem 1.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 55px rgba(0,0,0,0.65);
}

.pillar-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Realms */

.realm-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.realm-card {
  position: relative;
  background: radial-gradient(circle at top left, rgba(45,227,195,0.14), rgba(12,14,29,0.98));
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.8rem;
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid rgba(255,255,255,0.03);
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0,0,0,0.75);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.realm-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at top, rgba(45,227,195,0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.realm-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.realm-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.realm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 80px rgba(0,0,0,0.9);
  border-color: rgba(45,227,195,0.5);
}

.realm-card:hover::before {
  opacity: 1;
}

/* EKO Portal */

.eko-portal {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  align-items: center;
}

.eko-visual {
  display: flex;
  justify-content: center;
}

.eko-iris {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(209,168,90,0.5);
  background: radial-gradient(circle, #050509, #020308);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 26px 80px rgba(0,0,0,0.9);
}

.eko-iris::before {
  content: "";
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  border: 1px solid rgba(45,227,195,0.4);
  filter: blur(1px);
}

.eko-core {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--eko-teal), #020308);
  box-shadow:
    0 0 40px rgba(45,227,195,0.7),
    0 0 80px rgba(45,227,195,0.45);
  animation: ekoPulse 3.4s infinite ease-in-out;
}

@keyframes ekoPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.07); opacity: 1; }
}

.eko-copy p {
  margin-bottom: 1rem;
}

.portal-status {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.6rem;
  background: var(--eko-teal);
  box-shadow: 0 0 8px rgba(45,227,195,0.8);
}

/* Founder */

.founder {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
}

.founder-visual {
  display: flex;
  justify-content: center;
}

.founder-silhouette {
  position: relative;
  width: 230px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle at top, #20263d, #050509);
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(0,0,0,0.95);
}

.founder-silhouette::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: inherit;
  background: radial-gradient(circle at top, rgba(45,227,195,0.12), transparent 55%);
  opacity: 0.6;
}

.founder-silhouette::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: 50%;
  width: 70%;
  height: 55%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at top, #050509, transparent 65%);
}

.founder .beam {
  position: absolute;
  top: -15%;
  left: 50%;
  width: 3px;
  height: 60%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(209,168,90,0.2), rgba(209,168,90,0.7), transparent);
  filter: blur(0.7px);
}

/* Ledger */

.ledger-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ledger-card {
  background: linear-gradient(150deg, rgba(10,12,26,0.98), rgba(5,5,9,1));
  border-radius: var(--radius-md);
  padding: 1.4rem 1.4rem 1.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 22px 70px rgba(0,0,0,0.8);
}

.ledger-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.98rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.ledger-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Vaults */

.vault-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.vault-card {
  background: radial-gradient(circle at top, rgba(209,168,90,0.18), rgba(10,10,16,0.98));
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 24px 75px rgba(0,0,0,0.88);
}

.vault-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

/* Footer */

.footer {
  background: #020208;
  border-top: 1px solid #141424;
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  text-align: center;
}

.footer-line {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-meta {
  font-size: 0.8rem;
  color: #5e637b;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-title-block {
    padding: 2.3rem 1.5rem 2.2rem;
  }
  .eko-portal,
  .founder {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.2rem 0;
  }
  .hero {
    min-height: 90vh;
  }
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .section-lead {
    font-size: 0.96rem;
  }
}
/* ===========================
   RAILS PAGE LAYOUT
   =========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5,5,9,0.96), rgba(5,5,9,0.88));
  border-bottom: 1px solid #111323;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.92rem;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(209,168,90,0.75);
  box-shadow: 0 0 12px rgba(209,168,90,0.45);
}

.brand-text {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
  font-size: 0.86rem;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

/* PAGE HERO (RAILS) */

.page-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at top, #171b3a, #050509 60%);
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(45,227,195,0.22), transparent 60%),
    radial-gradient(circle at bottom, rgba(209,168,90,0.16), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 800px;
  padding: 0 1.5rem 0;
}

.page-hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.page-hero-title {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: 1rem;
  color: var(--text-main);
  max-width: 650px;
}

/* DUAL RAIL BLOCK */

.rail-dual-layout {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1.2rem;
}

.rail-dual-card {
  background: linear-gradient(145deg, rgba(15,17,32,0.96), rgba(5,5,9,0.98));
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem 1.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 22px 70px rgba(0,0,0,0.8);
}

.rail-dual-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.96rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

/* RAIL CARDS */

.rail-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.rail-card {
  background: linear-gradient(155deg, rgba(10,12,26,0.98), rgba(5,5,9,1));
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.7rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 24px 80px rgba(0,0,0,0.9);
}

.rail-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.rail-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rail-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.rail-tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  border: 1px solid rgba(209,168,90,0.6);
  color: var(--gold);
  background: radial-gradient(circle at top left, rgba(209,168,90,0.18), transparent);
}

.rail-tag-alt {
  border-color: rgba(45,227,195,0.7);
  color: var(--eko-teal);
  background: radial-gradient(circle at top left, rgba(45,227,195,0.12), transparent);
}

.rail-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rail-block {
  padding-top: 0.2rem;
}

.rail-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.rail-text {
  font-size: 0.92rem;
  color: var(--text-main);
}

/* FUTURE LIST */

.rails-future-list {
  list-style: none;
  margin: 0;
  padding-left: 1.1rem;
}

.rails-future-list li {
  position: relative;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.rails-future-list li::before {
  content: "•";
  position: absolute;
  left: -0.9rem;
  color: var(--eko-teal);
}

/* Responsive tweaks */

@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .nav-links {
    gap: 0.9rem;
  }
  .page-hero {
    padding: 3.4rem 0 2.6rem;
  }
  .page-hero-title {
    font-size: 1.7rem;
  }
}
/* ===========================
   EKO PAGE STYLES
   =========================== */

.eko-hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: radial-gradient(circle, #0f132b, #050509 70%);
}

.eko-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(45,227,195,0.18), transparent 70%),
    radial-gradient(circle at bottom, rgba(209,168,90,0.12), transparent 70%);
}

.eko-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 780px;
  text-align: left;
  padding: 0 1.4rem;
}

.eko-eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.eko-title {
  font-family: 'Cinzel', serif;
  font-size: 2.3rem;
  margin: 0.6rem 0 1rem;
  letter-spacing: 0.14em;
}

.eko-subtitle {
  font-size: 1rem;
  color: var(--text-main);
  max-width: 650px;
}

/* GRID CARDS */

.eko-core-grid,
.eko-modes-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1.4rem;
}

.eko-core-card,
.eko-mode-card {
  padding: 1.6rem 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(155deg, rgba(10,12,26,0.98), rgba(5,5,9,1));
  box-shadow: 0 22px 70px rgba(0,0,0,0.85);
}

.eko-core-card h3,
.eko-mode-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.6rem;
}

.eko-core-card p,
.eko-mode-card p {
  color: var(--text-main);
  font-size: 0.92rem;
}

/* CONTINUITY BLOCK */

.continuity-block {
  margin-top: 1.4rem;
  padding: 1.5rem 1.4rem;
  background: rgba(15,17,32,0.8);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 60px rgba(0,0,0,0.75);
}

.eko-future-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding-left: 1.2rem;
}

.eko-future-list li {
  position: relative;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.eko-future-list li::before {
  content: "•";
  position: absolute;
  left: -0.9rem;
  color: var(--eko-teal);
}
/* ===========================
   BOOKS / ARMORY PAGE
   =========================== */

.books-hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: radial-gradient(circle, #131630, #050509 70%);
}

.books-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(209,168,90,0.16), transparent 70%),
    radial-gradient(circle at bottom, rgba(45,227,195,0.12), transparent 70%);
}

.books-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 800px;
  text-align: left;
  padding: 0 1.4rem;
}

.books-eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.books-title {
  font-family: 'Cinzel', serif;
  font-size: 2.3rem;
  letter-spacing: 0.14em;
  margin: 0.6rem 0 1rem;
}

.books-subtitle {
  font-size: 1rem;
  color: var(--text-main);
  max-width: 650px;
}

/* VAULT CARDS */

.vault-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1.4rem;
}

.vault-card {
  padding: 1.5rem 1.4rem;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(10,12,26,0.98), rgba(5,5,9,1));
  border: 1px solid var(--border-subtle);
  box-shadow: 0 22px 70px rgba(0,0,0,0.8);
}

.vault-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.6rem;
}

/* PORTAL GRID */

.portal-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1.4rem;
}

.portal-tile {
  padding: 1.6rem 1.4rem;
  background: rgba(10,12,24,0.98);
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-main);
  display: block;
  position: relative;
  transition: 0.25s ease;
  box-shadow: 0 22px 70px rgba(0,0,0,0.75);
}

.portal-tile:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 26px 90px rgba(0,0,0,0.9);
}

.portal-tile h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.portal-tile p {
  font-size: 0.9rem;
  color: var(--text-main);
}

/* END BOOKS PAGE */
/* ===========================
   ARCHITECT PAGE
   =========================== */

.architect-hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: radial-gradient(circle, #15182f, #050509 70%);
}

.architect-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(209,168,90,0.18), transparent 70%),
    radial-gradient(circle at bottom, rgba(45,227,195,0.12), transparent 70%);
}

.architect-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 1.4rem;
  text-align: left;
}

.architect-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.architect-title {
  font-family: 'Cinzel', serif;
  font-size: 2.3rem;
  margin: 0.7rem 0 1rem;
  letter-spacing: 0.14em;
}

.architect-subtitle {
  font-size: 1rem;
  color: var(--text-main);
  max-width: 650px;
}

/* ORIGIN GRID */

.architect-origin-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1.4rem;
}

.architect-origin-card {
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(10,12,26,0.98);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 22px 70px rgba(0,0,0,0.8);
}

.architect-origin-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.6rem;
}

/* CONTINUITY BLOCK */

.architect-continuity-block {
  padding: 1.6rem;
  background: rgba(15,17,32,0.8);
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 70px rgba(0,0,0,0.75);
  margin-top: 1.4rem;
}

.continuity-quote {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin: 0.8rem 0;
}

/* PILLARS */

.pillars-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1.4rem;
}

.pillar-card {
  padding: 1.5rem;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(15,17,32,0.98), rgba(5,5,9,1));
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.pillar-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.18em;
}

/* ORIGIN CODE */

.origin-code-box {
  padding: 2rem;
  text-align: center;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: rgba(10,12,24,0.85);
  box-shadow: 0 28px 90px rgba(0,0,0,0.9);
  margin-top: 1.4rem;
}

.origin-code {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 0.25em;
}

.origin-code-caption {
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* OATH */

.oath-block {
  padding: 1.6rem;
  background: rgba(15,17,32,0.85);
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 70px rgba(0,0,0,0.75);
  margin-top: 1.4rem;
}