/* ============================================
   Guide Wealth Management — site stylesheet
   Dark mode + warm gold
   ============================================ */

:root {
  /* Base palette */
  --bg: #0e0e0f;
  --bg-elev: #161618;
  --bg-card: #1a1a1c;
  --paper: #f4ede0;
  --paper-soft: rgba(244, 237, 224, 0.78);
  --paper-mute: rgba(244, 237, 224, 0.55);
  --paper-faint: rgba(244, 237, 224, 0.18);
  --rule: rgba(244, 237, 224, 0.12);
  --rule-strong: rgba(244, 237, 224, 0.28);

  /* Accent */
  --gold: #c89968;
  --gold-bright: #e0b87f;
  --gold-deep: #9c7245;

  /* Layout */
  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Type */
  --display: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;

  /* Transitions */
  --trans-fast: 0.2s ease;
  --trans-base: 0.25s ease;
  --trans-diagram: 0.15s ease;

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.25rem;
  --space-xl: 1.5rem;
  --space-2xl: 2rem;
  --space-3xl: 2.5rem;
  --space-4xl: 3rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--paper);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

::selection { background: var(--gold); color: var(--bg); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ========== UTILITY PATTERNS ========== */
.text-uppercase {
  text-transform: uppercase;
}

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

.transition-fast {
  transition: all var(--trans-fast);
}

.transition-base {
  transition: all var(--trans-base);
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  animation: revealIn 0.8s ease forwards;
}

.reveal-1 {
  animation-delay: 0s;
}

.reveal-2 {
  animation-delay: 0.2s;
}

@keyframes revealIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== TYPOGRAPHY COMPONENTS ========== */
.heading-display {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.heading-serif-accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.label-small {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.label-tiny {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Top bar ---------- */
.topbar {
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(14, 14, 15, 0.85);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  gap: var(--space-2xl);
}

.brand {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  line-height: 1.25;
  color: var(--paper);
  text-transform: uppercase;
}

.brand__line {
  display: block;
}

nav.primary {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

nav.primary a {
  color: var(--paper-soft);
  transition: color var(--trans-fast);
  position: relative;
}

nav.primary a:hover {
  color: var(--gold);
}

nav.primary a.active {
  color: var(--paper);
}

nav.primary a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

nav.primary a.cta {
  border: 1px solid var(--rule-strong);
  padding: 0.6rem 1.1rem;
  color: var(--paper);
  transition: all var(--trans-fast);
}

nav.primary a.cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--paper);
  margin: var(--space-xs) 0;
}

@media (max-width: 880px) {
  nav.primary {
    display: none;
  }

  nav.primary.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1.5rem var(--gutter);
    border-bottom: 1px solid var(--rule);
    gap: var(--space-lg);
  }

  .menu-toggle {
    display: block;
  }
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: var(--gold);
}

/* ---------- Home hero ---------- */
.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
  min-height: clamp(400px, 60vh, 600px);
  position: relative;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }
}

.hero__copy {
  max-width: 560px;
}

h1.hero__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 1.5rem 0;
}

h1.hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.hero__lede {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--paper-soft);
  max-width: 42ch;
  margin-bottom: 2.25rem;
  font-weight: 300;
}

.hero__cta-row {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  align-items: center;
}

.hero__diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  position: relative;
}

.hero__diagram svg {
  width: 100%;
  height: auto;
  max-width: 720px;
}

/* Centered hero copy variant for diagram-below layout */
.hero__copy--centered {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero__copy--centered .eyebrow {
  margin: 0 auto;
}

.hero__copy--centered .hero__lede {
  margin-left: auto;
  margin-right: auto;
}

.hero__copy--centered .hero__cta-row {
  justify-content: center;
}

/* Dedicated diagram section */
.diagram-section {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 6rem);
  border-bottom: 1px solid var(--rule);
}

.diagram-section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.diagram-section__caption {
  font-size: 1rem;
  color: var(--paper-soft);
  line-height: 1.55;
  font-weight: 300;
}

/* Frame the diagram on the dark background — no card, just space */
.diagram-frame {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(0.5rem, 2vw, 1.5rem);
}

.diagram-frame #chord-mount {
  width: 100%;
  min-height: 600px;
}

.diagram-frame #chord-mount.chord-mount-loading::before {
  content: "Loading visualization...";
  display: block;
  text-align: center;
  padding: var(--space-4xl) var(--space-2xl);
  color: var(--paper-mute);
  font-style: italic;
  font-family: var(--serif);
}

.diagram-frame #chord-mount svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* Show/hide based on viewport */
.mobile-only {
  display: none;
}

@media (max-width: 767px) {
  .diagram-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }
}

/* Mobile service tiles */
.mobile-services {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.mobile-service {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-lg);
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  transition: padding var(--trans-fast);
}

.mobile-service:hover {
  padding-left: var(--space-sm);
}

.mobile-service:hover .mobile-service__name {
  color: var(--gold);
}

.mobile-service:hover .mobile-service__arrow {
  color: var(--gold);
  transform: translateX(4px);
}

.mobile-service__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold);
  min-width: 2.5rem;
}

.mobile-service__name {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
  transition: color var(--trans-fast);
}

.mobile-service__desc {
  font-size: 0.92rem;
  color: var(--paper-mute);
  line-height: 1.5;
  font-weight: 300;
}

.mobile-service__arrow {
  font-size: 1.2rem;
  color: var(--paper-mute);
  transition: all var(--trans-fast);
}

#chord-mount {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#chord-mount svg {
  display: block;
}

#chord-mount text {
  transition: fill var(--trans-diagram), font-weight var(--trans-diagram);
}

#chord-mount path {
  transition: stroke var(--trans-diagram);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all var(--trans-base);
  cursor: pointer;
  border: none;
  font-family: var(--display);
}

.btn--primary {
  background: var(--gold);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-bottom: 1px solid var(--paper);
  padding: 0.4rem 0;
}

.btn--ghost:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.btn .arrow {
  transition: transform var(--trans-base);
  display: inline-block;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -8%;
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(circle at center, rgba(200, 153, 104, 0.08), transparent 65%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .page-hero__inner {
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
    align-items: end;
  }
}

.page-hero h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  border-bottom: 1px solid var(--rule);
}

.section--elev {
  background: var(--bg-elev);
}

.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: 3rem;
}

@media (min-width: 760px) {
  .section__head {
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
    align-items: baseline;
  }
}

.section__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.4rem;
}

.section__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.85rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.section__title em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---------- Mission ---------- */
.mission__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

@media (min-width: 760px) {
  .mission__grid {
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
  }
}

.mission__body p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--paper-soft);
  margin-bottom: var(--space-lg);
  max-width: 60ch;
  font-weight: 300;
}

.mission__body p:last-child {
  margin-bottom: 0;
}

.mission__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-content: start;
  padding-top: var(--space-sm);
}

.pillar {
  border-top: 1px solid var(--rule);
  padding-top: var(--space-md);
}

.pillar__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.pillar__name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.01em;
}

/* ---------- Services grid ---------- */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

@media (min-width: 720px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--space-3xl) 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  transition: background var(--trans-base);
  position: relative;
  overflow: hidden;
}

.service:hover {
  background: rgba(200, 153, 104, 0.05);
}

.service:hover .service__name {
  color: var(--gold);
}

.service:hover .service__arrow {
  transform: translate(4px, -4px);
  opacity: 1;
  color: var(--gold);
}

.service__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--paper-mute);
}

.service__name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper);
  transition: color var(--trans-base);
  margin-top: var(--space-md);
}

.service__desc {
  font-size: 0.92rem;
  color: var(--paper-mute);
  margin-top: 0.6rem;
  line-height: 1.5;
}

.service__arrow {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  font-size: 1.1rem;
  color: var(--paper-mute);
  opacity: 0.5;
  transition: all var(--trans-base);
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

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

@media (min-width: 900px) {
  .spec-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.spec {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0;
}

.spec__label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.spec__name {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--paper);
  letter-spacing: -0.01em;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--bg-elev);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(200, 153, 104, 0.12), transparent 55%);
  pointer-events: none;
}

.cta-strip__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: end;
  position: relative;
}

@media (min-width: 760px) {
  .cta-strip__inner {
    grid-template-columns: 1.6fr 1fr;
    gap: var(--space-4xl);
  }
}

.cta-strip h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.cta-strip h2 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.cta-strip p {
  color: var(--paper-soft);
  font-size: 1.05rem;
  margin-top: var(--space-md);
  max-width: 42ch;
  font-weight: 300;
}

/* ---------- Prose layout ---------- */
.prose {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 880px) {
  .prose {
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
  }
}

.prose__sidebar {
  position: sticky;
  top: 6rem;
  align-self: start;
  font-size: 0.85rem;
}

.prose__sidebar h4 {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--rule);
}

.prose__sidebar ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.prose__sidebar a {
  color: var(--paper-soft);
  font-size: 0.95rem;
  transition: color var(--trans-fast);
}

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

.prose__body {
  max-width: 62ch;
}

.prose__body p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--paper-soft);
  margin-bottom: var(--space-lg);
  font-weight: 300;
}

.prose__body p.lede {
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--paper);
  font-weight: 300;
  margin-bottom: var(--space-2xl);
  letter-spacing: -0.01em;
}

.prose__body h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--paper);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.prose__body h2 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.prose__body h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--paper);
  margin-top: var(--space-2xl);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.prose__body ul,
.prose__body ol {
  margin: var(--space-md) 0 1.5rem 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--paper-soft);
  font-weight: 300;
}

.prose__body li {
  margin-bottom: 0.5rem;
}

.prose__body li:last-child {
  margin-bottom: 0;
}

.prose__body strong {
  font-weight: 500;
  color: var(--paper);
}

.prose__body em {
  font-style: italic;
}

.prose__body a {
  color: var(--gold);
  transition: color var(--trans-fast);
}

.prose__body a:hover {
  color: var(--gold-bright);
}

.prose__body figure {
  margin: var(--space-2xl) 0;
}

.prose__body figcaption {
  font-size: 0.95rem;
  color: var(--paper-mute);
  margin-top: var(--space-md);
  text-align: center;
  font-style: italic;
}

.prose__body img {
  width: 100%;
  height: auto;
  margin: var(--space-md) 0;
  border-radius: 0.5rem;
}

/* ---------- Article navigation ---------- */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.95rem;
  transition: color var(--trans-fast);
  margin-bottom: var(--space-2xl);
}

.article-back:hover {
  color: var(--gold-bright);
}

.article-related {
  margin-top: var(--space-4xl);
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--rule);
}

.article-related h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--paper);
  margin-bottom: var(--space-lg);
}

.article-related ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.article-related a {
  color: var(--gold);
  font-size: 1rem;
  transition: color var(--trans-fast);
}

.article-related a:hover {
  color: var(--gold-bright);
}

/* ---------- Footer ---------- */
.site {
  border-top: 1px solid var(--rule);
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bg-elev);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

@media (min-width: 600px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-4xl);
  }
}

.footer__brand p {
  font-size: 0.95rem;
  color: var(--paper-soft);
  line-height: 1.6;
  margin-top: var(--space-md);
  font-weight: 300;
}

.footer__brand a {
  color: var(--gold);
  transition: color var(--trans-fast);
}

.footer__brand a:hover {
  color: var(--gold-bright);
}

.footer__col h5 {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: var(--space-lg);
}

.footer__col ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.footer__col a {
  font-size: 0.95rem;
  color: var(--paper-soft);
  transition: color var(--trans-fast);
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
  gap: var(--space-lg);
  font-size: 0.85rem;
  color: var(--paper-mute);
}

.legal-links {
  display: flex;
  gap: var(--space-lg);
}

.legal-links a {
  color: var(--paper-soft);
  transition: color var(--trans-fast);
}

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

/* ---------- Skip link ---------- */
.skip {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: var(--bg);
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
  font-size: 0.85rem;
}

.skip:focus {
  top: 0;
}
