/* ==========================================================================
   Photos By Phone — "Power in the Phone"
   Brand: logo purple + gold, flyer navy. Type: Newsreader + Instrument Sans.
   1 Fonts  2 Tokens  3 Base  4 Type  5 Header/nav  6 Buttons  7 Layout
   8 Components  9 Hero & motion art  10 Sections  11 Gallery/carousel/lightbox
   12 Forms  13 Dialog  14 Footer & utilities  15 Motion
   ========================================================================== */

/* 1. Fonts (self-hosted, SIL Open Font License — see /assets/fonts) */
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-italic-var.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* 2. Tokens */
:root {
  /* Logo purple */
  --purple-950: #1f0a3d;
  --purple-800: #4a0f8a;
  --purple-700: #6316b5;   /* buttons, text accents (white text 8.9:1) */
  --purple-600: #8a1ed0;   /* logo purple */
  --purple-300: #c9a6f2;
  --lav-100: #efe6fb;
  --lav-50: #f7f2fd;
  /* Logo gold */
  --gold-600: #b8891a;
  --gold-500: #d9a925;
  --gold-400: #f0cc60;
  --gold-200: #f8e7b0;
  --gold-text: #7d5a08;    /* gold readable on light (5.6:1) */
  /* Flyer navy */
  --navy-950: #0c1130;
  --navy-900: #131a45;
  --navy-800: #1c2660;
  /* Neutrals */
  --cream: #fbf8f2;
  --paper: #fffdf9;
  --sand: #efe8da;
  --ink: #1a1630;
  --ink-soft: #39344f;
  --muted: #5c5772;
  --on-dark: #f5f2fb;
  --on-dark-muted: #c9c3df;
  --line: rgba(26, 22, 48, 0.12);
  --line-strong: rgba(26, 22, 48, 0.26);
  --focus: #6316b5;

  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1.03rem, 0.99rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.4vw, 1.42rem);
  --step-2: clamp(1.4rem, 1.27rem + 0.7vw, 1.9rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.5vw, 2.75rem);
  --step-4: clamp(2.15rem, 1.65rem + 2.5vw, 3.7rem);
  --step-5: clamp(2.6rem, 1.6rem + 4.2vw, 5.4rem);

  --section: clamp(4rem, 3rem + 5vw, 8rem);
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --max: 1240px;
  --r-sm: 10px; --r-md: 18px; --r-lg: 30px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(31, 10, 61, 0.06), 0 2px 8px rgba(31, 10, 61, 0.05);
  --shadow-md: 0 10px 30px -10px rgba(31, 10, 61, 0.22), 0 2px 6px rgba(31, 10, 61, 0.06);
  --shadow-lg: 0 34px 70px -26px rgba(31, 10, 61, 0.45);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms; --dur: 320ms; --dur-slow: 900ms;
  --header-h: 76px;
}

/* 3. Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-sans); font-size: var(--step-0); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--purple-700); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--purple-800); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-200); color: var(--purple-950); }
address { font-style: normal; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--purple-700); color: #fff; padding: 0.7rem 1.4rem; border-radius: var(--r-pill); font-weight: 600; text-decoration: none; transition: top var(--dur-fast); }
.skip-link:focus { top: 0.75rem; color: #fff; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* 4. Typography */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 450; line-height: 1.07; letter-spacing: -0.018em; color: var(--purple-950); margin: 0 0 1rem; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: var(--step-5); font-weight: 400; letter-spacing: -0.028em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-1); line-height: 1.22; font-weight: 500; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--purple-600); font-weight: 400; }
p { margin: 0 0 1rem; text-wrap: pretty; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.65em; font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--purple-700); margin: 0 0 1rem; }
.eyebrow::before { content: ""; width: 1.9em; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold-500), var(--purple-600)); }
.numeral { display: block; font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--purple-600); margin-bottom: 0.4rem; }

/* 5. Header & navigation */
.topbar { background: var(--navy-950); color: var(--on-dark-muted); font-size: 0.82rem; }
.topbar__inner { display: flex; gap: 1.75rem; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: var(--gold-400); }
.topbar .icon { color: var(--gold-400); width: 15px; height: 15px; }
.topbar a:last-child { margin-left: auto; }
@media (max-width: 760px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 242, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(31, 10, 61, 0.45); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; flex: none; }
.brand__logo { width: auto; height: 52px; transition: transform 600ms var(--ease-out); }
.brand:hover .brand__logo { transform: rotate(-2deg) scale(1.04); }
.nav { display: flex; align-items: center; gap: 0.5rem; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 0.15rem; }
.nav__link {
  position: relative; display: block; padding: 0.55rem 0.7rem; text-decoration: none;
  font-size: 0.94rem; font-weight: 500; color: var(--ink-soft); border-radius: var(--r-pill); transition: color var(--dur-fast);
}
.nav__link::after { content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.25rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold-500), var(--purple-600)); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.nav__link:hover { color: var(--purple-950); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--purple-950); }
.nav__cta { margin-left: 0.6rem; }
.nav-toggle { display: none; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.5rem 1rem; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line-strong); cursor: pointer; font-weight: 600; font-size: 0.92rem; color: var(--purple-950); }
.nav-toggle__bars { width: 18px; height: 12px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after, .nav-toggle__bars span { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast); }
.nav-toggle__bars::before { top: 0; } .nav-toggle__bars span { top: 5px; } .nav-toggle__bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span { opacity: 0; }
@media (max-width: 1100px) {
  .brand__logo { height: 46px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: var(--cream); flex-direction: column; align-items: stretch; gap: 0;
    padding: 1.5rem var(--gutter) 3rem; overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity var(--dur) var(--ease-out), visibility 0s var(--dur);
  }
  .nav.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { font-family: var(--font-serif); font-size: 2.05rem; color: var(--purple-950); padding: 0.6rem 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { left: 0; right: auto; width: 2.4rem; bottom: 0.4rem; }
  .nav__cta { margin: 1.75rem 0 0; min-height: 54px; }
}

/* 6. Buttons & links */
.btn {
  --btn-bg: var(--purple-700); --btn-fg: #fff; --btn-bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 50px; padding: 0.75rem 1.45rem;
  border: 1.5px solid var(--btn-bd); border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1.2 var(--font-sans); letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur), background var(--dur), color var(--dur), border-color var(--dur);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 140% at 0% 50%, rgba(240, 204, 96, 0.42), transparent 55%); opacity: 0; transition: opacity var(--dur); }
a.btn, a.btn:visited, a.btn:hover, a.btn:focus { color: var(--btn-fg); }
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn .icon--arrow { transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon--arrow, .text-link:hover .icon--arrow { transform: translateX(3px); }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }
.btn--sm { min-height: 44px; padding: 0.55rem 1.15rem; font-size: 0.93rem; }
.btn--lg { min-height: 56px; padding: 0.9rem 1.8rem; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn--outline, .btn--ghost { --btn-bg: transparent; --btn-fg: var(--purple-950); --btn-bd: var(--line-strong); }
.btn--outline:hover, .btn--ghost:hover { --btn-bd: var(--purple-700); background: var(--paper); }
.btn--gold { --btn-bg: var(--gold-400); --btn-fg: #0b0b0f; }
.btn--gold::before { background: radial-gradient(120% 140% at 0% 50%, rgba(255, 255, 255, 0.55), transparent 55%); }
.btn--ghost-light, .btn--dark { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: rgba(245, 242, 251, 0.45); }
.btn--ghost-light:hover, .btn--dark:hover { --btn-bd: var(--on-dark); background: rgba(255, 255, 255, 0.07); }
.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; font-weight: 600; color: var(--purple-700); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1.5px no-repeat;
  transition: background-size var(--dur) var(--ease-out), color var(--dur-fast);
}
.text-link:hover { background-size: 100% 1.5px; color: var(--purple-950); }
.text-btn { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.75rem; }

/* 7. Layout */
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * 0.55) 0; }
.section--lavender { background: var(--lav-50); }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--navy-950); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark h2 em { color: var(--gold-400); }
.section--dark .eyebrow { color: var(--gold-400); }
.section--dark p { color: var(--on-dark-muted); }
.section--dark .text-link { color: var(--gold-200); }
.section--dark :focus-visible { outline-color: var(--gold-400); }
.section-head { max-width: 780px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p:not(.eyebrow) { color: var(--muted); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; }
.section-head--row > div { max-width: 720px; }
.section-head--row h2 { margin-bottom: 0; }
.section-head--row > p { max-width: 42ch; margin: 0; }
.split { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
  .split--top, .split--form { align-items: start; }
  .split--form .split__text { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

/* 8. Components */
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--lav-100); box-shadow: var(--shadow-lg); }
.frame img { width: 100%; height: auto; }
.frame--tall { aspect-ratio: auto; }
.frame--tall img { object-position: top; }
.frame--tilt { transform: rotate(-1.5deg); }
.note { border: 1px dashed var(--line-strong); border-radius: var(--r-md); padding: 1.1rem 1.35rem; background: rgba(255, 253, 249, 0.75); color: var(--ink-soft); }
.note__label { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-700); }

.cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cards--4, .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.75rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
}
.card::before { content: ""; position: absolute; left: 1.75rem; right: 1.75rem; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--gold-500), var(--purple-600)); transform: scaleX(0.25); transform-origin: left; transition: transform var(--dur-slow) var(--ease-out); }
.card:hover { --lift: -4px; box-shadow: var(--shadow-md); border-color: var(--lav-100); }
.card:hover::before { transform: scaleX(1); }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { color: inherit; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .text-link { margin-top: auto; }
.card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, var(--lav-100), var(--gold-200)); color: var(--purple-700); margin-bottom: 1.1rem; transition: transform var(--dur-slow) var(--ease-out); }
.card__icon .icon { width: 24px; height: 24px; }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }

.steps-list { list-style: none; border-top: 1px solid var(--line); }
.steps-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 0.75rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.steps-list .numeral { margin: 0.15rem 0 0; font-size: 1.35rem; }
.steps-list h3 { font-size: var(--step-1); margin-bottom: 0.25rem; }
.steps-list p { color: var(--muted); margin: 0; font-size: 0.98rem; }

.pathway { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 760px) { .pathway { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pathway__step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; }
.pathway__step::after { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--gold-500), var(--purple-600)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.pathway__step.is-visible::after { transform: scaleX(1); }
.pathway__num { display: block; font-family: var(--font-serif); font-style: italic; font-size: 2rem; line-height: 1; color: var(--purple-600); margin-bottom: 0.9rem; }
.pathway__step h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.pathway__step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.75rem 0; }
.stats div { border-top: 2px solid var(--purple-600); padding-top: 0.75rem; }
.stats dt { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.stats dd { margin: 0.25rem 0 0; font-family: var(--font-serif); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; color: var(--purple-950); font-variant-numeric: tabular-nums; }

.timeline { list-style: none; border-left: 2px solid var(--lav-100); margin: 2rem 0 0 0.4rem; }
.timeline li { position: relative; padding: 0 0 1.75rem 1.75rem; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 0.45rem; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px var(--lav-100); }
.timeline h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.timeline p { color: var(--muted); margin: 0; }

/* Price list */
.price-list { list-style: none; margin: 1.5rem 0 0; max-width: 520px; }
.price-list li { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.price-list__item { font-family: var(--font-serif); font-size: var(--step-1); color: var(--purple-950); }
.price-list__dots { flex: 1; border-bottom: 2px dotted var(--line-strong); transform: translateY(-0.3em); }
.price-list__price { font-weight: 700; font-size: 1.1rem; color: var(--purple-700); font-variant-numeric: tabular-nums; }
.price-art { position: relative; }
.discount {
  position: relative; margin-top: 1.5rem; padding: 1.25rem 1.5rem; border-radius: var(--r-md); max-width: 420px;
  background: linear-gradient(120deg, #c9971d, #f0cc60 45%, #d9a925 70%, #f6dd8a); background-size: 220% 100%;
  color: var(--navy-950); box-shadow: var(--shadow-md); border: 1px solid rgba(125, 90, 8, 0.35);
}
.price-art .discount { position: absolute; right: -0.5rem; bottom: -1.5rem; margin: 0; }
@media (max-width: 899px) { .price-art .discount { position: relative; right: auto; bottom: auto; margin-top: -2rem; margin-left: 1rem; } }
.discount__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 0.35rem; }
.discount__line { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.25; margin: 0; }
.discount strong { font-weight: 700; }

/* Promos */
.promos { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 640px) { .promos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.promo { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
.promo:hover { --lift: -4px; box-shadow: var(--shadow-md); }
.promo__media { display: block; padding: 0; border: 0; cursor: zoom-in; background: var(--navy-900); overflow: hidden; }
.promo__media img { width: 100%; height: auto; }
.promo__body { padding: 1.35rem 1.5rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.promo__body h3 { margin-bottom: 0.4rem; }
.promo__body p { color: var(--muted); font-size: 0.96rem; }
.promo__body .text-link { margin-top: auto; }
.promo__tag { display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); background: var(--gold-200); padding: 0.3rem 0.7rem; border-radius: var(--r-pill); margin-bottom: 0.75rem; }

/* Service groups */
.service-groups { display: grid; gap: 1rem; }
@media (min-width: 640px) { .service-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .service-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-group { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; }
.service-group h3 { font-size: 1.2rem; margin-bottom: 0.9rem; }
.service-group ul { list-style: none; display: grid; gap: 0.15rem; }
.service-group li { position: relative; padding: 0.3rem 0 0.3rem 1.1rem; font-size: 0.95rem; color: var(--ink-soft); border-bottom: 1px dashed var(--line); }
.service-group li:last-child { border-bottom: 0; }
.service-group li::before { content: ""; position: absolute; left: 0; top: 0.85rem; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.service-groups + .note { margin-top: 1.5rem; }

/* Product specs */
.product__specs { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; width: 100%; font-size: 0.92rem; margin: 0.25rem 0 0.75rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.product__specs dt { color: var(--muted); font-weight: 600; }
.product__specs dd { margin: 0; color: var(--ink); }


/* Banner pricing (dark) */
.aura--dark { inset: -30% auto auto -20%; background: radial-gradient(closest-side, rgba(138, 30, 208, 0.35), transparent 70%), radial-gradient(closest-side at 70% 60%, rgba(240, 204, 96, 0.14), transparent 70%); }
.price-list--dark li { border-color: rgba(255, 255, 255, 0.12); }
.price-list--dark .price-list__item { color: #fff; }
.price-list--dark .price-list__dots { border-color: rgba(255, 255, 255, 0.25); }
.price-list--dark .price-list__price { color: var(--gold-400); }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 1rem; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0.3rem 0.9rem; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, 0.28); color: var(--on-dark); font-size: 0.88rem; font-weight: 600; }
.chip--gold { background: var(--gold-400); border-color: var(--gold-400); color: var(--navy-950); }
.banner-frame { max-width: 440px; width: 100%; justify-self: center; background: #000; }
.section--dark .small a { color: var(--gold-200); }

/* Canvas wall showcase */
.wall { display: grid; gap: 1rem; }
@media (min-width: 900px) { .wall { grid-template-columns: 2fr 1fr; align-items: start; } .wall__item--a { grid-row: span 2; } }
.wall__item { position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--sand); cursor: zoom-in; box-shadow: var(--shadow-lg); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.wall__item:hover { transform: translateY(-4px); }
.wall__item img { width: 100%; height: auto; }
.wall__tag { position: absolute; left: 1rem; bottom: 1rem; padding: 0.35rem 0.85rem; border-radius: var(--r-pill); background: rgba(255, 253, 249, 0.92); color: var(--purple-950); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.gallery--videos { columns: 3 220px; }
.footer-note { margin: 0.75rem 0 0; font-size: 0.88rem; }
[data-restoration-set]:not(.is-ready) { min-height: 480px; }

/* 9. Hero & motion art */
.aura {
  position: absolute; z-index: -1; pointer-events: none;
  inset: -25% -15% auto auto; width: min(980px, 130vw); aspect-ratio: 1;
  background:
    radial-gradient(closest-side, rgba(240, 204, 96, 0.32), transparent 70%),
    radial-gradient(closest-side at 28% 72%, rgba(138, 30, 208, 0.22), transparent 70%);
  filter: blur(12px);
}
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(2.5rem, 2rem + 4vw, 5rem) 0 clamp(3rem, 2rem + 5vw, 6.5rem); }
.hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.08fr 0.92fr; } }
.hero h1 { font-size: clamp(2.7rem, 1.3rem + 4vw, 5.2rem); margin-bottom: 1.4rem; }
[data-lines] .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
[data-lines] .line > span { display: inline-block; }
.hero .lede { max-width: 40ch; }
.hero__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.75rem; font-size: 0.92rem; }
.hero__meta li { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--muted); }
.hero__meta .icon { color: var(--purple-600); width: 17px; height: 17px; }
.hero__meta a { color: var(--ink-soft); }

.hero-art { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1.08; justify-self: center; }
.hero-art__halo { position: absolute; inset: 6% 8%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(240, 204, 96, 0), rgba(240, 204, 96, 0.65), rgba(138, 30, 208, 0.5), rgba(99, 22, 181, 0.25), rgba(240, 204, 96, 0)); filter: blur(26px); }
.phone {
  position: absolute; z-index: 3; left: 24%; top: 4%; width: 52%; aspect-ratio: 9 / 17.5; margin: 0;
  rotate: -6deg;
  padding: 9px; border-radius: 40px; background: linear-gradient(145deg, #2a2148, #0c1130);
  box-shadow: 0 0 0 2px var(--gold-400), var(--shadow-lg), 0 40px 80px -30px rgba(99, 22, 181, 0.6);
}
.phone::before { content: ""; position: absolute; z-index: 2; top: 16px; left: 35%; width: 30%; height: 18px; border-radius: 999px; background: #0c1130; }
.phone__screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--navy-900); }
.phone__screen { display: grid; place-items: center; }
.phone__screen img { width: 100%; height: 100%; object-fit: contain; }
.phone--hero { position: relative; left: auto; top: auto; width: min(320px, 78%); margin: 0 auto; }
.hero-art__print { position: absolute; z-index: 2; width: 40%; padding: 7px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; }
.hero-art__print img { width: 100%; height: auto; border-radius: 7px; }
.hero-art__print--a { left: 1%; top: 10%; rotate: -14deg; }
.hero-art__print--b { right: 0; bottom: 6%; rotate: 11deg; }
.hero-art__badge {
  position: absolute; z-index: 4; left: -2%; bottom: 4%; max-width: 190px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0.9rem 1.15rem; box-shadow: var(--shadow-md);
}
.hero-art__badge strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 2.3rem; line-height: 1; color: var(--purple-700); font-variant-numeric: tabular-nums; }
.hero-art__badge > span { font-size: 0.82rem; color: var(--muted); }
.hero-art__flash { position: absolute; z-index: 5; left: 24%; top: 4%; width: 52%; aspect-ratio: 9 / 17.5; rotate: -6deg; border-radius: 40px; background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%); opacity: 0; pointer-events: none; }
.spark { position: absolute; z-index: 4; color: var(--gold-500); width: 30px; height: 30px; }
.spark .icon { width: 100%; height: 100%; }
.spark--1 { top: 2%; right: 16%; } .spark--2 { top: 20%; right: 4%; width: 18px; height: 18px; color: var(--purple-600); }
.spark--3 { bottom: 30%; left: 2%; width: 20px; height: 20px; } .spark--4 { bottom: 2%; right: 30%; width: 16px; height: 16px; color: var(--purple-600); }
@media (max-width: 559px) { .hero-art__badge { left: 0; bottom: -2%; } }

/* Page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(2.5rem, 2rem + 4vw, 5rem) 0 clamp(2.75rem, 2rem + 4vw, 5rem); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1.1fr 0.9fr; } }
.page-hero__solo { max-width: 920px; }
.page-hero__title { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.6rem); }
.page-hero__media { position: relative; max-width: 440px; width: 100%; justify-self: center; }
.page-hero__media > img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

/* 10. Sections */
.ribbon { overflow: hidden; background: var(--navy-950); color: var(--on-dark); padding: 1.15rem 0; border-block: 1px solid rgba(255, 255, 255, 0.06); }
.ribbon__track { display: flex; width: max-content; }
.ribbon__set { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.75rem); margin: 0; padding-right: clamp(1.25rem, 3vw, 2.75rem); font-family: var(--font-serif); font-size: clamp(1.5rem, 1.15rem + 1.8vw, 2.6rem); font-weight: 300; letter-spacing: -0.01em; white-space: nowrap; }
.ribbon__set em { color: var(--gold-200); }
.ribbon__set i { display: inline-flex; width: 0.5em; height: 0.5em; color: var(--gold-400); }
.ribbon__set i .icon { width: 100%; height: 100%; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }

.statement { background: var(--paper); border-bottom: 1px solid var(--line); }
.statement__big { font-size: var(--step-4); font-weight: 350; line-height: 1.12; max-width: 22ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.statement__cols { display: grid; gap: 2rem; }
@media (min-width: 760px) { .statement__cols { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.statement__cols h3 { margin-bottom: 0.4rem; }
.statement__cols p { color: var(--muted); }
[data-delay="1"] { --reveal-delay: 120ms; } [data-delay="2"] { --reveal-delay: 240ms; }

/* Collage */
.collage { position: relative; min-height: 520px; }
.collage figure { position: absolute; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-900); }
.collage img { width: 100%; height: auto; }
.collage__a { left: 0; top: 0; width: 64%; }
.collage__b { right: 0; bottom: 0; width: 46%; border: 6px solid var(--paper); }
@media (max-width: 899px) { .collage { min-height: 0; aspect-ratio: 1 / 1.12; max-width: 520px; margin: 0 auto; width: 100%; } }

/* $95 offer */
.offer {
  --mx: 70%; --my: 30%;
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 1.5rem 3rem; align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem); border-radius: var(--r-lg);
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(240, 204, 96, 0.22), transparent 45%), linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 45%, var(--purple-800) 100%);
  color: var(--on-dark); box-shadow: var(--shadow-lg);
}
@media (min-width: 960px) { .offer { grid-template-columns: auto 1fr auto; } }
.offer__price { font-family: var(--font-serif); font-weight: 300; font-size: clamp(5.5rem, 13vw, 10rem); line-height: 0.8; letter-spacing: -0.05em; margin: 0; color: var(--gold-400); }
.offer__price sup { font-size: 0.36em; vertical-align: top; position: relative; top: 0.22em; margin-right: 0.04em; }
.offer .eyebrow { color: var(--gold-400); }
.offer__title { color: #fff; font-size: var(--step-3); margin-bottom: 1rem; }
.offer__items { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.offer__items li { border: 1px solid rgba(240, 204, 96, 0.55); color: var(--gold-200); border-radius: var(--r-pill); padding: 0.35rem 1rem; font-weight: 600; font-size: 0.93rem; }
.offer__note { margin: 1rem 0 0; color: var(--on-dark-muted); max-width: 52ch; }
.offer :focus-visible { outline-color: var(--gold-400); }
.offer__spark { position: absolute; color: var(--gold-400); opacity: 0.7; pointer-events: none; }
.offer__spark .icon { width: 100%; height: 100%; }
.offer__spark--a { top: 12%; left: 30%; width: 22px; height: 22px; }
.offer__spark--b { bottom: 14%; left: 8%; width: 14px; height: 14px; }
.offer__spark--c { top: 18%; right: 6%; width: 18px; height: 18px; }

/* Contact band */
.contact-band {
  --mx: 30%; --my: 20%;
  position: relative; overflow: hidden; display: grid; gap: 2rem 3rem; align-items: end;
  padding: clamp(2rem, 4vw, 3.5rem); border-radius: var(--r-lg);
  background: radial-gradient(700px circle at var(--mx) var(--my), rgba(138, 30, 208, 0.35), transparent 50%), var(--navy-950);
  color: var(--on-dark); box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .contact-band { grid-template-columns: 1.1fr 0.9fr; } }
.contact-band h2 { color: #fff; } .contact-band h2 em { color: var(--gold-400); }
.contact-band .eyebrow { color: var(--gold-400); }
.contact-band p { color: var(--on-dark-muted); }
.contact-band .btn-row + .small { margin-top: 1rem; }
.btn-row + .small, .btn-row + p { margin-top: 1rem; }
.contact-band :focus-visible { outline-color: var(--gold-400); }
.contact-lines, .contact-card { display: grid; gap: 0.5rem; }
.contact-line { display: flex; gap: 0.9rem; align-items: flex-start; padding: 0.9rem 1rem; border-radius: var(--r-md); text-decoration: none; color: inherit; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); transition: background var(--dur), transform var(--dur) var(--ease-out); overflow-wrap: anywhere; margin: 0; }
.contact-line:hover { background: rgba(255, 255, 255, 0.1); transform: translateX(4px); color: #fff; }
.contact-line .icon { width: 22px; height: 22px; color: var(--gold-400); margin-top: 0.15rem; }
.contact-line small { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--gold-200); margin-bottom: 0.1rem; font-family: var(--font-sans); }
.contact-line > span { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.3; }
.contact-line--static > span { font-family: var(--font-sans); font-size: 0.95rem; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem; box-shadow: var(--shadow-md); }
.contact-card .contact-line { background: var(--lav-50); border-color: var(--line); color: var(--ink); }
.contact-card .contact-line:hover { background: var(--lav-100); color: var(--purple-950); }
.contact-card .contact-line--static:hover { transform: none; background: var(--lav-50); }
.contact-card .contact-line .icon { color: var(--purple-600); }
.contact-card .contact-line small { color: var(--purple-700); }
.contact-card__social { display: flex; gap: 0.5rem; padding-top: 0.5rem; }

/* Compare */
.compare-wrap, .compare-set { display: grid; gap: 2rem; }
.compare { --pos: 50%; position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--lav-100); user-select: none; touch-action: pan-y; box-shadow: var(--shadow-lg); }
.compare img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__after { display: block; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.25); pointer-events: none; }
.compare__handle { position: absolute; top: 50%; left: var(--pos); width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--paper); color: var(--purple-700); pointer-events: none; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--gold-400), var(--shadow-md); font-weight: 700; letter-spacing: -0.1em; font-size: 1.1rem; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare__range:focus-visible ~ .compare__handle { outline: 3px solid var(--purple-700); outline-offset: 4px; }
.compare__label { position: absolute; top: 14px; z-index: 1; pointer-events: none; background: rgba(12, 17, 48, 0.78); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: var(--r-pill); }
.compare__label--before { left: 14px; } .compare__label--after { right: 14px; }
.compare-caption { margin-top: 0.75rem; font-size: 0.9rem; color: var(--muted); }

.about-frame { max-width: 480px; width: 100%; justify-self: center; }

/* 11. Gallery, carousel, lightbox */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter-btn { min-height: 44px; padding: 0.5rem 1.15rem; border-radius: var(--r-pill); cursor: pointer; background: var(--paper); border: 1px solid var(--line-strong); color: var(--ink-soft); font-size: 0.93rem; font-weight: 500; transition: all var(--dur) var(--ease-out); }
.filter-btn:hover { border-color: var(--purple-700); color: var(--purple-950); }
.filter-btn[aria-pressed="true"] { background: var(--purple-700); border-color: var(--purple-700); color: #fff; box-shadow: 0 8px 20px -10px rgba(99, 22, 181, 0.6); }
.filter-count { opacity: 0.65; margin-left: 0.35rem; font-size: 0.82em; }
.gallery { columns: 3 280px; column-gap: 1rem; }
[data-gallery]:not(.is-ready) { min-height: 140vh; }
.gallery--mini { columns: 2 200px; }
.gallery > .tile { break-inside: avoid; margin-bottom: 1rem; }
.gallery-empty { padding: 3rem; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--r-md); color: var(--muted); }
.tile { position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0; background: var(--navy-900); cursor: zoom-in; overflow: hidden; border-radius: var(--r-md); text-align: left; color: #fff; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur), transform var(--dur) var(--ease-out); }
.tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.tile img { width: 100%; height: auto; transition: transform 1s var(--ease-out); }
.tile__caption { position: absolute; inset: auto 0 0 0; padding: 3rem 1rem 0.9rem; background: linear-gradient(transparent, rgba(12, 17, 48, 0.92)); display: flex; justify-content: space-between; align-items: end; gap: 0.75rem; opacity: 0; transform: translateY(8px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.tile__title { font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.tile__cat { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); white-space: nowrap; }
.tile__play, .slide__play { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255, 253, 249, 0.92); box-shadow: 0 0 0 6px rgba(255, 253, 249, 0.25); display: grid; place-items: center; transition: transform var(--dur) var(--ease-out); }
.tile__play::before, .slide__play::before { content: ""; border-left: 18px solid var(--purple-700); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.tile:hover .tile__play { transform: scale(1.1); }

.tile:hover .tile__caption, .tile:focus-visible .tile__caption { opacity: 1; transform: none; }
@media (hover: none) { .tile__caption { opacity: 1; transform: none; } }

.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  --slide-h: clamp(380px, 62vh, 540px);
  display: flex; align-items: flex-start; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0.5rem max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 1.5rem; scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 auto; scroll-snap-align: center; transition: transform 600ms var(--ease-out), opacity 600ms var(--ease-out); }
.slide__btn { position: relative; display: block; height: var(--slide-h); padding: 0; border: 0; cursor: zoom-in; border-radius: var(--r-md); overflow: hidden; background: var(--navy-900); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); transition: transform 600ms var(--ease-out); }
.slide__btn:hover { transform: translateY(-4px); }
.slide__btn img, .slide__btn video { display: block; height: 100%; width: auto; max-width: calc(100vw - 2 * var(--gutter)); object-fit: contain; }
.slide__cap { width: 0; min-width: 100%; }
.slide__badge { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-950); background: var(--gold-400); padding: 0.3rem 0.65rem; border-radius: var(--r-pill); }
.slide__cap { margin-top: 0.9rem; color: var(--on-dark); font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.25; }
.slide__cap small { display: block; font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 0.2rem; }
.carousel.is-ready .slide:not(.is-active) { transform: scale(0.96); }
.carousel.is-ready .slide:not(.is-active) .slide__btn img, .carousel.is-ready .slide:not(.is-active) .slide__btn video { filter: brightness(0.8); }
.slide__btn img, .slide__btn video { transition: filter 600ms var(--ease-out); }
.carousel__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; }
.carousel__btn { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(245, 242, 251, 0.35); background: transparent; color: var(--on-dark); cursor: pointer; transition: background var(--dur), border-color var(--dur), transform var(--dur) var(--ease-out); }
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--gold-400); transform: translateY(-1px); }
.carousel__btn--play .i-play { display: none; }
.carousel__btn--play[aria-pressed="true"] .i-play { display: block; }
.carousel__btn--play[aria-pressed="true"] .i-pause { display: none; }
.carousel__dots { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.carousel__dot { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.carousel__dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(245, 242, 251, 0.35); transition: width var(--dur) var(--ease-out), background var(--dur); }
.carousel__dot[aria-current="true"]::before { width: 22px; background: var(--gold-400); }
.carousel__timer { flex: 1; height: 2px; background: rgba(245, 242, 251, 0.15); border-radius: 2px; overflow: hidden; min-width: 60px; }
.carousel__timer span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold-400), var(--purple-300)); transform-origin: left; transform: scaleX(0); }
@media (max-width: 559px) { .carousel__timer { display: none; } .carousel__dots { flex: 1; } }

dialog { padding: 0; border: 0; color: inherit; background: transparent; max-width: none; max-height: none; }
.lightbox { width: 100%; height: 100%; margin: 0; background: rgba(12, 17, 48, 0.97); color: var(--on-dark); }
.lightbox::backdrop { background: rgba(12, 17, 48, 0.97); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 64px 76px 20px; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; touch-action: pan-y; }
.lightbox__stage img, .lightbox__stage video { max-width: 100%; max-height: calc(100svh - 160px); width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7); }
.lightbox__bar { display: flex; justify-content: space-between; gap: 1rem; padding-top: 0.9rem; color: var(--on-dark-muted); font-size: 0.92rem; }
.lightbox__title { color: #fff; font-family: var(--font-serif); font-size: 1.15rem; }
.lightbox__nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; font-size: 1.35rem; cursor: pointer; display: grid; place-items: center; transition: background var(--dur); }
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.18); }
.lightbox__nav--prev { left: 12px; } .lightbox__nav--next { right: 12px; }
.lightbox .icon-btn { top: 12px; right: 12px; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.lightbox :focus-visible { outline-color: var(--gold-400); }
.lightbox__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.media-missing { padding: 2.5rem; border: 1px dashed rgba(255, 255, 255, 0.3); border-radius: var(--r-md); text-align: center; max-width: 440px; }
@media (max-width: 640px) { .lightbox__inner { padding: 60px 12px 16px; } .lightbox__nav { top: auto; bottom: 64px; margin: 0; } }

/* 12. Forms */
.form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field > label, .fieldset legend { font-weight: 600; font-size: 0.93rem; color: var(--purple-950); }
.req { color: var(--purple-600); margin-left: 2px; }
.opt { color: var(--muted); font-weight: 400; font-size: 0.85rem; margin-left: 4px; }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 0.8rem 1rem; background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); color: var(--ink); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.textarea { min-height: 150px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--purple-700); box-shadow: 0 0 0 4px rgba(99, 22, 181, 0.15); }
.input::placeholder, .textarea::placeholder { color: #8b879c; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #b3261e; }
.field-hint { font-size: 0.86rem; color: var(--muted); margin: 0; }
.field-error { font-size: 0.87rem; font-weight: 500; color: #a1231c; margin: 0; }
.field-error:empty { display: none; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.fieldset legend { padding: 0; margin-bottom: 0.6rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0.55rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); cursor: pointer; font-size: 0.92rem; background: #fff; transition: all var(--dur-fast); }
.choice span:hover { border-color: var(--purple-700); }
.choice input:checked + span { background: var(--purple-700); color: #fff; border-color: var(--purple-700); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; align-items: start; font-size: 0.93rem; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--purple-700); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { border-radius: var(--r-sm); padding: 0.9rem 1.1rem; font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status.is-error { background: #fdf1f0; border: 1px solid #efc3bf; color: #6d1a14; }
.form-status.is-success { background: #eef7f1; border: 1px solid #b7dcc4; color: #17432a; }
.form-success h3 { font-size: var(--step-3); margin-bottom: 0.75rem; }
.form-note { font-size: 0.86rem; color: var(--muted); margin: 0; }

/* 13. Dialog (popup) */
.popup { width: min(560px, calc(100% - 32px)); margin: auto; }
.popup::backdrop { background: rgba(12, 17, 48, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.popup__panel { position: relative; overflow: hidden; background: var(--paper); border-radius: var(--r-lg); padding: clamp(1.75rem, 5vw, 2.75rem); box-shadow: var(--shadow-lg); }
.popup__panel::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 320px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(240, 204, 96, 0.35), transparent); pointer-events: none; }
.popup__spark { position: absolute; top: 1.5rem; right: 4.5rem; width: 22px; height: 22px; color: var(--gold-500); }
.popup__spark .icon { width: 100%; height: 100%; }
.popup__title { font-size: clamp(1.9rem, 5vw, 2.5rem); margin: 0 2rem 0.75rem 0; }
.popup .field { margin: 1.25rem 0 1rem; }
.popup .btn { margin-top: 1rem; }
.icon-btn { position: absolute; z-index: 2; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 1.45rem; line-height: 1; color: var(--ink); transition: border-color var(--dur), transform var(--dur) var(--ease-out); }
.icon-btn:hover { border-color: currentColor; transform: rotate(90deg); }

/* 14. Footer & utilities */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: clamp(3.5rem, 6vw, 5.5rem) 0 2rem; font-size: 0.95rem; }
.site-footer a:not(.btn) { color: var(--on-dark); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--gold-400); }
.site-footer :focus-visible { outline-color: var(--gold-400); }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; align-items: center; } }
.footer-logo { display: inline-block; padding: 0.9rem 1.2rem; border-radius: var(--r-md); background: var(--paper); box-shadow: 0 0 0 1px rgba(240, 204, 96, 0.35); }
.footer-logo__img { width: 220px; height: auto; }
.footer-tagline { font-family: var(--font-serif); font-style: italic; color: var(--gold-200); font-size: 1.15rem; margin: 1.1rem 0 0.4rem; }
.footer-brand p:not(.footer-tagline) { max-width: 46ch; }
.footer-cta__title { font-family: var(--font-serif); font-size: var(--step-3); line-height: 1.12; color: #fff; margin: 0; }
.footer-cta__title em { color: var(--gold-400); }
.footer-cta .btn-row { margin-top: 1.25rem; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; padding: 2.5rem 0; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-grid h2 { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-400); font-weight: 700; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-grid li, .footer-grid address { overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; }

.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--purple-600), var(--gold-400)); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 80; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--paper); color: var(--purple-700); box-shadow: var(--shadow-md); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity var(--dur), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur), transform var(--dur) var(--ease-out); }
.to-top:hover { transform: translateY(-2px); }
.to-top svg { width: 100%; height: 100%; }
.to-top__track { fill: none; stroke: var(--lav-100); stroke-width: 3; }
.to-top__ring { fill: none; stroke: var(--purple-600); stroke-width: 3; stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; stroke-dasharray: 132; stroke-dashoffset: calc(132 - 132 * var(--progress, 0)); }
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(251, 248, 242, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform var(--dur) var(--ease-out); }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { min-height: 48px; padding: 0.6rem 0.9rem; }
  body { padding-bottom: 76px; }
  .to-top { bottom: 84px; }
}

.simple-page { position: relative; isolation: isolate; overflow: hidden; min-height: 70vh; display: grid; align-items: center; text-align: center; }
.simple-page h1 { margin-inline: auto; max-width: 16ch; }
.simple-page p { margin-inline: auto; }
.simple-page .btn-row { justify-content: center; }
.simple-page__big { font-family: var(--font-serif); font-size: clamp(6rem, 20vw, 13rem); line-height: 0.85; margin: 0; color: var(--purple-600); font-weight: 300; }
.simple-page .aura { inset: -20% auto auto 50%; translate: -50% 0; }

/* 15. Motion — content is fully visible without JS or with reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal], .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
  .js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--r-lg)); transition: clip-path 1.3s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
  .js [data-reveal].is-visible, .js .reveal.is-visible { opacity: 1; transform: none; }
  .js [data-reveal="mask"].is-visible { clip-path: inset(0 0 0 0 round var(--r-lg)); }
  .js .card[data-reveal].is-visible, .js .promo[data-reveal].is-visible { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
  .js .frame--tilt[data-reveal="mask"].is-visible { transform: rotate(-1.5deg); }

  /* Word-by-word heading reveal (blur → sharp) */
  /* "Rack focus": words start blurred and pull into focus (kept fully opaque for contrast) */
  .js [data-words] .w { display: inline-block; filter: blur(8px); transform: translateY(0.18em); transition: filter 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
  .js [data-words].is-visible .w { filter: none; transform: none; }

  /* Hero headline: line-by-line rise on load */
  .js [data-lines] .line > span { transform: translateY(108%); animation: rise 1.05s var(--ease-out) forwards; }
  .js [data-lines] .line:nth-child(2) > span { animation-delay: 120ms; }
  .js [data-lines] .line:nth-child(3) > span { animation-delay: 240ms; }
  .js .fade-in { opacity: 0; animation: fadeUp 0.9s var(--ease-out) forwards; animation-delay: 420ms; }
  .js .fade-in + .fade-in { animation-delay: 560ms; }
  .js .fade-in + .fade-in + .fade-in { animation-delay: 700ms; }

  /* Hero motion graphic: prints slide out from behind the phone, then float */
  .js .hero-art .phone { animation: phoneIn 1.1s var(--ease-out) both 0.15s, floatY 7s var(--ease-in-out) infinite alternate 1.3s; }
  .js .hero-art__print--a { animation: printA 1.3s var(--ease-out) both 0.55s, floatY 8s var(--ease-in-out) infinite alternate-reverse 1.9s; }
  .js .hero-art__print--b { animation: printB 1.3s var(--ease-out) both 0.75s, floatY 9s var(--ease-in-out) infinite alternate 2.1s; }
  .js .hero-art__badge { animation: fadeUp 0.9s var(--ease-out) both 1.2s; }
  .js .hero-art__flash { animation: flash 1.1s ease-out 0.95s both; }
  .hero-art__halo { animation: spin 26s linear infinite; }
  .spark { animation: twinkle 3.2s var(--ease-in-out) infinite; }
  .spark--2 { animation-delay: -1.1s; } .spark--3 { animation-delay: -2s; } .spark--4 { animation-delay: -0.6s; }
  .aura { animation: drift 22s var(--ease-in-out) infinite alternate; }
  .offer__spark { animation: twinkle 3.6s var(--ease-in-out) infinite; }
  .offer__spark--b { animation-delay: -1.4s; } .offer__spark--c { animation-delay: -2.4s; }
  .discount { animation: sheen 6s var(--ease-in-out) infinite alternate; }
  .popup__spark { animation: twinkle 3s var(--ease-in-out) infinite; }
  .ribbon__track { animation: marquee 38s linear infinite; }
  .wall__item.is-visible { animation: floatY 9s var(--ease-in-out) infinite alternate 1.3s; }
  .wall__item--b.is-visible { animation-delay: -3s; } .wall__item--c.is-visible { animation-delay: -6s; }
  .popup[open] .popup__panel { animation: dialogIn 520ms var(--ease-out); }
  .popup[open]::backdrop { animation: fadeIn 400ms ease; }
  .lightbox__flash.is-on { animation: shutter 380ms ease-out; }
  .lightbox__stage > * { animation: zoomIn 520ms var(--ease-out); }
  .tile--enter { animation: tileIn 700ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
  .js .nav.is-open .nav__list li { animation: fadeUp 600ms var(--ease-out) both; }
  .js .nav.is-open .nav__list li:nth-child(2) { animation-delay: 50ms; } .js .nav.is-open .nav__list li:nth-child(3) { animation-delay: 100ms; }
  .js .nav.is-open .nav__list li:nth-child(4) { animation-delay: 150ms; } .js .nav.is-open .nav__list li:nth-child(5) { animation-delay: 200ms; }
  .js .nav.is-open .nav__list li:nth-child(6) { animation-delay: 250ms; } .js .nav.is-open .nav__list li:nth-child(7) { animation-delay: 300ms; }
  [data-parallax] { will-change: transform; }
}

@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6%, 5%, 0) scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(0.6) rotate(0deg); opacity: 0.35; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
@keyframes floatY { from { translate: 0 0; } to { translate: 0 -12px; } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(40px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes printA { from { opacity: 0; transform: translate(60%, 25%) rotate(14deg) scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes printB { from { opacity: 0; transform: translate(-60%, -20%) rotate(-11deg) scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: 0.9; } 100% { opacity: 0; } }
@keyframes shutter { 0% { opacity: 0.55; } 100% { opacity: 0; } }
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.1) translate(-2%, -1.5%); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes tileIn { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .carousel__track { scroll-behavior: auto; }
}
