/* ===================================================================
   SARION CORTEX — The Sovereign Mind
   Bespoke Cognitive Architecture (€90,000 – €150,000)
   Anti-Factory Aesthetic: Deep #0A0A0A, Cormorant Garamond, 1px Gold (#D4AF37)
   =================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #0A0A0A;
  --bg-surface: #0E1013;
  --bg-card: #121418;
  --bg-card-hover: #161920;
  --ink: #EEF3F7;
  --muted: #9DB0BF;
  --muted-dim: #6B7C8C;
  --gold: #D4AF37;
  --gold-strong: #E5C358;
  --gold-dim: rgba(212, 175, 55, 0.16);
  --gold-border: rgba(212, 175, 55, 0.22);
  --gold-border-hover: rgba(212, 175, 55, 0.55);
  --hair: rgba(238, 243, 247, 0.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --gutter: 1.5rem;
  --maxw: 1240px;
}

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

html {
  background-color: var(--bg);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.45) #0A0A0A;
}

html::-webkit-scrollbar {
  width: 9px;
}
html::-webkit-scrollbar-track {
  background: #0A0A0A;
}
html::-webkit-scrollbar-thumb {
  background-color: rgba(212, 175, 55, 0.4);
  border-radius: 6px;
  border: 2px solid #0A0A0A;
}
html::-webkit-scrollbar-thumb:hover {
  background-color: var(--gold);
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

/* Lenis smooth scroll */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* Subtle Film Grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Fixed Canvas for 'The Sovereign Mind' */
.cortex-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

header, main, footer {
  position: relative;
}

header.top,
.top {
  position: relative;
  z-index: 100;
}

main,
footer {
  z-index: 1;
}

.wrap {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
  position: relative;
}

/* Skip link */
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #0A0A0A;
  padding: 0.6rem 1.2rem;
  font-weight: 500;
  z-index: 1000;
}
.skip:focus {
  left: var(--gutter);
  top: var(--gutter);
}

/* Header & Navigation */
.top,
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.6rem;
  position: relative;
  z-index: 50;
}

.brand-group {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.brand-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 0.15rem;
}

.brand-core {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: 0.28em;
  color: var(--ink);
}

.brand-sub {
  font-family: monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: 0.32em;
  text-decoration: none;
  color: var(--ink);
  padding-left: 0.32em;
}

.cortex-mark {
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  vertical-align: middle;
  padding-left: 0.4rem;
}

.nav,
.top-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.88rem;
}

.nav a,
.top-nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover,
.top-nav a:hover {
  color: var(--ink);
}

.btn-nav,
.nav-advisory-btn {
  padding: 0.45rem 1.15rem;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  color: var(--gold) !important;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn-nav:hover,
.nav-advisory-btn:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-strong) !important;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 0.2rem 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}
.lang a, .lang span {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  text-decoration: none;
}
.lang a[aria-current="true"],
.lang span[aria-current="true"] {
  background: var(--hair);
  color: var(--ink);
}
.lang-divider {
  color: var(--muted-dim);
  user-select: none;
  padding-inline: 0.1rem;
}

/* Shared site menu */
.site-menu {
  position: relative;
}
.site-menu summary {
  cursor: pointer;
  list-style: none;
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  margin: -0.45rem -0.25rem;
  border-radius: 6px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s, background-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.site-menu summary::-webkit-details-marker {
  display: none;
}
.site-menu summary::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.site-menu[open] summary::after {
  transform: rotate(-135deg) translateY(-1px);
}
.site-menu summary:hover,
.site-menu[open] summary {
  color: var(--ink);
  background: rgba(238, 243, 247, 0.05);
}
.site-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-menu > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.8rem);
  min-width: 15rem;
  max-width: min(20rem, calc(100vw - 2 * var(--gutter)));
  background: rgba(17, 19, 23, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 0.6rem 0;
  box-shadow: 0 20px 48px -6px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(212, 175, 55, 0.12);
  max-height: min(75vh, 480px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.35) transparent;
  z-index: 200;
}
.site-menu > ul::-webkit-scrollbar {
  width: 5px;
}
.site-menu > ul::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.35);
  border-radius: 4px;
}
.site-menu li a,
.site-menu li > span {
  display: block;
  padding: 0.45rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}
.site-menu li a {
  color: var(--muted);
}
.site-menu li a:hover,
.site-menu li a:focus-visible {
  color: var(--ink);
  background: rgba(212, 175, 55, 0.08);
}
.site-menu .group {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(238, 243, 247, 0.06);
}
.site-menu .group:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.site-menu .group > span {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.site-menu .group ul a {
  padding-left: 1.75rem;
}

/* Typography & General Sections */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  margin: 0;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(3rem, 7.5vw, 5.8rem);
}
h2 {
  font-size: clamp(2.3rem, 5.4vw, 3.8rem);
}
h3 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
}
h4 {
  font-size: 1.35rem;
}

em {
  font-style: italic;
  color: var(--gold-strong);
}

p {
  margin: 0 0 1.2em;
}

.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.8;
}
.center-eyebrow {
  justify-content: center;
}
.center-eyebrow::before,
.center-eyebrow::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.8;
}

.rule {
  border: 0;
  border-top: 1px solid var(--hair);
  margin: 0;
}

.section {
  padding-block: clamp(5.5rem, 12vw, 9.5rem);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn.solid,
.gold-btn {
  background: var(--gold);
  color: #0A0A0A !important;
  border: 1px solid var(--gold);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}
.btn.solid:hover,
.gold-btn:hover {
  background: var(--gold-strong);
  border-color: var(--gold-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}

.btn.outline,
.outline-btn {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--gold-border);
}
.btn.outline:hover,
.outline-btn:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
  transform: translateY(-2px);
}

.large-btn {
  min-height: 3.6rem;
  padding: 1rem 2.8rem;
  font-size: 1.05rem;
}

.btn-block {
  display: block;
  text-align: center;
  width: 100%;
}

/* ===================================================================
   HERO: The Sovereign Neural Substrate (2-Column Desktop Grid)
   =================================================================== */
.cortex-hero {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem) clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}

.cortex-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .cortex-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: center;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cortex-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.eyebrow-line {
  width: 45px;
  height: 1px;
  background: var(--gold);
  opacity: 0.85;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero-subhead {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 1.4rem;
}

.hero-subhead em {
  font-style: italic;
  color: var(--gold-strong);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 44rem;
  margin-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold-strong);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 2.2rem;
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.schematic-container {
  width: 100%;
  max-width: 680px;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.06) 0%, rgba(14, 16, 19, 0.95) 75%);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.06);
  position: relative;
  overflow: hidden;
}

.schematic-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6));
}

/* ===================================================================
   AXIOMS STRIP
   =================================================================== */
.cortex-axioms-section {
  padding-block: 3.5rem;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: rgba(14, 16, 19, 0.6);
}

.cortex-axioms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cortex-axioms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cortex-axioms-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cortex-axiom-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.cortex-axiom-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-border-hover);
  background: var(--bg-card);
}

.axiom-num {
  font-family: monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.axiom-label {
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.axiom-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ===================================================================
   CORTEX SECTIONS & HEADERS
   =================================================================== */
.cortex-section {
  padding-block: clamp(5rem, 10vw, 8.5rem);
  position: relative;
}

.cortex-section.alt-bg {
  background: rgba(14, 16, 19, 0.6);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.section-header {
  max-width: 820px;
  margin-bottom: 3.5rem;
}

.section-kicker {
  display: block;
  font-family: monospace;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 1.2rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold-strong);
}

.section-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
}

/* ===================================================================
   CHAPTER I: APPLIANCES GRID
   =================================================================== */
.appliances-kicker-bar {
  margin-bottom: 2rem;
  font-family: monospace;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
  border-bottom: 1px solid var(--hair);
  padding-bottom: 0.8rem;
}

.cortex-appliances-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

@media (min-width: 640px) {
  .cortex-appliances-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cortex-appliances-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cortex-appliance-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 2.4rem 1.8rem;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.cortex-appliance-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border-hover);
  background: var(--bg-card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.08);
}

.app-num {
  font-family: monospace;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.app-header {
  margin-bottom: 1rem;
}

.app-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.app-price {
  font-family: monospace;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
}

.app-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
  flex-grow: 1;
  margin-bottom: 1.8rem;
}

.app-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.cortex-appliance-card:hover .app-cta {
  transform: translateX(4px);
  color: var(--gold-strong);
}

/* ===================================================================
   CHAPTER II & III: FEATURES & DOMAINS GRIDS
   =================================================================== */
.cortex-features-grid,
.cortex-domains-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 860px) {
  .cortex-features-grid,
  .cortex-domains-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cortex-feature-card,
.cortex-domain-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 2.6rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.cortex-feature-card:hover,
.cortex-domain-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-border-hover);
  background: var(--bg-card);
}

.feature-tag,
.domain-tag {
  font-family: monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.feature-title,
.domain-title {
  font-family: var(--serif);
  font-size: 1.65rem;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.feature-desc,
.domain-desc {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.integration-bus-visual {
  margin-bottom: 3.5rem;
}
.integration-bus-visual .schematic-container {
  max-width: 880px;
  margin-inline: auto;
}

/* ===================================================================
   INTAKE SECTION: ADVISORY & CONSULTATION
   =================================================================== */
.intake-portals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .intake-portals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.intake-portal-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 3rem 2.4rem;
  display: flex;
  flex-direction: column;
}

.portal-title {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 1rem;
}

.portal-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  flex-grow: 1;
  margin-bottom: 2.2rem;
}

.channels-box {
  background: #0D0E12;
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 2.8rem 2.2rem;
}

.channels-header {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.channels-subheader {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

@media (min-width: 640px) {
  .channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .channels-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 1.3rem;
  background: rgba(18, 20, 25, 0.8);
  border: 1px solid var(--hair);
  border-radius: 10px;
}

.channel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.35rem;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--gold);
}

.channel-info {
  display: flex;
  flex-direction: column;
}

.channel-name {
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.channel-detail {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.channels-cta-wrapper {
  text-align: center;
  border-top: 1px solid var(--hair);
  padding-top: 1.8rem;
}

.channels-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

.channels-link:hover {
  color: var(--gold-strong);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.cortex-footer {
  border-top: 1px solid var(--hair);
  padding-block: 4.5rem 3.5rem;
  background: #080809;
}

.footer-top-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-top-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }
}

.footer-brand-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: 0.24em;
  color: var(--ink);
  display: block;
  margin-bottom: 0.4rem;
}

.footer-made {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.footer-made a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  font-size: 0.9rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-bottom-row {
  border-top: 1px solid var(--hair);
  padding-top: 2rem;
}

.footer-legal {
  font-size: 0.82rem;
  color: var(--muted-dim);
  line-height: 1.6;
  max-width: 64rem;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .site-menu {
    position: static;
  }
  .site-menu > ul {
    right: 0;
    left: auto;
    top: calc(100% + 0.5rem);
    width: min(18.5rem, 100%);
    max-width: calc(100vw - 2 * var(--gutter));
  }
}

@media (max-width: 500px) {
  .top .btn-nav,
  .top-bar .nav-advisory-btn {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
}
