:root {
  --paper: #f4efe5;
  --paper-2: #fbf7ef;
  --paper-3: #e8dfcf;
  --ink: #19130f;
  --muted: #6e6255;
  --gold: #a77a33;
  --gold-soft: #c5a66e;
  --gold-pale: #dfcfaf;
  --wine: #741f1c;
  --wine-dark: #541411;
  --line: rgba(146, 108, 52, .42);
  --shadow: 0 18px 60px rgba(67, 45, 21, .14);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 16%, rgba(255,255,255,.92), transparent 24rem),
    radial-gradient(circle at 84% 10%, rgba(183,151,96,.11), transparent 23rem),
    repeating-linear-gradient(118deg, rgba(123,94,56,.028) 0 1px, transparent 1px 54px),
    linear-gradient(180deg, #f7f2e9 0%, #eee6d8 100%);
  font-family: var(--serif);
  min-width: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(100deg, transparent 0 46%, rgba(129,96,52,.25) 46.2%, transparent 46.6%),
    linear-gradient(72deg, transparent 0 74%, rgba(92,68,39,.16) 74.2%, transparent 74.6%);
  background-size: 680px 820px, 950px 740px;
  mix-blend-mode: multiply;
  z-index: -1;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: .65rem .9rem;
  font-family: var(--sans);
  font-size: .85rem;
  text-decoration: none;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 233, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 7px 28px rgba(62, 42, 22, .05);
}

.header-inner {
  width: min(1440px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 3.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  letter-spacing: .16em;
}
.brand-laurel {
  font-size: 1.55rem;
  color: var(--gold);
  transform: rotate(-8deg);
}
.brand-word {
  font-size: 1.28rem;
  font-weight: 600;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2.6rem);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.main-nav a {
  text-decoration: none;
  padding: .7rem .1rem;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover { border-color: var(--gold); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.button,
.icon-button,
.round-link,
.copy-button {
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.button:hover,
.icon-button:hover,
.round-link:hover,
.copy-button:hover { transform: translateY(-2px); }

.button {
  min-height: 50px;
  padding: .78rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .72rem;
  border: 1px solid var(--gold-soft);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .82rem;
  font-weight: 700;
  font-family: var(--serif);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.45), 0 7px 18px rgba(71,44,18,.08);
  cursor: pointer;
}
.button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}
.button-small {
  min-height: 42px;
  padding: .6rem 1rem;
  font-size: .74rem;
}
.button-small img { width: 20px; height: 20px; }
.button-buy {
  color: #fff8e9;
  background: linear-gradient(180deg, #8d2b25, var(--wine));
  border-color: #b78a45;
  box-shadow: inset 0 0 0 2px rgba(242,213,154,.22), 0 8px 22px rgba(83,26,20,.18);
}
.button-buy:hover { background: linear-gradient(180deg, #9c3129, var(--wine-dark)); }
.button-paper {
  background: rgba(251,247,239,.82);
  color: var(--ink);
}
.button-paper:hover { border-color: var(--gold); background: #fffaf0; }

.icon-button,
.round-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255,252,245,.72);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}
.icon-button {
  width: 42px;
  height: 42px;
}
.icon-button img { width: 19px; height: 19px; object-fit: contain; }

.museum-panel {
  position: relative;
  width: min(1440px, calc(100% - 32px));
  margin: 22px auto 0;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255,255,255,.56), rgba(255,255,255,.18)),
    repeating-linear-gradient(105deg, rgba(137,103,57,.035) 0 1px, transparent 1px 110px),
    rgba(248, 244, 235, .78);
  box-shadow: var(--shadow), inset 0 0 0 7px rgba(255,255,255,.28);
}
.museum-panel::before,
.museum-panel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 38px;
  pointer-events: none;
  opacity: .45;
  background:
    linear-gradient(90deg, rgba(166,128,66,.35), transparent 35%, rgba(255,255,255,.5) 36% 62%, transparent 63%, rgba(145,106,52,.3)),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(128,91,43,.15) 18px 19px);
}
.museum-panel::before { left: 0; border-right: 1px solid rgba(162,124,68,.22); }
.museum-panel::after { right: 0; border-left: 1px solid rgba(162,124,68,.22); }

.ornament-line {
  display: grid;
  grid-template-columns: minmax(44px, 130px) auto minmax(44px, 130px);
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 30px 24px 0;
  color: var(--gold);
  font-size: .88rem;
  letter-spacing: .33em;
}
.ornament-line span { width: 100%; height: 1px; background: var(--gold-soft); }
.ornament-line b { font-weight: 400; }

.hero { overflow: hidden; }
.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
  align-items: stretch;
  padding: 18px clamp(44px, 6vw, 96px) 0;
}
.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 52px 0 66px;
}
.eyebrow {
  margin: 0 0 16px;
  color: #8c6a36;
  font-size: .72rem;
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
}
.hero h1 {
  margin: 0;
  font-size: clamp(4.5rem, 8vw, 8.6rem);
  line-height: .82;
  font-weight: 500;
  letter-spacing: -.055em;
  max-width: 7ch;
}
.ticker {
  margin-top: 18px;
  color: var(--gold);
  font-size: clamp(3.1rem, 5.5vw, 5.4rem);
  line-height: .95;
  letter-spacing: -.04em;
}
.tagline {
  margin: 24px 0 0;
  font-size: clamp(1.6rem, 2.6vw, 2.45rem);
  line-height: 1.06;
}
.hero-note {
  margin: 13px 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 27px;
}
.social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.round-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.round-link img { width: 20px; height: 20px; object-fit: contain; }
.branded-link img { width: 26px; height: 26px; border-radius: 50%; }

.museum-caption {
  margin-top: 28px;
  display: inline-flex;
  align-items: baseline;
  gap: .65rem;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.museum-caption strong { color: #8e6a32; font-weight: 600; }

.portrait-stage {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.portrait-halo {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(180,139,74,.2);
  box-shadow: 0 0 0 18px rgba(185,143,73,.035), 0 0 0 36px rgba(185,143,73,.025);
  top: 8%;
  left: 20%;
}
.hero-portrait {
  transform: translate(20px, -100px);
  position: relative;
  z-index: 1;
  width: min(750px, 100%);
  max-width: none;
  align-self: flex-end;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 30px rgba(75,47,25,.16));
}
.portrait-plaque {
  position: absolute;
  right: 6%;
  bottom: 4%;
  z-index: 3;
  min-width: 220px;
  padding: 12px 16px;
  background: rgba(247,242,233,.9);
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(64,43,23,.09);
  text-align: center;
}
.portrait-plaque span {
  display: block;
  font-size: .88rem;
  letter-spacing: .18em;
}
.portrait-plaque small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .68rem;
  font-style: italic;
}

.museum-index {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(247,242,233,.86);
  border: 1px solid var(--line);
  border-top: 0;
  box-shadow: var(--shadow);
}
.index-card {
  position: relative;
  min-width: 0;
  padding: 32px clamp(24px, 3vw, 42px) 34px;
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.index-card:last-child { border-right: 0; }
.index-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(172,135,76,.12);
}
.roman-number {
  width: fit-content;
  margin: 0 auto 12px;
  color: var(--gold);
  font-size: .9rem;
}
.card-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}
.card-heading h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: .04em;
  white-space: nowrap;
}
.mini-laurel {
  color: var(--gold);
  justify-self: end;
  font-size: 1.35rem;
}
.mini-laurel.mirror { transform: scaleX(-1); justify-self: start; }
.card-kicker {
  margin: 6px 0 20px;
  text-align: center;
  color: var(--muted);
  font-size: .63rem;
  font-family: var(--sans);
  letter-spacing: .19em;
  text-transform: uppercase;
}
.index-card p {
  color: #4f453b;
  line-height: 1.48;
  font-size: .95rem;
}
.split-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: center;
}
.split-card img {
  width: 112px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid var(--line);
  filter: sepia(.22) saturate(.72) contrast(.96);
}
.token-seal {
  width: 135px;
  aspect-ratio: 1;
  margin: 0 auto 15px;
  padding: 10px;
  border-radius: 50%;
  border: 5px double var(--gold);
  background: radial-gradient(circle, #dcc493 0 56%, #9b6a26 57% 100%);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.25), 0 7px 18px rgba(82,53,20,.12);
}
.token-seal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: sepia(1) saturate(.8) contrast(1.08);
}
.archive-thumb {
  border: 1px solid var(--line);
  padding: 4px;
  background: #f6f0e6;
}
.archive-thumb img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  object-position: center;
  filter: sepia(.5) saturate(.7) contrast(.92);
}
.text-link {
  display: inline-flex;
  gap: .55rem;
  margin-top: 7px;
  color: #7d5b2d;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(125,91,45,.35);
  padding-bottom: 3px;
}

.contract-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 17px;
  padding: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.38);
}
.contract-label {
  color: var(--gold);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.contract-row code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #5b5147;
  font-size: .75rem;
}
.copy-button {
  border: 1px solid var(--line);
  background: #f7f0e4;
  color: #553c22;
  padding: .45rem .6rem;
  font: 700 .66rem var(--sans);
  text-transform: uppercase;
  letter-spacing: .07em;
  cursor: pointer;
}

.archive-feature {
  position: relative;
  width: min(1440px, calc(100% - 32px));
  aspect-ratio: 3 / 1;
  min-height: 0;
  margin: 46px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #7f6547;
}
.archive-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.archive-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(29,18,11,.78) 0%, rgba(37,23,14,.55) 31%, rgba(37,23,14,.09) 63%, rgba(37,23,14,.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.25));
}
.archive-copy {
  position: absolute;
  left: clamp(28px, 6vw, 86px);
  bottom: clamp(30px, 6vw, 82px);
  z-index: 2;
  max-width: 540px;
  color: #fff7e9;
}
.eyebrow.light { color: #e6c889; }
.archive-copy h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 5.6rem);
  line-height: .92;
  font-weight: 500;
  letter-spacing: -.04em;
}
.archive-copy p:not(.eyebrow) {
  max-width: 32rem;
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.4;
}
.archive-stamp {
  position: absolute;
  right: clamp(22px, 4vw, 64px);
  top: clamp(22px, 4vw, 56px);
  z-index: 2;
  width: 112px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  border: 2px solid rgba(251,230,184,.67);
  border-radius: 50%;
  color: rgba(255,239,202,.84);
  font-size: 1.25rem;
  letter-spacing: .12em;
  text-align: center;
  transform: rotate(9deg);
}
.archive-stamp span { font-size: .68rem; letter-spacing: .25em; }

.closing {
  margin-top: 46px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 28px 58px;
}
.closing .ornament-line { width: 100%; padding-top: 0; }
.closing .eyebrow { margin-top: 35px; }
.closing h2 {
  margin: 0;
  font-size: clamp(3rem, 6.3vw, 6.2rem);
  line-height: .9;
  font-weight: 500;
  letter-spacing: -.05em;
}
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.site-footer {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 25px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(.75rem, 2vw, 1.5rem);
  border: 1px solid var(--line);
  border-top: 0;
  color: #8b6935;
  font-size: .72rem;
  letter-spacing: .2em;
  text-align: center;
}
.site-footer b { font-size: .55rem; }

:focus-visible {
  outline: 3px solid rgba(129, 91, 38, .6);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .main-nav { gap: 1rem; }
  .main-nav a:nth-child(1), .main-nav a:nth-child(3) { display: none; }
  .hero-grid { grid-template-columns: .9fr 1.1fr; padding-inline: 54px; }
  .hero h1 { font-size: clamp(4rem, 8vw, 7rem); }
  .portrait-stage { min-height: 610px; }
  .hero-portrait { width: 100%; }
  .museum-index { grid-template-columns: 1fr 1fr; }
  .index-card:nth-child(2) { border-right: 0; }
  .index-card:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); border-right: 0; }
  .index-card:nth-child(3) .archive-thumb { max-width: 560px; margin-inline: auto; }
  .index-card:nth-child(3) > p { max-width: 700px; margin-inline: auto; text-align: center; }
  .index-card:nth-child(3) .text-link { position: relative; left: 50%; transform: translateX(-50%); }
}

@media (max-width: 820px) {
  .site-header { position: relative; }
  .header-inner {
    min-height: 68px;
    grid-template-columns: auto 1fr;
    width: min(100% - 22px, 1440px);
  }
  .main-nav { display: none; }
  .header-actions { justify-self: end; }
  .button-small span { display: none; }
  .button-small { width: 42px; padding: 0; }
  .museum-panel, .museum-index, .archive-feature, .site-footer { width: calc(100% - 18px); }
  .museum-panel::before, .museum-panel::after { width: 16px; opacity: .28; }
  .ornament-line { padding-top: 24px; }
  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 0 26px;
  }
  .hero-copy {
    text-align: center;
    padding: 40px 8px 0;
  }
  .hero h1 { max-width: none; font-size: clamp(4rem, 16vw, 7rem); }
  .ticker { font-size: clamp(3rem, 11vw, 4.8rem); }
  .tagline { font-size: clamp(1.55rem, 6vw, 2.2rem); }
  .hero-note { margin-inline: auto; }
  .hero-actions, .social-row { justify-content: center; }
  .museum-caption { justify-content: center; }
  .portrait-stage {
    min-height: 480px;
    margin-top: 12px;
  }
  .portrait-stage::before { inset: 5% 3% 0; }
  .portrait-halo { width: 73%; left: 13.5%; }
  .hero-portrait { width: min(760px, 100%); }
  .portrait-plaque { right: 50%; bottom: 3%; transform: translateX(50%); min-width: min(300px, 78%); }
  .museum-index { grid-template-columns: 1fr; }
  .index-card, .index-card:nth-child(2), .index-card:nth-child(3) {
    grid-column: auto;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .index-card:first-child { border-top: 0; }
  .split-card { grid-template-columns: 96px 1fr; }
  .split-card img { width: 96px; }
  .archive-feature { aspect-ratio: auto; min-height: 520px; }
  .archive-feature > img { object-position: 58% center; }
  .archive-overlay {
    background: linear-gradient(180deg, rgba(29,18,11,.18) 0%, rgba(29,18,11,.2) 35%, rgba(29,18,11,.78) 100%);
  }
  .archive-copy { left: 28px; right: 28px; bottom: 32px; }
  .archive-stamp { width: 82px; font-size: .95rem; }
  .closing { min-height: 390px; }
}

@media (max-width: 520px) {
  .header-inner { width: calc(100% - 16px); gap: .4rem; }
  .brand { gap: .4rem; }
  .brand-word { font-size: 1.05rem; }
  .brand-laurel { font-size: 1.3rem; }
  .header-actions { gap: .35rem; }
  .icon-button, .button-small { width: 39px; height: 39px; min-height: 39px; }
  .museum-panel, .museum-index, .archive-feature, .site-footer { width: calc(100% - 10px); }
  .hero-grid { padding-inline: 16px; }
  .hero-copy { padding-top: 30px; }
  .eyebrow { font-size: .62rem; letter-spacing: .17em; }
  .hero h1 { font-size: clamp(3.45rem, 19vw, 5.6rem); }
  .ticker { margin-top: 12px; font-size: clamp(2.8rem, 15vw, 4.2rem); }
  .hero-note { font-size: .95rem; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1 1 100%; }
  .portrait-stage { min-height: 390px; }
  .hero-portrait { width: 100%; }
  .portrait-plaque { bottom: 2%; padding: 10px 12px; }
  .index-card { padding: 28px 22px 30px; }
  .card-heading h2 { font-size: 1.45rem; }
  .mini-laurel { font-size: 1.1rem; }
  .split-card { grid-template-columns: 82px 1fr; gap: 14px; }
  .split-card img { width: 82px; }
  .contract-row { grid-template-columns: auto minmax(0, 1fr); }
  .copy-button { grid-column: 1 / -1; width: 100%; }
  .archive-feature { min-height: 480px; }
  .archive-feature > img { object-position: 56% center; }
  .archive-copy { left: 21px; right: 21px; bottom: 24px; }
  .archive-copy h2 { font-size: clamp(2.5rem, 12vw, 4.1rem); }
  .archive-stamp { width: 70px; right: 15px; top: 15px; }
  .closing { padding-inline: 20px; }
  .closing-actions { width: 100%; }
  .closing-actions .button { flex: 1 1 100%; }
  .site-footer { font-size: .62rem; letter-spacing: .13em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
