:root {
  --ink: #070808;
  --ink-soft: #0d0f10;
  --panel: #121516;
  --panel-raised: #181b1c;
  --line: rgba(234, 205, 113, 0.18);
  --gold: #e5c569;
  --gold-bright: #f7e39a;
  --silver: #c8ced2;
  --copper: #bd744b;
  --cream: #f3ead7;
  --muted: #a7a49d;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 18px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% -5%, rgba(189, 116, 75, 0.09), transparent 28rem),
    radial-gradient(circle at 10% 10%, rgba(229, 197, 105, 0.07), transparent 28rem),
    var(--ink);
  color: var(--cream);
  font: 16px/1.7 var(--sans);
  text-rendering: optimizeLegibility;
}

a {
  color: var(--gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: #fff2bd;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.65rem 0.9rem;
  background: var(--gold);
  color: #111;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 8, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner,
.site-footer-inner,
.section,
.hero-inner,
.page-hero-inner,
.article-layout {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand img {
  width: min(410px, 42vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: #e5e0d4;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--gold);
}

.nav-contact {
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(229, 197, 105, 0.52);
  border-radius: 999px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 660px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #090a0a var(--hero-image) center / cover no-repeat;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.98) 0%, rgba(5, 6, 6, 0.83) 44%, rgba(5, 6, 6, 0.26) 78%, rgba(5, 6, 6, 0.56) 100%),
    linear-gradient(0deg, rgba(5, 6, 6, 0.78), transparent 55%);
  content: "";
}

.hero-inner {
  display: grid;
  min-height: 660px;
  align-content: center;
  padding-block: 7rem;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(3.35rem, 8vw, 7.5rem);
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--gold-bright);
  font-style: italic;
}

.hero-lede {
  max-width: 620px;
  margin: 0;
  color: #ded8ca;
  font-family: var(--serif);
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: #171309;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  background: var(--gold-bright);
  color: #171309;
}

.button.secondary {
  border-color: rgba(242, 234, 215, 0.4);
  background: rgba(7, 8, 8, 0.25);
  color: var(--cream);
}

.button.secondary:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.metal-ribbon {
  border-bottom: 1px solid var(--line);
  background: #0a0c0c;
}

.metal-ribbon .section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 0;
}

.metal-note {
  position: relative;
  padding: 2rem 2.2rem;
  border-right: 1px solid var(--line);
}

.metal-note:first-child {
  border-left: 1px solid var(--line);
}

.metal-note::before {
  position: absolute;
  top: 2.25rem;
  left: 0.75rem;
  width: 0.43rem;
  height: 0.43rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 20px currentColor;
  content: "";
}

.metal-note.gold {
  color: var(--gold);
}

.metal-note.silver {
  color: var(--silver);
}

.metal-note.copper {
  color: var(--copper);
}

.metal-note strong {
  display: block;
  margin-bottom: 0.25rem;
  font: 400 1.4rem/1.2 var(--serif);
}

.metal-note span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section.compact {
  padding-block: 4rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.section-head h2,
.feature-copy h2,
.prose-card h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  letter-spacing: -0.035em;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.text-link {
  flex: none;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.story-card {
  position: relative;
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.19);
  transition: transform 180ms ease, border-color 180ms ease;
}

.story-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 197, 105, 0.48);
}

.story-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #151616;
}

.story-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 8, 8, 0.5), transparent 55%);
  content: "";
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.07);
  transition: transform 500ms ease, filter 500ms ease;
}

.story-card:hover .story-image img {
  transform: scale(1.035);
  filter: saturate(0.98) contrast(1.07);
}

.story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.3rem 1.35rem 1.45rem;
}

.story-meta {
  margin-bottom: 0.65rem;
  color: var(--copper);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-body h3 {
  margin-bottom: 0.7rem;
  font-size: 1.5rem;
  line-height: 1.2;
}

.story-body h3 a {
  color: var(--cream);
  text-decoration: none;
}

.story-body p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.story-body .text-link {
  margin-top: auto;
}

.feature-band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(229, 197, 105, 0.07), transparent 40%),
    var(--ink-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.feature-copy p,
.prose-card > p {
  color: var(--muted);
}

.video-frame,
.market-frame {
  overflow: hidden;
  border: 1px solid rgba(229, 197, 105, 0.3);
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.market-frame iframe {
  display: block;
  width: 100%;
  min-height: 670px;
  border: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.stat {
  padding: 2.1rem;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--gold-bright);
  font: 400 clamp(2.6rem, 5vw, 4.7rem)/1 var(--serif);
}

.stat span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #0c0d0d var(--page-image) center / cover no-repeat;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 8, 8, 0.98), rgba(7, 8, 8, 0.68) 63%, rgba(7, 8, 8, 0.83));
  content: "";
}

.page-hero-inner {
  position: relative;
  padding-block: clamp(5rem, 10vw, 8.5rem);
}

.page-hero h1 {
  max-width: 940px;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7vw, 6rem);
}

.page-hero p {
  max-width: 700px;
  margin: 0;
  color: #cbc5b8;
  font: 1.15rem/1.6 var(--serif);
}

.breadcrumbs {
  margin-bottom: 1.3rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--gold);
  text-decoration: none;
}

.library-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.library-search {
  min-width: min(100%, 320px);
  flex: 1;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  background: var(--panel);
  color: var(--cream);
}

.library-search:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(229, 197, 105, 0.12);
}

.filter-button {
  padding: 0.62rem 0.86rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--silver);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 750;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(229, 197, 105, 0.1);
  color: var(--gold-bright);
}

.empty-state {
  display: none;
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(230px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.article-body {
  color: #ded9cf;
  font: 1.08rem/1.85 var(--serif);
}

.article-body > p:first-of-type::first-letter {
  float: left;
  margin: 0.12em 0.12em 0 0;
  color: var(--gold);
  font-size: 4.4rem;
  line-height: 0.78;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
  scroll-margin-top: 100px;
}

.article-body h2 {
  color: var(--gold-bright);
  font-size: 2.25rem;
}

.article-body h3 {
  font-size: 1.65rem;
}

.article-body a {
  overflow-wrap: anywhere;
}

.article-body figure {
  margin: 2.2rem 0;
}

.article-body img {
  width: auto;
  max-height: 680px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.article-body figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font: 0.76rem/1.5 var(--sans);
  text-align: center;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.15rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(229, 197, 105, 0.055);
  color: #eee4cc;
}

.article-body iframe {
  display: block;
  width: 100%;
  margin-block: 2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #000;
}

.article-body iframe[data-kind="video"] {
  aspect-ratio: 16 / 9;
  height: auto;
}

.article-body iframe[data-kind="audio"] {
  height: 52px;
  margin-bottom: 0.35rem;
}

.article-aside {
  align-self: start;
}

.aside-card,
.prose-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

.aside-card {
  position: sticky;
  top: 104px;
  padding: 1.45rem;
}

.aside-card h2 {
  margin-bottom: 0.7rem;
  font-size: 1.4rem;
}

.aside-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.aside-links {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.aside-links a {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  color: var(--cream);
  font: 1rem/1.35 var(--serif);
  text-decoration: none;
}

.prose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
}

.prose-card {
  padding: clamp(1.6rem, 4vw, 3rem);
}

.prose-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.prose-card h3 {
  margin-top: 2rem;
  margin-bottom: 0.55rem;
  color: var(--gold-bright);
  font-size: 1.45rem;
}

.prose-card p,
.prose-card li {
  color: #c9c4b9;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-card h2 {
  margin: 0;
  padding: 1.1rem 1.2rem 1.3rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.notice {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(229, 197, 105, 0.32);
  border-radius: 12px;
  background: rgba(229, 197, 105, 0.07);
  color: #d8cfb9;
  font-size: 0.9rem;
}

.contact-card {
  text-align: center;
}

.contact-address {
  display: inline-block;
  margin-block: 1rem 1.5rem;
  color: var(--gold-bright);
  font: clamp(1.45rem, 4vw, 2.65rem)/1.2 var(--serif);
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050606;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-block: 3.5rem;
}

.footer-brand img {
  width: min(360px, 100%);
}

.footer-brand p {
  max-width: 430px;
  color: var(--muted);
  font-family: var(--serif);
}

.footer-column strong {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin-block: 0.45rem;
  color: var(--silver);
  text-decoration: none;
}

.footer-bottom {
  padding-block: 1rem 1.8rem;
  border-top: 1px solid rgba(229, 197, 105, 0.1);
  color: #7e7d78;
  font-size: 0.78rem;
  text-align: center;
}

.not-found {
  min-height: 70vh;
  text-align: center;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    gap: 0.8rem;
    padding-block: 0.9rem;
  }

  .brand img {
    width: min(390px, 82vw);
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .site-nav a {
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .card-grid,
  .prose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .aside-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .hero,
  .hero-inner {
    min-height: 610px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(5, 6, 6, 0.96), rgba(5, 6, 6, 0.65)),
      linear-gradient(0deg, rgba(5, 6, 6, 0.8), transparent);
  }

  .hero h1 {
    font-size: clamp(3.3rem, 18vw, 5.7rem);
  }

  .metal-ribbon .section,
  .card-grid,
  .video-grid,
  .prose-grid,
  .stats,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .metal-note,
  .metal-note:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .article-body {
    font-size: 1rem;
  }

  .market-frame iframe {
    min-height: 860px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
