/* ==========================================================================
   TEND — Marketing site
   Dreamy sky-to-peach gradient, glass tiles, League Spartan display + Inter body.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
  --text:        #FFFFFF;
  --text-2:      rgba(255,255,255,0.82);
  --text-3:      rgba(255,255,255,0.58);
  --text-ink:    #1B1F2A;
  --accent-blue: #1990FF;
  --accent-blue-soft: #6FB6FF;

  --glass:       rgba(255,255,255,0.10);
  --glass-2:     rgba(255,255,255,0.18);
  --glass-line:  rgba(255,255,255,0.22);
  --glass-line-2: rgba(255,255,255,0.40);
  --glass-shadow:
    0 30px 60px rgba(20,30,60,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.22),
    inset 0 1px 0 0 rgba(255,255,255,0.45);

  /* Dreamy sky → cream gradient (matches dreamy_background.mp4 vibe) */
  --sky-grad:
    radial-gradient(ellipse 70% 50% at 88% 95%, rgba(255,210,170,0.75), transparent 65%),
    radial-gradient(ellipse 90% 60% at 12% 80%, rgba(255,235,200,0.55), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 10%, rgba(180,210,255,0.50), transparent 70%),
    linear-gradient(180deg, #6FB6FF 0%, #9CCBFF 30%, #C9D8E8 55%, #EFD9B6 80%, #F5E2BD 100%);

  --max: 1320px;
  --pad: clamp(80px, 12vh, 160px);
  --r:  18px;
  --r2: 28px;
}

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;              /* kill iOS horizontal pan at the root (html is the scroller on iOS) */
  max-width: 100%;
  overscroll-behavior-x: none;   /* no horizontal rubber-band / swipe-nav */
}
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: #6FB6FF;
  overflow-x: clip;
  max-width: 100%;
  overscroll-behavior-x: none;
  position: relative;            /* contain any stray absolute children within the width */
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
img, svg, video { display: block; max-width: 100%; }
::selection { background: rgba(255,255,255,0.5); color: #1B1F2A; }

/* ==========================================================================
   FIXED DREAMY BACKGROUND — video + animated atmospheric clouds
   ========================================================================== */
.bg-stage {
  position: fixed; inset: 0; z-index: -10;
  pointer-events: none;
  overflow: hidden;
  background: var(--sky-grad);
  background-size: 100% 100%;
  background-attachment: fixed;
}
.bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.95;
}
/* Soft cloud blobs that drift slowly to give the bg the feeling of motion */
.bg-cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  mix-blend-mode: screen;
  will-change: transform;
}
.bg-cloud.c1 { width: 60vw; height: 40vw; left: -10vw; top: -15vh;
  background: radial-gradient(circle, rgba(255,255,255,0.85), transparent 65%);
  animation: drift1 80s ease-in-out infinite alternate;
}
.bg-cloud.c2 { width: 70vw; height: 45vw; right: -15vw; top: 30vh;
  background: radial-gradient(circle, rgba(255,210,180,0.85), transparent 60%);
  animation: drift2 110s ease-in-out infinite alternate;
}
.bg-cloud.c3 { width: 55vw; height: 38vw; left: 15vw; bottom: -10vh;
  background: radial-gradient(circle, rgba(180,210,255,0.80), transparent 60%);
  animation: drift3 95s ease-in-out infinite alternate;
}
.bg-cloud.c4 { width: 40vw; height: 28vw; right: 10vw; top: 5vh;
  background: radial-gradient(circle, rgba(255,255,255,0.65), transparent 60%);
  animation: drift4 70s ease-in-out infinite alternate;
}
@keyframes drift1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(20vw, 15vh) scale(1.2); }
}
@keyframes drift2 {
  0%   { transform: translate(0,0) scale(1.1); }
  100% { transform: translate(-25vw, -10vh) scale(.95); }
}
@keyframes drift3 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(15vw, -20vh) scale(1.15); }
}
@keyframes drift4 {
  0%   { transform: translate(0,0) scale(1.05); }
  100% { transform: translate(-15vw, 12vh) scale(.95); }
}
.bg-grain {
  position: absolute; inset: 0;
  opacity: 0.08; 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.85' numOctaves='2' seed='6'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}

/* ==========================================================================
   STICKY NAVIGATION — TEND top-left, Login + Book a Demo bottom-left
   ========================================================================== */
.nav-tend {
  position: fixed;
  top: 28px; left: 38px;
  z-index: 80;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(20,40,80,0.25);
  /* Set by JS — these track between "centered hero" and "pinned nav" */
  transform-origin: top left;
  will-change: transform, opacity;
  cursor: pointer;
  user-select: none;
}
.nav-tend .by-nu {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 8px;
}

.nav-actions {
  position: fixed;
  bottom: 32px; left: 38px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.18);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: 999px;
  padding: 5px;
  box-shadow: 0 10px 30px rgba(20,40,80,.20);
}
.nav-actions a {
  padding: 11px 22px;
  border-radius: 999px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2px;
  color: #fff;
  white-space: nowrap;
  transition: background .25s, color .25s, transform .25s;
}
.nav-actions a:hover { background: rgba(255,255,255,0.15); }
.nav-actions a.solid {
  background: #fff; color: var(--text-ink);
  box-shadow: 0 4px 14px rgba(20,40,80,.18);
}
.nav-actions a.solid:hover { background: rgba(255,255,255,0.95); transform: translateY(-1px); }

/* ==========================================================================
   SHARED — chips & buttons
   ========================================================================== */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(20px) saturate(140%);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-2);
}
.chip .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.0); }
  50%      { box-shadow: 0 0 0 8px rgba(255,255,255,.25); }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 14px;
  transition: transform .25s, background .25s, box-shadow .25s, color .25s;
  white-space: nowrap; cursor: pointer;
}
.btn-glass {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid var(--glass-line-2);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-glass:hover { background: rgba(255,255,255,0.22); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--text-ink); box-shadow: 0 6px 20px rgba(20,40,80,.22); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(20,40,80,.3); }

/* ==========================================================================
   SECTION — generic
   ========================================================================== */
.section {
  padding: var(--pad) 28px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.section-head {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 60px; align-items: end;
  margin-bottom: 60px;
}
.section-head .left .chip { margin-bottom: 22px; }
.section-head h2 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6.5vw, 100px);
  line-height: .95; letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 6px 30px rgba(20,40,80,.22);
}
.section-head .right {
  font-size: 17px; line-height: 1.55; color: var(--text-2);
  max-width: 460px; padding-bottom: 8px;
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ==========================================================================
   1. BRAND INTRODUCTION — full-bleed centered TEND
   ========================================================================== */
#brand-intro {
  position: relative;
  height: 100vh;
  display: grid; place-items: center;
  overflow: hidden;
}
.brand-stage {
  position: relative;
  text-align: center;
  pointer-events: none;
}
.brand-stage h1 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: clamp(140px, 22vw, 360px);
  line-height: .88; letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 12px 60px rgba(20,40,80,0.30);
  /* JS will set --brand-progress on scroll */
}
/* The on-page H1 (which animates to nav position) is the same element as nav-tend.
   We do this by hiding the static H1 and using a single fixed-position element. */
.brand-stage .sub {
  margin-top: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; letter-spacing: 2px;
  color: var(--text-2);
  text-transform: uppercase;
}
.brand-stage .scroll-hint {
  position: absolute;
  bottom: -16vh; left: 50%; transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 2.5px;
  color: var(--text-3);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 14px;
}
.brand-stage .scroll-hint::after {
  content: ""; width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--text-3), transparent);
}
.brand-stage .scroll-hint .arrow {
  display: inline-block;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50%      { transform: translateY(4px); opacity: 1; }
}

/* The morphing TEND wordmark — single element that moves from center to nav.
   It's positioned/scaled by JS by writing CSS vars. */
#tend-morph {
  position: fixed;
  top: 50%; left: 50%;
  transform-origin: center center;
  z-index: 60;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 360px;
  line-height: .88; letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 12px 60px rgba(20,40,80,0.30);
  pointer-events: none;
  will-change: transform;
  /* Center initially */
  transform: translate(-50%, -50%) scale(1);
}
#tend-morph.is-pinned { pointer-events: auto; cursor: pointer; }

/* ==========================================================================
   2. VISUAL EXPLANATION — 3D carousel
   ========================================================================== */
#visual-explanation {
  position: relative;
  /* We pin the stage and animate items by scroll across a tall area */
  height: 480vh;
}
.carousel-pin {
  position: sticky; top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}
.carousel-head {
  padding: 100px 60px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
}
.carousel-head .left .chip { margin-bottom: 16px; }
.carousel-head h2 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: .95; letter-spacing: -.02em;
  color: #fff;
  max-width: 14ch;
}
.carousel-head .right {
  font-size: 16px; color: var(--text-2); max-width: 380px; padding-bottom: 8px;
}
.carousel-stage {
  position: relative;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  height: 100%;
  overflow: hidden;
}
.carousel-rail {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
}
.carousel-labels {
  position: absolute; bottom: 60px; left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 80px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 2px; color: var(--text-3); text-transform: uppercase;
  pointer-events: none;
}
.carousel-labels .center-label {
  color: #fff;
  padding: 8px 16px;
  background: rgba(25,144,255,0.32);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.car-item {
  position: absolute;
  top: 50%; left: 50%;
  width: 360px; height: 480px;
  margin: -240px 0 0 -180px;
  border-radius: 22px;
  overflow: hidden;
  will-change: transform, opacity;
  background: #1B1F2A;
  box-shadow:
    0 40px 80px rgba(20,30,60,0.45),
    0 0 0 1px rgba(255,255,255,0.20),
    inset 0 1px 0 rgba(255,255,255,0.30);
}
.car-item.is-source::before {
  content: "SOURCE"; position: absolute;
  top: 14px; left: 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 1.5px;
  background: rgba(0,0,0,0.6); color: #fff;
  padding: 5px 9px; border-radius: 6px; z-index: 4;
}
.car-item.is-tended::before {
  content: "TENDED"; position: absolute;
  top: 14px; left: 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 1.5px;
  background: rgba(25,144,255,0.95); color: #fff;
  padding: 5px 9px; border-radius: 6px; z-index: 4;
}

/* Card faces — purely CSS to look like real content thumbnails */
.car-art {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.car-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 18px 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 60%, transparent 100%);
  color: #fff;
}
.car-meta .pub {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 1.5px; opacity: .75; text-transform: uppercase;
  margin-bottom: 6px;
}
.car-meta .ttl {
  font-family: 'Inter Tight', sans-serif; font-weight: 700;
  font-size: 18px; line-height: 1.2;
}
.car-meta .ttl small {
  display: block; font-weight: 500; font-size: 12px;
  opacity: .82; margin-top: 6px;
}

/* Card variants — CSS-only mock media */
.card-time {
  background:
    radial-gradient(ellipse at 30% 30%, #6b3a20 0%, #1a0c0a 100%);
}
.card-time::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 480'><defs><radialGradient id='g' cx='30%25' cy='30%25'><stop offset='0' stop-color='%23F5C28A' stop-opacity='.45'/><stop offset='1' stop-color='%231B0F0A' stop-opacity='0'/></radialGradient></defs><rect width='360' height='480' fill='url(%23g)'/><g fill='%23ffffff' fill-opacity='.05'><circle cx='180' cy='200' r='80'/></g></svg>") center/cover;
}
.card-podcast {
  background: linear-gradient(135deg, #1c1138 0%, #582d6f 100%);
}
.card-podcast .play {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  border: 1.5px solid rgba(255,255,255,.50);
  display: grid; place-items: center;
  position: relative; z-index: 2;
  backdrop-filter: blur(8px);
}
.card-podcast .play::after {
  content: ""; width: 0; height: 0;
  border-left: 16px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}
.card-article {
  background: #F5F1EA;
  color: var(--text-ink);
}
.card-article .car-meta {
  background: linear-gradient(0deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.5) 80%, transparent 100%);
  color: var(--text-ink);
}
.card-article .article-stack {
  position: absolute; inset: 28px;
  font-family: 'PT Serif', Georgia, serif;
}
.card-article .ah {
  font-size: 24px; font-weight: 700; line-height: 1.15; color: #1B1F2A;
  margin-bottom: 14px;
}
.card-article .ar {
  font-size: 13px; line-height: 1.5; color: #5a5b65;
  display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-article .stripe {
  position: absolute; top: 18px; left: 18px;
  background: #DA291C; color: #fff;
  padding: 4px 8px; font-family: 'Inter Tight', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 1px; border-radius: 3px;
}
.card-video {
  background: linear-gradient(135deg, #0a1a3a 0%, #1c2a4a 100%);
}
.card-video .play {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(255,30,30,0.95);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(255,30,30,0.4);
}
.card-video .play::after {
  content: ""; width: 0; height: 0;
  border-left: 22px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.card-video::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,80,40,.20), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(120,180,255,.25), transparent 60%);
}

/* TENDED card variants — branded glassy treatment */
.card-ig {
  background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCB045 100%);
  padding: 18px;
}
.card-ig .ig-grid {
  width: 100%; height: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  border-radius: 14px; overflow: hidden;
  position: relative;
}
.card-ig .ig-grid > div { background: rgba(255,255,255,.20); }
.card-ig .ig-grid > div:nth-child(1) { background: rgba(255,255,255,.40); }
.card-ig .ig-grid > div:nth-child(4) { background: rgba(255,255,255,.30); }
.card-ig .ig-cap {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  background: rgba(0,0,0,.55); color: #fff;
  padding: 8px 12px; border-radius: 8px;
  font-size: 11px; line-height: 1.3;
  backdrop-filter: blur(8px);
}
.card-tiktok {
  background: linear-gradient(180deg, #000 0%, #1a1a1a 100%);
}
.card-tiktok .vid {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #2d1438 0%, #6b1b3f 50%, #c41e7a 100%);
  opacity: .85;
}
.card-tiktok .vid::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.4), transparent 40%);
}
.card-tiktok .tt-tag {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,.7); color: #fff;
  padding: 5px 10px; border-radius: 5px;
  font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 12px;
  z-index: 3;
}
.card-tiktok .tt-caps {
  position: absolute; left: 18px; right: 60px; bottom: 90px;
  background: #FFFE2C; color: #000;
  padding: 6px 10px;
  font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 16px;
  line-height: 1.1;
  z-index: 2;
}
.card-tiktok .tt-rail {
  position: absolute; right: 14px; bottom: 90px;
  display: grid; gap: 14px;
  z-index: 3;
}
.card-tiktok .tt-rail i {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.22);
  border: 1.5px solid rgba(255,255,255,.4);
  display: block;
}
.card-x {
  background: #000;
  padding: 20px;
}
.card-x .x-thread {
  display: grid; gap: 8px;
  font-family: 'Inter', sans-serif;
  color: #fff;
}
.card-x .x-tweet {
  background: #16181c;
  border: 1px solid #2f3336;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 12px; line-height: 1.4;
}
.card-x .x-tweet .head {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; margin-bottom: 6px;
}
.card-x .x-tweet .head .av {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #1990ff, #6FB6FF);
}
.card-x .x-tweet .head b { font-weight: 700; }
.card-x .x-tweet .head .h { color: #71767b; }
.card-x .x-tweet .b { color: #e7e9ea; }
.card-linkedin {
  background: #F4F2EE;
  color: #1B1F2A;
  padding: 22px;
}
.card-linkedin .li-head {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 14px;
}
.card-linkedin .li-head .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #0a66c2, #45afc5);
}
.card-linkedin .li-head .meta { font-family: 'Inter', sans-serif; }
.card-linkedin .li-head .meta .n { font-weight: 700; font-size: 14px; }
.card-linkedin .li-head .meta .r { font-size: 11px; color: #5d666f; }
.card-linkedin .li-body {
  font-family: 'Inter', sans-serif;
  font-size: 13px; line-height: 1.5;
  color: #1B1F2A;
  display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-linkedin .li-body b { font-weight: 700; }
.card-linkedin .li-engage {
  position: absolute; left: 22px; right: 22px; bottom: 16px;
  display: flex; gap: 12px; padding-top: 10px;
  border-top: 1px solid #d8d6d2;
  font-size: 11px; color: #5d666f;
}
.card-yt {
  background: #0f0f0f;
}
.card-yt .yt-thumb {
  position: absolute; top: 18px; left: 18px; right: 18px;
  height: 280px;
  background: linear-gradient(135deg, #1d3d6a 0%, #0a1932 100%);
  border-radius: 12px;
  display: grid; place-items: center;
}
.card-yt .yt-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(255,255,255,.18), transparent 50%);
  border-radius: 12px;
}
.card-yt .yt-play {
  width: 70px; height: 50px;
  background: rgba(0,0,0,.7);
  border-radius: 14px;
  display: grid; place-items: center;
  z-index: 2;
}
.card-yt .yt-play::after {
  content: ""; width: 0; height: 0;
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}
.card-yt .yt-cap {
  position: absolute; left: 18px; right: 18px; top: 314px;
  font-family: 'Inter', sans-serif; color: #fff;
}
.card-yt .yt-cap .h { font-weight: 700; font-size: 15px; line-height: 1.3; margin-bottom: 8px; }
.card-yt .yt-cap .m { font-size: 11px; color: #aaa; }

/* ==========================================================================
   3. VERBAL EXPLANATION
   ========================================================================== */
#verbal-explanation {
  padding: var(--pad) 28px;
  max-width: 1480px;
  margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  min-height: 90vh;
}
#verbal-explanation .v-left h2 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 8vw, 124px);
  line-height: .92; letter-spacing: -.025em;
  color: #fff;
  text-shadow: 0 8px 40px rgba(20,40,80,0.25);
}
#verbal-explanation .v-left .accent {
  color: rgba(255,255,255,0.55);
  display: block;
}
#verbal-explanation .v-right {
  display: grid; gap: 32px;
}
#verbal-explanation .v-right p {
  font-size: 22px; line-height: 1.5;
  color: var(--text-2);
  max-width: 46ch;
}
#verbal-explanation .v-right p b { color: #fff; font-weight: 600; }
#verbal-explanation .v-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 20px; margin-top: 12px;
}
#verbal-explanation .v-row .item {
  padding: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: 18px;
  backdrop-filter: blur(20px);
}
#verbal-explanation .v-row .item .k {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 1.5px; color: var(--text-3); text-transform: uppercase;
  margin-bottom: 8px;
}
#verbal-explanation .v-row .item .v {
  font-family: 'Inter Tight', sans-serif; font-weight: 700;
  font-size: 18px; color: #fff; line-height: 1.2;
}
@media (max-width: 900px) {
  #verbal-explanation { grid-template-columns: 1fr; }
}

/* ==========================================================================
   4. TEND IN ACTION — tabs with progress border
   ========================================================================== */
#tend-in-action {
  padding: var(--pad) 28px;
  max-width: 1480px;
  margin: 0 auto;
}
.tia-head {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 60px; margin-bottom: 56px; align-items: end;
}
.tia-head h2 {
  font-family: 'League Spartan', sans-serif; font-weight: 700;
  font-size: clamp(48px, 6.5vw, 100px);
  line-height: .92; letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 6px 30px rgba(20,40,80,0.22);
}
.tia-head .right {
  font-size: 17px; color: var(--text-2); max-width: 460px; padding-bottom: 8px;
}
.tia-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}
.tia-tab {
  position: relative;
  padding: 18px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  font-size: 14px; color: var(--text-2);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: background .25s, color .25s, transform .25s;
  backdrop-filter: blur(14px);
}
.tia-tab:hover { color: #fff; background: rgba(255,255,255,0.13); }
.tia-tab.is-active {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.tia-tab .num {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-bottom: 8px;
}
.tia-tab .lbl { display: block; }
.tia-tab .progress {
  position: absolute; left: 0; bottom: 0;
  height: 3px; width: 0;
  background: var(--accent-blue);
  transition: width 60ms linear;
}
.tia-stage {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(28px) saturate(160%);
  box-shadow: var(--glass-shadow);
  padding: 6px;
}
.tia-stage::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: conic-gradient(from var(--tia-start, 0deg),
    rgba(25,144,255, 0) 0deg,
    rgba(25,144,255, 0) var(--tia-empty, 360deg),
    var(--accent-blue) var(--tia-empty, 360deg),
    var(--accent-blue) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  opacity: 1;
  transition: opacity .25s;
}
.tia-screens {
  position: relative;
  height: 540px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #0b0f1a 0%, #131826 100%);
}
.tia-screen {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  padding: 44px 52px;
  align-items: center;
}
.tia-screen.is-active { opacity: 1; transform: none; z-index: 2; }
.tia-screen .copy h3 {
  font-family: 'League Spartan', sans-serif; font-weight: 700;
  font-size: 48px; line-height: .96; letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 18px;
}
.tia-screen .copy p {
  font-size: 16px; line-height: 1.55;
  color: rgba(255,255,255,.75);
  max-width: 36ch;
}
.tia-screen .copy ul {
  list-style: none; margin-top: 24px;
  display: grid; gap: 10px;
}
.tia-screen .copy li {
  display: flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 1px; color: rgba(255,255,255,.65);
  text-transform: uppercase;
}
.tia-screen .copy li::before {
  content: ""; width: 16px; height: 1px; background: rgba(255,255,255,.4);
}
.tia-screen .visual {
  height: 100%;
  display: grid; place-items: center;
  position: relative;
}

/* Per-tab visual mocks */
.mock-intake {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 18px;
}
.mock-intake .row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 13px;
}
.mock-intake .row .ic {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: rgba(255,255,255,.10);
  display: grid; place-items: center;
  font-family: 'Inter Tight', sans-serif; font-weight: 700;
  font-size: 11px;
}
.mock-intake .row .nm { flex: 1; font-weight: 500; color: #fff; }
.mock-intake .row .st {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 1px; color: var(--accent-blue-soft);
  text-transform: uppercase;
}
.mock-intake .row .ck {
  width: 18px; height: 18px; border-radius: 5px;
  background: var(--accent-blue); display: grid; place-items: center;
  color: #fff; font-size: 11px; font-weight: 700;
}

.mock-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}
.mock-grid .m {
  aspect-ratio: 9/16;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.mock-grid .m:nth-child(1) { background: linear-gradient(135deg, #833AB4, #FD1D1D 60%, #FCB045); }
.mock-grid .m:nth-child(2) { background: linear-gradient(135deg, #2d1438, #c41e7a); }
.mock-grid .m:nth-child(3) { background: linear-gradient(135deg, #0a66c2, #45afc5); }
.mock-grid .m:nth-child(4) { background: linear-gradient(180deg, #000 0%, #ff0050 100%); }
.mock-grid .m:nth-child(5) { background: linear-gradient(135deg, #0f0f0f, #ff0000 80%); }
.mock-grid .m:nth-child(6) { background: linear-gradient(135deg, #1da1f2, #0a3); }
.mock-grid .m::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 60%);
}
.mock-grid .m .tag {
  position: absolute; top: 8px; left: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 1px;
  background: rgba(0,0,0,.55); color: #fff;
  padding: 3px 7px; border-radius: 5px;
}

.mock-editor {
  width: 100%; height: 90%;
  background: #0b0f1a;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  display: grid; grid-template-rows: auto 1fr;
  overflow: hidden;
}
.mock-editor .bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 1px; color: rgba(255,255,255,.55);
  text-transform: uppercase;
}
.mock-editor .bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-blue); }
.mock-editor .canvas {
  position: relative;
  padding: 22px;
  display: grid; grid-template-columns: 110px 1fr;
  gap: 16px;
}
.mock-editor .canvas .tools {
  display: grid; gap: 6px; align-content: start;
}
.mock-editor .canvas .tools .t {
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(255,255,255,.05);
  font-size: 11px; color: rgba(255,255,255,.7);
}
.mock-editor .canvas .tools .t.active {
  background: rgba(25,144,255,.25); color: #fff;
  border: 1px solid rgba(25,144,255,.5);
}
.mock-editor .canvas .doc {
  background: linear-gradient(135deg, #1f2335 0%, #0f1320 100%);
  border-radius: 10px;
  padding: 18px;
  position: relative;
}
.mock-editor .canvas .doc .text-block {
  background: rgba(255,255,255,.10);
  height: 14px; border-radius: 4px; margin-bottom: 8px;
}
.mock-editor .canvas .doc .text-block.short { width: 60%; }
.mock-editor .canvas .doc .text-block.h { background: rgba(25,144,255,.5); height: 22px; margin-bottom: 14px; }
.mock-editor .canvas .doc .img-block {
  height: 80px; background: linear-gradient(135deg, #4a5d7e, #8d6c4e);
  border-radius: 8px; margin: 12px 0;
}
.mock-editor .canvas .doc .cursor {
  position: absolute;
  width: 16px; height: 22px;
  border-left: 2px solid var(--accent-blue);
  bottom: 60px; left: 60%;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

.mock-brand {
  width: 100%;
  display: grid; gap: 14px;
}
.mock-brand .swatch-row { display: flex; gap: 6px; }
.mock-brand .sw {
  flex: 1 1 0; min-width: 0; max-width: 50px;
  aspect-ratio: 1 / 1; height: auto; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
}
.mock-brand .panel {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 16px;
}
.mock-brand .panel h5 {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 1.5px; color: rgba(255,255,255,.55);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 500;
}
.mock-brand .font-pair {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700; font-size: 32px;
  letter-spacing: -.02em; color: #fff;
  margin-bottom: 4px;
}
.mock-brand .font-body {
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: rgba(255,255,255,.7);
}
.mock-brand .voice {
  font-style: italic; font-size: 14px; line-height: 1.45;
  color: rgba(255,255,255,.85);
  margin-bottom: 8px;
}
.mock-brand .voice-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.mock-brand .voice-tags span {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
}

.mock-publish {
  width: 100%; display: grid; gap: 10px;
}
.mock-publish .ch-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
}
.mock-publish .ch-row .logo {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: grid; place-items: center;
  font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 12px;
  color: #fff;
}
.mock-publish .ch-row .nm { flex: 1; font-size: 13px; font-weight: 500; color: #fff; }
.mock-publish .ch-row .sched {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 1px; color: rgba(255,255,255,.65);
}
.mock-publish .ch-row .live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #44d36a;
  box-shadow: 0 0 12px rgba(68,211,106,.7);
}
.mock-publish .pub-summary {
  display: flex; justify-content: space-between;
  padding: 14px 16px;
  background: rgba(25,144,255,.15);
  border: 1px solid rgba(25,144,255,.4);
  border-radius: 10px;
  font-size: 12px; color: #fff; font-weight: 500;
}

/* ==========================================================================
   5. SOCIAL PUBLISHING — marquee
   ========================================================================== */
#social-publishing {
  padding: var(--pad) 0 calc(var(--pad) * .6);
  max-width: 100%;
  position: relative;
}
.sp-head {
  max-width: var(--max); margin: 0 auto;
  padding: 0 28px;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 60px; align-items: end;
  margin-bottom: 60px;
}
.sp-head h2 {
  font-family: 'League Spartan', sans-serif; font-weight: 700;
  font-size: clamp(48px, 7vw, 110px);
  line-height: .92; letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 6px 30px rgba(20,40,80,0.22);
}
.sp-head .right {
  font-size: 17px; color: var(--text-2); max-width: 460px; padding-bottom: 8px;
}
.marquee-wrap {
  position: relative;
  overflow: hidden;
  --mask: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: var(--mask);
  mask-image: var(--mask);
}
.marquee {
  display: flex; gap: 24px;
  width: max-content;
  /* Constant speed defined here (no JS scroll connection). */
  animation: marquee-scroll linear infinite;
  animation-duration: 60s;
}
.marquee.row-2 { animation-direction: reverse; animation-duration: 75s; margin-top: 24px; }
/* Pause both rows when the user hovers the marquee area. */
.marquee-wrap:hover .marquee { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.brand-card {
  flex: 0 0 auto;
  width: 220px; height: 110px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  backdrop-filter: blur(20px) saturate(160%);
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  color: #fff;
  font-family: 'Inter Tight', sans-serif; font-weight: 700;
  font-size: 22px;
  letter-spacing: -.01em;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(20,30,60,.15), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .25s, background .25s;
}
.brand-card:hover { transform: translateY(-3px); background: rgba(255,255,255,0.18); }
.brand-card .b-logo {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 800;
  color: #fff;
}

/* ==========================================================================
   6. WHY THIS IS IMPORTANT — vertical video shelf
   ========================================================================== */
#why-important {
  padding: var(--pad) 28px;
  max-width: 1480px;
  margin: 0 auto;
}
.wi-head {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 60px; align-items: end; margin-bottom: 60px;
}
.wi-head h2 {
  font-family: 'League Spartan', sans-serif; font-weight: 700;
  font-size: clamp(48px, 6.5vw, 100px);
  line-height: .92; letter-spacing: -.02em;
  color: #fff;
}
.wi-head .right {
  font-size: 17px; color: var(--text-2); max-width: 480px; padding-bottom: 8px;
}
.wi-shelf {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.wi-card {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0d14;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 20px 50px rgba(20,30,60,.22);
}
.wi-card:hover { transform: translateY(-6px) scale(1.02); }
.wi-card .wi-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.wi-card.v1 .wi-bg { background: linear-gradient(180deg, #0a1a3a 0%, #1c2a4a 50%, #4a3a2a 100%); }
.wi-card.v2 .wi-bg { background: linear-gradient(180deg, #2d1438 0%, #6b1b3f 50%, #c41e7a 100%); }
.wi-card.v3 .wi-bg { background: linear-gradient(180deg, #1b4a3a 0%, #2a6a4e 50%, #d4a82c 100%); }
.wi-card.v4 .wi-bg { background: linear-gradient(180deg, #3a1414 0%, #6a2424 50%, #c5582b 100%); }
.wi-card.v5 .wi-bg { background: linear-gradient(180deg, #1a2030 0%, #2a3a4a 100%); }
.wi-card .wi-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 60%);
}
.wi-card .play {
  position: absolute; top: 50%; left: 50%;
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  z-index: 2;
  transition: transform .25s, background .25s;
}
.wi-card:hover .play { transform: scale(1.1); background: rgba(255,255,255,.28); }
.wi-card .play::after {
  content: ""; width: 0; height: 0;
  border-left: 16px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}
.wi-card .meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px;
  z-index: 2;
  background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
}
.wi-card .meta .name {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 1.5px; color: rgba(255,255,255,.7);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.wi-card .meta .ttl {
  font-family: 'Inter Tight', sans-serif; font-weight: 700;
  font-size: 16px; line-height: 1.2; color: #fff;
}
.wi-card .dur {
  position: absolute; top: 14px; right: 14px;
  z-index: 2;
  background: rgba(0,0,0,.6); color: #fff;
  padding: 4px 8px; border-radius: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 1px;
}

/* ==========================================================================
   7. EMOTIONAL RESULTS — split typographic statement
   ========================================================================== */
#emotional {
  padding: calc(var(--pad) * 1.2) 28px;
  max-width: 1480px; margin: 0 auto;
}
.emo {
  display: grid; grid-template-columns: 1fr; gap: 60px;
  position: relative;
}
.emo .you, .emo .we {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 8vw, 124px);
  line-height: .92; letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 8px 40px rgba(20,40,80,.25);
}
.emo .you { max-width: 13ch; }
.emo .we {
  text-align: right; margin-left: auto;
  max-width: 13ch;
}
.emo .you b, .emo .we b {
  font-style: italic; font-weight: 700;
  background: linear-gradient(180deg, #fff 50%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.emo .divider {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 24px; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 2.5px; color: var(--text-3);
  text-transform: uppercase;
}
.emo .divider::before, .emo .divider::after {
  content: ""; height: 1px;
  background: linear-gradient(90deg, transparent, var(--text-3), transparent);
}

/* ==========================================================================
   8. HOW WE DO IT — Air.inc 7-box bento
   ========================================================================== */
#how-we-do-it {
  padding: var(--pad) 28px;
  max-width: var(--max);
  margin: 0 auto;
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.bento .box {
  position: relative;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-line);
  border-radius: var(--r2);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow: var(--glass-shadow);
  padding: 32px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .35s;
}
.bento .box:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); }
.bento .box h3 {
  font-family: 'Inter Tight', sans-serif; font-weight: 700;
  font-size: 22px; line-height: 1.15; letter-spacing: -.01em;
  color: #fff;
  margin-bottom: 10px;
}
.bento .box p {
  font-size: 14px; line-height: 1.5; color: var(--text-2);
  max-width: 32ch;
}

/* 7-box layout — modeled after air.inc product page */
.bento .b-brand     { grid-column: span 3; grid-row: span 2; }
.bento .b-voice     { grid-column: span 3; grid-row: span 2; }
.bento .b-tactics   { grid-column: span 2; grid-row: span 2; }
.bento .b-templates { grid-column: span 4; grid-row: span 2; }
.bento .b-publish   { grid-column: span 2; grid-row: span 2; }
.bento .b-workflow  { grid-column: span 2; grid-row: span 2; }
.bento .b-tools     { grid-column: span 2; grid-row: span 2; }

/* Bento visuals */
.bv-brand {
  margin-top: 20px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 18px; align-items: center;
}
.bv-brand .swatches {
  display: flex; gap: 6px;
}
.bv-brand .swatches .s { width: 38px; height: 38px; border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.bv-brand .types .h {
  font-family: 'League Spartan', sans-serif; font-weight: 700;
  font-size: 44px; color: #fff; letter-spacing: -.02em; line-height: .9;
}
.bv-brand .types .b {
  font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,.65);
  margin-top: 6px;
}

.bv-voice {
  margin-top: 18px;
  background: rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 18px;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 16px; line-height: 1.45;
  color: rgba(255,255,255,.92);
  position: relative;
}
.bv-voice .ch {
  display: flex; gap: 6px; margin-top: 14px;
  font-style: normal; flex-wrap: wrap;
}
.bv-voice .ch span {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.85);
  letter-spacing: 1px;
}

.bv-tactics {
  margin-top: 20px;
  display: grid; gap: 6px;
}
.bv-tactics .t {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  font-size: 12px; color: #fff;
}
.bv-tactics .t .k {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 1px; opacity: .65;
  margin-left: auto;
}

.bv-templates {
  margin-top: 16px;
  --tpl-h: 215px;
}
/* endless horizontal scroller of real published pieces — fixed height,
   natural widths, seamless loop (two identical image sets, shift 50%). */
.tpl-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.tpl-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: tpl-scroll 34s linear infinite;
}
.tpl-marquee:hover .tpl-track { animation-play-state: paused; }
.tpl-img {
  height: var(--tpl-h);
  width: auto;                 /* fixed height, widths vary per piece */
  flex: none;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(10,16,30,.34);
  background: rgba(255,255,255,.06);
}
@keyframes tpl-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }   /* exactly one image set */
}
@media (prefers-reduced-motion: reduce) {
  .tpl-track { animation: none; }
}

.bv-publish {
  margin-top: 18px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.bv-publish .ch {
  aspect-ratio: 1;
  display: grid; place-items: center;
  background: none;
  padding: 0;
  box-shadow: none;
}
.bv-publish .ch img {
  width: 74%; height: 74%;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(20,40,80,.22));
}

.bv-workflow {
  margin-top: 18px;
  display: grid; gap: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .5px;
}
.bv-workflow .step {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
}
.bv-workflow .step .n {
  width: 20px; height: 20px; border-radius: 5px;
  background: var(--accent-blue);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700;
  color: #fff;
}

.bv-tools {
  margin-top: 18px;
  display: grid; gap: 6px;
}
.bv-tools .tool {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  font-size: 12px; color: #fff;
}
.bv-tools .tool .lg {
  width: 22px; height: 22px; border-radius: 5px;
  display: grid; place-items: center; font-weight: 800;
  font-size: 10px; color: #fff;
}

/* ==========================================================================
   9. BOOK A DEMO
   ========================================================================== */
#book-a-demo {
  padding: var(--pad) 28px;
  max-width: 1320px; margin: 0 auto;
}
.bd-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 48px; align-items: start;
}
@media (max-width: 900px) {
  .bd-grid { grid-template-columns: 1fr; }
  /* stacked layout: don't pin the text, or the calendar scrolls behind it */
  #book-a-demo .bd-left { position: static; top: auto; }
  #book-a-demo .bd-right { position: relative; z-index: 1; }
}
.bd-left {
  position: sticky; top: 100px;
}
.bd-left .chip { margin-bottom: 22px; }
.bd-left h2 {
  font-family: 'League Spartan', sans-serif; font-weight: 700;
  font-size: clamp(44px, 5vw, 80px);
  line-height: .94; letter-spacing: -.02em; color: #fff;
}
.bd-left p {
  margin-top: 22px; max-width: 36ch;
  font-size: 17px; line-height: 1.55; color: var(--text-2);
}
.bd-left .signature {
  margin-top: 32px;
  display: flex; align-items: center; gap: 14px;
}
.bd-left .signature .av {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #6FB6FF, #1990FF);
  border: 2px solid rgba(255,255,255,.45);
  display: grid; place-items: center;
  font-family: 'League Spartan', sans-serif; font-weight: 700;
  font-size: 20px;
}
.bd-left .signature .meta .n {
  font-family: 'Inter Tight', sans-serif; font-weight: 700;
  font-size: 16px; color: #fff;
}
.bd-left .signature .meta .r {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 1.5px; color: var(--text-3); text-transform: uppercase;
  margin-top: 3px;
}
.bd-right {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--glass-line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(20,40,80,.30);
}
.bd-right iframe {
  width: 100%; min-height: 720px; border: 0; display: block;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
#footer {
  position: relative;
  padding: 80px 28px 36px;
  margin-top: 80px;
  border-top: 1px solid var(--glass-line);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
}
.footer-tend {
  text-align: center;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: clamp(140px, 22vw, 360px);
  line-height: .88; letter-spacing: -.02em;
  color: rgba(255,255,255,0.18);
  margin-bottom: 80px;
  user-select: none;
}
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}
.footer-brand .mark {
  font-family: 'League Spartan', sans-serif; font-weight: 700;
  font-size: 28px; color: #fff; letter-spacing: -.01em;
}
.footer-brand p {
  margin-top: 14px; color: var(--text-3);
  font-size: 14px; max-width: 32ch;
}
#footer h5 {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 14px;
}
#footer ul { list-style: none; display: grid; gap: 10px; }
#footer a { color: var(--text-2); font-size: 14px; transition: color .2s; }
#footer a:hover { color: #fff; }
.footer-base {
  max-width: var(--max); margin: 50px auto 0;
  padding-top: 18px; border-top: 1px solid var(--glass-line);
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 1.5px; color: var(--text-3); text-transform: uppercase;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Reveal-on-scroll utility (subtle)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* Parallax wrappers */
.parallax { will-change: transform; }

/* ==========================================================================
   VERSION SWITCHER — pinned top-right pill + scrollable dropdown
   ========================================================================== */
details.vswitch {
  position: fixed; right: 18px; top: 22px;
  z-index: 95;
  font-family: 'JetBrains Mono', monospace;
}
details.vswitch summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 13px;
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    0 10px 30px rgba(20,40,80,.22),
    inset 0 1px 0 rgba(255,255,255,.4);
  transition: background .25s;
  user-select: none;
}
details.vswitch summary::-webkit-details-marker { display: none; }
details.vswitch summary:hover { background: rgba(255,255,255,0.2); }
.vs-cur {
  display: flex; flex-direction: column;
  font-size: 9px; line-height: 1.15;
  letter-spacing: .8px; text-transform: uppercase; font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.vs-cur small { font-size: 8px; opacity: .65; font-weight: 500; }
.vs-caret {
  font-size: 10px; color: var(--text-2);
  transition: transform .25s;
}
details.vswitch[open] .vs-caret { transform: rotate(180deg); }

.vs-list {
  position: absolute;
  right: 0; top: calc(100% + 8px);
  display: flex; flex-direction: column; gap: 3px;
  padding: 8px;
  width: max-content;
  min-width: 190px;
  max-height: min(62vh, 560px);
  overflow-y: auto;
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--glass-line);
  border-radius: 18px;
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    0 18px 44px rgba(20,40,80,.28),
    inset 0 1px 0 rgba(255,255,255,.4);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.4) transparent;
  animation: vs-drop .22s cubic-bezier(.16,1,.3,1);
}
@keyframes vs-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.vs-list::-webkit-scrollbar { width: 5px; }
.vs-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); border-radius: 3px; }
.vs-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 11px;
  border-radius: 12px;
  color: var(--text-2);
  transition: background .25s, color .25s;
}
.vs-item:hover { background: rgba(255,255,255,0.14); color: #fff; }
.vs-item.is-active {
  background: rgba(255,255,255,0.95); color: var(--text-ink);
  box-shadow: 0 6px 16px rgba(20,30,60,.22);
}
.vs-dot {
  width: 15px; height: 15px; border-radius: 50%;
  flex: none; border: 1.5px solid rgba(255,255,255,0.45);
}
.vs-item.is-active .vs-dot { border-color: rgba(0,0,0,0.18); }
.vs-dot.d-v1 { background: linear-gradient(135deg, #6FB6FF, #F5E2BD); }
.vs-dot.d-v2 { background: linear-gradient(135deg, #1B1F2A, #1990FF 60%, #F5E2BD); }
.vs-dot.d-v3 { background: linear-gradient(135deg, #DA291C 0%, #F5E2BD 70%, #1990FF 100%); }
.vs-dot.d-v4 { background: linear-gradient(135deg, #0a1932 0%, #1990FF 40%, #fff 100%); }
.vs-dot.d-v5 { background: linear-gradient(135deg, #fff 0%, #6FB6FF 50%, #1B1F2A 100%); }
.vs-dot.d-v6 { background: linear-gradient(135deg, #F5E2BD 0%, #DA291C 50%, #1B1F2A 100%); }
.vs-dot.d-v7 { background: linear-gradient(135deg, #1990FF 0%, #fff 50%, #F5E2BD 100%); }
.vs-dot.d-v8 { background: linear-gradient(135deg, #6FB6FF 0%, #1B1F2A 50%, #DA291C 100%); }
.vs-dot.d-v9 { background: linear-gradient(135deg, #1B1F2A 0%, #6FB6FF 50%, #fff 100%); }
.vs-dot.d-v10 { background: linear-gradient(135deg, #F5E2BD 0%, #1990FF 50%, #1B1F2A 100%); }
.vs-dot.d-v11 { background: linear-gradient(135deg, #1990FF 0%, #F5E2BD 50%, #DA291C 100%); }
.vs-dot.d-v12 { background: conic-gradient(from 210deg, #1990FF, #6FB6FF, #F5E2BD, #DA291C, #1B1F2A, #1990FF); }
.vs-dot.d-v13 { background: linear-gradient(135deg, #ff2e8b 0%, #1B1F2A 55%, #28b4c8 100%); }
.vs-dot.d-v14 { background: linear-gradient(135deg, #28b4c8 0%, #F5E2BD 50%, #ff2e8b 100%); }
.vs-dot.d-v15 { background: linear-gradient(135deg, #ff2e8b 0%, #0d1622 55%, #6FB6FF 100%); }
.vs-dot.d-v16 { background: linear-gradient(135deg, #6FB6FF 0%, #fff 45%, #1990FF 100%); }
.vs-dot.d-v17 { background: linear-gradient(135deg, #1990FF 0%, #6FB6FF 40%, #F5E2BD 100%); }
.vs-dot.d-v18 { background: linear-gradient(135deg, #F5E2BD 0%, #6FB6FF 50%, #1B1F2A 100%); }
.vs-dot.d-v19 { background: linear-gradient(135deg, #fff 0%, #1990FF 50%, #ff2e8b 100%); }
.vs-dot.d-v20 { background: linear-gradient(135deg, #1B1F2A 0%, #F5E2BD 50%, #1990FF 100%); }
.vs-dot.d-v21 { background: linear-gradient(135deg, #6FB6FF 0%, #1990FF 45%, #0d1622 100%); }
.vs-dot.d-v22 { background: linear-gradient(135deg, #F5E2BD 0%, #ff2e8b 45%, #1990FF 100%); }
.vs-dot.d-v23 { background: linear-gradient(135deg, #fff 0%, #6FB6FF 40%, #ff2e8b 100%); }
.vs-dot.d-v24 { background: linear-gradient(135deg, #6FB6FF 0%, #F5E2BD 45%, #1990FF 100%); }
.vs-dot.d-v25 { background: linear-gradient(135deg, #1990FF 0%, #fff 40%, #F5E2BD 100%); }
.vs-dot.d-v26 { background: linear-gradient(135deg, #C9622B 0%, #E3B23C 35%, #4F8678 70%, #7C6A8E 100%); }
.vs-dot.d-v27 { background: linear-gradient(100deg, #C9622B 0%, #E3B23C 38%, #4F8678 72%, #7C6A8E 100%); border: 1px solid rgba(255,255,255,.5); }
.vs-dot.d-v28 { background: linear-gradient(135deg, #10A37F 0%, #4285F4 50%, #D97757 100%); }
.vs-label {
  display: flex; flex-direction: column;
  font-family: 'JetBrains Mono', monospace; font-size: 9px; line-height: 1.15;
  letter-spacing: .8px; text-transform: uppercase; font-weight: 700;
  white-space: nowrap;
}
.vs-label small { font-size: 8px; opacity: .65; font-weight: 500; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Small screens — minor accommodations */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .bento .b-brand, .bento .b-voice, .bento .b-tactics,
  .bento .b-templates, .bento .b-publish, .bento .b-workflow, .bento .b-tools {
    grid-column: span 2; grid-row: span 2;
  }
  .tia-tabs { grid-template-columns: repeat(2, 1fr); }
  .wi-shelf { grid-template-columns: repeat(2, 1fr); }
}
