@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=Manrope:wght@400;600&display=swap");

:root {
  --bg: #09070b;
  --bg-elevated: rgba(22, 17, 26, 0.9);
  --bg-soft: rgba(29, 22, 36, 0.78);
  --surface: rgba(14, 10, 17, 0.72);
  --surface-strong: rgba(21, 16, 26, 0.94);
  --border: rgba(215, 177, 110, 0.18);
  --border-strong: rgba(215, 177, 110, 0.34);
  --text: #f6efe4;
  --muted: #b8aa99;
  --muted-strong: #d6cabd;
  --gold: #d7b16e;
  --gold-soft: #b08a50;
  --ice: #c4d6df;
  --plum: #6f5a79;
  --max-width: 1240px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Manrope", "Avenir Next", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(111, 90, 121, 0.34), transparent 36%),
    radial-gradient(circle at 85% 20%, rgba(215, 177, 110, 0.2), transparent 28%),
    linear-gradient(180deg, #0a070d 0%, #09070b 46%, #130e16 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px),
    radial-gradient(circle at 73% 16%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px),
    radial-gradient(circle at 84% 66%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px),
    radial-gradient(circle at 12% 74%, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px),
    radial-gradient(circle at 56% 42%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px);
}

body::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 80%);
}

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

a {
  color: inherit;
}

button,
a,
summary,
details {
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: #fff5e8;
  color: #120c12;
}

.skip-link:focus {
  top: 1rem;
}

.page-shell {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0 0.85rem;
  backdrop-filter: blur(0px);
}

.site-header.is-scrolled {
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(22rem, 72vw);
  min-width: 12rem;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.site-nav a {
  padding: 0.72rem 1rem;
  text-decoration: none;
  color: var(--muted);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 7, 11, 0.54);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  border-color: rgba(215, 177, 110, 0.4);
  transform: translateY(-1px);
}

.section {
  margin-top: 5rem;
}

.panel {
  background:
    linear-gradient(180deg, rgba(23, 17, 27, 0.92), rgba(14, 11, 18, 0.94)),
    rgba(14, 11, 18, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 1.6rem;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.story-card,
.chips-panel,
.order-card,
.current-card,
.edition-card,
.faq-list details {
  border-radius: var(--radius-xl);
}

.hero-copy,
.hero-visual,
.story-card,
.chips-panel,
.order-card,
.current-card,
.edition-card {
  padding: 2rem;
}

.hero-copy {
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -2rem -4rem auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 177, 110, 0.22), transparent 70%);
}

.eyebrow,
.mini-label {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--gold);
}

.mini-label {
  color: var(--ice);
}

h1,
h2,
h3,
summary {
  margin: 0;
  font-family: "Cormorant Garamond", "Baskerville", serif;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 7vw, 6rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.8rem;
  line-height: 1.02;
}

p,
li,
dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.hero-dek {
  max-width: 60ch;
  margin-top: 1.2rem;
  font-size: 1.04rem;
}

.hero-dek em,
.footer-copy em,
.story-card em {
  color: var(--text);
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.button {
  min-height: 3.25rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #d7b16e, #c8994d);
  color: #150f12;
}

.button-secondary {
  border-color: rgba(215, 177, 110, 0.4);
  color: var(--text);
  background: rgba(18, 14, 22, 0.62);
}

.disclaimer-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.3rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: rgba(17, 13, 21, 0.72);
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.disclaimer-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0 45%, transparent 46%);
  box-shadow: 0 0 16px rgba(215, 177, 110, 0.65);
}

.facts-grid,
.guide-grid,
.order-grid,
.currents-grid,
.editions-grid {
  display: grid;
  gap: 1rem;
}

.facts-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.fact-card {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(17, 13, 21, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.fact-card dt {
  color: var(--ice);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fact-card dd {
  margin-top: 0.45rem;
  font-size: 1rem;
  color: var(--text);
}

.hero-visual {
  display: grid;
  align-content: space-between;
  gap: 1.5rem;
}

.sigil-frame {
  position: relative;
  padding: 1.4rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(196, 214, 223, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(27, 20, 32, 0.94), rgba(13, 10, 18, 0.94));
  border: 1px solid rgba(215, 177, 110, 0.16);
}

.sigil-frame::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.note-list {
  margin: 0;
  padding-left: 1rem;
}

.note-list li + li {
  margin-top: 0.7rem;
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  max-width: 56rem;
  margin-bottom: 1.5rem;
}

.guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-card h3,
.order-card h3,
.current-card h3,
.edition-card h3 {
  margin-bottom: 0.9rem;
}

.chips-panel {
  margin-top: 1rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip-row span {
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 214, 223, 0.18);
  background: rgba(15, 12, 19, 0.8);
  color: var(--muted-strong);
}

.order-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-card {
  position: relative;
  min-height: 14rem;
}

.active-card {
  border-color: var(--border-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(215, 177, 110, 0.08);
}

.order-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 1px solid rgba(215, 177, 110, 0.36);
  color: var(--gold);
  font-weight: 600;
}

.currents-grid,
.editions-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.edition-card {
  display: grid;
  gap: 0.9rem;
}

.text-link {
  width: fit-content;
  color: var(--gold);
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  padding: 1.3rem 1.4rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding-right: 2rem;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--gold);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin-top: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 5rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  max-width: 46rem;
}

.footer-copy p + p {
  margin-top: 0.9rem;
}

.footer-meta {
  display: grid;
  gap: 0.65rem;
  text-align: right;
  color: var(--muted-strong);
}

.footer-meta a {
  color: var(--gold);
  text-decoration: none;
}

@media (max-width: 960px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    text-align: left;
  }

  .hero,
  .guide-grid,
  .order-grid,
  .currents-grid,
  .editions-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(var(--max-width), calc(100% - 1rem));
  }

  .section {
    margin-top: 4rem;
  }

  .hero-copy,
  .hero-visual,
  .story-card,
  .chips-panel,
  .order-card,
  .current-card,
  .edition-card,
  .faq-list details {
    padding: 1.35rem;
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .site-nav {
    width: 100%;
  }

  .hero-actions .button,
  .site-nav a {
    width: 100%;
    justify-content: center;
  }

  h1 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }
}
