/* ==========================================================================
   Fusionex Ivan Teh : "Songket" design system
   Midnight indigo ground, gold thread accent, cool paper reading surfaces.
   ========================================================================== */

:root {
  /* Palette */
  --ink:        #0A1020;
  --ink-2:      #111C31;
  --ink-3:      #1B2942;
  --gold:       #C8A24A;
  --gold-ink:   #7E601A;   /* accessible gold for light surfaces */
  --accent-text: var(--gold-ink);
  --gold-hi:    #E9D293;
  --gold-dim:   rgba(200, 162, 74, 0.22);
  --paper:      #F4F2EC;
  --paper-2:    #EAE6DB;
  --ivory:      #F6F4EE;
  --slate:      #94A1B8;
  --slate-dk:   #55617A;

  /* Type */
  --display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --body: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Scale */
  --step--1: clamp(0.80rem, 0.77rem + 0.14vw, 0.88rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.12rem);
  --step-1:  clamp(1.25rem, 1.15rem + 0.45vw, 1.55rem);
  --step-2:  clamp(1.55rem, 1.35rem + 0.95vw, 2.20rem);
  --step-3:  clamp(1.95rem, 1.55rem + 1.90vw, 3.10rem);
  --step-4:  clamp(2.40rem, 1.70rem + 3.30vw, 4.60rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 68ch;
  --shell: 1240px;
  --rule: 1px solid var(--gold-dim);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Accessibility ---------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--ink);
  padding: 0.75rem 1.25rem; font-family: var(--mono);
  font-size: var(--step--1); text-decoration: none;
}
.skip-link:focus { left: 0; }
.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;
}

/* Layout primitives ------------------------------------------------------ */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--dark { background: var(--ink); color: var(--ivory); }
.section--deep { background: var(--ink-2); color: var(--ivory); }
.section--paper-2 { background: var(--paper-2); }

/* Dark surfaces restore the bright gold accent */
.masthead, .hero, .creds, .footer, .article-head,
.section--dark, .section--deep, .cta-band, .callout {
  --accent-text: var(--gold);
}

/* Songket weave motif ---------------------------------------------------- */
.weave {
  position: relative;
  isolation: isolate;
}
.weave::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    repeating-linear-gradient(45deg,
      var(--gold-dim) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg,
      var(--gold-dim) 0 1px, transparent 1px 22px);
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 78%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 78%);
  pointer-events: none;
}

/* Thread rule : divider used between content movements */
.thread {
  border: 0; height: 1px; margin: 0;
  background: linear-gradient(90deg,
    transparent, var(--gold) 12%, var(--gold) 88%, transparent);
  opacity: 0.4;
}

/* Typography ------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.005em; }
h4 { font-size: var(--step-0); font-family: var(--body); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1.15em; max-width: var(--measure); }

.eyebrow {
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.eyebrow::after {
  content: ""; flex: 1; height: 1px; max-width: 80px;
  background: var(--accent-text); opacity: 0.45;
}
.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--slate-dk);
  max-width: 58ch;
  font-weight: 400;
}
.section--dark .lede, .section--deep .lede { color: var(--slate); }

/* Header ----------------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 16, 32, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--rule);
  color: var(--ivory);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 74px;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: var(--ivory); flex-shrink: 0;
}
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--display); font-size: 1.12rem; font-weight: 700;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold); margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  font-size: 0.92rem; text-decoration: none; color: var(--ivory);
  padding: 0.5rem 0.8rem; border-radius: 2px;
  opacity: 0.82; transition: opacity 0.2s, color 0.2s;
  position: relative;
}
.nav a:hover { opacity: 1; color: var(--gold-hi); }
.nav a[aria-current="page"] { opacity: 1; color: var(--gold); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.15rem;
  height: 1px; background: var(--gold);
}

.nav-toggle {
  display: none; background: none; border: var(--rule);
  color: var(--ivory); width: 44px; height: 44px; border-radius: 2px;
  cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: currentColor;
  position: relative; transition: background 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px;
  background: currentColor; transition: transform 0.25s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    background: var(--ink); border-bottom: var(--rule);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    max-height: calc(100dvh - 74px); overflow-y: auto;
  }
  .nav[data-open="true"] { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 0.95rem 0; border-bottom: 1px solid rgba(200,162,74,0.12); font-size: 1rem; }
  .nav a[aria-current="page"]::after { display: none; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  background: var(--ink); color: var(--ivory);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}
.hero__grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
}
.hero h1 { margin-bottom: 0.5em; }
.hero h1 em {
  font-style: italic; color: var(--gold-hi); font-weight: 400;
}
.hero__lede { color: var(--slate); font-size: var(--step-1); line-height: 1.55; max-width: 52ch; }

.hero__portrait {
  position: relative; padding: clamp(1rem, 3vw, 2rem);
}
.hero__portrait::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    repeating-linear-gradient(45deg, var(--gold-dim) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(-45deg, var(--gold-dim) 0 1px, transparent 1px 18px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 72%);
          mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 72%);
}
.hero__portrait img, .hero__portrait svg { position: relative; z-index: 1; margin-inline: auto; }
.hero__portrait picture { position: relative; z-index: 1; display: block; }

/* Cutout portrait: floats directly on the weave, no frame */
.hero__portrait--cutout { padding: 0; }
.portrait-cutout {
  width: 100%; max-width: 460px; height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.55));
  -webkit-mask-image: linear-gradient(to bottom, #000 58%,
                        rgba(0,0,0,0.75) 78%, transparent 97%);
          mask-image: linear-gradient(to bottom, #000 58%,
                        rgba(0,0,0,0.75) 78%, transparent 97%);
}
@media (max-width: 899px) { .portrait-cutout { max-width: 70vw; } }

/* Buttons ---------------------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.11em; text-transform: uppercase; text-decoration: none;
  padding: 0.95rem 1.6rem; border-radius: 2px; cursor: pointer;
  border: 1px solid var(--gold);
  transition: background 0.22s, color 0.22s, transform 0.22s;
}
.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { background: var(--gold-hi); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-3); transform: translateY(-2px); }

/* Credentials strip ------------------------------------------------------ */
.creds {
  background: var(--ink-2); color: var(--ivory);
  border-block: var(--rule);
  padding-block: clamp(2rem, 4vw, 3rem);
}
.creds__grid {
  display: grid; gap: 1.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.cred__label {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent-text); margin: 0 0 0.5rem;
}
.cred__text { font-size: 0.95rem; color: var(--slate); margin: 0; line-height: 1.5; max-width: none; }

/* Cards ------------------------------------------------------------------ */
.grid {
  display: grid; gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--ivory); border: 1px solid rgba(10,16,32,0.09);
  border-radius: 3px; padding: clamp(1.5rem, 3vw, 2.15rem);
  position: relative; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px -22px rgba(10,16,32,0.4); border-color: var(--gold-dim); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--slate-dk); font-size: 0.96rem; margin-bottom: 0; }
.card__index {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em;
  color: var(--accent-text); margin-bottom: 0.9rem; display: block;
}
.section--dark .card, .section--deep .card {
  background: var(--ink-3); border-color: rgba(200,162,74,0.16);
}
.section--dark .card p, .section--deep .card p { color: var(--slate); }
.section--dark .card:hover, .section--deep .card:hover { box-shadow: 0 18px 42px -22px rgba(0,0,0,0.7); }

/* News list -------------------------------------------------------------- */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item { border-top: 1px solid rgba(10,16,32,0.11); }
.news-item:last-child { border-bottom: 1px solid rgba(10,16,32,0.11); }
.news-item a {
  display: grid; gap: 0.35rem 2rem; padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  text-decoration: none; align-items: start;
  grid-template-columns: 1fr;
  transition: background 0.22s, padding-inline 0.22s;
}
@media (min-width: 800px) {
  .news-item a { grid-template-columns: 160px 1fr auto; align-items: baseline; }
}
.news-item a:hover { background: var(--paper-2); padding-inline: 1.25rem; }
.news-item__meta {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-text); padding-top: 0.35rem;
}
.news-item__title {
  display: block;
  font-family: var(--display); font-size: var(--step-1); font-weight: 600;
  line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 0.4rem; color: var(--ink);
}
.news-item__excerpt { display: block; font-size: 0.95rem; color: var(--slate-dk); margin: 0; max-width: 62ch; }
.news-item__arrow { font-family: var(--mono); color: var(--accent-text); font-size: 1.1rem; }
@media (max-width: 799px) { .news-item__arrow { display: none; } }

/* Article ---------------------------------------------------------------- */
.article-head { background: var(--ink); color: var(--ivory); padding-block: clamp(3rem, 6vw, 5rem); }
.article-head h1 { font-size: var(--step-3); max-width: 22ch; }
.article-head .lede { color: var(--slate); }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; margin-top: 1.75rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  padding-top: 1.5rem; border-top: var(--rule);
}
.prose { max-width: 74ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2em; }
.prose a {
  color: var(--ink); text-decoration: underline;
  text-decoration-color: var(--accent-text); text-underline-offset: 3px;
  text-decoration-thickness: 2px; transition: color 0.2s, background 0.2s;
}
.prose a:hover { color: var(--accent-text); }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.35em; max-width: var(--measure); }
.prose li { margin-bottom: 0.6em; }
.prose li::marker { color: var(--accent-text); }
.prose blockquote {
  margin: 2.2em 0; padding: 0.25em 0 0.25em 1.6em;
  border-left: 2px solid var(--gold);
  font-family: var(--display); font-size: var(--step-1);
  font-style: italic; line-height: 1.45; color: var(--ink);
}
.prose blockquote p:last-child { margin-bottom: 0; }

.callout {
  background: var(--ink); color: var(--ivory);
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 3px;
  margin: 2.5em 0; border-left: 3px solid var(--gold);
}
.callout h3 { color: var(--gold-hi); margin-bottom: 0.6rem; font-size: var(--step-0); font-family: var(--body); font-weight: 700; letter-spacing: 0.02em; }
.callout p { color: var(--slate); margin-bottom: 0; font-size: 0.96rem; }

/* Figure ----------------------------------------------------------------- */
figure { margin: 2.5em 0; }
figure img, figure svg { border-radius: 3px; }
figcaption {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--slate-dk); margin-top: 0.85rem; line-height: 1.5;
}

/* FAQ -------------------------------------------------------------------- */
.faq { border-top: 1px solid rgba(10,16,32,0.13); max-width: 80ch; }
.faq details {
  border-bottom: 1px solid rgba(10,16,32,0.13);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.35rem 2.5rem 1.35rem 0;
  font-family: var(--display); font-size: var(--step-1); font-weight: 600;
  line-height: 1.3; letter-spacing: -0.01em;
  position: relative; transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-text); }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 1.2rem;
  font-family: var(--mono); font-size: 1.4rem; color: var(--accent-text);
  transition: transform 0.25s; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 1.5rem; }
.faq details p { color: var(--slate-dk); margin-bottom: 0.9em; }
.faq details p:last-child { margin-bottom: 0; }
.section--dark .faq, .section--deep .faq { border-color: rgba(200,162,74,0.2); }
.section--dark .faq details, .section--deep .faq details { border-color: rgba(200,162,74,0.2); }
.section--dark .faq details p, .section--deep .faq details p { color: var(--slate); }

/* Stat row --------------------------------------------------------------- */
.stats { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat__figure {
  font-family: var(--display); font-size: var(--step-3); font-weight: 700;
  color: var(--accent-text); line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.02em;
}
.stat__label {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--slate); margin: 0; line-height: 1.5;
}

/* Timeline --------------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px;
  width: 1px; background: var(--gold); opacity: 0.35;
}
.timeline li { position: relative; padding: 0 0 2rem 2.5rem; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 13px; height: 13px; border-radius: 50%;
  border: 1px solid var(--gold); background: var(--ink);
}
.timeline__year {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em;
  color: var(--accent-text); display: block; margin-bottom: 0.4rem;
}
.timeline h3 { font-size: var(--step-0); font-family: var(--body); font-weight: 700; letter-spacing: 0; margin-bottom: 0.35rem; }
.timeline p { color: var(--slate); font-size: 0.95rem; margin: 0; }

/* Breadcrumb ------------------------------------------------------------- */
.crumbs {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.13em;
  text-transform: uppercase; padding-block: 1.15rem;
  border-bottom: 1px solid rgba(10,16,32,0.1); background: var(--paper-2);
}
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.crumbs li::after { content: "/"; margin-left: 0.5rem; color: var(--accent-text); }
.crumbs li:last-child::after { display: none; }
.crumbs a { color: var(--slate-dk); text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); }
.crumbs [aria-current="page"] { color: var(--ink); }

/* CTA band --------------------------------------------------------------- */
.cta-band { background: var(--ink-2); color: var(--ivory); }
.cta-band h2 { max-width: 20ch; }

/* Contact form ----------------------------------------------------------- */
.form-grid { display: grid; gap: 1.25rem; max-width: 620px; }
@media (min-width: 640px) { .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.field label {
  display: block; font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate-dk); margin-bottom: 0.5rem;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 0.85rem 1rem; font-family: var(--body);
  font-size: 1rem; color: var(--ink); background: var(--ivory);
  border: 1px solid rgba(10,16,32,0.18); border-radius: 2px;
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--slate-dk); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error {
  margin: 0.45rem 0 0; font-size: 0.85rem; color: #9B2C1E; max-width: none;
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #9B2C1E;
}
.form-status {
  margin: 0; padding: 0.95rem 1.15rem; border-radius: 2px; font-size: 0.93rem;
  border-left: 3px solid var(--accent-text); background: var(--paper-2); max-width: none;
}
.form-status[data-state="success"] { border-left-color: #1F6F4A; }
.form-status[data-state="error"] { border-left-color: #9B2C1E; }

/* Footer ----------------------------------------------------------------- */
.footer {
  background: var(--ink); color: var(--slate);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  border-top: 1px solid var(--gold);
}
.footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-bottom: 2.5rem;
}
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__brand { grid-column: span 2; max-width: 420px; } }
.footer h2 {
  font-family: var(--mono); font-size: 0.7rem; line-height: 1.4;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 1.1rem; font-weight: 500;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.65rem; }
.footer a { color: var(--slate); text-decoration: none; font-size: 0.93rem; transition: color 0.2s; }
.footer a:hover { color: var(--gold-hi); }
.footer p { font-size: 0.93rem; line-height: 1.65; }
.footer__base {
  border-top: 1px solid rgba(200,162,74,0.18); padding-top: 1.75rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate);
}
.footer__base p { margin: 0; font-size: inherit; }

/* Reveal on scroll ------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* Utilities -------------------------------------------------------------- */
.stack > * + * { margin-top: 1.5rem; }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.narrow { max-width: 780px; }
.split {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .split { grid-template-columns: 0.9fr 1.1fr; } }
@media (min-width: 880px) { .split--even { grid-template-columns: 1fr 1fr; } }
.sticky-side { position: sticky; top: 110px; }
@media (max-width: 879px) { .sticky-side { position: static; } }
