/* ──────────── Tokens ──────────── */
:root {
  --bg: #f7f1e3;
  --bg-2: #efe7d2;
  --surface: #ffffff;
  --text: #1a120c;
  --text-2: #3d2f24;
  --muted: #8a7860;
  --line: rgba(26, 18, 12, 0.12);
  --line-strong: rgba(26, 18, 12, 0.28);
  --accent: #ff5a1f;
  --accent-ink: #1a120c;
  --highlight: #d8ff3a;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --font-display: "Bricolage Grotesque", -apple-system, system-ui, sans-serif;
  --font-body: "Geist", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --section-y: clamp(70px, 9vw, 130px);
  --content-x: clamp(20px, 5vw, 64px);
  --max-w: 1280px;
}

[data-palette="punch"] {
  --bg: #f7f1e3;
  --accent: #ff5a1f;
  --highlight: #d8ff3a;
}
[data-palette="lime"] {
  --bg: #f4f1ea;
  --accent: #6e3aff;
  --highlight: #cdf76a;
  --text: #0e0b1c;
  --text-2: #2a1f4a;
  --muted: #6e6685;
  --line: rgba(14, 11, 28, 0.12);
  --line-strong: rgba(14, 11, 28, 0.28);
  --accent-ink: #ffffff;
  --bg-2: #ebe6d8;
}
[data-palette="dark"] {
  --bg: #0f0d0a;
  --bg-2: #1a1612;
  --surface: #1d1814;
  --text: #f7f1e3;
  --text-2: #d4c7b0;
  --muted: #8a7860;
  --line: rgba(247, 241, 227, 0.12);
  --line-strong: rgba(247, 241, 227, 0.28);
  --accent: #ff7a3d;
  --highlight: #d8ff3a;
  --accent-ink: #0f0d0a;
}
[data-palette="ocean"] {
  --bg: #eaf2f5;
  --bg-2: #dbe7ec;
  --surface: #ffffff;
  --text: #0a1f2c;
  --text-2: #1f3a4a;
  --muted: #5d7585;
  --line: rgba(10, 31, 44, 0.12);
  --line-strong: rgba(10, 31, 44, 0.28);
  --accent: #0066ff;
  --highlight: #ffd23d;
  --accent-ink: #ffffff;
}
[data-palette="berry"] {
  --bg: #f5ecea;
  --bg-2: #ecdfdc;
  --surface: #ffffff;
  --text: #2a0a1e;
  --text-2: #4a1f3a;
  --muted: #8a657a;
  --line: rgba(42, 10, 30, 0.12);
  --line-strong: rgba(42, 10, 30, 0.28);
  --accent: #e63a6f;
  --highlight: #ffe066;
  --accent-ink: #ffffff;
}
[data-palette="forest"] {
  --bg: #eef2e8;
  --bg-2: #e0e8d6;
  --surface: #ffffff;
  --text: #0e1f0a;
  --text-2: #25401f;
  --muted: #6e8568;
  --line: rgba(14, 31, 10, 0.12);
  --line-strong: rgba(14, 31, 10, 0.28);
  --accent: #2d8a3e;
  --highlight: #f0e040;
  --accent-ink: #ffffff;
}

[data-density="compact"] { --section-y: clamp(50px, 6vw, 90px); }
[data-density="airy"]    { --section-y: clamp(100px, 12vw, 170px); }

/* ──────────── Base ──────────── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
img, video, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ──────────── Layout ──────────── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--content-x);
}
.section { padding-block: var(--section-y); position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
  display: inline-block;
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
  font-variation-settings: "wdth" 100, "opsz" 96;
}
.display em {
  font-style: normal;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0 0.18em 0.06em;
  border-radius: 8px;
  display: inline-block;
  transform: rotate(-1.5deg);
  margin: 0 0.03em;
}
.display u {
  text-decoration: none;
  background: linear-gradient(transparent 70%, var(--highlight) 70%);
  padding: 0 0.1em;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
  text-wrap: balance;
  font-variation-settings: "wdth" 100, "opsz" 96;
}

.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-2);
  max-width: 56ch;
  line-height: 1.5;
}

/* ──────────── Nav ──────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--content-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.025em;
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.4s cubic-bezier(0.5, 1.6, 0.4, 1);
}
.brand:hover .brand-mark { transform: rotate(360deg); }
.nav-links {
  display: flex; gap: 24px;
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}
.nav-links a { position: relative; padding-block: 4px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
}
.nav-mobile {
  display: none;
  padding: 16px var(--content-x) 24px;
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 4px;
  background: var(--bg);
}
.nav-mobile a {
  padding: 14px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}
.nav-mobile.open { display: flex; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
}

/* ──────────── Buttons ──────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 0 -2px color-mix(in oklab, var(--accent) 40%, transparent);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-arrow { transition: transform 0.2s ease; display: inline-block; }
.btn:hover .btn-arrow { transform: translate(3px, -3px); }
.btn-lg { padding: 16px 26px; font-size: 15px; }

/* ──────────── Hero ──────────── */
.hero {
  padding-block: clamp(40px, 6vw, 80px) clamp(50px, 7vw, 100px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-title {
  font-size: clamp(54px, 9vw, 142px);
}
.hero-title .swap {
  display: inline-block;
  position: relative;
  color: var(--accent);
  font-style: italic;
  font-variation-settings: "wdth" 80;
}
.hero-rotator {
  display: inline-block;
  position: relative;  height: 1em;
  overflow: hidden;
  vertical-align: bottom;
  min-width: 5ch;
}
.hero-rotator span {
  position: absolute;
  inset: 0;
  display: inline-block;
  color: var(--accent);
  font-style: italic;
  font-variation-settings: "wdth" 80;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(100%);
  animation: rotate-word 9s infinite;
}
.hero-rotator span:nth-child(1) { animation-delay: 0s; }
.hero-rotator span:nth-child(2) { animation-delay: 3s; }
.hero-rotator span:nth-child(3) { animation-delay: 6s; }
.hero-accent {
  color: var(--accent);
  font-style: italic;
  font-variation-settings: "wdth" 80;
}
@keyframes rotate-word {
  0%, 4% { opacity: 0; transform: translateY(100%); }
  8%, 30% { opacity: 1; transform: translateY(0); }
  34%, 100% { opacity: 0; transform: translateY(-100%); }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
}
.hero-meta b { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }

.hero-side {
  position: relative;
}
.hero-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  transform: rotate(2deg);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.3);
}
.hero-photo image-slot { width: 100%; height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.hero-sticker {
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--highlight);
  color: var(--text);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  line-height: 1.05;
  animation: spin-slow 20s linear infinite;
  z-index: 2;
  border: 2px solid var(--text);
}
.hero-sticker svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hero-sticker .label {
  position: relative;
  z-index: 2;
  letter-spacing: -0.01em;
  font-size: 11.5px;
  line-height: 1.15;
  padding: 6px;
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
.hero-tape {
  position: absolute;
  bottom: -16px; left: 30px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  z-index: 2;
  font-weight: 600;
}
@media (max-width: 920px) {
  .hero-side { max-width: 380px; margin: 0 auto; }
}

.marquee {
  margin-top: clamp(40px, 5vw, 70px);
  border-top: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  overflow: hidden;
  padding: 16px 0;
  background: var(--accent);
  color: var(--accent-ink);
}
.marquee-track {
  display: flex; gap: 40px;
  animation: marquee 28s linear infinite;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.02em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 40px; }
.marquee-track span::after {
  content: "✺";
  font-size: 0.7em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ──────────── About ──────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

.about-copy p {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--text-2);
  line-height: 1.45;
  max-width: 48ch;
  margin: 0 0 18px;
}
.about-copy p mark {
  background: var(--highlight);
  color: var(--text);
  padding: 0 0.15em;
  border-radius: 4px;
}
.about-quirk {
  margin-top: 36px;
  border-top: 1px dashed var(--line-strong);
  padding-top: 28px;
}
.about-quirk h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 500;
}
.quirk-list {
  display: flex; flex-direction: column; gap: 6px;
}
.quirk-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 6px 0;
  font-size: 15px;
  border-bottom: 1px dotted var(--line);
}
.quirk-row span:first-child { color: var(--muted); }
.quirk-row span:last-child { color: var(--text); font-weight: 500; text-align: right; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.stat {
  background: var(--surface);
  border: 1.5px solid var(--text);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  position: relative;
  transition: transform 0.25s ease;
}
.stat:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--text); }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-num sup { font-size: 0.4em; color: var(--accent); vertical-align: super; font-weight: 700; }
.stat-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ──────────── Services ──────────── */
.services-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px;
  margin-bottom: 44px;
}
.services-head > div:first-child .h2 { margin: 18px 0 0; max-width: 16ch; }
@media (max-width: 760px) { .services-head { flex-direction: column; align-items: flex-start; gap: 16px; } }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--surface);
  border: 1.5px solid var(--text);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  display: flex; flex-direction: column;
  min-height: 400px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.svc-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--text);
}
.svc-card.featured {
  background: var(--text);
  color: var(--bg);
}
.svc-card.featured:hover { box-shadow: 8px 8px 0 var(--accent); }
.svc-card.featured .svc-divider { border-color: rgba(255,255,255,0.18); }
.svc-card.featured .svc-feat li::before { color: var(--highlight); }
.svc-card.featured .svc-price-sub,
.svc-card.featured .svc-tag { color: rgba(255,255,255,0.6); }
.svc-card.featured .svc-tag { color: var(--highlight); }

.svc-badge {
  position: absolute;
  top: -14px; right: 20px;
  background: var(--highlight);
  color: var(--text);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1.5px solid var(--text);
}
.svc-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.svc-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.0;
  margin: 8px 0 4px;
  letter-spacing: -0.025em;
}
.svc-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 18px;
  font-style: italic;
}
.svc-card.featured .svc-desc { color: rgba(255,255,255,0.7); }
.svc-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -0.035em;
  margin-top: 4px;
  line-height: 1;
}
.svc-price small { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.svc-card.featured .svc-price small { color: rgba(255,255,255,0.6); }
.svc-price-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

.svc-divider {
  border: none;
  border-top: 1px dashed var(--line);
  margin: 22px 0;
}
.svc-feat {
  list-style: none;
  padding: 0; margin: 0;
  flex: 1;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
}
.svc-feat li {
  padding-left: 22px;
  position: relative;
}
.svc-feat li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}
.svc-cta { margin-top: 22px; align-self: flex-start; }

/* ──────────── Portfolio gallery ──────────── */
.gallery-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 32px;
  gap: 24px;
  flex-wrap: wrap;
}
.gallery-filter {
  display: flex; gap: 4px;
  background: var(--surface);
  border: 1.5px solid var(--text);
  padding: 4px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  overflow-x: auto;
  max-width: 100%;
}
.gallery-filter button {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-2);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.gallery-filter button:hover { color: var(--text); }
.gallery-filter button.is-active {
  background: var(--text);
  color: var(--bg);
}

.gallery {
  display: grid;
  gap: 14px;
}
.gallery[data-layout="grid"] { grid-template-columns: repeat(4, 1fr); }
.gallery[data-layout="masonry"] {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
}
.gallery[data-layout="masonry"] .vid:nth-child(7n+1) { grid-row: span 2; }
.gallery[data-layout="masonry"] .vid:nth-child(7n+1) .vid-frame { aspect-ratio: 9/32; }
.gallery[data-layout="carousel"] {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 24%);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.gallery[data-layout="carousel"] .vid { scroll-snap-align: start; }
@media (max-width: 1100px) {
  .gallery[data-layout="grid"], .gallery[data-layout="masonry"] { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .gallery[data-layout="grid"], .gallery[data-layout="masonry"] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .gallery[data-layout="grid"], .gallery[data-layout="masonry"] { grid-template-columns: 1fr; }
}

.vid {
  position: relative;
  cursor: pointer;
}
.vid-frame {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  border: 1.5px solid var(--text);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vid:hover .vid-frame {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--text);
}
.vid-frame image-slot { width: 100%; height: 100%; }
.vid-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: var(--bg-2);
}
.vid-thumb.thumb-fail { opacity: 0; }
.vid-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}
.vid-meta {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  display: flex; justify-content: space-between; align-items: end;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}
.vid-meta .t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 70%;
}
.vid-meta .d {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.85;
}
.vid-play {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
}
.vid:hover .vid-play { opacity: 1; }
.vid-play span {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-size: 18px;
  transform: scale(0.85);
  transition: transform 0.25s ease;
  border: 2px solid #fff;
}
.vid:hover .vid-play span { transform: scale(1); }
.vid-cat {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  font-weight: 600;
  border: 1.5px solid var(--text);
}

/* ── richer meta (brand + segment) ── */
.vid-meta-rich .t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
  max-width: 100%;
}
.vid-meta-rich .d {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.92;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  margin-top: 2px;
}

/* ── badges (Grande Marca / Recorrente) ── */
.vid-badges {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  pointer-events: none;
}
.badge-big, .badge-repeat {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--text);
  white-space: nowrap;
  line-height: 1;
}
.badge-big {
  background: var(--accent, #d6ff3a);
  color: var(--accent-ink, #1a120c);
}
.badge-repeat {
  background: var(--text);
  color: var(--bg);
}

/* ── featured cards: subtle emphasis, same grid slot ── */
.vid-big .vid-frame {
  box-shadow: 4px 4px 0 var(--text);
  border-width: 2.5px;
}
.vid-big:hover .vid-frame {
  box-shadow: 8px 8px 0 var(--text);
}
/* recurring partners — visual mark sits in the badge, no frame outline */
.vid-repeat .vid-frame { outline: none; }

/* ──────────── Brands ──────────── */
.brands { background: var(--text); color: var(--bg); }
.brands .h2 { color: inherit; }
.brands .eyebrow { color: var(--highlight); }
.brands .lede { color: rgba(255,255,255,0.7); }
.brand-marquee {
  margin-top: 36px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 24px 0;
}
.brand-marquee-track {
  display: flex; gap: 60px;
  animation: marquee 36s linear infinite;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.025em;
  color: rgba(255,255,255,0.55);
}
.brand-marquee-track span { display: inline-flex; align-items: center; gap: 60px; transition: color 0.2s; }
.brand-marquee-track span:hover { color: var(--accent); }
.brand-marquee-track span::after {
  content: "✕";
  font-size: 0.6em;
  color: var(--accent);
}

/* ──────────── Process ──────────── */
.process-list {
  display: grid;
  gap: 0;
  border-top: 1.5px solid var(--text);
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: clamp(20px, 4vw, 60px);
  padding: 32px 0;
  border-bottom: 1.5px solid var(--text);
  align-items: start;
  transition: background 0.25s ease, padding-inline 0.25s ease;
}
.step:hover { background: var(--bg-2); padding-inline: 16px; }
@media (max-width: 760px) {
  .step { grid-template-columns: 56px 1fr; padding: 26px 0; }
  .step-body { grid-column: 2; }
}
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.12em;
  padding-top: 8px;
  font-weight: 500;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0;
}
.step-body {
  color: var(--text-2);
  font-size: 16px;
  max-width: 46ch;
}
.step-body .meta {
  margin-top: 14px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-2);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ──────────── FAQ ──────────── */
.faq-list { border-top: 1.5px solid var(--text); }
.faq-item {
  border-bottom: 1.5px solid var(--text);
  padding: 24px 0;
  cursor: pointer;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.faq-q-toggle {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: grid; place-items: center;
  font-size: 18px;
  transition: transform 0.3s ease, background 0.2s;
}
.faq-item[data-open="true"] .faq-q-toggle { transform: rotate(45deg); background: var(--accent); }
.faq-a {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.5;
  max-width: 60ch;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.faq-item[data-open="true"] .faq-a {
  max-height: 400px;
  opacity: 1;
  margin-top: 18px;
}

/* ──────────── Testimonials ──────────── */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .quote-grid { grid-template-columns: 1fr; } }
.quote {
  background: var(--surface);
  border: 1.5px solid var(--text);
  border-radius: var(--radius);
  padding: 26px 28px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.quote:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }
.quote-mark {
  position: absolute; top: 14px; right: 24px;
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--accent);
  font-weight: 700;
}
.quote-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  position: relative;
  z-index: 1;
}
.quote-author {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
}
.quote-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.quote-author b { font-weight: 600; }
.quote-author span { color: var(--muted); display: block; margin-top: 2px; }

/* ──────────── CTA ──────────── */
.cta {
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 90px) clamp(28px, 5vw, 70px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "✺";
  position: absolute;
  top: 24px; left: 32px;
  font-size: 30px;
  color: var(--accent);
  animation: spin-slow 20s linear infinite;
}
.cta::after {
  content: "✺";
  position: absolute;
  bottom: 24px; right: 32px;
  font-size: 30px;
  color: var(--highlight);
  animation: spin-slow 16s linear infinite reverse;
}
.cta .h2 { color: inherit; font-size: clamp(40px, 6.5vw, 90px); max-width: 16ch; margin: 0 auto 24px; }
.cta-sub { color: rgba(255,255,255,0.7); max-width: 50ch; margin: 0 auto 32px; font-size: 17px; }
.cta-actions { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cta .btn-primary { background: var(--accent); color: var(--accent-ink); }
.cta .btn-primary:hover { background: var(--highlight); color: var(--text); box-shadow: 0 8px 0 -2px color-mix(in oklab, var(--highlight) 40%, transparent); }
.cta .btn-ghost { color: var(--bg); border-color: rgba(255,255,255,0.3); }
.cta .btn-ghost:hover { background: var(--bg); color: var(--text); }

/* ──────────── Footer ──────────── */
.footer {
  padding: 50px var(--content-x) 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  border-top: 1.5px solid var(--text);
  font-size: 14px;
}
@media (max-width: 760px) { .footer { grid-template-columns: 1fr; gap: 28px; } }
.footer .brand { font-size: 24px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--text-2);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col a:hover { color: var(--accent); padding-left: 6px; }
.footer-base {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ──────────── Video modal ──────────── */
.modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  z-index: 100;
  padding: 24px;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.modal-card {
  width: min(360px, 100%);
  aspect-ratio: 9/16;
  background: #111;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
  border: 2px solid var(--accent);
}
.modal-close {
  position: absolute;
  top: -52px; right: 0;
  background: var(--bg);
  border: 1.5px solid var(--text);
  color: var(--text);
  border-radius: 50%;
  width: 40px; height: 40px;
  font-size: 18px;
  display: grid; place-items: center;
}
.modal-meta {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  color: #fff;
  z-index: 2;
}
.modal-meta h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.modal-meta p {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  margin: 0;
  opacity: 0.7;
  text-transform: uppercase;
}

/* image-slot placeholder */
image-slot {
  --slot-bg: var(--bg-2);
  --slot-border: transparent;
  --slot-text: var(--muted);
}
