/* ============================================================
   FOR ROSE — editorial luxury
   Local fonts + local photography. No external requests.
   ============================================================ */

@font-face {
  font-family: "Cormorant";
  src: url("assets/fonts/cormorant-garamond-normal-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("assets/fonts/cormorant-garamond-italic-400.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-normal-300.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
}

:root {
  --noir: #12050a;
  --noir-soft: #1d0a12;
  --wine: #3d1023;
  --oxblood: #7e1f42;
  --rose: #cf7390;
  --gold: #d3b47b;
  --gold-soft: rgba(211, 180, 123, .28);
  --cream: #f6eee7;
  --paper: #f2e9df;
  --muted: rgba(246, 238, 231, .48);
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(22px, 6.2vw, 100px);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* old Edge/IE */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  margin: 0;
  background: var(--noir);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 15% 10%, rgba(126, 31, 66, .16), transparent 42%),
              radial-gradient(circle at 85% 85%, rgba(126, 31, 66, .12), transparent 45%);
  pointer-events: none;
}
::selection { background: var(--gold); color: var(--noir); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

/* ---------- Texture layers ---------- */
#petals {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 80;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 110;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  box-shadow: 0 0 14px rgba(211, 180, 123, .5);
  pointer-events: none;
}
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 1px solid rgba(211, 180, 123, .7);
  border-radius: 50%;
  z-index: 105;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease, width .3s ease, height .3s ease, margin .3s ease, background .3s ease;
  will-change: transform;
}
.cursor-ring.active { opacity: 1; }
.cursor-ring.hovering {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  background: rgba(211, 180, 123, .08);
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-ring { display: none; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px var(--gutter);
  transition: background .5s ease, padding .5s ease, border-color .5s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(18, 5, 10, .86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(211, 180, 123, .12);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.brand-text {
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.brand-text em {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--muted);
}
.nav-links { display: flex; gap: clamp(20px, 3.2vw, 46px); }
.nav-links a {
  position: relative;
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(246, 238, 231, .66);
  transition: color .3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .35s ease;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }

.sound {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(246, 238, 231, .18);
  border-radius: 999px;
  background: transparent;
  color: rgba(246, 238, 231, .7);
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease;
}
.sound:hover, .sound.playing { border-color: var(--gold); color: var(--gold); }
.sound-bars { display: flex; align-items: center; gap: 2px; height: 11px; }
.sound-bars i {
  display: block;
  width: 2px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
}
.sound.playing .sound-bars i { animation: bar 1s ease-in-out infinite; }
.sound.playing .sound-bars i:nth-child(2) { animation-delay: .15s; }
.sound.playing .sound-bars i:nth-child(3) { animation-delay: .3s; }
.sound.playing .sound-bars i:nth-child(4) { animation-delay: .45s; }
@keyframes bar { 0%, 100% { height: 3px; } 50% { height: 11px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
  will-change: transform;
}
.btn:hover { transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 3px), 0); }
.btn-solid {
  background: var(--gold);
  color: var(--noir);
  box-shadow: 0 14px 36px rgba(211, 180, 123, .16);
}
.btn-solid:hover { background: #f0d7a4; box-shadow: 0 18px 44px rgba(211, 180, 123, .26); }
.btn-line { border-color: rgba(246, 238, 231, .28); color: var(--cream); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-large { min-height: 58px; padding: 0 38px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px var(--gutter) 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: -8% 0;
  z-index: -3;
  background: url("assets/hero-rose.jpg") center 42% / cover no-repeat;
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(11, 4, 8, .97) 0%, rgba(11, 4, 8, .9) 30%, rgba(11, 4, 8, .52) 60%, rgba(11, 4, 8, .22) 100%),
    linear-gradient(0deg, rgba(11, 4, 8, .94) 0%, transparent 42%, rgba(11, 4, 8, .45) 100%);
}
.hero-rule {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  z-index: 1;
  background: linear-gradient(90deg, rgba(211, 180, 123, .45), rgba(211, 180, 123, .06) 55%, transparent);
}
.hero-rule-top { top: 96px; }
.hero-rule-bottom { bottom: 96px; }

.hero-content { position: relative; z-index: 2; max-width: 860px; }
.eyebrow,
.section-label,
.footer-kicker {
  margin: 0;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow { display: flex; align-items: center; gap: 16px; }
.eyebrow-index {
  padding: 5px 9px;
  border: 1px solid var(--gold-soft);
  letter-spacing: .16em;
}
.hero-title {
  margin: 26px 0 30px;
  font-family: var(--serif);
  font-weight: 400;
  line-height: .76;
}
.hero-for {
  display: block;
  margin-left: clamp(30px, 7vw, 100px);
  font-size: clamp(50px, 8.5vw, 118px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.04em;
  color: #e2c8ad;
}
.hero-name {
  display: block;
  font-size: clamp(104px, 19vw, 264px);
  font-weight: 500;
  letter-spacing: -.075em;
  color: #fbf5f0;
  text-shadow: 0 18px 60px rgba(0, 0, 0, .35);
}
.hero-for,
.hero-name {
  clip-path: inset(0 0 105% 0);
  transform: translateY(70px);
  opacity: 0;
  transition: clip-path 1.25s cubic-bezier(.2, .8, .2, 1), transform 1.25s cubic-bezier(.2, .8, .2, 1), opacity .8s ease;
}
.hero-title.visible .hero-for {
  clip-path: inset(0 0 -12% 0);
  transform: translateY(0);
  opacity: 1;
  transition-delay: .12s;
}
.hero-title.visible .hero-name {
  clip-path: inset(0 0 -12% 0);
  transform: translateY(0);
  opacity: 1;
  transition-delay: .28s;
}
.hero-dot { color: var(--gold); }
.hero-deck {
  max-width: 540px;
  margin: 0 0 38px;
  font-family: var(--serif);
  font-size: clamp(18px, 2.1vw, 25px);
  font-style: italic;
  line-height: 1.5;
  color: rgba(246, 238, 231, .78);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-vertical {
  position: absolute;
  right: 24px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  margin: 0;
  font-size: 8px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: rgba(246, 238, 231, .3);
}
.hero-meta {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 8px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(246, 238, 231, .45);
}
.meta-scroll { display: flex; align-items: center; gap: 16px; }
.meta-scroll i {
  display: block;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform-origin: left;
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine { 0%, 100% { transform: scaleX(.35); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } }

/* ---------- Marquee ---------- */
.marquee {
  height: 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
  background: #17070e;
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 0;
  white-space: nowrap;
  animation: marquee 34s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: .16em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(211, 180, 123, .42);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Shared section bits ---------- */
.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(100px, 13vw, 190px) var(--gutter);
}
.section-label span { color: rgba(246, 238, 231, .32); margin-right: 12px; }
.section-label.light { color: var(--gold); }
.section-label.centered { justify-content: center; display: flex; }
.section-label.centered span { color: rgba(211, 180, 123, .5); }

/* ---------- Editorial / About ---------- */
.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr);
  gap: clamp(50px, 9vw, 140px);
  align-items: center;
}
.editorial-copy h2 {
  margin: 34px 0 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5.4vw, 80px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
}
.editorial-copy h2 em { font-weight: 400; color: var(--rose); }
.rule { width: 90px; height: 1px; margin: 40px 0 34px; background: var(--gold); opacity: .55; }
.body-copy {
  max-width: 540px;
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 2.1;
  color: rgba(246, 238, 231, .58);
}
.signature-small {
  margin-top: 34px;
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  color: var(--gold);
}
.editorial-figure { position: relative; margin: 0; }
.figure-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(211, 180, 123, .22);
  perspective: 1200px;
}
.figure-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(246, 238, 231, .13);
  pointer-events: none;
}
.figure-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.06) brightness(.92);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.02);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}
.editorial-figure:hover .figure-frame img {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.07);
}
.editorial-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  font-size: 8px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(246, 238, 231, .38);
}
.figure-stamp {
  position: absolute;
  left: -30px;
  bottom: -30px;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wine);
  border: 1px solid var(--gold-soft);
  font-family: var(--serif);
  font-size: 34px;
  color: var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
}
.figure-stamp span { font-size: 12px; margin-left: 2px; }

/* ---------- Details ---------- */
.details { padding-top: 40px; }
.details-head h2 {
  margin: 30px 0 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6.5vw, 92px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
}
.details-head h2 em { font-weight: 400; color: var(--gold); }
.detail-list { margin-top: 70px; border-top: 1px solid rgba(211, 180, 123, .2); }
.detail-row {
  display: grid;
  grid-template-columns: 70px 1.15fr 1.6fr 40px;
  align-items: center;
  gap: 20px;
  padding: 30px 12px;
  border-bottom: 1px solid rgba(211, 180, 123, .14);
  transition: background .4s ease, padding .4s ease;
}
.detail-row:hover { background: rgba(211, 180, 123, .045); padding-left: 28px; }
.detail-num {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--gold);
  opacity: .7;
}
.detail-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.1;
}
.detail-row p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(246, 238, 231, .5);
}
.detail-arrow {
  justify-self: end;
  font-size: 18px;
  color: var(--gold);
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity .35s ease, transform .35s ease;
}
.detail-row:hover .detail-arrow { opacity: 1; transform: translate(0, 0); }

/* ---------- Letter ---------- */
.letter-section { padding-top: 70px; }
.letter-shell { max-width: 940px; margin: 0 auto; }
.letter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.letter-date {
  font-size: 8px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(246, 238, 231, .35);
}
.letter-paper {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 96px);
  background: linear-gradient(145deg, #f6efe7 0%, #f0e3d8 58%, #ead7cf 100%);
  color: #3d222c;
  box-shadow: 0 50px 120px rgba(0, 0, 0, .6);
}
.paper-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .55), transparent 40%),
              radial-gradient(circle at 85% 80%, rgba(160, 98, 104, .1), transparent 45%);
}
.letter-paper > *:not(.paper-grain) { position: relative; z-index: 1; }
.paper-salutation {
  margin: 0 0 40px;
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  color: #5b1933;
}
.letter-paper > p:not(.paper-salutation) {
  max-width: 680px;
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.75;
  color: #4c3038;
}
.paper-close { margin-top: 48px; }
.paper-close p {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: #6b4d53;
}
.paper-signature {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  font-style: italic;
  color: #8c2448;
  transform: rotate(-2.5deg);
  transform-origin: left center;
}
.wax-seal {
  position: absolute;
  right: clamp(28px, 5vw, 66px);
  bottom: clamp(28px, 5vw, 58px);
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #b54469, #63162f 75%);
  box-shadow: 0 14px 26px rgba(80, 20, 40, .35), inset 0 0 0 3px rgba(246, 226, 220, .28), inset 0 0 0 5px rgba(99, 22, 47, .8);
  transform: rotate(8deg);
  z-index: 2;
}
.wax-seal span {
  font-family: var(--serif);
  font-size: 34px;
  color: #f6dbe2;
}

/* ---------- Wish ---------- */
.wish {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.wish-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(150px, 30vw, 470px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .8;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(211, 180, 123, .09);
  pointer-events: none;
  user-select: none;
}
.wish-inner { position: relative; z-index: 1; max-width: 820px; }
.wish h2 {
  margin: 28px 0 24px;
  font-family: var(--serif);
  font-size: clamp(54px, 8vw, 116px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.035em;
}
.wish h2 em { font-weight: 400; color: var(--gold); }
.wish-note {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-style: italic;
  color: rgba(246, 238, 231, .55);
}
.answer-area {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 46px;
}
.answer-message {
  min-height: 42px;
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 30px);
  font-style: italic;
  color: var(--rose);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s ease, transform .7s ease;
}
.answer-message.show { opacity: 1; transform: translateY(0); }

/* ---------- Footer ---------- */
.footer { padding: 70px var(--gutter) 34px; border-top: 1px solid rgba(211, 180, 123, .14); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.back-top {
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(246, 238, 231, .55);
  transition: color .3s ease;
}
.back-top:hover { color: var(--gold); }
.back-top span { color: var(--gold); margin-left: 8px; }
.footer-wordmark {
  margin: 60px 0 40px;
  font-family: var(--serif);
  font-size: clamp(110px, 23vw, 360px);
  font-weight: 500;
  line-height: .72;
  letter-spacing: -.05em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 238, 231, .16);
  user-select: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(211, 180, 123, .12);
  font-size: 8px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(246, 238, 231, .32);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1), clip-path 1.1s cubic-bezier(.2, .8, .2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.heading-reveal {
  clip-path: inset(0 0 110% 0);
  transform: translateY(46px);
}
.heading-reveal.visible {
  clip-path: inset(0 0 -15% 0);
  transform: translateY(0);
}

/* ---------- Mobile app bar ---------- */
.mobile-nav { display: none; }

@media (max-width: 760px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    align-items: stretch;
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 0 8px env(safe-area-inset-bottom);
    background: rgba(18, 5, 10, .9);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    border-top: 1px solid rgba(211, 180, 123, .2);
    box-shadow: 0 -18px 44px rgba(0, 0, 0, .35);
  }
  .mobile-nav a {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 60px;
    color: rgba(246, 238, 231, .42);
    -webkit-tap-highlight-color: transparent;
    transition: color .3s ease, transform .2s ease;
  }
  .mobile-nav a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    background: var(--gold);
    transition: width .35s ease;
  }
  .mobile-nav a.active { color: var(--gold); }
  .mobile-nav a.active::before { width: 26px; }
  .mobile-nav a:active { transform: scale(.92); }
  .mobile-nav svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mobile-nav span {
    font-size: 8px;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-figure { max-width: 560px; }
  .figure-stamp { left: auto; right: -18px; }
  .detail-row { grid-template-columns: 50px 1fr 30px; gap: 12px; }
  .detail-row p { grid-column: 2 / 3; }
  .detail-arrow { grid-column: 3; grid-row: 1 / 3; align-self: center; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 64px; }
  .nav { padding: 16px 20px; }
  .brand-text em { display: none; }
  .sound-label { display: none; }
  .hero { padding-top: 110px; padding-bottom: 100px; }
  .hero-media { background-position: 62% center; }
  .hero-scrim {
    background: linear-gradient(90deg, rgba(11, 4, 8, .95), rgba(11, 4, 8, .72)),
                linear-gradient(0deg, rgba(11, 4, 8, .95), transparent 50%);
  }
  .hero-rule-top { top: 76px; }
  .hero-rule-bottom { bottom: 76px; }
  .hero-for { margin-left: 16px; }
  .hero-name { font-size: clamp(88px, 26vw, 140px); }
  .hero-vertical, .meta-right { display: none; }
  .hero-meta { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .hero-actions .btn { flex: 1 1 100%; }
  .letter-head { flex-direction: column; align-items: flex-start; }
  .wax-seal { width: 58px; height: 58px; }
  .wax-seal span { font-size: 25px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-wordmark { margin: 44px 0 34px; }
  .answer-area .btn { flex: 1 1 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  #petals { display: none; }
  .hero-media { transform: none; }
}
