/* IA MAKER 5 — landing page styles */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #181818;
  --fg: #f6f4ef;
  --fg-dim: rgba(246, 244, 239, 0.62);
  --fg-mute: rgba(246, 244, 239, 0.38);
  --line: rgba(246, 244, 239, 0.08);
  --line-2: rgba(246, 244, 239, 0.14);
  --accent: oklch(0.86 0.19 135);
  --accent-dim: oklch(0.86 0.19 135 / 0.15);
  --danger: #ff5a5a;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; }

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.accent { color: var(--accent); }
.ital { font-style: italic; font-family: 'Fraunces', Georgia, serif; font-weight: 400; }
.muted { color: var(--fg-mute); }

.dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 20%, transparent);
}
.dot.live {
  background: #ff3b3b;
  box-shadow: 0 0 0 4px rgba(255, 59, 59, 0.2);
  animation: livepulse 1.6s var(--ease) infinite;
}
@keyframes livepulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 59, 59, 0.22); }
  50% { box-shadow: 0 0 0 8px rgba(255, 59, 59, 0); }
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-dim);
  margin-bottom: 20px;
}
.eyebrow-idx { color: var(--accent); }
.eyebrow-bar { width: 32px; height: 1px; background: var(--line-2); }

/* Section title */
.sec-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
.sec-title.big {
  font-size: clamp(56px, 8vw, 132px);
}
.sec-lede {
  max-width: 720px;
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--fg-dim);
  margin-top: 28px;
  text-wrap: pretty;
}

/* CTA */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: transform 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
  will-change: transform;
}
.cta:hover { transform: translateY(-2px); }
.cta-primary {
  background: var(--accent);
  color: #0a0a0a;
}
.cta-primary:hover { background: color-mix(in oklab, var(--accent) 85%, white 15%); }
.cta-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-2);
}
.cta-ghost:hover { background: rgba(255,255,255,0.05); }
.cta-full { width: 100%; justify-content: space-between; }
.cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
}
.cta-ghost .cta-arrow { background: rgba(255,255,255,0.06); }

/* Tag/pill */
.pill {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ══════════════════════════════════════════════ TOPBAR */
.topbar {
  position: absolute;
  top: 24px; left: 32px; right: 32px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.topbar-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 500;
}
.logo-mark {
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  position: relative;
  font-size: 0;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.topbar-ed { color: var(--fg-mute); margin-left: 6px; }
.topbar-nav {
  display: flex; gap: 22px;
  color: var(--fg-dim);
}
.topbar-nav a {
  text-decoration: none;
  transition: color 180ms var(--ease);
}
.topbar-nav a:hover { color: var(--fg); }
.topbar-status {
  display: flex; align-items: center; gap: 8px;
  color: var(--fg-dim);
}

@media (max-width: 900px) {
  .topbar-nav { display: none; }
  .topbar { left: 16px; right: 16px; top: 16px; padding: 10px 16px; }
}

/* ══════════════════════════════════════════════ HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 48px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.15) brightness(0.95) contrast(1.05);
}
.hero-bg-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 80% at 25% 45%, rgba(10,10,10,0.1), rgba(10,10,10,0.55)),
    linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.1) 40%, rgba(10,10,10,0.85) 100%);
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 48px;
}

/* ── Final CTA crystal piece — screen blend over dark bg ─────────── */
.final-content.split {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  max-width: 1280px;
  text-align: left;
}
.final-crystal {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  justify-self: center;
  mix-blend-mode: screen;
  filter: drop-shadow(0 40px 100px rgba(255, 255, 255, 0.18)) blur(0.4px);
  animation: crystal-float 8s ease-in-out infinite;
}
.final-crystal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.final-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.final-copy .final-lot-card {
  margin: 0;
  width: 100%;
  max-width: 520px;
}
@keyframes crystal-float {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}

@media (max-width: 960px) {
  .final-content.split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .final-crystal {
    max-width: 320px;
  }
  .final-copy {
    align-items: center;
  }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(8px);
  margin-bottom: 40px;
  white-space: nowrap;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 6.4vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0;
}
.hero-title-line {
  display: block;
}
.hero-title-line.accent {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero-sub {
  max-width: 640px;
  margin-top: 28px;
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--fg-dim);
  text-wrap: pretty;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-cta-lot {
  margin-top: 40px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-cta-lot .lot-bar {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.hero-cta-lot .lot-bar::before { display: none; }
.hero-secondary {
  color: var(--fg-dim);
  text-decoration: none;
  border-bottom: 1px dashed var(--line-2);
  padding-bottom: 2px;
}
.hero-secondary:hover { color: var(--fg); }

.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 36px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--fg-dim);
  flex-wrap: wrap;
}
.hero-stats > div:not(.sep) {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-stats .big {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
  text-transform: none;
}
.hero-stats .label { font-size: 11px; }
.hero-stats .sep {
  width: 1px;
  background: var(--line);
}

.hero-lotbar {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .hero { padding: 100px 20px 32px; }
  .hero-stats { gap: 20px; }
  .hero-stats .sep { display: none; }
}

/* ══════════════════════════════════════════════ LOT BAR */
.lot-bar {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 22px 28px 20px;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.lot-bar-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.lot-bar-eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lot-bar-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.lot-bar-price .label { color: var(--fg-mute); font-size: 10px; }
.lot-bar-price .big {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
}

/* The single flowing bar */
.lot-bar-track {
  position: relative;
  height: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
}
.lot-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  transition: width 800ms var(--ease);
  box-shadow: 0 0 24px color-mix(in oklab, var(--accent) 40%, transparent);
}
.lot-bar-glow {
  position: absolute;
  top: 50%;
  width: 16px; height: 16px;
  margin-left: -8px; margin-top: -8px;
  border-radius: 50%;
  transition: left 800ms var(--ease);
  box-shadow:
    0 0 0 3px rgba(10,10,10,0.9),
    0 0 0 4px color-mix(in oklab, var(--accent) 55%, transparent),
    0 0 20px color-mix(in oklab, var(--accent) 70%, transparent);
  animation: glowpulse 2s var(--ease) infinite;
}
@keyframes glowpulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.lot-bar-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
}
.lot-bar-foot-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lot-bar-pct {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.lot-bar-pct-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.8vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ff5a5a;
  text-shadow:
    0 0 24px rgba(255, 90, 90, 0.55),
    0 0 48px rgba(255, 90, 90, 0.3);
  font-variant-numeric: tabular-nums;
}
.lot-bar-pct-sub {
  color: var(--fg-dim);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lot-bar-foot {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}
.lot-bar.urgent {
  border-color: rgba(255, 90, 90, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 90, 90, 0.08), rgba(255, 90, 90, 0.02)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.urgent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.35);
  color: #ff9a8a;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.urgent-chip .dot.live {
  background: #ff3b3b;
  width: 6px; height: 6px;
}
.lot-bar-foot-right {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.lot-bar-foot-right .countdown {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0.02em;
}
.lot-bar-foot-right .countdown .u {
  color: var(--fg-mute);
  font-size: 0.7em;
  margin-left: 1px;
  margin-right: 2px;
}

@media (max-width: 700px) {
  .lot-bar { padding: 18px 20px 16px; }
  .lot-bar-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lot-bar-price .big { font-size: 24px; }
}

/* ══════════════════════════════════════════════ WHY */
.why {
  padding: 140px 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.why-head { margin-bottom: 80px; max-width: 900px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.why-card {
  position: relative;
  padding: 40px;
  background: var(--bg);
  min-height: 280px;
  overflow: hidden;
  transition: background 300ms var(--ease);
}
.why-card:hover { background: var(--bg-2); }
.why-card-idx {
  color: var(--accent);
  margin-bottom: 20px;
}
.why-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 36px);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-transform: lowercase;
}
.why-card-body {
  color: var(--fg-dim);
  max-width: 440px;
  font-size: 15px;
  line-height: 1.55;
}
.why-card-deco {
  position: absolute;
  right: -40px; bottom: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.3;
  mask-image: radial-gradient(closest-side, #000 30%, transparent 95%);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 95%);
  pointer-events: none;
}
.why-card-deco video { width: 100%; height: 100%; object-fit: cover; }

.future-banner {
  position: relative;
  margin-top: 56px;
  padding: 80px 56px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.future-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.7;
  filter: saturate(1.2);
}
.future-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.9), rgba(10,10,10,0.15));
  z-index: 1;
}
.future-banner-text {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.future-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

@media (max-width: 800px) {
  .why { padding: 80px 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 28px; min-height: 220px; }
  .future-banner { padding: 48px 28px; }
}

/* ══════════════════════════════════════════════ CLIENTS */
.clients {
  padding: 120px 48px 100px;
  background: #000;
  border-top: 1px solid var(--line-1, rgba(255,255,255,0.06));
  border-bottom: 1px solid var(--line-1, rgba(255,255,255,0.06));
  position: relative;
  overflow: hidden;
}
.clients-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.clients-head {
  max-width: 780px;
  margin-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.clients-head .mono {
  font-size: 12px;
  letter-spacing: 0.04em;
}
.clients-title {
  font-family: var(--font-title, 'Space Grotesk'), sans-serif;
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.clients-title .ital {
  font-family: var(--font-ital, 'Fraunces'), serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent, #f6f4ef);
}
.clients-title .red {
  color: #e52d39;
}
.clients-lede {
  font-family: var(--font-body, 'Inter'), sans-serif;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: rgba(255,255,255,0.62);
  max-width: 560px;
  margin: 0;
}

/* Marquee — logos rolando infinitamente */
.clients-marquee {
  margin-top: 64px;
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.clients-marquee-track {
  display: flex;
  gap: 80px;
  align-items: center;
  width: max-content;
  animation: clientsScroll 40s linear infinite;
}
.clients-marquee:hover .clients-marquee-track {
  animation-play-state: paused;
}
.clients-marquee-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0 8px;
}
.clients-marquee-item img {
  max-height: 56px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(1) brightness(1.2);
  transition: opacity 240ms ease, filter 240ms ease;
}
.clients-marquee-item:hover img {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}
@keyframes clientsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .clients { padding: 80px 20px 60px; }
  .clients-head { margin-bottom: 48px; }
  .clients-marquee { margin-top: 40px; }
  .clients-marquee-track { gap: 56px; animation-duration: 30s; }
  .clients-marquee-item { height: 52px; }
  .clients-marquee-item img { max-height: 40px; max-width: 130px; }
}

/* ══════════════════════════════════════════════ ANIMATED TITLE
   Per-word reveal — blur + translate + mask sweep.
   Used on the "O que você vai aprender." title above the gallery grid.
   ═══════════════════════════════════════════════════════════════════════════ */
.anim-title {
  font-family: var(--font-title, 'Space Grotesk'), sans-serif;
  font-size: clamp(48px, 7.6vw, 120px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.3em;
  text-wrap: balance;
}
.anim-title-word {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 0.05em 0;
  /* Mask bar sweep — hidden by default */
}
.anim-title-word::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-101%);
  transition: transform 640ms cubic-bezier(0.76, 0, 0.24, 1) var(--d, 0ms);
  z-index: 2;
  pointer-events: none;
}
.anim-title.is-in .anim-title-word::after {
  transform: translateX(101%);
}
.anim-title-word-inner {
  display: inline-block;
  opacity: 0;
  filter: blur(24px);
  transform: translateY(0.6em) scale(1.05);
  transition:
    opacity 900ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
    filter 900ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
    transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}
.anim-title.is-in .anim-title-word-inner {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* Accent words get the italic Fraunces + subtle color shift */
.anim-title-word.is-accent .anim-title-word-inner {
  font-family: var(--font-ital, 'Fraunces'), serif;
  font-style: italic;
  font-weight: 400;
  color: #e52d39;
  letter-spacing: -0.01em;
}
.anim-title-word.is-accent::after {
  background: #e52d39;
}

/* Reduced motion — just fade in */
@media (prefers-reduced-motion: reduce) {
  .anim-title-word::after { display: none; }
  .anim-title-word-inner {
    filter: none;
    transform: none;
    transition: opacity 400ms ease;
  }
}

/* Gallery "learn" title block sits above the grid */
.gallery-learn-title {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 96px 0 64px;
  max-width: 1100px;
}
.gallery-learn-eyebrow {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent, #f6f4ef);
  opacity: 0.75;
}
@media (max-width: 768px) {
  .gallery-learn-title { margin: 64px 0 40px; }
}

/* ══════════════════════════════════════════════ GALLERY */
.gallery {
  padding: 0;
  max-width: none;
  margin: 0;
}
.gallery-inner {
  padding: 64px 48px 140px;
  max-width: 1400px;
  margin: 0 auto;
}
.gallery-head { margin-bottom: 48px; max-width: 900px; }

/* Hero with video background — "um projeto inteiro, do zero à finalização" */
.gallery-hero {
  position: relative;
  width: 100%;
  min-height: 640px;
  margin-bottom: 64px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  display: flex;
  align-items: flex-end;
}
.gallery-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.gallery-hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.92) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, transparent 55%);
  pointer-events: none;
}
.gallery-hero-content {
  position: relative;
  z-index: 1;
  padding: 56px 48px 56px calc((100vw - 1400px) / 2 + 48px);
  max-width: calc((100vw - 1400px) / 2 + 48px + 1000px);
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1400px) {
  .gallery-hero-content {
    padding-left: 48px;
    max-width: 1048px;
  }
}
.gallery-hero-title {
  font-family: var(--font-title, 'Space Grotesk'), sans-serif;
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 16px 0 24px;
  text-wrap: balance;
}
.gallery-hero-title .ital {
  font-family: var(--font-ital, 'Fraunces'), serif;
  font-style: italic;
  font-weight: 400;
}
.gallery-hero-lede {
  font-family: var(--font-body, 'Inter'), sans-serif;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin: 0;
  text-wrap: pretty;
}
@media (max-width: 768px) {
  .gallery-hero { min-height: 520px; }
  .gallery-hero-content { padding: 32px 24px; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}

/* Bento layout: mix tall + wide + square tiles */
.tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: transform 400ms var(--ease), border-color 300ms var(--ease);
  grid-column: span 4;
  grid-row: span 2;
}
.tile:hover { transform: translateY(-4px); border-color: var(--line-2); }

.tile-0 { grid-column: span 8; grid-row: span 2; }
.tile-1 { grid-column: span 4; grid-row: span 2; }
.tile-2 { grid-column: span 4; grid-row: span 2; }
.tile-3 { grid-column: span 4; grid-row: span 3; }
.tile-4 { grid-column: span 4; grid-row: span 2; }
.tile-5 { grid-column: span 4; grid-row: span 2; }
.tile-6 { grid-column: span 4; grid-row: span 2; }
.tile-7 { grid-column: span 8; grid-row: span 3; }
.tile-8 { grid-column: span 4; grid-row: span 3; }

.tile-video {
  position: absolute;
  inset: 0;
  background: #000;
}
.tile-video video, .tile-video .vid-placeholder {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  aspect-ratio: auto !important;
}
.tile-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.9) 100%);
  pointer-events: none;
}
.tile-meta {
  position: absolute;
  left: 24px; right: 24px; bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.tile-idx {
  color: var(--fg-dim);
  padding-bottom: 4px;
}
.tile-titles { flex: 1; }
.tile-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 26px);
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.1;
  text-transform: lowercase;
}
.tile-tag {
  display: block;
  color: var(--accent);
  margin-top: 6px;
  font-size: 10px;
}

.gallery-cta {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

/* Placeholder */
.vid-placeholder {
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    #1a1a1a 0 12px,
    #141414 12px 24px
  );
  display: flex; align-items: center; justify-content: center;
}
.vid-placeholder-inner {
  color: var(--fg-mute);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1000px) {
  .gallery { padding: 0; }
  .gallery-inner { padding: 48px 20px 80px; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 140px; }
  .tile, .tile-0, .tile-1, .tile-2, .tile-3, .tile-4, .tile-5, .tile-6, .tile-7, .tile-8 {
    grid-column: span 6;
    grid-row: span 2;
  }
}

/* ══════════════════════════════════════════════ TESTIMONIALS */
.tstm {
  padding: 140px 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.tstm-head { margin-bottom: 72px; max-width: 900px; }

.tstm-student-work {
  margin-bottom: 80px;
}
.tstm-subhead {
  margin-bottom: 24px;
  color: var(--fg-dim);
}
.tstm-videos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tstm-video {
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}
.tstm-video video {
  width: 100%; height: 100%; object-fit: cover;
}

.tstm-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tstm-quote {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  margin: 0;
}
.tstm-quote p {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.tstm-quote footer {
  color: var(--fg-mute);
}

@media (max-width: 900px) {
  .tstm { padding: 80px 20px; }
  .tstm-videos { grid-template-columns: repeat(2, 1fr); }
  .tstm-quotes { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════ SCHEDULE */
.sched {
  padding: 140px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.sched-head { margin-bottom: 72px; }
.sched-grid {
  border-top: 1px solid var(--line);
}
.sched-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 300ms var(--ease);
}
.sched-row:hover { padding-left: 16px; }
.sched-time {
  color: var(--accent);
  font-size: 14px;
}
.sched-dash {
  height: 1px;
  background: var(--line-2);
  opacity: 0.5;
}
.sched-label {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
.sched-note {
  margin-top: 32px;
  color: var(--fg-mute);
  max-width: 720px;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .sched { padding: 80px 20px; }
  .sched-row { grid-template-columns: 100px 1fr; gap: 16px; }
  .sched-dash { display: none; }
}

/* ══════════════════════════════════════════════ INSTRUCTOR */
.instructor {
  padding: 140px 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.instructor-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.instructor-video {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #000;
}
.instructor-video video, .instructor-video .vid-placeholder {
  width: 100% !important; height: 100% !important;
  object-fit: cover;
  aspect-ratio: auto !important;
}
.instructor-video-tag {
  position: absolute;
  bottom: 18px; left: 18px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg);
}
.instructor-copy p {
  font-size: 17px;
  color: var(--fg-dim);
  margin: 20px 0;
  max-width: 560px;
  text-wrap: pretty;
}
.instructor-logos {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
  color: var(--fg-mute);
}
.instructor-logos > span:first-child { margin-right: 8px; }

@media (max-width: 900px) {
  .instructor { padding: 80px 20px; }
  .instructor-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ══════════════════════════════════════════════ GUARANTEE (hero dobra) */
.guarantee-hero {
  padding: clamp(100px, 12vw, 160px) 48px;
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
}
.guarantee-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.guarantee-eyebrow { font-size: 12px; letter-spacing: 0.04em; }
.guarantee-headline {
  font-family: var(--font-title, 'Space Grotesk'), sans-serif;
  font-size: clamp(42px, 5.6vw, 80px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 16px 0 24px;
  text-wrap: balance;
}
.guarantee-headline .ital {
  font-family: var(--font-ital, 'Fraunces'), serif;
  font-style: italic;
  font-weight: 400;
  color: #e52d39;
}
.guarantee-lede {
  font-family: var(--font-body, 'Inter'), sans-serif;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.guarantee-lede strong { color: #fff; font-weight: 500; }
.guarantee-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
}
.guarantee-points li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.guarantee-points strong {
  display: block;
  font-family: var(--font-title, 'Space Grotesk'), sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}
.guarantee-points p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
}
.guarantee-points .mono { font-size: 12px; padding-top: 3px; }

/* Right side — the seal */
.guarantee-hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.seal-wrap {
  position: relative;
  width: min(480px, 100%);
  aspect-ratio: 1 / 1;
  color: #ffffff;
}
.seal-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 30px 80px rgba(229,45,57,0.22));
}
.seal-rotating {
  transform-origin: 200px 200px;
  animation: sealRotate 40s linear infinite;
}
@keyframes sealRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.seal-stamp {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 56px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
  text-align: center;
}
.seal-stamp-top {
  font-family: var(--font-title, 'Space Grotesk'), sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #fff;
}
.seal-stamp-bot {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .guarantee-hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .guarantee-hero-right { order: -1; }
  .seal-wrap { width: min(380px, 100%); }
}
@media (max-width: 640px) {
  .guarantee-hero { padding: 80px 20px; }
}

/* ══════════════════════════════════════════════ CERTIFICATE DOBRA */
.cert-hero {
  position: relative;
  padding: 140px 48px;
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.cert-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 80% 50%, rgba(229,45,57,0.05), transparent 70%);
  pointer-events: none;
}
.cert-hero-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  align-items: center;
}
.cert-hero-left { display: flex; flex-direction: column; gap: 28px; }
.cert-eyebrow { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.cert-headline {
  font-family: var(--font-title, 'Space Grotesk'), sans-serif;
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
  color: #fff;
  margin: 0;
  text-transform: lowercase;
  text-wrap: balance;
}
.cert-headline .ital {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
}
.cert-lede {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  max-width: 52ch;
  margin: 0;
}
.cert-lede strong { color: #fff; font-weight: 500; }

.cert-points {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cert-points li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: start;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cert-points li:first-child { border-top: 1px solid rgba(255,255,255,0.15); }
.cert-points strong {
  display: block;
  color: #fff;
  font-family: var(--font-title, 'Space Grotesk'), sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: lowercase;
}
.cert-points p {
  margin: 0;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1.5;
}

/* Certificate mockup */
.cert-hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1800px;
}
.cert-mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
  transform: rotate(-2deg);
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cert-mockup-wrap:hover { transform: rotate(0deg) scale(1.02); }
.cert-mockup {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.6)) drop-shadow(0 10px 20px rgba(0,0,0,0.4));
  border-radius: 2px;
}
.cert-mockup-shadow {
  position: absolute;
  inset: 10px -10px -10px 10px;
  background: rgba(0,0,0,0.4);
  filter: blur(30px);
  z-index: -1;
}

@media (max-width: 1100px) {
  .cert-hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .cert-hero-right { order: -1; }
  .cert-mockup-wrap { max-width: 560px; transform: rotate(-1deg); }
}
@media (max-width: 640px) {
  .cert-hero { padding: 90px 20px; }
  .cert-points li { grid-template-columns: 48px 1fr; gap: 12px; padding-top: 18px; }
  .cert-mockup-wrap { transform: none; }
}

/* ══════════════════════════════════════════════ FAQ */
.faq {
  padding: 140px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.faq-head { margin-bottom: 72px; }
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background 300ms var(--ease);
}
.faq-item.open { background: rgba(255,255,255,0.015); }
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: padding-left 300ms var(--ease);
}
.faq-q:hover { padding-left: 12px; }
.faq-idx {
  color: var(--fg-mute);
  font-family: var(--font-mono);
  font-size: 12px;
}
.faq-item.open .faq-idx { color: var(--accent); }
.faq-toggle {
  font-size: 22px;
  color: var(--fg-dim);
  font-family: var(--font-mono);
}
.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 360ms var(--ease);
}
.faq-a-inner {
  overflow: hidden;
  padding-left: 68px;
  padding-right: 40px;
}
.faq-a-inner p {
  margin: 0 0 24px;
  color: var(--fg-dim);
  max-width: 680px;
  text-wrap: pretty;
  font-size: 15px;
}

@media (max-width: 700px) {
  .faq { padding: 80px 20px; }
  .faq-q { grid-template-columns: 32px 1fr auto; gap: 12px; }
  .faq-a-inner { padding-left: 44px; padding-right: 0; }
}

/* ══════════════════════════════════════════════ FINAL CTA */
.final {
  position: relative;
  padding: 160px 48px;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.final-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  z-index: 0;
}
.final-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 80% at 50% 50%, rgba(10,10,10,0.35), rgba(10,10,10,0.85));
  z-index: 1;
}
.final-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: end;
}
.final-lede {
  max-width: 440px;
  color: var(--fg-dim);
  margin-top: 32px;
  font-size: 18px;
  text-wrap: pretty;
}
.final-lot-card {
  padding: 32px;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(20px);
}
.final-lot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fg-mute);
  margin-bottom: 8px;
}
.final-lot-row strong {
  color: var(--accent);
  font-weight: 500;
}
.final-lot-price {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}
.final-lot-note {
  margin-top: 16px;
  color: var(--fg-mute);
  text-align: center;
}

@media (max-width: 900px) {
  .final { padding: 80px 20px; }
  .final-content { grid-template-columns: 1fr; gap: 40px; }
  .final-lot-price { font-size: 56px; }
}

/* ══════════════════════════════════════════════ FOOTER */
.site-footer {
  padding: 40px 48px 24px;
  border-top: 1px solid var(--line);
  max-width: 1400px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.footer-support {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.footer-support p { margin: 0; color: var(--fg-dim); }
.footer-support p.mono { color: var(--fg-mute); margin-bottom: 6px; }
.footer-bot {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  color: var(--fg-mute);
  font-size: 11px;
}

@media (max-width: 800px) {
  .site-footer { padding: 40px 20px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-support { grid-template-columns: 1fr; }
  .footer-bot { flex-direction: column; gap: 8px; }
}

/* ══════════════════════════════════════════════ TWEAKS PANEL */
.tweaks {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 1000;
  width: 340px;
  max-height: 80vh;
  overflow: auto;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  color: var(--fg);
  font-family: var(--font-body);
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}
.tweaks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.tweaks-toggle {
  background: transparent; border: 0; color: var(--fg-dim);
  cursor: pointer; font-size: 20px; padding: 0 8px;
  font-family: var(--font-mono);
}
.tweaks-body {
  padding: 16px;
  display: flex; flex-direction: column; gap: 14px;
}
.tweaks-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tweaks-row.col { flex-direction: column; align-items: stretch; }
.tweaks-row label {
  flex: 0 0 110px;
  font-size: 10px;
  color: var(--fg-dim);
}
.tweaks-row input, .tweaks-row select {
  flex: 1;
  background: var(--bg-2);
  color: var(--fg);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  min-width: 0;
}
.tweaks-row input[type="date"] { padding: 7px 8px; }
.tweaks-btn {
  background: var(--bg-3);
  color: var(--fg);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 7px 10px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
}
.tweaks-btn:hover { background: var(--bg-2); border-color: var(--accent); }
.tweaks-lots {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tweaks-lot {
  display: grid;
  grid-template-columns: 28px 1fr 1fr 60px;
  gap: 6px;
  align-items: center;
}
.tweaks-lot span { color: var(--accent); font-size: 10px; font-family: var(--font-mono); }
.tweaks-lot input { padding: 5px 6px; font-size: 10px; min-width: 0; }

/* ── Persistent progress bar under any CTA button ────────────────────── */
.cta-wrap {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
}
.cta-wrap-full { display: flex; width: 100%; }
.cta-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cta-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cta-progress-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
}
.cta-progress-hint { color: var(--fg-mute); }
.cta-progress.urgent .cta-progress-hint { color: #ff9a8a; }
.cta-progress-track {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.cta-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 154, 138, 0.7), #ff5a5a);
  box-shadow: 0 0 12px rgba(255, 90, 90, 0.55);
  transition: width 800ms var(--ease);
}
.cta-progress.ended .cta-progress-fill {
  background: linear-gradient(90deg, #ff5a5a, #ff8a5a);
}

/* Red dot that always pulses next to status copy */
.dot.live-red {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.55);
  animation: redpulse 1.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  flex-shrink: 0;
}
@keyframes redpulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.55), 0 0 12px rgba(255, 59, 59, 0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 59, 59, 0),  0 0 12px rgba(255, 59, 59, 0.2); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0),     0 0 12px rgba(255, 59, 59, 0.5); }
}

/* Red tint on the main lot bar edge — always visible, subtle */
.lot-bar {
  position: relative;
}
.lot-bar::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.08) 70%,
    rgba(255, 90, 90, 0.35) 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ───────────────────────────────────────────────────────────────────────────
   SCROLL REVEAL + MOTION — elegant, quiet, cinematic.
   Elements fade/slide in when the IntersectionObserver flips .is-visible.
   Works with [data-reveal] and optional [data-reveal-kind="up|fade|scale|left|right"].
   ─────────────────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    will-change: opacity, transform, filter;
    transform: translate3d(0, 32px, 0);
    transition:
      opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
      filter 900ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    filter: blur(6px);
  }
  [data-reveal-kind="fade"]   { transform: none; }
  [data-reveal-kind="scale"]  { transform: scale(0.96); filter: blur(4px); }
  [data-reveal-kind="left"]   { transform: translate3d(-40px, 0, 0); }
  [data-reveal-kind="right"]  { transform: translate3d(40px, 0, 0); }
  [data-reveal-kind="rise"]   { transform: translate3d(0, 72px, 0); filter: blur(10px); }

  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }

  /* Parallax: CSS consumes --scroll set by JS */
  [data-parallax] {
    transform: translate3d(0, calc((var(--scroll, 0) - 0.5) * var(--parallax-amount, 40px) * -1), 0);
    will-change: transform;
  }
}

/* Word-by-word title reveal: wrap title spans with .word-reveal > span */
.word-reveal {
  display: inline-block;
}
.word-reveal > span {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.5em, 0);
  filter: blur(6px);
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 800ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--word-i, 0) * 70ms + 100ms);
}
.word-reveal.is-on > span {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Subtle ambient float for hero dots / accents */
@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -6px, 0); }
}

/* Thin underline reveal for section headers */
.rule-reveal {
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.rule-reveal::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px;
  width: 100%;
  background: currentColor;
  opacity: 0.25;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 300ms;
}
[data-reveal].is-visible .rule-reveal::after {
  transform: scaleX(1);
}

/* Hover-lift on interactive cards */
.hover-lift {
  transition: transform 600ms var(--ease), box-shadow 600ms var(--ease), border-color 600ms var(--ease);
}
.hover-lift:hover {
  transform: translateY(-4px);
}

/* Infinite shimmer sweep (for urgency chip / active dot) */
@keyframes shimmer-sweep {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ════════════════════════════════════════════════════════════════════════════
   AMBIENT BACKGROUND LAYERS
   — architectural textures: fine grid, grain, scanlines, vignette
   ═══════════════════════════════════════════════════════════════════════════ */
body {
  background:
    /* Subtle vignette so edges darken, center stays clean */
    radial-gradient(ellipse 120% 80% at 50% 50%, transparent 0%, transparent 55%, rgba(0,0,0,0.6) 100%),
    /* Base dark wash with very slight vertical shift */
    linear-gradient(180deg, #050505 0%, #0a0a0a 50%, #060606 100%);
  background-attachment: fixed;
  position: relative;
}

/* Global fine grid overlay — architectural, never loud */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 40%, #000 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 40%, #000 40%, transparent 90%);
}

/* Global grain — film texture on top of everything but under content */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Ambient blobs — deactivated (kept class for JSX that may still reference them) */
.ambient-blobs,
.ambient-blob,
.ambient-blob-1,
.ambient-blob-2,
.ambient-blob-3 {
  display: none !important;
}

/* Floating crystal logos scattered down the page */
.floating-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  height: 900vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.floating-crystal {
  position: absolute;
  filter: drop-shadow(0 20px 60px rgba(255, 255, 255, 0.18)) saturate(1.05) brightness(1.05);
  transform: rotate(var(--rot, 0deg));
  animation-name: crystal-float;
  animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  animation-iteration-count: infinite;
  animation-direction: alternate;
  will-change: transform;
}
@keyframes crystal-float {
  0%   { transform: rotate(var(--rot, 0deg)) translate(0, 0);    }
  50%  { transform: rotate(calc(var(--rot, 0deg) + 6deg)) translate(12px, -24px); }
  100% { transform: rotate(calc(var(--rot, 0deg) - 4deg)) translate(-8px, 20px); }
}

/* Grid texture overlay — can be applied to any full-bleed video container */
.grid-tex {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mix-blend-mode: overlay;
  opacity: 0.6;
  z-index: 2;
}
.grid-tex-fine {
  background-size: 12px 12px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}
.grid-tex-red {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

/* Grain overlay for texture (kept for components that still opt in) */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* All section content must sit above ambient layers */
section, header, footer { position: relative; z-index: 3; }

/* Crystal mark used inline (topbar / footer) */
.crystal-mark {
  display: inline-block;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.2));
}

/* Alternate section tint — tonal, no red tint anymore */
.instructor,
.guarantee-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0) 100%);
}

/* ════════════════════════════════════════════════════════════════════════════
   TESTIMONIALS — rewritten layout
   ═══════════════════════════════════════════════════════════════════════════ */

.tstm {
  padding: clamp(100px, 14vw, 180px) clamp(24px, 6vw, 96px);
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
}

.tstm-head {
  max-width: 900px;
  margin-bottom: 80px;
}
.tstm-head .sec-lede { margin-top: 24px; }

/* Three large pull quotes — asymmetric grid */
.tstm-pulls {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-bottom: 100px;
}
.tstm-pull {
  position: relative;
  margin: 0;
  padding: 44px 40px 36px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 600ms var(--ease), border-color 600ms var(--ease);
}
.tstm-pull:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 90, 90, 0.25);
}
.tstm-pull::after {
  /* Soft red gradient wash on hover */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(255, 255, 255, 0.06), transparent 55%);
  opacity: 0;
  transition: opacity 500ms var(--ease);
  pointer-events: none;
}
.tstm-pull:hover::after { opacity: 1; }

/* Asymmetric layout: first = 7 cols, second = 5, third = 12 */
.tstm-pulls .tstm-pull:nth-child(1) { grid-column: span 7; }
.tstm-pulls .tstm-pull:nth-child(2) { grid-column: span 5; }
.tstm-pulls .tstm-pull:nth-child(3) { grid-column: span 12; }

.tstm-pull-mark {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 120px;
  line-height: 0.7;
  color: #ff5a5a;
  opacity: 0.6;
  margin-bottom: 8px;
  text-shadow: 0 0 40px rgba(255, 90, 90, 0.45);
}
.tstm-pull-body {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0 0 32px;
  text-wrap: balance;
}
.tstm-pulls .tstm-pull:nth-child(3) .tstm-pull-body {
  font-size: clamp(26px, 2.8vw, 44px);
  max-width: 1100px;
}
.tstm-pull-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tstm-pull-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5a5a, #8a2020);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}
.tstm-pull-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tstm-pull-who .name { font-size: 15px; }
.tstm-pull-who .role { font-size: 11px; color: var(--fg-mute); }

/* Auto-scrolling print gallery */
.tstm-prints {
  margin-bottom: 100px;
}
.tstm-prints-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.tstm-marquee {
  position: relative;
  overflow: hidden;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
}
.tstm-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.tstm-marquee:hover .tstm-marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tstm-print {
  flex-shrink: 0;
  margin: 0;
  width: clamp(240px, 22vw, 320px);
  border-radius: 18px;
  overflow: hidden;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: rotate(calc(((var(--i) % 3) - 1) * 0.8deg));
  transition: transform 400ms var(--ease), border-color 400ms var(--ease);
}
.tstm-print:hover {
  transform: rotate(0deg) scale(1.04);
  border-color: rgba(255, 90, 90, 0.4);
  z-index: 5;
  position: relative;
}
.tstm-print img {
  width: 100%;
  height: auto;
  display: block;
}
.tstm-marquee-fade { display: none; }

/* Mini quotes grid (existing, refined) */
.tstm-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 100px;
}
.tstm-quote {
  padding: 28px 28px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.tstm-quote p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 16px;
  color: var(--fg);
}
.tstm-quote footer {
  color: var(--fg-mute);
  font-size: 11px;
}

@media (max-width: 900px) {
  .tstm-pulls .tstm-pull { grid-column: span 12 !important; }
}

/* Student work (renamed title, existing styling) */
.tstm-student-work {
  padding-top: 40px;
  border-top: 1px dashed var(--line);
}
.tstm-subhead {
  color: var(--fg-dim);
  margin-bottom: 28px;
}

