/* ============================================================
   Peak Creative — Saunabox-inspired theme
   Palette (strict): white #FFFFFF · black #1B191A · navy #0F0A5E
   Loaded AFTER styles.css — overrides the compiled theme.
   ============================================================ */

:root {
  /* Electric blue replaces the old gold accent everywhere brand-orange is used */
  --brand-orange: 243 89% 52%;          /* #2318F2 */
  /* Near-black replaces the warm charcoal */
  --foreground: 330 5% 8%;              /* #141213 */
  --primary: 243 89% 52%;               /* primary buttons -> electric blue */
  --ink: #141213;
  --navy: #2318F2;                      /* var name kept; value is now the electric blue */
}

body {
  font-family: "Lato", "Inter", -apple-system, sans-serif;
  color: var(--ink);
}

/* ---------- Typography: uppercase, letterspaced section headings ---------- */
section > div h2,
section h2 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
h1 { text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 9px 16px;
}
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.announce { position: fixed; top: 0; left: 0; right: 0; z-index: 60; }
body { padding-top: 34px; }
nav#main-nav { top: 46px; }

/* ---------- Buttons (saunabox style: flat, squared, uppercase) ---------- */
.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 16px 40px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.25s ease;
}
.btn-navy:hover { background: #1b10c9; }
.btn-outline-dark {
  display: inline-block;
  border: 1px solid rgba(27, 25, 26, 0.3);
  color: var(--ink);
  padding: 16px 40px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: border-color 0.25s ease;
}
.btn-outline-dark:hover { border-color: var(--ink); }

/* ---------- White hero ---------- */
.hero-light {
  background: #fff;
  text-align: center;
  padding: 170px 24px 80px;
}
.hero-light .eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 26px;
}
.hero-light h1 {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0.05em;
  color: var(--ink);
  max-width: 1000px;
  margin: 0 auto;
}
.hero-light h1 .heavy { font-weight: 700; }
.hero-light .word { color: #fff; font-weight: 700; }
.hero-light .sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  color: rgba(27, 25, 26, 0.65);
  max-width: 540px;
  margin: 28px auto 34px;
  line-height: 1.65;
}
.hero-light .hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-light .checks {
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
}
.hero-light .checks span { display: inline-flex; align-items: center; gap: 8px; }
.hero-light .checks svg { color: var(--navy); flex: none; }

/* ---------- Video hero (full-bleed, saunabox-style) ---------- */
.hero-video { position: relative; overflow: hidden; min-height: 92vh; display: flex; flex-direction: column; justify-content: center; }
.hero-video .hero-bg-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-video .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(20, 18, 19, 0.45), rgba(20, 18, 19, 0.65));
}
.hero-video > *:not(.hero-bg-video):not(.hero-overlay) { position: relative; z-index: 2; }
.hero-video h1 { color: #fff; }
.hero-video .sub { color: rgba(255, 255, 255, 0.78); }
.hero-video .checks { color: #fff; }
.hero-video .eyebrow { color: #a49dff; }
.hero-video .btn-outline-dark { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.hero-video .btn-outline-dark:hover { border-color: #fff; }

/* ---------- Full-bleed photo band with stats ---------- */
.photo-band {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.photo-band img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.55);
}
.photo-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(27,25,26,0.35), rgba(27,25,26,0.55));
}
.photo-band .band-inner { position: relative; z-index: 2; text-align: center; padding: 70px 24px; }
.photo-band h2 {
  color: #fff; font-weight: 300; font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 40px;
}
.photo-band h2 b { font-weight: 700; }
.photo-band .band-stats { display: flex; gap: clamp(2rem, 8vw, 6rem); justify-content: center; flex-wrap: wrap; }
.photo-band .band-stats > div > div:first-child {
  color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 300; letter-spacing: -0.01em;
}
.photo-band .band-stats > div > div:last-child {
  color: rgba(255,255,255,0.55); font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; margin-top: 8px;
}

/* ---------- Nav: flat saunabox-style bar ---------- */
.nav-shell { border-radius: 999px !important; }
nav[data-theme="light"] .nav-shell {
  /* liquid glass over light sections: smoked translucent tint + blur, like the live site */
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
}
nav[data-theme="dark"] .nav-shell,
nav .nav-shell {
  border-radius: 999px;
}
nav[data-theme="light"] .nav-cta { background: var(--navy); color: #fff; }
nav[data-theme="light"] .nav-cta:hover { background: #1b10c9; }

/* ---------- Logo marquee: clean white strip, monochrome logos ---------- */
#logo-marquee .bg-white { background: transparent; }
#logo-marquee img { filter: grayscale(1) contrast(1.1); opacity: 0.85; }
#logo-marquee img.invert { filter: grayscale(1) invert(1) contrast(1.1); }

/* ---------- Services section: white bg, 3D tilt product cards ---------- */
#services { background: #fff; border-top: 1px solid #ececf2; }
#services h2 { color: var(--ink); }

.tilt-card {
  /* per-card color vars; default = brand blue (Meta Ads) */
  --c-light: #2f23ff;
  --c-mid: #2318F2;
  --c-dark: #1a10c9;
  --c-glow: 35, 24, 242;
  position: relative;
  width: 100%; max-width: 340px;
  aspect-ratio: 9 / 12;
  margin: 0 auto;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--c-light) 0%, var(--c-mid) 45%, var(--c-dark) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 18px rgba(var(--c-glow), 0.32),
    0 0 48px rgba(var(--c-glow), 0.16),
    0 12px 34px rgba(var(--c-glow), 0.22);
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.3s ease;
}
.tilt-card:hover {
  box-shadow:
    0 0 26px rgba(var(--c-glow), 0.45),
    0 0 64px rgba(var(--c-glow), 0.22),
    0 16px 42px rgba(var(--c-glow), 0.28);
}
/* Cohesive blue-to-gray spectrum across the six cards */
/* 01 AI Solutions — deep royal navy */
#services .grid > .reveal-item:nth-child(1) .tilt-card {
  --c-light: #2748A8; --c-mid: #1E3A8A; --c-dark: #16295F; --c-glow: 30, 58, 138;
}
/* 02 Influencer Marketing — bright royal blue */
#services .grid > .reveal-item:nth-child(2) .tilt-card {
  --c-light: #3B76F0; --c-mid: #2563EB; --c-dark: #1D4FC4; --c-glow: 37, 99, 235;
}
/* 03 Performance Content — steel blue */
#services .grid > .reveal-item:nth-child(3) .tilt-card {
  --c-light: #56698A; --c-mid: #475977; --c-dark: #35435C; --c-glow: 71, 89, 119;
}
/* 04 Meta Ads — electric brand blue (defaults above) */
/* 05 Google Ads — slate gray */
#services .grid > .reveal-item:nth-child(5) .tilt-card {
  --c-light: #46586E; --c-mid: #334155; --c-dark: #263242; --c-glow: 51, 65, 85;
}
/* 06 SEO & AEO — graphite */
#services .grid > .reveal-item:nth-child(6) .tilt-card {
  --c-light: #2E3B4E; --c-mid: #1F2937; --c-dark: #151D29; --c-glow: 31, 41, 55;
}
.tilt-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 24px;
  filter: grayscale(1) contrast(1.15);
  mix-blend-mode: screen;
  opacity: 0.22;
  pointer-events: none;
}
.tilt-content {
  position: absolute; inset: 0;
  padding: 20px;
  display: flex; flex-direction: column;
  transform: translateZ(40px);
}
.tilt-glass {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tilt-glass h3 { color: #fff; font-size: 1.15rem; font-weight: 700; margin-bottom: 5px; letter-spacing: 0.01em; }
.tilt-desc { color: rgba(255, 255, 255, 0.72); font-size: 12px; line-height: 1.55; font-weight: 300; }
.tilt-icon svg { width: 24px; height: 24px; stroke: #ffffff; flex: none; }
.tilt-num {
  align-self: flex-start;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tilt-pills { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tilt-pills span {
  font-size: 10.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.tilt-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: #fff;
  transition: color 0.25s, gap 0.25s;
}
.tilt-link:hover { color: rgba(255, 255, 255, 0.7); gap: 12px; }
.tilt-arrow { width: 14px; height: 14px; }

/* ---------- Social partners: hover ring accent to navy ---------- */
.group .hover\:border-\[\#7DEBFF\]:hover { border-color: #9aa3ff !important; }
.group .hover\:text-\[\#7DEBFF\]:hover { color: #9aa3ff !important; }

/* ---------- Team section stays black (bg-foreground = #1B191A now) ---------- */
/* Accent elements inside auto-switch to navy tints; lighten them for contrast on black */
#team .text-brand-orange { color: #a49dff !important; }          /* readable navy tint on black */
#team .bg-brand-orange { background: var(--navy) !important; }
#team .bg-brand-orange:hover { background: #1b10c9 !important; }

/* ---------- Contact (black) ---------- */
#contact .bg-primary { background: var(--navy) !important; }
#contact .bg-primary:hover { background: #1b10c9 !important; }

/* ---------- Content fan carousel ---------- */
.fan-section {
  background: #fff;
  padding: 5rem 1rem 5.5rem;
  border-bottom: 1px solid #ececf2;
  overflow: hidden;
}
.fan-head { text-align: center; max-width: 640px; margin: 0 auto 1rem; }
.fan-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 14px;
}
.fan-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 300;
  color: var(--ink); letter-spacing: 0.08em; text-transform: uppercase;
}
.fan-head h2 strong { font-weight: 700; }
.fan-sub { color: rgba(20, 18, 19, 0.55); font-size: 0.95rem; font-weight: 300; margin-top: 14px; }
.fan-wrap { display: flex; justify-content: center; width: 100%; }
.fan-layout {
  position: relative;
  width: 100%; max-width: 80rem;
  height: 34rem;
}
.fan-card {
  position: absolute; left: 50%; top: 50%;
  height: 26rem; aspect-ratio: 9 / 16;
  border-radius: 14px; overflow: hidden;
  background: #e9e8ef;
  box-shadow: 0 18px 45px rgba(20, 18, 19, 0.28);
  opacity: 0;
  will-change: transform;
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1023px) {
  .fan-layout { height: 30rem; }
  .fan-card { height: 22rem; }
}
@media (max-width: 767px) {
  .fan-layout { height: 26rem; }
  .fan-card { height: 19rem; }
}
@media (max-width: 479px) {
  .fan-layout { height: 22rem; }
  .fan-card { height: 16rem; }
}
.fan-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.2rem; position: relative; z-index: 30; }
.fan-arrow {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(20, 18, 19, 0.1);
  background: rgba(20, 18, 19, 0.05);
  backdrop-filter: blur(16px);
  color: rgba(20, 18, 19, 0.4);
  cursor: pointer; flex-shrink: 0; outline: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: color 0.3s, border-color 0.3s;
}
.fan-arrow::before {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  border: 1px solid rgba(20, 18, 19, 0.04); pointer-events: none;
}
.fan-arrow:hover { border-color: rgba(20, 18, 19, 0.25); color: rgba(20, 18, 19, 0.7); }
.fan-arrow:active { opacity: 0.7; }
.fan-arrow svg { width: 18px; height: 18px; }
.fan-dots { display: flex; align-items: center; gap: 8px; }
.fan-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(20, 18, 19, 0.15);
  transition: all 0.3s;
}
.fan-dot.active { background: var(--navy); transform: scale(1.3); }

/* ---------- Bouncy feature cards (services) ---------- */
.bounce-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.bounce-span-4 { grid-column: span 12; }
.bounce-span-8 { grid-column: span 12; }
@media (min-width: 768px) {
  .bounce-span-4 { grid-column: span 4; }
  .bounce-span-8 { grid-column: span 8; }
}
.bounce-card {
  position: relative;
  min-height: 340px;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #f1f3f9;
  padding: 2rem;
  cursor: default;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}
.bounce-card:hover { transform: scale(0.95) rotate(-1deg); }
.bounce-title {
  margin: 0 auto;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.bounce-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  color: rgba(20, 18, 19, 0.35);
}
.bounce-panel {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0; top: 5rem;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(135deg, var(--p1), var(--p2));
  padding: 1.25rem;
  transform: translateY(8px);
  transition: transform 0.25s ease;
  overflow: hidden;
}
.bounce-card:hover .bounce-panel { transform: translateY(4px) rotate(2deg); }
.bounce-panel-inner { display: flex; flex-direction: column; height: 100%; }
.bounce-panel-inner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13.5px;
  line-height: 1.6;
  font-weight: 300;
  text-align: center;
  max-width: 460px;
  margin: 0 auto;
}
.bounce-pills {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  margin: 14px auto 0;
  max-width: 480px;
}
.bounce-pills span {
  font-size: 10.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.bounce-link {
  margin-top: auto;
  align-self: center;
  padding-top: 12px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #fff;
  transition: opacity 0.25s;
}
.bounce-link:hover { opacity: 0.7; }

/* ---------- Brands we've grown (dark spotlight rows) ---------- */
.grown-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; margin-bottom: 40px;
}
.grown-note { color: rgba(255, 255, 255, 0.45); font-size: 15px; font-weight: 300; max-width: 320px; }
.grown-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 30px;
  margin-bottom: 18px;
  transition: border-color 0.3s;
}
.grown-row:hover { border-color: rgba(164, 157, 255, 0.35); }
.grown-cat {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
}
.grown-brand { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.grown-logo {
  width: 56px; height: 56px; border-radius: 50%;
  overflow: hidden; flex: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex; align-items: center; justify-content: center;
}
.grown-logo img { width: 100%; height: 100%; object-fit: cover; }
.grown-logo-light { background: #fff; }
.grown-logo-light img { object-fit: contain; transform: scale(1.15); }
.grown-logo-mono, .ig-avatar-mono {
  background: linear-gradient(140deg, #2f23ff, #1a10c9);
  color: #fff; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.grown-brand h3 { color: #fff; font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.grown-founder { color: rgba(255, 255, 255, 0.45); font-size: 13px; margin-top: 4px; }
.ig-card {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 18px 20px;
}
.ig-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  overflow: hidden; flex: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.ig-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ig-avatar-light { background: #fff; display: flex; align-items: center; justify-content: center; }
.ig-avatar-light img { object-fit: contain; transform: scale(1.15); }
.ig-handle {
  color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; gap: 6px;
}
.ig-stats { color: rgba(255, 255, 255, 0.6); font-size: 13px; margin-top: 4px; }
.ig-stats b { color: #fff; font-size: 15px; }
.ig-growth {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px; font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(35, 24, 242, 0.35);
  border: 1px solid rgba(164, 157, 255, 0.4);
  color: #c7c2ff;
}
.ig-link { display: inline-block; color: #8f9dff; font-size: 13px; font-weight: 600; margin-top: 6px; }
.ig-link:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .grown-row { grid-template-columns: 1fr; }
}

/* ---------- Nav audit button ---------- */
@media (min-width: 980px) and (max-width: 1279px) {
  /* keep the logo perfectly centered: compact buttons so the right column never outgrows its grid track */
  nav .nav-audit, nav .nav-cta { padding-left: 14px !important; padding-right: 14px !important; font-size: 12px !important; }
  nav .nav-link { font-size: 12px !important; }
}
nav .nav-audit { border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; }
nav .nav-audit:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
nav[data-theme="light"] .nav-audit { border: 1px solid rgba(0, 0, 0, 0.35); color: #000; }
nav[data-theme="light"] .nav-audit:hover { border-color: #000; background: rgba(0, 0, 0, 0.06); }

/* ---------- Free audit quiz ---------- */
.quiz-wrap { max-width: 660px; margin: 0 auto; padding: 170px 24px 90px; }
.quiz-head h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 300; color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.15;
}
.quiz-head h1 strong { font-weight: 700; }
.quiz-sub { color: rgba(20, 18, 19, 0.6); margin-top: 14px; line-height: 1.6; }
.quiz-sub2 { color: rgba(20, 18, 19, 0.55); font-size: 14px; margin-bottom: 6px; }
.quiz-progress {
  height: 6px; border-radius: 999px;
  background: #ececf2; overflow: hidden;
  margin-top: 34px;
}
.quiz-progress-fill { height: 100%; width: 20%; background: var(--navy); border-radius: 999px; transition: width 0.4s ease; }
.quiz-stepcount { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(20, 18, 19, 0.4); margin: 10px 0 8px; }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: quizIn 0.35s ease; }
@keyframes quizIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quiz-title { font-size: 1.3rem; font-weight: 700; color: var(--ink); margin: 18px 0 6px; }
.quiz-label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin: 20px 0 8px; }
.quiz-label .req { color: var(--navy); }
.quiz-label .hint, .quiz-label + .hint { font-weight: 400; color: rgba(20, 18, 19, 0.45); font-size: 12px; }
.quiz-input {
  width: 100%;
  border: 1px solid #d9d8e2;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quiz-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(35, 24, 242, 0.12); }
.quiz-input.invalid { border-color: #d33; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-group.invalid .choice { border-color: #d33; }
.choice {
  border: 1px solid #d9d8e2;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.choice:hover { border-color: var(--navy); }
.choice.selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.quiz-error { display: none; color: #c22; font-size: 13px; font-weight: 600; margin-top: 16px; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; }
.btn-back {
  border: 1px solid #d9d8e2; background: #fff; color: rgba(20, 18, 19, 0.7);
  border-radius: 2px; padding: 14px 26px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  font-family: inherit; cursor: pointer; transition: border-color 0.2s;
}
.btn-back:hover { border-color: var(--ink); color: var(--ink); }
.quiz-nav .btn-navy { border: none; cursor: pointer; font-family: inherit; }
.quiz-done { padding: 30px 0 10px; }
.quiz-check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 30px rgba(35, 24, 242, 0.35);
}

/* ---------- Word rotator ---------- */
.word-rotator span.word { position: absolute; left: 0; right: 0; transition: transform .5s ease, opacity .5s ease; }
