/*
Theme Name: Stratgies
Theme URI: https://stratgies.com
Author: Stratgies
Author URI: https://stratgies.com
Description: Custom WordPress theme for Stratgies — an influencer marketing agency connecting verified regional and vernacular creators with brands. Fully customizable via the WordPress Customizer: logo, brand colors, navigation menus, contact/social info, and per-page hero content. Built mobile-first with scroll animations, hover motion, and a graceful no-JS fallback (content never depends on JavaScript to be visible).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stratgies
Tags: custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme bundles a hand-built design system (bento grids, gradient hero,
scroll-reveal animation, verification-checklist mockups, marquee, filterable
gallery). See README.txt for setup and customization instructions.
*/

/* =========================================================
   Design System — Verified Creator Marketplace
   Mirrors the bento-grid / gradient-hero SaaS style analysed
   from the reference AI-agency template.
   Mobile-first. Fonts: Plus Jakarta Sans (headings) + Manrope (body)
   ========================================================= */

:root {
  /* Navy + vivid orange-magenta-violet gradient, sampled directly from the
     Stratgies logo (navy wordmark, orange/pink/purple hashtag + infinity mark). */
  --black: #0a1633;
  --ink: #182238;
  --gray-700: #414a5e;
  --gray-600: #5b6478;
  --gray-500: #757e93;
  --gray-400: #8f96a8;
  --gray-200: #e3e6ee;
  --gray-100: #eef0f6;
  --bg-muted: #f0f1f8;
  --white: #ffffff;

  --grad-purple: #8b2fd9;
  --grad-pink: #e8317f;
  --grad-orange: #fa6432;
  --grad-full: linear-gradient(120deg, var(--grad-purple), var(--grad-pink) 55%, var(--grad-orange));

  --success: #17a45a;
  --success-bg: #e7f7ee;

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --font-heading: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;

  --container: 1220px;
  --shadow-sm: 0 1px 2px rgba(10,10,10,.06);
  --shadow-md: 0 10px 28px rgba(30,12,60,.12);
  --shadow-lg: 0 24px 60px rgba(30,12,60,.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; flex-shrink: 0; display: inline-block; vertical-align: -0.125em; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--black);
  margin: 0 0 .6em;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw + 1rem, 3.9rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw + 1rem, 2.65rem); }
h3 { font-size: clamp(1.15rem, 1.2vw + 1rem, 1.4rem); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.02rem, .5vw + 1rem, 1.2rem); color: var(--gray-600); }
.muted { color: var(--gray-500); }
.section-kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--grad-purple);
  margin-bottom: .75rem;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
section { padding: clamp(3rem, 6vw, 6rem) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: #262626; box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--white); color: var(--black); border-color: var(--gray-200); }
.btn-secondary:hover { border-color: var(--black); }
.btn-muted { background: var(--bg-muted); color: var(--black); }
.btn-muted:hover { background: var(--gray-200); }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .25s cubic-bezier(.22,.68,.36,1); }
.btn:hover svg { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* -------------------- Badges / pills -------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.badge-dark { background: var(--black); color: #fff; }
.badge-muted { background: var(--bg-muted); color: var(--gray-700); }
.badge-gradient { background: var(--grad-full); color: #fff; }
.badge-outline { border: 1.5px solid var(--gray-200); color: var(--gray-600); }
.badge-success { background: var(--success-bg); color: var(--success); }
.pill-link {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.7); border: 1px solid rgba(10,10,10,.08);
  padding: .5rem 1rem; border-radius: var(--radius-pill); font-weight: 700; font-size: .85rem;
  text-decoration: none; color: var(--black); backdrop-filter: blur(6px);
}

/* -------------------- Header / nav -------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--gray-200); box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-logo { height: 30px; width: auto; display: block; }
@media (min-width: 700px) { .brand-logo { height: 34px; } }

.main-nav { display: none; align-items: center; gap: 2rem; }
.main-nav a {
  text-decoration: none; color: var(--gray-700); font-weight: 600; font-size: .95rem;
  position: relative; padding: .25rem 0;
}
.main-nav a.active { color: var(--black); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--grad-full); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: .9rem; }
.header-actions .btn-secondary { display: none; }

.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--gray-200); background: var(--white); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-open { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

.mobile-nav {
  position: fixed; inset: 0; top: 66px; background: var(--white); z-index: 90;
  padding: 1.5rem 1.25rem; transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease; overflow-y: auto;
}
body.nav-open .mobile-nav { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem 0; border-bottom: 1px solid var(--gray-100);
  text-decoration: none; color: var(--black); font-weight: 700; font-size: 1.15rem; font-family: var(--font-heading);
}
.mobile-nav a.btn { margin-top: 1.5rem; font-family: var(--font-body); font-size: .95rem; justify-content: center; }
.mobile-nav a.btn-primary { color: var(--white); }
.mobile-nav a.btn-muted { color: var(--black); }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-actions .btn-secondary { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* -------------------- Hero -------------------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(3rem, 8vw, 6rem); }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: linear-gradient(160deg, #ddc9fb 0%, #f3d3ea 34%, #fcdccb 62%, #ffe9cf 100%);
}
.hero-bg::before, .hero-bg::after, .hero-bg .blob-3, .hero-bg .blob-4 {
  content: ""; position: absolute; border-radius: 50%; filter: blur(64px); mix-blend-mode: multiply;
}
.hero-bg::before { width: 46vw; height: 46vw; max-width: 560px; max-height: 560px; background: radial-gradient(circle, var(--grad-purple), transparent 72%); opacity: .8; top: -14vw; left: -8vw; }
.hero-bg::after { width: 48vw; height: 48vw; max-width: 600px; max-height: 600px; background: radial-gradient(circle, var(--grad-orange), transparent 72%); opacity: .75; bottom: -18vw; right: -10vw; mix-blend-mode: screen; }
.hero-bg .blob-3 { width: 34vw; height: 34vw; max-width: 420px; max-height: 420px; background: radial-gradient(circle, var(--grad-pink), transparent 72%); opacity: .7; top: 22%; left: 42%; }
.hero-bg .blob-4 { width: 26vw; height: 26vw; max-width: 320px; max-height: 320px; background: radial-gradient(circle, #cdb8ff, transparent 72%); opacity: .55; top: 55%; left: 8%; mix-blend-mode: screen; }
.hero-bg .streak {
  position: absolute; inset: -20% -10%; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,222,179,.65) 49%, rgba(255,255,255,.55) 53%, transparent 64%);
  mix-blend-mode: soft-light;
}
.hero-bg .grain {
  position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Ambient "breathing" motion — continuous, pure CSS, no JS dependency */
.hero-bg::before { animation: blob-breathe 11s ease-in-out infinite; }
.hero-bg::after { animation: blob-breathe 13s ease-in-out infinite; animation-delay: -4s; }
.hero-bg .blob-3 { animation: blob-breathe 9.5s ease-in-out infinite; animation-delay: -2s; }
.hero-bg .blob-4 { animation: blob-breathe 12.5s ease-in-out infinite; animation-delay: -6s; }
@keyframes blob-breathe { 0%, 100% { transform: scale(1) translate(0, 0); } 50% { transform: scale(1.12) translate(1.5%, -1.5%); } }
@media (prefers-reduced-motion: reduce) {
  .hero-bg::before, .hero-bg::after, .hero-bg .blob-3, .hero-bg .blob-4 { animation: none; }
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy .badge { margin-bottom: 1.25rem; }
.hero-copy h1 { margin-bottom: .9rem; }
.hero-copy .lead { max-width: 46ch; margin-bottom: 1.6rem; }
.hero-trust { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-trust .badge-outline { background: rgba(255,255,255,.6); }

/* Mockup card used instead of photography */
.mock-card {
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(10,10,10,.06);
  padding: 1.5rem; position: relative;
}
.mock-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.mock-card__title { font-family: var(--font-heading); font-weight: 800; font-size: .95rem; color: var(--black); }
.mock-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 0; border-top: 1px solid var(--gray-100);
}
.mock-row:first-of-type { border-top: none; }
.mock-row__label { display: flex; align-items: center; gap: .65rem; font-weight: 700; color: var(--ink); font-size: .92rem; }
.mock-check {
  width: 26px; height: 26px; border-radius: 50%; background: var(--success-bg); color: var(--success);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mock-check svg { width: 14px; height: 14px; }
.mock-card__foot { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--gray-200); font-size: .82rem; color: var(--gray-500); }
.mock-card { transition: transform .3s ease; }
.mock-card[data-tilt] { will-change: transform; }
/* Staggered pop-in for the checklist rows once the card scrolls into view.
   Gated behind html.js so it only ever hides content when we know JS ran. */
html.js .reveal .mock-row { opacity: 0; transform: translateX(-14px); transition: opacity .5s ease, transform .5s ease; }
html.js .reveal.in-view .mock-row { opacity: 1; transform: translateX(0); }
html.js .reveal.in-view .mock-row:nth-child(2) { transition-delay: .08s; }
html.js .reveal.in-view .mock-row:nth-child(3) { transition-delay: .22s; }
html.js .reveal.in-view .mock-row:nth-child(4) { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { html.js .reveal .mock-row { opacity: 1; transform: none; transition: none; } }
.floating-chip {
  position: absolute; background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); border: 1px solid rgba(10,10,10,.06);
  padding: .8rem 1rem; display: flex; align-items: center; gap: .65rem; font-weight: 800;
  animation: chip-float 4.2s ease-in-out infinite;
}
.floating-chip small { display: block; font-weight: 600; color: var(--gray-500); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; }
.hero-chip { display: none; }
@media (min-width: 640px) { .hero-chip { display: flex; } }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .floating-chip { animation: none; } }

/* -------------------- Bento grid -------------------- */
.bento-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 760px) { .bento-grid { grid-template-columns: repeat(6, 1fr); } }
.bento-card {
  background: var(--bg-muted); border-radius: var(--radius-lg); padding: 1.9rem;
  position: relative; display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.22,.68,.36,1), box-shadow .35s ease;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.bento-card.card-dark:hover { box-shadow: 0 20px 44px rgba(0,0,0,.28); }
.bento-card.card-white { background: var(--white); border: 1px solid var(--gray-200); }
.bento-card.card-dark { background: var(--black); color: #fff; }
.bento-card.card-dark h3, .bento-card.card-dark p { color: #fff; }
.bento-card.card-dark .muted { color: rgba(255,255,255,.6); }
.bento-card .badge { position: absolute; top: 1.4rem; right: 1.4rem; }
@media (min-width: 760px) {
  .span-2 { grid-column: span 2; }
  .span-3 { grid-column: span 3; }
  .span-4 { grid-column: span 4; }
  .span-6 { grid-column: span 6; }
}
.card-icon-link { margin-top: auto; padding-top: 1.1rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--black); }
.bento-card.card-dark .card-icon-link { color: #fff; }
.card-icon-link svg { width: 15px; height: 15px; transition: transform .15s ease; }
.card-icon-link:hover svg { transform: translateX(3px); }
.check-list { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-direction: column; gap: .55rem; }
.check-list li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .92rem; }

.icon-badge {
  width: 54px; height: 54px; border-radius: 16px; flex-shrink: 0;
  background: var(--grad-full); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; box-shadow: var(--shadow-sm);
}
.icon-badge svg { width: 26px; height: 26px; color: #fff; }
.icon-badge.dark { background: rgba(255,255,255,.12); }

/* -------------------- Generic grids -------------------- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: repeat(2,1fr); } }

/* A 5-item step list (e.g. campaign process) doesn't divide evenly into
   grid-4's columns — the 5th card would wrap alone onto its own row. This
   flexbox variant wraps AND centers whatever's left on the final row, so 5
   items sit as 2-2-1 on tablet and 3-2 on desktop instead of an orphaned
   single card. */
.step-grid-5 { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.step-grid-5 > * { flex: 1 1 100%; }
@media (min-width: 700px) { .step-grid-5 > * { flex: 1 1 calc(50% - .625rem); } }
@media (min-width: 900px) { .step-grid-5 > * { flex: 1 1 calc(33.333% - .834rem); max-width: calc(33.333% - .834rem); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

/* -------------------- Simple content cards -------------------- */
.card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 1.85rem; transition: transform .35s cubic-bezier(.22,.68,.36,1), box-shadow .35s ease;
}
.card.muted-bg { background: var(--bg-muted); border-color: transparent; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* -------------------- Process steps -------------------- */
.step-card { background: var(--bg-muted); border-radius: var(--radius-lg); padding: 1.75rem; position: relative; transition: transform .35s cubic-bezier(.22,.68,.36,1), box-shadow .35s ease; }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-number {
  width: 42px; height: 42px; border-radius: 13px; background: var(--black); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-heading);
  margin-bottom: 1.1rem; font-size: 1.05rem;
}

/* -------------------- Stat counters -------------------- */
.stat-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
@media (min-width: 700px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }
.stat-row.cols-4 { grid-template-columns: repeat(2,1fr); }
@media (min-width: 700px) { .stat-row.cols-4 { grid-template-columns: repeat(4,1fr); } }
.stat-block .stat-number {
  font-family: var(--font-heading); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--black);
  display: flex; align-items: baseline; justify-content: center; gap: .1rem;
}
.stat-block .stat-label { color: var(--gray-500); font-weight: 600; font-size: .88rem; margin-top: .3rem; }

/* -------------------- Pricing / transparency mockup -------------------- */
.price-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-md); }
.price-row { display: flex; align-items: center; justify-content: space-between; padding: .95rem 0; border-bottom: 1px solid var(--gray-100); }
.price-row:last-of-type { border-bottom: none; }
.price-row__label { font-weight: 700; color: var(--ink); }
.price-row__label small { display: block; font-weight: 500; color: var(--gray-500); font-size: .82rem; margin-top: .15rem; }
.price-row__value { font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; }
.price-total { background: var(--bg-muted); border-radius: var(--radius-md); padding: 1rem 1.2rem; margin-top: .5rem; display: flex; align-items: center; justify-content: space-between; }
.price-total .price-row__value { font-size: 1.4rem; }

/* -------------------- Payment timeline -------------------- */
/* The connecting line is drawn ONCE on the .timeline container itself
   (::before), from the center of the first dot to the center of the last
   dot, instead of as separate overlapping segments on each step (the
   previous approach relied on :first-child/:last-child both overriding
   left/right AND leaving width:100% in place, which is an over-constrained
   box that browsers can resolve inconsistently — in practice the line fell
   short of the last dot). A single line can't have a "missing segment."
   Every usage in this theme has exactly 3 steps, so the line is inset by
   one third of a step's share of the row (50% / 3) on each side to land
   exactly on the first and last dot centers; if a timeline with a
   different step count is ever added, give it its own modifier class
   instead of changing this shared one. */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
@media (min-width: 800px) {
  .timeline { flex-direction: row; align-items: flex-start; }
  .timeline::before {
    content: ""; position: absolute; left: calc(50% / 3); right: calc(50% / 3);
    top: 6px; height: 2px; background: var(--gray-200); z-index: 0;
  }
}
.timeline-step { flex: 1; position: relative; padding: 0 0 1.75rem 2.2rem; z-index: 1; }
@media (min-width: 800px) { .timeline-step { padding: 2.2rem 1rem 0; text-align: center; } }
.timeline-step::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad-full); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gray-200);
}
@media (min-width: 800px) { .timeline-step::before { left: 50%; top: 0; transform: translateX(-50%); } }
/* Mobile: a short vertical line below each dot, connecting down to the next
   step (no line needed after the last step). */
.timeline-step::after {
  content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: var(--gray-200);
}
.timeline-step:last-child::after { display: none; }
@media (min-width: 800px) { .timeline-step::after { display: none; } }
.timeline-day { font-family: var(--font-heading); font-weight: 800; color: var(--grad-purple); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }

/* -------------------- Testimonials -------------------- */
.testimonial-card { background: var(--bg-muted); border-radius: var(--radius-lg); padding: 1.85rem; display: flex; flex-direction: column; height: 100%; transition: transform .35s cubic-bezier(.22,.68,.36,1), box-shadow .35s ease; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stars { color: #f5a623; letter-spacing: .1em; margin-bottom: 1rem; font-size: 1rem; }
.testimonial-quote { color: var(--ink); font-weight: 600; flex-grow: 1; }
.testimonial-person { display: flex; align-items: center; gap: .7rem; margin-top: 1.4rem; }
.avatar-circle {
  width: 44px; height: 44px; border-radius: 50%; background: var(--grad-full); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .82rem; flex-shrink: 0;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(167,139,250,.35), var(--shadow-sm);
}
.avatar-stack { display: flex; }
.avatar-stack .avatar-circle { margin-left: -12px; width: 38px; height: 38px; font-size: .72rem; }
.avatar-stack .avatar-circle:first-child { margin-left: 0; }
.testimonial-person .name { font-weight: 800; color: var(--black); font-size: .92rem; }
.testimonial-person .role { color: var(--gray-500); font-size: .82rem; }
.placeholder-note { font-size: .74rem; color: var(--gray-400); margin-top: .6rem; font-style: italic; }

/* -------------------- Chips / tag rows -------------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { background: var(--bg-muted); border-radius: var(--radius-pill); padding: .5rem 1rem; font-weight: 700; font-size: .85rem; color: var(--gray-700); }

/* -------------------- Marquee (kinetic trust strip) -------------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: .8rem; animation: marquee-scroll 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* -------------------- Big stat band -------------------- */
.stat-band { background: var(--black); border-radius: var(--radius-xl); padding: clamp(2.25rem,4vw,3.25rem); }
.stat-band .stat-block .stat-number { color: #fff; }
.stat-band .stat-block .stat-label { color: rgba(255,255,255,.6); }

/* -------------------- Split section -------------------- */
.split-card {
  border-radius: var(--radius-xl); padding: 2.25rem; display: flex; flex-direction: column; height: 100%;
  transition: transform .35s cubic-bezier(.22,.68,.36,1), box-shadow .35s ease;
}
.split-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.split-card.for-brands { background: linear-gradient(160deg, #efeafd, #fdeef6); }
.split-card.for-creators { background: linear-gradient(160deg, #fff1e2, #fde9ec); }
.split-card ul { list-style: none; padding: 0; margin: 1.2rem 0; display: flex; flex-direction: column; gap: .6rem; }
.split-card li { display: flex; gap: .6rem; font-weight: 600; font-size: .93rem; color: var(--ink); }
.split-card .btn { margin-top: auto; align-self: flex-start; }

/* -------------------- Old way / Our way comparison -------------------- */
.compare-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; position: relative; }
@media (min-width: 760px) { .compare-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
.compare-col { border-radius: var(--radius-xl); padding: clamp(1.75rem, 3vw, 2.35rem); }
.compare-col.old-way { background: var(--bg-muted); border: 1.5px dashed var(--gray-200); }
.compare-col.new-way { background: var(--black); color: #fff; box-shadow: var(--shadow-lg); }
.compare-col.new-way h3 { color: #fff; }
.compare-head-label { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-family: var(--font-heading); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1.15rem; color: var(--gray-500); }
.compare-col.new-way .compare-head-label { color: rgba(255,255,255,.55); }
.compare-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.compare-list li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 600; font-size: .95rem; }
.compare-col.old-way li { color: var(--gray-600); }
.compare-old-icon, .compare-new-icon {
  width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: .1rem;
}
.compare-old-icon { background: rgba(115,115,115,.14); color: var(--gray-500); }
.compare-old-icon svg { width: 10px; height: 10px; }
.compare-new-icon { background: var(--grad-full); color: #fff; }
.compare-new-icon svg { width: 11px; height: 11px; }
.compare-vs {
  display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--gray-200); font-family: var(--font-heading); font-weight: 800;
  font-size: .78rem; color: var(--gray-500); box-shadow: var(--shadow-sm);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
}
@media (max-width: 759px) { .compare-vs { position: static; margin: -.5rem auto; transform: none; } }

/* -------------------- Network map illustration -------------------- */
.network-map { width: 100%; }
.network-map svg { width: 100%; height: auto; display: block; }
.network-map .nm-node { animation: nm-pulse 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.network-map .nm-node:nth-of-type(3) { animation-delay: .25s; }
.network-map .nm-node:nth-of-type(4) { animation-delay: .5s; }
.network-map .nm-node:nth-of-type(5) { animation-delay: .75s; }
.network-map .nm-node:nth-of-type(6) { animation-delay: 1s; }
.network-map .nm-node:nth-of-type(7) { animation-delay: 1.25s; }
.network-map .nm-node:nth-of-type(8) { animation-delay: 1.5s; }
.network-map .nm-node:nth-of-type(9) { animation-delay: 1.75s; }
@keyframes nm-pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.network-map .nm-line { stroke-dasharray: 700; stroke-dashoffset: 0; }
html.js .reveal.network-map .nm-line { stroke-dashoffset: 700; }
html.js .reveal.network-map.in-view .nm-line { animation: nm-draw 1.7s cubic-bezier(.22,.68,.36,1) forwards; }
.network-map .nm-line:nth-of-type(2) { animation-delay: .06s !important; }
.network-map .nm-line:nth-of-type(3) { animation-delay: .12s !important; }
.network-map .nm-line:nth-of-type(4) { animation-delay: .18s !important; }
.network-map .nm-line:nth-of-type(5) { animation-delay: .24s !important; }
.network-map .nm-line:nth-of-type(6) { animation-delay: .3s !important; }
.network-map .nm-line:nth-of-type(7) { animation-delay: .36s !important; }
@keyframes nm-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .network-map .nm-node { animation: none; opacity: 1; }
  html.js .reveal.network-map .nm-line, html.js .reveal.network-map.in-view .nm-line { animation: none; stroke-dashoffset: 0; }
}

/* -------------------- CTA band -------------------- */
.cta-band {
  border-radius: var(--radius-xl); padding: clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden;
  background: var(--black); color: #fff; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .5; background: var(--grad-full); mix-blend-mode: overlay;
}
.cta-band > * { position: relative; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-secondary:hover { border-color: #fff; }

/* -------------------- FAQ -------------------- */
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 1.1rem 0; }
.faq-item summary {
  cursor: pointer; font-weight: 700; font-family: var(--font-heading); color: var(--black);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--gray-400); flex-shrink: 0; transition: transform .15s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: .8rem; color: var(--gray-600); }

/* -------------------- Forms -------------------- */
.form-card { background: var(--bg-muted); border-radius: var(--radius-xl); padding: clamp(1.5rem, 3vw, 2.5rem); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-bottom: 1.1rem; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: .45rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--gray-200);
  font-family: var(--font-body); font-size: .95rem; background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--grad-purple); }
.field textarea { resize: vertical; min-height: 120px; }
.radio-group { display: flex; gap: .8rem; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: flex; align-items: center; gap: .5rem; padding: .8rem 1.2rem; border-radius: var(--radius-pill);
  border: 1.5px solid var(--gray-200); background: var(--white); font-weight: 700; font-size: .9rem;
}
.radio-pill input:checked + span { border-color: var(--black); background: var(--black); color: #fff; }

/* -------------------- Footer -------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(3rem,6vw,4.5rem) 0 1.5rem; margin-top: clamp(3rem,6vw,5rem); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand p { max-width: 32ch; margin-top: 1rem; font-size: .92rem; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-heading); margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .7rem; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.72); font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: .8rem; font-size: .92rem; }
.footer-contact li { display: flex; gap: .6rem; list-style: none; }
.social-row { display: flex; gap: .7rem; margin-top: 1.3rem; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; text-decoration: none;
}
.social-row svg { width: 16px; height: 16px; color: #fff; }
.footer-bottom { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; padding-top: 1.5rem; font-size: .82rem; }
@media (min-width: 760px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom-links { display: flex; gap: 1.3rem; }
.footer-bottom-links a { text-decoration: none; color: rgba(255,255,255,.6); }

/* -------------------- Page hero (inner pages) -------------------- */
.page-hero { padding: clamp(2.5rem,6vw,4rem) 0 clamp(2rem,4vw,3rem); }
.breadcrumb { font-size: .85rem; color: var(--gray-500); margin-bottom: 1rem; display:flex; gap:.4rem; align-items:center; }
.breadcrumb a { text-decoration: none; color: var(--gray-500); font-weight: 600; }

/* -------------------- Reveal animation -------------------- */
/* Visible by default (progressive enhancement). Only hidden once JS confirms
   it's alive and adds .js to <html> — so a CSP block, a script error, or any
   other JS failure never leaves content permanently invisible. */
.reveal { transition: opacity .7s cubic-bezier(.22,.68,.36,1), transform .7s cubic-bezier(.22,.68,.36,1); }
html.js .reveal { opacity: 0; transform: translateY(20px); }
html.js .reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* -------------------- Word-by-word headline entrance -------------------- */
.split-words { overflow: visible; }
.split-words .word { display: inline-block; overflow: hidden; vertical-align: top; }
.split-words .word span {
  display: inline-block; opacity: 0; transform: translateY(115%) rotate(4deg); transform-origin: left bottom;
  animation: word-slide-up .85s cubic-bezier(.22,.68,.36,1) forwards;
  animation-delay: calc(var(--i, 0) * 70ms + 60ms);
}
@keyframes word-slide-up { to { opacity: 1; transform: translateY(0) rotate(0deg); } }
@media (prefers-reduced-motion: reduce) {
  .split-words .word span { animation: none; opacity: 1; transform: none; }
}

/* -------------------- Rotating word (vernacular-language cycle) -------------------- */
.word-rotator { display: inline-block; position: relative; top: .2em; height: 1em; line-height: 1; overflow: visible; vertical-align: baseline; min-width: 7ch; text-align: left; }
.word-rotator .rot-word {
  position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; line-height: 1;
  transform: rotateX(180deg); transform-origin: center bottom;
  animation: word-rotate-cycle 9s cubic-bezier(.5,0,.2,1) infinite;
}
.word-rotator .rot-word:nth-child(2) { animation-delay: 1.8s; }
.word-rotator .rot-word:nth-child(3) { animation-delay: 3.6s; }
.word-rotator .rot-word:nth-child(4) { animation-delay: 5.4s; }
.word-rotator .rot-word:nth-child(5) { animation-delay: 7.2s; }
@keyframes word-rotate-cycle {
  0% { opacity: 0; transform: rotateX(180deg); }
  4%, 18% { opacity: 1; transform: rotateX(0deg); }
  22%, 100% { opacity: 0; transform: rotateX(180deg); }
}
@media (prefers-reduced-motion: reduce) {
  .word-rotator .rot-word { animation: none; opacity: 0; }
  .word-rotator .rot-word:first-child { opacity: 1; position: static; }
}

/* =========================================================
   New reference-design components (topbar, hero-v2, mini-bento,
   stat rail, split photo/stat, case studies, gallery/filter,
   blog cards, footer wordmark)
   ========================================================= */

/* -------------------- Topbar -------------------- */
.topbar { background: var(--black); color: rgba(255,255,255,.7); font-size: .78rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding: .55rem 1.25rem; gap: 1rem; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.7); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-item svg { width: 13px; height: 13px; }
.topbar-social { display: flex; align-items: center; gap: .7rem; }
.topbar-social svg { width: 13px; height: 13px; }
@media (max-width: 700px) { .topbar-left span:not(:first-child), .topbar-right .topbar-item:not(:last-child) { display: none; } }

/* -------------------- Hero v2 (photo/video showcase) -------------------- */
.hero-v2-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-v2-grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.hero-media { position: relative; }
.video-thumb {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; border: 1px solid rgba(255,255,255,.4);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.68,.36,1); }
.video-thumb:hover img { transform: scale(1.06); }
.video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; padding: 0; background: transparent;
}
.video-play__circle {
  width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .25s cubic-bezier(.22,.68,.36,1), background .25s ease;
  animation: play-pulse 2.6s ease-in-out infinite;
}
.video-play:hover .video-play__circle { transform: scale(1.1); background: #fff; }
.video-play__circle svg { width: 22px; height: 22px; color: var(--black); margin-left: 3px; }
@keyframes play-pulse { 0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 0 rgba(255,255,255,.5); } 50% { box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 14px rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .video-play__circle { animation: none; } }
.hero-media-caption {
  position: absolute; left: 1.1rem; bottom: -1.1rem; background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); border: 1px solid rgba(10,10,10,.06); padding: .75rem .95rem;
  display: flex; align-items: center; gap: .6rem; max-width: 78%;
}
.hero-media-caption .stars { margin: 0; font-size: .8rem; }
.hero-proof-row { display: flex; align-items: center; gap: .9rem; margin-top: 1.75rem; flex-wrap: wrap; }
.hero-proof-row .avatar-stack { flex-shrink: 0; }

/* -------------------- Trust / platform row -------------------- */
.trust-row-wrap { padding: 1.75rem 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.trust-row-label { font-size: .78rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1.1rem; text-align: center; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3rem); }
.trust-row-item { display: flex; align-items: center; gap: .5rem; color: var(--gray-500); font-weight: 700; font-size: .95rem; opacity: .8; transition: opacity .2s ease, color .2s ease; }
.trust-row-item:hover { opacity: 1; color: var(--black); }
.trust-row-item svg { width: 20px; height: 20px; }

/* -------------------- Compact mini-bento -------------------- */
.mini-bento-card { background: var(--bg-muted); border-radius: var(--radius-md); padding: 1.35rem; position: relative; transition: transform .3s cubic-bezier(.22,.68,.36,1), box-shadow .3s ease; }
.mini-bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mini-bento-card .icon-badge { width: 40px; height: 40px; border-radius: 12px; margin-bottom: .9rem; }
.mini-bento-card .icon-badge svg { width: 19px; height: 19px; }
.mini-bento-card h4 { font-family: var(--font-heading); font-weight: 800; font-size: .98rem; color: var(--black); margin: 0 0 .35rem; }
.mini-bento-card p { font-size: .85rem; color: var(--gray-500); margin: 0; }
.mini-bento-card .mini-link { display: inline-flex; align-items: center; gap: .3rem; margin-top: .75rem; font-size: .82rem; font-weight: 700; color: var(--black); text-decoration: none; }
.mini-bento-card .mini-link svg { width: 12px; height: 12px; transition: transform .15s ease; }
.mini-bento-card .mini-link:hover svg { transform: translateX(3px); }
.team-check-card { grid-column: span 2; }
@media (min-width: 700px) { .team-check-card { grid-column: span 1; } }
.team-check-row { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.team-check-item { display: flex; align-items: center; justify-content: space-between; background: var(--white); border-radius: var(--radius-sm); padding: .55rem .75rem; margin-bottom: .5rem; font-size: .82rem; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); }
.team-check-item .mock-check { width: 20px; height: 20px; }
.team-check-item .mock-check svg { width: 11px; height: 11px; }

/* -------------------- Stat rail (mixed card row) -------------------- */
.rail-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 700px) { .rail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rail-grid { grid-template-columns: repeat(4, 1fr); } }
.rail-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 190px; display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.22,.68,.36,1), box-shadow .3s ease; }
.rail-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rail-card.stat { background: var(--white); border: 1px solid var(--gray-200); border-left: 4px solid var(--grad-purple); padding: 1.5rem; justify-content: center; }
.rail-card.stat .rail-number { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.4rem); color: var(--black); }
.rail-card.stat .rail-label { color: var(--gray-500); font-weight: 700; font-size: .88rem; margin-top: .3rem; }
.rail-card.photo { padding: 0; }
.rail-card.photo img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; display: block; transition: transform .5s ease; }
.rail-card.photo:hover img { transform: scale(1.07); }
.rail-card.chart { background: var(--bg-muted); padding: 1.4rem; justify-content: space-between; }
.rail-chart-bars { display: flex; align-items: flex-end; gap: .4rem; height: 70px; margin-top: auto; }
.rail-chart-bars span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--grad-purple), var(--grad-pink)); animation: rail-bar-grow 1.4s cubic-bezier(.22,.68,.36,1) both; }
@keyframes rail-bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.rail-chart-bars span { transform-origin: bottom; }
.rail-card.dark { background: var(--black); color: #fff; padding: 1.5rem; justify-content: space-between; }
.rail-card.dark .rail-number { color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.1rem); }
.rail-card.dark .rail-label { color: rgba(255,255,255,.62); font-size: .85rem; margin-top: .3rem; }

/* -------------------- Split photo + floating stat -------------------- */
.split-photo-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .split-photo-grid { grid-template-columns: 1fr 1fr; } }
.split-photo-media { position: relative; }
.split-photo-media img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); display: block; aspect-ratio: 4/3.4; object-fit: cover; }

/* -------------------- Case study cards -------------------- */
.case-study-card { background: var(--bg-muted); border-radius: var(--radius-xl); padding: 1.5rem; transition: transform .3s cubic-bezier(.22,.68,.36,1), box-shadow .3s ease; }
.case-study-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.case-study-visual { background: var(--white); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); }
.case-study-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.1rem 0 1.3rem; }
.case-study-meta div { font-size: .8rem; }
.case-study-meta .label { display: block; color: var(--gray-500); margin-bottom: .2rem; }
.case-study-meta .value { font-weight: 700; color: var(--ink); }

/* -------------------- Filter tabs + gallery grid -------------------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.75rem; }
.filter-tab {
  border: 1.5px solid var(--gray-200); background: var(--white); color: var(--gray-600); font-weight: 700; font-size: .85rem;
  padding: .55rem 1.1rem; border-radius: var(--radius-pill); cursor: pointer; transition: all .2s ease; font-family: var(--font-body);
}
.filter-tab:hover { border-color: var(--black); color: var(--black); }
.filter-tab.active { background: var(--black); border-color: var(--black); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-tile { border-radius: var(--radius-lg); padding: 1.6rem; min-height: 210px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; transition: transform .35s cubic-bezier(.22,.68,.36,1), box-shadow .35s ease; }
.gallery-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gallery-tile.hidden-item { display: none; }
.gallery-tile__like {
  position: absolute; top: 1.1rem; right: 1.1rem; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.75);
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.gallery-tile__like svg { width: 15px; height: 15px; color: var(--black); }
.gallery-tile__tags { display: flex; gap: .4rem; margin-bottom: .6rem; }
.gallery-tile__tags span { background: rgba(255,255,255,.55); backdrop-filter: blur(4px); font-size: .7rem; font-weight: 700; padding: .25rem .6rem; border-radius: var(--radius-pill); color: var(--ink); }
.gallery-tile h4 { font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; margin: 0; color: var(--black); }

/* -------------------- Blog / resource cards -------------------- */
.blog-rail-wrap { position: relative; }
.blog-rail { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
.blog-rail::-webkit-scrollbar { display: none; }
.blog-card { flex: 0 0 min(320px, 82vw); scroll-snap-align: start; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s cubic-bezier(.22,.68,.36,1), box-shadow .3s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.blog-card:hover .blog-card__media img { transform: scale(1.08); }
.blog-card__tags { position: absolute; top: .8rem; left: .8rem; display: flex; gap: .4rem; }
.blog-card__tags span { background: rgba(255,255,255,.85); font-size: .68rem; font-weight: 700; padding: .25rem .55rem; border-radius: var(--radius-pill); color: var(--ink); }
.blog-card__body { padding: 1.25rem; }
.blog-card__body h4 { font-family: var(--font-heading); font-weight: 800; font-size: 1rem; margin: 0 0 .5rem; color: var(--black); }
.blog-card__date { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--gray-500); }
.blog-card__date svg { width: 13px; height: 13px; }
.blog-rail-nav { display: flex; gap: .6rem; justify-content: flex-end; margin-bottom: 1.25rem; }
.rail-arrow {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--gray-200); background: var(--white);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s ease;
}
.rail-arrow:hover { border-color: var(--black); background: var(--black); color: #fff; }
.rail-arrow svg { width: 16px; height: 16px; }

/* -------------------- Footer giant wordmark -------------------- */
.footer-wordmark {
  font-family: var(--font-heading); font-weight: 800; text-align: center; color: rgba(255,255,255,.06);
  font-size: clamp(3rem, 12vw, 9rem); line-height: 1; margin-top: clamp(2rem,4vw,3rem); white-space: nowrap; overflow: hidden;
  letter-spacing: -.02em; user-select: none;
}

/* -------------------- Brand logo strip -------------------- */
.brand-logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.75rem, 5vw, 3.5rem); }
.brand-logo-strip img { height: 32px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .2s ease, opacity .2s ease; }
.brand-logo-strip img:hover { filter: grayscale(0); opacity: 1; }

/* -------------------- Creator directory -------------------- */
.creator-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.creator-card__photo {
  position: relative; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; margin-bottom: 1rem;
  background: var(--bg-muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.creator-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.creator-card__photo .avatar-circle { width: 100%; height: 100%; border-radius: 50%; font-size: 1.3rem; }
.creator-card__verified {
  position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-full); border: 2px solid #fff; display: flex; align-items: center; justify-content: center;
}
.creator-card__verified svg { width: 13px; height: 13px; color: #fff; }
.creator-card__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }

.creator-filter-form { display: flex; flex-wrap: wrap; gap: .9rem; align-items: flex-end; margin-bottom: 2rem; padding: 1.25rem; background: var(--bg-muted); border-radius: var(--radius-lg); }
.creator-filter-form .field { flex: 1 1 200px; min-width: 0; margin-bottom: 0; }
.creator-filter-form label { display: block; font-size: .78rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .4rem; }
.creator-filter-form select {
  width: 100%; padding: .7rem .9rem; border-radius: var(--radius-md); border: 1.5px solid var(--gray-200);
  background: var(--white); font-family: var(--font-body); font-size: .95rem; color: var(--ink); appearance: none;
}
.creator-filter-form .btn-row { flex: 0 0 auto; margin: 0; }

/* -------------------- Utility -------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--gray-200); border: none; margin: clamp(2rem,4vw,3.5rem) 0; }
.tag-strip { display:flex; flex-wrap:wrap; gap:.7rem; justify-content:center; }
