/* Ostaad Chowdhury — site styles
   Brand colors come from admin settings as CSS variables on :root. */
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/familjen-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/familjen-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #0F1E33; --surface: #172B47; --text: #EEF2F7; --muted: #93A3B8;
  --brand: #E8592B; --brand-2: #F0A04B;
  --line: color-mix(in srgb, var(--text) 14%, transparent);
  --surface-2: color-mix(in srgb, var(--surface) 70%, var(--bg));
  --on-brand: #0F1E33;
  --wa: #25D366;
  --font-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --radius-lg: 22px; --radius: 14px; --radius-sm: 8px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html { background: var(--bg); }
body {
  margin: 0; background: transparent; color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--brand); color: var(--on-brand); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.section-title { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: clamp(24px, 4vw, 48px); max-width: 18ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn--wa, .btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--wa:hover, .btn--brand:hover { background: var(--brand-2); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.btn--sm { padding: 10px 16px; font-size: .9375rem; }
.btn--lg { padding: 20px 32px; font-size: 1.125rem; }
.link { color: var(--brand-2); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.link:hover { color: var(--text); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 12px var(--gutter) auto; z-index: 50;
  display: flex; align-items: center; gap: 24px; justify-content: space-between;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line);
  max-width: var(--max); margin-inline: auto;
  transition: transform .4s var(--ease);
}
.nav.is-hidden { transform: translateY(-130%); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.05rem var(--font-display); }
.nav__brand img { height: 36px; width: auto; }
.nav__mark { width: 36px; height: 35px; color: var(--brand); flex: none; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .9375rem; }
.nav__links a:hover { color: var(--text); }
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__brand span { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(110px, 16vh, 160px) 0 clamp(60px, 8vw, 110px); overflow: clip; }
.hero__glow {
  position: absolute; width: 70vw; height: 70vw; right: -20vw; top: 10vh; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 32%, transparent), transparent 70%);
  filter: blur(20px);
}
.hero__kicker { color: var(--brand-2); font-weight: 600; margin-bottom: 8px; font-size: 1.0625rem; }
.hero__title {
  font-size: min(11.5rem, calc((min(100vw, var(--max)) - 2 * var(--gutter)) / 7.9)); font-weight: 700; letter-spacing: -0.045em; line-height: .88;
  margin-left: -0.04em; white-space: nowrap;
}
.hero__title .word { display: inline-block; white-space: nowrap; }
.hero__title .char { display: inline-block; will-change: transform; }
.hero__title .space { display: inline-block; width: .22em; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(28px, 4vw, 56px); align-items: start; }
.hero__sub { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; max-width: 30ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero__industries { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__industries li { padding: 6px 12px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .875rem; }
@media (max-width: 900px) {
  .hero__title { white-space: normal; font-size: clamp(3rem, calc((100vw - 2 * var(--gutter)) / 4.7), 9rem); line-height: .92; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero .vsl { order: -1; }
}

/* ---------- VSL ---------- */
.vsl { margin: 0; transform-origin: 50% 0; }
.vsl__frame {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--brand-2);
  box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--brand) 60%, transparent);
}
.vsl__frame--wide { aspect-ratio: 16 / 9; background: var(--surface); }
.vsl__poster { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.vsl__frame iframe, .vsl__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vsl__play {
  position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 10px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bg); color: var(--text); font: 600 1rem var(--font-body);
  transition: transform .25s var(--ease);
}
.vsl__play svg { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--brand); color: var(--on-brand); }
.vsl__play:hover { transform: scale(1.04); }
.vsl figcaption { margin-top: 12px; color: var(--muted); font-size: .9375rem; }

/* ---------- Marquee ---------- */
.marquee { padding: clamp(40px, 6vw, 80px) 0; border-block: 1px solid var(--line); overflow: hidden; }
.marquee__label { color: var(--muted); margin-bottom: 28px; }
.marquee__row { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row + .marquee__row { margin-top: 18px; }
.marquee__track { display: flex; gap: clamp(32px, 5vw, 72px); padding-right: clamp(32px, 5vw, 72px); flex: none; animation: marquee 55s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 65s; }
.marquee__item { font: 600 clamp(1.5rem, 3.4vw, 2.6rem) var(--font-display); color: color-mix(in srgb, var(--text) 42%, transparent); white-space: nowrap; letter-spacing: -0.02em; transition: color .2s; }
.marquee__item:hover { color: var(--text); }
.marquee__item img { height: clamp(28px, 3.4vw, 44px); width: auto; filter: grayscale(1) brightness(1.6); opacity: .7; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Lead journey (signature) ---------- */
.journey { position: relative; }
.journey__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 80px; }
.journey__title { font-size: clamp(2rem, 5vw, 4rem); max-width: 20ch; }
.journey__hint { color: var(--muted); margin-top: 14px; }
.journey__stage { position: relative; margin-top: clamp(40px, 7vh, 80px); }
.journey__rail { position: absolute; left: var(--gutter); right: var(--gutter); top: 22px; height: 4px; border-radius: 4px; background: var(--line); }
.journey__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand-2), var(--brand)); }
.journey__lead { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); }
.journey__dot {
  display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 30%, transparent), 0 0 34px 6px color-mix(in srgb, var(--brand) 55%, transparent);
}
.journey__status {
  position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--text); color: var(--bg);
  font-weight: 600; font-size: .875rem;
}
.journey__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 6), minmax(0, 1fr)); gap: 20px; }
.journey__step { padding-top: 64px; color: var(--muted); transition: color .35s; }
.journey__num {
  display: grid; place-items: center; width: 30px; height: 30px; margin: -45px 0 0; position: relative; top: -19px;
  border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line); font-size: .8125rem; font-weight: 600;
  transition: background .35s, color .35s, box-shadow .35s;
}
.journey__step h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); margin: 4px 0 10px; color: inherit; }
.journey__step p { font-size: .9375rem; line-height: 1.5; margin: 0; opacity: .35; transition: opacity .35s; }
.journey__step.is-active, .journey__step.is-done { color: var(--text); }
.journey__step.is-active p { opacity: 1; }
.journey__step.is-done .journey__num, .journey__step.is-active .journey__num { background: var(--brand); color: var(--on-brand); box-shadow: none; }
@media (max-width: 900px) {
  .journey__pin { min-height: 0; padding: 90px 0 60px; }
  .journey__rail { left: calc(var(--gutter) + 14px); right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .journey__fill { inset: 0 0 auto 0; width: 100%; height: 0; }
  .journey__lead { left: 50%; top: 0; }
  .journey__status { display: none; }
  .journey__steps { grid-template-columns: 1fr; gap: 36px; padding-left: 56px; }
  .journey__step { padding-top: 0; }
  .journey__num { position: absolute; margin: 0; left: calc(var(--gutter) + 1px); top: auto; }
  .journey__step { position: relative; }
  .journey__step .journey__num { left: -56px; top: 0; }
}

/* ---------- Work (horizontal) ---------- */
.work { position: relative; }
.work__pin { padding: clamp(70px, 10vw, 120px) 0; overflow: hidden; }
.work__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.work__head h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 16ch; }
.work__head .link { white-space: nowrap; }
.work__track { display: flex; gap: 20px; padding-inline: var(--gutter); width: max-content; }
.work__track .pcard { width: clamp(270px, 28vw, 380px); flex: none; }
@media (max-width: 900px) {
  .work__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .work__track .pcard { scroll-snap-align: start; width: 78vw; }
}

.pcard { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ind, var(--brand)); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__initials {
  position: absolute; right: -0.06em; bottom: -0.22em; font: 700 clamp(7rem, 12vw, 10rem)/1 var(--font-display);
  letter-spacing: -0.06em; color: color-mix(in srgb, var(--bg) 82%, transparent);
  transition: transform .6s var(--ease);
}
.pcard:hover .pcard__initials { transform: translateX(-10px); }
.pcard__metric { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--bg); font-size: .875rem; }
.pcard__metric strong { color: var(--brand-2); }
.pcard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__body h2, .pcard__body h3 { font-size: 1.4rem; }
.pcard__meta { color: var(--muted); margin: 0; font-size: .9375rem; }
.pcard__summary { margin: 6px 0 0; font-size: .9375rem; }
.pcard--more { justify-content: center; align-items: center; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); min-height: 300px; font: 600 1.4rem var(--font-display); }
.pcard--more:hover { box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand); }
[data-industry="edtech"] { --ind: #F0A04B; }
[data-industry="real-estate"] { --ind: #E8592B; }
[data-industry="e-bike"] { --ind: #7FD1AE; }
[data-industry="e-commerce"] { --ind: #F4C9A8; }
[data-industry="news"] { --ind: #A9B8D0; }

.tags { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .8125rem; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--muted); }

/* ---------- Services bento ---------- */
.services { padding: clamp(70px, 10vw, 130px) 0; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento__cell { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; }
.bento__cell h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin-bottom: 8px; }
.bento__short { color: var(--brand-2); font-weight: 600; margin-bottom: 10px; }
.bento__body { color: var(--muted); font-size: .9688rem; }
.bento__cell .tags { margin-top: auto; padding-top: 12px; }
.bento__cell--large { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 22%, var(--surface)), var(--surface) 60%); }
.bento__cell--span2 { grid-column: span 2; }
.bento__cell--span3 { grid-column: span 3; }
.bento__cell--large h3 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: clamp(24px, 4vw, 44px); }
.board__col { background: color-mix(in srgb, var(--bg) 55%, transparent); border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 170px; }
.board__col span { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.board__card { display: block; height: 34px; border-radius: 8px; background: color-mix(in srgb, var(--text) 10%, transparent); }
.board__col:last-child .board__card { background: var(--brand); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell--large, .bento__cell--span2, .bento__cell--span3 { grid-column: auto; grid-row: auto; }
}

/* ---------- About ---------- */
.about { padding: clamp(70px, 10vw, 130px) 0; background: var(--surface-2); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__photo { border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-2); position: sticky; top: 100px; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.about__copy p { font-size: 1.125rem; max-width: 60ch; }
.about__sub { font-size: 1.5rem; margin: 40px 0 18px; }
.audience { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.audience li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.audience strong { font: 600 1.2rem var(--font-display); }
.audience span { color: var(--muted); }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } .about__photo { position: static; max-width: 420px; } }

/* ---------- FAQ ---------- */
.faq { padding: clamp(70px, 10vw, 130px) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.faq__grid .section-title { position: sticky; top: 100px; }
.faq__list { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 600 clamp(1.1rem, 2vw, 1.3rem)/1.3 var(--font-display); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq__item summary:hover { color: var(--brand-2); }
.faq__answer { padding: 0 0 24px; color: var(--muted); max-width: 62ch; }
.faq__answer p { margin: 0 0 12px; }
.faq__answer p:last-child { margin: 0; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__grid .section-title { position: static; } }
@media (prefers-reduced-motion: reduce) { .faq__item summary::after { transition: none; } }

/* ---------- Testimonials ---------- */
.voices { padding: clamp(70px, 10vw, 130px) 0; }
.voices__list { columns: 3 300px; column-gap: 16px; }
.voice { break-inside: avoid; margin: 0 0 16px; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); }
.voice blockquote { margin: 0 0 18px; font-size: 1.125rem; line-height: 1.5; }
.voice figcaption { display: flex; align-items: center; gap: 12px; }
.voice figcaption img { border-radius: 50%; object-fit: cover; }
.voice figcaption span { display: grid; }
.voice figcaption small { color: var(--muted); font-size: .875rem; }
.voice__video { margin-bottom: 16px; }
.voice__video .vsl__frame { aspect-ratio: 9 / 12; background: var(--bg); }
.voice__video .vsl__play { left: 14px; bottom: 14px; }

/* ---------- Contact ---------- */
.contact { padding: clamp(70px, 10vw, 130px) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__title { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.035em; margin-bottom: 20px; }
.contact__copy p { color: var(--muted); font-size: 1.125rem; margin-bottom: 30px; }
.brief { background: var(--surface); padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.brief h3, .brief .brief__note, .brief button, .brief .brief__status { grid-column: 1 / -1; }
.brief h3 { font-size: 1.5rem; }
.brief__note { color: var(--muted); margin: -6px 0 6px; font-size: .9375rem; }
.field { display: grid; gap: 6px; font-size: .875rem; color: var(--muted); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); }
.field.is-invalid input { border-color: #ff6b6b; }
.brief__status { margin: 0; min-height: 1.5em; font-size: .9375rem; }
.brief__status.is-error { color: #ff8f8f; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .brief { grid-template-columns: 1fr; } }


/* ---------- Dotted background ----------
   A quiet dot grid behind everything, plus brand-colored dots that light up
   around the cursor (desktop only). Solid panels sit on top of it. */
body::before, body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-size: 26px 26px; background-position: 13px 13px;
}
body::before {
  background-image: radial-gradient(circle, color-mix(in srgb, var(--text) 16%, transparent) 1.1px, transparent 1.6px);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, rgba(0,0,0,.45) 100%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, rgba(0,0,0,.45) 100%);
}
body::after {
  background-image: radial-gradient(circle, var(--brand) 1.5px, transparent 2px);
  -webkit-mask-image: radial-gradient(220px circle at var(--mx, -500px) var(--my, -500px), #000 0%, transparent 100%);
          mask-image: radial-gradient(220px circle at var(--mx, -500px) var(--my, -500px), #000 0%, transparent 100%);
  opacity: var(--spot, 0); transition: opacity .4s;
}
@media (hover: none), (prefers-reduced-motion: reduce) { body::after { display: none; } }

/* ---------- Content (videos & posts) ---------- */
.content { padding: clamp(70px, 10vw, 130px) 0; }
.content__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 44px); }
.content__head .section-title { margin-bottom: 10px; }
.content__sub { color: var(--muted); font-size: 1.125rem; margin: 0; max-width: 46ch; }
.content__follow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.content__follow a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 500; font-size: .9375rem; transition: background .2s, color .2s; }
.content__follow a:hover { background: var(--text); color: var(--bg); }
.content__rail {
  display: flex; gap: 18px; align-items: flex-start; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 18px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: thin; scrollbar-color: var(--surface) transparent; cursor: grab;
}
.content__rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.content__rail.is-dragging a { pointer-events: none; }
.mcard { flex: none; width: clamp(280px, 30vw, 420px); scroll-snap-align: start; }
.mcard--tall { width: clamp(200px, 17vw, 250px); }
.mcard__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.mcard--tall .mcard__media { aspect-ratio: 9 / 16; }
.mcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); -webkit-user-drag: none; }
.mcard__media:hover img { transform: scale(1.04); }
.mcard__blank { position: absolute; inset: 0; display: grid; place-items: center; color: color-mix(in srgb, var(--text) 30%, transparent); background: var(--plat, var(--surface)); }
[data-platform="youtube"] { --plat: #3a1416; }
[data-platform="facebook"] { --plat: #13264a; }
[data-platform="instagram"] { --plat: linear-gradient(135deg, #3b1d4e, #5a2131 60%, #5c3a17); }
[data-platform="linkedin"] { --plat: #0e2b45; }
[data-platform="tiktok"] { --plat: #141820; }
.mcard__chip { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(6px); font-size: .8125rem; font-weight: 600; }
.mcard__play { position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); transition: transform .25s var(--ease); }
.mcard__media:hover .mcard__play { transform: scale(1.1); }
.mcard__body { padding: 14px 4px 0; }
.mcard__body h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.01em; }
.mcard__body p { color: var(--muted); font-size: .9375rem; margin: 6px 0 0; }

.player { padding: 0; border: 0; background: transparent; max-width: min(1000px, 94vw); width: 100%; color: var(--text); }
.player::backdrop { background: rgba(5, 10, 20, .82); backdrop-filter: blur(6px); }
.player__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; margin-inline: auto; }
.player.is-vertical { max-width: min(420px, 94vw); }
.player.is-vertical .player__frame { aspect-ratio: 9 / 16; max-height: 80vh; }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }

/* ---------- Referrals / tools ---------- */
.refs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; padding-bottom: 24px; align-items: start; }
.refs .is-hidden { display: none; }
.ref { padding: clamp(22px, 2.6vw, 30px); gap: 14px; }
.ref--featured { grid-column: span 2; background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 20%, var(--surface)), var(--surface) 65%); }
.ref__head { display: flex; gap: 14px; align-items: center; }
.ref__head h2 { font-size: 1.6rem; }
.ref__logo { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--bg); display: grid; place-items: center; overflow: hidden; font: 700 1.5rem var(--font-display); color: var(--brand); }
.ref__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.ref__tag { color: var(--muted); margin: 2px 0 0; }
.ref__perk { margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--brand-2) 16%, transparent); color: var(--brand-2); font-weight: 600; }
.ref__why { margin: 0; font-size: 1.0625rem; }
.ref__desc { margin: 0; color: var(--muted); font-size: .9688rem; }
.ref__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ref__code { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 999px; border: 1.5px dashed color-mix(in srgb, var(--text) 30%, transparent); background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.ref__code span { color: var(--muted); font-size: .875rem; }
.ref__code strong { font-family: var(--font-display); letter-spacing: .04em; }
.ref__code em { font-style: normal; font-size: .8125rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface); }
.ref__code:hover { border-color: var(--brand-2); }
.ref__code.is-copied em { background: var(--brand); color: var(--on-brand); }
.refs__note, .refs__empty { color: var(--muted); font-size: .9375rem; }
.ref--partner { display: flex; flex-direction: column; border-radius: var(--radius-lg); border: 1.5px dashed color-mix(in srgb, var(--text) 24%, transparent); background: color-mix(in srgb, var(--surface) 40%, transparent); }
.ref--partner h2 { font-size: 1.6rem; }
.ref--partner .ref__actions { align-items: center; gap: 16px; }
@media (max-width: 760px) { .ref--featured { grid-column: auto; } }

/* ---------- Pages ---------- */
.page-head { padding: clamp(130px, 18vh, 180px) 0 40px; }
.page-head h1 { font-size: clamp(3rem, 10vw, 8rem); letter-spacing: -0.045em; }
.page-tools .page-head h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); max-width: 14ch; line-height: .95; }
.page-head p { color: var(--muted); font-size: 1.15rem; margin-top: 16px; max-width: 50ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 0; background: var(--surface); color: var(--muted); font: 500 .9375rem var(--font-body); cursor: pointer; }
.chip.is-on { background: var(--text); color: var(--bg); }
.grid-work { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; padding-bottom: 40px; }
.grid-work .pcard.is-hidden { display: none; }

.case__head { padding-top: clamp(130px, 18vh, 180px); }
.link--back { display: inline-block; margin-bottom: 24px; }
.case__head h1 { font-size: clamp(3rem, 9vw, 7.5rem); letter-spacing: -0.045em; }
.case__facts { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 32px 0; }
.case__facts dt { color: var(--muted); font-size: .875rem; }
.case__facts dd { margin: 2px 0 0; font: 600 1.15rem var(--font-display); }
.case__metric dd { color: var(--brand-2); font-size: 1.6rem; }
.case__cover img { border-radius: var(--radius-lg); width: 100%; }
.case__cover { margin: 40px auto; }
.case__body { max-width: 820px; padding-block: 40px; }
.case__lede { font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.4; }
.case__part { margin-top: 40px; }
.case__part h2 { font-size: 1.6rem; margin-bottom: 12px; color: var(--brand-2); }
.case__part p { font-size: 1.125rem; }
.case__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; padding-block: 40px; }
.case__gallery img { border-radius: var(--radius); }
.case__next { display: grid; text-decoration: none; padding: 60px var(--gutter); text-align: center; border-top: 1px solid var(--line); margin-top: 40px; }
.case__next span { color: var(--muted); }
.case__next strong { font: 700 clamp(2.4rem, 7vw, 5.5rem)/1.05 var(--font-display); letter-spacing: -0.04em; transition: color .2s; }
.case__next:hover strong { color: var(--brand); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 48px 0 100px; }
.foot__inner { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.foot__brand { display: flex; gap: 14px; align-items: center; }
.foot__brand div { display: grid; }
.foot__brand strong { font: 700 1.15rem var(--font-display); }
.foot__brand span { color: var(--muted); font-size: .9375rem; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--text); transition: background .2s, color .2s; }
.socials a:hover { background: var(--brand); color: var(--on-brand); }
.foot__links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot__links a { color: var(--muted); text-decoration: none; }
.foot__links a:hover { color: var(--text); }
.foot__copy { color: var(--muted); font-size: .875rem; margin: 0; text-align: right; }
@media (max-width: 720px) { .foot__inner { grid-template-columns: 1fr; } .foot__copy { text-align: left; } }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5); transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
}
