/* ============================================================
   Santha edits — Video Editing Portfolio
   MindMarket design system: cream canvas, Inter 400/500,
   ONE structural accent — brand red — sticker-soft radii,
   no shadows. Cursive accent: Great Vibes, used sparingly.
   ============================================================ */

:root {
  /* Color */
  --color-brand-red: #e6392f;
  --color-red-dark: #d22c23;
  --color-cream-paper: #f5f1e4;
  --color-ink-black: #2c2e2a;
  --color-pure-white: #ffffff;
  --color-sandstone: #e0dbce;
  --color-stone-gray: #80827f;
  --color-hairline-mist: #d5d5d4;
  --color-pure-ink: #000000;
  --color-coral-pop: #ff705d;
  --color-sunshine-pop: #f5e211;
  --color-sky-pop: #5bc0eb;

  /* Typography */
  --font-inter: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cursive: "Great Vibes", "Segoe Script", cursive;

  /* Spacing */
  --page-max-width: 1200px;
  --section-gap: clamp(88px, 9vw, 132px);
  --card-padding: 28px;
  --measure: 60ch;

  /* Radius — sticker-soft, never sharp */
  --radius-nav: 50px;
  --radius-cards: 50px;
  --radius-small: 10px;
  --radius-buttons: 50px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --d-fast: 200ms;
  --d-base: 350ms;
  --d-slow: 600ms;

  --z-header: 100;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--color-cream-paper);
  color: var(--color-ink-black);
  font: 400 18px/1.5 var(--font-inter);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }

::selection { background: var(--color-brand-red); color: var(--color-pure-white); }

:focus-visible {
  outline: 2px solid var(--color-brand-red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Shared bits ---------- */

.cursive { font-family: var(--font-cursive); font-weight: 400; }

.eyebrow {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-stone-gray);
  margin-bottom: 18px;
}
.eyebrow.cursive {
  font-family: var(--font-cursive);
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-brand-red);
  margin-bottom: 6px;
}

h2 {
  font-size: clamp(42px, 6.4vw, 81px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
h2 .cursive.accent {
  font-size: 1.12em;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--color-brand-red);
  white-space: nowrap;
}

.text-link {
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--color-ink-black);
  padding-bottom: 3px;
  transition: opacity var(--d-fast) var(--ease);
}
.text-link:hover { opacity: 0.6; }

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}
.dot-red { background: var(--color-brand-red); }
.dot-white { background: var(--color-pure-white); }

/* Buttons */
.cta-ghost,
.cta-light,
.cta-coral,
.cta-red {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius-buttons);
  padding: 13px 20px 13px 24px;
  font-size: 15px;
  font-weight: 500;
  transition: transform var(--d-base) var(--ease), background var(--d-base) var(--ease), color var(--d-base) var(--ease);
}
.cta-ghost:hover, .cta-light:hover, .cta-coral:hover, .cta-red:hover { transform: translateY(-2px); }

.cta-ghost,
.cta-light {
  background: var(--color-pure-white);
  color: var(--color-ink-black);
}
.cta-ghost:hover, .cta-light:hover { background: var(--color-sandstone); }

.cta-coral,
.cta-red {
  background: var(--color-brand-red);
  color: var(--color-pure-white);
}
.cta-coral:hover, .cta-red:hover { background: var(--color-red-dark); }
.cta-coral.sm { padding: 11px 18px 11px 22px; }

/* ============================================================
   NAV — floating white pill, red brand accents
   ============================================================ */
.nav-wrap {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: var(--page-max-width);
  background: var(--color-pure-white);
  border-radius: var(--radius-nav);
  padding: 10px 14px 10px 18px;
  border: 1px solid var(--color-hairline-mist);
  transition: transform var(--d-base) var(--ease);
}
.nav.is-hidden { transform: translateY(-140%); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--color-brand-red);
  color: var(--color-pure-white);
  font-size: 19px;
  font-weight: 500;
  box-shadow: none;
  overflow: hidden;
  transition: transform var(--d-base) var(--ease), background var(--d-base) var(--ease);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-name {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 6px;
}
.nav-link {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 50px;
  color: var(--color-ink-black);
  transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
.nav-link:hover { background: var(--color-cream-paper); }
.nav-link.is-active {
  background: rgba(230, 57, 47, 0.09);
  color: var(--color-brand-red);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { padding: 11px 16px 11px 20px; }

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: #25d366;
  border: 1px solid #25d366;
  transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
.nav-whatsapp:hover {
  background: #25d366;
  color: var(--color-pure-white);
}
.nav-whatsapp svg { flex: none; }

/* Red circle menu toggle (mobile) */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-brand-red);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-line {
  width: 15px;
  height: 2px;
  background: var(--color-pure-white);
  border-radius: 2px;
  transition: transform var(--d-base) var(--ease), opacity var(--d-base) var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ============================================================
   HERO — full-bleed photo, centered text
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-pure-white);
  isolation: isolate;
  padding: 116px 24px 84px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* static: the entrance is handled by the clean mask rise below,
     and a scale animation on a full-bleed image causes jank */
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(24, 22, 18, 0.38) 0%, rgba(24, 22, 18, 0.20) 55%, rgba(24, 22, 18, 0.34) 100%),
    linear-gradient(to bottom, transparent 72%, var(--color-cream-paper) 100%);
}

.hero-content {
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 3vh, 34px);
}

.hero-kicker {
  font-size: clamp(24px, 2.6vw, 32px);
  color: #f3ecd9;
  line-height: 1.15;
}

.hero-title {
  font-size: clamp(52px, 8.6vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 500;
  /* no text-shadow: animating large shadowed text repaints heavily */
}
.hero-title .cursive {
  font-size: 1.18em;
  letter-spacing: 0.01em;
  color: #f3ecd9;
}

.hero-sub {
  max-width: 46ch;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  /* air between the big title and the sub (title clip has -0.12em
     bottom margin, so this compensates for it) */
  margin-top: clamp(12px, 2vh, 24px);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(18px, 2.8vh, 32px);
}

.hero-stats {
  display: flex;
  margin-top: clamp(32px, 4.6vh, 54px);
  padding-top: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 clamp(22px, 3.4vw, 52px);
}
.stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}
.stat dt {
  font-size: clamp(52px, 6.6vw, 92px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--color-pure-white);
  font-variant-numeric: tabular-nums;
}
.stat dt .plus {
  color: var(--color-brand-red);
  letter-spacing: 0;
}
.stat dd {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 10px;
  white-space: nowrap;
}



/* ============================================================
   TRUSTED BY — brand ticker (infinite loop)
   ============================================================ */
.clients {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) 0 0;
  text-align: center;
}
.clients-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-stone-gray);
  margin-bottom: 36px;
}

.ticker {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-list {
  display: flex;
  align-items: center;
  padding-right: 64px;
}
.ticker-list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-stone-gray);
  transition: color var(--d-base) var(--ease);
}
.ticker-list li + li { margin-left: 64px; }
.ticker-list li::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-brand-red);
  margin-left: 64px;
  flex: none;
}
.ticker-list li:hover { color: var(--color-ink-black); }

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ============================================================
   WORK — long-form (4/2/2) + short-form (3/3)
   ============================================================ */
.work,
.shorts,
.pricing {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: var(--section-gap) 24px 0;
}

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lede {
  margin-top: 22px;
  max-width: var(--measure);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-stone-gray);
}

/* --- grids --- */
.long-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
}
.long-grid .thumb { aspect-ratio: 16 / 9; }
.long-grid .work-card.featured { grid-column: 1 / -1; }

.short-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
}
.short-grid .thumb { aspect-ratio: 9 / 16; }

/* --- cards --- */
.work-card {
  min-width: 0; /* grid item: allow shrink below content min-width so cards never overflow their track */
  background: var(--color-pure-white);
  border-radius: var(--radius-cards);
  padding: 12px;
  border: 1px solid var(--color-hairline-mist);
  transition: transform var(--d-base) var(--ease), border-color var(--d-base) var(--ease);
}
.work-card:hover { transform: translateY(-5px); border-color: var(--color-brand-red); }

/* thumbnail */
.thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 36px;
  overflow: hidden;
  background: var(--color-sandstone);
}
.thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--d-base) var(--ease);
}
.work-card:hover .thumb img { transform: scale(1.05); }

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-ink-black);
  display: grid;
  place-items: center;
  transition: background var(--d-base) var(--ease), color var(--d-base) var(--ease), transform var(--d-base) var(--ease);
  box-shadow: none;
}
.play svg { margin-left: 3px; }
.work-card:hover .play {
  background: var(--color-brand-red);
  color: var(--color-pure-white);
  transform: translate(-50%, -50%) scale(1.08);
}

.dur {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(20, 18, 14, 0.82);
  color: var(--color-pure-white);
  font-size: 12.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  padding: 5px 11px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-pure-white);
  color: var(--color-ink-black);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 50px;
}

.hot {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--color-brand-red);
  color: var(--color-pure-white);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 50px;
}
.hot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-sunshine-pop);
}

/* card meta */
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 10px;
  padding: 16px 8px 0;
}
.card-meta > div:first-child {
  min-width: 0;
  flex: 1 1 0;
}
.card-meta h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta p {
  font-size: 13px;
  color: var(--color-stone-gray);
  margin-top: 4px;
}
.chip {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-stone-gray);
  border: 1px solid var(--color-hairline-mist);
  border-radius: 50px;
  padding: 5px 12px;
  flex: none;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.dl-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-hairline-mist);
  display: grid;
  place-items: center;
  color: var(--color-stone-gray);
  transition: all var(--d-base) var(--ease);
}
.dl-btn:hover {
  background: var(--color-brand-red);
  border-color: var(--color-brand-red);
  color: var(--color-pure-white);
  transform: translateY(-2px);
}

/* ============================================================
   ABOUT — white card + sandstone stat stack
   ============================================================ */
.about {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: var(--section-gap) 24px 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.about-card {
  position: relative;
  background: var(--color-pure-white);
  border-radius: var(--radius-cards);
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--color-hairline-mist);
}
.about-card h2 { font-size: clamp(38px, 4.6vw, 60px); margin-bottom: 24px; }

/* --- electric bolt pin on the card exterior --- */
.bolt-badge {
  position: absolute;
  top: -24px;
  right: clamp(24px, 4vw, 48px);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-brand-red);
  color: var(--color-pure-white);
  display: grid;
  place-items: center;
  border: 4px solid var(--color-cream-paper);
  z-index: 1;
  animation: bolt-pulse 2.6s ease-in-out infinite;
}
@keyframes bolt-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.09); }
}
.card-body {
  max-width: 54ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-ink-black);
  margin-bottom: 30px;
}

.stat-stack { display: grid; gap: 18px; }
.stat-tile {
  background: var(--color-sandstone);
  border-radius: var(--radius-cards);
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform var(--d-base) var(--ease), background var(--d-base) var(--ease);
}
.stat-tile:hover { transform: translateY(-3px); background: #d8d2c2; }
.stat-num {
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-stone-gray);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: var(--section-gap) 24px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
}

.service-card {
  position: relative;
  background: var(--color-pure-white);
  border-radius: var(--radius-cards);
  padding: clamp(30px, 3.4vw, 44px);
  border: 1px solid var(--color-hairline-mist);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  transition: transform var(--d-base) var(--ease), border-color var(--d-base) var(--ease);
}
.service-card:hover { transform: translateY(-5px); border-color: var(--color-ink-black); }

.service-card .bolt-badge {
  width: 44px;
  height: 44px;
  right: 22px;
  top: -20px;
  border-width: 3px;
}
.service-card .bolt-badge svg { width: 17px; height: 17px; }
.service-card:nth-child(2) .bolt-badge { background: var(--color-ink-black); }
.service-card:nth-child(3) .bolt-badge { background: var(--color-sunshine-pop); color: var(--color-ink-black); }

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-brand-red);
  color: var(--color-pure-white);
  display: grid;
  place-items: center;
}
.service-card:nth-child(2) .service-icon { background: var(--color-ink-black); }
.service-card:nth-child(3) .service-icon { background: var(--color-sunshine-pop); color: var(--color-ink-black); }

.service-card h3 { font-size: 26px; letter-spacing: -0.015em; }
.service-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-stone-gray);
  flex-grow: 1;
}
.service-card .cta-coral { margin-top: 10px; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--color-pure-white);
  border: 1px solid var(--color-hairline-mist);
  border-radius: var(--radius-cards);
  padding: clamp(32px, 3.4vw, 44px) clamp(28px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--d-base) var(--ease), border-color var(--d-base) var(--ease);
}
.price-card:hover { transform: translateY(-5px); border-color: var(--color-ink-black); }
.price-card.is-popular {
  border-color: var(--color-brand-red);
  border-width: 2px;
}

.pop-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-brand-red);
  color: var(--color-pure-white);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

.price-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-stone-gray);
  margin-top: 6px;
}
.price-amount {
  font-size: clamp(42px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-ink-black);
}
.price-amount .price-unit {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-stone-gray);
  margin-left: 6px;
}
.price-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-stone-gray);
}

.price-list {
  border-top: 1px solid var(--color-hairline-mist);
  padding-top: 22px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex-grow: 1;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 15.5px;
  line-height: 1.5;
}
.price-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-brand-red);
  margin-top: 8px;
  flex: none;
}

.price-cta {
  justify-content: center;
  margin-top: 14px;
  width: 100%;
}

/* --- Videos under pricing tiers --- */
.price-videos {
  margin-top: clamp(36px, 4vw, 56px);
}
.price-vid-heading {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: clamp(16px, 2vw, 24px);
  color: var(--color-ink-black);
}
.price-videos .short-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.price-videos .short-grid .thumb {
  aspect-ratio: 9 / 16;
}

/* ============================================================
   PROCESS — film timeline beats
   ============================================================ */
.process {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: var(--section-gap) 24px 0;
}

.beats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  padding-top: 40px;
}
.beats::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 2px;
  /* --prog (0-1) set by JS on scroll: the line fills left -> right */
  background: linear-gradient(to right,
    var(--color-brand-red) calc(var(--prog, 0) * 100%),
    rgba(230, 57, 47, 0.35) calc(var(--prog, 0) * 100%));
}

.beat {
  position: relative;
  padding-top: 34px;
}
.beat-node {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(230, 57, 47, 0.35);
  border: 4px solid var(--color-cream-paper);
  transition: transform var(--d-base) var(--ease), background var(--d-base) var(--ease), box-shadow var(--d-base) var(--ease);
}
.beat-node.lit {
  background: var(--color-brand-red);
  box-shadow: 0 0 0 5px rgba(230, 57, 47, 0.16), 0 0 16px rgba(230, 57, 47, 0.55);
}
.beat:hover .beat-node { transform: translateX(-50%) scale(1.25); }

.beat-card {
  background: var(--color-pure-white);
  border: 1px solid var(--color-hairline-mist);
  border-radius: 30px;
  padding: 26px 26px 28px;
  height: 100%;
  transition: transform var(--d-base) var(--ease), border-color var(--d-base) var(--ease);
}
.beat-card:hover { transform: translateY(-5px); border-color: var(--color-brand-red); }
.beat-card.lit { border-color: var(--color-brand-red); }

.beat-tc {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-brand-red);
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}
.beat-tc::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-brand-red);
}
.beat-card h3 { font-size: 23px; letter-spacing: -0.015em; margin-bottom: 10px; }
.beat-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-stone-gray);
}

/* ============================================================
   REVIEWS — big quote + 4 corner cards
   ============================================================ */
.quote {
  background: var(--color-pure-white);
  margin-top: var(--section-gap);
  padding: clamp(72px, 9vw, 120px) 24px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.reviews-col {
  display: grid;
  gap: 18px;
}

.review-card {
  background: var(--color-cream-paper);
  border: 1px solid var(--color-hairline-mist);
  border-radius: 26px;
  padding: 22px 22px 20px;
  transition: transform var(--d-base) var(--ease), border-color var(--d-base) var(--ease);
}
.review-card:hover { transform: translateY(-4px); border-color: var(--color-brand-red); }

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-pure-white);
  flex: none;
}
.av-red { background: var(--color-brand-red); }
.av-ink { background: var(--color-ink-black); }
.av-yellow { background: var(--color-sunshine-pop); color: var(--color-ink-black); }
.av-sky { background: var(--color-sky-pop); }

.review-head h4 { font-size: 15.5px; letter-spacing: -0.01em; }
.review-head p { font-size: 12.5px; color: var(--color-stone-gray); margin-top: 2px; }
.review-card > p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-ink-black);
  margin-bottom: 12px;
}
.stars {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--color-brand-red);
}

.quote-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.quote-mark {
  font-size: clamp(64px, 7vw, 96px);
  line-height: 0.6;
  color: var(--color-brand-red);
  display: block;
  margin-bottom: 24px;
}
.quote blockquote {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.quote cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-stone-gray);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: var(--section-gap) 24px;
  text-align: center;
}
.contact h2 {
  font-size: clamp(44px, 6.8vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 8px 0 22px;
}
.contact h2 .cursive.accent { color: var(--color-brand-red); }
.contact-sub {
  max-width: 52ch;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-stone-gray);
}
.contact-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px 34px;
  margin-top: 40px;
}

/* ============================================================
   FOOTER — yellow accent band
   ============================================================ */
.footer {
  background: var(--color-sunshine-pop);
  padding: clamp(56px, 7vw, 88px) 24px 34px;
  border-radius: var(--radius-cards) var(--radius-cards) 0 0;
}
.footer-top {
  max-width: var(--page-max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}
.footer-sig {
  font-size: clamp(72px, 9vw, 118px);
  line-height: 0.8;
  color: var(--color-brand-red);
  letter-spacing: 0.02em;
}
.footer-links, .footer-social {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-links a, .footer-social a {
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(44, 46, 42, 0.35);
  padding-bottom: 2px;
  transition: border-color var(--d-fast) var(--ease);
}
.footer-links a:hover, .footer-social a:hover { border-color: var(--color-ink-black); }
.footer-social a { color: var(--color-stone-gray); }

.footer-bottom {
  max-width: var(--page-max-width);
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(44, 46, 42, 0.28);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: rgba(44, 46, 42, 0.75);
}
.footer-note { letter-spacing: 0.08em; text-transform: uppercase; font-size: 12.5px; }

/* ============================================================
   VIDEO MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 20, 17, 0.78);
  border: 0;
}

.modal-panel {
  position: relative;
  width: min(960px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-ink-black);
  border-radius: 28px;
  overflow: hidden;
  animation: modal-in 0.35s var(--ease);
}
.modal-panel.is-vertical { width: min(480px, 92vw); }
.modal-panel.is-vertical .modal-frame { padding: 0; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.modal-frame {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-pure-ink);
}
.modal-frame iframe,
.modal-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: contain;
  background: var(--color-pure-ink);
}
/* aspect-ratio sizes the frame at natural size; when the panel is
   height-capped (tall 9:16 videos on phones) the frame shrinks and
   object-fit: contain letterboxes the video to fit */
.modal-frame video { aspect-ratio: 16 / 9; }
.modal-frame.is-vertical video { aspect-ratio: 9 / 16; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 13, 11, 0.6);
  color: var(--color-pure-white);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background var(--d-fast) var(--ease), transform var(--d-fast) var(--ease);
}
.modal-close:hover { background: var(--color-brand-red); transform: scale(1.06); }

.modal-meta {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 26px 22px;
  color: var(--color-pure-white);
}
.modal-meta h3 { font-size: 19px; color: var(--color-pure-white); }
.modal-meta p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 3px;
}

.modal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.yt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-pure-white);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: border-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
.yt-link:hover { border-color: var(--color-brand-red); color: #ffd9d6; }

body.modal-open { overflow: hidden; }

/* ============================================================
   REVEAL — the only scroll animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--d-slow) var(--ease), transform var(--d-slow) var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   MASK REVEAL — clean word-by-word mask on headings
   (words rise out of an overflow-hidden mask, staggered)
   ============================================================ */
.mask {
  /* keep raw heading text hidden until JS splits it into masked words,
     so hard reloads never flash an unstyled title */
  visibility: hidden;
}
.mask.in { visibility: visible; }

/* Hero: clean single-layer mask rise (no per-word spans, no stagger,
   one GPU transform per heading -> buttery on every device) */
.hero-mask { visibility: hidden; }
.hero-mask.in { visibility: visible; }
.mask-clip {
  display: block;
  overflow: hidden;
  /* padding must clear the cursive swashes, which overhang the line box
     by well over 0.3em ("cinema." bottom, "Edits" top). Generous room
     keeps the mask line above/below the ink, never slicing through it.
     Negative margins cancel the height change so layout & text position
     stay identical; the clip just gains invisible room above/below. */
  padding: 0.25em 0 0.55em;
  margin: -0.25em 0 -0.55em;
}
.mask-inner {
  display: block;
  /* 160% keeps the text fully below the (taller) clip before the rise;
     only the bottom padding matters for clearance: 1 + 0.55em / inner height */
  transform: translateY(160%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.hero-kicker .mask-inner { transition-delay: 0.08s; }
.hero-title .mask-inner { transition-delay: 0.2s; }
/* the rule that actually brings the hero text up out of the clip */
.hero-mask.in .mask-inner { transform: translateY(0); }

.mask .mw {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
  /* same swash clearance as the hero clip, scaled for one word */
  padding: 0.15em 0 0.32em;
  margin: -0.15em 0 -0.32em;
}
.mask .mwi {
  display: inline-block;
  transform: translateY(140%);
  /* no will-change: it spawns a compositor layer per word, which janks
     low-end phones; the transition is short enough not to need it */
  transition: transform 0.6s var(--ease);
}
.mask.in .mwi { transform: translateY(0); }

/* Count-up numbers — end state matches source text, so no special CSS */

/* Staggered groups */
.stagger > * { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 80ms; }
.stagger > *:nth-child(3) { transition-delay: 160ms; }
.stagger > *:nth-child(4) { transition-delay: 240ms; }
.stagger > *:nth-child(5) { transition-delay: 320ms; }
.stagger > *:nth-child(6) { transition-delay: 400ms; }

/* no-JS fallback: everything visible */
html.no-js .reveal { opacity: 1; transform: none; }
html.no-js .mask { visibility: visible; }
html.no-js .hero-mask { visibility: visible; }
html.no-js .mask-inner { transform: none; transition: none; }
html.no-js .beats::before { background: rgba(230, 57, 47, 0.35); }
html.no-js .beat-node { background: var(--color-brand-red); }

/* reduced motion: no bolt pulse, static lit states */
@media (prefers-reduced-motion: reduce) {
  .bolt-badge { animation: none; }
  .beat-node.lit { box-shadow: 0 0 0 5px rgba(230, 57, 47, 0.16); }
}

/* Font gate: keep masked/revealed text hidden until web fonts are ready,
   so hard reloads never flash the fallback font. Removed by JS.
   Placed last so it wins while both classes are present. */
html.fonts-loading .mask,
html.fonts-loading .reveal,
html.fonts-loading .hero-mask { visibility: hidden; }

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--color-stone-gray);
  font-style: italic;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .about { grid-template-columns: 1fr; max-width: 720px; }

  .beats { grid-template-columns: repeat(2, 1fr); padding-top: 34px; }
  .beats::before { top: 7px; height: 2px; left: 0; right: 0; }

  .reviews-grid { grid-template-columns: 1fr; }
  .quote-inner { order: -1; }
}

@media (max-width: 767px) {
  .nav-links {
    position: fixed;
    top: 84px;
    left: 20px;
    right: 20px;
    background: var(--color-pure-white);
    border: 1px solid var(--color-hairline-mist);
    border-radius: var(--radius-cards);
    padding: 14px;
    flex-direction: column;
    gap: 4px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 18px; }

  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-whatsapp { display: none; }

  .hero { padding-top: 96px; padding-bottom: 56px; }
  .hero-content { gap: 16px; }
  .hero-kicker { font-size: clamp(20px, 5.4vw, 26px); }
  .hero-title { font-size: clamp(34px, 12.5vw, 56px); }
  .hero-title .cursive { font-size: 1.12em; }
  .hero-sub { font-size: 15px; margin-top: 10px; }
  .hero-cta { margin-top: 16px; }
  /* hero numbers sit 3-across on phones (equal columns, smaller type) */
  .hero-stats { margin-top: 24px; flex-wrap: nowrap; justify-content: center; width: 100%; }
  .hero-stats .stat { flex: 1 1 0; padding: 0 8px; }
  .stat dt { font-size: clamp(22px, 7.5vw, 38px); }
  .stat dd { margin-top: 6px; font-size: 10.5px; letter-spacing: 0.03em; line-height: 1.4; white-space: normal; }

  /* compact badges so tag + hot sit side-by-side on 2-col cards */
  .tag, .hot { font-size: 10.5px; padding: 5px 10px; }
  .hot { gap: 5px; }
  .hot::before { width: 6px; height: 6px; }

  /* mobile: lighter, snappier entrance (no full-bleed image zoom, faster mask) */
  .hero-bg img { animation: none; }
  .mask .mwi { transition-duration: 0.45s; }
  .stagger > *:nth-child(2) { transition-delay: 50ms; }
  .stagger > *:nth-child(3) { transition-delay: 100ms; }
  .stagger > *:nth-child(4) { transition-delay: 150ms; }
  .stagger > *:nth-child(5) { transition-delay: 200ms; }
  .stagger > *:nth-child(6) { transition-delay: 250ms; }

  .long-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .short-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .service-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }

  .beats {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 0;
    padding-left: 30px;
  }
  .beats::before {
    top: 0;
    bottom: 0;
    left: 8px;
    right: auto;
    width: 2px;
    height: auto;
    /* vertical rail: fills top -> bottom on scroll */
    background: linear-gradient(to bottom,
      var(--color-brand-red) calc(var(--prog, 0) * 100%),
      rgba(230, 57, 47, 0.35) calc(var(--prog, 0) * 100%));
  }
  .beat { padding-top: 0; }
  .beat-node { left: 8px; top: 26px; transform: translateX(-50%); }
  .beat:hover .beat-node { transform: translateX(-50%) scale(1.25); }

  .reviews-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .quote-inner { order: -1; margin-bottom: 10px; }
  .reviews-col { gap: 14px; }

  .footer-top { flex-direction: column; align-items: flex-start; }

  .modal { padding: 12px; }
  .modal-panel { border-radius: 20px; }
  .modal-meta { padding: 16px 18px 18px; }
}

/* Phones: 2-up short-form cards are too narrow for title + actions + badges,
   so short videos go full-width (centered) and can never overflow */
@media (max-width: 439px) {
  .short-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

/* Short viewports: keep CTAs + stats in view without scrolling */
@media (max-height: 760px) and (min-width: 768px) {
  .hero { padding: 92px 24px 60px; }
  .hero-content { gap: 13px; }
  .hero-kicker { font-size: clamp(22px, 2.4vw, 28px); }
  .hero-title { font-size: clamp(46px, 7.2vw, 92px); }
  .hero-sub { font-size: 16px; }
  .hero-cta { margin-top: 0; }
  .hero-stats { margin-top: 12px; }
  .stat dt { font-size: clamp(42px, 5vw, 62px); }
  .stat dd { margin-top: 6px; font-size: 12px; }
}

/* ============================================================
   REDUCED MOTION — non-negotiable
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .mask .mwi { transform: translateY(0) !important; transition: none !important; }
  .mask-inner { transform: translateY(0) !important; transition: none !important; }
  .hero-bg img { transform: none; }

  /* ticker becomes a static wrapping list */
  .ticker-track { animation: none; width: 100%; }
  .ticker-list { flex-wrap: wrap; justify-content: center; padding-right: 0; row-gap: 14px; }
  .ticker-list[aria-hidden="true"] { display: none; }
}
