/* =========================================================
   Mementa landing page
   Static, dependency-free, and tuned around the white paper:
   collect -> create -> read -> preserve -> hold.
   ========================================================= */

:root {
  --paper: #FAF6EE;
  --paper-2: #F2EADC;
  --cream: #EAD8B9;
  --surface: #FFFFFF;
  --line: #E9E0CF;
  --line-strong: #D8C6A9;

  --ink: #2A2622;
  --ink-title: #33211A;
  --ink-soft: #5B4A3A;
  --ink-faint: #8A7B66;
  --dark: #241610;

  --terra: #BE7468;
  --terra-deep: #9E574B;
  --teal: #168F86;
  --teal-deep: #11665F;
  --logo-green: #71816D;
  --logo-green-dark: #4D6049;
  --logo-green-deep: #3F513B;
  --blue: #2E6FAD;
  --rose: #C7677D;
  --gold: #846519;
  --plum: #7B5EA7;

  --font-display: "Alata", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --container: 1240px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(51, 33, 26, .05), 0 4px 14px rgba(51, 33, 26, .05);
  --shadow-md: 0 10px 30px rgba(51, 33, 26, .11), 0 2px 6px rgba(51, 33, 26, .06);
  --shadow-lg: 0 28px 70px rgba(18, 13, 10, .22), 0 8px 20px rgba(18, 13, 10, .1);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
  color: var(--ink-title);
}
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 32px; }
[id] { scroll-margin-top: 88px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  --bg: var(--dark);
  --fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn__icon { width: 19px; height: 19px; flex: 0 0 auto; }
.btn--sm { min-height: 40px; padding: 11px 18px; font-size: 15px; }
.btn--lg { min-height: 54px; padding: 17px 30px; font-size: 17px; }
.btn--primary { --bg: var(--logo-green-dark); --fg: #FFF8EC; }
.btn--primary:hover { background: var(--logo-green-deep); }
.btn--cream { --bg: var(--cream); --fg: var(--ink-title); }
.btn--cream:hover { background: #F2E4C9; }
.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); box-shadow: var(--shadow-sm); }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 26px rgba(42, 38, 34, .06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink-title); }
.brand__mark { width: 32px; height: 32px; color: var(--ink); display: inline-flex; }
.brand__mark svg, .brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__word { font-family: var(--font-display); font-weight: 400; font-size: 23px; letter-spacing: 0; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--teal);
  border-radius: 2px;
  transition: width .22s var(--ease);
}
.nav__links a:hover { color: var(--ink-title); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span { height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 22px;
  background: rgba(250, 246, 238, .98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a { padding: 13px 6px; font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border: none; margin-top: 10px; justify-content: center; }
.mobile-menu .btn { color: #F8EDD9; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(540px, 78svh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 46%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(21, 13, 9, .88) 0%, rgba(21, 13, 9, .7) 42%, rgba(21, 13, 9, .22) 100%),
    linear-gradient(0deg, rgba(21, 13, 9, .26), rgba(21, 13, 9, .08));
}
.hero__inner { width: 100%; padding-block: 68px 74px; }
.hero__copy { max-width: 680px; color: rgba(255, 250, 241, .92); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #F9DCCB;
  background: rgba(255, 250, 241, .12);
  border: 1px solid rgba(255, 250, 241, .18);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(22, 143, 134, .24); }
.hero__title {
  font-size: clamp(4rem, 12vw, 8.5rem);
  line-height: .92;
  color: #FFF8EC;
}
.hero__tagline {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.1vw, 2.65rem);
  line-height: 1.12;
  color: #F6D9C2;
  max-width: 15ch;
}
.hero__sub {
  margin-top: 24px;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  color: rgba(255, 250, 241, .86);
  max-width: 42ch;
}
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn--ghost {
  --fg: #FFF8EC;
  border-color: rgba(255, 248, 236, .48);
  color: #FFF8EC;
}
.hero .btn--ghost:hover {
  background: rgba(255, 248, 236, .12);
  border-color: rgba(255, 248, 236, .76);
  box-shadow: none;
}
.hero__meta { margin-top: 18px; font-size: 14px; color: rgba(255, 250, 241, .65); }

/* Value strip */
.strip { padding: 22px 0 6px; }
.strip__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.strip__item { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-width: 150px; flex: 1; }
.strip__item strong { font-family: var(--font-display); font-size: 18px; font-weight: 400; color: var(--ink-title); }
.strip__item span { font-size: 13.5px; color: var(--ink-faint); max-width: 22ch; }
.strip__divider { width: 1px; min-height: 44px; background: var(--line); }

/* Sections */
.section { padding: 100px 0; }
.section--tint { background: linear-gradient(180deg, var(--paper) 0%, #F4EFE6 100%); }
.section__head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}
.kicker--light { color: #E7C48F; }
.section__title { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
.section__lead { margin-top: 16px; font-size: 1.12rem; color: var(--ink-soft); }

/* Feature rows */
.feature {
  display: grid;
  grid-template-columns: minmax(320px, 470px) 1fr;
  gap: 80px;
  align-items: center;
  padding: 36px 0;
}
.feature + .feature { margin-top: 20px; }
.feature--reverse { grid-template-columns: 1fr minmax(320px, 470px); }
.feature--reverse .feature__media { order: 2; }
.feature__media {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; aspect-ratio: 4 / 5; }
.feature__media--portrait img { aspect-ratio: 2 / 3; }
.feature__media--wide img { aspect-ratio: 16 / 11; object-position: center; }
.feature__copy { padding: 8px 0; max-width: 54ch; }
.feature--reverse .feature__copy { justify-self: end; }
.feature__copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); margin: 16px 0 14px; }
.feature__copy p { color: var(--ink-soft); font-size: 1.1rem; max-width: 48ch; }
.feature__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--terra-deep);
  background: rgba(190, 116, 104, .14);
}
.feature__tag[data-accent="teal"] { color: var(--teal-deep); background: rgba(22, 143, 134, .12); }
.feature__tag[data-accent="blue"] { color: var(--blue); background: rgba(46, 111, 173, .12); }
.feature__tag[data-accent="rose"] { color: #9C4057; background: rgba(199, 103, 125, .14); }
.feature__tag[data-accent="gold"] { color: var(--gold); background: rgba(132, 101, 25, .12); }

/* Sticker Book */
.section--sticker {
  background: #F8F2E8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sticker {
  display: grid;
  grid-template-columns: minmax(320px, 520px) 1fr;
  gap: 72px;
  align-items: center;
}
.sticker__media {
  overflow: visible;
  border-radius: var(--radius);
  border: 0;
  background: transparent;
  box-shadow: none;
}
.sticker__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 34px rgba(46, 31, 23, .16));
}
.sticker__copy { max-width: 660px; }
.steps {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 6px 18px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step span {
  grid-row: span 2;
  font-family: var(--font-display);
  color: var(--teal-deep);
  font-size: 1.3rem;
  line-height: 1;
}
.step strong { font-family: var(--font-display); font-size: 1.18rem; font-weight: 400; color: var(--ink-title); }
.step p { color: var(--ink-soft); font-size: .98rem; }

/* Bookmaking */
.bookmaking {
  background: var(--dark);
  color: #F8EDD9;
}
.bookmaking .section__title { color: #FFF8EC; }
.bookmaking .section__lead { color: rgba(255, 248, 236, .78); }
.book-hero {
  display: grid;
  grid-template-columns: minmax(380px, .88fr) minmax(0, 1.12fr);
  align-items: stretch;
  margin: 0 0 30px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 0;
  background: rgba(255, 248, 236, .06);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .18);
}
.book-hero img {
  width: 100%;
  height: clamp(560px, 56vw, 760px);
  object-fit: cover;
  object-position: center;
}
.book-hero figcaption {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(34px, 5vw, 64px);
}
.book-hero figcaption strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.15rem, 3.25vw, 3.25rem);
  line-height: 1.08;
  text-wrap: balance;
  color: #FFF8EC;
}
.book-hero figcaption p {
  color: rgba(255, 248, 236, .78);
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.65;
}
.book-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.book-step {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 248, 236, .16);
  background: rgba(255, 248, 236, .07);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
}
.book-step__media {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, .14);
  border-bottom: 1px solid rgba(255, 248, 236, .14);
}
.book-step__media img {
  width: 100%;
  min-width: 0;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.book-step--mode .book-step__media img { object-position: center 44%; }
.book-step--checkout .book-step__media img { object-position: 72% center; }
.book-step__copy {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 6px 14px;
  padding: 22px 24px 24px;
}
.book-step__copy span {
  grid-row: span 2;
  font-family: var(--font-display);
  color: #AEEAE4;
  font-size: 1.25rem;
  line-height: 1;
}
.book-step__copy h3 {
  font-size: 1.35rem;
  color: #FFF8EC;
}
.book-step__copy p {
  color: rgba(255, 248, 236, .7);
  font-size: 1rem;
  line-height: 1.5;
}
/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1040px;
  margin-inline: auto;
}
.gallery-shot {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 36px;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #FFFDF8;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1.12;
  cursor: zoom-in;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.gallery-shot--detail {
  aspect-ratio: 1 / 1.12;
}
.gallery-shot img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  background: #FBF5E9;
  transition: transform .4s var(--ease);
}
.gallery-shot--detail img { padding: 12px; }
.gallery-shot:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.gallery-shot:hover img { transform: scale(1.015); }
.gallery-shot__cap {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 12px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.gallery-shot__cap strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink-title);
}
.gallery-shot__cap span { display: none; }

/* Tablet swipe gallery */
.tablet-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.tablet-gallery__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}
.tablet-viewer {
  position: relative;
  width: min(76vw, 480px);
  aspect-ratio: 844 / 1200;
  flex: 0 0 auto;
  filter: drop-shadow(0 24px 46px rgba(51, 33, 26, .18));
}
.tablet-screen {
  position: absolute;
  left: 6.38%;
  top: 4.21%;
  right: 5.57%;
  bottom: 4.17%;
  overflow: hidden;
  border-radius: 1.6% / 1.1%;
  background: #000;
  touch-action: pan-y;
  cursor: grab;
}
.tablet-screen:active { cursor: grabbing; }
.tablet-track {
  display: flex;
  height: 100%;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform .5s var(--ease);
  will-change: transform;
}
.tablet-track.is-dragging { transition: none; }
.tablet-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
}
.tablet-slide__link { display: block; width: 100%; height: 100%; }
.tablet-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.tablet-frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}
.tablet-nav {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink-title);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.tablet-nav svg { width: 18px; height: 18px; }
.tablet-nav:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.tablet-nav:active { transform: translateY(0); }
.tablet-gallery__hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-faint);
  margin: -6px 0 0;
}
.tablet-gallery__caption { text-align: center; max-width: 420px; min-height: 44px; }
.tablet-gallery__caption strong {
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-title);
  margin-bottom: 2px;
}
.tablet-gallery__caption span { font-size: 14px; color: var(--ink-soft); }
.tablet-dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: 320px; }
.tablet-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: var(--line-strong);
  opacity: .6;
  cursor: pointer;
  transition: opacity .2s var(--ease), transform .2s var(--ease), background-color .2s var(--ease);
}
.tablet-dot:hover { opacity: .85; }
.tablet-dot.is-active { opacity: 1; background: var(--terra-deep); transform: scale(1.3); }

@media (max-width: 720px) {
  .tablet-viewer { width: min(66vw, 340px); }
  .tablet-nav { width: 38px; height: 38px; }
  .tablet-nav svg { width: 15px; height: 15px; }
  .tablet-gallery__stage { gap: 10px; }
}
@media (max-width: 480px) {
  .tablet-nav { display: none; }
  .tablet-viewer { width: min(82vw, 360px); }
}
@media (prefers-reduced-motion: reduce) {
  .tablet-track { transition: none; }
}

/* Gallery lightbox */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(42, 38, 34, .58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox__frame { margin: 0; }
.lightbox__img {
  display: block;
  max-width: min(90vw, 1100px);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.lightbox__cap { margin-top: 14px; text-align: center; font-size: 14.5px; font-weight: 600; color: #FBF5E9; }
.lightbox__close {
  position: fixed;
  top: 22px;
  right: 26px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(250, 246, 238, .14);
  color: #FBF5E9;
  border: 1px solid rgba(250, 246, 238, .3);
  border-radius: 50%;
  cursor: pointer;
  transition: background .18s var(--ease);
}
.lightbox__close:hover { background: rgba(250, 246, 238, .28); }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox[open] { animation: lb-in .24s var(--ease); }
.lightbox[open]::backdrop { animation: lb-fade .24s ease; }
@keyframes lb-in { from { opacity: 0; transform: scale(.96) translateY(8px); } }
@keyframes lb-fade { from { opacity: 0; } }
.lb-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .lightbox[open], .lightbox[open]::backdrop { animation: none; }
}

/* Download */
.download { background: #2B312B; color: var(--paper); }
.download__inner { max-width: 780px; margin-inline: auto; text-align: center; }
.download__title { font-size: clamp(2rem, 4vw, 3rem); color: #FBF5E9; }
.download__lead { margin-top: 16px; font-size: 1.15rem; color: rgba(250, 246, 238, .78); }
.download__specs {
  list-style: none;
  margin: 44px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(250, 246, 238, .14);
  border: 1px solid rgba(250, 246, 238, .14);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 680px;
}
.download__specs li { display: flex; flex-direction: column; gap: 4px; padding: 18px 14px; background: #2B312B; }
.download__specs span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: rgba(250, 246, 238, .55); }
.download__specs strong { font-family: var(--font-display); font-size: 16px; font-weight: 400; color: #E7C48F; }
.download__note { margin-top: 26px; font-size: 14.5px; color: rgba(250, 246, 238, .64); }

.store-cta { display: inline-block; margin-top: 34px; border-radius: 4px; transition: transform .15s ease, box-shadow .15s ease; }
.store-cta img { display: block; width: 216px; height: auto; border-radius: 4px; }
.store-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-cta:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .store-cta { transition: none; } }

/* Store badge + "Remind Me" sit as an equal-weight pair */
.download__ctas {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.download__ctas .store-cta { margin-top: 0; }

.remind-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 216px;
  height: 78px;
  padding: 0 16px;
  background: transparent;
  border: 1.5px solid rgba(250, 246, 238, .55);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease), transform .15s ease;
}
.remind-cta:hover { border-color: #E7C48F; background: rgba(231, 196, 143, .08); transform: translateY(-2px); }
.remind-cta:active { transform: translateY(0); }
.remind-cta__icon { flex: 0 0 auto; color: #FBF5E9; transition: color .15s var(--ease); }
.remind-cta:hover .remind-cta__icon { color: #E7C48F; }
.remind-cta__text { display: flex; flex-direction: column; gap: 1px; text-align: left; }
.remind-cta__kicker { font-family: var(--font-display); font-weight: 400; font-size: 13px; color: rgba(250, 246, 238, .72); white-space: nowrap; }
.remind-cta__title { font-family: var(--font-display); font-weight: 400; font-size: 25px; line-height: 1.05; color: #FBF5E9; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .remind-cta { transition: none; } }

@media (max-width: 480px) {
  .remind-cta { width: 100%; max-width: 260px; }
}

/* "Email me the link" inline form, revealed by the Remind Me button */
.email-link-form { margin: 20px auto 0; max-width: 440px; text-align: left; }
.email-link-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.email-link-form__label { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.email-link-form__row { display: flex; gap: 10px; flex-wrap: wrap; }
.email-link-form__input {
  flex: 1 1 220px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .95rem;
  color: #FBF5E9;
  background: rgba(250, 246, 238, .06);
  border: 1px solid rgba(250, 246, 238, .22);
  border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.email-link-form__input::placeholder { color: rgba(250, 246, 238, .45); }
.email-link-form__input:focus { outline: none; border-color: #E7C48F; background: rgba(250, 246, 238, .12); box-shadow: 0 0 0 3px rgba(231, 196, 143, .18); }
.email-link-form__submit { flex: 0 0 auto; }
.email-link-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(250, 246, 238, .68);
  text-align: left;
  cursor: pointer;
}
.email-link-form__checkbox input { margin-top: 3px; accent-color: #E7C48F; flex: 0 0 auto; }
.email-link-status { margin: 18px auto 0; max-width: 440px; font-size: .95rem; line-height: 1.6; text-align: center; }
.email-link-status--ok { color: #E7C48F; }
.email-link-status--err { color: #E7A99B; }

@media (max-width: 560px) {
  .email-link-form__row { flex-direction: column; }
  .email-link-form__submit { width: 100%; justify-content: center; }
}

/* Contact form */
.contact { background: #2E1E15; color: var(--paper); }
.contact .section__title { color: #FBF5E9; }
.contact .section__lead { color: rgba(250, 246, 238, .78); }
.contact__wrap { max-width: 680px; margin-inline: auto; }
.contact-form { margin-top: 34px; text-align: left; }
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form__field { margin-bottom: 16px; }
.contact-form__label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: #FBF5E9; }
.contact-form__req { color: #E7A99B; }
.contact-form__opt { font-weight: 400; color: rgba(250, 246, 238, .5); }
.contact-form__input {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 1rem;
  color: #FBF5E9;
  background: rgba(250, 246, 238, .06);
  border: 1px solid rgba(250, 246, 238, .22);
  border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.contact-form__input::placeholder { color: rgba(250, 246, 238, .45); }
.contact-form__input:focus { outline: none; border-color: #E7C48F; background: rgba(250, 246, 238, .12); box-shadow: 0 0 0 3px rgba(231, 196, 143, .18); }
.contact-form__textarea { resize: vertical; min-height: 132px; line-height: 1.55; }
.contact-form__submit { margin-top: 6px; width: 100%; justify-content: center; }
.contact-form__fineprint { margin-top: 14px; text-align: center; font-size: 13px; color: rgba(250, 246, 238, .55); }
.contact-form__status {
  margin: 24px auto 0;
  max-width: 560px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
}
.contact-form__status--ok { color: #E7C48F; }
.contact-form__status--err { color: #E7A99B; }
.contact-form__status a { color: inherit; text-decoration: underline; }

/* FAQ */
.faq__wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: start; }
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease);
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 400;
  color: var(--ink-title);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 26px;
  color: var(--teal);
  transition: transform .25s var(--ease);
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); }
.faq details p a { color: var(--logo-green-dark); text-decoration: underline; }
.faq details p a:hover { color: var(--logo-green-deep); }

/* Footer */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 56px 0 30px; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand p { margin-top: 12px; color: var(--ink-faint); font-size: 15px; max-width: 34ch; }
.brand--footer .brand__word { font-size: 20px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer__links a { font-size: 15px; color: var(--ink-soft); font-weight: 600; }
.footer__links a:hover { color: var(--ink-title); }
.footer__base {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-faint);
  flex-wrap: wrap;
  gap: 8px;
}

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .gallery-shot, .gallery-shot img { transition: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .feature, .feature--reverse { gap: 48px; }
  .sticker { gap: 48px; }
}

@media (max-width: 980px) {
  .nav__links { gap: 20px; }
  .hero__backdrop img { object-position: 64% center; }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(21, 13, 9, .88) 0%, rgba(21, 13, 9, .66) 62%, rgba(21, 13, 9, .32) 100%),
      linear-gradient(0deg, rgba(21, 13, 9, .22), rgba(21, 13, 9, .12));
  }
  .feature, .feature--reverse, .sticker { grid-template-columns: 1fr; gap: 32px; }
  .feature--reverse .feature__media { order: 0; }
  .feature__media, .sticker__media { max-width: 540px; margin-inline: auto; width: 100%; }
  .feature__copy, .feature--reverse .feature__copy { justify-self: start; }
  .book-hero { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .book-hero img {
    height: auto;
    max-height: none;
    border-right: none;
  }
  .book-flow { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .faq__wrap { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 721px) { .mobile-menu { display: none !important; } }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding-inline: 24px; }
  .nav__links { display: none; }
  .nav__actions .btn--primary { display: none; }
  .nav__toggle { display: flex; }
  .hero {
    min-height: auto;
    align-items: end;
  }
  .hero__copy { max-width: 100%; }
  .hero__backdrop img { object-position: 58% center; }
  .hero::after {
    background:
      linear-gradient(0deg, rgba(21, 13, 9, .92) 0%, rgba(21, 13, 9, .72) 56%, rgba(21, 13, 9, .24) 100%);
  }
  .hero__inner { padding-block: 250px 52px; }
  .hero__title { font-size: 3.35rem; }
  .hero__tagline { max-width: 13ch; }
  .hero__sub { max-width: 31ch; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 42px; }
  .book-hero figcaption { padding: 22px 20px 24px; }
  .strip__divider { display: none; }
  .strip__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding: 20px 16px; }
  .strip__item { min-width: 0; }
  .strip__item strong { font-size: 16px; }
  .step { grid-template-columns: 1fr; }
  .step span { grid-row: auto; }
  .download__specs { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { flex-direction: column; gap: 24px; }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .gallery-shot,
  .gallery-shot--detail { aspect-ratio: 1 / 1.12; }
  .gallery-shot img,
  .gallery-shot--detail img { padding: 9px; }
  .gallery-shot__cap { padding-inline: 10px; }
}

@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; white-space: normal; }
  .contact-form__row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 420px) {
  .container { padding-inline: 18px; }
  .gallery-grid { gap: 14px; }
  .gallery-shot__cap { padding-inline: 10px; }
}
