/* YM FLOWS — site styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
  --cream: #F4EEE2;
  --cream-soft: #FAF6EC;
  --cream-dim: #EAE2D0;
  --ink: #161616;
  --ink-dim: #6B6760;
  --ink-soft: #A6A097;
  --accent: #E8501E;
  --accent-dark: #C9421A;
  --line: #DDD3C2;
  --line-soft: #E7DECE;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- TYPOGRAPHY ---------- */

h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; }
h3 { font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.muted { color: var(--ink-dim); }

.lead {
  font-size: 0.95rem;
  color: var(--ink-dim);
  font-weight: 400;
  max-width: 32rem;
  line-height: 1.6;
}

p { font-size: 0.95rem; color: var(--ink-dim); }

/* ---------- LAYOUT ---------- */

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 28px; }

section { padding: clamp(56px, 8vw, 110px) 0; }

.divider { border: none; border-top: 1px solid var(--line); margin: 0; }

.center { text-align: center; }

/* ---------- NAV ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line-soft); }

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
  gap: 24px;
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-side.right { justify-content: flex-end; }

.nav-side a {
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--ink-dim);
  letter-spacing: 0.005em;
  transition: color .15s;
}
.nav-side a:hover, .nav-side a.active { color: var(--ink); }

.logo-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.logo-mark .arrow { font-size: 0.78em; transform: translateY(-2px); display: inline-block; font-weight: 500; }

/* Nav logo — glossy gradient, no arrow */
.nav .logo-mark {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.6)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.10));
  transition: filter .2s ease, transform .2s ease;
}
.nav .logo-mark > span:first-child {
  background: linear-gradient(
    180deg,
    #1a1a1a 0%,
    #2a2a2a 25%,
    #161616 50%,
    #d4421a 90%,
    #ee5a22 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.nav .logo-mark:hover {
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.7)) drop-shadow(0 2px 6px rgba(232, 80, 30, 0.30));
  transform: translateY(-0.5px);
}
.nav .logo-mark:hover > span:first-child {
  background: linear-gradient(
    180deg,
    #ee5a22 0%,
    #d4421a 60%,
    #1a1a1a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav .logo-mark .arrow { display: none; }

.mobile-menu { display: none; }

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 999px;
}

/* ---------- USER CHIP (signed-in avatar) ---------- */

.user-chip {
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
}
.signin-link {
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--ink-dim);
  letter-spacing: 0.005em;
  transition: color .15s;
}
.signin-link:hover { color: var(--ink); }
.signin-link[hidden] { display: none; }
.user-avatar[hidden] { display: none; }
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0612a 0%, #c93b15 100%);
  color: white;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.20);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20),
    0 4px 12px -4px rgba(232, 80, 30, 0.45);
}
.user-avatar:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 6px 18px -4px rgba(232, 80, 30, 0.55);
}

.user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: 14px;
  padding: 6px;
  min-width: 220px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 14px 32px -10px rgba(0, 0, 0, 0.20);
  display: none;
  z-index: 100;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
}
.user-chip.open .user-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.user-menu-email {
  font-size: 0.76rem;
  color: var(--ink-dim);
  padding: 9px 12px 8px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 4px;
  word-break: break-all;
}
.user-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.85rem;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.user-menu-item:hover {
  background: rgba(0, 0, 0, 0.05);
}
.user-menu-item[data-action="signout"]:hover {
  color: var(--accent);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after  { top: 5px; }

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 400;
  font-size: 0.88rem;
  transition: transform .2s ease, background .25s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn .arrow { transition: transform .2s; font-size: 0.85em; }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn:active { transform: translateY(0.5px); }

.btn { overflow: hidden; backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); }
.btn-primary, .btn-accent { position: relative; }
.btn-primary::before, .btn-accent::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 50%;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .7s ease;
  pointer-events: none;
}
.btn-primary:hover::before, .btn-accent:hover::before { left: 110%; }
.btn-primary > *, .btn-accent > * { position: relative; z-index: 1; }

/* Liquid glass: dark pill */
.btn-primary {
  background:
    linear-gradient(180deg, rgba(38, 38, 38, 0.92) 0%, rgba(15, 15, 15, 0.92) 100%);
  color: var(--cream-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 1px 2px 0 rgba(0, 0, 0, 0.08),
    0 14px 32px -12px rgba(0, 0, 0, 0.45);
}
.btn-primary:hover {
  background:
    linear-gradient(180deg, rgba(240, 97, 42, 0.95) 0%, rgba(195, 61, 21, 0.95) 100%);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.30),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.20),
    0 14px 32px -8px rgba(232, 80, 30, 0.55);
}

/* Liquid glass: orange pill */
.btn-accent {
  background:
    linear-gradient(180deg, rgba(240, 97, 42, 0.95) 0%, rgba(195, 61, 21, 0.95) 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.20),
    0 12px 30px -10px rgba(232, 80, 30, 0.50);
}
.btn-accent:hover {
  background:
    linear-gradient(180deg, rgba(245, 106, 48, 0.95) 0%, rgba(195, 61, 21, 0.95) 100%);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.40),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.20),
    0 16px 36px -8px rgba(232, 80, 30, 0.65);
}

/* Liquid glass: outlined pill */
.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid rgba(20, 20, 20, 0.65);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.50),
    0 1px 2px rgba(0, 0, 0, 0.04);
}
.btn-ghost:hover {
  background:
    linear-gradient(180deg, rgba(38, 38, 38, 0.92) 0%, rgba(15, 15, 15, 0.92) 100%);
  border-color: rgba(0, 0, 0, 0.50);
  color: var(--cream-soft);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.18),
    0 12px 28px -10px rgba(0, 0, 0, 0.35);
}

/* Liquid glass: cream pill */
.btn-soft {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.80),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.04),
    0 4px 14px -4px rgba(0, 0, 0, 0.10);
}
.btn-soft:hover {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(0, 0, 0, 0.10);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
    0 8px 22px -6px rgba(0, 0, 0, 0.14);
}

.btn-block { width: 100%; }
.btn-lg { padding: 14px 26px; font-size: 0.92rem; }

/* OAuth providers (Google, etc.) — clean white pill */
.btn-google {
  background: rgba(255, 255, 255, 0.95);
  color: #161616;
  border: 1px solid rgba(0, 0, 0, 0.10);
  font-weight: 500;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 1),
    0 4px 14px -4px rgba(0, 0, 0, 0.10);
}
.btn-google:hover {
  background: white;
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 1),
    0 8px 22px -6px rgba(0, 0, 0, 0.16);
}
.btn-google svg { width: 18px; height: 18px; flex-shrink: 0; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------- HERO (centered) ---------- */

.hero {
  padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -20%;
  width: 75%;
  height: 110%;
  background: radial-gradient(closest-side, rgba(232, 80, 30, 0.22), rgba(232, 80, 30, 0) 70%);
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
  animation: drift-a 18s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -20%;
  width: 80%;
  height: 100%;
  background: radial-gradient(closest-side, rgba(255, 200, 160, 0.65), rgba(255, 200, 160, 0) 70%);
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
  animation: drift-b 22s ease-in-out infinite alternate;
}
.hero-orb {
  position: absolute;
  top: 30%;
  left: 25%;
  width: 50%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(248, 130, 70, 0.20), rgba(248, 130, 70, 0) 70%);
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
  animation: drift-c 16s ease-in-out infinite alternate;
}
.hero-orb-2 {
  position: absolute;
  top: 50%;
  right: 20%;
  width: 35%;
  height: 45%;
  background: radial-gradient(closest-side, rgba(232, 80, 30, 0.15), rgba(232, 80, 30, 0) 70%);
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
  animation: drift-d 20s ease-in-out infinite alternate;
}
.hero > * { position: relative; z-index: 1; }
.hero-orb, .hero-orb-2 { z-index: 0; }
.hero-inner { text-align: center; max-width: 720px; margin: 0 auto; padding: 0 24px; }

@keyframes drift-a {
  0%   { transform: translate3d(0, 0, 0)       scale(1);    opacity: 0.85; }
  50%  { transform: translate3d(-22%, 18%, 0)  scale(1.25); opacity: 1;    }
  100% { transform: translate3d(15%, -12%, 0)  scale(0.85); opacity: 0.9;  }
}
@keyframes drift-b {
  0%   { transform: translate3d(0, 0, 0)       scale(1);    opacity: 0.9;  }
  50%  { transform: translate3d(28%, -20%, 0)  scale(1.20); opacity: 1;    }
  100% { transform: translate3d(-18%, 14%, 0)  scale(0.85); opacity: 0.85; }
}
@keyframes drift-c {
  0%   { transform: translate3d(0, 0, 0)       scale(1);    opacity: 0.7;  }
  50%  { transform: translate3d(30%, 22%, 0)   scale(1.40); opacity: 1;    }
  100% { transform: translate3d(-22%, -16%, 0) scale(0.80); opacity: 0.75; }
}
@keyframes drift-d {
  0%   { transform: translate3d(0, 0, 0)       scale(1);    opacity: 0.7;  }
  50%  { transform: translate3d(-26%, -18%, 0) scale(1.30); opacity: 1;    }
  100% { transform: translate3d(20%, 16%, 0)   scale(0.85); opacity: 0.8;  }
}

/* Floating light pulses — big, vivid blooms drifting across the hero */
.hero-pulse {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  will-change: transform, opacity;
}
.hero-pulse.p1 {
  width: 420px; height: 420px;
  top: 12%; left: 6%;
  background: radial-gradient(closest-side, rgba(232, 80, 30, 0.55), rgba(232, 80, 30, 0) 70%);
  animation: pulse-bloom 8s ease-in-out infinite;
}
.hero-pulse.p2 {
  width: 360px; height: 360px;
  top: 60%; left: 70%;
  background: radial-gradient(closest-side, rgba(255, 200, 160, 0.70), rgba(255, 200, 160, 0) 70%);
  animation: pulse-bloom 9s ease-in-out infinite;
  animation-delay: 2s;
}
.hero-pulse.p3 {
  width: 500px; height: 500px;
  top: 35%; left: 45%;
  background: radial-gradient(closest-side, rgba(232, 80, 30, 0.50), rgba(232, 80, 30, 0) 70%);
  animation: pulse-bloom 11s ease-in-out infinite;
  animation-delay: 4.5s;
}
.hero-pulse.p4 {
  width: 320px; height: 320px;
  top: 72%; left: 14%;
  background: radial-gradient(closest-side, rgba(255, 220, 195, 0.65), rgba(255, 220, 195, 0) 70%);
  animation: pulse-bloom 7s ease-in-out infinite;
  animation-delay: 1.2s;
}
.hero-pulse.p5 {
  width: 380px; height: 380px;
  top: 4%; left: 60%;
  background: radial-gradient(closest-side, rgba(232, 80, 30, 0.55), rgba(232, 80, 30, 0) 70%);
  animation: pulse-bloom 10s ease-in-out infinite;
  animation-delay: 3.2s;
}
.hero-pulse.p6 {
  width: 260px; height: 260px;
  top: 50%; left: 30%;
  background: radial-gradient(closest-side, rgba(255, 200, 160, 0.65), rgba(255, 200, 160, 0) 70%);
  animation: pulse-bloom 6s ease-in-out infinite;
  animation-delay: 3.8s;
}
.hero-pulse.p7 {
  width: 460px; height: 460px;
  top: 78%; left: 70%;
  background: radial-gradient(closest-side, rgba(232, 80, 30, 0.45), rgba(232, 80, 30, 0) 70%);
  animation: pulse-bloom 12s ease-in-out infinite;
  animation-delay: 5.5s;
}
.hero-pulse.p8 {
  width: 220px; height: 220px;
  top: 28%; left: 84%;
  background: radial-gradient(closest-side, rgba(255, 220, 195, 0.75), rgba(255, 220, 195, 0) 70%);
  animation: pulse-bloom 8s ease-in-out infinite;
  animation-delay: 0.6s;
}
.hero-pulse.p9 {
  width: 300px; height: 300px;
  top: 55%; left: 5%;
  background: radial-gradient(closest-side, rgba(232, 80, 30, 0.50), rgba(232, 80, 30, 0) 70%);
  animation: pulse-bloom 9s ease-in-out infinite;
  animation-delay: 6.5s;
}
.hero-pulse.p10 {
  width: 280px; height: 280px;
  top: 88%; left: 42%;
  background: radial-gradient(closest-side, rgba(255, 200, 160, 0.70), rgba(255, 200, 160, 0) 70%);
  animation: pulse-bloom 7s ease-in-out infinite;
  animation-delay: 2.8s;
}
@keyframes pulse-bloom {
  0%   { transform: translate3d(-25%, -25%, 0) scale(0.5); opacity: 0; }
  18%  { opacity: 1; }
  55%  { transform: translate3d(25%, 25%, 0) scale(1.5); opacity: 0.95; }
  100% { transform: translate3d(45%, 35%, 0) scale(1.85); opacity: 0; }
}

/* Drifting particles — bright glowing orange dots traveling across the hero */
.hero-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(232, 80, 30, 0.85);
  box-shadow:
    0 0 8px 2px rgba(232, 80, 30, 0.50),
    0 0 24px 6px rgba(232, 80, 30, 0.30);
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}
.hero-particle.pa1 { top: 28%; left: 22%; animation: particle-drift-a 12s ease-in-out infinite; }
.hero-particle.pa2 { top: 62%; left: 68%; animation: particle-drift-b 15s ease-in-out infinite; animation-delay: 2.5s; }
.hero-particle.pa3 { top: 45%; left: 48%; animation: particle-drift-a 18s ease-in-out infinite; animation-delay: 5s; }
.hero-particle.pa4 { top: 22%; left: 78%; animation: particle-drift-b 13s ease-in-out infinite; animation-delay: 1s; }
.hero-particle.pa5 { top: 70%; left: 30%; animation: particle-drift-a 16s ease-in-out infinite; animation-delay: 3.5s; }
.hero-particle.pa6 { top: 38%; left: 88%; animation: particle-drift-b 14s ease-in-out infinite; animation-delay: 6.5s; }
.hero-particle.pa7 { top: 80%; left: 55%; animation: particle-drift-a 17s ease-in-out infinite; animation-delay: 4s; }
@keyframes particle-drift-a {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0; }
  10%, 90% { opacity: 1; }
  50% { transform: translate3d(140px, -200px, 0); opacity: 1; }
}
@keyframes particle-drift-b {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0; }
  10%, 90% { opacity: 1; }
  50% { transform: translate3d(-160px, -220px, 0); opacity: 1; }
}

/* Slow diagonal light sweep — cinematic beam */
.hero-beam {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 220, 195, 0.22) 48%,
    rgba(255, 230, 210, 0.32) 50%,
    rgba(255, 220, 195, 0.22) 52%,
    transparent 62%
  );
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: beam-sweep 14s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes beam-sweep {
  0%, 100% { transform: translate3d(-30%, 30%, 0) rotate(-4deg); opacity: 0; }
  20% { opacity: 1; }
  50% { transform: translate3d(30%, -30%, 0) rotate(6deg); opacity: 1; }
  80% { opacity: 0.6; }
}

/* Subtle perspective grid that breathes — like the reference video */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(232, 80, 30, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 80, 30, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: grid-pulse 8s ease-in-out infinite;
}
@keyframes grid-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .hero-orb, .hero-orb-2,
  .hero-beam, .hero-grid, .hero-pulse, .hero-particle { animation: none; }
}

/* ---------- HERO: mobile breathing room ---------- */
@media (max-width: 760px) {
  .hero {
    padding: clamp(56px, 16vw, 96px) 0 clamp(48px, 12vw, 80px);
  }
  .hero-inner {
    padding: 0 24px;
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 14px 0 18px;
  }
  .hero .lead {
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 26rem;
  }
  .hero-ctas {
    margin-top: 26px;
    gap: 10px;
  }

  /* Strip background clutter on phones — keep just the soft orbs */
  .hero-particle { display: none; }
  .hero-beam { display: none; }
  .hero-grid { opacity: 0.3; background-size: 56px 56px; }

  /* Hide half the pulses, shrink the rest so they don't overflow */
  .hero-pulse { filter: blur(22px); }
  .hero-pulse.p3,
  .hero-pulse.p5,
  .hero-pulse.p7,
  .hero-pulse.p10 { display: none; }
  .hero-pulse.p1 { width: 260px; height: 260px; }
  .hero-pulse.p2 { width: 220px; height: 220px; }
  .hero-pulse.p4 { width: 200px; height: 200px; }
  .hero-pulse.p6 { width: 170px; height: 170px; }
  .hero-pulse.p8 { width: 150px; height: 150px; }
  .hero-pulse.p9 { width: 200px; height: 200px; }

  .hero-orb, .hero-orb-2 { opacity: 0.7; }
}
.hero h1 { margin: 18px 0 22px; }
.hero h1 .accent { color: var(--accent); font-weight: 500; }
.hero .lead { margin: 0 auto; }
.hero-ctas {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ---------- ENGINES ---------- */

.engines { padding: clamp(56px, 8vw, 110px) 0; }
.engines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 920px;
  margin: 36px auto 0;
}
@media (min-width: 760px) { .engines-grid { grid-template-columns: 1fr 1fr; gap: 18px; } }

.engine-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .25s, transform .35s ease, box-shadow .35s ease, background .25s ease;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.70),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.04),
    0 4px 18px -8px rgba(0, 0, 0, 0.08);
}
.engine-card::before {
  content: '';
  position: absolute;
  inset: -50% -50% auto auto;
  width: 100%;
  height: 100%;
  background: radial-gradient(closest-side, rgba(232, 80, 30, 0.12), rgba(232, 80, 30, 0) 70%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.engine-card:hover {
  border-color: rgba(0, 0, 0, 0.30);
  background: rgba(255, 255, 255, 0.65);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
    0 18px 40px -16px rgba(0, 0, 0, 0.22);
}
.engine-card:hover::before { opacity: 1; }
.engine-card > * { position: relative; z-index: 1; }
.engine-card .num {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.engine-card h3 { font-size: 1.08rem; }
.engine-card p { font-size: 0.88rem; line-height: 1.55; }
.engine-card .more {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.engine-card .more .arrow { transition: transform .2s; font-size: 0.85em; }
.engine-card:hover .more .arrow { transform: translate(2px, -2px); }

/* ---------- FOOTER ---------- */

.footer { padding: 56px 0 36px; border-top: 1px solid var(--line-soft); }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.82rem; color: var(--ink-dim); transition: color .15s; }
.footer-links a:hover { color: var(--accent); }
.footer-meta { font-size: 0.78rem; color: var(--ink-soft); }

/* ---------- PAGE HEADER (sub-pages) ---------- */

.page-header {
  padding: clamp(56px, 9vw, 100px) 0 clamp(28px, 4vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header .eyebrow { color: var(--accent); }
.page-header h1 { margin: 14px auto 16px; max-width: 22ch; }
.page-header .lead { margin: 0 auto; }
.page-header > .container { position: relative; z-index: 1; }
.page-header .hero-orb,
.page-header .hero-orb-2 { width: 45%; height: 90%; }
.page-header .hero-orb { top: -10%; left: 10%; }
.page-header .hero-orb-2 { top: 10%; right: 10%; }

/* ---------- RESULTS ---------- */

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 720px) { .results-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .results-grid { grid-template-columns: 1fr 1fr 1fr; } }

.result-card {
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.result-card:hover { border-color: var(--ink); transform: translateY(-2px); }

.result-thumb {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(255, 220, 195, 0.55) 0%, rgba(232, 80, 30, 0) 55%),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 1.6rem;
}
.result-card.alt .result-thumb {
  background: var(--cream-dim);
  color: var(--ink);
}
.result-body { padding: 20px 22px 22px; }
.result-body .tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 500;
}
.result-body h3 { margin: 8px 0 6px; font-size: 1rem; }
.result-body p { font-size: 0.86rem; line-height: 1.55; }
.result-body .meta {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.result-body .meta strong { font-weight: 500; color: var(--ink); }

/* ---------- PRICING ---------- */

.pricing-section { padding: clamp(40px, 6vw, 80px) 0; }
.pricing-section + .pricing-section { padding-top: 0; }

.pricing-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.pricing-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 10px; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 880px) { .pricing-grid { grid-template-columns: 1fr 1fr 1fr; } }

.price-card {
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .25s ease, transform .35s ease, box-shadow .35s ease;
  position: relative;
}
.price-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.18);
}
.price-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, var(--cream-soft) 100%);
  border-color: var(--ink);
  box-shadow: 0 14px 36px -18px rgba(0, 0, 0, 0.2);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--accent);
  color: white;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: 0 6px 16px -6px rgba(232, 80, 30, 0.45);
}
.price-tier {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-dim);
  letter-spacing: -0.005em;
}
.price-amount {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
}
.price-amount .muted {
  font-size: 0.5em;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 2px;
}
.price-for {
  font-size: 0.86rem;
  color: var(--ink-dim);
  line-height: 1.5;
  min-height: 2.4em;
}
.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 18px;
  flex: 1;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.5;
}
.price-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 8px;
}

.custom-card {
  background: linear-gradient(180deg, #1a1a1a 0%, #0e0e0e 100%);
  color: var(--cream-soft);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
  box-shadow:
    inset 0 1px 0 0 rgba(255,255,255,0.08),
    0 16px 40px -20px rgba(0,0,0,0.30);
  position: relative;
  overflow: hidden;
}
.custom-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(closest-side, rgba(232, 80, 30, 0.35), rgba(232, 80, 30, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
}
.custom-card > * { position: relative; z-index: 1; }
@media (min-width: 760px) { .custom-card { grid-template-columns: 1.6fr 1fr; gap: 32px; } }
.custom-card .eyebrow { color: rgba(255,255,255,0.55); }
.custom-card h2 { color: var(--cream-soft); margin-top: 12px; }
.custom-card .lead { color: rgba(255,255,255,0.65); margin-top: 14px; max-width: 38rem; }
.custom-card .btn { justify-self: end; align-self: end; }

/* ---------- START (brief intake) ---------- */

.start-form {
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.80),
    0 8px 32px -10px rgba(0, 0, 0, 0.10);
}
.start-form .field input,
.start-form .field textarea {
  background: rgba(255, 255, 255, 0.40);
  border: 1px solid rgba(0, 0, 0, 0.10);
}
.start-form .field input:focus,
.start-form .field textarea:focus {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.70);
}

/* ---------- ABOUT ---------- */

.about-body { max-width: 640px; margin: 0 auto; text-align: center; }
.about-body p { margin-bottom: 14px; font-size: 0.95rem; }

.founders {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 760px;
  margin: 56px auto 0;
}
@media (min-width: 720px) { .founders { grid-template-columns: 1fr 1fr; gap: 22px; } }

.founder-card {
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
}
.founder-photo {
  aspect-ratio: 1;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(255, 220, 195, 0.55) 0%, rgba(232, 80, 30, 0) 55%),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}
.founder-photo::after {
  content: 'photo';
  position: absolute;
  z-index: 0;
}
.founder-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.founder-card:hover .founder-photo img { transform: scale(1.04); }
.founder-card h3 { font-size: 1rem; margin-bottom: 4px; }
.founder-card .role { font-size: 0.82rem; color: var(--ink-dim); }

/* ---------- ONBOARDING ---------- */

.onb-shell { min-height: 100vh; display: flex; flex-direction: column; }
.onb-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 0;
  position: relative;
}
.onb-top .back {
  position: absolute;
  left: 28px;
  top: 32px;
  font-size: 0.82rem;
  color: var(--ink-dim);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.onb-top .back:hover { color: var(--ink); }

.onb-stage {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 36px 24px 80px;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  text-align: center;
  margin-top: 56px;
}
.auth-card h1 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.auth-card .lead { margin: 0 auto 28px; font-size: 0.88rem; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; text-align: left; }
.field label { font-size: 0.78rem; font-weight: 500; color: var(--ink); letter-spacing: 0.005em; }
.field .hint { font-size: 0.74rem; color: var(--ink-soft); margin-top: -2px; margin-bottom: 4px; }
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 0.9rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--ink);
  font-weight: 400;
  transition: border-color .15s, background .15s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--cream-soft);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); font-weight: 400; }
.field textarea { resize: vertical; min-height: 110px; }

.field-row { display: grid; gap: 12px; margin-bottom: 16px; }
@media (min-width: 540px) { .field-row.cols-2 { grid-template-columns: 1fr 1fr; } }

.auth-switch {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--ink-dim);
}
.auth-switch a { color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.auth-switch a:hover { color: var(--accent); border-color: var(--accent); }

/* Multi-step form */
.onb-form { width: 100%; max-width: 640px; }

.steps-bar {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 28px;
}
.steps-bar .dot {
  width: 28px; height: 3px;
  background: var(--line);
  border-radius: 999px;
  transition: background .2s;
}
.steps-bar .dot.active { background: var(--ink); }
.steps-bar .dot.done { background: var(--accent); }

.step-title { text-align: center; margin-bottom: 6px; }
.step-title h2 { font-size: 1.4rem; font-weight: 500; }
.step-title p { font-size: 0.86rem; color: var(--ink-dim); margin-top: 6px; }

.step { display: none; margin-top: 28px; }
.step.active { display: block; animation: fadeUp .35s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-dim);
  font-weight: 400;
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: var(--cream-soft); border-color: var(--ink); }

.upload {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  background: var(--cream-soft);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  font-size: 0.86rem;
  color: var(--ink-dim);
}
.upload:hover, .upload.drag { border-color: var(--ink); background: var(--cream); }
.upload .small { font-size: 0.74rem; color: var(--ink-soft); margin-top: 4px; }
.upload-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.upload-list .item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 12px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink);
}
.upload-list .item button {
  width: 16px; height: 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--ink);
  color: var(--cream-soft);
  font-size: 0.7rem;
  line-height: 1;
}

.product-row {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 16px;
  background: var(--cream-soft);
  margin-bottom: 12px;
  display: grid;
  gap: 10px;
}
.product-row .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-row .head .label { font-size: 0.74rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; }
.product-row .head .remove {
  font-size: 0.78rem; color: var(--ink-soft);
  background: none; border: none;
}
.product-row .head .remove:hover { color: var(--accent); }

.add-product {
  background: transparent;
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.82rem;
  color: var(--ink-dim);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.add-product:hover { border-color: var(--ink); color: var(--ink); }

.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 12px;
}
.step-actions .spacer { flex: 1; }
.step-actions .btn-primary { min-width: 180px; }

.summary {
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 22px;
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--ink-dim);
}
.summary dl { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 540px) { .summary dl { grid-template-columns: 140px 1fr; } }
.summary dt { color: var(--ink-soft); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; padding-top: 2px; }
.summary dd { color: var(--ink); }

.success {
  text-align: center;
  max-width: 460px;
  margin: 60px auto 0;
}
.success .check {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.success h1 { font-size: 1.6rem; margin-bottom: 8px; }
.success p { margin-bottom: 26px; }

/* ---------- MOBILE NAV ---------- */

@media (max-width: 760px) {
  .nav-side { display: none; }
  .nav-toggle { display: inline-flex; justify-self: start; }
  .nav.open .mobile-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line-soft);
    padding: 6px 28px 20px;
  }
  .nav .mobile-menu a {
    padding: 14px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 0.95rem;
    color: var(--ink);
  }
  .nav .mobile-menu a:first-child { border-top: 0; }
}

/* ---------- HOME: SHARED SECTION HEAD ---------- */

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin: 14px auto 0; }

/* ---------- HOME: TRUST STRIP ---------- */

.trust-strip {
  padding: 28px 0 44px;
  text-align: center;
}
.trust-line {
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.trust-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}
.trust-tags span {
  font-size: 0.78rem;
  color: var(--ink-dim);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: color .15s, border-color .15s;
}
.trust-tags span:hover {
  color: var(--ink);
  border-color: var(--ink-dim);
}

/* ---------- HOME: HOW IT WORKS ---------- */

.how-section { padding: clamp(56px, 8vw, 110px) 0; }
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 760px) { .how-grid { grid-template-columns: 1fr 1fr 1fr; gap: 18px; } }

.how-step {
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.70),
    0 4px 18px -8px rgba(0, 0, 0, 0.06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .25s;
}
.how-step:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.20);
  box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.18);
}
.how-step .num {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.how-step h3 { font-size: 1.08rem; }
.how-step p { font-size: 0.88rem; line-height: 1.55; }

/* ---------- HOME: WORK PREVIEW ---------- */

.work-preview { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); }
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .work-grid { grid-template-columns: 1fr 1fr 1fr; } }

.work-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------- HOME: CLIENT FEEDBACK CARDS ---------- */

.feedback-section { padding: clamp(56px, 8vw, 110px) 0; }
.feedback-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 760px) { .feedback-grid { grid-template-columns: 1fr 1fr 1fr; gap: 18px; } }

.feedback-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.70),
    0 4px 18px -8px rgba(0, 0, 0, 0.06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .25s;
}
.feedback-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.20);
  box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.18);
}
.feedback-card .stars-top {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  line-height: 1;
}
.feedback-card blockquote {
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  flex: 1;
}
.feedback-card .author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.feedback-card .author .name {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
}
.feedback-card .author .role {
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.feedback-card .ratings {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.feedback-card .rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.feedback-card .rating-label {
  font-size: 0.8rem;
  color: var(--ink-dim);
  font-weight: 500;
  letter-spacing: 0.005em;
}
.feedback-card .rating-stars {
  color: var(--accent);
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  line-height: 1;
}

/* ---------- HOME: VIDEOS ---------- */

.videos { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); }
.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 720px) { .videos-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .videos-grid { grid-template-columns: 1fr 1fr 1fr; } }

.video-card {
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s, transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.video-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.18);
}
.video-thumb {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(232, 80, 30, 0.30) 0%, rgba(232, 80, 30, 0) 60%),
    linear-gradient(135deg, #2a2a2a 0%, #161616 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  padding: 0 0 0 4px;
  box-shadow:
    0 8px 24px -8px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
  transition: transform .2s ease, background .2s ease, box-shadow .25s ease;
}
.video-card:hover .play-btn {
  transform: scale(1.06);
  background: white;
  box-shadow:
    0 12px 30px -8px rgba(232, 80, 30, 0.45),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
}
.video-meta {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.video-meta .name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}
.video-meta .role {
  font-size: 0.78rem;
  color: var(--ink-dim);
}

/* ---------- HOME: WHY ---------- */

.why-section { padding: clamp(56px, 8vw, 110px) 0; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 600px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 980px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.why-tile {
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .25s, transform .35s ease;
}
.why-tile:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.why-tile .num {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.why-tile h3 { font-size: 1rem; }
.why-tile p { font-size: 0.86rem; line-height: 1.5; }

/* ---------- HOME: FOUNDERS PREVIEW ---------- */

.founders-preview { padding: clamp(56px, 8vw, 110px) 0; }
.founders-preview-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 760px) {
  .founders-preview-inner { grid-template-columns: 1.2fr 1fr; gap: 60px; }
}
.founders-preview-copy h2 { margin-top: 14px; }
.founders-preview-copy .lead { margin-top: 14px; }
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 0.86rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.more-link:hover { color: var(--accent); border-color: var(--accent); }
.more-link .arrow { font-size: 0.85em; transition: transform .2s; }
.more-link:hover .arrow { transform: translate(2px, -2px); }

.founders-preview-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.founder-mini {
  text-align: center;
}
.founder-mini .founder-photo {
  aspect-ratio: 1;
  border-radius: 14px;
  margin-bottom: 12px;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(255, 220, 195, 0.55) 0%, rgba(232, 80, 30, 0) 55%),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  overflow: hidden;
  position: relative;
}
.founder-mini .founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.founder-mini:hover .founder-photo img { transform: scale(1.04); }
.founder-mini-name {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.005em;
}

/* ---------- HOME: FAQ ---------- */

.faq-section { padding: clamp(56px, 8vw, 110px) 0; }
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  padding: 4px 22px;
  transition: border-color .2s, background .2s;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.70),
    0 2px 12px -6px rgba(0, 0, 0, 0.05);
}
.faq-item[open] {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(0, 0, 0, 0.12);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink-soft);
  transition: transform .25s ease, color .15s;
  flex-shrink: 0;
}
.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-item p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-dim);
  padding: 0 0 18px;
  max-width: 56ch;
}

/* ---------- HOME: FINAL CTA ---------- */

.final-cta { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 10vw, 120px); }
.cta-card {
  background: linear-gradient(180deg, #1a1a1a 0%, #0e0e0e 100%);
  color: var(--cream-soft);
  border-radius: 22px;
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.08),
    0 16px 40px -20px rgba(0, 0, 0, 0.30);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(closest-side, rgba(232, 80, 30, 0.35), rgba(232, 80, 30, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
@media (min-width: 760px) {
  .cta-card { grid-template-columns: 1.6fr 1fr; gap: 32px; }
}
.cta-card .eyebrow { color: rgba(255, 255, 255, 0.55); }
.cta-card h2 { color: var(--cream-soft); margin-top: 12px; }
.cta-card .lead { color: rgba(255, 255, 255, 0.65); margin-top: 14px; max-width: 38rem; }
.cta-card .btn { justify-self: end; align-self: end; }
@media (max-width: 759px) {
  .cta-card .btn { justify-self: start; }
}

/* ---------- WORK PORTFOLIO HUB ---------- */

.cat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  margin: 0 auto 36px;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.80),
    0 4px 14px -4px rgba(0, 0, 0, 0.10);
  position: relative;
}
.cat-toggle-wrap {
  display: flex;
  justify-content: center;
}
section .cat-toggle {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.cat-toggle button {
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background .25s ease, color .15s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.cat-toggle button:hover {
  color: var(--ink);
}
.cat-toggle button.active {
  background: linear-gradient(180deg, rgba(38, 38, 38, 0.92) 0%, rgba(15, 15, 15, 0.92) 100%);
  color: var(--cream-soft);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.18),
    0 6px 18px -6px rgba(0, 0, 0, 0.40);
}

.brands-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (min-width: 720px) { .brands-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .brands-grid { grid-template-columns: 1fr 1fr 1fr; } }

.brand-card {
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease, transform .35s ease, box-shadow .35s ease;
}
.brand-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.22);
}
.brand-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(255, 220, 195, 0.40) 0%, rgba(232, 80, 30, 0) 55%),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}
.brand-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.brand-card:hover .brand-thumb img { transform: scale(1.04); }
.brand-meta {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand-name {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-line {
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.empty-state {
  text-align: center;
  max-width: 520px;
  margin: 40px auto 0;
  padding: 56px 24px;
  background: var(--cream-soft);
  border: 1px dashed var(--line);
  border-radius: 18px;
}
.empty-state h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}
.empty-state p {
  margin-bottom: 24px;
  font-size: 0.92rem;
}

/* ---------- WORK BRAND PAGE ---------- */

.brand-header {
  padding: clamp(48px, 7vw, 90px) 0 clamp(28px, 4vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.brand-header > .container { position: relative; z-index: 1; }
.brand-header .hero-orb { width: 45%; height: 90%; top: -10%; left: 10%; }
.brand-header .hero-orb-2 { width: 45%; height: 90%; top: 10%; right: 10%; }
.brand-header .eyebrow { color: var(--accent); }
.brand-header h1 { margin: 12px auto 16px; max-width: 18ch; }
.brand-header .lead { margin: 0 auto; max-width: 38rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--ink-dim);
  margin-bottom: 24px;
  transition: color .15s;
}
.back-link:hover { color: var(--ink); }

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.brand-tags span {
  font-size: 0.74rem;
  color: var(--ink-dim);
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
}

/* ---------- BRAND-PAGE: PROJECT CARDS (click to open slider) ---------- */

.brand-projects {
  padding: clamp(40px, 6vw, 80px) 0;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--cream-soft);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 0;
  width: 100%;
  transition: border-color .25s ease, transform .35s ease, box-shadow .35s ease;
}
.project-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.22);
}
@media (min-width: 720px) {
  .project-card { grid-template-columns: 1.15fr 1fr; }
}

.project-card-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(255, 220, 195, 0.40) 0%, rgba(232, 80, 30, 0) 55%),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}
.project-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.project-card:hover .project-card-thumb img { transform: scale(1.03); }

.project-card-thumb .play-glyph {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  padding-left: 4px;
  box-shadow:
    0 8px 24px -8px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
  transition: transform .25s ease, box-shadow .25s ease;
}
.project-card:hover .project-card-thumb .play-glyph {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow:
    0 12px 30px -8px rgba(232, 80, 30, 0.50),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
}
.project-card-thumb .photo-count {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 15, 15, 0.78);
  color: white;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.project-card-body {
  padding: 24px clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.project-card-body .num {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.project-card-body h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  margin: 2px 0 4px;
}
.project-card-body p {
  font-size: 0.9rem;
  line-height: 1.55;
}
.project-card-body .open {
  margin-top: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.project-card-body .open .arrow {
  transition: transform .2s;
  font-size: 0.85em;
}
.project-card:hover .project-card-body .open .arrow {
  transform: translate(2px, -2px);
}

/* ---------- LIGHTBOX SLIDER ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: lbFadeIn .25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lb-stage {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  background: #0e0e0e;
  animation: lbImgIn .25s ease;
}
@keyframes lbImgIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lb-close {
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  line-height: 1;
}
.lb-close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.30);
}
.lb-prev, .lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
  line-height: 1;
  padding-bottom: 3px;
}
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
.lb-prev:hover, .lb-next:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.30);
}
.lb-prev:hover { transform: translateY(-50%) translateX(-2px); }
.lb-next:hover { transform: translateY(-50%) translateX(2px); }

.lb-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 720px) {
  .lightbox { padding: 12px; }
  .lb-stage, .lb-img { max-width: 96vw; max-height: 76vh; }
  .lb-prev, .lb-next { width: 40px; height: 40px; font-size: 1.4rem; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-close { top: 14px; right: 14px; width: 36px; height: 36px; font-size: 1.2rem; }
  .lb-counter { bottom: 14px; }
}

.next-brand {
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px);
}
.next-card {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: 28px clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.70),
    0 4px 18px -8px rgba(0, 0, 0, 0.06);
}
.next-card h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  flex: 1;
}
.next-card .btn { margin-top: 10px; align-self: flex-start; }
@media (min-width: 600px) {
  .next-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .next-card .btn { margin-top: 0; }
}

/* ---------- HOME: thumb override (when result-thumb has an image) ---------- */

.result-thumb.home-thumb {
  font-size: 0;
  padding: 0;
}
.result-thumb.home-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.result-card:hover .result-thumb.home-thumb img { transform: scale(1.04); }

/* ---------- FEEDBACK PAGE: STAR RATING INPUTS ---------- */

.rating-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.rating-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.40);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .15s ease, background .15s ease;
}
.rating-input:hover { border-color: var(--ink-dim); }
.rating-input-label {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.stars-input {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.stars-input button {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--line);
  cursor: pointer;
  padding: 4px 3px;
  line-height: 1;
  transition: color .12s ease, transform .15s ease;
}
.stars-input button:hover,
.stars-input button.hover-active,
.stars-input button.active {
  color: var(--accent);
}
.stars-input button:hover { transform: scale(1.1); }

/* Slight tweak so the form area on /feedback breathes */
.start-form .field select {
  font: inherit;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.40);
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--ink);
  width: 100%;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-dim) 50%),
    linear-gradient(135deg, var(--ink-dim) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.start-form .field select:focus {
  outline: none;
  border-color: var(--ink);
  background-color: rgba(255, 255, 255, 0.70);
}

/* ---------- HOME: Feedback CTA strip (bottom of feedback section) ---------- */

.feedback-cta {
  text-align: center;
  margin-top: 36px;
  font-size: 0.88rem;
  color: var(--ink-dim);
}
.feedback-cta a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color .15s, border-color .15s;
}
.feedback-cta a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- UTILITIES ---------- */

.fadein { opacity: 0; transform: translateY(10px); transition: opacity .7s ease, transform .7s ease; }
.fadein.visible { opacity: 1; transform: translateY(0); }

::selection { background: var(--accent); color: white; }
