/* NattInvites — clean product-page style
   Layout: one centered column (max 1120px); white and soft-grey bands alternate,
   headlines centered and short, product imagery large in rounded frames. */

/* Serif is kept for the wordmark only. */
@font-face {
  font-family: "Natt Serif";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/cormorantgaramond/v21/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtK.woff2) format("woff2");
  unicode-range: U+0020-007E;
}

:root {
  --bg: #ffffff;
  --alt: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #3c2b23;
  --accent-hover: #5a4236;
  --link: #8a5532;
  --dark: #1d1612;
  --on-dark: #f5f5f7;
  --on-dark-muted: rgba(245, 245, 247, 0.68);
  --hero-frame: #2e211a;

  --font: "IBM Plex Sans Thai", system-ui, -apple-system, sans-serif;
  --font-mark: "Natt Serif", Georgia, serif;
  /* One face, three weights: text 400, UI 500, headlines 600. */
  --w-text: 400;
  --w-ui: 500;
  --w-head: 600;

  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1120px;
  --r-lg: 28px;
  --r-md: 20px;
  --header-h: 52px;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: var(--w-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: var(--w-head); }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: var(--w-head); line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.8vw, 3.4rem); letter-spacing: -0.005em; }
h3 { font-size: 1.4rem; }

:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 8px; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
.wrap.narrow { max-width: calc(760px + var(--gutter) * 2); }
.kicker { font-size: 1rem; font-weight: var(--w-ui); color: var(--link); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  min-height: 44px; padding: 0.55em 1.35em;
  border: 1px solid var(--accent); border-radius: 980px;
  background: var(--accent); color: #fff;
  font-size: 1rem; font-weight: var(--w-ui); line-height: 1.2; cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn-outline { background: transparent; color: var(--accent); }
.btn-light { background: var(--on-dark); border-color: var(--on-dark); color: var(--dark); }
.btn-sm { min-height: 36px; padding: 0.4em 1.05em; font-size: 0.9rem; }
.btn-lg { min-height: 52px; font-size: 1.05rem; }
.btn-block { width: 100%; }
@media (hover: hover) {
  .btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
  .btn-outline:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
  .btn-light:hover { background: #fff; border-color: #fff; }
}

/* position: relative keeps visually hidden labels inside the link, so they
   never stretch the page from inside a sideways-scrolling carousel. */
.link, .btn { position: relative; }
.link {
  display: inline-flex; align-items: center; gap: 0.35em;
  color: var(--link); font-weight: var(--w-ui);
}
.link::after {
  content: ""; width: 0.4em; height: 0.4em; margin-top: 0.05em;
  border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor;
  transform: rotate(45deg); transition: transform 0.2s var(--ease);
}
@media (hover: hover) {
  .link:hover { text-decoration: underline; text-underline-offset: 3px; }
  .link:hover::after { transform: translateX(2px) rotate(45deg); }
}
.link-light { color: var(--on-dark); }

.pill {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0.3em 1em;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  font-size: 0.85rem; cursor: pointer;
}

.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: rgba(0, 0, 0, 0.08); }
.header-inner {
  display: flex; align-items: center; gap: 24px;
  max-width: calc(var(--wrap) + var(--gutter) * 2); height: var(--header-h);
  margin-inline: auto; padding-inline: var(--gutter);
}
.wordmark {
  display: inline-flex; flex-direction: column;
  font-family: var(--font-mark); font-size: 1.02rem; line-height: 0.9; letter-spacing: 0.12em;
}
.wordmark span { padding-left: 0.6em; }
.desktop-nav { display: flex; gap: 30px; margin-inline: auto; font-size: 0.86rem; }
.desktop-nav a { opacity: 0.82; transition: opacity 0.2s; }
.desktop-nav a:hover { opacity: 1; }
.header-cta {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0.2em 0.95em;
  border-radius: 980px; background: var(--accent); color: #fff;
  font-size: 0.82rem; font-weight: var(--w-ui);
}
.menu-toggle {
  display: none; position: relative; width: 40px; height: 40px; padding: 0;
  border: 0; background: transparent; cursor: pointer;
}
.menu-toggle span:not(.sr-only) {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.menu-toggle span:nth-of-type(2) { top: 16px; }
.menu-toggle span:nth-of-type(3) { top: 23px; }
.menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: grid; padding: 8px var(--gutter) 24px; background: var(--bg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--alt); font-size: 1.3rem; font-weight: var(--w-head); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 8vw, 96px); text-align: center; }
.hero-text { display: grid; justify-items: center; gap: 16px; padding-inline: var(--gutter); }
.hero-sub { max-width: 34ch; font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--muted); }
.hero-price { font-size: 1.05rem; font-weight: var(--w-ui); }
.hero .cta-row { margin-top: 8px; }
.hero-media {
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: clamp(40px, 6vw, 64px) auto 0; padding-inline: var(--gutter);
}
.hero-media img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: contain;
  border-radius: var(--r-lg); background: var(--hero-frame);
}

/* ---------- Highlights ---------- */
.highlights { padding-block: clamp(48px, 7vw, 80px); }
.highlight-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; text-align: center; }
.highlight-list li { display: grid; justify-items: center; gap: 4px; }
.highlight-list .icon { width: 32px; height: 32px; margin-bottom: 8px; color: var(--link); }
.highlight-list b { font-size: 1.05rem; }
.highlight-list span { font-size: 0.9rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 11vw, 140px); }
.section-alt { background: var(--alt); }
.head { display: grid; justify-items: center; gap: 14px; margin-bottom: clamp(40px, 6vw, 64px); text-align: center; }
.head p { max-width: 40ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); }

/* ---------- Collection tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); background: var(--alt); text-align: center;
}
.tile-text { display: grid; justify-items: center; gap: 6px; padding: 40px 24px 28px; }
.tile-flag { font-size: 0.82rem; font-weight: var(--w-ui); color: var(--link); }
.tile h3 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); letter-spacing: 0.02em; }
.tile-text > p:not(.tile-flag):not(.tile-price) { color: var(--ink); }
.tile-price { font-size: 0.88rem; color: var(--muted); }
/* NOIR: corner ribbon */
.tile { position: relative; }
.ribbon {
  position: absolute; top: 26px; right: -46px; z-index: 1; width: 190px;
  padding: 6px 0; background: var(--accent); color: #fff; text-align: center;
  font-size: 0.8rem; font-weight: var(--w-ui); transform: rotate(45deg);
  box-shadow: 0 3px 8px -2px rgba(60, 43, 35, 0.45);
}
.tile-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; margin-top: 14px; }
.tile-media { display: block; margin: auto 20px 20px; overflow: hidden; border-radius: var(--r-md); background: #ddd7d3; }
.tile-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.8s var(--ease); }
@media (hover: hover) { .tile:hover .tile-media img { transform: scale(1.04); } }
.carousel-dots { display: none; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bento-card {
  display: grid; align-content: start; gap: 8px;
  padding: 28px; border-radius: var(--r-lg); background: var(--bg);
}
.bento-card .icon { width: 34px; height: 34px; margin-bottom: 14px; color: var(--link); }
.bento-card h3 { font-size: 1.25rem; }
.bento-card p { color: var(--muted); font-size: 0.95rem; }
.bento-wide { grid-column: span 2; }
.bento-qr { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.bento-qr > div { display: grid; gap: 8px; }
.bento-qr .qr-art {
  width: 108px; height: 108px; padding: 0; color: var(--ink);
  border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line);
}
.bento-rsvp {
  grid-column: span 2; grid-row: span 2;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: end; gap: 20px;
  padding: 36px 0 0 36px; overflow: hidden;
  background: var(--dark); color: var(--on-dark);
}
.bento-rsvp > div { display: grid; gap: 10px; align-self: center; padding-bottom: 36px; }
.bento-rsvp h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.bento-rsvp p { color: var(--on-dark-muted); font-size: 1rem; }
.bento-rsvp .bento-kicker { color: #d9a77f; font-weight: var(--w-ui); font-size: 0.9rem; }
.bento-rsvp img { width: 100%; border-radius: var(--r-md) 0 0 0; }

/* ---------- Real work ---------- */
/* A sideways shelf the visitor moves themselves: it starts on the column's
   left edge and runs off the right of the screen to hint there is more. */
.shelf {
  --shelf-edge: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--shelf-edge);
  scrollbar-width: none;
}
.shelf::-webkit-scrollbar { display: none; }
.shelf:focus-visible { outline: 2px solid var(--link); outline-offset: -2px; }
.shelf-track {
  display: flex; gap: 20px; width: max-content;
  margin: 0; padding: 0 var(--shelf-edge); list-style: none;
}
.shelf-card { display: grid; gap: 16px; width: clamp(260px, 29vw, 340px); scroll-snap-align: start; }
.shelf-media {
  display: block; padding: 0; border: 0; border-radius: var(--r-lg);
  overflow: hidden; background: var(--alt); cursor: zoom-in;
}
.shelf-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.6s var(--ease); }
@media (hover: hover) { .shelf-media:hover img { transform: scale(1.03); } }
.shelf-cap { display: grid; gap: 2px; padding-inline: 4px; font-size: 1.05rem; font-weight: var(--w-head); line-height: 1.4; }
.shelf-more { justify-self: start; padding: 0; border: 0; background: none; font: inherit; font-size: 0.95rem; cursor: zoom-in; }
.shelf-cap span { font-size: 0.8rem; font-weight: var(--w-ui); color: var(--muted); letter-spacing: 0.04em; }

.shelf-nav { display: flex; justify-content: flex-end; gap: 14px; margin-top: 28px; }
.shelf-nav[hidden] { display: none; }
.shelf-btn {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(210, 210, 215, 0.6); color: var(--ink);
  cursor: pointer; transition: background-color 0.2s, opacity 0.2s;
}
.shelf-btn::before {
  content: ""; width: 9px; height: 9px; margin-right: 4px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg);
}
.shelf-prev::before { margin: 0 0 0 4px; transform: rotate(-135deg); }
.shelf-btn:disabled { opacity: 0.36; cursor: default; }
@media (hover: hover) { .shelf-btn:not(:disabled):hover { background: rgba(210, 210, 215, 0.9); } }
/* Touch screens swipe the shelf directly, so the arrows are left out there. */
@media (hover: none) { .shelf-nav { display: none; } }

/* Customer messages, set as chat bubbles; each card links to its screenshot. */
.voices { margin-top: clamp(72px, 10vw, 120px); }
.voices-head { display: grid; justify-items: center; gap: 10px; margin-bottom: clamp(28px, 4vw, 40px); text-align: center; }
.voices-head h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.voices-head p { color: var(--muted); }
.voice-feature {
  display: grid; justify-items: center; gap: 20px; margin: 0 auto 20px; padding: clamp(36px, 6vw, 64px) clamp(24px, 6vw, 80px);
  border-radius: var(--r-lg); background: var(--alt); text-align: center;
}
.voice-feature blockquote { max-width: 760px; margin: 0; }
.voice-feature blockquote p { font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: var(--w-head); line-height: 1.45; }
.voice-feature blockquote p::before { content: "“"; }
.voice-feature blockquote p::after { content: "”"; }
.voice-feature figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; color: var(--muted); font-size: 0.9rem; }
.voice-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.voice-list > .voice:last-child:nth-child(3n+1) { grid-column: 2; }
.voice {
  display: grid; grid-template-rows: auto 1fr auto; gap: 20px;
  padding: 28px; border-radius: var(--r-lg); background: var(--alt);
}
.voice-label { font-size: 0.85rem; font-weight: var(--w-ui); color: var(--muted); }
.chat { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 8px; }
.bubble {
  max-width: 88%; padding: 10px 15px; border-radius: 20px 20px 20px 6px;
  background: var(--bg); font-size: 0.95rem; line-height: 1.5;
}
.bubble-shop { align-self: flex-end; border-radius: 20px 20px 6px 20px; background: var(--accent); color: #fff; }
.bubble-key { font-size: 1.15rem; font-weight: var(--w-ui); }
.voice-proof { justify-self: start; padding: 0; border: 0; background: none; font: inherit; font-size: 0.9rem; cursor: zoom-in; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 920px; margin-inline: auto; }
.plan {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 44px 32px 32px; border-radius: var(--r-lg); background: var(--bg);
  border: 1.5px solid transparent;
}
.plan-featured { border-color: var(--accent); }
.plan-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 0.8rem; font-weight: var(--w-ui); white-space: nowrap;
}
.plan h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.plan-pitch { margin-top: 6px; color: var(--muted); }
.plan-price { margin-top: 22px; font-size: 2rem; font-weight: var(--w-head); line-height: 1.2; }
.plan-note { min-height: 3.2em; margin: 6px 0 20px; font-size: 0.85rem; color: var(--muted); max-width: 30ch; }
.plan-rows { width: 100%; margin-top: 28px; text-align: left; }
.plan-rows div { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.plan-rows dt { font-size: 0.8rem; color: var(--muted); }
.plan-rows dd { font-size: 0.98rem; }
.plan-rows .is-yes { color: var(--link); font-weight: var(--w-ui); }
.plan-rows .is-no { color: var(--muted); }
.plans + .narrow { margin: 40px auto 0; }

/* ---------- Accordion ---------- */
.accordion { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: var(--w-ui);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform 0.3s var(--ease);
}
.accordion[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.accordion-body { display: grid; gap: 10px; padding-bottom: 24px; color: var(--muted); }
.accordion-body b { color: var(--ink); font-weight: var(--w-ui); }
.accordion-body a { color: var(--link); }
.faq-list .accordion:first-child, .narrow > .accordion:first-child { border-top: 1px solid var(--line); }

/* ---------- Steps & order ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; margin-bottom: clamp(48px, 6vw, 72px); }
.steps li { display: grid; gap: 4px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); font-size: 2rem; font-weight: var(--w-head); line-height: 1.2; color: var(--link); }
.steps b { font-size: 1.1rem; }
.steps span { color: var(--muted); font-size: 0.95rem; }

.order-card { display: grid; gap: 22px; max-width: 640px; margin-inline: auto; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--alt); }
.order-card h3 { font-size: 1.6rem; text-align: center; }
.order-hint { margin-top: -14px; text-align: center; color: var(--muted); font-size: 0.95rem; }
.order-card fieldset { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.order-card legend { margin-bottom: 10px; padding: 0; font-weight: var(--w-ui); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: grid; align-content: center; min-height: 44px; padding: 8px 18px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 0.92rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.choice-tall span { border-radius: 16px; padding: 14px 18px; color: var(--muted); }
.choice-tall b { color: var(--ink); font-weight: var(--w-ui); }
.choice input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: var(--w-ui); }
.field label span { font-weight: var(--w-text); color: var(--muted); }
.field input {
  min-height: 48px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: 16px;
}
.order-summary { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--bg); }
.order-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: var(--w-ui); }
.order-price { white-space: nowrap; }
.order-price strong { font-size: 1.5rem; }
.order-note { font-size: 0.85rem; color: var(--muted); }
.order-copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.82rem; color: var(--muted); }
.order-copy b { color: var(--ink); font-weight: var(--w-ui); }

/* ---------- Final + custom ---------- */
.final-inner { display: grid; justify-items: center; gap: 14px; text-align: center; }
.final-sub { max-width: 36ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); }
.final-inner .cta-row { margin-top: 10px; }
.custom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  max-width: 920px; margin: clamp(64px, 8vw, 96px) auto 0; padding: 32px 36px;
  border-radius: var(--r-lg); background: var(--alt);
}
.custom > div { display: grid; gap: 6px; max-width: 54ch; }
.custom h3 { font-size: 1.3rem; }
.custom p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--alt); padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 0.82rem; color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.footer-top .wordmark { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; }

/* ---------- Buy bar, lightbox, reveal ---------- */
.buy-bar { display: none; }
.lightbox { width: min(92vw, 720px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-md); background: var(--dark); overflow: hidden; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.78); }
.lightbox img { width: 100%; max-height: 92vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 10px; right: 10px; z-index: 1; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-pending { opacity: 0; transform: translateY(28px); }

/* ---------- Collection pages ---------- */

.product-bar {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 40;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.product-bar .wrap { display: flex; align-items: center; gap: 24px; height: 52px; }
.product-bar strong { font-size: 1.15rem; margin-right: auto; }
.product-bar nav { display: flex; gap: 24px; font-size: 0.85rem; color: var(--muted); }
.product-bar nav a:hover { color: var(--ink); }
.col-page { scroll-padding-top: calc(var(--header-h) + 68px); }
html:has(.col-page) { scroll-padding-top: calc(var(--header-h) + 68px); }

/* Product hero: white like an Apple product page; the laptop+phone shot (white
   background) sits flush with no frame. Theme colour lives in the kicker. */
.col-noir { --col-accent: #7a5440; }
.col-swan { --col-accent: #55603f; }
.col-romance { --col-accent: #8a4a3e; }
.col-hero { padding-block: clamp(48px, 7vw, 88px) clamp(24px, 4vw, 48px); background: var(--bg); text-align: center; overflow: hidden; }
.col-hero .hero-text { gap: 14px; }
.col-hero .kicker { color: var(--col-accent); }
.col-hero h1 { font-size: clamp(3rem, 9vw, 6.5rem); letter-spacing: 0.02em; }
.col-hero .hero-media { margin-top: clamp(28px, 4vw, 48px); }
.col-hero .hero-media img {
  width: 100%; aspect-ratio: auto; object-fit: initial; border-radius: 0; background: none;
  animation: hero-in 1.2s var(--ease) both;
}
@keyframes hero-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
/* As the page scrolls, the product grows a little, like Apple's hero shots. */
@supports (animation-timeline: scroll()) {
  .col-hero-media {
    transform-origin: 50% 30%;
    animation: hero-grow linear both;
    animation-timeline: scroll(root);
    animation-range: 0 75vh;
  }
  @keyframes hero-grow { to { transform: scale(1.12); } }
}

.specs { padding-block: clamp(36px, 5vw, 56px); }
.specs ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: center; }
.specs li { display: grid; gap: 2px; }
.specs b { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.2; }
.specs span { color: var(--muted); font-size: 0.92rem; }

.set-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
/* Product viewer: cut-out items float on the section background and slide
   left/right; item 01 sits in a drawn phone frame. */
.viewer { position: sticky; top: calc(var(--header-h) + 72px); display: grid; gap: 18px; }
.viewer-stage { position: relative; aspect-ratio: 5 / 4; overflow: hidden; touch-action: pan-y; outline: none; }
.viewer-stage:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: var(--r-lg); }
.slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; pointer-events: none;
  transform: translateX(calc(var(--d, 1) * 58%)) scale(0.9);
  transition: transform 0.75s var(--ease), opacity 0.55s var(--ease);
}
.slide.is-active { opacity: 1; pointer-events: auto; transform: none; }
.slide-img {
  position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain;
}
.viewer-cap { display: none; justify-content: center; align-items: baseline; gap: 10px; margin: 0; text-align: center; }
.viewer-cap span { font-size: 0.85rem; font-weight: var(--w-ui); color: var(--link); font-variant-numeric: tabular-nums; }
.viewer-cap b { font-size: 1.02rem; font-weight: var(--w-head); }
.viewer-dots { display: flex; justify-content: center; gap: 7px; }
.viewer-dots span { width: 7px; height: 7px; border-radius: 4px; background: var(--line); transition: width 0.3s var(--ease), background-color 0.3s; }
.viewer-dots span.is-active { width: 22px; background: var(--ink); }
.set-list { display: grid; gap: 8px; }
.col-page #included .set-item { background: var(--alt); }
.col-page #included .set-main { background: var(--bg); }
.set-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start;
  width: 100%; padding: 16px 18px; border: 1.5px solid transparent; border-radius: var(--r-md);
  background: var(--bg); text-align: left; cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.set-item.is-active { border-color: var(--accent); }
@media (hover: hover) { .set-item:not(.is-active):hover { border-color: var(--line); } }
.set-num { font-weight: var(--w-head); color: var(--link); line-height: 1.5; font-variant-numeric: tabular-nums; }
.set-text { display: grid; gap: 2px; }
.set-text strong { font-weight: var(--w-ui); }
.set-text small { font-size: 0.85rem; line-height: 1.5; color: var(--muted); }
.set-main { padding: 1px 10px; border-radius: 999px; background: var(--alt); font-size: 0.75rem; font-weight: var(--w-ui); white-space: nowrap; color: var(--muted); }

.demo-links {
  display: grid; justify-items: center; gap: 10px; text-align: center;
  margin-top: clamp(48px, 6vw, 72px); padding: clamp(28px, 4vw, 40px) 24px;
  border-radius: var(--r-lg); background: var(--alt);
}
.demo-links h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.demo-links p { max-width: 44ch; color: var(--muted); }
.demo-links .cta-row { margin-top: 8px; gap: 12px; }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(56px, 7vw, 88px); text-align: center; }
.benefits li { display: grid; gap: 6px; }
.benefits b { font-size: 1.15rem; }
.benefits span { color: var(--muted); font-size: 0.95rem; }

.tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; margin-inline: auto; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: block; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-rsvp { grid-row: auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .set-layout { grid-template-columns: minmax(0, 1fr); }
  .viewer { position: relative; top: auto; }
  .viewer-cap { display: flex; }
  .voice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .voice-list > .voice:last-child:nth-child(3n+1) { grid-column: auto; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-inner { gap: 12px; }
  .hero-media img { aspect-ratio: 4 / 5; }
  .highlight-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }

  .tiles {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 86%; scroll-snap-align: start; }
  .tiles-2 .tile { flex-basis: 86%; }
  .carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
  .carousel-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: width 0.25s, background-color 0.25s; }
  .carousel-dots span.is-active { width: 22px; border-radius: 4px; background: var(--ink); }

  .bento { gap: 12px; }
  .bento-card { padding: 22px; border-radius: var(--r-md); }
  .bento-card .icon { margin-bottom: 8px; }
  .bento-card h3 { font-size: 1.1rem; }
  .bento-rsvp { grid-template-columns: minmax(0, 1fr); padding: 28px 28px 0; gap: 0; }
  .bento-rsvp > div { padding-bottom: 24px; }
  .bento-rsvp img { border-radius: var(--r-md) var(--r-md) 0 0; max-height: 360px; object-fit: cover; object-position: top; }
  .bento-qr { gap: 16px; }
  .bento-qr .qr-art { width: 84px; height: 84px; }

  .shelf-track { gap: 14px; }
  .shelf-card { width: 78vw; gap: 12px; }
  .shelf-media { border-radius: var(--r-md); }
  .voice-feature { border-radius: var(--r-md); }
  .voice-list {
    display: flex; gap: 12px; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .voice-list::-webkit-scrollbar { display: none; }
  .voice { flex: 0 0 82%; padding: 22px; border-radius: var(--r-md); scroll-snap-align: start; }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .plan-featured { order: -1; }
  .plan-note { min-height: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; padding-block: 16px; }
  .steps li::before { grid-row: span 2; font-size: 1.6rem; }
  .choice-row-2 { grid-template-columns: minmax(0, 1fr); }
  .custom { padding: 26px 24px; }
  .footer-bottom { flex-direction: column; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

  .product-bar nav { display: none; }
  .specs ul { gap: 12px; }
  .specs b { font-size: 1.25rem; }
  .specs span { font-size: 0.78rem; }
  .viewer-stage { aspect-ratio: 1 / 1; }
  .slide-img { inset: 3%; width: 94%; height: 94%; }
  .set-main { grid-column: 2; justify-self: start; }
  .benefits { grid-template-columns: minmax(0, 1fr); gap: 24px; }

  .buy-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    transform: translateY(110%); transition: transform 0.35s var(--ease);
  }
  .buy-bar.is-visible { transform: none; }
  .buy-bar p { display: grid; line-height: 1.25; }
  .buy-bar p span { font-size: 0.75rem; color: var(--muted); }
  .buy-bar strong { font-size: 1.1rem; }
  .buy-bar .btn { min-width: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .col-hero .hero-media img, .col-hero-media { animation: none !important; transform: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
