:root {
  --navy-950: #05080f;
  --navy-900: #0a1120;
  --navy-800: #121c32;
  --navy-700: #1b2744;
  --gold-100: #fff4c8;
  --gold-200: #f4e4b0;
  --gold-300: #e8c547;
  --gold-400: #d4af37;
  --gold-500: #c9a227;
  --gold-700: #8b6914;
  --gold-900: #4a3408;
  --crimson: #b11226;
  --crimson-deep: #7c0c1a;
  --ivory: #f3ead7;
  --ivory-dim: #c4b89a;
  --wood: #2a1c10;
  --line: rgba(212, 175, 55, 0.28);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Cinzel Decorative", "Cinzel", serif;
  --font-head: "Cinzel", serif;
  --font-body: "Cormorant Garamond", "Times New Roman", serif;
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--navy-950);
  color: var(--ivory);
}

body {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: rgba(177, 18, 38, 0.85);
  color: var(--gold-100);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--navy-950);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-700));
  border: 2px solid var(--navy-950);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 162, 39, 0.16), transparent 55%),
    radial-gradient(circle at 12% 80%, rgba(177, 18, 38, 0.1), transparent 32%),
    radial-gradient(circle at 88% 30%, rgba(232, 197, 71, 0.07), transparent 28%),
    linear-gradient(180deg, #070b14 0%, #0b1324 42%, #080d16 100%);
}

#dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 8s steps(6) infinite;
}

.vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 180px 40px rgba(0, 0, 0, 0.55);
}

.cursor-shaft {
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 420px at var(--mx, 50%) var(--my, 30%), rgba(232, 197, 71, 0.08), transparent 55%);
  transition: background 80ms linear;
}

.ledger-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-400), transparent);
  opacity: 0.35;
}

.ledger-spine span {
  position: absolute;
  left: -4px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold-400);
  transform: rotate(45deg);
  background: var(--navy-950);
}

.ledger-spine span:nth-child(1) { top: 18%; }
.ledger-spine span:nth-child(2) { top: 34%; }
.ledger-spine span:nth-child(3) { top: 50%; }
.ledger-spine span:nth-child(4) { top: 66%; }
.ledger-spine span:nth-child(5) { top: 82%; }

.site-header,
main,
.campaign-ribbon,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 36px;
  background: rgba(5, 8, 15, 0.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 8, 15, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15), 0 0 18px rgba(212, 175, 55, 0.25);
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff6d0 0%, #e8c547 40%, #a67c12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 14px;
  color: var(--ivory-dim);
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--gold-200);
}

.nav-link.is-active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold-200);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.icon-link img {
  width: 15px;
  height: 15px;
  filter: drop-shadow(0 0 6px rgba(232, 197, 71, 0.45));
}

.icon-link:hover {
  border-color: var(--gold-400);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--gold-300);
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: rotate(40deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 20px;
  transform: rotate(-40deg);
}

.campaign-ribbon {
  overflow: hidden;
  border-top: 1px solid var(--crimson);
  border-bottom: 1px solid var(--crimson);
  background: linear-gradient(90deg, var(--crimson-deep), var(--crimson), var(--crimson-deep));
}

.campaign-ribbon-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 8px 0;
  animation: ribbon 28s linear infinite;
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-100);
}

.campaign-ribbon-track i {
  width: 6px;
  height: 6px;
  background: var(--gold-300);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.btn-gold {
  color: #1a1204;
  background: linear-gradient(180deg, #fff0b0 0%, #e8c547 38%, #b8891a 100%);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.45) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 4.8s ease-in-out infinite;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(201, 162, 39, 0.38);
}

.btn-ghost {
  color: var(--ivory);
  border: 1px solid var(--line);
  background: rgba(10, 17, 32, 0.55);
}

img[src*="icons/x.svg"],
img[src*="icons/dexscreener.svg"],
img[src*="icons/solana.svg"] {
  filter: drop-shadow(0 0 7px rgba(232, 197, 71, 0.4));
}

.btn-gold img[src*="icons/x.svg"],
.btn-gold img[src*="icons/dexscreener.svg"],
.btn-gold img[src*="icons/solana.svg"] {
  filter: brightness(0.22);
}

.btn-ghost:hover {
  border-color: var(--gold-400);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}

.btn-line {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  color: var(--gold-200);
  letter-spacing: 0.12em;
}

.btn-line:hover,
.btn-line.is-copied {
  border-color: var(--gold-400);
  background: rgba(212, 175, 55, 0.1);
}

.btn-compact {
  min-height: 42px;
  padding: 0 16px;
}

.btn-wide {
  min-width: min(420px, 100%);
}

.hero {
  position: relative;
  padding: 48px 48px 88px;
  min-height: clamp(760px, calc(100vh - var(--header-h) - 36px), 920px);
  display: flex;
  align-items: center;
}

.hero-rays {
  position: absolute;
  inset: -10% 10% auto;
  height: 70%;
  background:
    repeating-conic-gradient(from 0deg at 50% 0%, rgba(232, 197, 71, 0.07) 0 4deg, transparent 4deg 14deg);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  animation: rays 28s linear infinite;
  pointer-events: none;
}

.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.portrait-stage {
  perspective: 1200px;
}

.portrait {
  position: relative;
  width: min(420px, 100%);
  margin: 0 auto;
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transition: transform 0.45s ease;
  animation: float-portrait 7s ease-in-out infinite;
}

.ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px dashed rgba(232, 197, 71, 0.45);
  animation: spin 28s linear infinite;
}

.ring-inner {
  inset: -8px;
  border-style: solid;
  border-color: rgba(177, 18, 38, 0.45) transparent rgba(232, 197, 71, 0.55) transparent;
  animation-duration: 16s;
  animation-direction: reverse;
}

.portrait-plate {
  position: relative;
  height: 100%;
  border-radius: 50%;
  padding: 10px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 244, 200, 0.2), transparent 40%),
    linear-gradient(180deg, #d4af37, #8b6914 55%, #3d2a0c);
  box-shadow:
    0 0 0 6px rgba(10, 17, 32, 0.8),
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(212, 175, 55, 0.22);
}

.portrait-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 50%;
  background: #0a0d14;
}

.seal-chip {
  position: absolute;
  right: 8px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  background: rgba(5, 8, 15, 0.82);
  border: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-200);
}

.seal-chip img {
  width: 18px;
  height: 18px;
}

.kicker {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.wordmark h1,
.wordmark.compact p,
.section-head h2 {
  margin: 10px 0;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: none;
  background: linear-gradient(180deg, #fff8d4 0%, #f0d56a 26%, #d4af37 52%, #8b6914 78%, #f0d56a 100%);
  background-size: 100% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 #3d2a0c) drop-shadow(0 10px 18px rgba(201, 162, 39, 0.28));
  animation: gold-shift 7s ease-in-out infinite;
}

.wordmark h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.95;
}

.star-row {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.star-row i {
  width: 9px;
  height: 9px;
  background: var(--gold-300);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: twinkle 2.8s ease-in-out infinite;
}

.star-row i:nth-child(2) { animation-delay: 0.2s; }
.star-row i:nth-child(3) { animation-delay: 0.4s; }
.star-row i:nth-child(4) { animation-delay: 0.6s; }
.star-row i:nth-child(5) { animation-delay: 0.8s; }

.rule-red {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--crimson), var(--gold-400), var(--crimson), transparent);
  box-shadow: 0 0 12px rgba(177, 18, 38, 0.55);
}

.hero-copy .star-row,
.hero-copy .rule-red {
  max-width: 420px;
}

.tagline {
  margin: 18px 0 8px;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0.08em;
  color: var(--gold-200);
}

.lede {
  margin: 0 0 22px;
  max-width: 36em;
  color: var(--ivory-dim);
  font-size: 1.28rem;
}

.nameplate {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 6px 0 26px;
  padding: 14px 28px 16px;
  background: linear-gradient(180deg, #16120c, #070705);
  border: 2px solid var(--gold-400);
  box-shadow: 0 0 0 1px #3d2a0c, 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 18px rgba(212, 175, 55, 0.08);
}

.nameplate strong {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.nameplate-stars {
  display: flex;
  gap: 7px;
}

.nameplate-stars i {
  width: 8px;
  height: 8px;
  background: var(--gold-300);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.ca-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 22, 0.7);
}

.ca-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 4px;
}

section {
  padding: 92px 48px;
}

.section-head {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 720px;
}

.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
}

.section-head .rule-red,
.section-head .star-row {
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.section-sub {
  margin: 16px 0 0;
  font-style: italic;
  color: var(--ivory-dim);
  font-size: 1.25rem;
}

.about-grid {
  width: min(1100px, 100%);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
}

.brief-card,
.stat-stack,
.order,
.pillars li,
.chart-frame {
  background:
    linear-gradient(180deg, rgba(27, 39, 68, 0.35), rgba(10, 17, 32, 0.55));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.brief-card {
  padding: 36px 36px 32px;
}

.brief-card h3,
.order h3,
.pillars h4 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  color: var(--gold-200);
}

.brief-card p {
  margin: 0 0 16px;
  color: var(--ivory-dim);
}

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

.stat-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.stat {
  padding: 22px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.stat:nth-child(2n) {
  border-right: 0;
}

.stat:nth-last-child(-n+2) {
  border-bottom: 0;
}

.stat span {
  display: block;
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 8px;
}

.stat strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stat img {
  width: 18px;
  height: 18px;
}

.pillars {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillars li {
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.pillars li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--crimson), var(--gold-400));
}

.pillars em {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--gold-400);
  letter-spacing: 0.12em;
}

.pillars p {
  margin: 0;
  color: var(--ivory-dim);
}

.orders {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: none;
}

.order {
  padding: 28px 22px 26px;
  position: relative;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.order:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 197, 71, 0.55);
}

.wax {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold-100);
  background: radial-gradient(circle at 35% 30%, #d41930, #7c0c1a 70%);
  box-shadow: 0 0 0 3px rgba(177, 18, 38, 0.25), 0 8px 16px rgba(0, 0, 0, 0.35);
}

.order p {
  margin: 0;
  color: var(--ivory-dim);
  font-size: 1.08rem;
}

.order-logo {
  width: 26px;
  height: 26px;
  margin-top: 16px;
  filter: drop-shadow(0 0 8px rgba(232, 197, 71, 0.25));
}

.orders-cta {
  margin-top: 40px;
  text-align: center;
}

.chart-frame {
  width: min(1100px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.chart-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

.chart-toolbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-200);
}

.chart-toolbar img {
  width: 16px;
  height: 16px;
}

.chart-stage {
  position: relative;
  height: min(640px, 72vw);
  background: #0b111b;
}

.chart-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.chart-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.08), transparent 45%),
    #0b111b;
}

.chart-fallback[hidden] {
  display: none;
}

.chart-fallback img {
  width: 42px;
  height: 42px;
}

.chart-fallback p {
  max-width: 28em;
  color: var(--ivory-dim);
  margin: 0;
}

.banner-plate {
  width: min(1180px, 100%);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 1;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #07090f;
}

.banner-plate > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.06);
  animation: kenburns 22s ease-in-out infinite alternate;
}

.banner-plate figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 15, 0.55) 28%, rgba(5, 8, 15, 0.92));
  text-align: center;
}

.banner-plate .btn img {
  width: 20px;
  height: 20px;
}

.wordmark.compact p {
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  margin: 8px 0;
}

.wordmark.compact .rule-red,
.wordmark.compact .star-row {
  width: min(360px, 80vw);
}

.site-footer {
  padding: 36px 48px 48px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 32px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.footer-brand span,
.fineprint {
  color: var(--ivory-dim);
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-200);
}

.footer-links img {
  width: 16px;
  height: 16px;
}

.fineprint {
  grid-column: 1 / -1;
  margin: 0;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes ribbon {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float-portrait {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes gold-shift {
  0%, 100% { background-position: 0 0; }
  50% { background-position: 0 100%; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes sheen {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes rays {
  to { transform: rotate(360deg); }
}

@keyframes kenburns {
  from { transform: scale(1.06) translateY(0); }
  to { transform: scale(1.14) translateY(-2%); }
}

@keyframes grain-shift {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2%, 1%); }
  40% { transform: translate(1%, -2%); }
  60% { transform: translate(-1%, 2%); }
  80% { transform: translate(2%, -1%); }
}

@media (max-width: 1024px) {
  .ledger-spine { display: none; }
  .hero-inner,
  .about-grid,
  .pillars,
  .orders {
    grid-template-columns: 1fr 1fr;
  }
  .orders { grid-template-columns: 1fr 1fr; }
  .hero { padding: 36px 28px 64px; }
  section { padding: 72px 28px; }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 0 18px;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    padding: 18px;
    background: rgba(5, 8, 15, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open { display: flex; }

  .nav-toggle { display: block; justify-self: end; }

  .header-actions .btn-compact span { display: none; }

  .hero-inner,
  .about-grid,
  .pillars,
  .orders,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .portrait { width: min(300px, 78vw); }

  .ca-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .stat-stack { grid-template-columns: 1fr 1fr; }

  .banner-plate { aspect-ratio: 3 / 1; }
  .banner-plate figcaption { padding: 18px 14px 14px; }

  .site-footer { padding: 28px 20px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .banner-plate > img { transform: none; }
}
