:root {
  color-scheme: dark;
  --bg: #101214;
  --bg-soft: #171a1d;
  --paper: #f4f0e7;
  --paper-edge: #ddd2bd;
  --ink: #202020;
  --muted: #6f6557;
  --gold: #b88a3d;
  --red: #7b2327;
  --green: #273b34;
  --line: rgba(32, 32, 32, 0.16);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(184, 138, 61, 0.12), transparent 34rem),
    linear-gradient(135deg, var(--bg), #0b0d0f 55%, #15120f);
  color: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("./assets/paper-noise.png");
  background-size: 180px 180px;
  opacity: 0.11;
  pointer-events: none;
}

::selection {
  background: rgba(123, 35, 39, 0.22);
  color: var(--ink);
}

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.read-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #f5d389);
  transition: width 120ms linear;
}

.luxury-topbar {
  position: sticky;
  top: 4px;
  z-index: 8;
  width: min(100% - 0.75rem, 480px);
  min-height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.5rem auto 0;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(244, 240, 231, 0.1);
  border-radius: 7px;
  background: rgba(10, 12, 13, 0.72);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px) saturate(140%);
}

.topbar-brand,
.topbar-links,
.topbar-links a {
  display: flex;
  align-items: center;
}

.topbar-brand {
  gap: 0.55rem;
  color: var(--paper);
  text-decoration: none;
}

.topbar-brand span {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(225, 193, 123, 0.36);
  border-radius: 50%;
  color: #f6d487;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.topbar-brand strong {
  max-width: 6.4rem;
  color: var(--paper);
  font-size: 0.74rem;
  line-height: 1.05;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.topbar-links {
  gap: 0.3rem;
}

.topbar-links a {
  min-height: 2rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  color: rgba(244, 240, 231, 0.7);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.topbar-links a:hover {
  color: #f6d487;
  background: rgba(225, 193, 123, 0.08);
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.45fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 5rem) 0;
}

.side-panel {
  position: sticky;
  top: 2rem;
  align-self: start;
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.brand-mark {
  width: 4.75rem;
  height: 4.75rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 240, 231, 0.24);
  border-radius: 50%;
  color: #f7e7bf;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0.14em;
  margin-bottom: 2rem;
}

.eyebrow,
.stamp {
  margin: 0 0 0.75rem;
  color: #e1c17b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.92;
}

.lede {
  max-width: 29rem;
  margin: 1.35rem 0 0;
  color: rgba(244, 240, 231, 0.76);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.65;
}

.mobile-note {
  display: none;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 24rem);
  margin-top: 2rem;
}

.meta-grid div {
  border-top: 1px solid rgba(244, 240, 231, 0.18);
  padding-top: 0.75rem;
}

.meta-grid span {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(244, 240, 231, 0.52);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.meta-grid strong {
  color: var(--paper);
  font-size: 0.95rem;
}

.letter {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0 4.25rem, rgba(123, 35, 39, 0.2) 4.25rem 4.32rem, transparent 4.32rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.12)),
    var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.letter::before,
.letter::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.letter::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(32, 32, 32, 0.045) 1px, transparent 1px),
    url("./assets/paper-noise.png");
  background-size: 100% 2.15rem, 180px 180px;
  mix-blend-mode: multiply;
  opacity: 0.52;
}

.letter::after {
  top: 2rem;
  right: 2rem;
  width: 6rem;
  height: 6rem;
  border: 1px solid rgba(123, 35, 39, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(123, 35, 39, 0.13), transparent 58%),
    repeating-conic-gradient(from 12deg, rgba(123, 35, 39, 0.2) 0 8deg, transparent 8deg 18deg);
  opacity: 0.36;
  transform: rotate(-12deg);
}

.letter-header,
.letter-body,
.letter-footer {
  position: relative;
  z-index: 1;
  padding-inline: clamp(2rem, 7vw, 6.5rem) clamp(1.5rem, 6vw, 5rem);
}

.letter-header {
  padding-top: clamp(2rem, 6vw, 5.5rem);
  padding-bottom: 1.15rem;
}

.letter-header h2 {
  max-width: 12ch;
  color: #161616;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.98;
}

.letter-header p:not(.stamp) {
  max-width: 40rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.4vw, 1.32rem);
  line-height: 1.65;
}

.stamp {
  color: var(--red);
}

.letter-body {
  padding-top: 0.35rem;
  padding-bottom: 1rem;
}

.letter-body p,
.letter-footer p {
  max-width: 46rem;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.13rem, 2.1vw, 1.36rem);
  line-height: 1.82;
}

.letter-body p + p {
  margin-top: 1.08rem;
}

.pull-quote {
  position: relative;
  margin-block: 2rem !important;
  padding: 1.25rem 1.25rem 1.25rem 1.55rem;
  border-left: 4px solid var(--red);
  background: rgba(39, 59, 52, 0.08);
  color: #171717;
  font-size: clamp(1.35rem, 3vw, 1.9rem) !important;
  line-height: 1.45 !important;
}

.letter-footer {
  display: grid;
  gap: 0.45rem;
  padding-top: 1.4rem;
  padding-bottom: clamp(2.25rem, 6vw, 5rem);
}

.letter-footer p {
  color: var(--red);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.4;
}

.letter-footer strong {
  color: #151515;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.back-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 240, 231, 0.18);
  border-radius: 50%;
  background: rgba(16, 18, 20, 0.78);
  color: var(--paper);
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(0.5rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease;
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.back-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-top:hover {
  background: rgba(123, 35, 39, 0.88);
}

.hvm-flow,
.hvm-footer {
  width: min(100% - 1rem, 480px);
  margin: 0 auto;
}

.hvm-flow {
  padding: clamp(3.5rem, 10vw, 5.5rem) clamp(1rem, 5vw, 1.4rem);
  border-top: 1px solid rgba(244, 240, 231, 0.12);
}

.reveal-luxe {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 800ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.dark-band {
  background:
    radial-gradient(circle at 50% 0, rgba(184, 138, 61, 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.015);
}

.faq-band {
  padding-top: 3.5rem;
}

.flow-kicker,
.mini-label,
.collection-head span,
.support-num {
  color: #e1c17b;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hvm-flow h2 {
  margin: 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 10vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.flow-kicker + h2,
.hvm-flow .flow-lead {
  margin-top: 0.9rem;
}

.flow-lead {
  color: rgba(244, 240, 231, 0.72);
  font-size: 1.02rem;
  line-height: 1.68;
}

.codex-panel,
.collection-card,
.support-card,
.faq-list details,
.payment-suite {
  border: 1px solid rgba(244, 240, 231, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.codex-panel {
  position: relative;
  display: grid;
  grid-template-columns: 7.25rem 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
  padding: 1rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(225, 193, 123, 0.09), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

.codex-panel::before,
.payment-suite::before,
.collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 35%, rgba(255, 255, 255, 0.08) 45%, transparent 56% 100%);
  opacity: 0;
  transform: translateX(-70%);
  pointer-events: none;
}

.codex-panel.is-visible::before,
.payment-suite.is-visible::before,
.collection-card.is-visible::before {
  animation: luxuryShine 1400ms ease 220ms both;
}

@keyframes luxuryShine {
  0% {
    opacity: 0;
    transform: translateX(-70%);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(70%);
  }
}

.codex-cover {
  min-height: 10.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.8rem;
  border: 1px solid rgba(225, 193, 123, 0.38);
  border-radius: 4px;
  background:
    radial-gradient(circle at 30% 20%, rgba(225, 193, 123, 0.18), transparent 58%),
    linear-gradient(145deg, #201c16, #060606);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
}

.codex-cover span,
.codex-cover em {
  color: #e1c17b;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.codex-cover strong {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.14rem;
  line-height: 1.05;
}

.codex-copy h3,
.support-card h3,
.scent-list h3 {
  margin: 0;
  color: var(--paper);
}

.codex-copy h3 {
  margin-top: 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.codex-copy p,
.support-card p,
.collection-card p,
.scent-list p,
.faq-list p,
.hvm-footer p {
  color: rgba(244, 240, 231, 0.7);
  line-height: 1.58;
}

.codex-copy p {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
}

.price-strip {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.85rem;
  padding: 0.75rem;
  border-radius: 6px;
  background: rgba(225, 193, 123, 0.08);
}

.price-strip span {
  color: rgba(244, 240, 231, 0.45);
  font-size: 0.78rem;
  text-decoration: line-through;
}

.price-strip strong {
  color: #f6d487;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.primary-action,
.shop-link,
.support-card a {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-action {
  width: 100%;
  margin-top: 0.8rem;
  background: linear-gradient(180deg, #f0cf81, #b88a3d);
  color: #101214;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(184, 138, 61, 0.24);
}

.primary-action::after,
.shop-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  animation: buttonShine 3.8s ease-in-out infinite;
}

@keyframes buttonShine {
  0%,
  45% {
    left: -45%;
  }
  75%,
  100% {
    left: 120%;
  }
}

.payment-suite {
  position: relative;
  overflow: hidden;
  margin-top: 1.2rem;
  background:
    linear-gradient(180deg, rgba(225, 193, 123, 0.08), transparent 20rem),
    rgba(255, 255, 255, 0.032);
}

.payment-head {
  padding: 1.15rem 1rem 0.8rem;
  border-bottom: 1px solid rgba(244, 240, 231, 0.1);
}

.payment-head span {
  color: #e1c17b;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.payment-head strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 8vw, 2.55rem);
  line-height: 1;
}

.payment-head p {
  margin: 0.7rem 0 0;
  color: rgba(244, 240, 231, 0.68);
  line-height: 1.55;
}

.qris-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.qris-frame {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0.85rem;
  border: 1px solid rgba(225, 193, 123, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 240, 231, 0.96), rgba(221, 210, 189, 0.98)),
    var(--paper);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.qris-frame::before {
  content: "SCAN QRIS";
  position: absolute;
  top: 0.65rem;
  left: 0.75rem;
  color: rgba(16, 18, 20, 0.55);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.qris-frame img {
  width: min(100%, 16.5rem);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 5px;
}

.qris-copy h3 {
  margin: 0.35rem 0 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.qris-copy p {
  margin: 0.55rem 0 0;
  color: rgba(244, 240, 231, 0.68);
  line-height: 1.58;
}

.support-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.support-card {
  position: relative;
  padding: 1rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(225, 193, 123, 0.07), transparent 50%),
    rgba(255, 255, 255, 0.032);
}

.support-card h3 {
  margin-top: 0.35rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.support-card p {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
}

.support-card a {
  margin-top: 0.7rem;
  color: #f6d487;
  border: 1px solid rgba(225, 193, 123, 0.26);
  padding: 0 0.85rem;
}

.copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.55rem;
  border: 1px solid rgba(244, 240, 231, 0.1);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
}

.copy-row strong {
  color: var(--paper);
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.copy-btn {
  min-height: 2.15rem;
  border: 0;
  border-radius: 5px;
  padding: 0 0.75rem;
  background: #f0cf81;
  color: #101214;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.support-card small {
  display: block;
  min-height: 1rem;
  margin-top: 0.45rem;
  color: #f6d487;
  font-size: 0.78rem;
}

.collection-card {
  position: relative;
  margin-top: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.collection-head {
  padding: 1rem;
  background:
    linear-gradient(90deg, rgba(184, 138, 61, 0.14), transparent),
    rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(244, 240, 231, 0.1);
}

.collection-head strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  letter-spacing: 0.02em;
}

.collection-head em {
  display: block;
  color: rgba(244, 240, 231, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.collection-card > p {
  margin: 0;
  padding: 1rem;
  font-size: 0.96rem;
}

.scent-list {
  display: grid;
  gap: 1px;
  background: rgba(244, 240, 231, 0.09);
}

.scent-list article {
  display: grid;
  grid-template-columns: 5.3rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background:
    linear-gradient(90deg, rgba(225, 193, 123, 0.035), transparent 42%),
    #111315;
  transition:
    transform 220ms ease,
    background 220ms ease;
}

.scent-list article:active {
  transform: scale(0.99);
  background: rgba(225, 193, 123, 0.08);
}

.scent-list img {
  width: 5.3rem;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  background: radial-gradient(circle, rgba(225, 193, 123, 0.16), rgba(255, 255, 255, 0.03));
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.36));
}

.scent-list h3 {
  font-size: 0.98rem;
  text-transform: uppercase;
}

.scent-list p {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
}

.shop-link {
  position: relative;
  overflow: hidden;
  width: calc(100% - 2rem);
  margin: 1rem;
  color: #101214;
  background: linear-gradient(180deg, #f0cf81, #b88a3d);
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.faq-list details {
  padding: 1rem;
}

.faq-list summary {
  color: var(--paper);
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 0.7rem 0 0;
  font-size: 0.94rem;
}

.hvm-footer {
  padding: 3rem 1rem 6rem;
  text-align: center;
}

.hvm-footer strong {
  display: block;
  color: #f6d487;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.hvm-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.hvm-footer a {
  color: rgba(244, 240, 231, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-cta {
  position: fixed;
  left: 50%;
  bottom: 0.7rem;
  z-index: 8;
  width: min(100% - 1rem, 480px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem;
  border: 1px solid rgba(244, 240, 231, 0.12);
  border-radius: 8px;
  background: rgba(10, 12, 13, 0.82);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px) saturate(145%);
  transform: translate(-50%, 5rem);
  opacity: 0;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

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

.mobile-cta span {
  display: block;
  color: rgba(244, 240, 231, 0.52);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-cta strong {
  color: var(--paper);
  font-size: 0.9rem;
}

.mobile-cta a {
  min-height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 0.9rem;
  background: linear-gradient(180deg, #f0cf81, #b88a3d);
  color: #101214;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 860px) {
  body {
    background:
      radial-gradient(circle at 50% 0%, rgba(184, 138, 61, 0.18), transparent 24rem),
      linear-gradient(180deg, #111416 0, #0b0d0f 34rem, #15120f 100%);
  }

  .page-shell {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    width: min(100% - 0.75rem, 44rem);
    padding-top: 0.35rem;
    padding-bottom: 0.75rem;
  }

  .side-panel {
    position: relative;
    top: auto;
    min-height: auto;
    padding: 1.35rem 0.9rem 0.15rem;
    justify-content: flex-start;
  }

  .brand-mark {
    width: 3.75rem;
    height: 3.75rem;
    margin-bottom: 1.2rem;
    font-size: 0.82rem;
  }

  .eyebrow {
    margin-bottom: 0.65rem;
    font-size: 0.68rem;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3.2rem, 13vw, 5rem);
  }

  .lede {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.58;
  }

  .mobile-note {
    display: block;
    width: fit-content;
    margin: 1rem 0 0;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(225, 193, 123, 0.22);
    border-radius: 999px;
    color: rgba(244, 240, 231, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
  }

  .meta-grid {
    display: none;
  }

  .letter {
    border-radius: 6px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.12)),
      var(--paper);
  }

  .letter::after {
    width: 4.5rem;
    height: 4.5rem;
    top: 1.1rem;
    right: 1rem;
  }

  .letter-header,
  .letter-body,
  .letter-footer {
    padding-inline: clamp(1.15rem, 5.6vw, 2.2rem);
  }

  .letter-header {
    padding-top: clamp(2.25rem, 9vw, 3.75rem);
  }

  .letter-header h2 {
    max-width: 10.5ch;
    font-size: clamp(2.45rem, 12vw, 4.4rem);
  }

  .letter-header p:not(.stamp) {
    margin-top: 1rem;
    font-size: 1.04rem;
    line-height: 1.62;
  }

  .letter-body p,
  .letter-footer p {
    max-width: 100%;
    font-size: clamp(1.06rem, 4.5vw, 1.22rem);
    line-height: 1.82;
  }

  .letter-body p + p {
    margin-top: 1rem;
  }

  .pull-quote {
    margin-block: 1.55rem !important;
    padding: 1rem 1rem 1rem 1.15rem;
    font-size: clamp(1.22rem, 5.4vw, 1.55rem) !important;
    line-height: 1.48 !important;
  }
}

@media (max-width: 520px) {
  .read-progress {
    height: 3px;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }

  .page-shell {
    width: min(100% - 0.55rem, 29rem);
  }

  .side-panel {
    padding-inline: 0.6rem;
  }

  .letter {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  }

  .letter-header,
  .letter-body,
  .letter-footer {
    padding-inline: clamp(1rem, 5vw, 1.35rem);
  }

  .stamp {
    font-size: 0.64rem;
  }

  .letter-header h2 {
    font-size: clamp(2.22rem, 12vw, 3.15rem);
  }

  .back-top {
    right: 0.8rem;
    bottom: 0.8rem;
    width: 2.75rem;
    height: 2.75rem;
  }

  .codex-panel {
    grid-template-columns: 1fr;
  }

  .codex-cover {
    width: min(10rem, 100%);
    justify-self: center;
  }

  .topbar-brand strong {
    display: none;
  }

  .topbar-links a {
    padding: 0 0.45rem;
    font-size: 0.64rem;
  }

  .hvm-flow {
    width: min(100% - 0.55rem, 29rem);
    padding-inline: clamp(0.75rem, 3.6vw, 1rem);
  }

  .qris-frame {
    padding: 0.75rem;
  }

  .qris-frame img {
    width: min(100%, 15.75rem);
  }

  .scent-list article {
    grid-template-columns: 4.7rem 1fr;
    gap: 0.75rem;
    padding: 0.8rem;
  }

  .scent-list img {
    width: 4.7rem;
  }
}

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

  .reveal-luxe {
    opacity: 1;
    transform: none;
  }
}
