:root {
  --night: #0b0d17;
  --night-2: #11142a;
  --panel: #151a33;
  --line: #262c50;
  --text: #eef1ff;
  --muted: #a3a9cc;
  --gold: #d9b86c;
  --gold-2: #ecd39b;
  --paper: #f3ede2;
  --paper-2: #e8dfcf;
  --ink: #1f1b14;
  --ink-soft: #5d5446;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
}

* {
  box-sizing: border-box;
}

/* Author styles beat the browser's [hidden] rule, so say it again louder:
   anything toggled with el.hidden must actually disappear. */
[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  background-image:
    radial-gradient(1px 1px at 12% 8%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1px 1px at 78% 4%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 42% 14%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 90% 22%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1px 1px at 26% 26%, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(ellipse 80% 50% at 70% 0%, rgba(139, 123, 255, 0.14), transparent 70%);
  background-repeat: no-repeat;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--gold-2);
}
a:hover {
  color: #fff;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}
h3 {
  font-size: 1.4rem;
}
p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.narrow {
  max-width: 780px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: #fff;
  color: #000;
  padding: 8px 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(11, 13, 23, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(38, 44, 80, 0.7);
}
.bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand span {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand img {
  width: 48px;
}
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.nav a:hover,
.nav a[aria-current] {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 0.95rem/1.2 var(--sans);
  text-decoration: none;
  text-align: center;
  transition:
    transform 0.15s,
    background 0.15s,
    border-color 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--gold);
  color: #17130a;
}
.btn-primary:hover {
  background: var(--gold-2);
  color: #17130a;
}
.btn-ghost {
  border-color: rgba(236, 211, 155, 0.45);
  color: var(--gold-2);
}
.btn-ghost:hover {
  border-color: var(--gold-2);
  color: #fff;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.86rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero */
.hero {
  padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.lead {
  font-size: 1.14rem;
  color: #d3d7f0;
  max-width: 36em;
}
.hero .actions {
  margin-top: 28px;
}
.fine {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--muted);
}
.collage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}
.collage .poster {
  position: absolute;
  width: 56%;
  margin: 0;
}
.collage .poster:nth-child(1) {
  left: 0;
  top: 10%;
  transform: rotate(-5deg);
  z-index: 1;
}
.collage .poster:nth-child(2) {
  left: 22%;
  top: 0;
  z-index: 2;
}
.collage .poster:nth-child(3) {
  right: 0;
  top: 12%;
  transform: rotate(5deg);
  z-index: 1;
}

.poster {
  margin: 0;
}
.poster img {
  border-radius: 4px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}
.poster figcaption {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Sections */
.section {
  padding-block: clamp(56px, 8vw, 104px);
}
.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}
.paper {
  background: var(--paper);
  color: var(--ink);
}
.paper a {
  color: #7a5a1e;
}
.paper .muted {
  color: var(--ink-soft);
}
.paper .eyebrow {
  color: #9a7427;
}

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}
.card h3 {
  margin-bottom: 0.4em;
}
.card p:last-child {
  margin-bottom: 0;
}
.paper .card {
  background: #fbf8f2;
  border-color: var(--paper-2);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.steps li {
  position: relative;
  padding: 26px 26px 26px 26px;
  border-radius: 16px;
  background: #fbf8f2;
  border: 1px solid var(--paper-2);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-2);
  font: 600 1rem var(--sans);
}
.steps h3 {
  font-size: 1.3rem;
}
.steps p {
  margin: 0;
  color: var(--ink-soft);
}

.occasions {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
}
.occasion {
  display: block;
  text-decoration: none;
  color: var(--text);
}
.occasion img {
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s;
}
.occasion:hover img {
  transform: translateY(-3px);
}
.occasion strong {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
}
.occasion span {
  font-size: 0.88rem;
  color: var(--muted);
}

.features {
  display: grid;
  gap: 14px 32px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  padding: 0;
  list-style: none;
  margin: 0;
}
.features li {
  padding-left: 26px;
  position: relative;
}
.features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.features strong {
  color: var(--text);
}
.paper .features strong {
  color: var(--ink);
}

/* Article pages */
.page-head {
  padding-block: clamp(28px, 5vw, 56px) clamp(32px, 5vw, 56px);
}
.page-head-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.page-head .poster {
  max-width: 380px;
  margin-inline: auto;
}
.crumbs {
  padding-top: 22px;
  font-size: 0.85rem;
  color: var(--muted);
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--text);
}
.prose {
  font-size: 1.04rem;
}
.prose h2 {
  margin-top: 1.8em;
}
.prose h3 {
  margin-top: 1.4em;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1.1em;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose blockquote {
  margin: 1.2em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: var(--night-2);
  border-radius: 0 12px 12px 0;
  font-family: var(--serif);
  font-size: 1.25rem;
}
.prose blockquote p {
  margin: 0.2em 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2em;
  font-size: 0.95rem;
}
.prose th,
.prose td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  color: var(--gold-2);
  font-weight: 600;
}
.table-scroll {
  overflow-x: auto;
}
.callout {
  margin: 1.6em 0;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.callout h3 {
  margin-top: 0;
}
.callout .actions {
  margin-top: 16px;
}
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.related a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}
.related a:hover {
  border-color: var(--gold);
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 32px 18px 0;
  position: relative;
  font-weight: 600;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 1.4rem;
  color: var(--gold);
}
.faq details[open] summary::after {
  content: '–';
}
.faq details > div {
  padding: 0 0 18px;
  color: #d3d7f0;
}
.faq details > div p:last-child {
  margin-bottom: 0;
}
.paper .faq details {
  border-color: var(--paper-2);
}
.paper .faq details > div {
  color: var(--ink-soft);
}

/* CTA band */
.cta-band {
  padding-block: clamp(48px, 7vw, 80px);
  background: linear-gradient(135deg, #1a1740, #0f1228);
  border-block: 1px solid var(--line);
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-inner h2 {
  margin-bottom: 0.25em;
}
.cta-inner p {
  margin: 0;
  color: var(--muted);
  max-width: 40em;
}

/* Footer */
.site-footer {
  padding-block: 56px 32px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.footer-grid h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-grid a:not(.brand) {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 8px;
}
.footer-grid a:not(.brand):hover {
  color: var(--text);
}
.footer-grid .brand {
  margin-bottom: 12px;
}
.legal {
  margin-top: 36px;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .page-head-grid {
    grid-template-columns: 1fr;
  }
  .page-head .poster {
    max-width: 300px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bar {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 16px;
    padding-top: 10px;
  }
  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-block: 8px 12px;
    gap: 20px;
    white-space: nowrap;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .actions .btn {
    flex: 1 1 100%;
  }
  .brand span {
    font-size: 1.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn,
  .occasion img {
    transition: none;
  }
}

/* Cookie consent: hidden until the loader script finds no stored choice. */
.consent {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 20;
  width: min(720px, calc(100% - 32px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(17, 20, 42, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.consent p {
  margin: 0;
  flex: 1 1 320px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.consent-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
@media (max-width: 540px) {
  .consent-actions {
    width: 100%;
    margin-left: 0;
  }
  .consent-actions .btn {
    flex: 1;
  }
}
