:root {
  color-scheme: dark;
  --night: #0d0b0a;
  --ink: #161210;
  --panel: #1c1714;
  --line: rgba(232, 213, 163, 0.18);
  --fog: #b7aaa0;
  --cream: #f3ebe0;
  --brass: #d4b56a;
  --brass-deep: #a8843d;
  --rose: #b8656a;
  --veil: rgba(212, 181, 106, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background: var(--night);
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--brass);
}

.veil {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 40% at 80% -5%, rgba(184, 101, 106, 0.28), transparent 60%),
    radial-gradient(ellipse 45% 35% at 8% 20%, rgba(212, 181, 106, 0.16), transparent 55%),
    linear-gradient(180deg, #120f0d 0%, var(--night) 42%, #0a0908 100%);
}

.veil::after {
  content: "";
  position: absolute;
  inset: -10% 0 auto;
  height: 55vh;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent 0 18px,
      rgba(243, 235, 224, 0.015) 18px 19px
    );
  animation: drift-veil 18s ease-in-out infinite alternate;
}

@keyframes drift-veil {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -24px, 0);
  }
}

.rail,
main,
.colophon,
.scroll {
  position: relative;
  z-index: 1;
}

.rail {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sigil,
.wordmark {
  color: var(--cream);
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu,
.jump {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.menu a,
.jump a {
  color: var(--fog);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu a:hover,
.jump a:hover {
  color: var(--brass);
}

.curtain {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  min-height: calc(100vh - 84px);
  padding: 48px 0 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: lift 0.9s ease both;
}

@keyframes lift {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hourglass {
  margin: 0 0 18px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.masthead {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(72px, 18vw, 148px);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tagline {
  margin: 18px 0 16px;
  max-width: 14ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 5.5vw, 46px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  color: #efe4d4;
}

.lede {
  margin: 0;
  max-width: 36rem;
  color: var(--fog);
  font-size: 17px;
}

.pass {
  display: inline-flex;
  align-items: center;
  margin-top: 30px;
  padding: 13px 24px;
  border: 1px solid var(--brass);
  background: transparent;
  color: var(--brass);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  width: fit-content;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pass:hover {
  background: var(--brass);
  color: var(--ink);
  transform: translateY(-2px);
}

.salon {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 0 100px;
}

.salon-lead {
  max-width: 34rem;
  margin-bottom: 42px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.salon-lead h2,
.encore h2,
.scroll h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.salon-lead h2 {
  font-size: clamp(36px, 5.5vw, 56px);
}

.salon-lead p {
  margin: 14px 0 0;
  color: var(--fog);
  font-size: 16px;
}

.stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stack li {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  animation: lift 0.75s ease both;
}

.stack li:nth-child(1) {
  animation-delay: 0.04s;
}
.stack li:nth-child(2) {
  animation-delay: 0.08s;
}
.stack li:nth-child(3) {
  animation-delay: 0.12s;
}
.stack li:nth-child(4) {
  animation-delay: 0.16s;
}
.stack li:nth-child(5) {
  animation-delay: 0.2s;
}
.stack li:nth-child(6) {
  animation-delay: 0.24s;
}
.stack li:nth-child(7) {
  animation-delay: 0.28s;
}
.stack li:nth-child(8) {
  animation-delay: 0.32s;
}

.facet {
  color: var(--rose);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-top: 6px;
}

.stack h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.stack p {
  margin: 0;
  max-width: 42rem;
  color: var(--fog);
  font-size: 15px;
}

.encore {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto 48px;
  padding: 56px 36px;
  background:
    linear-gradient(120deg, rgba(184, 101, 106, 0.18), transparent 42%),
    linear-gradient(180deg, #221a17, #181311);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
}

.encore h2 {
  max-width: 16ch;
  font-size: clamp(34px, 5vw, 52px);
}

.encore p {
  margin: 14px 0 0;
  max-width: 34rem;
  color: var(--fog);
  font-size: 17px;
}

.colophon,
.footer {
  width: min(1080px, calc(100% - 36px));
  margin: 40px auto 0;
  padding: 26px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--fog);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

.colophon-links,
.footer div {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.colophon-links a,
.footer a {
  color: var(--fog);
  text-decoration: none;
}

.colophon-links a:hover,
.footer a:hover {
  color: var(--brass);
}

.scroll {
  width: min(780px, calc(100% - 36px));
  margin: auto;
  padding-bottom: 80px;
}

.scroll .rail-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.scroll header {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--line);
}

.scroll .stamp {
  margin: 0;
  color: var(--brass);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll h1 {
  font-size: clamp(40px, 8vw, 64px);
  margin: 10px 0;
}

.dated {
  color: var(--fog);
}

.scroll article {
  padding-top: 24px;
}

.scroll h2 {
  margin: 36px 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
}

.scroll h3 {
  margin: 22px 0 6px;
  font-size: 15px;
  color: var(--cream);
}

.scroll p,
.scroll li {
  color: #c9bdb2;
}

.scroll li {
  margin: 7px 0;
}

.callout {
  padding: 16px 18px;
  border-left: 2px solid var(--brass);
  background: var(--veil);
}

@media (max-width: 760px) {
  .stack li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .encore {
    padding: 44px 22px;
  }
}

@media (max-width: 560px) {
  .menu {
    gap: 12px;
    font-size: 11px;
  }

  .colophon,
  .footer {
    display: block;
  }

  .colophon-links,
  .footer div {
    margin-top: 12px;
  }
}
