:root {
  --cream: #faf6f2;
  --cream-2: #f6efea;
  --paper: #fffcf9;
  --card: #ffffff;
  --line: #ebe0d6;
  --line-soft: #f1e8e0;
  --peach: #e9c4b4;
  --peach-soft: #f4e2d9;
  --olive: #70672d;
  --olive-dk: #5a5323;
  --amber: #bc7022;
  --sage: #a1bfa8;
  --gold: #d9a441;
  --ink: #2a2118;
  --ink-2: #4a3728;
  --muted: #7a6758;

  --serif: "Playfair Display", "Georgia", serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --radius: 14px;
  --bar-h: 56px;
  --shadow: 0 1px 2px rgba(42, 33, 24, .05), 0 8px 22px rgba(42, 33, 24, .07);
  --btn-shadow: 0 10px 22px rgba(112, 103, 45, .28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 60px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-2);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
button:not(:disabled), [role="button"]:not([aria-disabled="true"]) { cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.display { font-family: var(--serif); font-weight: 700; color: var(--ink); letter-spacing: -.005em; text-wrap: balance; }
.display em { font-style: italic; font-weight: 700; color: var(--amber); }
.kicker {
  font-family: var(--body); font-weight: 700; font-size: 12px; line-height: 1.3;
  letter-spacing: .16em; text-transform: uppercase; color: var(--olive);
}
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 40;
  height: calc(var(--bar-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--gutter) 0;
  display: flex; align-items: center; gap: 12px;
  background: rgba(250, 246, 242, .93);
  backdrop-filter: saturate(1.3) blur(10px);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.bar.is-scrolled { border-color: var(--line); }
.bar-brand { flex: 0 1 auto; min-width: 0; transition: opacity .25s; }
body.at-cover .bar-brand { opacity: 0; pointer-events: none; }
.bar-brand img { height: 26px; width: auto; }
.mode {
  margin-left: auto;
  display: flex; padding: 3px; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
}
.mode-btn {
  text-decoration: none; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em;
  padding: 7px 13px; border-radius: 999px; min-height: 34px; display: grid; place-items: center;
}
.mode-btn[aria-selected="true"] { background: var(--olive); color: #fff; }
.bar-list {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; color: var(--amber);
}
.bar-list svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bar-list.has-items svg { fill: currentColor; }
.bar-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--olive); color: #fff; border-radius: 9px; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
@media (max-width: 380px) {
  .bar-brand img { height: 22px; }
  .mode-btn { padding: 7px 10px; }
}

/* ---------- cover (matches the opt-in hero: photo under a cream wash) ---------- */
.cover {
  position: relative; text-align: center; padding: 36px 0 44px;
  background:
    linear-gradient(rgba(246, 239, 234, .84), rgba(246, 239, 234, .9)),
    url("img/cover.webp") center 30% / cover no-repeat;
}
.cover-logo { width: 160px; margin: 0 auto 22px; }
.cover-title { font-size: clamp(42px, 12vw, 76px); line-height: 1.04; }
.cover-title em { display: block; }
.cover-tag { font-size: 19px; color: var(--ink-2); margin: 16px auto 0; max-width: 30ch; }
.cover-tag b { color: var(--ink); }
.cover-ed { margin-top: 18px; }
.cover-ctas { display: grid; gap: 12px; margin: 26px auto 0; max-width: 360px; padding: 0 var(--gutter); }
.cover-art { margin: 32px auto 0; max-width: 520px; padding: 0 var(--gutter); }
.cover-art img { border-radius: 18px; box-shadow: 0 18px 40px rgba(42, 33, 24, .18); transform: rotate(-1.5deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 54px; padding: 0 26px; border-radius: 60px;
  font: 700 15px/1.1 var(--body); text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  transition: transform .12s ease, background-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; flex: none; }
.btn-olive { background: var(--olive); color: #fff; box-shadow: var(--btn-shadow); }
.btn-olive:hover { background: var(--olive-dk); }
.btn-line { background: rgba(255, 255, 255, .7); color: var(--olive); border: 2px solid var(--olive); }
.btn-line:hover { background: #fff; }
.btn-sm { min-height: 42px; font-size: 13px; padding: 0 18px; }

/* ---------- sections ---------- */
.block { padding: 52px 0; }
.block + .block { padding-top: 8px; }
.head { margin-bottom: 24px; text-align: center; }
.head .display { font-size: clamp(32px, 9vw, 50px); line-height: 1.1; margin-top: 10px; }
.head p.lede { color: var(--ink-2); margin: 14px auto 0; max-width: 56ch; }
.rule { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 0; }
.rule::before, .rule::after { content: ""; width: 40px; height: 1px; background: var(--peach); }
.rule svg { width: 14px; height: 14px; fill: var(--gold); }

/* letter */
.letter { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px 20px; box-shadow: var(--shadow); }
.letter-top { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.letter-top img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--peach-soft); flex: none; }
.letter-top .display { font-size: 30px; line-height: 1.1; margin-top: 6px; }
.letter-body p { color: var(--ink-2); margin-top: 12px; }
.letter-body p:first-child { margin-top: 0; }
.letter-sign { margin-top: 16px; }
.letter-sign .name { font-family: var(--serif); font-style: italic; font-weight: 700; color: var(--amber); font-size: 24px; }
.letter-sign .role { font-size: 13px; color: var(--muted); }
.textlink { color: var(--olive); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; margin-top: 6px; }

/* index tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile {
  position: relative; display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1 / 1.05; background: var(--peach-soft); box-shadow: var(--shadow);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile span {
  position: absolute; inset: auto 0 0; padding: 32px 12px 12px;
  background: linear-gradient(rgba(42, 33, 24, 0), rgba(42, 33, 24, .76));
  color: #fff; font-weight: 700; font-size: 15px; line-height: 1.2;
}
.budget-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bpill {
  text-decoration: none; border-radius: 18px; display: grid; place-items: center; text-align: center;
  color: #fff; padding: 18px 8px; line-height: 1.1; min-height: 104px;
}
.bpill b { font-family: var(--serif); font-weight: 900; font-size: clamp(24px, 6.5vw, 32px); display: block; }
.bpill small { font-size: 12px; opacity: .92; display: block; margin-top: 6px; }
.bpill.b1 { background: var(--olive); }
.bpill.b2 { background: var(--amber); }
.bpill.b3 { background: var(--ink-2); }
.subhead { font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 30px 0 12px; text-align: center; }

/* sticky chips */
.chips {
  position: sticky; top: calc(var(--bar-h) + env(safe-area-inset-top)); z-index: 30;
  background: rgba(250, 246, 242, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.chips-row { display: flex; gap: 8px; overflow-x: auto; padding: 10px var(--gutter); scrollbar-width: none; scroll-snap-type: x proximity; }
.chips-row::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start; text-decoration: none; white-space: nowrap;
  font-size: 14px; font-weight: 700; color: var(--ink-2);
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0 15px; min-height: 38px;
  display: inline-flex; align-items: center;
}
.chip.is-active { background: var(--olive); border-color: var(--olive); color: #fff; }
.chip.is-budget { color: var(--amber); }
.chip.is-budget.is-active { background: var(--amber); border-color: var(--amber); color: #fff; }

/* recipient section */
.sec { padding: 44px 0 8px; scroll-margin-top: calc(var(--bar-h) + 58px); }
.sec-hero { position: relative; border-radius: 22px; overflow: hidden; margin-bottom: 22px; background: var(--peach-soft); aspect-ratio: 16 / 10; }
.sec-hero img { width: 100%; height: 100%; object-fit: cover; }
.sec-num { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .94); color: var(--olive); font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 5px 11px; border-radius: 999px; }
.sec.tone-peach { background: var(--peach); padding-bottom: 40px; margin: 36px 0; }
.sec.tone-peach .kicker { color: var(--ink-2); }
.sec.tone-peach .display em { color: #8a4f14; }
.sec.tone-peach .rule::before, .sec.tone-peach .rule::after { background: rgba(255, 255, 255, .7); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.card-img { position: relative; display: block; aspect-ratio: 1; background: var(--line-soft); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-badge {
  position: absolute; left: 8px; top: 8px; background: var(--amber); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase;
}
.card-body { padding: 12px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.card-name { font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.22; color: var(--ink); }
.card-blurb { font-size: 13.5px; line-height: 1.45; color: var(--muted); margin-top: 5px; }
.card-maker { font-size: 12.5px; color: var(--amber); margin-top: 7px; font-weight: 500; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { color: var(--ink); font-weight: 700; font-size: 16px; white-space: nowrap; }
.card-shop {
  margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px;
  border-radius: 60px; background: var(--olive); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
}
.card-shop:hover { background: var(--olive-dk); }
.card-shop svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.heart {
  position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); display: grid; place-items: center; color: var(--amber);
  box-shadow: 0 2px 8px rgba(42, 33, 24, .15); transition: transform .15s;
}
.heart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.heart[aria-pressed="true"] svg { fill: currentColor; }
.heart:active { transform: scale(.9); }
.heart.pop { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.25); } }

/* quote */
.quote { margin: 24px 0 0; background: var(--peach-soft); border-radius: 18px; padding: 24px 20px 20px; position: relative; }
.quote::before { content: "\201C"; position: absolute; top: -16px; left: 16px; font: 900 72px/1 var(--serif); color: var(--amber); }
.quote p { font-family: var(--body); font-style: italic; font-size: 17px; line-height: 1.6; color: var(--ink); }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; font-weight: 700; color: var(--ink); }
.quote cite a { text-decoration: none; }
.quote cite span { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.tone-peach .quote { background: rgba(255, 255, 255, .88); }

/* spotlight */
.spot { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px 18px; box-shadow: var(--shadow); position: relative; }
.spot-top { display: flex; gap: 14px; align-items: center; }
.spot-top img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; flex: none; border: 4px solid #fff; box-shadow: var(--shadow); background: var(--peach-soft); }
.spot-top .display { font-size: 28px; line-height: 1.1; margin-top: 2px; }
.spot-shop { font-weight: 700; font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.spot-role { font-size: 13px; color: var(--amber); margin-top: 2px; line-height: 1.4; }
.spot-badge { position: absolute; right: 14px; top: -12px; background: var(--amber); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; }
.spot .subhead { text-align: left; margin-top: 24px; }
.spot-favs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.fav { text-decoration: none; display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fav img { aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--line-soft); }
.fav div { padding: 8px 8px 10px; }
.fav b { display: block; font-size: 12.5px; line-height: 1.25; color: var(--ink); }
.fav span { display: block; font-size: 13px; color: var(--ink); font-weight: 700; margin-top: 4px; }
.fav em { display: block; font-style: normal; font-size: 11px; color: var(--olive); margin-top: 3px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* Etsy Effect invite (peach band, like the opt-in page's second section) */
.invite { border-radius: 24px; overflow: hidden; padding: 30px 20px 26px; position: relative; background: var(--peach); text-align: center; color: var(--ink-2); }
.invite .kicker { color: var(--ink-2); }
.invite .ee-name { font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); }
.invite h3 { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: clamp(28px, 8vw, 40px); line-height: 1.12; margin-top: 10px; text-wrap: balance; }
.invite h3 em { font-style: italic; color: #8a4f14; }
.invite p { margin: 14px auto 0; max-width: 52ch; }
.invite .btn { margin-top: 22px; width: 100%; max-width: 360px; }
.invite .quote { background: rgba(255, 255, 255, .7); margin-top: 22px; text-align: left; }
.ee-makers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.ee-makers div { background: rgba(255, 255, 255, .7); border-radius: 14px; padding: 12px 8px; }
.ee-makers b { display: block; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.ee-makers span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; line-height: 1.3; }
.pillars { display: grid; gap: 8px; margin-top: 20px; }
.pillars div { background: rgba(255, 255, 255, .7); border-radius: 14px; padding: 12px 14px; }
.pillars b { display: block; letter-spacing: .14em; font-size: 12px; color: var(--olive); }
.pillars span { font-size: 15px; }

/* budget */
.budget { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 60px; padding: 5px; margin-bottom: 20px; }
.tab { min-height: 46px; border-radius: 60px; font-weight: 700; font-size: 14px; color: var(--ink-2); line-height: 1.15; padding: 4px; }
.tab[aria-selected="true"] { background: var(--olive); color: #fff; }
.panel-tag { font-family: var(--serif); font-style: italic; font-weight: 700; color: var(--amber); font-size: 21px; margin-bottom: 4px; text-align: center; }
.panel-tip { margin-top: 18px; background: var(--peach-soft); border-radius: 14px; padding: 13px 15px; font-size: 15px; color: var(--ink-2); }
.panel-tip b { color: var(--ink); }
.more-wrap { margin-top: 28px; }
.more-wrap .subhead { margin-top: 0; }

/* community */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 14px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.member { scroll-snap-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.member-prod { aspect-ratio: 4 / 3; background: var(--line-soft); }
.member-prod img { width: 100%; height: 100%; object-fit: cover; }
.member-body { padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.member-who { display: flex; gap: 10px; align-items: center; margin-top: -42px; }
.member-who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; background: var(--peach-soft); flex: none; }
.member-who div { padding-top: 26px; }
.member-who b { display: block; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.member-who span { display: block; font-size: 12.5px; color: var(--amber); }
.member q { display: block; font-style: italic; color: var(--ink-2); margin-top: 12px; font-size: 15.5px; line-height: 1.55; quotes: "\201C" "\201D"; }
.member-feat { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.member-feat b { color: var(--ink); }
.member-foot { padding-top: 14px; margin-top: auto; }
.member-foot .btn { width: 100%; }
.rail-hint { font-size: 12px; color: var(--muted); text-align: right; margin-top: -4px; }

/* about */
.about { display: grid; gap: 20px; }
.about .head { text-align: left; margin-bottom: 0; }
.about-photo { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--peach-soft); }
.about-body p { color: var(--ink-2); margin-top: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; text-align: center; padding: 14px 6px; }
.stat b { display: block; font-family: var(--serif); font-weight: 900; color: var(--amber); font-size: 26px; line-height: 1; }
.stat span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 6px; }
.about .btn { margin-top: 22px; width: 100%; }

/* thanks */
.thanks { text-align: center; padding: 60px 0 44px; background: var(--peach); }
.thanks .display { font-size: clamp(36px, 10vw, 58px); line-height: 1.08; margin-top: 10px; }
.thanks .display em { color: #8a4f14; }
.thanks .kicker { color: var(--ink-2); }
.thanks p { color: var(--ink-2); max-width: 46ch; margin: 14px auto 0; }
.thanks .sign { font-family: var(--serif); font-style: italic; font-weight: 700; color: #8a4f14; font-size: 20px; }
.thanks .quote { text-align: left; background: rgba(255, 255, 255, .85); }

/* footer (same links and look as the funnel pages) */
.foot { background: var(--paper); padding: 40px var(--gutter) calc(32px + env(safe-area-inset-bottom)); }
.foot-in { max-width: 1080px; margin: 0 auto; }
.foot-logo { width: 200px; }
.foot-links { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 4px; }
.foot-links a { color: var(--sage); text-decoration: none; text-transform: uppercase; font-size: 15px; letter-spacing: .02em; min-height: 32px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--olive); }
.foot-links li.gap { margin-top: 14px; }
.foot-social { display: flex; gap: 6px; margin-top: 22px; }
.foot-social a { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink-2); border-radius: 50%; }
.foot-social a:hover { background: var(--cream-2); }
.foot-social svg { width: 22px; height: 22px; fill: currentColor; }
.foot-note { font-size: 13px; color: var(--muted); margin-top: 22px; }
.foot-note a { color: var(--olive); font-weight: 700; }
.foot-copy { text-align: center; font-size: 14px; color: var(--ink); margin-top: 26px; }

/* ---------- flipbook ---------- */
#v-flipbook { background: #efe7df; height: calc(100vh - var(--bar-h)); height: calc(100dvh - var(--bar-h) - env(safe-area-inset-top)); display: flex; flex-direction: column; }
.fb-stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: 14px 10px 8px; overflow: hidden; position: relative; }
.fb-book { margin: 0 auto; }
.fb-page { background: var(--cream-2); position: relative; overflow: hidden; }
.fb-page img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.hot {
  position: absolute; display: block; border-radius: 6px; z-index: 2;
  background: rgba(188, 112, 34, 0); outline: 2px solid rgba(188, 112, 34, 0); transition: background-color .3s, outline-color .3s;
}
.fb-hints .hot { background: rgba(188, 112, 34, .18); outline-color: rgba(188, 112, 34, .85); }
.fb-bar {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  padding: 8px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 246, 242, .97); border-top: 1px solid var(--line);
}
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); flex: none; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:disabled { opacity: .35; }
.fb-count { font-size: 14px; font-weight: 700; color: var(--ink-2); min-width: 70px; text-align: center; font-variant-numeric: tabular-nums; }
.fb-shop { flex: 1; max-width: 220px; white-space: nowrap; }
.fb-shop:disabled { background: #d8cfc5; box-shadow: none; color: #fff; }
.fb-loading { color: var(--muted); font-size: 14px; }

/* thumbnails + sheet */
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thumb { display: block; text-align: center; font-size: 12px; color: var(--muted); }
.thumb img { width: 100%; aspect-ratio: 816 / 1056; object-fit: cover; border-radius: 6px; border: 2px solid transparent; box-shadow: var(--shadow); background: var(--line-soft); }
.thumb.is-current img { border-color: var(--olive); }
.sheet { position: fixed; inset: 0; z-index: 80; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(42, 33, 24, .45); animation: fade .2s ease; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; max-height: 86dvh; display: flex; flex-direction: column;
  background: var(--cream); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2);
  animation: up .28s cubic-bezier(.2, .8, .2, 1); padding-bottom: env(safe-area-inset-bottom);
}
.sheet-grip { width: 42px; height: 5px; background: var(--line); border-radius: 3px; margin: 8px auto 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px var(--gutter) 10px; }
.sheet-title { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 26px; line-height: 1.1; }
.sheet-body { overflow-y: auto; padding: 4px var(--gutter) 24px; overscroll-behavior: contain; }
.sheet-list { display: grid; gap: 10px; }
.row { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.row img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; flex: none; background: var(--line-soft); }
.row-main { flex: 1; min-width: 0; }
.row-main b { display: block; font-family: var(--serif); font-size: 16px; line-height: 1.25; color: var(--ink); }
.row-main span { display: block; font-size: 12.5px; color: var(--amber); margin-top: 2px; }
.row-main .price { display: inline-block; margin-top: 5px; color: var(--ink); font-size: 14px; }
.row .btn { flex: none; }
.row .heart { position: static; box-shadow: none; border: 1px solid var(--line); flex: none; }
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }

/* my list */
.list-empty { text-align: center; padding: 40px 0; color: var(--ink-2); }
.list-empty svg { width: 48px; height: 48px; margin: 0 auto 12px; fill: none; stroke: var(--amber); stroke-width: 1.6; }
.list-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90;
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; padding: 12px 18px; border-radius: 999px;
  transition: opacity .25s, transform .25s; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .card-body { padding: 14px; }
  .rail { grid-auto-columns: 46%; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .thumbs { grid-template-columns: repeat(5, 1fr); }
  .sheet-panel { left: 50%; right: auto; width: 560px; transform: translateX(-50%); bottom: 24px; border-radius: 22px; animation: fade .2s ease; }
  .about { grid-template-columns: 1fr 1fr; align-items: center; }
  .invite { padding: 44px 40px 38px; }
  .letter { padding: 34px; }
  .cover { padding: 64px 0 60px; }
  .foot-links { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 40px; }
  .foot-links li.gap { margin-top: 0; }
}
@media (min-width: 960px) {
  .tiles { grid-template-columns: repeat(6, 1fr); }
  .rail { grid-auto-columns: calc((100% - 36px) / 4); }
  .sec-hero { aspect-ratio: 21 / 8; }
  .cover-ctas { grid-template-columns: 1fr 1fr; max-width: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
