/* ==================================================================
   TSM SOCIALS — DESIGN SYSTEM
   Palette: pure black / white / warm off-white + neutral grays only.
   Type: Playfair Display (display/serif) + Inter (body/UI).
   ================================================================== */

:root {
  --black: #0a0a0a;
  --near-black: #111111;
  --white: #ffffff;
  --off-white: #f6f5f2;
  --gray-100: #efeeea;
  --gray-300: #d6d4cd;
  --gray-500: #8f8d86;
  --gray-600: #6b6a64;
  --gray-700: #47463f;
  --gray-900: #1c1b18;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;

  --section-pad-y: clamp(72px, 11vw, 160px);
  --container-w: 1240px;
  --nav-h: 76px;
}

/* ------------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------------ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

button { cursor: pointer; background: none; border: none; }

:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}
.section-dark :focus-visible,
.hero :focus-visible,
.modal :focus-visible { outline-color: var(--white); }

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

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 760px; }

/* ------------------------------------------------------------------
   REVEAL ON SCROLL
   ------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--black);
  color: var(--white);
}
.btn-primary:hover { background: var(--near-black); box-shadow: 0 10px 30px rgba(0,0,0,0.25); transform: translateY(-2px); }

.section-dark .btn-primary,
.hero .btn-primary,
.modal .btn-primary {
  background: var(--white);
  color: var(--black);
}
.section-dark .btn-primary:hover,
.hero .btn-primary:hover,
.modal .btn-primary:hover {
  background: var(--gray-100);
  box-shadow: 0 10px 30px rgba(255,255,255,0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.section-light .btn-ghost,
.modal .btn-ghost {
  color: var(--black);
  border-color: rgba(10,10,10,0.3);
}
.section-light .btn-ghost:hover,
.modal .btn-ghost:hover { border-color: var(--black); background: rgba(10,10,10,0.05); }

.btn-block { width: 100%; }

.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* ------------------------------------------------------------------
   NAVIGATION (glassmorphism, sticky)
   ------------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--dur-med) var(--ease);
}

.nav-inner {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.nav-logo span { font-weight: 400; opacity: 0.75; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width var(--dur-med) var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-order-btn {
  background: var(--white);
  color: var(--black);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.nav-order-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,255,255,0.2); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* Belt-and-suspenders fallback: if the <video> itself is hidden by the error
     handler in script.js (see "HERO VIDEO FALLBACK"), this background-image
     shows through underneath it — so there's always a full-bleed image here
     even in that edge case, not just via the <video poster>. */
  background-image: url('assets/images/hero-fallback.jpg');
  background-size: cover;
  background-position: center;
  /* Subtle fade-in for the whole background (video + poster) on page load */
  animation: heroBgFadeIn 1.6s var(--ease) both;
}
.hero-video,
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes heroBgFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-overlay {
  position: absolute; inset: 0;
  /* ~50% dark overlay for text readability over the video; slightly deeper
     at the very bottom so the CTA buttons keep strong contrast too. */
  background: linear-gradient(180deg, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: calc(var(--nav-h) + 40px) 24px 40px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin-bottom: 26px;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-full);
  z-index: 2;
}
.scroll-cue span {
  display: block;
  width: 4px; height: 4px;
  background: var(--white);
  border-radius: 50%;
  margin: 8px auto 0;
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ------------------------------------------------------------------
   SECTIONS
   ------------------------------------------------------------------ */
.section { padding: var(--section-pad-y) 0; }
.section-light { background: var(--white); color: var(--black); }
.section-dark { background: var(--black); color: var(--white); }

.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.section-dark .kicker { color: rgba(255,255,255,0.55); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  max-width: 16ch;
}
.section-lede {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 56ch;
  margin-bottom: 56px;
}
.section-dark .section-lede { color: rgba(255,255,255,0.7); }

/* ------------------------------------------------------------------
   HOW IT WORKS
   ------------------------------------------------------------------ */
.steps-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(10,10,10,0.09);
}
.step-number {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.step-card p { color: var(--gray-600); font-size: 15.5px; }

/* ------------------------------------------------------------------
   WHY US — BENEFITS GRID
   ------------------------------------------------------------------ */
.benefits-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.benefit-card {
  background: var(--black);
  padding: 40px 28px;
  transition: background var(--dur-med) var(--ease);
}
.benefit-card:hover { background: var(--near-black); }
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 22px;
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit-card h3 {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255,255,255,0.92);
}

/* ------------------------------------------------------------------
   VIDEO EXAMPLES
   ------------------------------------------------------------------ */
.examples-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.example-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  width: 100%;
  text-align: left;
}
.example-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.example-card:hover img { transform: scale(1.06); }
.example-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.75) 100%);
}
.example-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.example-play svg { width: 24px; height: 24px; margin-left: 3px; }
.example-card:hover .example-play { transform: translate(-50%, -50%) scale(1.1); background: var(--white); }
.example-label {
  position: absolute;
  left: 24px; bottom: 22px;
  z-index: 2;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

/* ------------------------------------------------------------------
   PRICING
   ------------------------------------------------------------------ */
.price-card {
  margin-top: 48px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  text-align: center;
}
.price-card-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.price-card-value {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.price-card-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 8vw, 5.2rem);
  line-height: 1;
  margin-bottom: 36px;
}
.price-card-amount span { font-size: 0.4em; vertical-align: top; position: relative; top: 0.35em; margin-right: 4px; }

.price-card-list {
  display: grid;
  gap: 16px;
  max-width: 360px;
  margin: 0 auto 40px;
  text-align: left;
}
.price-card-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  color: rgba(255,255,255,0.88);
}
.price-card-list svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--white); }

/* ------------------------------------------------------------------
   FAQ ACCORDION
   ------------------------------------------------------------------ */
.accordion { margin-top: 48px; border-top: 1px solid var(--gray-100); }
.accordion-item { border-bottom: 1px solid var(--gray-100); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.accordion-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px; height: 22px;
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--black);
  transition: transform var(--dur-med) var(--ease);
}
.accordion-icon::before { left: 0; top: 50%; width: 100%; height: 1.5px; transform: translateY(-50%); }
.accordion-icon::after { top: 0; left: 50%; width: 1.5px; height: 100%; transform: translateX(-50%); }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 380ms var(--ease);
}
.accordion-item:has(.accordion-trigger[aria-expanded="true"]) .accordion-panel {
  grid-template-rows: 1fr;
}
.accordion-panel > p {
  overflow: hidden;
  color: var(--gray-600);
  font-size: 15.5px;
  line-height: 1.7;
  padding-bottom: 0;
  padding-right: 40px;
  transition: padding-bottom 380ms var(--ease);
}
.accordion-item:has(.accordion-trigger[aria-expanded="true"]) .accordion-panel > p {
  padding-bottom: 26px;
}
.accordion-panel { overflow: hidden; }

/* ------------------------------------------------------------------
   CONTACT FORM
   ------------------------------------------------------------------ */
.contact-form { margin-top: 48px; display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--black);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.section-dark .field input,
.section-dark .field textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; padding-top: 14px; }
.field input:focus, .field textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 4px rgba(10,10,10,0.08);
}
.section-dark .field input:focus,
.section-dark .field textarea:focus {
  border-color: var(--white);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.1);
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-500); }

.form-status {
  font-size: 14.5px;
  font-weight: 500;
  min-height: 20px;
}
.form-status.is-success { color: #4ade80; }
.section-light .form-status.is-success { color: #16803c; }

/* ------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.footer-logo span { font-weight: 400; opacity: 0.7; }
.footer-tagline { font-size: 13px; margin-top: 4px; letter-spacing: 0.04em; }
.footer-links { display: flex; gap: 28px; font-size: 14px; }
.footer-links a { transition: color var(--dur-fast) var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 13px; width: 100%; text-align: center; margin-top: 8px; opacity: 0.5; }
@media (min-width: 640px) { .footer-copy { width: auto; margin-top: 0; text-align: right; } }

/* ==================================================================
   ORDER MODAL
   ================================================================== */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease), visibility var(--dur-med) var(--ease);
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }

.modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  transform: translateY(24px) scale(0.98);
  transition: transform var(--dur-med) var(--ease);
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  transition: background var(--dur-fast) var(--ease);
}
.modal-close:hover { background: var(--gray-100); }
.modal-close svg { width: 18px; height: 18px; }

.modal-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  padding-right: 40px;
}
.modal-step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-500);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
  transition: color var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.modal-step-num {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.modal-step.is-active,
.modal-step.is-complete { color: var(--black); border-color: var(--black); }
.modal-step.is-complete .modal-step-num { background: var(--black); color: var(--white); }

.modal-panel { display: none; }
.modal-panel.is-active { display: block; animation: panelIn 420ms var(--ease); }
@keyframes panelIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.modal-panel h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.modal-sub { color: var(--gray-600); font-size: 15px; margin-bottom: 28px; }

.modal .field-row { grid-template-columns: 1fr 1fr; }
.modal .field { margin-bottom: 20px; }
.modal .field-row .field { margin-bottom: 0; }

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

/* Visually-hidden native input (radio/checkbox), still focusable & clickable via its label */
.sr-only-input {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field-optional {
  color: var(--gray-500);
  font-weight: 500;
  font-size: 12px;
  margin-left: 4px;
}
.field-hint {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: -2px;
}
.media-note {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 4px 0 20px;
}

/* Choice cards — used for Video Format (3-col grid) and Music Preference (stacked rows) */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.choice-grid-stack { grid-template-columns: 1fr; }
.choice-grid-formats { grid-template-columns: repeat(3, 1fr); }

.choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 24px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.choice-card:hover { border-color: var(--gray-500); }
.choice-card:has(input:checked) { border-color: var(--black); background: var(--off-white); }
.choice-card:has(input:focus-visible) { outline: 2px solid var(--black); outline-offset: 2px; }
.choice-card-icon svg { width: 28px; height: 28px; color: var(--gray-700); }
.choice-card:has(input:checked) .choice-card-icon svg { color: var(--black); }
.choice-card-title { font-weight: 600; font-size: 15px; }
.choice-card-sub { font-size: 12.5px; color: var(--gray-500); }
.choice-card-check {
  position: absolute;
  top: 12px; right: 12px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  flex-shrink: 0;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.choice-card:has(input:checked) .choice-card-check {
  border-color: var(--black);
  background: var(--black);
  box-shadow: inset 0 0 0 3px var(--white);
}

.choice-card-row {
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  padding: 18px 20px;
  gap: 14px;
}
.choice-card-row .choice-card-check { position: static; margin-top: 2px; }
.choice-card-body { display: flex; flex-direction: column; gap: 4px; }
.choice-card-desc { font-size: 13.5px; color: var(--gray-600); font-weight: 400; }

/* Conditional reveal — grid-rows collapse trick. Inner spacing is tied to the same
   .is-open state (not left as fixed padding) so collapsed content never leaks through. */
.conditional-reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 420ms var(--ease);
}
.conditional-reveal-inner {
  overflow: hidden;
  padding-top: 0;
  transition: padding-top 420ms var(--ease);
}
.conditional-reveal.is-open { grid-template-rows: 1fr; }
.conditional-reveal.is-open > .conditional-reveal-inner { padding-top: 22px; }

/* Toggle switch (checkbox styled as a pill switch) */
.toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  padding: 20px 0;
  border-top: 1px solid var(--gray-100);
}
.toggle-row-nested { padding-top: 18px; margin-top: 4px; }
.toggle-switch {
  flex-shrink: 0;
  width: 44px; height: 26px;
  border-radius: var(--radius-full);
  background: var(--gray-300);
  position: relative;
  margin-top: 2px;
  transition: background var(--dur-fast) var(--ease);
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(10,10,10,0.25);
  transition: transform var(--dur-fast) var(--ease);
}
.toggle-row:has(input:checked) .toggle-switch { background: var(--black); }
.toggle-row:has(input:checked) .toggle-switch::after { transform: translateX(18px); }
.toggle-row:has(input:focus-visible) .toggle-switch { outline: 2px solid var(--black); outline-offset: 2px; }
.toggle-row-text { display: flex; flex-direction: column; gap: 3px; }
.toggle-row-title { font-weight: 600; font-size: 15px; }
.toggle-row-desc { font-size: 13.5px; color: var(--gray-600); }

.extras-subhead {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 28px 0 16px;
  padding-top: 22px;
  border-top: 1px solid var(--gray-100);
}
.conditional-reveal-inner > .extras-subhead:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.headshot-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  margin-top: 18px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
}
.headshot-preview img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.headshot-preview .file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dropzone {
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  text-align: center;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.dropzone svg { width: 30px; height: 30px; margin: 0 auto 16px; color: var(--gray-500); }
.dropzone p { font-size: 14.5px; color: var(--gray-700); }
.dropzone-hint { color: var(--gray-500) !important; font-size: 13px !important; margin-top: 6px; }
.dropzone.is-dragover { border-color: var(--black); background: var(--off-white); }
.dropzone:focus-visible { outline-offset: 4px; }

.dropzone-compact { padding: 22px 18px; }
.dropzone-compact svg { width: 22px; height: 22px; margin-bottom: 10px; }

.file-list { margin-top: 18px; display: grid; gap: 10px; }
.file-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
}
.file-list li img { width: 34px; height: 34px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.file-list .file-icon {
  width: 34px; height: 34px; border-radius: 6px; flex-shrink: 0;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--gray-600);
}
.file-list .file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .file-size { color: var(--gray-500); flex-shrink: 0; }
.file-remove {
  width: 26px; height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.file-remove:hover { background: var(--gray-300); color: var(--black); }
.file-remove svg { width: 13px; height: 13px; }

.field-error {
  color: #c1121f;
  font-size: 13.5px;
  font-weight: 500;
  margin-top: -8px;
  margin-bottom: 16px;
  min-height: 18px;
}

/* Review + payment */
.order-summary {
  display: grid;
  gap: 10px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 20px;
  font-size: 14.5px;
}
.order-summary .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.order-summary .row dt { color: var(--gray-600); }
.order-summary .row dd { font-weight: 600; text-align: right; max-width: 60%; }
.order-summary .row-thumb dd { display: flex; align-items: center; }
.order-summary .row-thumb dd img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 18px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 24px;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--gray-500);
}
.secure-note svg { width: 15px; height: 15px; }

/* Confirmation panel */
.modal-panel[data-panel="confirmation"] { text-align: center; padding-top: 8px; }
.confirm-check {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.confirm-check svg { width: 28px; height: 28px; }
.confirm-order-number {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  background: var(--off-white);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin: 4px 0 22px;
}
.confirm-body { color: var(--gray-600); font-size: 15px; line-height: 1.7; margin-bottom: 32px; }

/* ==================================================================
   EXAMPLE LIGHTBOX
   ================================================================== */
.lightbox {
  position: fixed; inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease), visibility var(--dur-med) var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-inner { max-width: 520px; width: 100%; text-align: center; }
.lightbox-inner img { border-radius: var(--radius-lg); width: 100%; max-height: 68vh; object-fit: cover; }
.lightbox-caption { color: var(--white); font-family: var(--font-display); font-size: 1.3rem; margin-top: 20px; }
.lightbox-note { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 8px; }
.lightbox-note code { background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast) var(--ease);
}
.lightbox-close:hover { background: rgba(255,255,255,0.12); }
.lightbox-close svg { width: 20px; height: 20px; }

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .examples-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black);
    padding: 8px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), visibility var(--dur-med) var(--ease);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 16px;
  }
  .nav-links a::after { display: none; }
  .nav-order-btn { margin-top: 16px; text-align: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  :root { --section-pad-y: 72px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .examples-grid { grid-template-columns: 1fr; }
  .field-row, .modal .field-row { grid-template-columns: 1fr; gap: 20px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .modal { padding: 28px 22px; max-height: 92vh; }
  .price-card-list { grid-template-columns: 1fr; }
  .choice-grid:not(.choice-grid-stack) { grid-template-columns: 1fr 1fr; gap: 10px; }
}

@media (max-width: 520px) {
  .modal-steps { gap: 4px; padding-right: 34px; }
  .modal-step { gap: 0; padding-bottom: 10px; }
  .modal-step-label { display: none; }
}
