/* ============================================================
   WOKEY — wokey.de study
   Aesthetic: a luminous editorial gallery in the sky.
   Cream paper · pale cloud-pastels · warm taupe-gold ink.
   Oversized outlined serif floating in quiet negative space.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* paper & ink */
  --cream:      #f5f1e8;
  --paper:      #faf7f0;
  --paper-2:    #efe9dc;
  --ink:        #2a2620;
  --ink-soft:   #6a6053;
  --ink-faint:  #9a9082;

  /* brand — taupe / gold (from the real logo) */
  --gold:       #a89878;
  --gold-ink:   #8c7a56;
  --gold-deep:  #6f6144;

  /* sky pastels */
  --sky:        #d3e0ea;
  --sky-hi:     #e6eef4;
  --peach:      #f3e3d4;
  --peach-hi:   #f9ecdf;
  --mist:       #dfe1de;

  /* lines */
  --line:       rgba(42, 38, 32, 0.14);
  --line-soft:  rgba(42, 38, 32, 0.08);

  /* type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script:"Ephesis", "Snell Roundhand", cursive;

  /* rhythm */
  --shell: min(1360px, 92vw);
  --pad-y: clamp(5rem, 12vh, 9rem);
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

::selection { background: var(--gold); color: var(--paper); }

/* film grain — atmosphere, not texture-for-its-own-sake */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type primitives ---------- */
.serif { font-family: var(--serif); }
.script { font-family: var(--script); font-weight: 400; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 340;
  font-optical-sizing: auto;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.lede {
  font-size: clamp(1.12rem, 1rem + 0.6vw, 1.4rem);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 340;
}

/* ---------- Shell / layout ---------- */
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: var(--pad-y); }
.rule { height: 1px; background: var(--line-soft); border: 0; width: var(--shell); margin-inline: auto; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem clamp(1.25rem, 4vw, 2.4rem);
  transition: background 0.6s var(--ease), box-shadow 0.6s var(--ease), padding 0.5s var(--ease);
}
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line-soft);
  padding-block: 0.75rem;
}

.nav__brand { display: flex; align-items: center; }
.nav__brand img { height: 30px; width: auto; opacity: 0.92; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2rem);
  list-style: none;
  padding: 0;
}
.nav__links a {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.35s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 30px; height: 22px;
  position: relative;
}
.nav__toggle span {
  position: absolute; left: 0;
  width: 100%; height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 3px; }
.nav__toggle span:nth-child(2) { top: 10px; }
.nav__toggle span:nth-child(3) { top: 17px; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    background: color-mix(in srgb, var(--paper) 96%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0.5s;
  }
  .nav.open .nav__links { opacity: 1; visibility: visible; }
  .nav__links a { font-size: 0.95rem; letter-spacing: 0.25em; }
}

/* ============================================================
   ATMOSPHERE — the sky (pure CSS, no stock imagery)
   ============================================================ */
.sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 118%, var(--peach-hi) 0%, transparent 55%),
    radial-gradient(100% 90% at 82% 8%, var(--sky-hi) 0%, transparent 60%),
    linear-gradient(180deg, var(--sky) 0%, var(--paper) 46%, var(--cream) 100%);
}
.sky::before {
  /* diffuse cloud blooms */
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(38% 26% at 22% 30%, rgba(255,255,255,0.92) 0%, transparent 62%),
    radial-gradient(46% 30% at 74% 24%, rgba(255,255,255,0.85) 0%, transparent 60%),
    radial-gradient(50% 34% at 50% 74%, rgba(255,255,255,0.7) 0%, transparent 66%),
    radial-gradient(30% 22% at 88% 62%, rgba(255,255,255,0.6) 0%, transparent 60%);
  filter: blur(6px);
}
.sky::after {
  /* a single warm sun-lift near the horizon */
  content: "";
  position: absolute;
  left: 50%; bottom: -14%;
  width: 60vw; height: 60vw;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(168,152,120,0.16) 0%, transparent 60%);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8rem 1.25rem 4rem;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; width: min(1100px, 94vw); }

.hero__eyebrow {
  display: inline-block;
  margin-bottom: clamp(1.4rem, 4vh, 2.6rem);
  opacity: 1;
  animation: rise 1.1s var(--ease) 0.2s backwards;
}

/* the big outlined WOKEY — the gallery centrepiece */
.wordmark {
  font-family: var(--serif);
  font-weight: 350;
  font-optical-sizing: auto;
  line-height: 0.86;
  letter-spacing: 0.02em;
  font-size: clamp(4.2rem, 21vw, 17rem);
  color: transparent;
  -webkit-text-stroke: 1.4px var(--gold-ink);
  text-stroke: 1.4px var(--gold-ink);
  margin-inline: auto;
  position: relative;
  opacity: 1;
  animation: rise 1.4s var(--ease) 0.35s backwards;
}
@media (min-width: 900px) {
  .wordmark { -webkit-text-stroke-width: 1.8px; text-stroke: 1.8px var(--gold-ink); }
}

/* the script reminder word, echoing the design reference */
.hero__script {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 8.5rem);
  line-height: 1;
  color: var(--gold-deep);
  margin-top: clamp(-2.4rem, -5vw, -3.4rem);
  position: relative;
  z-index: 3;
  min-height: 1.1em;
}
.hero__script .word {
  display: inline-block;
  transition: opacity 1.4s var(--ease), transform 1.4s var(--ease);
}

.hero__line {
  margin: clamp(1.8rem, 5vh, 3rem) auto 0;
  max-width: 34ch;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink-soft);
  opacity: 1;
  animation: rise 1.2s var(--ease) 0.7s backwards;
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 2rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  opacity: 1;
  animation: fade 1s var(--ease) 1.1s backwards;
}
.hero__scroll .track {
  width: 1px; height: 44px;
  background: linear-gradient(var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll .track::after {
  content: "";
  position: absolute; top: -50%;
  left: 0; width: 100%; height: 50%;
  background: var(--gold-deep);
  animation: drop 2.6s var(--ease) infinite;
}

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes drop {
  0%   { top: -50%; }
  100% { top: 100%; }
}

/* ============================================================
   FEELING — the quiet full-bleed statement
   ============================================================ */
.feeling {
  text-align: center;
  padding-block: clamp(7rem, 18vh, 13rem);
}
.feeling__big {
  font-size: clamp(2.4rem, 1.4rem + 5vw, 5.6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-inline: auto;
}
.feeling__big em {
  font-style: italic;
  color: var(--gold-ink);
}
.feeling__sub {
  margin-top: 2.2rem;
  font-family: var(--script);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--gold-deep);
}

/* ============================================================
   EDITORIAL blocks — asymmetric, gallery-like
   ============================================================ */
.block {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .block { grid-template-columns: 1fr 1fr; }
  .block--offset { grid-template-columns: 0.9fr 1.1fr; }
}
.block__label {
  display: flex; align-items: center; gap: 0.9rem;
  margin-bottom: 1.6rem;
}
.block__label::before {
  content: ""; width: 34px; height: 1px; background: var(--gold);
}
.block h2 {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem);
  font-weight: 330;
  margin-bottom: 1.4rem;
}
.block p + p { margin-top: 1.1rem; }
.block .lede { margin-bottom: 1.8rem; }

/* a framed atmospheric panel used where photography would sit */
.panel {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 3px;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 50% 110%, var(--peach) 0%, transparent 60%),
    radial-gradient(70% 60% at 30% 0%, var(--sky-hi) 0%, transparent 60%),
    linear-gradient(160deg, var(--paper) 0%, var(--paper-2) 100%);
  box-shadow: 0 40px 80px -50px rgba(42,38,32,0.45);
  border: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
}
.panel--wide { aspect-ratio: 5 / 4; }
.panel__mark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 10vw, 6rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  text-stroke: 1px var(--gold);
  line-height: 1;
  text-align: center;
}
.panel__mark span {
  display: block;
  font-family: var(--script);
  -webkit-text-stroke: 0;
  color: var(--gold-deep);
  font-size: 0.42em;
  margin-top: 0.2em;
}
.panel__cloud {
  position: absolute; inset: 0;
  background:
    radial-gradient(36% 26% at 24% 32%, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(40% 28% at 76% 68%, rgba(255,255,255,0.75), transparent 62%);
  filter: blur(4px);
  pointer-events: none;
}

/* text link */
.link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--gold);
  transition: gap 0.4s var(--ease), color 0.4s var(--ease);
}
.link:hover { gap: 1rem; color: var(--gold-deep); }
.link .arw { transition: transform 0.4s var(--ease); }
.link:hover .arw { transform: translateX(3px); }

/* pill (soft, never shouty) */
.pill {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.85rem 1.7rem;
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.pill:hover { transform: translateY(-2px); background: var(--gold-deep); }
.pill--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.pill--ghost:hover { background: var(--paper); border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }

/* ============================================================
   REMINDER teaser + grid
   ============================================================ */
.reminders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
}
.reminder-card {
  position: relative;
  background: var(--paper);
  padding: clamp(2rem, 4vw, 3.2rem) clamp(1.6rem, 3vw, 2.4rem);
  min-height: clamp(260px, 34vh, 360px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: background 0.6s var(--ease);
  isolation: isolate;
}
.reminder-card::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  background: var(--rc, radial-gradient(120% 90% at 50% 120%, var(--peach) 0%, transparent 60%));
}
.reminder-card:hover::before { opacity: 1; }
.reminder-card__idx {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--ink-faint);
}
.reminder-card__word {
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 1;
  margin-top: auto;
}
.reminder-card__en {
  font-family: var(--script);
  font-size: 1.5rem;
  color: var(--gold-deep);
  margin-top: 0.4rem;
}
.reminder-card__go {
  margin-top: 1.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: gap 0.4s var(--ease);
}
.reminder-card:hover .reminder-card__go { gap: 0.9rem; color: var(--gold-deep); }

/* ============================================================
   JOURNAL
   ============================================================ */
.journal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-soft);
}
@media (min-width: 720px) { .journal { grid-template-columns: repeat(3, 1fr); } }
.journal__item {
  background: var(--cream);
  padding: clamp(2rem, 3vw, 2.8rem) clamp(1.4rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: background 0.5s var(--ease);
}
.journal__item:hover { background: var(--paper); }
.journal__kicker { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); }
.journal__q {
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem);
  line-height: 1.25;
}
.journal__meta { margin-top: auto; font-size: 0.78rem; color: var(--ink-faint); }

/* ============================================================
   COMMUNITY / newsletter (quiet, no shouting)
   ============================================================ */
.community {
  text-align: center;
  position: relative;
  padding-block: clamp(7rem, 16vh, 12rem);
  overflow: hidden;
}
.community .sky { opacity: 0.8; }
.community__inner { position: relative; z-index: 2; width: min(640px, 92vw); margin-inline: auto; }
.community h2 {
  font-size: clamp(2.2rem, 1.4rem + 4vw, 4.2rem);
  font-weight: 300;
}
.community p { margin: 1.4rem auto 2.6rem; max-width: 44ch; color: var(--ink-soft); }
.subscribe {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  max-width: 460px;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
  transition: border-color 0.4s var(--ease);
}
.subscribe:focus-within { border-color: var(--gold); }
.subscribe input {
  flex: 1;
  border: 0; background: transparent;
  font: inherit; color: var(--ink);
  padding: 0.6rem 0.2rem;
}
.subscribe input::placeholder { color: var(--ink-faint); }
.subscribe input:focus { outline: none; }
.subscribe button {
  border: 0; background: transparent;
  font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600;
  padding: 0 0.4rem;
  transition: opacity 0.3s var(--ease);
}
.subscribe button:hover { opacity: 0.65; }
.community__note { margin-top: 1.4rem; font-size: 0.78rem; color: var(--ink-faint); }
.community__socials { margin-top: 2.6rem; display: flex; gap: 1.6rem; justify-content: center; }
.community__socials a { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color 0.4s var(--ease), color 0.4s var(--ease); }
.community__socials a:hover { color: var(--ink); border-color: var(--gold); }

/* ============================================================
   COLLECTION — minimal, at the very end (Bedeutung > Produkt)
   ============================================================ */
.collection__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1.2rem; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.collection__head h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 320; }
.collection__head p { color: var(--ink-soft); max-width: 30ch; }
.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 640px) { .products { grid-template-columns: repeat(3, 1fr); } }
.product { display: flex; flex-direction: column; gap: 1rem; }
.product__img {
  aspect-ratio: 4 / 5;
  border-radius: 3px;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(70% 60% at 50% 110%, var(--peach-hi) 0%, transparent 60%),
    linear-gradient(165deg, var(--paper) 0%, var(--paper-2) 100%);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.product:hover .product__img { transform: translateY(-4px); }
.product__img span {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3rem);
  color: transparent;
  -webkit-text-stroke: 0.8px var(--gold);
  text-stroke: 0.8px var(--gold);
}
.product__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.product__name { font-family: var(--serif); font-size: 1.15rem; font-weight: 380; }
.product__tag { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
.product__note { font-size: 0.86rem; color: var(--ink-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(4rem, 9vh, 6.5rem) 2.5rem;
}
.footer__top { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem; }
@media (min-width: 780px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand img { height: 40px; opacity: 0.85; margin-bottom: 1.4rem; }
.footer__brand p { color: var(--ink-soft); max-width: 34ch; font-size: 0.94rem; }
.footer__col h4 { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); font-family: var(--sans); font-weight: 600; margin-bottom: 1.2rem; }
.footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a { color: var(--ink-soft); font-size: 0.9rem; transition: color 0.35s var(--ease); }
.footer__col a:hover { color: var(--ink); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--line-soft);
  font-size: 0.78rem; color: var(--ink-faint);
}
.footer__bottom .script { font-size: 1.3rem; color: var(--gold-deep); }

/* ============================================================
   Scroll reveal
   ============================================================ */
/* Progressive enhancement: content is visible by default.
   Only when JS is present (html.js) do we hide-then-reveal. */
.reveal {
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__eyebrow, .wordmark, .hero__line, .hero__scroll { animation: none !important; opacity: 1 !important; }
  .hero__scroll .track::after { animation: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============================================================
   REMINDER DETAIL PAGE (r/*.html) — the QR moment of return
   ============================================================ */
.rd {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.rd .sky { z-index: -2; }
.rd__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.25rem, 4vw, 2.4rem);
  z-index: 3;
}
.rd__top img { height: 26px; opacity: 0.85; }
.rd__back {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 0.6rem;
  transition: gap 0.4s var(--ease), color 0.4s var(--ease);
}
.rd__back:hover { gap: 1rem; color: var(--ink); }

.rd__core {
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
  gap: 0;
  z-index: 2;
}
.rd__eyebrow {
  opacity: 1; animation: rise 1.1s var(--ease) 0.3s backwards;
  margin-bottom: clamp(1.6rem, 4vh, 2.8rem);
}
.rd__word {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(4.5rem, 20vw, 15rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 1;
  animation: rise 1.5s var(--ease) 0.45s backwards;
}
.rd__en {
  font-family: var(--script);
  font-size: clamp(2rem, 7vw, 4.4rem);
  color: var(--gold-deep);
  margin-top: clamp(-0.6rem, -1vw, -1rem);
  opacity: 1;
  animation: rise 1.5s var(--ease) 0.7s backwards;
}
.rd__poem {
  margin: clamp(2.2rem, 6vh, 3.6rem) auto 0;
  max-width: 26ch;
  font-family: var(--serif);
  font-weight: 340;
  font-style: italic;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink-soft);
  opacity: 1;
  animation: rise 1.3s var(--ease) 1s backwards;
}
.rd__breathe {
  margin-top: clamp(2.4rem, 6vh, 3.6rem);
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex; align-items: center; gap: 0.8rem;
  opacity: 1; animation: rise 1.2s var(--ease) 1.3s backwards;
}
.rd__breathe .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  animation: breathe 5.5s var(--ease) infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(0.7); opacity: 0.5; }
  50%      { transform: scale(1.5); opacity: 1; }
}

.rd__foot {
  display: flex; flex-wrap: wrap; gap: 1.2rem 2rem;
  align-items: center; justify-content: space-between;
  padding: 1.6rem clamp(1.25rem, 4vw, 2.4rem) 2rem;
  z-index: 3;
  opacity: 1; animation: rise 1.1s var(--ease) 1.5s backwards;
}
.rd__product {
  display: flex; align-items: center; gap: 0.9rem;
  text-align: left;
  color: var(--ink-soft);
  font-size: 0.82rem;
}
.rd__qr {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px;
  background: var(--paper);
  flex-shrink: 0;
}
.rd__product b { color: var(--ink); font-weight: 550; display: block; font-size: 0.86rem; }
.rd__return { display: inline-flex; }

@media (prefers-reduced-motion: reduce) {
  .rd__eyebrow, .rd__word, .rd__en, .rd__poem, .rd__breathe, .rd__foot { animation: none !important; opacity: 1 !important; }
  .rd__breathe .dot { animation: none; }
}

/* ============================================================
   REMINDER OVERVIEW (reminder.html) hero
   ============================================================ */
.subhero {
  position: relative;
  padding: clamp(9rem, 22vh, 15rem) 1.25rem clamp(4rem, 10vh, 7rem);
  text-align: center;
  overflow: hidden;
}
.subhero__title {
  font-size: clamp(3rem, 1.5rem + 8vw, 8rem);
  font-weight: 300;
  line-height: 0.95;
}
.subhero__title .script { display: block; color: var(--gold-deep); font-size: 0.5em; margin-top: 0.1em; }
.subhero__lede { margin: 2rem auto 0; max-width: 40ch; color: var(--ink-soft); }

/* big gallery list for reminder overview */
.rgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}
@media (min-width: 700px) { .rgrid { grid-template-columns: 1fr 1fr; } }
.rlink {
  position: relative;
  background: var(--cream);
  padding: clamp(2.4rem, 5vw, 4rem);
  min-height: clamp(300px, 40vh, 440px);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.6s var(--ease);
}
.rlink::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  opacity: 0; transition: opacity 0.8s var(--ease);
  background: var(--rc, radial-gradient(120% 90% at 50% 120%, var(--peach) 0%, transparent 60%));
}
.rlink:hover::before { opacity: 1; }
.rlink__top { display: flex; justify-content: space-between; align-items: flex-start; }
.rlink__idx { font-size: 0.74rem; letter-spacing: 0.24em; color: var(--ink-faint); }
.rlink__slug { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--ink-faint); font-family: var(--sans); }
.rlink__word {
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  margin-top: auto;
}
.rlink__en { font-family: var(--script); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--gold-deep); }
.rlink__line { margin-top: 1rem; color: var(--ink-soft); max-width: 30ch; font-size: 0.95rem; }
.rlink__go { margin-top: 1.6rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); transition: gap 0.4s var(--ease), color 0.4s var(--ease); }
.rlink:hover .rlink__go { gap: 0.9rem; color: var(--gold-deep); }

/* how-it-works strip (QR concept) */
.qrstrip {
  display: grid; grid-template-columns: 1fr; gap: 2.4rem;
  align-items: center;
}
@media (min-width: 820px) { .qrstrip { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }
.qrstrip h2 { font-size: clamp(1.8rem, 1.2rem + 2.5vw, 3rem); font-weight: 330; margin-bottom: 1.4rem; }
.qrstrip p { color: var(--ink-soft); }
.qrcard {
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: var(--paper);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem; text-align: center;
  box-shadow: 0 40px 80px -60px rgba(42,38,32,0.4);
}
.qrcard svg { width: 120px; height: 120px; }
.qrcard span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
