:root {
  color-scheme: dark;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  color: #f3eadc;
  background: #120b07;
  font-synthesis: none;
  --paper: #f3eadc;
  --muted: #b9aa97;
  --ember: #d16232;
  --line: rgba(243, 234, 220, 0.15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(154, 65, 28, 0.22), transparent 30rem),
    linear-gradient(145deg, #120b07 0%, #1a0d07 56%, #100a07 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.22;
  pointer-events: none;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.7rem 0.9rem;
  background: var(--paper);
  color: #120b07;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header,
.site-footer,
.hero,
.article-shell {
  width: min(100% - 3rem, 82rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.5rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

nav { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); }

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  transition: color 180ms ease;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] { color: var(--paper); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #f0b44c;
  outline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  align-items: center;
  min-height: calc(100dvh - 12rem);
  padding: clamp(4rem, 9vh, 7.5rem) 0 clamp(5rem, 11vh, 9rem);
}

.hero-copy { position: relative; z-index: 1; }

h1,
h2,
h3,
p { text-wrap: pretty; }

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.4rem, 7.5vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

h1 span { color: var(--ember); }

.hero-copy > p {
  max-width: 35rem;
  margin: 2.3rem 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.hero-copy .availability {
  margin-top: 1.3rem;
  color: var(--paper);
  font-size: 0.92rem;
}

.hero-art {
  position: relative;
  width: min(100%, 39rem);
  margin: 0 0 0 auto;
}

.hero-art::after {
  position: absolute;
  inset: 15% 8% 7%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(204, 81, 31, 0.17);
  filter: blur(3.5rem);
  content: "";
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 42% 42% 2.2rem 2.2rem;
  box-shadow: 0 2.5rem 6rem rgba(39, 13, 4, 0.45);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.5rem;
  border-top: 1px solid var(--line);
  color: #8f8170;
  font-size: 0.82rem;
}

.site-footer p { margin: 0; }

.article-shell {
  display: grid;
  grid-template-columns: minmax(12rem, 0.55fr) minmax(0, 1fr);
  gap: clamp(3rem, 10vw, 10rem);
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(7rem, 13vw, 11rem);
}

.article-intro { position: sticky; top: 2rem; align-self: start; }

.article-intro h1 {
  max-width: none;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.96;
}

.article-intro p {
  margin: 1.5rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.article-body { max-width: 42rem; }

.article-body section {
  padding: 0 0 2.7rem;
  margin: 0 0 2.7rem;
  border-bottom: 1px solid var(--line);
}

.article-body section:last-child { margin-bottom: 0; border-bottom: 0; }

h2 {
  margin: 0 0 1rem;
  color: var(--paper);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.article-body ul { padding-left: 1.2rem; }
.article-body li + li { margin-top: 0.55rem; }
.article-body a { color: var(--paper); text-underline-offset: 0.22em; }

.status-note {
  padding-left: 1.2rem;
  border-left: 2px solid var(--ember);
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .hero,
  .article-shell { width: min(100% - 2rem, 82rem); }

  .site-header { min-height: 5.5rem; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 4.5rem;
  }

  .hero-art { width: min(90%, 32rem); margin: 3.5rem auto 0; }

  .article-shell { grid-template-columns: 1fr; gap: 4rem; }
  .article-intro { position: static; }

  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 0.8rem; }
}

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