/* ==========================================================================
   MONISH LAISHRAM — A DIWALI & NINGOL CHAKOUBA WISH
   A hand-built, scroll-length celebration in ink, marigold and lamplight.
   ========================================================================== */

:root {
  color-scheme: dark;
  --ink: #0a0807;
  --ink-soft: #0f0c0a;
  --ink-lift: #17110d;
  --paper: #f2e7d4;
  --paper-soft: #e7d8bf;
  --paper-muted: #b8a68d;
  --gold: #d8a15a;
  --gold-bright: #f4cb8b;
  --saffron: #ed8b3d;
  --rose: #bf6258;
  --line: rgba(242, 231, 212, 0.14);
  --line-strong: rgba(242, 231, 212, 0.25);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --shell: min(1440px, 100%);
  --gutter: clamp(22px, 5vw, 80px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scrollbar-color: #4b3322 #0a0807;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0807;
}

::-webkit-scrollbar-thumb {
  border: 3px solid #0a0807;
  border-radius: 99px;
  background: #4b3322;
}

::-webkit-scrollbar-thumb:hover {
  background: #75502f;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: rgba(237, 139, 61, 0.35);
  color: #fff7e8;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

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

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
}

svg {
  display: block;
}

:focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 5px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 400;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

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

/* page texture ------------------------------------------------------------ */
.page-grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #e78938, #f4cb8b 48%, #bf6258);
  transform: scaleX(0);
  transform-origin: left center;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(237, 139, 61, 0.1), rgba(237, 139, 61, 0.025) 38%, transparent 69%);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.8s ease;
  will-change: transform;
}

/* header ------------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px var(--gutter);
  border-bottom: 1px solid transparent;
  transition: padding 0.5s var(--ease), background 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
}

.site-header.is-scrolled {
  padding-top: 16px;
  padding-bottom: 16px;
  background: rgba(10, 8, 7, 0.76);
  border-color: rgba(242, 231, 212, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.015em;
}

.brand-sub {
  margin-top: 5px;
  color: var(--paper-muted);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.site-nav a {
  position: relative;
  color: rgba(242, 231, 212, 0.7);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--paper);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.sound-toggle {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.015);
  color: rgba(242, 231, 212, 0.72);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.sound-toggle:hover {
  color: var(--paper);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.sound-toggle[aria-pressed="true"] {
  color: var(--gold-bright);
  border-color: rgba(216, 161, 90, 0.45);
}

.sound-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 11px;
}

.sound-bars i {
  display: block;
  width: 1.5px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  transition: height 0.3s ease;
}

.sound-toggle[aria-pressed="true"] .sound-bars i {
  animation: equalize 1.2s ease-in-out infinite;
}

.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(2) {
  animation-delay: -0.35s;
}

.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(3) {
  animation-delay: -0.7s;
}

.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(4) {
  animation-delay: -0.15s;
}

@keyframes equalize {
  0%,
  100% { height: 3px; }
  50% { height: 11px; }
}

/* shared type ------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.21em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-rule {
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.eyebrow-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: transform 0.4s var(--ease), background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(4px);
}

.button--light {
  background: var(--paper);
  color: #1a120c;
  box-shadow: 0 14px 40px -24px rgba(255, 218, 160, 0.5);
}

.button--light:hover {
  background: #fff6e7;
}

.button--ghost {
  border-color: var(--line-strong);
  color: var(--paper);
  background: transparent;
}

.button--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  color: var(--paper-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.text-link:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.section {
  position: relative;
  padding: clamp(104px, 13vw, 190px) 0;
}

.section-shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-marker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(242, 231, 212, 0.46);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.19em;
  line-height: 1;
  text-transform: uppercase;
}

.section-marker > span:first-child {
  color: var(--gold);
}

.section-marker-line {
  width: 52px;
  height: 1px;
  background: currentColor;
  opacity: 0.42;
}

.section-marker--light {
  color: rgba(242, 231, 212, 0.5);
}

/* reveal --------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 134px var(--gutter) 30px;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 76% 18%, rgba(80, 55, 54, 0.26), transparent 60%),
    radial-gradient(65% 65% at 9% 96%, rgba(134, 65, 28, 0.2), transparent 62%),
    linear-gradient(180deg, #070a12 0%, #0b0908 54%, #0a0807 100%);
}

.hero-stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.hero-haze {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.hero-haze--one {
  right: -8vw;
  bottom: -18vw;
  width: 55vw;
  height: 45vw;
  background: rgba(210, 116, 47, 0.12);
}

.hero-haze--two {
  top: 12vh;
  left: -21vw;
  width: 46vw;
  height: 44vw;
  background: rgba(59, 68, 100, 0.13);
}

.hero-devanagari {
  position: absolute;
  top: 13vh;
  right: -2vw;
  z-index: -1;
  color: rgba(242, 231, 212, 0.017);
  font-family: "Nirmala UI", "Noto Serif Devanagari", var(--serif);
  font-size: clamp(140px, 23vw, 360px);
  font-weight: 400;
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 6vw, 100px);
  width: 100%;
  max-width: var(--shell);
  margin: auto;
}

.hero-copy {
  padding-top: 2vh;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 1.2s var(--ease) forwards;
}

.hero-copy .hero-eyebrow { animation-delay: 0.12s; }
.hero-copy .hero-title { animation-delay: 0.24s; }
.hero-copy .hero-lede { animation-delay: 0.4s; }
.hero-copy .hero-signature { animation-delay: 0.48s; }
.hero-copy .hero-actions { animation-delay: 0.56s; }

@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-eyebrow {
  color: rgba(242, 231, 212, 0.56);
}

.hero-eyebrow span:nth-child(2) {
  color: var(--gold-bright);
}

.hero-title {
  margin-top: clamp(28px, 4.2vh, 50px);
  font-family: var(--serif);
  font-size: clamp(4.2rem, 9.2vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.8;
  text-wrap: balance;
}

.hero-title-line {
  display: block;
}

.hero-title-italic {
  margin-top: 0.12em;
  padding-left: clamp(20px, 6.5vw, 112px);
  color: var(--gold-bright);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.035em;
  background: linear-gradient(100deg, #fff2d3 0%, #f4cb8b 38%, #d48b44 78%, #b56c3b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  max-width: 500px;
  margin-top: clamp(30px, 4.5vh, 48px);
  color: rgba(242, 231, 212, 0.63);
  font-size: clamp(13.5px, 1.1vw, 15.5px);
  line-height: 1.85;
}

.hero-signature {
  margin-top: 21px;
  color: rgba(242, 231, 212, 0.37);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.7;
  text-transform: uppercase;
}

.hero-signature span {
  margin-left: 5px;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.015em;
  text-transform: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: clamp(30px, 4.5vh, 46px);
}

.sound-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px;
  border: 0;
  background: none;
  color: var(--paper);
  text-align: left;
}

.sound-cta-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold-bright);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease);
}

.sound-cta-icon svg {
  width: 19px;
  height: 19px;
}

.sound-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sound-cta-copy strong {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.sound-cta-copy small {
  color: var(--paper-muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.sound-cta:hover .sound-cta-icon {
  background: rgba(237, 139, 61, 0.12);
  border-color: var(--gold);
  transform: scale(1.06);
}

/* hero visual ------------------------------------------------------------- */
.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 470px);
  padding: 18px 18px 0 4px;
  opacity: 0;
  animation: heroArtIn 1.45s 0.25s var(--ease) forwards;
  transform: translate3d(calc(var(--mx, 0) * 9px), calc(var(--my, 0) * 9px), 0);
  transition: transform 0.5s ease-out;
}

@keyframes heroArtIn {
  from {
    opacity: 0;
    translate: 0 36px;
    scale: 0.975;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(216, 161, 90, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit--outer {
  top: -5%;
  left: -8%;
  width: 115%;
  aspect-ratio: 1;
  border-style: dashed;
  animation: slowSpin 90s linear infinite;
}

.hero-orbit--inner {
  top: 10%;
  left: 4%;
  width: 94%;
  aspect-ratio: 1;
  border-color: rgba(242, 231, 212, 0.07);
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

.arch-frame {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 45px 70px rgba(0, 0, 0, 0.45));
}

.arch-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 0.79;
  padding: 10px;
  border: 1px solid rgba(216, 161, 90, 0.54);
  border-radius: 50% 50% 5px 5px / 38% 38% 5px 5px;
  background: linear-gradient(145deg, rgba(242, 231, 212, 0.08), rgba(242, 231, 212, 0.015));
  box-shadow:
    inset 0 0 0 7px rgba(10, 8, 7, 0.6),
    inset 0 0 70px rgba(0, 0, 0, 0.35),
    0 0 110px rgba(187, 102, 43, 0.1);
}

.arch-inner::before {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: 2;
  border: 1px solid rgba(242, 231, 212, 0.1);
  border-radius: inherit;
  pointer-events: none;
}

.arch-inner img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50% 50% 2px 2px / 38% 38% 2px 2px;
  object-fit: cover;
  object-position: center 45%;
  filter: brightness(1.18) saturate(1.06);
  transition: transform 1.6s var(--ease), filter 0.7s ease;
}

.arch-frame:hover .arch-inner img {
  transform: scale(1.025);
  filter: brightness(1.24) saturate(1.1);
}

.arch-shine {
  position: absolute;
  inset: 10px;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(130deg, rgba(255, 245, 219, 0.13), transparent 30%),
    linear-gradient(0deg, rgba(6, 4, 3, 0.34), transparent 26%);
  pointer-events: none;
}

.arch-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  color: rgba(242, 231, 212, 0.45);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.arch-caption-dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}

.floating-note {
  position: absolute;
  left: -8%;
  bottom: 14%;
  z-index: 4;
  width: 218px;
  padding: 21px 22px 18px;
  border: 1px solid rgba(242, 231, 212, 0.18);
  background: rgba(18, 13, 10, 0.65);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transform: rotate(-2.5deg);
  opacity: 0;
  animation: noteIn 1.1s 0.85s var(--ease) forwards;
}

@keyframes noteIn {
  from { opacity: 0; transform: translateY(16px) rotate(-4deg); }
  to { opacity: 1; transform: translateY(0) rotate(-2.5deg); }
}

.floating-note-star {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11px;
}

.floating-note p {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.25;
  color: #f4e8d4;
}

.floating-note-by {
  display: block;
  margin-top: 12px;
  color: rgba(242, 231, 212, 0.42);
  font-size: 8px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-seal {
  position: absolute;
  top: -34px;
  left: -34px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: rgba(10, 8, 7, 0.56);
  border: 1px solid rgba(216, 161, 90, 0.25);
  color: var(--gold);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: sealIn 1.1s 0.8s var(--ease) both;
}

@keyframes sealIn {
  from { opacity: 0; transform: scale(0.85) rotate(-20deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

.hero-seal svg {
  width: 92px;
  height: 92px;
  animation: slowSpin 34s linear infinite;
}

.hero-seal text {
  fill: currentColor;
  font-family: var(--sans);
  font-size: 7.2px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.hero-seal > span {
  position: absolute;
  font-size: 14px;
}

.hero-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  max-width: var(--shell);
  margin: 60px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(242, 231, 212, 0.09);
}

.hero-footer p {
  color: rgba(242, 231, 212, 0.4);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.17em;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero-footer-note {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scroll-glyph {
  position: relative;
  display: block;
  width: 14px;
  height: 22px;
  border: 1px solid rgba(242, 231, 212, 0.3);
  border-radius: 999px;
}

.scroll-glyph::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 2px;
  height: 4px;
  border-radius: 99px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: scrollDot 2.2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { opacity: 0; transform: translate(-50%, 0); }
  35% { opacity: 1; }
  70% { opacity: 0; transform: translate(-50%, 8px); }
}

/* ==========================================================================
   PROLOGUE
   ========================================================================== */
.prologue {
  isolation: isolate;
  background:
    radial-gradient(50% 64% at 91% 8%, rgba(93, 50, 32, 0.2), transparent 70%),
    linear-gradient(180deg, #0a0807, #0e0b09 45%, #0a0807);
}

.prologue::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(242, 231, 212, 0.05) 20%, rgba(242, 231, 212, 0.05) 80%, transparent);
}

.prologue .section-marker {
  margin-bottom: clamp(68px, 9vw, 130px);
}

.prologue-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 8vw, 150px);
  align-items: start;
}

.prologue-heading {
  position: sticky;
  top: 140px;
}

.prologue-heading h2,
.evening-heading h2,
.moments-heading h2 {
  margin-top: 25px;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.9vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.91;
}

.prologue-heading h2 em,
.evening-heading h2 em,
.moments-heading h2 em {
  color: var(--gold-bright);
  font-weight: 300;
}

.prologue-flower {
  width: clamp(92px, 10vw, 142px);
  margin-top: clamp(44px, 6vw, 78px);
  margin-left: 2px;
  color: var(--gold);
  opacity: 0.52;
}

.prologue-flower svg {
  width: 100%;
  height: auto;
}

.prologue-copy {
  max-width: 620px;
}

.prologue-copy p {
  color: rgba(242, 231, 212, 0.59);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.9;
}

.prologue-copy p + p {
  margin-top: 1.6em;
}

.prologue-copy .lead {
  color: rgba(250, 240, 223, 0.9);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.2vw, 2.15rem);
  font-weight: 300;
  letter-spacing: -0.012em;
  line-height: 1.37;
}

.prologue-copy .lead::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 3.6em;
  font-weight: 400;
  line-height: 0.68;
}

.prologue-copy em {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.12em;
  font-style: italic;
}

.signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
  color: rgba(242, 231, 212, 0.42);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.signature-line {
  width: 52px;
  height: 1px;
  background: rgba(242, 231, 212, 0.2);
}

.signature-star {
  color: var(--gold);
  font-size: 9px;
}

/* ==========================================================================
   DIYA INTERLUDE
   ========================================================================== */
.diya-moment {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 94svh;
  padding: 130px var(--gutter);
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(54% 55% at 50% 55%, rgba(187, 92, 35, 0.22), transparent 66%),
    #080606;
  border-top: 1px solid rgba(242, 231, 212, 0.06);
  border-bottom: 1px solid rgba(242, 231, 212, 0.06);
}

.diya-moment::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 50% 55%, transparent 0 20%, rgba(0, 0, 0, 0.35) 70%);
  pointer-events: none;
}

.diya-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.diya-glow-orb {
  position: absolute;
  top: 47%;
  left: 50%;
  width: 44vw;
  height: 30vw;
  border-radius: 50%;
  background: rgba(240, 136, 51, 0.1);
  filter: blur(110px);
  transform: translate(-50%, -50%);
  transition: background 1.2s ease, opacity 1.2s ease;
}

.diya-moment.is-lit .diya-glow-orb {
  background: rgba(245, 150, 62, 0.18);
}

.diya-firefly {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #f3bd70;
  box-shadow: 0 0 14px 4px rgba(243, 189, 112, 0.35);
  opacity: 0.6;
  animation: firefly 8s ease-in-out infinite;
}

.diya-firefly--one { top: 24%; left: 21%; animation-delay: -2s; }
.diya-firefly--two { top: 63%; right: 18%; animation-delay: -4.8s; animation-duration: 10s; }
.diya-firefly--three { top: 36%; right: 31%; animation-delay: -1.1s; animation-duration: 12s; }

@keyframes firefly {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.1; }
  35% { opacity: 0.65; }
  50% { transform: translate3d(18px, -26px, 0); opacity: 0.3; }
  75% { opacity: 0.55; }
}

.diya-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
}

.diya-inner > .eyebrow {
  justify-content: center;
}

.diya-inner h2 {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 5.4rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.diya-inner h2 em {
  color: var(--gold-bright);
  font-weight: 300;
}

.diya {
  position: relative;
  display: block;
  width: min(310px, 77vw);
  height: 330px;
  margin: clamp(10px, 2vw, 26px) 0 0;
  padding: 0;
  border: 0;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

.diya-halo {
  position: absolute;
  top: 79px;
  left: 50%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 195, 108, 0.2), rgba(255, 157, 66, 0.04) 46%, transparent 70%);
  transform: translateX(-50%) scale(0.7);
  opacity: 0.16;
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}

.diya.is-lit .diya-halo {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.diya-bowl {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 2;
  width: 280px;
  max-width: 90vw;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.42));
}

.diya-flame {
  position: absolute;
  bottom: 118px;
  left: 50%;
  z-index: 3;
  width: 37px;
  height: 68px;
  border-radius: 52% 48% 52% 48% / 68% 68% 32% 32%;
  background:
    radial-gradient(ellipse at 50% 72%, #fffbe2 0 16%, #ffe7a8 30%, #ffbd5f 58%, #f3842e 82%, rgba(226, 92, 27, 0) 100%);
  filter: drop-shadow(0 0 16px rgba(255, 170, 73, 0.85)) drop-shadow(0 0 46px rgba(255, 129, 42, 0.42));
  transform: translateX(-50%) scaleY(0.3) scaleX(0.4);
  transform-origin: 50% 100%;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.9s var(--ease);
}

.diya.is-lit .diya-flame {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  animation: flameFlicker 2.4s ease-in-out infinite;
}

@keyframes flameFlicker {
  0%, 100% { transform: translateX(-50%) scale(1) skewX(0deg); }
  22% { transform: translateX(-50%) scale(0.96, 1.05) skewX(1.5deg); }
  47% { transform: translateX(-50%) scale(1.04, 0.97) skewX(-2deg); }
  69% { transform: translateX(-50%) scale(0.98, 1.03) skewX(1deg); }
}

.diya-flame-inner {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 14px;
  height: 32px;
  border-radius: 50% 50% 47% 47% / 64% 64% 36% 36%;
  background: linear-gradient(180deg, #fffdf0, #ffeca7 58%, #ffc263);
  filter: blur(0.5px);
  transform: translateX(-50%);
}

.diya-wick {
  position: absolute;
  bottom: 96px;
  left: 50%;
  z-index: 2;
  width: 5px;
  height: 27px;
  border-radius: 99px;
  background: linear-gradient(180deg, #1d100b 0%, #492918 65%, #9b5b2f 100%);
  transform: translateX(-50%) rotate(7deg);
  transform-origin: bottom center;
  transition: background 0.5s ease;
}

.diya.is-lit .diya-wick {
  background: linear-gradient(180deg, #2a1308 0%, #75391b 45%, #f6a950 88%, #ffe2a2 100%);
}

.diya-label {
  position: absolute;
  bottom: -4px;
  left: 50%;
  z-index: 4;
  color: rgba(242, 231, 212, 0.4);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
  transition: color 0.4s ease, opacity 0.4s ease;
}

.diya:hover .diya-label {
  color: var(--gold-bright);
}

.diya.is-lit .diya-label {
  opacity: 0;
}

.diya-sparks {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.diya-spark {
  position: absolute;
  top: 145px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffd487;
  box-shadow: 0 0 10px 2px rgba(255, 196, 105, 0.5);
  animation: sparkFly 1.15s ease-out forwards;
}

@keyframes sparkFly {
  0% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(var(--sx, 0), var(--sy, -90px), 0) scale(0.2); }
}

.diya-sub {
  max-width: 440px;
  margin-top: 4px;
  color: rgba(242, 231, 212, 0.46);
  font-size: 12.5px;
  line-height: 1.8;
}

.diya-count {
  margin-top: 24px;
  color: rgba(242, 231, 212, 0.31);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.diya-count span {
  color: var(--gold);
}

/* ==========================================================================
   EVENING
   ========================================================================== */
.evening {
  overflow: hidden;
  background:
    radial-gradient(50% 50% at 96% 40%, rgba(84, 46, 27, 0.13), transparent 70%),
    linear-gradient(180deg, #0b0908, #100c09 55%, #0b0908);
}

.evening .section-marker {
  margin-bottom: clamp(54px, 7vw, 92px);
}

.evening-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: clamp(42px, 8vw, 140px);
  align-items: end;
}

.evening-intro {
  max-width: 390px;
  padding-bottom: 10px;
  color: rgba(242, 231, 212, 0.53);
  font-size: 14px;
  line-height: 1.9;
}

.chapter-list {
  margin-top: clamp(58px, 8vw, 108px);
  border-top: 1px solid rgba(242, 231, 212, 0.12);
}

.chapter {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 78px;
  gap: clamp(22px, 4vw, 58px);
  align-items: start;
  padding: clamp(34px, 4.6vw, 55px) clamp(0px, 1vw, 14px);
  border-bottom: 1px solid rgba(242, 231, 212, 0.12);
  transition: background 0.5s ease, padding 0.5s var(--ease);
}

.chapter::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(216, 161, 90, 0));
  transition: width 0.7s var(--ease);
}

.chapter:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 76%);
  padding-right: 20px;
  padding-left: 20px;
}

.chapter:hover::before {
  width: 42%;
}

.chapter-index {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 7px;
}

.chapter-number {
  color: rgba(216, 161, 90, 0.66);
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  line-height: 1;
}

.chapter-index time {
  color: rgba(242, 231, 212, 0.42);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.19em;
  line-height: 1;
  text-transform: uppercase;
}

.chapter-copy {
  display: grid;
  grid-template-columns: minmax(180px, 0.56fr) minmax(0, 0.94fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.chapter-copy h3 {
  color: #f4ead8;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.55vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.03;
}

.chapter-copy p {
  max-width: 510px;
  padding-top: 5px;
  color: rgba(242, 231, 212, 0.5);
  font-size: 13.5px;
  line-height: 1.85;
}

.chapter-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  justify-self: end;
  border: 1px solid rgba(242, 231, 212, 0.14);
  border-radius: 50%;
  color: var(--gold);
  opacity: 0.55;
  transition: opacity 0.5s ease, border-color 0.5s ease, transform 0.6s var(--ease), background 0.5s ease;
}

.chapter-icon svg {
  width: 34px;
  height: 34px;
}

.chapter:hover .chapter-icon {
  opacity: 1;
  border-color: rgba(216, 161, 90, 0.46);
  background: rgba(216, 161, 90, 0.06);
  transform: rotate(8deg) scale(1.06);
}

.chapter-line {
  display: none;
}

/* ==========================================================================
   NINGOL CHAKOUBA — the other homecoming
   ========================================================================== */
.ningol {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(55% 60% at 88% 12%, rgba(152, 72, 37, 0.24), transparent 68%),
    radial-gradient(50% 50% at 6% 90%, rgba(84, 91, 57, 0.12), transparent 72%),
    linear-gradient(180deg, #0b0908 0%, #15100d 44%, #0b0908 100%);
}

.ningol::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.94%, rgba(242, 231, 212, 0.035) 50%, transparent 50.06%),
    radial-gradient(70% 60% at 50% 0%, rgba(255, 207, 143, 0.05), transparent 70%);
}

.ningol-glow {
  position: absolute;
  top: 26%;
  right: -8%;
  z-index: -1;
  width: 36vw;
  height: 36vw;
  border-radius: 50%;
  background: rgba(203, 111, 52, 0.11);
  filter: blur(110px);
  pointer-events: none;
}

.ningol .section-marker {
  margin-bottom: clamp(58px, 8vw, 100px);
}

.ningol-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(54px, 8vw, 130px);
  align-items: center;
}

.ningol-copy h2 {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 5.5vw, 5.7rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.ningol-copy h2 em {
  color: var(--gold-bright);
  font-weight: 300;
}

.ningol-copy > p {
  max-width: 540px;
  margin-top: 1.5em;
  color: rgba(242, 231, 212, 0.55);
  font-size: clamp(13px, 1.05vw, 14.5px);
  line-height: 1.92;
}

.ningol-copy > .ningol-lede {
  margin-top: clamp(28px, 4vw, 40px);
  color: rgba(248, 239, 223, 0.82);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.85vw, 1.72rem);
  font-weight: 300;
  line-height: 1.5;
}

.ningol-copy em {
  color: var(--gold);
  font-style: italic;
}

.ningol-quote {
  position: relative;
  max-width: 500px;
  margin: clamp(34px, 5vw, 52px) 0 0;
  padding: 6px 0 6px 28px;
  border-left: 1px solid rgba(216, 161, 90, 0.45);
  color: rgba(249, 238, 219, 0.88);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.85vw, 1.8rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
}

.ningol-quote span {
  position: absolute;
  top: -18px;
  left: 20px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 62px;
  line-height: 1;
  opacity: 0.3;
}

.ningol-copy > .ningol-sign {
  margin-top: 15px;
  padding-left: 28px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
}

.ningol-date {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(36px, 5vw, 54px);
  padding-top: 18px;
  border-top: 1px solid rgba(242, 231, 212, 0.15);
}

.ningol-date-day {
  color: rgba(244, 203, 139, 0.64);
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 300;
  line-height: 0.8;
}

.ningol-date-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ningol-date-copy strong {
  color: rgba(242, 231, 212, 0.66);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ningol-date-copy small {
  color: rgba(242, 231, 212, 0.32);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.ningol-visual {
  position: relative;
  width: 100%;
  padding: 20px 0 74px 8%;
}

.ningol-photo-main,
.ningol-photo-small {
  position: relative;
  background: #f1e4cd;
  box-shadow: 0 34px 70px -36px rgba(0, 0, 0, 0.9);
}

.ningol-photo-main {
  width: 84%;
  margin-left: auto;
  padding: 10px 10px 12px;
  rotate: 1.4deg;
}

.ningol-photo-small {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 45%;
  padding: 8px 8px 10px;
  rotate: -3.6deg;
}

.ningol-photo-crop {
  position: relative;
  overflow: hidden;
  background: #140d0a;
}

.ningol-photo-main .ningol-photo-crop {
  aspect-ratio: 4 / 5;
}

.ningol-photo-small .ningol-photo-crop {
  aspect-ratio: 3 / 4;
}

.ningol-photo-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.ningol-photo-main .ningol-photo-crop img {
  object-position: 50% 44%;
  filter: saturate(0.83) contrast(1.05) brightness(0.92);
}

.ningol-photo-small .ningol-photo-crop img {
  object-position: center 36%;
  filter: saturate(0.55) contrast(1.06);
}

.ningol-photo-main:hover .ningol-photo-crop img,
.ningol-photo-small:hover .ningol-photo-crop img {
  transform: scale(1.03);
}

.ningol-photo-main figcaption,
.ningol-photo-small figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 4px 2px;
  color: #2b1a12;
}

.ningol-photo-main figcaption span,
.ningol-photo-small figcaption span {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.2;
}

.ningol-photo-main figcaption small,
.ningol-photo-small figcaption small {
  color: rgba(43, 26, 18, 0.48);
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.ningol-photo-small figcaption span {
  font-size: 13px;
}

.ningol-stamp {
  position: absolute;
  top: 1%;
  left: 2%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(216, 161, 90, 0.34);
  border-radius: 50%;
  background: rgba(12, 9, 7, 0.42);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1;
  text-align: center;
  transform: rotate(-9deg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.ningol-stamp i {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.ningol-wide {
  margin-top: clamp(76px, 10vw, 140px);
}

.ningol-wide-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  border: 1px solid rgba(242, 231, 212, 0.16);
  background: #0d0806;
  box-shadow: 0 36px 80px -48px rgba(0, 0, 0, 0.9);
}

.ningol-wide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 35%, rgba(10, 7, 5, 0.42)),
    linear-gradient(90deg, rgba(10, 7, 5, 0.25), transparent 35%);
}

.ningol-wide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(0.75) contrast(1.06) brightness(0.84);
  transition: transform 1.4s var(--ease);
}

.ningol-wide:hover .ningol-wide-media img {
  transform: scale(1.025);
}

.ningol-wide-label {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(242, 231, 212, 0.23);
  border-radius: 999px;
  background: rgba(15, 10, 7, 0.34);
  color: rgba(255, 244, 225, 0.8);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ningol-wide figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(242, 231, 212, 0.12);
}

.ningol-wide figcaption span {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  font-style: italic;
  color: rgba(242, 231, 212, 0.85);
  line-height: 1.2;
}

.ningol-wide figcaption p {
  margin-top: 5px;
  color: rgba(242, 231, 212, 0.38);
  font-size: 10px;
  line-height: 1.6;
}

.ningol-wide figcaption small {
  flex: 0 0 auto;
  color: rgba(242, 231, 212, 0.31);
  font-size: 7px;
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-align: right;
}

.ningol-credit {
  margin-top: 24px;
  color: rgba(242, 231, 212, 0.25);
  font-size: 8px;
  letter-spacing: 0.05em;
  line-height: 1.8;
  text-align: right;
}

.ningol-credit span {
  color: rgba(216, 161, 90, 0.55);
}

/* ==========================================================================
   MOMENTS — the warm paper chapter
   ========================================================================== */
.moments {
  color: #1d1510;
  background:
    radial-gradient(65% 55% at 100% 0%, rgba(179, 131, 76, 0.17), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(160, 108, 59, 0.12), transparent 72%),
    #ede1cc;
}

.moments::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.19;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.moments .section-shell {
  position: relative;
  z-index: 1;
}

.moments .section-marker {
  color: rgba(29, 21, 16, 0.48);
}

.moments .section-marker > span:first-child {
  color: #9d6229;
}

.moments-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: clamp(40px, 8vw, 130px);
}

.moments-heading h2 {
  margin-top: 30px;
}

.moments-heading h2 em {
  color: #a66128;
}

.moments-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 360px;
  padding-bottom: 8px;
}

.moments-note > p {
  color: rgba(29, 21, 16, 0.64);
  font-size: 13.5px;
  line-height: 1.9;
}

.local-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(29, 21, 16, 0.16);
  border-radius: 999px;
  color: rgba(29, 21, 16, 0.53);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.local-badge svg {
  width: 12px;
  height: 12px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 5vw, 78px);
  align-items: start;
  margin-top: clamp(58px, 8vw, 104px);
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.42fr 0.58fr;
  gap: clamp(24px, 4.5vw, 60px);
  align-items: end;
  margin-top: clamp(62px, 8vw, 108px);
}

.photo-strip-item {
  min-width: 0;
}

.photo-strip-item--wide {
  rotate: -0.4deg;
}

.photo-strip-item--tall {
  margin-bottom: clamp(10px, 3vw, 42px);
  rotate: 0.8deg;
}

.photo-strip-media {
  position: relative;
  overflow: hidden;
  background: #150d0a;
  border: 1px solid rgba(29, 21, 16, 0.24);
  box-shadow: 0 30px 64px -42px rgba(47, 29, 17, 0.62);
}

.photo-strip-item--wide .photo-strip-media {
  aspect-ratio: 4 / 3;
}

.photo-strip-item--tall .photo-strip-media {
  aspect-ratio: 4 / 5;
}

.photo-strip-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), transparent 28%, transparent 70%, rgba(0, 0, 0, 0.3)),
    linear-gradient(135deg, rgba(255, 246, 224, 0.07), transparent 35%);
}

.photo-strip-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 1.5s var(--ease), filter 0.6s ease;
}

.photo-strip-item--wide img {
  object-position: center 52%;
}

.photo-strip-item--tall img {
  object-position: center 52%;
}

.photo-strip-item:hover .photo-strip-media img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.04);
}

.photo-strip-number {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 247, 232, 0.3);
  border-radius: 50%;
  background: rgba(15, 10, 7, 0.28);
  color: rgba(255, 247, 232, 0.82);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  line-height: 1;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.photo-strip-item figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(29, 21, 16, 0.17);
}

.photo-strip-item figcaption h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.7vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.photo-strip-item figcaption p {
  margin-top: 5px;
  color: rgba(29, 21, 16, 0.5);
  font-size: 10.5px;
  line-height: 1.65;
}

.photo-strip-item figcaption small {
  flex: 0 0 auto;
  padding-top: 4px;
  color: rgba(29, 21, 16, 0.4);
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: right;
}

.gallery-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: clamp(38px, 5vw, 74px);
}

.gallery-column--right {
  padding-top: clamp(28px, 4.5vw, 66px);
}

.memory {
  min-width: 0;
}

.memory--one .memory-media {
  aspect-ratio: 4 / 5;
}

.memory--two .memory-media {
  aspect-ratio: 1 / 1;
}

.memory--three .memory-media {
  aspect-ratio: 4 / 3;
}

.memory--four .memory-media {
  aspect-ratio: 4 / 5;
}

.memory-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #160e0b;
  border: 1px solid rgba(29, 21, 16, 0.25);
  box-shadow: 0 26px 60px -38px rgba(47, 29, 17, 0.55);
}

.memory--two .memory-media { aspect-ratio: 1 / 1; }
.memory--three .memory-media { aspect-ratio: 4 / 3; }

.memory-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 25%, transparent 70%, rgba(0, 0, 0, 0.28)),
    linear-gradient(135deg, rgba(255, 245, 225, 0.08), transparent 30%);
  opacity: 0.8;
  transition: opacity 0.5s ease;
}

.memory-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.005);
  transition: transform 1.4s var(--ease), filter 0.6s ease;
}

.memory-media.is-dragging {
  outline: 1px dashed rgba(255, 247, 232, 0.8);
  outline-offset: -10px;
}

.memory-media.is-dragging::after {
  opacity: 0.25;
}

.memory:hover .memory-media img {
  transform: scale(1.04);
  filter: saturate(1.04);
}

.memory-number {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 247, 232, 0.28);
  border-radius: 50%;
  background: rgba(15, 10, 7, 0.28);
  color: rgba(255, 247, 232, 0.86);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  line-height: 1;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.memory-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  color: rgba(255, 247, 232, 0.52);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.memory-actions {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: max-content;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 8px));
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.memory:hover .memory-actions,
.memory:focus-within .memory-actions {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.memory-action,
.memory-reset {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 247, 232, 0.35);
  border-radius: 999px;
  background: rgba(15, 10, 7, 0.5);
  color: #fff7e8;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.memory-action svg {
  width: 15px;
  height: 15px;
}

.memory-action:hover,
.memory-reset:hover {
  background: rgba(237, 139, 61, 0.9);
  border-color: rgba(255, 247, 232, 0.65);
  color: #1a100a;
}

.memory-reset {
  padding: 8px 12px;
  font-size: 7px;
  opacity: 0.75;
}

.memory figcaption {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(29, 21, 16, 0.17);
}

.memory figcaption h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.memory figcaption p {
  margin-top: 5px;
  color: rgba(29, 21, 16, 0.55);
  font-size: 11.5px;
  line-height: 1.6;
}

.memory figcaption > span {
  flex: 0 0 auto;
  padding-top: 4px;
  color: rgba(29, 21, 16, 0.45);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(54px, 7vw, 86px);
  color: rgba(29, 21, 16, 0.46);
  font-size: 9px;
  letter-spacing: 0.07em;
  line-height: 1.7;
  text-align: center;
}

.gallery-footnote span {
  color: #a66128;
  font-size: 9px;
}

/* ==========================================================================
   WISH
   ========================================================================== */
.wish-section {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(104px, 12vw, 170px) 0 clamp(90px, 10vw, 140px);
  background:
    radial-gradient(65% 70% at 72% 23%, rgba(45, 55, 96, 0.3), transparent 68%),
    radial-gradient(55% 55% at 10% 82%, rgba(146, 71, 32, 0.13), transparent 72%),
    linear-gradient(180deg, #070810 0%, #0b0b13 55%, #120c0a 100%);
}

.wish-stars {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255, 241, 209, 0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 76% 31%, rgba(255, 241, 209, 0.65) 0 1px, transparent 1.5px),
    radial-gradient(circle at 43% 13%, rgba(255, 241, 209, 0.5) 0 1px, transparent 1.5px),
    radial-gradient(circle at 89% 67%, rgba(255, 241, 209, 0.55) 0 1px, transparent 1.5px),
    radial-gradient(circle at 28% 73%, rgba(255, 241, 209, 0.45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 57% 47%, rgba(255, 241, 209, 0.35) 0 1px, transparent 1.5px),
    radial-gradient(circle at 6% 54%, rgba(255, 241, 209, 0.5) 0 1px, transparent 1.5px),
    radial-gradient(circle at 67% 81%, rgba(255, 241, 209, 0.35) 0 1px, transparent 1.5px);
  background-size: 440px 420px, 510px 480px, 380px 450px, 620px 530px, 460px 510px, 540px 500px, 420px 390px, 580px 470px;
}

.wish-moon {
  position: absolute;
  top: 8%;
  right: 9%;
  z-index: -1;
  width: clamp(90px, 11vw, 168px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 33%, #fff9e7, #f1d9af 54%, #cfaa73 100%);
  box-shadow:
    0 0 80px 20px rgba(250, 221, 169, 0.1),
    0 0 180px 70px rgba(250, 221, 169, 0.055);
  opacity: 0.78;
}

.wish-moon::after {
  content: "";
  position: absolute;
  top: 25%;
  left: 22%;
  width: 18%;
  height: 15%;
  border-radius: 50%;
  background: rgba(160, 125, 78, 0.14);
  box-shadow: 36px 29px 0 -3px rgba(160, 125, 78, 0.12);
}

.wish-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  z-index: -1;
  height: clamp(130px, 17vw, 220px);
  opacity: 0.8;
}

.wish-horizon svg {
  width: 100%;
  height: 100%;
}

.wish-inner {
  position: relative;
  z-index: 2;
}

.wish-inner > .section-marker {
  margin-bottom: clamp(54px, 8vw, 100px);
}

.wish-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}

.wish-copy h2 {
  margin-top: 25px;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.45vw, 5.7rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.91;
}

.wish-copy h2 em {
  color: var(--gold-bright);
  font-weight: 300;
}

.wish-lede {
  max-width: 460px;
  margin-top: 28px;
  color: rgba(242, 231, 212, 0.55);
  font-size: 13.5px;
  line-height: 1.9;
}

.wish-signature {
  margin-top: 24px;
  color: rgba(242, 231, 212, 0.38);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
}

.wish-signature strong {
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.wish-ritual {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: clamp(30px, 4vw, 42px);
  padding-top: 20px;
  border-top: 1px solid rgba(242, 231, 212, 0.11);
  color: rgba(242, 231, 212, 0.32);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.wish-ritual-line {
  width: 32px;
  height: 1px;
  background: rgba(216, 161, 90, 0.55);
}

.wish-form {
  margin-top: 17px;
}

.wish-form label {
  display: block;
  margin-bottom: 10px;
  color: rgba(242, 231, 212, 0.38);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wish-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(242, 231, 212, 0.28);
  transition: border-color 0.4s ease;
}

.wish-field:focus-within {
  border-color: var(--gold);
}

.wish-field input {
  min-width: 0;
  flex: 1;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 300;
  line-height: 1.4;
}

.wish-field input::placeholder {
  color: rgba(242, 231, 212, 0.27);
  font-style: italic;
}

.wish-field input:focus {
  outline: 0;
}

.wish-submit {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 12px 17px;
  border: 1px solid rgba(216, 161, 90, 0.44);
  border-radius: 999px;
  background: rgba(216, 161, 90, 0.08);
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.wish-submit svg {
  width: 16px;
  height: 16px;
}

.wish-submit:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #1b1109;
}

.wish-help {
  margin-top: 13px;
  color: rgba(242, 231, 212, 0.31);
  font-size: 9px;
  line-height: 1.7;
}

.wish-help span {
  color: rgba(242, 231, 212, 0.45);
}

.wish-sky-wrap {
  position: relative;
  min-height: clamp(420px, 46vw, 560px);
  border: 1px solid rgba(242, 231, 212, 0.08);
  background:
    radial-gradient(60% 60% at 50% 78%, rgba(238, 144, 62, 0.1), transparent 72%),
    radial-gradient(circle at 19% 28%, rgba(255, 239, 207, 0.58) 0 1px, transparent 1.8px) 0 0 / 173px 151px,
    radial-gradient(circle at 71% 62%, rgba(255, 239, 207, 0.35) 0 1px, transparent 1.7px) 0 0 / 211px 187px,
    radial-gradient(circle at 47% 14%, rgba(255, 224, 175, 0.42) 0 1px, transparent 1.6px) 0 0 / 149px 199px,
    rgba(255, 255, 255, 0.008);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.wish-sky-wrap::before,
.wish-sky-wrap::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(216, 161, 90, 0.5);
  transform: rotate(45deg);
}

.wish-sky-wrap::before { top: 12px; left: 12px; }
.wish-sky-wrap::after { right: 12px; bottom: 12px; }

.wish-sky {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.wish-empty {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(242, 231, 212, 0.27);
  font-size: 8px;
  letter-spacing: 0.13em;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: opacity 0.5s ease;
  white-space: nowrap;
}

.wish-empty.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.wish-empty span {
  color: rgba(216, 161, 90, 0.5);
}

.wish-constellation {
  position: absolute;
  z-index: 0;
  color: rgba(242, 231, 212, 0.25);
  font-size: 9px;
}

.wish-constellation--two {
  top: 24%;
  left: 17%;
  font-size: 20px;
  color: rgba(242, 231, 212, 0.12);
}

.wish-constellation--three {
  right: 14%;
  bottom: 31%;
  font-size: 6px;
  color: rgba(216, 161, 90, 0.4);
}

.lantern {
  position: absolute;
  bottom: -85px;
  left: var(--x, 50%);
  z-index: 4;
  width: 40px;
  height: 72px;
  padding: 0;
  border: 0;
  background: none;
  transform: scale(var(--scale, 1));
  animation: lanternRise var(--duration, 26s) linear infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}

.lantern-body {
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 34px;
  height: 48px;
  margin-left: -17px;
  border-radius: 9px 9px 7px 7px / 6px 6px 8px 8px;
  background:
    linear-gradient(90deg, rgba(255, 244, 205, 0.28), transparent 20% 80%, rgba(143, 57, 19, 0.3)),
    linear-gradient(180deg, #ffe4a6, #ffb75a 52%, #d9762d);
  box-shadow:
    0 0 25px 5px rgba(255, 174, 86, 0.25),
    0 0 60px 15px rgba(255, 148, 58, 0.09);
  transition: box-shadow 0.4s ease, filter 0.4s ease;
}

.lantern-body::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 19px;
  height: 5px;
  border-radius: 2px;
  background: #70371b;
  transform: translateX(-50%);
}

.lantern-body::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff5ca, #ff9b38 48%, transparent 70%);
  box-shadow: 0 0 13px 5px rgba(255, 158, 67, 0.45);
  transform: translateX(-50%);
}

.lantern-flame {
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 12px;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(255, 220, 140, 0.65), transparent 70%);
  transform: translateX(-50%);
}

.lantern-note {
  position: absolute;
  bottom: 73px;
  left: 50%;
  z-index: 6;
  width: max-content;
  max-width: 220px;
  padding: 9px 12px;
  border: 1px solid rgba(242, 231, 212, 0.18);
  border-radius: 3px;
  background: rgba(12, 9, 7, 0.92);
  color: rgba(242, 231, 212, 0.82);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lantern:hover .lantern-note,
.lantern:focus-visible .lantern-note,
.lantern.is-open .lantern-note {
  opacity: 1;
  transform: translate(-50%, 0);
}

.lantern:hover .lantern-body,
.lantern:focus-visible .lantern-body {
  filter: brightness(1.15);
  box-shadow:
    0 0 32px 9px rgba(255, 174, 86, 0.36),
    0 0 80px 22px rgba(255, 148, 58, 0.13);
}

@keyframes lanternRise {
  0% {
    transform: translate3d(0, 0, 0) rotate(-2deg) scale(var(--scale, 1));
    opacity: 0;
  }
  6% { opacity: 1; }
  28% { transform: translate3d(12px, -150px, 0) rotate(2deg) scale(var(--scale, 1)); }
  52% { transform: translate3d(-8px, -310px, 0) rotate(-1.5deg) scale(var(--scale, 1)); opacity: 1; }
  80% { transform: translate3d(10px, -470px, 0) rotate(1deg) scale(var(--scale, 1)); }
  100% {
    transform: translate3d(-4px, -640px, 0) rotate(-1deg) scale(var(--scale, 1));
    opacity: 0;
  }
}

/* ==========================================================================
   LETTER
   ========================================================================== */
.letter {
  isolation: isolate;
  overflow: hidden;
  padding: clamp(120px, 15vw, 220px) 0;
  text-align: center;
  background:
    radial-gradient(54% 60% at 50% 62%, rgba(113, 61, 33, 0.22), transparent 70%),
    linear-gradient(180deg, #120c0a, #0a0807);
}

.letter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: min(820px, 72vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 161, 90, 0.4), transparent);
  transform: translateX(-50%);
}

.letter-ornament {
  position: absolute;
  z-index: -1;
  width: clamp(210px, 28vw, 420px);
  color: var(--gold);
  opacity: 0.15;
  pointer-events: none;
}

.letter-ornament--left {
  top: 4%;
  left: -11%;
  transform: rotate(-11deg);
}

.letter-ornament--right {
  right: -13%;
  bottom: 3%;
  transform: rotate(23deg);
}

.letter-ornament svg {
  width: 100%;
  height: auto;
}

.letter-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.letter-inner > .eyebrow {
  justify-content: center;
}

.letter h2 {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.2vw, 5.3rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.letter h2 em {
  color: var(--gold-bright);
  font-weight: 300;
}

.letter-copy {
  max-width: 620px;
  margin: 32px auto 0;
  color: rgba(242, 231, 212, 0.53);
  font-size: 13.5px;
  line-height: 1.95;
}

.letter-sign {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
  color: rgba(242, 231, 212, 0.4);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.letter-sign-line {
  width: 40px;
  height: 1px;
  background: rgba(242, 231, 212, 0.18);
}

.letter-sign-star {
  color: var(--gold);
  font-size: 8px;
}

.letter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 46px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px clamp(40px, 7vw, 100px);
  padding: clamp(48px, 6vw, 72px) var(--gutter) 36px;
  border-top: 1px solid rgba(242, 231, 212, 0.09);
  background: #070605;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
}

.footer-brand p {
  margin-top: 8px;
  color: rgba(242, 231, 212, 0.38);
  font-size: 11px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 28px;
  padding-top: 5px;
}

.footer-links a {
  color: rgba(242, 231, 212, 0.53);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-credits {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(242, 231, 212, 0.07);
}

.footer-credits p {
  max-width: 630px;
  color: rgba(242, 231, 212, 0.28);
  font-size: 9px;
  line-height: 1.8;
}

.footer-credits p:last-child {
  max-width: none;
  text-align: right;
  white-space: nowrap;
}

.footer-credits a {
  color: rgba(242, 231, 212, 0.5);
  border-bottom: 1px solid rgba(242, 231, 212, 0.22);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-credits a:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.photo-credits {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(242, 231, 212, 0.07);
  padding-top: 22px;
}

.photo-credits summary {
  width: fit-content;
  color: rgba(242, 231, 212, 0.36);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.6;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
}

.photo-credits summary:hover {
  color: var(--gold-bright);
}

.photo-credits summary::marker {
  color: var(--gold);
}

.photo-credits-body {
  display: grid;
  gap: 8px;
  max-width: 980px;
  margin-top: 16px;
}

.photo-credits-body p {
  color: rgba(242, 231, 212, 0.28);
  font-size: 8.5px;
  line-height: 1.85;
}

.photo-credits-body strong {
  color: rgba(242, 231, 212, 0.52);
  font-weight: 500;
}

.photo-credits-body a {
  color: rgba(242, 231, 212, 0.48);
  border-bottom: 1px solid rgba(242, 231, 212, 0.16);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.photo-credits-body a:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.photo-credits-body .photo-credits-note {
  padding-top: 4px;
  color: rgba(242, 231, 212, 0.24);
  font-style: italic;
}

/* ==========================================================================
   SOUNDTRACK PLAYER
   ========================================================================== */
.music-player {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 150;
  width: 300px;
  padding: 13px;
  border: 1px solid rgba(242, 231, 212, 0.16);
  border-radius: 16px;
  background: rgba(16, 12, 9, 0.92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, calc(100% + 44px), 0);
  transition: transform 0.7s var(--ease), opacity 0.45s ease;
}

.music-player.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.music-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1px 1px 10px;
}

.music-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(242, 231, 212, 0.44);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.music-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px 2px rgba(216, 161, 90, 0.4);
}

.music-player.is-playing .music-live i {
  animation: livePulse 1.8s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px 2px rgba(216, 161, 90, 0.4); }
  50% { opacity: 0.45; box-shadow: 0 0 3px 1px rgba(216, 161, 90, 0.2); }
}

.music-close {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: none;
  color: rgba(242, 231, 212, 0.45);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.music-close:hover {
  color: var(--paper);
  border-color: var(--line);
}

.music-close svg {
  width: 14px;
  height: 14px;
}

.music-art {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 100px;
  padding: 11px;
  overflow: hidden;
  border: 1px solid rgba(242, 231, 212, 0.08);
  border-radius: 10px;
  background:
    radial-gradient(90% 140% at 16% 10%, rgba(216, 161, 90, 0.2), transparent 62%),
    linear-gradient(145deg, #1d130e, #0b0706);
}

.music-cover {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 15px 32px -16px rgba(0, 0, 0, 0.9);
}

.music-visualizer {
  display: flex;
  flex: 1;
  align-items: flex-end;
  gap: 3px;
  height: 58px;
  padding: 0 0 5px;
  overflow: hidden;
  opacity: 0.42;
  transition: opacity 0.4s ease;
}

.music-visualizer span {
  flex: 1;
  height: 20%;
  min-width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(248, 214, 162, 0.92), rgba(190, 99, 52, 0.2));
  transform-origin: 50% 100%;
}

.music-visualizer span:nth-child(1) { height: 22%; }
.music-visualizer span:nth-child(2) { height: 48%; }
.music-visualizer span:nth-child(3) { height: 31%; }
.music-visualizer span:nth-child(4) { height: 72%; }
.music-visualizer span:nth-child(5) { height: 43%; }
.music-visualizer span:nth-child(6) { height: 88%; }
.music-visualizer span:nth-child(7) { height: 35%; }
.music-visualizer span:nth-child(8) { height: 63%; }
.music-visualizer span:nth-child(9) { height: 25%; }
.music-visualizer span:nth-child(10) { height: 78%; }
.music-visualizer span:nth-child(11) { height: 46%; }
.music-visualizer span:nth-child(12) { height: 92%; }
.music-visualizer span:nth-child(13) { height: 38%; }
.music-visualizer span:nth-child(14) { height: 67%; }
.music-visualizer span:nth-child(15) { height: 28%; }
.music-visualizer span:nth-child(16) { height: 54%; }
.music-visualizer span:nth-child(17) { height: 40%; }
.music-visualizer span:nth-child(18) { height: 61%; }

.music-player.is-playing .music-visualizer {
  opacity: 1;
}

.music-player.is-playing .music-visualizer span {
  animation: barPulse 1.05s ease-in-out infinite alternate;
}

.music-player.is-playing .music-visualizer span:nth-child(3n) { animation-duration: 0.78s; }
.music-player.is-playing .music-visualizer span:nth-child(3n + 1) { animation-duration: 1.28s; animation-delay: -0.35s; }
.music-player.is-playing .music-visualizer span:nth-child(4n) { animation-delay: -0.62s; }
.music-player.is-playing .music-visualizer span:nth-child(5n) { animation-delay: -0.18s; }

@keyframes barPulse {
  from { transform: scaleY(0.32); }
  to { transform: scaleY(1); }
}

.music-art-note {
  position: absolute;
  right: 11px;
  bottom: 7px;
  color: rgba(242, 231, 212, 0.27);
  font-size: 6px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.music-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 1px 7px;
}

.music-track {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.music-track strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.05;
}

.music-track span {
  margin-top: 2px;
  color: rgba(242, 231, 212, 0.4);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.music-play {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 0;
  border: 1px solid rgba(216, 161, 90, 0.4);
  border-radius: 50%;
  background: rgba(216, 161, 90, 0.08);
  color: var(--gold-bright);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.music-play:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #1b1109;
}

.music-play svg {
  width: 19px;
  height: 19px;
}

.music-play .icon-play { margin-left: 2px; }
.music-play .icon-pause { display: none; }
.music-player.is-playing .music-play .icon-play { display: none; }
.music-player.is-playing .music-play .icon-pause { display: block; }

.music-progress {
  padding: 2px 1px 7px;
}

#musicProgress {
  display: block;
  width: 100%;
  height: 14px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

#musicProgress::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) var(--progress, 0%), rgba(242, 231, 212, 0.12) var(--progress, 0%));
}

#musicProgress::-webkit-slider-thumb {
  width: 9px;
  height: 9px;
  margin-top: -3px;
  border: 0;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px rgba(216, 161, 90, 0.55);
  -webkit-appearance: none;
  appearance: none;
}

#musicProgress::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: rgba(242, 231, 212, 0.12);
}

#musicProgress::-moz-range-progress {
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
}

#musicProgress::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: var(--gold-bright);
}

#musicProgress:focus-visible {
  outline: 1px solid rgba(244, 203, 139, 0.65);
  outline-offset: 3px;
}

.music-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  color: rgba(242, 231, 212, 0.3);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.music-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 1px 1px;
  border-top: 1px solid rgba(242, 231, 212, 0.08);
  color: rgba(242, 231, 212, 0.28);
  font-size: 7px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.music-foot a {
  color: rgba(242, 231, 212, 0.45);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.music-foot a:hover {
  color: var(--gold-bright);
}

.music-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 149;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 43px;
  padding: 0 15px 0 8px;
  border: 1px solid rgba(242, 231, 212, 0.18);
  border-radius: 999px;
  background: rgba(15, 11, 9, 0.86);
  color: rgba(242, 231, 212, 0.72);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease), border-color 0.3s ease, color 0.3s ease, visibility 0.4s;
}

body.has-scrolled .music-fab {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.music-fab:hover {
  color: var(--paper);
  border-color: rgba(216, 161, 90, 0.4);
  transform: translateY(-2px);
}

.music-fab-disc {
  position: relative;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, #2c1f17 0 1px, #120d0a 1px 3px),
    #1b120e;
  border: 1px solid rgba(216, 161, 90, 0.25);
}

.music-fab-disc::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.music-fab-eq {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 10px;
}

.music-fab-eq i {
  display: block;
  width: 1.5px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}

.music-fab.is-playing .music-fab-eq i {
  animation: equalize 1.1s ease-in-out infinite;
}

.music-fab.is-playing .music-fab-eq i:nth-child(2) { animation-delay: -0.3s; }
.music-fab.is-playing .music-fab-eq i:nth-child(3) { animation-delay: -0.6s; }

body.music-open .music-fab {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
}

body.footer-in-view .music-fab {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 220;
  max-width: min(90vw, 460px);
  padding: 11px 18px;
  border: 1px solid rgba(242, 231, 212, 0.18);
  border-radius: 999px;
  background: rgba(16, 12, 9, 0.94);
  color: rgba(242, 231, 212, 0.82);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.35s ease, transform 0.45s var(--ease);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.noscript {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 210;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  transform: translateX(-50%);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .hero {
    padding-top: 126px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.04fr) minmax(310px, 0.96fr);
    gap: 38px;
  }

  .floating-note {
    left: -7%;
    bottom: 12%;
    width: 194px;
    padding: 18px;
  }

  .floating-note p {
    font-size: 17px;
  }

  .hero-seal {
    width: 84px;
    height: 84px;
    top: -24px;
    left: -24px;
  }

  .hero-seal svg {
    width: 78px;
    height: 78px;
  }

  .chapter {
    grid-template-columns: 124px minmax(0, 1fr) 64px;
    gap: 28px;
  }

  .chapter-copy {
    gap: 30px;
  }

  .chapter-icon {
    width: 56px;
    height: 56px;
  }

  .chapter-icon svg {
    width: 29px;
    height: 29px;
  }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 124px;
    padding-bottom: 26px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero-title {
    font-size: clamp(4.5rem, 14vw, 8rem);
  }

  .hero-visual {
    justify-self: center;
    width: min(78vw, 480px);
    margin-right: 10px;
  }

  .hero-footer {
    margin-top: 52px;
  }

  .prologue-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }

  .prologue-heading {
    position: relative;
    top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px 40px;
  }

  .prologue-heading .eyebrow {
    width: 100%;
  }

  .prologue-flower {
    width: 98px;
    margin-top: 10px;
  }

  .prologue-copy {
    max-width: 680px;
    margin-left: auto;
  }

  .evening-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .evening-intro {
    max-width: 520px;
    padding-bottom: 0;
  }

  .chapter {
    grid-template-columns: 98px minmax(0, 1fr) 60px;
    gap: 24px;
  }

  .chapter-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .chapter-copy p {
    max-width: 560px;
  }

  .moments-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .moments-note {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 620px;
  }

  .ningol-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 58px;
  }

  .ningol-copy {
    max-width: 700px;
  }

  .ningol-visual {
    width: min(86%, 600px);
    margin: 0 auto;
  }

  .ningol-wide-media {
    aspect-ratio: 16 / 9;
  }

  .wish-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 58px;
  }

  .wish-copy {
    max-width: 660px;
  }

  .wish-sky-wrap {
    min-height: 480px;
  }

  .footer-credits {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .footer-credits p:last-child {
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 22px;
  }

  html {
    scroll-padding-top: 82px;
  }

  .site-header {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .site-header.is-scrolled {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-sub {
    font-size: 7px;
    letter-spacing: 0.16em;
  }

  .sound-toggle {
    min-height: 33px;
    padding: 7px 11px;
  }

  .sound-label {
    display: none;
  }

  .sound-toggle .sound-bars {
    height: 10px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-title {
    font-size: clamp(4rem, 16.8vw, 6rem);
    line-height: 0.83;
  }

  .hero-title-italic {
    padding-left: 7vw;
  }

  .hero-lede {
    margin-top: 28px;
    font-size: 13px;
    line-height: 1.8;
  }

  .hero-signature {
    margin-top: 15px;
    font-size: 7px;
  }

  .hero-signature span {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    gap: 18px;
    margin-top: 28px;
  }

  .hero-visual {
    width: min(86vw, 420px);
    padding-top: 4px;
  }

  .floating-note {
    left: -5%;
    bottom: 8%;
    width: 180px;
    padding: 15px 16px;
  }

  .floating-note p {
    font-size: 16px;
  }

  .floating-note-by {
    margin-top: 8px;
    font-size: 7px;
  }

  .hero-seal {
    top: -20px;
    left: -20px;
    width: 72px;
    height: 72px;
  }

  .hero-seal svg {
    width: 68px;
    height: 68px;
  }

  .hero-seal > span {
    font-size: 11px;
  }

  .arch-caption {
    margin-top: 15px;
    font-size: 7px;
    letter-spacing: 0.15em;
  }

  .hero-footer {
    margin-top: 42px;
    padding-top: 18px;
  }

  .hero-footer-coord {
    display: none;
  }

  .section {
    padding: 96px 0;
  }

  .section-marker {
    gap: 11px;
    font-size: 8px;
  }

  .section-marker-line {
    width: 35px;
  }

  .prologue .section-marker {
    margin-bottom: 58px;
  }

  .prologue-heading h2,
  .evening-heading h2,
  .moments-heading h2,
  .ningol-copy h2 {
    font-size: clamp(3.2rem, 14vw, 4.4rem);
  }

  .prologue-copy .lead {
    font-size: 1.55rem;
  }

  .prologue-copy p {
    font-size: 13px;
    line-height: 1.85;
  }

  .diya-moment {
    min-height: 760px;
    padding: 100px 22px;
  }

  .diya {
    height: 300px;
    margin-top: 2px;
  }

  .diya-bowl {
    bottom: 8px;
    width: 250px;
  }

  .diya-flame {
    bottom: 100px;
  }

  .diya-wick {
    bottom: 79px;
  }

  .diya-halo {
    top: 72px;
  }

  .diya-label {
    bottom: -10px;
  }

  .diya-sub {
    margin-top: 0;
  }

  .chapter {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
    padding: 30px 0;
  }

  .chapter-index {
    gap: 8px;
    padding-top: 3px;
  }

  .chapter-number {
    font-size: 24px;
  }

  .chapter-index time {
    font-size: 7px;
    letter-spacing: 0.12em;
  }

  .chapter-copy h3 {
    font-size: 1.9rem;
  }

  .chapter-copy p {
    font-size: 12.5px;
    line-height: 1.8;
  }

  .chapter-icon {
    display: none;
  }

  .chapter:hover {
    padding-left: 8px;
    padding-right: 8px;
  }

  .moments-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .ningol .section-marker {
    margin-bottom: 54px;
  }

  .ningol-grid {
    gap: 44px;
  }

  .ningol-copy > p {
    font-size: 13px;
    line-height: 1.85;
  }

  .ningol-copy > .ningol-lede {
    font-size: 1.35rem;
    line-height: 1.55;
  }

  .ningol-quote {
    padding-left: 22px;
    font-size: 1.3rem;
  }

  .ningol-quote span {
    left: 15px;
    font-size: 52px;
  }

  .ningol-copy > .ningol-sign {
    padding-left: 22px;
  }

  .ningol-visual {
    width: 100%;
    padding: 8px 0 58px;
  }

  .ningol-photo-main {
    width: 88%;
    padding: 7px 7px 9px;
    rotate: 1deg;
  }

  .ningol-photo-small {
    width: 46%;
    padding: 6px 6px 8px;
    rotate: -2.8deg;
  }

  .ningol-photo-main figcaption span {
    font-size: 14px;
  }

  .ningol-photo-small figcaption span {
    font-size: 11px;
  }

  .ningol-photo-main figcaption small,
  .ningol-photo-small figcaption small {
    font-size: 5.5px;
  }

  .ningol-stamp {
    top: 0;
    left: 0;
    width: 68px;
    height: 68px;
    font-size: 15px;
  }

  .ningol-wide {
    margin-top: 58px;
  }

  .ningol-wide-media {
    aspect-ratio: 4 / 3;
  }

  .ningol-wide figcaption {
    flex-direction: column;
    gap: 9px;
  }

  .ningol-wide figcaption small {
    text-align: left;
  }

  .ningol-credit {
    text-align: left;
  }

  .photo-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
    margin-top: 58px;
  }

  .photo-strip-item--wide,
  .photo-strip-item--tall {
    margin: 0;
    rotate: 0deg;
  }

  .photo-strip-item--wide .photo-strip-media,
  .photo-strip-item--tall .photo-strip-media {
    aspect-ratio: 4 / 3;
  }

  .photo-strip-item figcaption {
    flex-direction: column;
    gap: 7px;
  }

  .photo-strip-item figcaption small {
    padding-top: 0;
    text-align: left;
  }

  .gallery {
    display: flex;
    flex-direction: column;
    gap: 46px;
    margin-top: 64px;
  }

  .gallery-column {
    display: contents;
  }

  .memory--one { order: 1; }
  .memory--two { order: 2; }
  .memory--three { order: 3; }
  .memory--four { order: 4; }

  .memory--one,
  .memory--two,
  .memory--three,
  .memory--four {
    width: 100%;
    margin: 0;
  }

  .memory--one .memory-media { aspect-ratio: 4 / 5; }
  .memory--two .memory-media { aspect-ratio: 4 / 5; }
  .memory--three .memory-media { aspect-ratio: 4 / 3; }
  .memory--four .memory-media { aspect-ratio: 4 / 5; }

  .memory-actions {
    top: auto;
    bottom: 14px;
    left: 14px;
    align-items: flex-start;
    opacity: 1;
    transform: none;
  }

  .memory:hover .memory-actions,
  .memory:focus-within .memory-actions {
    transform: none;
  }

  .memory-badge {
    display: none;
  }

  .memory figcaption h3 {
    font-size: 1.55rem;
  }

  .gallery-footnote {
    font-size: 8px;
    line-height: 1.8;
  }

  .wish-copy h2 {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  .wish-signature {
    font-size: 16px;
  }

  .wish-ritual {
    margin-top: 28px;
  }

  .wish-field {
    flex-wrap: wrap;
    gap: 10px;
  }

  .wish-field input {
    flex: 1 0 100%;
    padding-left: 0;
    font-size: 1.45rem;
  }

  .wish-submit {
    margin-left: auto;
  }

  .wish-sky-wrap {
    min-height: 420px;
  }

  .wish-moon {
    top: 13%;
    right: 8%;
    width: 74px;
  }

  .letter {
    padding: 120px 0 130px;
  }

  .letter h2 {
    font-size: clamp(2.7rem, 11vw, 4rem);
  }

  .letter-copy {
    font-size: 12.5px;
    line-height: 1.9;
  }

  .letter-actions {
    flex-direction: column;
    gap: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 30px;
  }

  .footer-links {
    gap: 22px;
  }

  .footer-credits {
    padding-top: 24px;
    gap: 14px;
  }

  .footer-credits p {
    font-size: 8px;
  }

  .photo-credits-body p {
    font-size: 8px;
  }

  .music-player {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .music-art {
    gap: 11px;
    min-height: 92px;
    padding: 9px;
  }

  .music-cover {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .music-visualizer {
    height: 50px;
    gap: 2px;
  }

  .music-art-note {
    display: none;
  }

  .music-fab {
    right: 14px;
    bottom: 14px;
  }

  .toast {
    bottom: 78px;
    padding: 10px 15px;
    font-size: 10px;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 430px) {
  .hero-title {
    font-size: clamp(3.4rem, 16.4vw, 4.8rem);
  }

  .hero-eyebrow {
    flex-wrap: wrap;
    font-size: 8px;
    letter-spacing: 0.16em;
    gap: 8px;
  }

  .brand-sub {
    font-size: 6px;
    letter-spacing: 0.13em;
  }

  .eyebrow-rule {
    width: 24px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 20px;
  }

  .hero-visual {
    width: 91vw;
    padding-right: 7px;
  }

  .floating-note {
    display: none;
  }

  .hero-seal {
    top: -16px;
    left: -10px;
    width: 65px;
    height: 65px;
  }

  .hero-seal svg {
    width: 61px;
    height: 61px;
  }

  .diya {
    height: 280px;
  }

  .diya-bowl {
    width: 226px;
  }

  .diya-flame {
    bottom: 88px;
  }

  .diya-wick {
    bottom: 70px;
  }

  .diya-halo {
    top: 56px;
    width: 220px;
    height: 220px;
  }

  .wish-empty {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .footer-links {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .ningol-photo-main {
    width: 92%;
  }

  .ningol-photo-small {
    width: 48%;
  }

  .ningol-photo-small figcaption span {
    font-size: 10px;
  }

  .ningol-stamp {
    width: 60px;
    height: 60px;
    font-size: 13px;
  }

  .ningol-stamp i {
    font-size: 8px;
  }

  .music-player {
    padding: 10px;
  }

  .music-cover {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }

  .music-visualizer {
    height: 46px;
  }

  .music-track strong {
    font-size: 17px;
  }
}

@media (hover: none) {
  .memory-actions {
    opacity: 1;
    top: auto;
    bottom: 14px;
    left: 14px;
    align-items: flex-start;
    transform: none;
  }

  .memory:hover .memory-actions {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-copy > *,
  .hero-visual,
  .floating-note,
  .hero-seal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-visual {
    transform: none;
  }

  .lantern {
    position: relative;
    left: auto;
    bottom: auto;
    display: inline-block;
    margin: 14px 10px;
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .wish-sky {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    justify-content: center;
    gap: 4px;
    padding: 24px;
  }

  .lantern-note {
    display: none;
  }
}
