/* ==========================================================================
   Momently, built 1:1 on the pet-plus-us studio system (the owner's other site).
   Paper, ink, citron, lavender. Anton + Instrument Serif + Archivo + Plex Mono.
   ========================================================================== */

:root {
  color-scheme: light;
  --cream: #fff8e9;
  --citron: #e7f36b;
  --ink: #29231c;
  --ink-raised: #40392f;
  --paper: #fff8e9;
  --accent: #e7f36b;
  --accent-ink: #29231c;
  --lavender: #e5dff5;
  --muted: #6b6256;
  --warn: #9d3f28;
  --error: #863722;
  --success: #375a32;
  --surface: #f5efdf;
  --surface-raised: #fffdf7;
  --surface-inset: #eee6d5;
  --line: #d5ccba;
  --line-soft: #e3dac9;
  --line-strong: #a99f8d;
  --line-dash: #b5a992;
  --accent-wash: #f5f8cf;
  --radius: 8px;
  --radius-pill: 24px;
  --cta-height: 56px;
  --gutter: 20px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .16s;
  --t-base: .2s;
  --stripe: repeating-linear-gradient(135deg, #e8e1d1 0 8px, #f4eddf 8px 16px);

  --font-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --font-archivo: 'Archivo', Arial, sans-serif;
  --font-instrument-serif: 'Instrument Serif', Georgia, serif;
  --font-ibm-plex-mono: 'IBM Plex Mono', Menlo, Consolas, monospace;

  /* Names older markup and scripts still use */
  --bg: var(--paper);
  --bg-primary: var(--paper);
  --bg-card: var(--surface-raised);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-raised);
  --text-muted: var(--muted);
  --primary: var(--accent);
  --accent-primary: var(--accent);
  --border-color: var(--line);
  --danger: var(--error);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.5 var(--font-archivo);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  margin: 0;
}

h1, h2, h3, h4, p { margin: 0; }
p { margin-top: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: 0 0; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }

.skip-link { z-index: 100; background: var(--ink); color: var(--paper); border-radius: 6px; padding: 12px 20px; position: fixed; top: 8px; left: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

/* Type roles */
.display { font: 400 clamp(48px, 8vw, 80px) / 1.02 var(--font-display); letter-spacing: -.025em; text-wrap: balance; margin: 0; }
.display em { font-family: var(--font-instrument-serif); letter-spacing: -.035em; font-weight: 400; font-style: italic; }
.eyebrow, .mono { font-family: var(--font-ibm-plex-mono); }
.eyebrow { letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-size: 11px; line-height: 1.5; }

/* Actions */
.cta {
  width: 100%;
  min-height: var(--cta-height);
  background: var(--accent);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 5px 0 var(--ink);
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  transition: transform .18s, box-shadow .18s, background .18s;
  display: inline-flex;
}
.cta:hover:not(:disabled) { box-shadow: 5px 6px 0 var(--ink); background: #edfa7a; transform: translate(-1px, -1px); }
.cta:active:not(:disabled) { box-shadow: 1px 2px 0 var(--ink); transform: translate(3px, 3px); }
.cta:disabled { color: #7b7267; background: #ece8d9; border-color: #aaa191; box-shadow: 3px 4px #c9c1b3; }

.cta-ghost, .secondary-button { border: 1px solid var(--ink); border-radius: var(--radius); min-height: 48px; color: var(--ink); text-align: center; background: 0 0; justify-content: center; align-items: center; gap: 10px; padding: 10px 18px; font-weight: 600; display: inline-flex; }
.secondary-button:hover { background: var(--surface); }
.text-link { text-underline-offset: 4px; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: underline; display: inline-flex; }

/* Older shared classes mapped onto the studio vocabulary */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: var(--radius); border: 1px solid var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3; text-align: center; white-space: nowrap; transition: transform .18s, box-shadow .18s, background .18s; }
.btn-primary, .btn-neon, .btn-cta-primary { background: var(--accent); border: 1.5px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); font-weight: 700; }
.btn-primary:hover:not(:disabled), .btn-neon:hover, .btn-cta-primary:hover { box-shadow: 5px 6px 0 var(--ink); background: #edfa7a; transform: translate(-1px, -1px); }
.btn-primary:active:not(:disabled) { box-shadow: 1px 2px 0 var(--ink); transform: translate(3px, 3px); }
.btn-primary:disabled, .btn[disabled] { color: #7b7267; background: #ece8d9; border-color: #aaa191; box-shadow: 3px 4px #c9c1b3; cursor: not-allowed; transform: none; }
.btn-ghost, .btn-cta-secondary, .btn-neon-subtle { background: 0 0; }
.btn-ghost:hover, .btn-cta-secondary:hover, .btn-neon-subtle:hover { background: var(--surface); }
.btn-lg { min-height: var(--cta-height); padding: 12px 22px; font-size: 16px; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn-danger { background: 0 0; color: var(--error); border-color: var(--error); }
.btn-danger:hover { background: #fcebe4; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.site-bar { grid-template-columns: auto 1fr auto; gap: 32px; width: min(100% - 64px, 1280px); min-height: 96px; margin: 0 auto; display: grid; align-items: center; }
.site-brand { width: 180px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo-text { font: 400 30px/1 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.site-nav { justify-content: center; align-items: center; gap: clamp(18px, 2vw, 32px); display: flex; }
.site-nav a { white-space: nowrap; align-items: center; min-height: 48px; font-size: 15px; font-weight: 500; display: inline-flex; position: relative; }
.site-nav a::after { content: ""; bottom: 5px; background: var(--ink); transform-origin: 0; height: 2px; transition: transform .16s; position: absolute; inset-inline: 0; transform: scaleX(0); }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-actions { display: flex; align-items: center; gap: 22px; justify-content: end; }
.site-recovery { min-height: 44px; color: var(--muted); white-space: nowrap; align-items: center; font-size: 13px; display: inline-flex; }
.site-recovery:hover { color: var(--ink); text-underline-offset: 5px; text-decoration: underline; }
.site-cta { width: auto; padding-inline: 14px; font-size: 13px; min-height: 44px; box-shadow: 3px 4px 0 var(--ink); }
.site-menu { display: none; min-height: 44px; padding: 0 12px; border: 1px solid var(--ink); border-radius: var(--radius); font-weight: 600; font-size: 14px; }

.site-overlay { display: none; position: fixed; inset: 0; z-index: 60; background: var(--paper); overflow-y: auto; }
.site-overlay.active { display: block; }
.site-overlay-inner { display: flex; flex-direction: column; gap: 6px; padding: 96px 24px 32px; }
.site-overlay-inner .eyebrow { margin-bottom: 8px; }
.site-overlay-inner > a.nav-link { display: flex; align-items: center; gap: 16px; min-height: 56px; border-bottom: 1px solid var(--line); font: 400 28px/1 var(--font-display); }
.site-index { font: 11px var(--font-ibm-plex-mono); color: var(--muted); width: 24px; }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.mobile-menu-actions .site-recovery { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 15px; color: var(--ink); }
.mobile-menu-actions .site-recovery small { color: var(--muted); font-size: 12px; }
.site-note { font-size: 12px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { gap: 24px; width: min(100% - 40px, 1280px); margin: 28px auto 36px; display: grid; }
.hero-copy { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 14px; }
.hero-headline { text-wrap: initial; font-size: clamp(44px, 11.8vw, 68px); line-height: 1.07; }
.hero-sub { max-width: 460px; margin: 18px 0 0; font-size: 16px; line-height: 1.55; }

.transformation { grid-template-columns: 1fr; gap: 12px; min-width: 0; display: grid; }
.photo-label { text-align: center; color: var(--ink); letter-spacing: .14em; margin: 0 0 12px; font-size: 10px; }
.snapshots { justify-content: center; gap: 22px; padding-inline: 12px; display: flex; }
.snapshot { background: var(--surface-raised); border: 1px solid var(--line-soft); width: 39%; margin: 0; padding: 7px 7px 0; transform: rotate(-3deg); box-shadow: 1px 3px 8px #29231c16; }
.snapshot img { aspect-ratio: 1; object-fit: cover; object-position: center 35%; width: 100%; height: auto; }
.snapshot figcaption { padding: 5px 1px; font-size: 11px; }
.transform-arrow { justify-self: center; width: 34px; height: 34px; color: var(--ink); }
.after { padding-inline: 6px; }
.main-print { background: var(--surface-raised); border: 1px solid var(--line-soft); margin: 0; padding: 9px 9px 0; position: relative; transform: rotate(2deg); box-shadow: 2px 5px 12px #29231c1c; }
.main-print .main-video { aspect-ratio: 1.15; object-fit: cover; object-position: center 45%; width: 100%; height: auto; background: var(--surface-inset); }
.main-print figcaption { text-align: center; font: italic 23px/1.1 var(--font-instrument-serif); padding: 11px 0 13px; }
.tape { z-index: 1; background: #d9ccecde; width: 65px; height: 23px; position: absolute; top: -10px; right: 22px; transform: rotate(8deg); }
.hero-action { text-align: center; padding-right: 5px; }
.actions { flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 24px; display: flex; }
.hero-action p { margin: 14px 0 0; font-size: 13px; }
.hero-action .text-link { margin-top: 4px; }

/* --------------------------------------------------------------------------
   The photos
   -------------------------------------------------------------------------- */

.looks-section { background: var(--surface); padding: 36px 0; position: relative; }
.looks-section::before, .looks-section::after { content: ""; pointer-events: none; background-repeat: repeat-x; background-size: 20px 20px; height: 10px; position: absolute; inset-inline: 0; }
.looks-section::before { background-image: radial-gradient(circle at 10px 10px, var(--surface) 9.5px, transparent 10px); top: -10px; }
.looks-section::after { background-image: radial-gradient(circle at 10px 0, var(--surface) 9.5px, transparent 10px); bottom: -10px; }
.section-inner { width: min(100% - 40px, 1280px); margin: auto; }
.section-head { flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; display: flex; }
.section-head h2 { font-size: clamp(34px, 5vw, 48px); }
.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; display: grid; }
.look-card { min-width: 0; }
.look-image { aspect-ratio: 4 / 5; background: var(--line); border-radius: 4px; position: relative; overflow: hidden; }
.look-image video { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.look-card:hover video { transform: scale(1.025); }
.corners { position: absolute; inset: 0; pointer-events: none; }
.badge { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 3px 9px; font-size: 11px; font-weight: 600; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.look-label { justify-content: space-between; align-items: start; gap: 6px; margin-top: 12px; display: flex; }
.look-label h3 { margin: 0; font-size: 14px; font-weight: 700; }
.look-label svg { flex-shrink: 0; }
.look-card p { color: var(--muted); margin: 5px 0 0; font-size: 14px; line-height: 1.5; }
.sample-note { color: var(--muted); margin: 24px 0 0; font-size: 13px; max-width: 60ch; }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.how, .faq { width: min(100% - 40px, 1280px); margin: 60px auto; }
.how-heading { margin-bottom: 28px; }
.how-heading h2, .faq h2 { font-size: clamp(36px, 5vw, 56px); }
.how-heading .eyebrow { margin-bottom: 12px; }
.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; display: grid; }
.steps li { background: #f0eddd; border-radius: 14px; flex-direction: column; min-width: 0; padding: 16px 14px 20px; display: flex; position: relative; }
.steps li:nth-child(2) { background: #e9eddf; }
.steps li:nth-child(3) { background: #f4e6dc; }
.steps li:last-child { background: var(--lavender); }
.step-number { font: 10px/1.5 var(--font-ibm-plex-mono); letter-spacing: .08em; color: var(--muted); align-self: start; text-transform: uppercase; }
.step-copy { min-width: 0; }
.steps h3 { letter-spacing: -.025em; margin: 0 0 8px; font-size: 17px; line-height: 1.2; font-weight: 700; }
.steps p { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.6; }
.step-visual { justify-content: center; align-items: center; gap: 6px; width: 100%; height: 146px; margin: 8px 0 14px; display: flex; position: relative; }
.mini-look { background: var(--surface-raised); flex-shrink: 0; width: 40%; padding: 4px 4px 10px; position: relative; transform: rotate(-12deg); box-shadow: 1px 4px 8px #29231c20; }
.mini-look + .mini-look { margin-left: -12%; }
.mini-look img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; height: auto; }
.mini-look[data-selected="true"] { z-index: 1; transform: translateY(-6px) rotate(-12deg); }
.mini-look:nth-child(2) { transform: rotate(2deg); }
.mini-look[data-selected="true"]:nth-child(2) { transform: translateY(-6px) rotate(2deg); }
.mini-look:last-child { transform: rotate(14deg); }
.mini-look > span { background: var(--accent); display: grid; place-items: center; width: 22px; height: 22px; box-shadow: 0 0 0 2px var(--surface-raised); border-radius: 50%; position: absolute; top: -9px; right: -7px; }
.mini-look > span svg, .mini-subject .tick { width: 12px; height: 12px; stroke: var(--ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mini-subject .tick { width: 10px; height: 10px; vertical-align: -1px; margin-left: 2px; }
.mini-subject { width: 45%; max-width: 100px; }
.mini-subject img { aspect-ratio: 1; object-fit: cover; object-position: center 30%; width: 100%; height: auto; }
.visual1 { gap: 8px; }
.visual1 .mini-subject { background: var(--surface-raised); border-radius: 3px; padding: 4px; box-shadow: 0 3px 8px #29231c18; }
.visual1 .mini-subject:first-child { transform: rotate(-6deg); }
.visual1 .mini-subject:nth-child(2) { transform: translateY(8px) rotate(6deg); }
.mini-subject > span { text-align: center; padding: 5px 0 2px; font-size: 9px; display: block; }
.preview-print { background: var(--surface-raised); height: 124px; padding: 6px 6px 18px; position: relative; transform: rotate(6deg); box-shadow: 2px 5px 10px #29231c25; }
.preview-print::before { content: ""; background: #e7f36bcc; width: 42px; height: 15px; position: absolute; top: -7px; left: calc(50% - 21px); transform: rotate(-12deg); }
.preview-print img { aspect-ratio: 1; object-fit: cover; width: auto; height: 100%; }
.preview-print > span { text-align: center; font: 8px var(--font-ibm-plex-mono); letter-spacing: .14em; text-transform: uppercase; background: #fff9; padding-block: 4px; position: absolute; top: 46%; left: 6px; right: 6px; }
.how-note { text-align: center; font: italic 22px/1.3 var(--font-instrument-serif); margin: 24px 0 0; }
.how-action { margin-top: 20px; }
.how-action .cta { width: 100%; }

/* --------------------------------------------------------------------------
   Gift + prices
   -------------------------------------------------------------------------- */

.more-ways { display: grid; gap: 20px; width: min(100% - 40px, 1280px); margin: 48px auto; }

.gift-section { background: var(--lavender); border: 1px solid #c7bddb; border-radius: 8px; grid-template-columns: 36% minmax(0, 1fr); align-items: center; display: grid; overflow: hidden; }
.gift-art { position: relative; height: 270px; }
.gift-art-caption { display: none; }
.parcel { position: absolute; width: 70%; height: 64%; top: 12%; left: 8%; background: #cfc4e8; border-radius: 6px; }
.ribbon-across { position: absolute; left: 0; right: 0; top: calc(50% - 7px); height: 14px; background: var(--accent); }
.ribbon-down { position: absolute; top: 0; bottom: 0; left: calc(50% - 7px); width: 14px; background: var(--accent); }
.gift-portrait { position: absolute; width: 68%; padding: 5px 5px 0; top: 21%; left: 25%; margin: 0; background: var(--surface-raised); border: 1px solid var(--line-soft); transform: rotate(-4deg); box-shadow: 2px 5px 12px #29231c1c; }
.gift-portrait video { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gift-portrait figcaption { text-align: center; font: italic 15px/1.1 var(--font-instrument-serif); padding-block: 7px; }
.gift-note { position: absolute; left: 5%; top: 67%; padding: 10px; background: var(--surface-raised); border: 1px solid var(--line-soft); font: italic 16px/1.2 var(--font-instrument-serif); transform: rotate(-6deg); box-shadow: 1px 3px 8px #29231c16; }
.gift-note span { display: block; margin-top: 5px; font-size: 14px; }
.gift-copy { padding: 24px 20px; }
.gift-eyebrow { gap: 6px; margin-bottom: 12px; font-size: 11px; display: flex; align-items: center; }
.gift-eyebrow > span { display: none; }
.gift-copy h2 { font-size: clamp(30px, 3vw, 42px); }
.gift-description { margin: 16px 0; font-size: 15px; line-height: 1.6; max-width: 46ch; }
.gift-cta { min-height: 48px; padding-inline: 12px; font-size: 14px; max-width: 320px; }
.gift-price { text-align: left; margin-top: 14px; font-size: 13px; }
.gift-price span { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--ink); margin: 0 8px 2px; }
.gift-delivery { color: var(--muted); font-size: 13px; margin-top: 8px; }

.keepsakes { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; grid-template-columns: 36% minmax(0, 1fr); align-items: center; display: grid; overflow: hidden; }
.keepsake-art { position: relative; height: 270px; }
.keepsake-art img { position: absolute; width: 52%; aspect-ratio: 1; object-fit: cover; background: var(--surface-raised); padding: 5px; border: 1px solid var(--line-soft); box-shadow: 2px 5px 12px #29231c1c; }
.keepsake-art img:first-child { top: 10%; left: 10%; transform: rotate(-5deg); }
.keepsake-art img:last-child { top: 38%; left: 42%; transform: rotate(6deg); }
.keepsake-copy { padding: 24px 20px; }
.keepsake-copy .eyebrow { margin-bottom: 12px; }
.keepsake-copy h2 { font-size: clamp(30px, 3vw, 42px); }
.keepsake-copy p { margin: 16px 0; font-size: 15px; line-height: 1.6; max-width: 46ch; }
.keepsake-copy small { display: block; margin-top: 10px; color: var(--muted); font-size: 11px; }

/* --------------------------------------------------------------------------
   FAQ, closer, footer, privacy
   -------------------------------------------------------------------------- */

.faq { gap: 24px; display: grid; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; list-style: none; display: flex; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span { font-size: 24px; font-weight: 400; line-height: 1; transition: transform .16s; }
.faq details[open] summary > span { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 8px; font-size: 15px; line-height: 1.7; max-width: 62ch; }

.closer { border: 1px solid var(--line-strong); background: var(--lavender); border-radius: 6px; flex-wrap: wrap; align-items: center; gap: 20px; width: min(100% - 40px, 1280px); margin: 60px auto; padding: 28px 24px; display: flex; }
.closer-mascot { width: 60px; height: 60px; object-fit: cover; border-radius: 50%; border: 1px solid var(--ink); }
.closer > div { flex: 1; }
.closer h2 { font-size: 42px; }
.closer p { margin-bottom: 8px; font-size: 11px; }
.closer > a { margin: 6px 4px 5px 0; }

.site-footer { border-top: 1px solid var(--line-strong); gap: 20px; width: min(100% - 40px, 1280px); margin: 0 auto; padding: 28px 0 35px; display: grid; }
.footer-top { flex-direction: column; gap: 14px; display: flex; }
.footer-nav { flex-wrap: wrap; gap: 6px 24px; display: flex; }
.footer-link { min-height: 36px; color: var(--muted); align-items: center; font-size: 12px; display: inline-flex; }
.footer-link:hover { color: var(--ink); text-underline-offset: 4px; text-decoration: underline; }
.footer-legal { color: var(--muted); margin: 0; font-size: 10px; line-height: 1.7; }

/* Legal pages' older footer markup */
.footer-container { width: min(100% - 40px, 1280px); margin: 0 auto; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: center; }
.footer-bottom .copyright { color: var(--muted); font: 10px/1.7 var(--font-ibm-plex-mono); }
.footer-bottom .footer-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-bottom .footer-links a { min-height: 36px; color: var(--muted); align-items: center; font-size: 12px; display: inline-flex; }
.footer-bottom .footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.privacy-panel { position: fixed; left: 12px; bottom: 12px; z-index: 70; width: min(100% - 24px, 380px); background: var(--paper); border: 1px solid var(--ink); border-radius: 8px; box-shadow: 4px 5px 0 var(--ink); padding: 16px 18px; }
.privacy-panel[hidden] { display: none; }
.privacy-panel h2 { font: italic 22px/1.1 var(--font-instrument-serif); margin-bottom: 8px; }
.privacy-panel p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.privacy-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.privacy-bottom > a { font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.privacy-actions button { border: 1px solid var(--ink); white-space: nowrap; border-radius: 6px; min-height: 44px; padding: 8px 14px; font-size: 13px; font-weight: 600; background: var(--accent); }
.privacy-actions button:hover { background: #edfa7a; }

/* --------------------------------------------------------------------------
   Pricing popup (shared by home, dashboard, profile)
   -------------------------------------------------------------------------- */

.pricing-popup { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 16px; }
.pricing-popup.active { display: flex; }
.pricing-popup-video-bg { display: none; }
.pricing-popup-overlay { position: absolute; inset: 0; background: #29231cb3; }
.pricing-popup-container { position: relative; width: min(100%, 1080px); max-height: calc(100svh - 32px); overflow-y: auto; background: var(--paper); border: 1px solid var(--ink); border-radius: 8px; }
.pricing-popup-content { padding: 28px 28px 24px; }
.pricing-popup-header { margin-bottom: 18px; }
.pricing-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pricing-invite-title { font: 400 clamp(32px, 4vw, 48px) / 1.02 var(--font-display); letter-spacing: -.025em; }
.pricing-invite-sub { font: italic 20px/1.3 var(--font-instrument-serif); margin-top: 8px; }
.pricing-popup-close { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); }
.pricing-popup-close:hover { background: var(--surface); }
.pricing-email-wrap { max-width: 420px; margin-bottom: 24px; }
.email-input, .form-input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface-raised); color: var(--ink); font-size: 15px; }
.email-input::placeholder, .form-input::placeholder { color: var(--muted); }
.email-input:focus, .form-input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.email-error { color: var(--error); font-size: 13px; font-weight: 600; margin-top: 8px; }
.email-input.shake { animation: shake .4s ease-in-out; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.pricing-groups { display: grid; gap: 28px; }
.pricing-group-head { margin-bottom: 14px; }
.pricing-group-title { font: 400 28px/1.05 var(--font-display); letter-spacing: -.02em; }
.pricing-group-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.pricing-group + .pricing-group { padding-top: 24px; border-top: 1px dashed var(--line-dash); }
.pricing-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.pricing-plans-subs { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 700px; }
.pricing-plan { position: relative; display: flex; flex-direction: column; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 8px; padding: 22px 18px 18px; }
.pricing-plan-popular { border: 1.5px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); background: #f4f6d9; }
.plan-badge { position: absolute; top: -12px; left: 16px; padding: 3px 10px; border-radius: 999px; background: var(--accent); border: 1px solid var(--ink); color: var(--ink); font: 600 11px/1.5 var(--font-ibm-plex-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.plan-header { margin-bottom: 10px; }
.plan-name { font: 400 26px/1.05 var(--font-display); letter-spacing: -.02em; margin-bottom: 2px; }
.plan-credits { color: var(--muted); font-size: 14px; }
.plan-credits strong { color: var(--ink); }
.plan-price { margin-bottom: 14px; }
.price-per-video { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.price-per-video strong { color: var(--ink); }
.price-row { display: flex; align-items: baseline; gap: 2px; }
.price-original { color: var(--muted); text-decoration: line-through; margin-right: 6px; font-size: 14px; }
.price-currency { font: 400 20px/1 var(--font-display); }
.price-amount { font: 400 44px/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-period { color: var(--muted); font-size: 13px; margin-left: 4px; }
.plan-features { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.plan-features li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink); }
.plan-features li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 9px; height: 5px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.plan-value { margin-bottom: 12px; padding: 6px 10px; border-radius: 6px; background: var(--accent-wash); border: 1px solid var(--line); font-size: 12px; font-weight: 600; text-align: center; }
.btn-plan { width: 100%; min-height: 48px; border: 1px solid var(--ink); border-radius: var(--radius); background: 0 0; font-weight: 600; font-size: 14px; }
.btn-plan:hover { background: var(--surface); }
.btn-plan-primary { background: var(--accent); border-width: 1.5px; box-shadow: 4px 5px 0 var(--ink); font-weight: 700; }
.btn-plan-primary:hover { box-shadow: 5px 6px 0 var(--ink); background: #edfa7a; transform: translate(-1px, -1px); }
.btn-plan.btn-active { background: var(--surface-inset) !important; color: var(--muted) !important; box-shadow: none !important; cursor: default; }
.pricing-footnote { margin-top: 18px; text-align: center; font-size: 12px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Responsive, matching the studio's breakpoints
   -------------------------------------------------------------------------- */

@media (min-width: 900px) {
  .hero { grid-template-rows: auto 1fr; grid-template-columns: .9fr 1.1fr; gap: 24px 46px; margin: 56px auto 42px; }
  .hero-copy { padding-top: 24px; }
  .hero-headline { font-size: clamp(52px, 5.1vw, 74px); }
  .hero-sub { margin-top: 24px; font-size: 18px; }
  .transformation { grid-area: 1 / 2 / 3; grid-template-columns: .36fr 34px 1fr; align-items: center; gap: 12px; }
  .snapshots { flex-direction: column; gap: 20px; padding: 0; }
  .snapshot { width: 100%; }
  .snapshot img { aspect-ratio: 4 / 5; }
  .transform-arrow { transform: rotate(-65deg); }
  .after { align-self: start; padding: 0 5px 0 0; }
  .main-print { padding: 12px 12px 0; }
  .main-print .main-video { aspect-ratio: 4 / 4.6; }
  .main-print figcaption { padding-block: 16px; font-size: 25px; }
  .hero-action { text-align: left; grid-column: 1; align-self: start; }
  .actions { justify-content: start; }
  .actions > :first-child { width: 250px; }
  .hero-action p { margin-top: 24px; font-size: 14px; }
  .how { margin-block: 72px; }
  .how-heading { margin-bottom: 36px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; }
  .steps li { border-radius: 18px; min-height: 370px; padding: 22px 22px 28px; }
  .steps li:nth-child(2n) { margin-top: 24px; }
  .step-number { font-size: 11px; }
  .step-visual { gap: 8px; height: 190px; margin: 14px 0 24px; }
  .mini-subject > span { font-size: 11px; }
  .preview-print { height: 164px; }
  .preview-print::before { width: 56px; height: 20px; top: -10px; left: calc(50% - 28px); }
  .preview-print > span { font-size: 11px; }
  .steps h3 { font-size: 20px; }
  .steps p { font-size: 15px; }
  .how-note { margin-top: 32px; font-size: 26px; }
  .how-action { justify-content: center; margin-top: 28px; display: flex; }
  .how-action > a { width: 250px; }
  .section-inner { max-width: 1280px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .look-card { width: 100%; }
  .look-label h3 { font-size: 16px; }
  .look-card p { font-size: 15px; }
  .gallery-footer { flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 24px; display: flex; }
  .gallery-footer .sample-note { margin: 0; }
  .gallery-footer > a { min-width: 200px; }
  .more-ways { grid-template-columns: 1fr 1fr; gap: 20px; margin: 60px auto; }
  .gift-section, .keepsakes { grid-template-columns: 44% minmax(0, 1fr); }
  .gift-art, .keepsake-art { height: 100%; min-height: 320px; }
  .gift-copy, .keepsake-copy { padding: 36px 32px 36px 20px; }
  .gift-eyebrow { font-size: 11px; }
  .gift-eyebrow > span { display: inline-block; width: 18px; height: 1px; background: var(--muted); }
  .faq { grid-template-columns: 1fr 1.25fr; gap: 70px; margin-block: 80px; }
  .closer { flex-wrap: nowrap; padding: 32px 40px; }
  .closer > a { width: 260px; }
  .closer h2 { font-size: 54px; }
  .footer-top { flex-direction: row; justify-content: space-between; align-items: center; }
  .pricing-popup-content { padding: 32px 36px 28px; }
}

@media (max-width: 899px) {
  .site-bar { width: min(100% - 40px, 1280px); min-height: 72px; grid-template-columns: auto 1fr; gap: 12px; }
  .site-brand { width: auto; }
  .site-nav, .site-recovery { display: none; }
  .site-menu { display: inline-flex; align-items: center; }
  .site-cta { min-height: 40px; font-size: 12px; padding-inline: 12px; }
  .site-actions { gap: 10px; }
  .hero { gap: 20px; margin-top: 16px; }
  .snapshots .snapshot { width: 44%; }
  .gift-section .gift-art { height: 270px; }
  .keepsakes { grid-template-columns: 36% minmax(0, 1fr); }
  .pricing-popup { padding: 0; align-items: flex-end; }
  .pricing-popup-container { max-height: 100svh; border-radius: 8px 8px 0 0; border-bottom: 0; }
  .pricing-plans, .pricing-plans-subs { grid-template-columns: 1fr; gap: 20px; max-width: none; }
  .pricing-plan-popular { order: -1; }
}

@media (max-width: 599px) {
  .hero-headline { font-size: clamp(36px, 10.8vw, 46px); }
  .gift-section, .keepsakes { grid-template-columns: 1fr; }
  .gift-art, .keepsake-art { height: 300px; }
  .gift-portrait { width: 48%; left: 36%; top: 10%; }
  .gift-note { top: 56%; }
  .keepsake-art { height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Pages that still use the older header markup (dashboard, profile, legal)
   -------------------------------------------------------------------------- */

.navbar:not(.site-header) { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.navbar:not(.site-header) .navbar-container { grid-template-columns: auto 1fr auto; gap: 32px; width: min(100% - 64px, 1280px); min-height: 96px; margin: 0 auto; display: grid; align-items: center; }
.navbar:not(.site-header) .nav-links { justify-content: center; align-items: center; gap: clamp(18px, 2vw, 32px); display: flex; }
.navbar:not(.site-header) .nav-link { white-space: nowrap; align-items: center; min-height: 48px; font-size: 15px; font-weight: 500; display: inline-flex; position: relative; }
.navbar:not(.site-header) .nav-link::after { content: ""; bottom: 5px; background: var(--ink); transform-origin: 0; height: 2px; transition: transform .16s; position: absolute; inset-inline: 0; transform: scaleX(0); }
.navbar:not(.site-header) .nav-link:hover::after, .navbar:not(.site-header) .nav-link.active::after { transform: scaleX(1); }
.navbar:not(.site-header) .nav-actions { display: flex; align-items: center; gap: 12px; justify-content: end; }
.navbar:not(.site-header) .mobile-menu-btn { display: none; min-height: 44px; padding: 0 12px; border: 1px solid var(--ink); border-radius: var(--radius); font-weight: 600; font-size: 14px; }
.navbar:not(.site-header) .mobile-menu-btn::before { content: "Menu"; }
.navbar:not(.site-header) .mobile-menu-btn span { display: none; }
.mobile-menu:not(.site-overlay) { display: none; position: fixed; inset: 0; z-index: 60; background: var(--paper); overflow-y: auto; }
.mobile-menu:not(.site-overlay).active { display: block; }
.mobile-menu:not(.site-overlay) .mobile-menu-links { display: flex; flex-direction: column; gap: 6px; padding: 96px 24px 32px; }
.mobile-menu:not(.site-overlay) .nav-link { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font: 400 28px/1 var(--font-display); }
.mobile-menu:not(.site-overlay) .mobile-menu-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }

@media (max-width: 899px) {
  .navbar:not(.site-header) .navbar-container { width: min(100% - 40px, 1280px); min-height: 72px; grid-template-columns: auto 1fr; gap: 12px; }
  .navbar:not(.site-header) .nav-links { display: none; }
  .navbar:not(.site-header) .nav-actions { display: none; }
  .navbar:not(.site-header) .mobile-menu-btn { display: inline-flex; align-items: center; justify-self: end; }
}

/* Dropping a photo anywhere on the home page */
body.is-over .main-print { outline: 2px dashed var(--ink); outline-offset: 8px; }
body.is-over .main-print figcaption::after { content: " · drop it here"; }
body.is-busy .cta { opacity: .6; pointer-events: none; }

/* Gift section alone, without keepsakes */
.more-ways.single { grid-template-columns: 1fr; }
.more-ways.single .gift-section { grid-template-columns: 40% minmax(0, 1fr); }

/* Logo: the mark beside the wordmark; ".ai" in the studio citron */
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-mark { height: 34px; width: auto; display: block; }
.logo-text em, .auth-logo-text em { font-style: normal; color: #6b7a14; }
.site-brand { width: auto; }

/* Phone header: logo, a compact CTA and the menu on one row; menu overlay sits under the header so "Close" stays reachable */
body.menu-open .site-header { z-index: 70; }
@media (max-width: 899px) {
  .site-bar { gap: 8px; }
  .logo-mark { height: 26px; }
  .logo-text { font-size: 20px; }
  .site-cta { font-size: 12px; min-height: 38px; padding-inline: 10px; white-space: nowrap; }
  .site-cta span[aria-hidden] { display: none; }
  .site-actions { gap: 8px; }
  .transformation .arrow { display: none; }
  .gift-section .gift-art { height: 300px; }
}
@media (max-width: 420px) {
  .site-cta { font-size: 11px; padding-inline: 8px; }
  .logo-text { font-size: 18px; }
}
