/* In Flow Booths, homepage */

@property --spin {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --white: oklch(1 0 0);
  --mist: oklch(0.977 0.006 85);
  --line: oklch(0.9 0.012 85);
  --ink: oklch(0.21 0.018 70);
  --ink-soft: oklch(0.43 0.016 70);

  --gold: oklch(0.75 0.085 82);
  --gold-deep: oklch(0.5 0.09 76);
  --gold-wash: oklch(0.955 0.03 86);
  --violet: oklch(0.5 0.22 285);
  --violet-deep: oklch(0.33 0.16 285);
  --violet-wash: oklch(0.955 0.03 285);
  --coral: oklch(0.66 0.2 20);
  --coral-deep: oklch(0.53 0.2 22);
  --coral-wash: oklch(0.96 0.03 20);
  --sun: oklch(0.89 0.16 95);
  --sun-wash: oklch(0.97 0.05 98);

  --ring: conic-gradient(from var(--spin), var(--gold), var(--sun), var(--coral), var(--violet), var(--gold));

  --font: "Archivo", system-ui, sans-serif;
  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.05rem);
  --step-3: clamp(2rem, 1.55rem + 2vw, 3.3rem);
  --step-4: clamp(2.5rem, 1.5rem + 3.8vw, 4.9rem);

  --gutter: clamp(16px, 4vw, 44px);
  --section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --z-sticky: 10;
  --z-menu: 20;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-menu);
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1260px; margin-inline: auto; padding-inline: var(--gutter); }

/* Type */
.display {
  font-weight: 850;
  font-style: italic;
  font-variation-settings: "wdth" 118;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--gold-deep); }
.section-title { font-size: var(--step-3); }
.section-intro { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 46ch; text-wrap: pretty; }
p { text-wrap: pretty; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0 1.6em;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: var(--step-0); text-decoration: none; cursor: pointer;
  transition: transform 0.4s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: 0 1.25em; font-size: var(--step--1); }
.btn-wide { width: 100%; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--violet); box-shadow: 0 10px 30px -10px oklch(0.5 0.22 285 / 0.6); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--ink); color: var(--white); }
.btn-coral { background: var(--coral-deep); color: var(--white); }
.btn-coral:hover { background: var(--ink); }

.text-link {
  font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: var(--violet); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -24px oklch(0.21 0.018 70 / 0.5); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 76px; }

.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--gold-deep); line-height: 1; }
.logo-word {
  display: inline-flex; align-items: center;
  font-weight: 900; font-style: italic; font-variation-settings: "wdth" 112;
  font-size: 1.65rem; letter-spacing: -0.03em;
}
.logo-aperture { width: 0.78em; height: 0.78em; margin: 0 0.02em 0 0.03em; color: var(--ink); }
.logo-sub { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.62em; margin-top: 3px; margin-right: -0.62em; color: var(--ink); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 1.75rem; }
.nav a {
  font-size: var(--step--1); font-weight: 600; text-decoration: none; color: var(--ink-soft);
  padding: 6px 0; background: linear-gradient(var(--gold), var(--gold)) no-repeat left bottom / 0 2px;
  transition: background-size 0.4s var(--ease), color 0.2s;
}
.nav a:hover { color: var(--ink); background-size: 100% 2px; }

.menu-toggle { display: none; }
.mobile-nav { display: none; }

@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .header-inner { justify-content: space-between; }
  .menu-toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    border: 0; background: var(--mist); border-radius: 999px; cursor: pointer;
  }
  .menu-bars, .menu-bars::before, .menu-bars::after {
    display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
    transition: transform 0.35s var(--ease), background-color 0.2s;
  }
  .menu-bars { position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; }
  .menu-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .mobile-nav:not([hidden]) { display: block; border-top: 1px solid var(--line); background: var(--white); }
  .mobile-nav ul { display: grid; gap: 4px; padding: 12px var(--gutter) 24px; }
  .mobile-nav a:not(.btn) { display: block; padding: 12px 0; font-size: var(--step-1); font-weight: 700; text-decoration: none; }
  .mobile-nav .btn { margin-top: 12px; width: 100%; }
}

/* Hero */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 5rem) var(--section); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: var(--step--1); font-weight: 600; color: var(--ink-soft);
  padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--gold-wash);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px oklch(0.66 0.2 20 / 0.18); }

.hero-title { font-size: var(--step-4); margin-top: 1.4rem; font-variation-settings: "wdth" 104; }
.hero-title .line { display: block; }
.hero-title em { color: var(--gold-deep); }
.lede { margin-top: 1.6rem; font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; }

.hero-proof { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 2.4rem; font-size: var(--step--1); color: var(--ink-soft); font-weight: 600; }
.hero-proof li { display: inline-flex; align-items: center; gap: 0.5em; }
.hero-proof li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--gold) radial-gradient(circle, var(--white) 0 2.5px, transparent 3px); }
.hero-proof a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); padding: 6% 8% 10% 10%; }

.halo {
  position: relative; border-radius: 999px; padding: 9px;
  background: var(--ring);
  animation: spin 9s linear infinite;
}
.halo::before {
  content: ""; position: absolute; inset: 4%; z-index: -1; border-radius: inherit;
  background: var(--ring); filter: blur(38px); opacity: 0.55;
  animation: spin 9s linear infinite;
}
.halo img { width: 100%; aspect-ratio: 0.62; object-fit: cover; object-position: 30% 50%; border-radius: 999px; border: 6px solid var(--white); }

@keyframes spin { to { --spin: 360deg; } }

.hero-strip {
  position: absolute; left: 0; bottom: 4%; width: 38%;
  border-radius: 999px; overflow: hidden; aspect-ratio: 1;
  border: 6px solid var(--white); box-shadow: 0 24px 50px -24px oklch(0.21 0.018 70 / 0.45);
  rotate: -8deg;
}
.hero-strip img { width: 100%; height: 100%; object-fit: cover; }

.hero-chip {
  position: absolute; right: -2%; top: 14%; max-width: 210px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 18px; background: var(--white);
  font-size: var(--step--1); font-weight: 650; line-height: 1.3;
  box-shadow: 0 20px 50px -20px oklch(0.21 0.018 70 / 0.35), 0 0 0 1px var(--line);
}
.hero-chip svg { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--violet-wash); color: var(--violet); }

/* Hero entrance, opted into from the head script */
.animate-in :is(.hero-tag, .hero-title .line, .lede, .hero-actions, .hero-proof) { animation: rise 1s var(--ease) both; }
.animate-in .hero-title .line:nth-child(1) { animation-delay: 0.08s; }
.animate-in .hero-title .line:nth-child(2) { animation-delay: 0.16s; }
.animate-in .lede { animation-delay: 0.28s; }
.animate-in .hero-actions { animation-delay: 0.36s; }
.animate-in .hero-proof { animation-delay: 0.44s; }
.animate-in .hero-visual .halo { animation: spin 9s linear infinite, bloom 1.3s var(--ease) both; }
.animate-in .hero-strip { animation: pop 1s 0.5s var(--ease) both; }
.animate-in .hero-chip { animation: pop 1s 0.7s var(--ease) both; }
@keyframes rise { from { opacity: 0; translate: 0 26px; } }
@keyframes bloom { from { opacity: 0; scale: 0.92; filter: blur(8px); } }
@keyframes pop { from { opacity: 0; scale: 0.8; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(100%, 380px); }
}

/* Clients */
.clients { padding-bottom: var(--section); }
.clients-title { text-align: center; font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); margin-bottom: 1.4rem; padding-inline: var(--gutter); }
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.6rem;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; align-items: center; width: max-content; gap: clamp(2.8rem, 5vw, 4.5rem); padding-right: clamp(2.8rem, 5vw, 4.5rem); animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: flex; align-items: center; flex: none; }
.marquee-track img { display: block; max-width: none; height: auto; transition: transform 0.4s var(--ease); }
.marquee-track li:hover img { transform: scale(1.06); }
@keyframes marquee { to { translate: -50% 0; } }

/* Shared pill photos */
.pill-photo { border-radius: 999px; overflow: hidden; }
.pill-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Brands */
.brands { padding-bottom: var(--section); }
.brands-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.brands-media { position: sticky; top: 110px; padding: 0 12% 22% 0; }
.pill-tall { aspect-ratio: 0.66; }
.pill-round {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1;
  border: 8px solid var(--white); box-shadow: 0 30px 60px -30px oklch(0.21 0.018 70 / 0.5);
}
.brands-copy .section-intro { margin-top: 1.4rem; }

.feature-list { margin-top: clamp(2rem, 4vw, 3.4rem); border-top: 1px solid var(--line); }
.feature { padding-block: 1.8rem; border-bottom: 1px solid var(--line); display: grid; gap: 0.5rem; }
.feature h3 { font-size: var(--step-2); font-weight: 800; font-variation-settings: "wdth" 108; letter-spacing: -0.015em; line-height: 1.15; }
.feature p { color: var(--ink-soft); max-width: 52ch; }
.feature-tag { justify-self: start; margin-top: 0.4rem; font-size: var(--step--1); font-weight: 650; padding: 5px 12px; border-radius: 999px; }
.tag-gold { background: var(--gold-wash); color: var(--gold-deep); }
.tag-violet { background: var(--violet-wash); color: var(--violet); }
.tag-coral { background: var(--coral-wash); color: var(--coral-deep); }
.tag-sun { background: var(--sun-wash); color: oklch(0.45 0.09 85); }

@media (max-width: 860px) {
  .brands-grid { grid-template-columns: 1fr; }
  .brands-media { position: relative; top: 0; max-width: 420px; }
}

/* Booth demo */
.try {
  background: var(--violet-deep);
  color: var(--white);
  padding-block: var(--section);
  position: relative; overflow: hidden; isolation: isolate;
}
.try::before {
  content: ""; position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -25vmax; top: -20vmax;
  background: radial-gradient(circle, oklch(0.5 0.22 285 / 0.9), transparent 62%);
}
.try .display em { color: var(--gold); }
.try .section-intro { color: oklch(0.92 0.03 285); margin-top: 1.2rem; }
.try-head { display: grid; gap: 0; max-width: 760px; }
.demo-modes { display: inline-flex; justify-self: start; margin-top: 1.8rem; padding: 5px; border-radius: 999px; background: oklch(1 0 0 / 0.1); }
.demo-mode {
  border: 0; background: transparent; color: oklch(0.92 0.03 285); min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 700; font-size: var(--step--1); cursor: pointer; transition: background-color 0.3s var(--ease), color 0.3s;
}
.demo-mode[aria-selected="true"] { background: var(--white); color: var(--violet-deep); }
.try-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 900px) { .try-grid { grid-template-columns: 1fr; } }

.try-controls { display: grid; gap: 1.4rem; }
.try .field-label { color: oklch(0.92 0.03 285); }
.try input[type="text"] { background: oklch(1 0 0 / 0.08); border-color: oklch(1 0 0 / 0.3); color: var(--white); }
.try input[type="text"]:focus { border-color: var(--gold); background: oklch(1 0 0 / 0.12); }
.try fieldset { border: 0; padding: 0; margin: 0; }

.logo-drop {
  position: relative; display: flex; align-items: center; min-height: 92px; padding: 14px 16px; border-radius: 18px; cursor: pointer;
  border: 2px dashed oklch(1 0 0 / 0.35); background: oklch(1 0 0 / 0.05); transition: border-color 0.2s, background-color 0.2s;
}
.logo-drop:hover, .logo-drop.is-over { border-color: var(--gold); background: oklch(1 0 0 / 0.1); }
.logo-drop:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.logo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.logo-drop-empty { display: flex; align-items: center; gap: 14px; font-size: var(--step--1); line-height: 1.4; color: oklch(0.88 0.03 285); }
.logo-drop-empty svg { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: oklch(1 0 0 / 0.12); color: var(--white); }
.logo-drop-empty strong { color: var(--white); }
.logo-drop-filled { display: flex; align-items: center; gap: 14px; }
.logo-drop-filled[hidden], .logo-drop-empty[hidden] { display: none; }
.logo-drop-filled img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: repeating-conic-gradient(oklch(1 0 0 / 0.14) 0 25%, oklch(1 0 0 / 0.06) 0 50%) 0 0 / 14px 14px; padding: 6px; }
.logo-drop-name { font-weight: 650; overflow-wrap: anywhere; }
.link-btn { border: 0; background: none; padding: 4px 0; color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; cursor: pointer; justify-self: start; }
.logo-colour-note { font-size: var(--step--1); color: var(--gold); margin-top: 8px; }

.swatch-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.swatch {
  position: relative; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--sw); box-shadow: 0 0 0 2px oklch(1 0 0 / 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.swatch:hover { transform: scale(1.08); }
.swatch input[type="radio"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.swatch:has(input:checked), .swatch-custom.is-active { box-shadow: 0 0 0 3px var(--violet-deep), 0 0 0 6px var(--gold); }
.swatch:has(input:focus-visible) { outline: 3px solid var(--white); outline-offset: 6px; }
.swatch-custom { background: var(--sw, conic-gradient(var(--coral), var(--sun), oklch(0.7 0.15 160), oklch(0.6 0.15 250), var(--violet), var(--coral))); }
.swatch-custom input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: oklch(1 0 0 / 0.1); margin-top: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: var(--step--1); cursor: pointer; }
.seg input:checked + span { background: var(--white); color: var(--violet-deep); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.camera-field[hidden] { display: none; }
.btn-on-dark { border-color: oklch(1 0 0 / 0.5); color: var(--white); justify-self: start; }
.btn-on-dark:hover { background: var(--white); color: var(--violet-deep); }
.field-help { font-size: var(--step--1); color: oklch(0.85 0.03 285); }
.privacy-note { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step--1); color: oklch(0.85 0.03 285); }
.privacy-note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }

/* Stage */
.demo-stage { display: grid; gap: 1.2rem; justify-items: center; }
.demo-caption { text-align: center; min-height: 5.2rem; }
.demo-step { font-size: var(--step--1); font-weight: 700; color: var(--gold); }
.demo-title { font-size: var(--step-2); font-weight: 850; font-style: italic; font-variation-settings: "wdth" 112; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
@media (prefers-reduced-motion: no-preference) {
  .demo-title.is-changing { animation: title-in 0.6s var(--ease) both; }
}
@keyframes title-in { from { opacity: 0; translate: 0 10px; filter: blur(4px); } }

.booth-wrap { position: relative; display: flex; justify-content: center; width: 100%; padding-inline: clamp(0px, 8vw, 120px); }
.booth { --brand: #5b3fd9; --on-brand: #fff; display: flex; flex-direction: column; align-items: center; }
.booth-ring {
  width: 260px; aspect-ratio: 0.56; border-radius: 999px; padding: 14px;
  background: oklch(0.97 0.004 85);
  box-shadow:
    inset 0 0 0 8px oklch(0.99 0.03 90),
    inset 0 0 22px 8px oklch(0.92 0.09 88),
    0 0 40px 6px oklch(0.92 0.1 88 / 0.55),
    0 0 120px 30px oklch(0.85 0.12 85 / 0.25);
  animation: glow 4s ease-in-out infinite alternate;
}
@keyframes glow { to { box-shadow: inset 0 0 0 8px oklch(0.99 0.03 90), inset 0 0 26px 10px oklch(0.94 0.1 88), 0 0 54px 10px oklch(0.92 0.1 88 / 0.7), 0 0 140px 40px oklch(0.85 0.12 85 / 0.3); } }
.booth-pole { width: 18px; height: 110px; background: linear-gradient(90deg, oklch(0.86 0.005 85), oklch(0.98 0 0) 45%, oklch(0.86 0.005 85)); }
.booth-base { width: 150px; height: 16px; border-radius: 50%; background: oklch(0.92 0.005 85); box-shadow: 0 14px 30px -6px oklch(0 0 0 / 0.45); }

.booth-screen {
  position: relative; height: 100%; border-radius: 999px; overflow: hidden;
  background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--brand) 55%, white) 0%, transparent 60%), var(--brand);
  color: var(--on-brand);
  transition: background-color 0.5s var(--ease);
}
.scr {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 10px; padding: 34px 22px; opacity: 0; visibility: hidden; transform: scale(0.96);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.booth-screen[data-screen="start"] .scr-start,
.booth-screen[data-screen="choose"] .scr-choose,
.booth-screen[data-screen="shoot"] .scr-shoot,
.booth-screen[data-screen="review"] .scr-review,
.booth-screen[data-screen="share"] .scr-share,
.booth-screen[data-screen="done"] .scr-done { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.scr-logo { flex: none;
  display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--on-brand) 70%, transparent);
  font-weight: 900; font-style: italic; font-size: 2rem; margin-bottom: 6px;
}
.scr-logo.has-logo { border: 0; border-radius: 18px; width: 150px; height: 84px; background: var(--white); padding: 10px; }
.scr-logo img { width: 100%; height: 100%; object-fit: contain; }
.scr-small { font-size: 0.82rem; opacity: 0.85; }
.scr-name { font-weight: 900; font-style: italic; font-variation-settings: "wdth" 110; font-size: 1.6rem; line-height: 1.02; letter-spacing: -0.02em; overflow-wrap: anywhere; max-width: 100%; }
.scr-pill {
  margin-top: 10px; padding: 10px 22px; border-radius: 999px; border: 0; background: var(--on-brand); color: var(--brand);
  font-weight: 800; font-size: 0.9rem; cursor: pointer; transition: transform 0.2s var(--ease);
}
.scr-pill:hover { transform: scale(1.05); }
.scr-pill-ghost { background: transparent; color: var(--on-brand); box-shadow: inset 0 0 0 2px var(--on-brand); }
@media (prefers-reduced-motion: no-preference) {
  .booth-screen[data-screen="start"] .scr-start .scr-pill { animation: breathe 2.2s ease-in-out infinite; }
}
@keyframes breathe { 50% { scale: 1.06; } }
.scr-modes { margin-top: 12px; font-size: 0.7rem; opacity: 0.8; }
.scr-heading { font-weight: 850; font-style: italic; font-size: 1.15rem; line-height: 1.15; margin-bottom: 6px; }
.scr-option {
  display: flex; align-items: center; gap: 10px; width: 100%; max-width: 170px; padding: 12px 16px; border-radius: 16px; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--on-brand) 16%, transparent); color: var(--on-brand); font-weight: 800; font-size: 0.95rem;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.scr-option:hover, .scr-option.is-picked { background: var(--on-brand); color: var(--brand); transform: scale(1.03); }
.scr-ico { width: 24px; text-align: center; font-size: 1.05rem; }

.scr-shoot { padding: 0; background: #111; }
.scr-video, .scr-sample { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scr-video { transform: scaleX(-1); }
.scr-video[hidden], .scr-sample[hidden] { display: none; }
.scr-count { position: relative; font-size: 6rem; font-weight: 900; font-style: italic; color: var(--white); text-shadow: 0 6px 30px oklch(0 0 0 / 0.5); }
.scr-count.is-tick { animation: tick 0.9s var(--ease) both; }
@keyframes tick { from { scale: 1.6; opacity: 0; } 30% { opacity: 1; } to { scale: 0.9; opacity: 0.85; } }
.scr-flash { position: absolute; inset: 0; background: white; opacity: 0; pointer-events: none; }
.scr-flash.is-on { animation: flash 0.5s ease-out; }
@keyframes flash { from { opacity: 0.95; } to { opacity: 0; } }

.scr-review { padding: 26px 16px; gap: 12px; }
.scr-result { width: 100%; max-height: 72%; object-fit: contain; border-radius: 10px; box-shadow: 0 10px 30px -10px oklch(0 0 0 / 0.5); }
.scr-row { display: flex; gap: 8px; }
.scr-row .scr-pill { margin-top: 0; padding: 9px 16px; }
.scr-share-opts { display: flex; gap: 6px; font-size: 0.7rem; font-weight: 700; }
.scr-share-opts span { padding: 5px 9px; border-radius: 999px; background: color-mix(in srgb, var(--on-brand) 18%, transparent); }
.scr-input { width: 100%; max-width: 180px; min-height: 40px; padding: 8px 12px; border-radius: 12px; border: 0; font-size: 16px; color: #1f1b17; background: #fff; text-align: center; }
.scr-tiny { font-size: 0.66rem; opacity: 0.75; }
.scr-tick { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--on-brand); color: var(--brand); font-size: 2rem; font-weight: 900; }
.booth-screen button:focus-visible, .booth-screen input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Callout, like a pop-out card from the screen */
.demo-callout {
  position: absolute; right: 0; top: 18%; max-width: 210px; padding: 14px 16px; border-radius: 18px;
  background: var(--white); color: var(--ink); font-size: var(--step--1); font-weight: 650; line-height: 1.35;
  box-shadow: 0 24px 50px -20px oklch(0 0 0 / 0.55);
}
.demo-callout::before { content: ""; position: absolute; left: -7px; top: 22px; width: 14px; height: 14px; background: var(--white); rotate: 45deg; border-radius: 3px; }
.demo-callout.is-changing { animation: pop-in 0.55s var(--ease) both; }
@keyframes pop-in { from { opacity: 0; scale: 0.85; translate: -12px 0; } }
.demo-callout[hidden] { display: none; }

.phone {
  position: absolute; left: 0; bottom: 10%; width: 168px; rotate: -7deg;
  padding: 8px; border-radius: 30px; background: var(--ink);
  box-shadow: 0 40px 70px -30px oklch(0 0 0 / 0.7);
}
.phone[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .phone:not([hidden]) { animation: phone-in 0.7s var(--ease) both; } }
@keyframes phone-in { from { opacity: 0; translate: -30px 30px; rotate: -16deg; } }
.phone-notif { position: absolute; left: 14px; right: 14px; top: 14px; z-index: 1; padding: 8px 10px; border-radius: 12px; background: oklch(1 0 0 / 0.92); color: var(--ink); font-size: 0.66rem; line-height: 1.3; box-shadow: 0 6px 16px -6px oklch(0 0 0 / 0.4); }
.phone-frame { border-radius: 24px; overflow: hidden; background: #f4f2ee; padding: 54px 8px 12px; }
.phone-frame img { width: 100%; border-radius: 10px; }

@media (max-width: 700px) {
  .booth-wrap { padding-inline: 0; }
  .booth-ring { width: 230px; }
  .demo-callout { position: static; max-width: none; margin-top: 1rem; order: 2; }
  .demo-callout::before { display: none; }
  .booth-wrap { flex-direction: column; align-items: center; }
  .phone { width: 132px; left: 0; bottom: 30%; }
}

.demo-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; }
.demo-dots { display: flex; gap: 8px; }
.demo-dot { width: 34px; height: 6px; border-radius: 999px; border: 0; padding: 0; background: oklch(1 0 0 / 0.28); cursor: pointer; position: relative; overflow: hidden; }
.demo-dot::after { content: ""; position: absolute; inset: -12px 0; }
.demo-dot[aria-current="step"] { background: var(--gold); }
.demo-dots[hidden], .demo-controls [hidden] { display: none; }
.demo-cta { font-size: var(--step--1); color: oklch(0.88 0.03 285); }

/* Reviews */
.reviews { padding-block: var(--section); }
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; }
.review-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 360px);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 2.6rem max(var(--gutter), calc((100vw - 1260px) / 2 + var(--gutter))) 1.4rem;
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.review {
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: 2rem; border-radius: var(--radius); background: var(--mist);
  min-height: 280px;
}
.review blockquote { margin: 0; }
.review blockquote p { font-size: var(--step-1); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.review blockquote p::before { content: "\201C"; display: block; font-size: 3.4rem; line-height: 0.6; height: 1.4rem; color: var(--gold); font-weight: 900; }
.review-who { font-size: var(--step--1); font-weight: 700; color: var(--ink-soft); }
.review-feature { background: var(--gold-wash); }
.review:nth-child(3) { background: var(--violet-wash); }
.review:nth-child(5) { background: var(--coral-wash); }

/* Steps */
.steps { padding-bottom: var(--section); }
.step-list { margin-top: clamp(2.4rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); counter-reset: none; position: relative; }
.step-list::before {
  content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--sun), var(--coral), var(--violet));
  opacity: 0.6;
}
.step { position: relative; display: grid; gap: 0.6rem; align-content: start; }
.step-n {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--ink);
  font-weight: 900; font-style: italic; font-size: 1.5rem; font-variation-settings: "wdth" 115;
  margin-bottom: 0.8rem;
}
.step:nth-child(1) .step-n { border-color: var(--gold); color: var(--gold-deep); }
.step:nth-child(2) .step-n { border-color: oklch(0.8 0.14 92); color: oklch(0.45 0.09 85); }
.step:nth-child(3) .step-n { border-color: var(--coral); color: var(--coral-deep); }
.step:nth-child(4) .step-n { border-color: var(--violet); color: var(--violet); }
.step h3 { font-size: var(--step-1); font-weight: 800; line-height: 1.2; }
.step p { color: var(--ink-soft); }

@media (max-width: 900px) {
  .step-list { grid-template-columns: 1fr 1fr; }
  .step-list::before { display: none; }
}
@media (max-width: 560px) {
  .step-list { grid-template-columns: 1fr; }
}

/* Packages */
.packages { padding-block: var(--section); background: var(--mist); }
.packages-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.4rem 2rem; }
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.tab {
  border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; min-height: 44px;
  font-weight: 700; font-size: var(--step--1); cursor: pointer; color: var(--ink-soft);
  transition: background-color 0.3s var(--ease), color 0.3s;
}
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); }
.panel-note { margin-top: 1.4rem; color: var(--ink-soft); }
.package-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.package-grid-2 { grid-template-columns: repeat(2, minmax(0, 420px)); }
.package {
  position: relative; display: flex; flex-direction: column; gap: 0.5rem;
  padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--radius); background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
}
.package h3 { font-size: var(--step-3); font-weight: 900; font-style: italic; font-variation-settings: "wdth" 118; line-height: 1; letter-spacing: -0.02em; }
.package-sub { color: var(--ink-soft); }
.package-time { margin-top: 0.4rem; font-weight: 700; font-size: var(--step--1); color: var(--gold-deep); }
.package ul { margin: 1.2rem 0 1.8rem; display: grid; gap: 0.7rem; flex: 1; align-content: start; }
.package li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; line-height: 1.45; }
.package li::before {
  content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--gold-wash) no-repeat center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2 4.4 8.5 11 1.5' fill='none' stroke='%23866a35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.package .btn { align-self: stretch; }
.package-star { background: var(--ink); color: var(--white); box-shadow: none; }
.package-star .package-sub { color: oklch(0.85 0.01 85); }
.package-star .package-time { color: var(--gold); }
.package-star li::before { background-color: oklch(1 0 0 / 0.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2 4.4 8.5 11 1.5' fill='none' stroke='%23d4bb86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.package-flag {
  position: absolute; top: -14px; right: 24px; padding: 6px 14px; border-radius: 999px;
  background: var(--ring); color: var(--ink); font-size: var(--step--1); font-weight: 800;
}
.addons { margin-top: 1.8rem; color: var(--ink-soft); max-width: 80ch; }
.addons strong { color: var(--ink); }

@media (max-width: 900px) {
  .package-grid, .package-grid-2 { grid-template-columns: 1fr; max-width: 520px; }
}

/* Celebrations */
.celebrations { padding-block: var(--section); background: var(--coral-wash); overflow: hidden; }
.celebrations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.celebrations .display em { color: var(--coral-deep); }
.celebrations-copy .section-intro { margin: 1.4rem 0 2.2rem; }
.celebrations-media { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.cel-a { position: absolute; left: 0; top: 4%; width: 54%; aspect-ratio: 0.62; border: 7px solid var(--white); }
.cel-b { position: absolute; right: 2%; top: 0; width: 46%; aspect-ratio: 1; border: 7px solid var(--white); rotate: 6deg; }
.cel-c { position: absolute; right: 8%; bottom: 0; width: 40%; aspect-ratio: 0.62; border: 7px solid var(--white); rotate: -4deg; }
.celebrations-media .pill-photo { box-shadow: 0 30px 60px -32px oklch(0.4 0.12 20 / 0.6); }

@media (max-width: 860px) {
  .celebrations-grid { grid-template-columns: 1fr; }
}

/* About */
.about { padding-block: var(--section); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.founder:nth-child(2) { margin-top: 18%; }
.founder img { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 0.72; object-fit: cover; width: 100%; background: var(--sun-wash); }
.founder figcaption { margin-top: 1rem; font-size: var(--step--1); color: var(--ink-soft); line-height: 1.5; }
.founder strong { display: block; color: var(--ink); font-size: var(--step-1); font-style: italic; font-weight: 850; }
.about-copy .section-intro { margin: 1.4rem 0 1.2rem; }
.about-copy > p:last-child { color: var(--ink-soft); max-width: 52ch; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-copy { order: -1; }
}

/* FAQ */
.faq { padding-bottom: var(--section); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0; font-size: var(--step-1); font-weight: 700; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-wash)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23866a35' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 12px;
  transition: rotate 0.4s var(--ease), background-color 0.3s;
}
.faq details[open] summary::after { rotate: 45deg; background-color: var(--gold); }
.faq summary:hover { color: var(--violet); }
.faq details p { padding: 0 3rem 1.5rem 0; color: var(--ink-soft); max-width: 62ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Quote */
.quote { padding-block: var(--section); background: var(--gold-wash); position: relative; overflow: hidden; isolation: isolate; }
.quote::before {
  content: ""; position: absolute; z-index: -1; width: clamp(260px, 30vw, 440px); aspect-ratio: 0.56; border-radius: 999px;
  right: -6%; top: -14%; padding: 12px; rotate: 18deg;
  background: var(--ring); opacity: 0.55;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.quote-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.quote-title { font-size: var(--step-4); }
.quote-copy .section-intro { margin-top: 1.4rem; }
.contact-list { margin-top: 2rem; display: grid; gap: 12px; max-width: 420px; }
.contact {
  display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 20px;
  background: var(--white); text-decoration: none; box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 0.25s, transform 0.4s var(--ease);
}
.contact:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--gold), 0 16px 30px -18px oklch(0.4 0.08 80 / 0.5); }
.contact-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; }
.contact-ico svg { width: 22px; height: 22px; }
.contact-ico-mail { background: var(--gold-wash); color: var(--gold-deep); }
.contact-ico-wa { background: oklch(0.95 0.05 150); color: oklch(0.55 0.15 150); }
.contact-text { display: grid; min-width: 0; }
.contact-label { font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); }
.contact-value { font-size: var(--step-1); font-weight: 750; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.quote-form {
  display: grid; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2.6rem);
  background: var(--white); border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 40px 80px -50px oklch(0.4 0.08 80 / 0.6);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; }
.field-label { font-size: var(--step--1); font-weight: 650; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: oklch(0.5 0.012 70); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px oklch(0.5 0.22 285 / 0.15); }
.field input[aria-invalid="true"] { border-color: var(--coral-deep); }
.form-status { min-height: 1.5em; font-weight: 650; }
.form-status.is-error { color: var(--coral-deep); }
.form-status.is-ok { color: oklch(0.45 0.12 155); }

/* Ratings */
.stars { color: oklch(0.62 0.17 155); letter-spacing: 0.08em; }
.hero-proof li.rating::before { display: none; }
.hero-proof .rating a { display: inline-flex; align-items: center; gap: 0.45em; text-decoration: none; }
.hero-proof .rating strong { color: var(--ink); font-weight: 800; }
.rating-card {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  padding: 12px 20px 12px 14px; border-radius: 999px; background: var(--mist); box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 0.3s, transform 0.4s var(--ease);
}
.rating-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--gold); }
.rating-score { font-size: var(--step-2); font-weight: 900; font-style: italic; font-variation-settings: "wdth" 115; line-height: 1; }
.rating-meta { display: grid; font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); line-height: 1.3; }

/* WhatsApp */
.wa-link { display: inline-flex; align-items: center; gap: 0.4em; }
.wa-icon { width: 0.95em; height: 0.95em; color: oklch(0.6 0.16 150); flex: none; }

/* Banners */
.banner { position: relative; margin: 0; overflow: hidden; isolation: isolate; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, oklch(0.18 0.03 285 / 0.72), oklch(0.18 0.03 285 / 0.1) 62%); pointer-events: none; }
.banner-copy {
  position: absolute; z-index: 1; left: var(--gutter); bottom: clamp(1.4rem, 4vw, 3.4rem);
  color: var(--white); font-size: var(--step-3); max-width: 13ch;
}
.banner-copy .display { display: block; }
.banner-copy em { color: var(--gold); }
.banner-wide { height: clamp(320px, 42vw, 600px); }
.banner-wide img { object-position: 50% 45%; }
.banner-wide .banner-copy { left: max(var(--gutter), calc((100vw - 1260px) / 2 + var(--gutter))); }
.banner-inset { height: clamp(280px, 36vw, 480px); border-radius: calc(var(--radius) + 10px); margin-bottom: var(--section); }
.banner-inset .banner-copy { left: clamp(1.4rem, 4vw, 3.4rem); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .banner img { animation: drift linear both; animation-timeline: view(); }
  }
}
@keyframes drift { from { scale: 1.12; translate: 0 -3%; } to { scale: 1.02; translate: 0 3%; } }

/* Gallery */
.gallery { padding-block: var(--section); }
.gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.4rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  font-weight: 700; font-size: var(--step--1); cursor: pointer; color: var(--ink-soft);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.g-grid { columns: 4 220px; column-gap: 14px; }
@media (max-width: 600px) { .g-grid { columns: 2; column-gap: 10px; } .g-item { margin-bottom: 10px; } .g-open { border-radius: 14px; } }
.g-item { break-inside: avoid; margin-bottom: 14px; }
.g-item[hidden] { display: none; }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: var(--mist); border-radius: 18px; overflow: hidden; cursor: zoom-in; }
.g-open img { width: 100%; height: auto; transition: scale 0.7s var(--ease), filter 0.4s; }
.g-open:hover img { scale: 1.04; }
.g-grid:not(.show-all) .g-item.is-more { display: none; }
.gallery-more { display: flex; justify-content: center; margin-top: 2rem; }
.gallery-more[hidden] { display: none; }

.lightbox {
  width: min(92vw, 1000px); max-height: 92vh; padding: 0; border: 0; border-radius: 22px; overflow: visible;
  background: transparent;
}
.lightbox::backdrop { background: oklch(0.15 0.02 285 / 0.88); }
.lightbox img { display: block; max-width: 100%; max-height: 88vh; margin: auto; border-radius: 18px; object-fit: contain; }
.lb-btn {
  position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--white); color: var(--ink); font-size: 1.8rem; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 10px 30px -10px oklch(0 0 0 / 0.5);
}
.lb-btn:hover { background: var(--gold); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 18px; translate: none; } }

/* Accreditations */
.accreditations { background: var(--white); border-top: 1px solid var(--line); padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.accreditations-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem 3rem; }
.accreditations p { font-weight: 700; font-size: var(--step-1); max-width: 26ch; line-height: 1.3; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.6rem, 4vw, 3.4rem); }
.badges img { height: clamp(72px, 9vw, 104px); width: auto; }

/* Chat widget */
.chat { --z-chat: 30; }
.chat-launch {
  position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 30;
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 22px 8px 8px;
  border: 0; border-radius: 999px; cursor: pointer; background: var(--ink); color: var(--white);
  font-weight: 750; font-size: var(--step--1);
  box-shadow: 0 18px 40px -16px oklch(0.21 0.018 70 / 0.6);
  transition: transform 0.4s var(--ease), background-color 0.25s;
}
.chat-launch:hover { transform: translateY(-3px); background: var(--violet); }
.chat-launch-ring {
  position: relative; width: 42px; height: 42px; border-radius: 50%; padding: 4px; background: var(--ring);
  animation: spin 6s linear infinite;
}
.chat-launch-ring::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--ink) no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v11H9l-5 4z' fill='none' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.chat.is-open .chat-launch { opacity: 0; pointer-events: none; transform: scale(0.9); }
@media (max-width: 600px) {
  .chat-launch { padding: 8px; }
  .chat-launch-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

.chat-panel {
  position: fixed; right: clamp(0px, 3vw, 28px); bottom: clamp(0px, 3vw, 28px); z-index: 30;
  width: min(100vw, 400px); height: min(100dvh, 640px);
  display: flex; flex-direction: column; background: var(--white);
  border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 90px -30px oklch(0.21 0.018 70 / 0.55), 0 0 0 1px var(--line);
}
.chat-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .chat-panel:not([hidden]) { animation: chat-in 0.45s var(--ease) both; }
}
@keyframes chat-in { from { opacity: 0; translate: 0 18px; scale: 0.97; } }
@media (max-width: 600px) { .chat-panel { border-radius: 0; inset: 0; width: 100%; height: 100dvh; } }

.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 14px 16px 18px; background: var(--violet-deep); color: var(--white); }
.chat-head > div { flex: 1; min-width: 0; }
.chat-avatar { flex: none; width: 40px; height: 54px; border-radius: 999px; padding: 4px; background: var(--ring); animation: spin 6s linear infinite; position: relative; }
.chat-avatar::after { content: ""; position: absolute; inset: 4px; border-radius: inherit; background: radial-gradient(circle at 50% 35%, oklch(0.99 0.03 90), oklch(0.92 0.09 88)); }
.chat-title { margin: 0; font-size: 1.05rem; font-weight: 850; font-style: italic; font-variation-settings: "wdth" 110; }
.chat-sub { font-size: 0.8rem; color: oklch(0.9 0.03 285); line-height: 1.3; }
.chat-icon-btn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: oklch(1 0 0 / 0.1); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.chat-icon-btn:hover { background: oklch(1 0 0 / 0.22); }
.chat-icon-btn svg { width: 18px; height: 18px; }

.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; background: var(--mist); overscroll-behavior: contain; }
.chat-msg { max-width: 86%; padding: 11px 15px; border-radius: 20px; font-size: 0.95rem; line-height: 1.5; overflow-wrap: anywhere; }
.chat-msg p + p { margin-top: 0.5em; }
.chat-msg ul { margin: 0.4em 0; padding-left: 1.1em; list-style: disc; }
.chat-assistant { align-self: flex-start; background: var(--white); border-bottom-left-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.chat-user { align-self: flex-end; background: var(--ink); color: var(--white); border-bottom-right-radius: 6px; white-space: pre-wrap; }
.chat-msg.is-typing { min-width: 64px; min-height: 42px; background: var(--white) no-repeat center / 34px 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 10'%3E%3Ccircle cx='5' cy='5' r='4' fill='%23b39b6b'%3E%3Canimate attributeName='opacity' values='1;.2;1' dur='1.2s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='17' cy='5' r='4' fill='%23b39b6b'%3E%3Canimate attributeName='opacity' values='1;.2;1' dur='1.2s' begin='.2s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='29' cy='5' r='4' fill='%23b39b6b'%3E%3Canimate attributeName='opacity' values='1;.2;1' dur='1.2s' begin='.4s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E"); }
.chat-status { align-self: flex-start; font-size: 0.8rem; font-weight: 650; color: var(--violet); padding-left: 6px; }
.chat-quote {
  align-self: stretch; display: grid; gap: 2px; padding: 14px 16px; border-radius: 18px;
  background: var(--gold-wash); box-shadow: inset 0 0 0 1.5px var(--gold);
}
.chat-quote small { color: var(--ink-soft); }

.chat-starters { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 12px; background: var(--mist); }
.chat-starters[hidden] { display: none; }
.chat-chip { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 14px; font-size: 0.85rem; font-weight: 650; cursor: pointer; }
.chat-chip:hover { border-color: var(--violet); color: var(--violet); }

.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat-form textarea {
  flex: 1; resize: none; min-height: 46px; max-height: 140px; padding: 12px 14px; border-radius: 16px;
  border: 1.5px solid var(--line); font-size: 16px; line-height: 1.4;
}
.chat-form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px oklch(0.5 0.22 285 / 0.14); }
.chat-send { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.chat-send svg { width: 20px; height: 20px; }
.chat-send:hover { background: var(--violet); }
.chat-form.is-busy .chat-send { opacity: 0.4; pointer-events: none; }
.chat-foot { padding: 0 12px 12px; font-size: 0.8rem; color: var(--ink-soft); text-align: center; background: var(--white); }
.chat-foot a { font-weight: 700; }

/* Admin link */
.footer-links .footer-admin {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 0.4rem; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid oklch(1 0 0 / 0.25); color: var(--white); font-size: var(--step--1);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.footer-links .footer-admin:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.chat-cta { margin-top: 1.4rem; }

/* Footer */
.site-footer { background: var(--ink); color: oklch(0.88 0.01 85); padding-top: clamp(3rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.footer-line { font-size: var(--step-2); font-weight: 850; font-style: italic; font-variation-settings: "wdth" 115; color: var(--gold); line-height: 1.1; letter-spacing: -0.015em; }
.footer-small { margin-top: 1rem; font-size: var(--step--1); max-width: 38ch; }
.footer-links { display: grid; gap: 0.6rem; align-content: start; }
.footer-links a { text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--gold); }
.footer-base { margin-top: 3rem; padding-block: 1.4rem; border-top: 1px solid oklch(1 0 0 / 0.12); font-size: var(--step--1); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Scroll reveal, only where scroll timelines exist; content stays visible otherwise */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal, .step, .package, .review, .founder, .celebrations-media .pill-photo {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
}
@keyframes reveal { from { opacity: 0; translate: 0 34px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Mobile pass: shorter scrolls, the important thing first, nothing cut off */
.swipe-hint { display: none; }
@media (max-width: 860px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-title { font-size: var(--step-3); }
}
@media (max-width: 600px) {
  :root { --section: 4.25rem; }
  .header-inner { min-height: 64px; }
  .logo-word { font-size: 1.4rem; }
  .logo-sub { font-size: 0.5rem; }
  html { scroll-padding-top: 72px; }

  /* Hero */
  .hero { padding-top: 1.25rem; }
  .hero-title { margin-top: 1rem; }
  .lede { margin-top: 1.1rem; font-size: 1.05rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 1.5rem; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { margin-top: 1.5rem; gap: 0.35rem 1rem; }
  .hero-visual { width: min(100%, 290px); padding: 4% 6% 8% 8%; margin-top: 0.5rem; }
  .hero-chip { right: 0; top: 8%; max-width: 160px; padding: 9px 12px; font-size: 0.78rem; }
  .hero-chip svg { width: 28px; height: 28px; }

  /* Logo strip */
  .clients { padding-bottom: 3.25rem; }
  .marquee { padding-block: 1.1rem; }
  .marquee-track img { zoom: 0.72; }

  /* For brands */
  .brands-media { max-width: 300px; padding: 0 14% 16% 0; margin-inline: auto; }
  .pill-tall { aspect-ratio: 0.82; }
  .pill-round { width: 46%; border-width: 6px; }
  .feature { padding-block: 1.35rem; }
  .feature h3 { font-size: 1.35rem; }

  /* Booth demo: the booth first, then the controls */
  .try-grid { margin-top: 1.5rem; }
  .demo-stage { order: -1; }
  .demo-caption { min-height: 4.4rem; }
  .booth-ring { width: 200px; }
  .booth-pole { height: 80px; }
  .swatch { width: 38px; height: 38px; }
  .swatch-row { gap: 10px; }
  .demo-modes { width: 100%; }
  .demo-mode { flex: 1; padding: 0 12px; }

  /* Reviews */
  .review-row { grid-auto-columns: 80vw; gap: 12px; padding-top: 1.75rem; }
  .review { min-height: 0; padding: 1.4rem; gap: 1.25rem; }
  .review blockquote p { font-size: 1.1rem; }

  /* How it works: compact rows */
  .step-list { gap: 1.1rem; }
  .step { grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 2px; }
  .step-n { grid-row: span 2; width: 48px; height: 48px; font-size: 1.2rem; margin: 0; }
  .step h3 { align-self: end; }

  /* Packages: swipe across instead of stacking */
  .package-grid, .package-grid-2 {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%;
    max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-inline: calc(-1 * var(--gutter)); padding: 18px var(--gutter) 6px; scroll-padding-inline: var(--gutter);
  }
  .package { scroll-snap-align: start; }
  .package h3 { font-size: 2rem; }
  .swipe-hint { display: block; margin-top: 0.6rem; font-size: var(--step--1); font-weight: 650; color: var(--ink-soft); }
  .swipe-hint::after { content: " \2192"; }

  /* Gallery: 8 photos to start on a phone */
  .g-grid:not(.show-all) .g-item:nth-child(n + 9) { display: none; }

  /* Celebrations and about */
  .celebrations-media { max-width: 340px; }
  .founder figcaption { font-size: 0.82rem; }

  /* Quote */
  .quote-form { padding: 1.25rem; }
  .contact-value { font-size: 1.1rem; }

  /* Chat button */
  .chat-launch { right: 12px; bottom: 12px; min-height: 52px; }
  .chat-launch-ring { width: 38px; height: 38px; }
}
