/* ===========================================================
   Pack Portrait (class-project recreation) — shared design system
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Archivo:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=IBM+Plex+Mono:wght@400;600&display=swap');

:root {
  --cream: #fff8e9;
  --cream-2: #f5efdf;
  --surface: #f5efdf;
  --ink: #29231c;
  --ink-soft: #6b6256;
  --accent: #e7f36b;
  --accent-dark: #d3e04f;
  --white: #ffffff;
  --line: rgba(41, 35, 28, 0.12);
  --line-soft: #e3dac9;
  --line-strong: #a99f8d;
  --muted: #6b6256;
  --citron: #e7f36b;
  --surface-raised: #fffefa;
  --lavender: #e5dff5;
  --radius-lg: 12px;
  --radius-md: 6px;
  --radius-btn: 8px;
  --radius-pill: 999px;
  --shadow-card: 0 18px 40px rgba(41, 35, 28, 0.08);
  --max: 1280px;
  --cta-height: 56px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.display {
  font-family: 'Anton', Impact, sans-serif;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-transform: none;
  margin: 0;
}
.display em {
  font-family: 'Instrument Serif', Georgia, serif;
  letter-spacing: -0.035em;
  font-weight: 400;
  font-style: normal;
}

/* ---------- looks.html headline (page-specific .display sizing) ---------- */
.looks-headline {
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.02;
  margin: 12px 0;
}
@media (max-width: 899px) {
  .looks-headline {
    font-size: 34px;
    margin: 8px 0 12px;
  }
}

.accent-script {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: 4px 5px 0 var(--ink);
  font-weight: 700;
  min-height: var(--cta-height);
}
.cta:hover:not(:disabled), .btn-primary:hover:not(:disabled) { background: #edfa7a; box-shadow: 5px 6px 0 var(--ink); transform: translate(-1px, -1px); }
.cta:active:not(:disabled), .btn-primary:active:not(:disabled) { box-shadow: 1px 2px 0 var(--ink); transform: translate(3px, 3px); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-ghost {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: none;
  font-family: 'IBM Plex Mono', monospace;
}
.btn-ghost.active { background: var(--citron); }
.btn-sm { padding: 10px 18px; font-size: 13px; min-height: 40px; }
.btn-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- text-link with trailing arrow icon (keepsakes.html) ---------- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  text-underline-offset: 4px;
}

/* ---------- primary CTA button w/ sticker border + hard shadow (keepsakes.html hero + final CTA) ---------- */
.cta {
  border: 1.5px solid var(--ink);
  box-shadow: 4px 5px 0 var(--ink);
}
.cta:disabled {
  color: #7b7267;
  background: #ece8d9;
  border-color: #aaa191;
  box-shadow: 3px 4px #c9c1b3;
  cursor: not-allowed;
}
.cta:disabled:hover { transform: none; }

/* ---------- nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-size: 18px;
  object-fit: cover;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 15px;
}
.nav-links a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { border-color: var(--ink); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang-toggle {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
  box-shadow: var(--shadow-card);
}
.lang-toggle button {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.lang-toggle button.active { background: var(--accent); }
.nav-find { font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .nav-right .btn-primary { display: none; }
}

@media (max-width: 920px) {
  .nav-links, .nav-find, .lang-toggle { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
}

/* ---------- hero ---------- */
.hero {
  padding: 60px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 860px) {
  #home-hero .hero-grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 46px;
  }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 { font-size: clamp(40px, 6vw, 68px); }
.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 20px 0 28px;
}
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--ink-soft); }

/* ---------- legal.html / privacy.html long-form content ---------- */
.legal-content { margin-top: 8px; }
.legal-content .legal-updated { font-size: 13px; color: var(--ink-soft); margin: 10px 0 32px; }
.legal-content h2 { font-size: 20px; margin: 36px 0 12px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { color: var(--ink-soft); margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
.legal-content ul { color: var(--ink-soft); margin: 0 0 14px; padding-left: 20px; font-size: 15px; line-height: 1.6; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--ink); }
.legal-content a { text-decoration: underline; }

/* ---------- gift.html hero overrides (scoped so index/keepsakes/find hero
   lead paragraph + reassurance styling are untouched) ---------- */
.hero-gift p.lead {
  font-size: 16px;
  color: var(--muted);
  max-width: none;
  margin: 22px 0 0;
  line-height: 1.65;
}
@media (max-width: 650px) {
  .hero-gift p.lead { margin-top: 16px; font-size: 14px; }
}
.hero-gift .reassurance {
  font-size: 14px;
  margin: 0 0 18px;
  color: var(--muted);
}
.hero-gift .reassurance strong { color: var(--ink); font-weight: 600; }
@media (max-width: 650px) {
  .hero-gift .reassurance { font-size: 12px; }
}

.photo-stage {
  position: relative;
}

/* ---------- polaroid hero photos ---------- */
.hero-polaroids {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
}
.polaroid-eyebrow {
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.polaroid-stack { display: flex; flex-direction: column; }
.polaroid {
  display: inline-block;
  background: #fffdf7;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 7px 7px 0;
  box-shadow: 1px 3px 8px rgba(41, 35, 28, 0.09);
}
.polaroid img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.polaroid figcaption {
  text-align: center;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 9px 0 11px;
  color: var(--ink);
}
.polaroid-small { width: 150px; }
.polaroid-small.tilt-a { transform: rotate(-3deg); }
.polaroid-small.tilt-b { transform: rotate(-3deg); margin-top: 20px; }
.hero-arrow { color: var(--ink); align-self: center; margin-top: 30px; }
.hero-arrow svg { display: block; width: 32px; height: 32px; }
@media (min-width: 860px) {
  .hero-arrow svg { transform: rotate(-65deg); }
}
.polaroid-big { width: 320px; position: relative; transform: rotate(2deg); box-shadow: 2px 5px 12px rgba(41,35,28,0.11); }
.polaroid-big figcaption {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  padding: 14px 0 16px;
}
.polaroid-tape {
  position: absolute;
  top: -10px;
  right: 22px;
  width: 65px;
  height: 23px;
  background: #d9ccecde;
  transform: rotate(8deg);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  z-index: 1;
}
@media (max-width: 860px) {
  .hero-polaroids { flex-wrap: wrap; }
  .polaroid-big { width: 260px; }
  .polaroid-tape { width: 45px; height: 17px; top: -7px; right: 12px; }
}

/* ---------- gift illustration ---------- */
.gift-art { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gift-art-caption {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 2;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.gift-parcel { position: relative; padding-top: 50px; }
.gift-bow { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 90px; height: 90px; z-index: 2; }
.gift-ribbon-v {
  position: absolute; top: 46px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 18px; background: var(--accent); border: 2px solid #a4b137;
}
.gift-ribbon-h { display: none; }
.gift-sparkle {
  position: absolute;
  width: 28px;
  height: 28px;
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
}
.gift-sparkle.light { background: #fffdf7; top: -6px; left: -18px; width: 36px; height: 36px; }
.gift-sparkle.dark { background: var(--ink); bottom: 8px; right: -14px; width: 20px; height: 20px; }
.photo-card {
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  box-shadow: 8px 10px 0 0 var(--ink);
  aspect-ratio: 4/5;
  position: relative;
  background: #eee6d5;
}
.photo-card .badge {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fffdf7f2;
  border: 1px solid var(--ink);
  box-shadow: 2px 3px 0 var(--ink);
  border-radius: 30px;
  padding: 7px 12px 7px 9px;
  font-size: 13px;
  font-weight: 650;
}
.photo-card .badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--ink);
  flex-shrink: 0;
}

/* ---------- static sample photo: fills a .thumb/.photo-card/.polaroid the
   same way .upload-slot .default-img does, but with no upload affordance at
   all -- used for catalog/collection/product example photos, since the real
   site only lets you attach your own photo during the actual look-picker
   flow (see #look-grid), not while browsing samples ---------- */
.fill-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- upload placeholder ---------- */
.upload-slot {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed var(--line);
  border-radius: inherit;
  background: var(--cream-2);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.upload-slot:hover { border-color: var(--ink); color: var(--ink); }
.upload-slot input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}
.upload-slot img.preview,
.upload-slot img.default-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.upload-slot img.preview { z-index: 2; }
.upload-slot .upload-icon { font-size: 26px; }

/* slot with a photo in it: no dashed placeholder chrome */
.upload-slot.has-image {
  border: none;
  background: none;
}
.upload-slot.has-image .upload-icon,
.upload-slot.has-image .upload-label {
  display: none;
}

/* iPhone (HEIC) photo being converted for preview, or a format the browser
   genuinely can't render — shown instead of a blank/broken box. */
.upload-slot.slot-converting::after,
.upload-slot.preview-fallback::after {
  content: 'Converting photo…';
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  background: var(--cream-2);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}
.upload-slot.preview-fallback::after { content: '✓ Photo added'; color: var(--ink); }

/* ---------- upload-slot photo validation (Gemini face/pet check) ---------- */
.upload-slot.slot-error { outline: 2px solid #c0392b; outline-offset: 2px; border-radius: 10px; }
.upload-slot.slot-success { outline: 2px solid var(--accent, #2f8f5b); outline-offset: 2px; border-radius: 10px; }
.slot-note { margin-top: 10px; font-size: 13px; line-height: 1.5; }
.slot-note p { margin: 0 0 6px; color: var(--ink-soft); }
.slot-note-success p strong { color: var(--ink); }
.slot-note-error .slot-note-heading { color: #c0392b; font-weight: 700; margin-bottom: 4px; }
.slot-note-error .btn { margin: 6px 0; display: inline-flex; }
.slot-note-footnote { font-size: 12px; color: var(--muted); margin: 4px 0 !important; }
.slot-note [data-replace-photo] {
  background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
  color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; font-size: 12px;
}

/* ---------- section helpers ---------- */
section { padding: 72px 0; }
/* ---------- gift.html funnel: tighter section rhythm (no section-level padding,
   spacing comes from each inner element's own margin, matching the real /gift page) ---------- */
section.gift-tight { padding: 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4.5vw, 48px); }
.section-head p { color: var(--ink-soft); font-size: 17px; margin-top: 14px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- results status line (looks.html, above the catalog grid) ---------- */
.results-status {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

/* ---------- cards / grid ---------- */
#looks { background: var(--surface); }
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 899px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
}
/* .grid-2 is gift.html-only; the real gift page collapses it at 650px (not 600px) with a tighter gap */
@media (max-width: 650px) {
  .grid-2 { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- looks catalog grid (looks.html — never more than 3 columns) ---------- */
.grid-looks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
}
@media (min-width: 1200px) {
  .grid-looks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}
/* #look-grid is a <ul> (each look is a single clickable <button class="card">
   inside an <li>, no separate upload control) — reset list chrome */
#look-grid { list-style: none; margin: 0; padding: 0; }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
/* homepage "Find your kind of portrait" cards use the real site's 4px image
   radius; scoped to #looks so keepsakes.html / looks.html cards (6-7px) are untouched */
#looks .card { border-radius: 4px; }
.card .thumb { aspect-ratio: 4/5; position: relative; }
.card .body { padding: 16px; }
.card .body h3 { font-size: 16px; margin: 0 0 4px; }
.card .body p { font-size: 13px; color: var(--ink-soft); margin: 0; }
.card .tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 5;
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  background: #fff0b8;
  border: 0;
  border-radius: 6px;
  padding: 4px 6px;
  box-shadow: 0 1px 4px rgba(41,35,28,.08);
}

/* ---------- looks catalog card overrides (looks.html only — #look-grid scoped
   so the shared .card/.tag styling used on index.html and keepsakes.html is untouched) ----------
   each card is a single clickable <button class="card">, so it needs its own
   reset (text-align/background/border/font) on top of the shared .card look */
#look-grid .card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-align: left;
  font: inherit;
  border: 1px solid var(--line);
  background: #fffdf5;
  border-radius: 7px;
  box-shadow: none;
  padding: 5px 5px 12px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
#look-grid .card:hover {
  transform: translateY(-3px);
  box-shadow: 3px 4px 0 #29231c25;
}
#look-grid .card:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 2px;
}
#look-grid .card.selected {
  border-color: var(--ink);
  background: var(--surface-raised);
  box-shadow: 0 0 0 3px var(--citron);
}
#look-grid .thumb { display: block; border-radius: 4px; overflow: hidden; }
#look-grid .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* circular "+"/"✓" selection indicator (top-right of the thumb) — a plain
   decorative span now; the whole card button carries the click handler */
#look-grid .card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
}
#look-grid .card.selected .card-badge { background: var(--citron); }
#look-grid .card-label {
  display: block;
  margin: 10px 4px 5px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
#look-grid .card-blurb {
  display: block;
  margin: 0 3px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
@media (min-width: 1200px) {
  #look-grid .card-label { font-size: 16px; }
}
#look-grid .thumb .tag {
  position: absolute;
  top: 8px;
  left: 8px;
  bottom: auto;
  right: auto;
  height: auto;
  width: auto;
  z-index: 5;
  display: inline-block;
  color: #302e20;
  background: #fff9e9;
  border: 1px solid rgba(255, 255, 255, 0.53);
  border-radius: 3px 6px 6px 3px;
  padding: 3px 5px;
  font-size: 9px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: 0 1px 4px rgba(36, 30, 32, 0.15);
}
/* "Popular" badge variant — citron-tinted, distinct from the neutral "Studio
   pick" cream chip above; #e6ed77 / #f4f7bd have no existing token match
   (same precedent as --citron's literal hex), so kept literal here */
#look-grid .thumb .tag-popular {
  background: #e6ed77;
  border-color: #f4f7bd;
}
@media (min-width: 900px) {
  #look-grid .thumb .tag { font-size: 10px; }
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.step-check {
  background: var(--accent);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.step h3 { font-size: 19px; margin: 0 0 8px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 15px; }

/* ---------- FAQ ---------- */
#faq .section-head h2 { font-size: clamp(36px, 5vw, 56px); }
.faq-layout { display: block; }
@media (min-width: 900px) {
  .faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 70px;
  }
}
.faq-item {
  border-bottom: 1px solid var(--line-strong);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--ink);
}
.faq-q .sign { font-size: 24px; font-weight: 400; transition: transform 0.2s ease; }
.faq-item.open .sign { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  color: var(--ink-soft);
  font-size: 15px;
}
.faq-a-inner { overflow: hidden; min-height: 0; padding-bottom: 20px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- pricing ---------- */
.price-card {
  background: #fffdf7;
  border: 1px solid #d5ccba;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-card.featured {
  border: 1px solid var(--ink);
  box-shadow: 6px 7px 0 0 var(--ink);
}
.price-card .price { font-size: 34px; font-family: 'Anton'; }
#collections .price-card .price {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.1;
}
@media (max-width: 650px) {
  #collections .price-card .price { font-size: 40px; }
}
.price-card .btn-primary { align-self: flex-start; }

/* ---------- discovery row: category chips + "People" dropdown filter (looks.html) ----------
   the row's divider now lives on the outer .discovery wrapper (not .chips) so it
   spans under the People menu too; .chips scrolls horizontally on overflow
   instead of wrapping, so the People trigger always stays pinned to the right */
.discovery {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.chips {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 0;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
  cursor: pointer;
}
.chip:hover { color: var(--ink); }
.chip.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; background: none; }
.chip:focus-visible { outline: 2px solid var(--lavender); outline-offset: -2px; }

.people-menu { position: relative; flex-shrink: 0; }
.people-menu summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding-left: 12px;
  font-size: 12px;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
  border-left: 1px solid var(--line);
}
.people-menu summary::-webkit-details-marker { display: none; }
.people-menu summary[data-active="true"] { font-weight: 600; }
.people-menu summary:focus-visible { outline: 2px solid var(--lavender); outline-offset: 2px; }
.people-menu[open] summary > span { display: inline-block; transform: rotate(45deg); }
.people-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  width: 260px;
  padding: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(41, 35, 28, 0.125);
}
.people-panel > span { display: block; margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.filter-pills button {
  min-width: 40px;
  min-height: 44px;
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.filter-pills button:hover { background: var(--surface-raised); }
.filter-pills button.active { background: var(--ink); color: var(--cream); }
.filter-pills button:focus-visible { outline: 2px solid var(--lavender); outline-offset: 2px; }

/* ---------- selection / continue action bar (looks.html) ----------
   lives inside the sidebar: fixed to the viewport bottom on mobile (where the
   sidebar's session card is hidden), inline/static under the session card on
   desktop — see .studio-sidebar / .studio-session below */
.selection-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  gap: 10px;
  background: var(--cream);
  color: var(--ink);
  padding: 12px 24px max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-strong);
}
.selection-bar .btn { width: 100%; }
.selection-bar .btn svg { flex-shrink: 0; }
.selection-bar .cta { gap: 16px; font-size: 16px; }
.action-note { font-size: 11px; color: var(--muted); margin: 0; text-align: center; }
@media (min-width: 900px) {
  .selection-bar { position: static; border-top: 0; padding: 20px 0 0; }
}

/* ---------- footer ---------- */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
}
.footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 24px;
}
.footer-links a { font-size: 12px; }
.footer-links button { all: unset; cursor: pointer; font-size: 12px; color: inherit; font-family: inherit; }
.footer-links button:hover { text-decoration: underline; }
.footer-lang { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-contact { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-contact a { font-size: 12px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.footer-bottom .mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

/* ---------- cookie notice ---------- */
.cookie-notice {
  position: fixed;
  left: 24px;
  bottom: 24px;
  max-width: 320px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
  z-index: 80;
}
.cookie-notice h4 { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; font-size: 20px; margin: 0 0 10px; }
.cookie-notice p { font-size: 13px; color: var(--ink-soft); margin: 0 0 14px; }
.cookie-notice .row { display: flex; align-items: center; justify-content: space-between; }
.cookie-notice a { font-size: 13px; font-weight: 700; text-decoration: underline; }
.cookie-notice.hidden { display: none; }

/* ---------- utility ---------- */
.mt-0 { margin-top: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.muted { color: var(--ink-soft); }
.mono { font-family: 'IBM Plex Mono', monospace; }
.badge-check { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.badge-check .dot {
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}

.cta-banner {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(30px, 5vw, 48px); }
.cta-banner .btn-primary { margin-top: 24px; }

/* ---------- partner.html ---------- */
.partner-grid, .partner-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .partner-grid, .partner-steps { grid-template-columns: repeat(3, 1fr); }
}
.partner-card, .partner-step {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.partner-card h3, .partner-step h3 { margin: 10px 0 8px; font-size: 18px; }

/* ---------- lavender banner (homepage final CTA) ---------- */
.lavender-banner {
  background: var(--lavender);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.lavender-banner .banner-left { display: flex; align-items: center; gap: 16px; }
.lavender-banner .banner-mascot { width: 60px; flex-shrink: 0; }
.lavender-banner .banner-mascot img { width: 100%; height: auto; object-fit: contain; }
.lavender-banner h2 { font-size: 42px; }
@media (min-width: 900px) {
  .lavender-banner h2 { font-size: 54px; }
}

/* ---------- simple sub-page header (gift.html) ---------- */
.simple-header { min-height: 64px; padding-block: 8px; }
.simple-header .wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.simple-header .back-group { display: flex; align-items: center; gap: 14px; }
.simple-header .back-arrow {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.simple-header .back-arrow svg { width: 22px; height: 22px; }
.simple-header .exit-link {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.simple-header .exit-link .exit-text { display: none; }
.simple-header .exit-link .exit-icon { width: 22px; height: 22px; display: block; }
@media (min-width: 900px) {
  .simple-header {
    border-bottom: 1px solid var(--line-strong);
    min-height: 88px;
  }
  .simple-header .wrap { grid-template-columns: 1fr auto 1fr; }
  .simple-header .exit-link { grid-column: 3; justify-content: flex-end; }
  .simple-header .exit-link .exit-text {
    display: inline;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .simple-header .exit-link .exit-icon { display: none; }
}

/* ---------- utility page hero (find.html, partner.html) ---------- */
.utility-hero { padding-block: 56px; }
.utility-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: 960px;
}
@media (min-width: 860px) {
  .utility-grid { grid-template-columns: 330px 1fr; }
}
.utility-illustration {
  background: var(--lavender);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
}
.utility-illustration svg { width: 140px; height: 140px; }
.utility-illustration-caption { margin: 10px 0 0; font-size: 20px; line-height: 1.3; }
.find-form { margin-top: 26px; max-width: 420px; }
.find-form label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.find-form input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line-strong);
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 14px;
}
.find-form .btn { display: inline-flex; align-items: center; gap: 8px; }
.utility-footnote { font-size: 13px; color: var(--ink-soft); margin-top: 22px; max-width: 46ch; }

/* ---------- partner.html: feature list + application form ---------- */
.partner-features { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.partner-feature { display: flex; gap: 14px; align-items: flex-start; }
.partner-feature-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 700;
}
.partner-feature h3 { font-size: 15px; margin: 0 0 4px; }
.partner-feature p { font-size: 13px; color: var(--ink-soft); margin: 0; }
.partner-form-card {
  margin-top: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--surface-raised);
}
.partner-form-card h2 { font-size: 19px; margin: 0 0 18px; }
.partner-form-card label { display: block; font-weight: 700; font-size: 13px; margin: 14px 0 8px; }
.partner-form-card label:first-of-type { margin-top: 0; }
.partner-form-card input,
.partner-form-card select,
.partner-form-card textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line-strong);
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
  resize: vertical;
}
.partner-form-card .btn { width: 100%; margin-top: 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.partner-form-footnote { text-align: center; margin-top: 12px; }

/* ---------- guided portrait-picker header (looks.html only) ----------
   same pattern as .simple-header above (gift.html), plus a step-progress
   nav; kept as its own scoped class so .simple-header/.site-header are untouched */
.studio-header { min-height: 64px; padding-block: 8px; }
.studio-header .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}
.studio-header .back-group { display: flex; align-items: center; gap: 14px; min-width: 0; }
.studio-header .back-arrow {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.studio-header .back-arrow svg { width: 22px; height: 22px; }
.studio-header .exit-link {
  grid-row: 1;
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 44px;
  font-size: 13px;
}
.studio-header .exit-link .exit-text { display: none; }
.studio-header .exit-link .exit-icon { width: 22px; height: 22px; display: block; }

.step-nav {
  grid-area: 2 / 1 / auto / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-block: 10px 4px;
}
.step-nav-labels {
  display: flex;
  justify-content: center;
  gap: 22px;
}
.step-nav-item {
  color: var(--muted);
  white-space: nowrap;
  font-size: 13px;
}
.step-nav-item[data-active="true"] {
  color: var(--ink);
  font-weight: 700;
}
.step-track {
  position: relative;
  width: 120px;
  height: 16px;
}
.step-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: var(--line-strong);
  transform: translateY(-50%);
}
.step-track-fill {
  position: absolute;
  left: 0;
  top: 50%;
  height: 2px;
  width: 0%;
  background: var(--accent-dark);
  transform: translateY(-50%);
  transition: width 0.3s ease;
}
.step-nav[data-step="2"] .step-track-fill { width: 100%; }
.step-track-node {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
}
.step-track-node[data-track-pos="2"] { left: 100%; }
.step-nav[data-step="1"] .step-track-node[data-track-pos="1"],
.step-nav[data-step="2"] .step-track-node[data-track-pos="2"] {
  width: 16px;
  height: 16px;
  background: var(--accent);
  border: 2px solid var(--ink);
}

@media (min-width: 900px) {
  .studio-header { border-bottom: 1px solid var(--line-strong); min-height: 88px; }
  .studio-header .wrap { grid-template-columns: 1fr auto 1fr; }
  .studio-header .exit-link { grid-column: 3; justify-self: end; }
  .studio-header .exit-link .exit-text {
    display: inline;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .studio-header .exit-link .exit-icon { display: none; }
  .step-nav { grid-area: 1 / 2; gap: 6px; padding: 0; }
  .step-nav-item { font-size: 15px; }
  .step-track { width: 160px; }
}

/* ---------- guided portrait-picker layout: content + sticky sidebar (looks.html) ---------- */
.studio-wrap { width: min(1200px, 100% - 40px); margin: 0 auto; padding: 26px 0 170px; }
.studio-content { min-width: 0; }
.studio-content section { padding: 0; } /* neutralize the global section{padding:72px 0} — this page isn't built from stacked sections */
.step2-panel { display: none; }
.studio-main[data-step="2"] .step1-panel { display: none; }
.studio-main[data-step="2"] .step2-panel { display: block; }

.studio-sidebar { min-width: 0; margin-top: 24px; }
.studio-session { display: none; }
.studio-empty { color: var(--muted); margin-block: 20px; font-size: 13px; }
.selected-heading { justify-content: space-between; margin: 24px 0 12px; font-size: 12px; display: flex; }
.selected-list { max-height: 330px; margin: 0; padding: 0; list-style: none; overflow-y: auto; }
.selected-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.selected-list li:first-child { border-top: 0; }
.selected-list img { width: 42px; height: 48px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.selected-list li > span { flex: 1; }
.selected-list small { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); }
.selected-list button {
  width: 36px;
  min-height: 44px;
  background: none;
  border: 0;
  color: var(--ink-soft);
  cursor: pointer;
}
.selected-list button:hover { color: var(--ink); }

@media (min-width: 900px) {
  .studio-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding: 32px 0 70px; }
  .studio-sidebar { align-self: start; margin: 0; position: sticky; top: 24px; }
  .studio-session {
    display: block;
    border: 1px solid var(--line-strong);
    background: var(--surface-raised);
    border-radius: var(--radius-btn);
    padding: 24px;
  }
  .studio-session h2 {
    font: italic 42px 'Instrument Serif', Georgia, serif;
    margin: 8px 0 18px;
  }
  .studio-session[hidden] { display: none; }
}

/* ---------- step-2 sidebar: photo-readiness progress + email prompt ---------- */
.photo-progress { margin: 20px 0; }
.photo-progress > .mono { font-size: 12px; color: var(--ink-soft); }
.photo-progress-bar {
  margin-top: 8px;
  height: 5px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.photo-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.email-prompt { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.email-prompt-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.email-prompt-skip {
  display: block;
  margin-top: 10px;
  background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
  color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; font-size: 13px;
}
@media (max-width: 899px) {
  .studio-wrap { padding-top: 12px; }
}

/* ---------- step-2 "add your photos" panel (local approximation — reuses the
   site's existing .upload-slot component rather than inventing real-site markup) ---------- */
.step2-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  margin-bottom: 14px;
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.role-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  max-width: 640px;
}
.role-photo-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: var(--surface-raised);
}
.role-photo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.role-photo-card h3 { font-size: 19px; margin: 0; }
.role-icon { color: var(--ink); flex-shrink: 0; }
.role-photo-card .role-note { font-weight: 400; font-size: 13px; color: var(--ink-soft); margin: 4px 0 14px; }
.role-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.role-example { margin: 0; }
.role-example-thumb {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  line-height: 0;
}
.role-example-thumb svg { display: block; width: 100%; height: auto; }
.role-example-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.role-example-badge.is-good { background: #2f7d4f; }
.role-example-badge.is-bad { background: #b03a2e; }
.role-example figcaption {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.role-example figcaption.is-good { color: #2f7d4f; }
.role-example figcaption.is-bad { color: #b03a2e; }
.role-photo-card .upload-slot { min-height: 150px; border-radius: var(--radius-md); }
.role-photo-footnote { font-size: 12px; color: var(--muted); margin-top: 16px; max-width: 640px; text-align: center; }
.role-photo-consent {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  max-width: 640px;
}
.role-photo-consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- reusable text input (email capture, gift form) ---------- */
.field { display: block; max-width: 360px; margin-top: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.text-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--surface-raised);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}
.text-input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.field-note { font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.field-note.is-confirmed { color: #26623a; font-weight: 600; }

/* ---------- dedicated full-screen "generating" state (looks.html step 2,
   shown while the first free preview is in flight) ---------- */
.generating-screen {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  max-width: 820px;
}
@media (min-width: 760px) {
  .generating-screen { grid-template-columns: 260px 1fr; }
}
.generating-visual { position: relative; height: 220px; }
.generating-card {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 150px;
  height: 190px;
  background: var(--surface-raised, #fff);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transform: translateX(-50%);
}
.generating-card.tilt-a { transform: translateX(-80%) rotate(-10deg); }
.generating-card.tilt-b { transform: translateX(-20%) rotate(9deg); }
.generating-card.tilt-center {
  transform: translateX(-50%) rotate(-2deg);
  background: var(--lavender, #e4ddf7);
  display: grid;
  place-items: center;
  font-size: 40px;
  animation: generating-bob 2.4s ease-in-out infinite;
}
@keyframes generating-bob {
  0%, 100% { transform: translateX(-50%) rotate(-2deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(-2deg) translateY(-8px); }
}
.generating-copy p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin: 10px 0 20px; }
.generating-status-box {
  background: var(--surface-raised, #fff);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.generating-status-line { font-weight: 600; font-size: 14px; margin: 0 0 10px; }
.generating-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.generating-progress-fill {
  display: block;
  height: 100%;
  width: 6%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 18s ease-out;
}
.generating-estimate { font-size: 12px; color: var(--muted); margin: 10px 0 0 !important; }
.generating-contact { font-size: 13px; }
.generating-contact a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- step-2 completion state (looks.html) ---------- */
.step2-success { max-width: 640px; padding: 24px 0; }
.step2-success p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin: 16px 0 24px; }
.step2-success .text-link { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- generated-preview results grid (looks.html step 2, after
   "Create my previews") — real watermarked Gemini output, selectable via
   checkbox for checkout; unwatermarked only after a verified Stripe payment ---------- */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
}
@media (min-width: 600px) {
  .preview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.preview-card { position: relative; display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.preview-card .thumb {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream-2);
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.15s ease;
}
.preview-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview-card .card-label { font-size: 13px; font-weight: 600; }
.preview-status {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 6px;
}
.preview-card.preview-done .preview-status { background: rgba(38, 98, 58, 0.85); }
.preview-card.preview-error .preview-status { background: rgba(150, 40, 40, 0.85); }
.preview-card.preview-locked .thumb img { opacity: 0.55; }
.preview-card.preview-locked .preview-status { background: rgba(41, 35, 28, 0.78); }

.preview-checkbox {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.preview-checkbox:disabled { opacity: 0.4; cursor: not-allowed; }
.preview-card:has(.preview-checkbox:checked) .thumb { outline-color: var(--citron); }

/* ---------- checkout summary (results sidebar, "Keep every little detail.") ---------- */
.checkout-eyebrow { margin-bottom: 10px; }
.checkout-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 20px 0 4px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-strong);
  font-size: 14px;
}
.checkout-summary strong { font: 700 24px/1 'Archivo', sans-serif; letter-spacing: -0.02em; }
.checkout-filenote { font-size: 12px; color: var(--ink-soft); margin: 0 0 14px; }
[data-step3-sidebar] .btn { width: 100%; }
.checkout-status { font-size: 13px; color: var(--ink-soft); margin: 10px 0 0; min-height: 16px; text-align: center; }

/* ---------- "Send as a gift" toggle box (looks.html results screen) ---------- */
.gift-toggle-box {
  margin-top: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  background: var(--lavender, #e4ddf7);
  overflow: hidden;
}
.gift-toggle-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 0;
}
.gift-toggle-eyebrow-label { margin-bottom: 0; }
.gift-toggle-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 0;
}
.gift-toggle-icon { font-size: 26px; }
.gift-toggle-copy { display: flex; flex-direction: column; flex: 1; font-size: 13px; }
.gift-toggle-copy strong { font-size: 22px; display: block; }
.gift-toggle-copy span:last-child { color: var(--ink-soft); }
.gift-toggle-features {
  display: flex;
  gap: 16px;
  padding: 10px 18px 16px;
  font-size: 12px;
  color: var(--ink-soft);
}
.gift-toggle-expand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(41, 35, 28, 0.06);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.gift-toggle-expand:hover { background: rgba(41, 35, 28, 0.1); }
.switch { position: relative; display: inline-block; width: 40px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch-track {
  position: absolute; inset: 0;
  background: var(--surface-raised, #fff);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background 0.15s ease;
}
.switch-track::before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: var(--ink);
  border-radius: 50%;
  transition: transform 0.15s ease;
}
.switch input:checked + .switch-track { background: var(--accent, #e7f36b); border-color: var(--accent-dark); }
.switch input:checked + .switch-track::before { transform: translateX(16px); }
.gift-form { padding: 16px 18px 18px; border-top: 1px solid rgba(0,0,0,0.1); background: var(--surface-raised, #fff); }
.gift-form-title { font-size: 20px; margin: 0 0 8px; }
.gift-form .field { max-width: none; margin-top: 14px; }
.gift-form .field:first-of-type { margin-top: 0; }
.checkbox-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; margin-top: 14px; cursor: pointer; }
.checkbox-row input { margin-top: 2px; }
.gift-form-links { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; }
.gift-form-links button.text-link {
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
}
.gift-copy-email-input { max-width: 260px; }

/* ---------- upsell line + reassurance footer (looks.html results sidebar) ---------- */
.upsell-line { font-size: 13px; color: var(--ink-soft); margin: 16px 0 0; }
.upsell-line a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.reassurance-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13px;
}
.reassurance-icon { color: var(--ink); flex-shrink: 0; }
.reassurance-footer strong { display: block; }
.reassurance-footer em { font-size: 15px; }

/* ---------- unwrap card (gift hero) ---------- */
.unwrap-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #e5dff5;
  border: 1px solid #c7bddb;
  border-radius: 8px;
  padding: 12px 18px 12px 12px;
  margin: 24px 0;
  max-width: 420px;
  width: 100%;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.unwrap-card:hover { box-shadow: 3px 4px var(--ink); }
.unwrap-card .unwrap-icon { font-size: 34px; }
.unwrap-card .unwrap-text { text-align: left; }
.unwrap-card .unwrap-text strong {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 15px;
  font-weight: 600;
}
.unwrap-card .unwrap-text .hero-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
@media (max-width: 650px) {
  .unwrap-card .unwrap-text strong { font-size: 14px; }
  .unwrap-card .unwrap-text .hero-note { font-size: 11px; }
}
.unwrap-play {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--cream);
  display: grid; place-items: center; font-size: 13px; flex-shrink: 0;
}

/* ---------- polaroid fan (gift collection cards) ---------- */
.polaroid-fan { position: relative; height: 190px; margin-bottom: 18px; }
.polaroid-fan .polaroid { position: absolute; width: 130px; }
.polaroid-fan.single .polaroid { position: static; width: 150px; transform: rotate(-3deg); }
.polaroid-fan .polaroid:nth-child(1) { left: 0; top: 10px; transform: rotate(-8deg); z-index: 1; }
.polaroid-fan .polaroid:nth-child(2) { left: 70px; top: 0; transform: rotate(3deg); z-index: 2; }
.polaroid-fan .polaroid:nth-child(3) { left: 140px; top: 14px; transform: rotate(-4deg); z-index: 3; }
.polaroid-fan figcaption { font-size: 11px; }

/* ---------- gift collections polaroid fan (scoped to #collections so the
   homepage howit-grid's absolute-position fan above is untouched) ---------- */
#collections .polaroid-fan {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 265px;
  padding: 16px 12px;
}
#collections .polaroid-fan .polaroid {
  position: static;
  width: 39%;
  max-width: 155px;
  transform: none;
  box-shadow: 2px 5px 8px rgba(41, 35, 28, 0.145);
}
#collections .polaroid-fan.single .polaroid {
  width: 52%;
  max-width: 180px;
  transform: rotate(-5deg);
}
#collections .polaroid-fan .polaroid:nth-child(1) { transform: rotate(-12deg); z-index: 1; }
#collections .polaroid-fan .polaroid:nth-child(2) { margin-left: -10%; transform: translateY(-12px); z-index: 2; }
#collections .polaroid-fan .polaroid:nth-child(3) { margin-left: -10%; transform: rotate(12deg); z-index: 3; }
#collections .polaroid-fan figcaption {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  padding: 8px 0;
}
#collections .polaroid-fan:not(.single) figcaption { font-size: 12px; }
@media (max-width: 650px) {
  #collections .polaroid-fan { height: 155px; }
  #collections .polaroid-fan.single .polaroid { width: 75%; max-width: 94px; }
  #collections .polaroid-fan:not(.single) .polaroid { width: 46%; max-width: 78px; }
  #collections .polaroid-fan .polaroid:nth-child(2),
  #collections .polaroid-fan .polaroid:nth-child(3) { margin-left: -20%; }
  #collections .polaroid-fan.single figcaption { font-size: 11px; }
  #collections .polaroid-fan:not(.single) figcaption { font-size: 8px; }
}

/* ---------- included icon row ---------- */
.included-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.included-item { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 13px; }
.included-item .icon { font-size: 20px; }
@media (max-width: 650px) {
  .included-row { align-items: flex-start; gap: 14px; }
  .included-item { flex-direction: column; flex: 1; text-align: center; font-size: 11px; }
}

/* ---------- light steps card (gift "wrap it beautifully") ---------- */
.steps-card { background: var(--cream-2); border: 1px solid var(--line); border-radius: 8px; padding: 32px; }
@media (max-width: 650px) {
  .steps-card { padding: 24px; }
}
.steps-card .section-head h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 28px;
}
.steps-card .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; }
.steps-card .step { display: flex; gap: 12px; }
.steps-card .step .num {
  font-weight: 400;
  letter-spacing: normal;
  color: var(--muted);
  padding-top: 4px;
  margin-bottom: 0;
}
.steps-card .step strong { font-size: 14px; display: block; }
.steps-card .step p { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
@media (max-width: 650px) {
  .steps-card .steps { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- gift pricing cards (scoped to #collections so keepsakes.html's
   price-card sets/single-piece cards keep their own border/radius/padding) ---------- */
#collections .price-card {
  border-color: var(--line-strong);
  border-radius: 8px;
  padding: 28px 28px 30px;
}
#collections .price-card.featured {
  background: var(--lavender);
  border-width: 1.5px;
  box-shadow: 5px 6px var(--ink);
}
#collections .price-card h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  margin: 16px 0 4px;
}
#collections .price-card .muted {
  font-size: 14px;
  margin: 10px 0 24px;
}
#collections .price-card .btn {
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 5px var(--ink);
  min-height: 56px;
  font-weight: 700;
  font-size: 16px;
}
#collections .price-card:not(.featured) .btn {
  background: var(--cream);
  box-shadow: 3px 4px var(--ink);
}
@media (max-width: 650px) {
  #collections .price-card h3 { font-size: 27px; margin: 0 0 6px; }
  #collections .price-card .muted { font-size: 12px; margin: 8px 0 0; }
}
@media (max-width: 650px) {
  #collections .price-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }
  #collections .price-card .polaroid-fan {
    grid-column: 1;
    grid-row: 1 / span 3;
    height: auto;
    margin-bottom: 0;
  }
  #collections .price-card h3 { grid-column: 2; grid-row: 1; }
  #collections .price-card .price { grid-column: 2; grid-row: 2; }
  #collections .price-card .muted { grid-column: 2; grid-row: 3; }
  #collections .price-card > a.btn { grid-column: 1 / -1; grid-row: 4; }
}

/* ---------- vertical checklist (keepsakes hero) ---------- */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.delivery-highlight {
  display: inline-block;
  background: #f5f8cf;
  border: 1px solid #c9d27a;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 14px;
  margin-top: 18px;
}

/* ---------- product badge overlays (set & single-piece cards) ---------- */
.badge-overlay {
  position: absolute;
  z-index: 5;
  font-size: 12px;
}
.badge-overlay.bottom-left {
  bottom: 14px;
  left: 14px;
  background: rgba(255, 253, 247, 0.92);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 11px;
  font-weight: 600;
}
.badge-overlay.top-right {
  top: 14px;
  right: 14px;
  background: var(--accent);
  border: 1px solid var(--ink);
  border-radius: 20px;
  padding: 5px 12px;
  font-weight: 700;
}
.badge-overlay.top-left {
  top: 14px;
  left: 14px;
  background: #fff8e9;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 5px 11px;
  font-weight: 600;
}
.price-inline {
  font: 700 26px/1 'Archivo', sans-serif;
  letter-spacing: -0.03em;
}
.save-pill {
  display: inline-block;
  background: #f5f8cf;
  border: 1px solid #c9d27a;
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 650;
}

/* ---------- process step visuals (keepsakes "made personal") ---------- */
.process-visual {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3.4;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}
.process-visual.plain img { width: 100%; height: 100%; object-fit: cover; }
.process-visual.tan { background: #eee6d5; display: flex; align-items: center; justify-content: center; }
.process-visual.lavender { background: #e5dff5; display: flex; align-items: center; justify-content: center; }
.product-fan { position: relative; width: 75%; height: 75%; }
.product-fan img {
  position: absolute; width: 50%; border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); object-fit: cover; aspect-ratio: 1/1;
}
.product-fan img:nth-child(1) { left: 0; top: 18%; transform: rotate(-8deg); z-index: 1; }
.product-fan img:nth-child(2) { left: 22%; top: 2%; transform: rotate(3deg); z-index: 2; }
.product-fan img:nth-child(3) { left: 44%; top: 20%; transform: rotate(-4deg); z-index: 3; }
.product-fan img:nth-child(4) { left: 60%; top: 6%; transform: rotate(6deg); z-index: 4; }
.ticket-card {
  background: #fffdf7;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  padding: 18px;
  width: min(78%, 280px);
  transform: rotate(-2deg);
  box-shadow: 5px 6px 0 var(--ink);
}
.ticket-card h4 { margin: 0 0 10px; font-size: 15px; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.ticket-card ul { list-style: none; margin: 0 0 10px; padding: 0; font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
.ticket-card .ticket-footer {
  font-family: 'IBM Plex Mono';
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  border-top: 1px dashed var(--line);
  padding-top: 8px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ---------- how-it-works colored step cards (homepage) ---------- */
.howit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.howit-card { border-radius: 14px; padding: 28px; text-align: center; }
@media (min-width: 900px) {
  .howit-card { border-radius: 18px; min-height: 370px; padding: 22px 22px 28px; }
}
.howit-card.sage { background: #f0eddd; }
.howit-card.mint { background: #e9eddf; }
.howit-card.lavender { background: var(--lavender); }
.howit-card .polaroid-fan { height: 150px; margin-bottom: 20px; }
.howit-card .polaroid-fan .polaroid { width: 100px; }
.howit-card h3 { margin-top: 4px; }
.step-number {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.mini-look-pair { display: flex; justify-content: center; align-items: center; gap: 14px; height: 150px; margin-bottom: 20px; }
.mini-look { width: 110px; margin: 0; transform: rotate(-6deg); }
.mini-look img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--line-soft); background: #fffdf7; }
.mini-look figcaption { text-align: center; font-size: 12px; font-weight: 600; margin-top: 8px; }
.preview-visual { position: relative; height: 190px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; }
.preview-photo { width: 150px; position: relative; transform: rotate(6deg); }
.preview-tab {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 42px;
  height: 15px;
  background: #e7f36bcc;
  border-radius: 3px;
  transform: translateX(-50%) rotate(-12deg);
  z-index: 2;
}
.preview-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.78);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 6px 0;
  color: var(--ink);
}
.howit-note {
  text-align: center;
  font-style: italic;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 22px;
  line-height: 1.3;
  margin: 24px 0 0;
}
@media (min-width: 900px) {
  .howit-note { font-size: 26px; }
}
.sticky-note-tab {
  position: absolute; top: -10px; right: 6px;
  background: var(--accent);
  padding: 4px 10px;
  font-family: 'IBM Plex Mono'; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em;
  border-radius: 4px;
  transform: rotate(4deg);
  z-index: 4;
}
@media (max-width: 860px) { .howit-grid { grid-template-columns: 1fr; } }

/* ---------- gift photo + note card (homepage gift section) ---------- */
.gift-photo-wrap { position: relative; width: 260px; margin: 0 auto 20px; }
.gift-photo-wrap .corner-ribbon {
  position: absolute; top: -6px; left: -6px; width: 46px; height: 46px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 5;
}
.gift-photo-wrap figure.photo-card { margin: 0; }
.gift-photo-wrap figcaption {
  text-align: center;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  margin-top: 10px;
  color: var(--ink);
}
.gift-portrait { transform: rotate(7deg); }
.gift-parcel {
  position: absolute;
  inset: 8% 4% 4% 8%;
  background: #d0c3e5;
  border-radius: 14px;
  transform: rotate(-9deg);
  z-index: 0;
}
.gift-parcel::before, .gift-parcel::after { content: ""; position: absolute; background: var(--accent); }
.gift-parcel::before { left: 0; right: 0; top: 50%; height: 12px; transform: translateY(-50%); }
.gift-parcel::after { top: 0; bottom: 0; left: 50%; width: 12px; transform: translateX(-50%); }
.note-card {
  position: absolute;
  background: #fffdf2;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 16px 18px;
  width: 180px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 15px;
  transform: rotate(-14deg);
  z-index: 2;
}

/* ---------- gift + keepsakes combined teaser (homepage) ---------- */
.more-ways { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) {
  .more-ways {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
  }
}
.gift-section-card {
  background: var(--lavender);
  border: 1px solid #c7bddb;
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 1100px) {
  .gift-section-card { flex-direction: row; align-items: center; }
  .gift-section-card .gift-art { flex: 0 0 240px; }
  .gift-section-card .gift-copy { flex: 1; }
}
.gift-delivery-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 10px;
}
.unwrap-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: none;
  border: none;
  padding: 0;
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  color: var(--ink);
}
.unwrap-link .play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  font-size: 10px;
}
.unwrap-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  border: none;
  border-radius: 12px;
  padding: 28px;
  max-width: 360px;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(0,0,0,0.25);
}
.unwrap-dialog::backdrop { background: rgba(41,35,28,0.4); }
.unwrap-dialog h3 { margin: 0 0 8px; }
.unwrap-dialog p { color: var(--ink-soft); font-size: 14px; margin: 0 0 12px; }
.quickview-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 14px; }
.quickview-images { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.quickview-image-fig { margin: 0; }
.quickview-image-fig img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.quickview-image-fig figcaption { font-size: 10px; color: var(--muted); text-align: center; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.quickview-dialog .eyebrow { margin-bottom: 6px; }
.quickview-desc { font-size: 13px; color: var(--ink-soft); margin: 0 0 12px; }
.quickview-compare { font-size: 13px; color: var(--ink); margin: 12px 0 0; }
.quickview-disclaimer,
.quickview-reassurance { font-size: 12px; color: var(--ink-soft); margin: 8px 0 0; }
.quickview-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.quickview-price-row strong { font: 700 22px/1 'Archivo', sans-serif; letter-spacing: -0.02em; }
.quickview-price-row span { font-size: 12px; color: var(--ink-soft); }

.dialog-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.dialog-x:hover { background: var(--cream-2); }

.quickview-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.quickview-secondary { text-align: center; font-size: 13px; }

/* ---------- "See it on the wall" framing upsell dialog (looks.html results sidebar) ---------- */
.framing-dialog-title { font-size: 24px; margin: 0 0 14px; }
.framing-dialog-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.framing-dialog-copy { font-size: 13px; }
.framing-dialog-cta { margin-top: 4px; }

/* ---------- "Preview your note" dialog (looks.html gift form) ---------- */
.note-preview-eyebrow { margin-bottom: 16px; }
.note-preview-card {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
}
.note-preview-to { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin: 0 0 12px; }
.note-preview-body { font-size: 22px; line-height: 1.3; margin: 0 0 16px; }
.note-preview-from { font-size: 13px; color: var(--ink-soft); margin: 0; }

.quickview-items { list-style: none; margin: 14px 0; padding: 0; }
.quickview-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.quickview-items li:first-child { border-top: 0; padding-top: 0; }
.quickview-items li span:first-child { color: var(--ink); }
.quickview-items li span:last-child { color: var(--muted); text-align: right; }

/* ---------- gift.html "see the unwrapping" reveal modal ----------
   Measured from the real site's rendered output (colors, animation shape)
   to recreate the feel without copying its code or assets: the "Yours to
   keep." purple, the drifting background dots, and the single rise-in
   entrance for the card content are all reproduced from first principles. */
.unwrap-reveal-dialog {
  text-align: center;
  max-width: 320px;
  overflow: hidden;
  padding: 0;
}
.unwrap-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-raised);
}
.unwrap-dialog-header-title { font-size: 12px; color: var(--muted); margin: 0; text-align: left; }
.unwrap-dialog-header .dialog-x { position: static; flex-shrink: 0; }
.unwrap-stage {
  position: relative;
  padding: 28px;
  background: radial-gradient(circle at 50% 30%, var(--lavender) 0%, var(--surface-raised) 72%);
}
.unwrap-stage-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.unwrap-pill {
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.unwrap-pill:hover { background: var(--cream-2); }
.unwrap-box-stage { position: relative; z-index: 1; padding-top: 14px; }
.unwrap-kicker-center { text-align: center; margin: 0 0 8px; }
.unwrap-box-title { font: 22px/1.2 'Archivo', sans-serif; font-weight: 800; margin: 0 0 28px; color: var(--ink); }
.unwrap-box-title em { font-size: 24px; color: #6553ac; }
.unwrap-gift-box {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  transition: transform 0.15s ease;
}
.unwrap-gift-box:hover { transform: scale(1.03); }
.unwrap-gift-box svg { width: 150px; height: auto; filter: drop-shadow(0 8px 16px rgba(41,35,28,0.14)); }
.unwrap-gift-tap { font-size: 12px; font-weight: 700; color: var(--ink-soft); transition: opacity 0.2s ease; }

/* ---------- gift-box "pop" — lid flies off, ribbon bursts, box settles,
   played for POP_DURATION_MS before the stage swaps to the reveal (see
   initUnwrapReveal/playUnwrap in script.js) ---------- */
.unwrap-gift-box.is-popping { pointer-events: none; }
.unwrap-gift-box.is-popping .unwrap-gift-tap { opacity: 0; }
.unwrap-gift-box.is-popping .unwrap-gift-svg { animation: unwrap-box-shake 0.22s ease-in-out; }
.unwrap-gift-box.is-popping .unwrap-gift-lid {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: unwrap-lid-pop 0.46s cubic-bezier(0.2, 0.9, 0.4, 1) forwards;
}
.unwrap-gift-box.is-popping .unwrap-gift-body {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: unwrap-body-settle 0.46s 0.08s ease-out forwards;
}
@keyframes unwrap-box-shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}
@keyframes unwrap-lid-pop {
  0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
  100% { transform: translateY(-64px) rotate(-22deg) scale(0.6); opacity: 0; }
}
@keyframes unwrap-body-settle {
  0% { transform: scale(1); opacity: 1; }
  45% { transform: scale(0.96, 0.9); opacity: 1; }
  100% { transform: scale(0.82); opacity: 0; }
}
.unwrap-reveal-dialog .unwrap-reveal-kicker {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: left;
  margin: 0 28px 10px 0;
}
.unwrap-reveal-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-soft);
  opacity: 0.18;
  pointer-events: none;
  animation: unwrap-drift 14s ease-in-out infinite;
}
@keyframes unwrap-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -14px); }
}
.unwrap-reveal-rise {
  position: relative;
  z-index: 1;
  opacity: 0;
}
.unwrap-reveal-rise.is-rising { animation: unwrap-rise 0.6s cubic-bezier(0.22, 1.4, 0.4, 1) forwards; }
@keyframes unwrap-rise {
  from { opacity: 0; transform: translateY(22px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.unwrap-reveal-rise .unwrap-reveal-polaroid { opacity: 0; }
.unwrap-reveal-rise.is-rising .unwrap-reveal-polaroid {
  animation: unwrap-polaroid-pop 0.5s 0.12s cubic-bezier(0.3, 1.6, 0.4, 1) forwards;
}
@keyframes unwrap-polaroid-pop {
  0% { transform: scale(0.7) rotate(-9deg); opacity: 0; }
  65% { transform: scale(1.06) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(-2deg); opacity: 1; }
}
.unwrap-sparkle {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e7f36b;
  border: 1px solid var(--ink);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.unwrap-reveal-rise.is-rising .unwrap-sparkle {
  animation-name: unwrap-sparkle-burst;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  /* animation-delay comes from each span's own inline style (staggered). */
}
@keyframes unwrap-sparkle-burst {
  0% { transform: scale(0) translateY(0); opacity: 0; }
  35% { transform: scale(1) translateY(-6px); opacity: 1; }
  100% { transform: scale(0.4) translateY(-22px); opacity: 0; }
}
.unwrap-reveal-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
}
.unwrap-reveal-brand .logo-mark { width: 22px; height: 22px; min-width: 22px; border-radius: 50%; object-fit: cover; }
.unwrap-reveal-dialog .unwrap-reveal-title {
  font: 26px/1.15 'Archivo', sans-serif;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--ink);
}
.unwrap-reveal-accent { font-size: 28px; color: #6553ac; }
.unwrap-reveal-polaroid { width: 190px; margin: 0 auto 10px; }
.unwrap-reveal-dialog .unwrap-reveal-eyebrow { margin: 0 0 14px; }
.unwrap-reveal-actions { display: flex; gap: 10px; margin-bottom: 12px; }
.unwrap-reveal-actions .btn { flex: 1; width: auto; }
.unwrap-reveal-links { display: flex; align-items: center; justify-content: center; gap: 16px; }
.unwrap-reveal-note-toggle {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  text-decoration: underline;
}
.unwrap-reveal-dialog .unwrap-reveal-note {
  position: relative;
  z-index: 1;
  font-style: italic;
  font-size: 13px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.unwrap-reveal-dialog .unwrap-reveal-share-status { font-size: 12px; color: var(--ink-soft); min-height: 16px; margin: 6px 0 0; }

/* ---------- keepsakes teaser (homepage, bordered split card) ---------- */
.keepsakes-teaser-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 36% minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
}
.keepsake-art { position: relative; margin: 12px 0 12px 12px; }
.keepsake-art img {
  border: 5px solid var(--surface-raised);
  width: 100%;
  display: block;
  box-shadow: 2px 4px 10px rgba(41,35,28,0.1);
}
.keepsake-art img:first-child { transform: rotate(-5deg); }
.keepsake-art img + img {
  width: 65%;
  margin: -14% 0 0 30%;
  transform: rotate(7deg);
  position: relative;
  z-index: 1;
}
.keepsake-copy { padding: 28px 24px; }
.keepsake-explore { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; }
.keepsake-note { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }
@media (max-width: 760px) {
  .keepsakes-teaser-card { grid-template-columns: 1fr; }
}

/* ---------- split CTA (keepsakes final section) ---------- */
.split-cta {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  border-radius: 22px;
  border: 1.5px solid var(--ink);
  background: #f5f8cf;
  overflow: hidden;
}
.split-cta .photo-side { min-height: 320px; }
.split-cta .photo-side img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-cta .content-side { background: transparent; padding: 48px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 760px) { .split-cta { grid-template-columns: 1fr; } }

/* ---------- keepsakes.html page-specific scoped overrides ---------- */
.keepsakes-hero-eyebrow { letter-spacing: 0.09em; margin: 0 0 10px; }
.hero-photo-figure { margin: 0; }
#single .grid-4 { gap: 20px; }
.photo-caption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.lavender-card {
  background: #e5dff5;
  border: 1px solid #c8bfe6;
  border-radius: 12px;
  max-width: 440px;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto;
}

/* Sets section (#sets) — image bleeds flush to the card edge, text gets its
   own padded body, and title/price use the display + Archivo pairing */
#sets .price-card { padding: 0; border-radius: 18px; gap: 0; }
#sets .price-card .card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
#sets .price-card .btn { align-self: flex-start; }
#sets .price-card h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font: 400 32px/1.05 'Instrument Serif', Georgia, serif;
  letter-spacing: -0.015em;
  margin: 0;
}
#sets .price-card .line { font-size: 15px; line-height: 1.55; margin: 0; }
#sets .price-card .contents { font-size: 13px; color: var(--muted); margin: 0; }
#sets .price-card .included {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 0;
}

/* Single pieces section (#single) — no outer card chrome, square image with
   its own radius, title/price typography, and a bottom meta row for price */
#single .thumb {
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  background: #eee6d5;
}
#single .card { background: none; box-shadow: none; border-radius: 0; }
#single .card .body h3 {
  font: 400 32px/1.05 'Instrument Serif', Georgia, serif;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.piece-meta {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 16px 0 4px;
  padding-top: 14px;
}
.piece-meta span { font-size: 13px; color: var(--muted); }
.piece-meta strong {
  font: 700 26px/1 'Archivo', sans-serif;
  letter-spacing: -0.03em;
}

/* Process section (#process) — shaded background band + step-number spacing */
#process {
  background: #f5efdf;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
#process .step .num {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-top: 20px;
  margin-bottom: 0;
}
