@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg: #050505;
  --bg-surface: #0f0f0f;
  --bg-card: #141414;
  --border: #1a1a1a;
  --border-hover: #2a2a2a;
  --text: #f5f5f5;
  --text-secondary: #888888;
  --accent: #00ff88;
  --accent-dim: rgba(0, 255, 136, 0.1);
  --accent-glow: rgba(0, 255, 136, 0.3);

  /* ===== EASY-EDIT SETTINGS ===== */
  /* Space above & below every section (desktop / mobile) - adjust this to increase/decrease gap */
  --section-space: 30px;
  --section-space-mobile: 20px;

  /* Gap between a section's title block and its content */
  --section-header-space: 28px;

  /* Font sizes (easily editable here!) */
  --hero-title-size: clamp(2rem, 4.2vw, 3.8rem);
  --section-title-size: clamp(2.2rem, 4.4vw, 3.8rem);

  /* Colour of the brand name on Work Summary thumbnails */
  --summary-label-color: var(--accent);

  /* ==========================================================================
     ⚡ AUTOSCROLL SPEED CONTROLS (Tweak these numbers directly!)
     (Lower number = FASTER speed, Higher number = SLOWER speed)
     ========================================================================== */
  --marquee-text-speed: 35s;
  /* Desktop text ticker speed */
  --marquee-text-speed-mobile: 50s;
  /* Mobile text ticker speed */

  --marquee-logo-speed: 30s;
  /* Desktop client logos speed */
  --marquee-logo-speed-mobile: 30s;
  /* Mobile client logos speed */
  /* ========================================================================== */
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* ==========================================================================
   Scrollbar
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ==========================================================================
   Global Components
   ========================================================================== */
.noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Cursor (Hidden on touch devices) */
@media (pointer: fine) {
  .cursor__dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
  }

  .cursor__ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
  }
}

@media (pointer: coarse) {

  .cursor__dot,
  .cursor__ring {
    display: none;
  }
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

body.loaded .preloader {
  opacity: 0;
  visibility: hidden;
}

.preloader__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: -0.05em;
}

.preloader__bar {
  width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.preloader__fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.3s ease;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  background: transparent;
  transition: all 0.3s ease;
}

.nav--scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav__logo-dot {
  color: var(--accent);
}

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav__link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav__cta:hover {
  background: var(--accent);
  color: var(--bg);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, background 0.3s ease;
}

.nav__toggle--open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav__toggle--open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 24px 40px;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
}

.mobile-menu--open {
  transform: translateX(0);
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.mobile-menu__link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  padding: 4px 12px;
  letter-spacing: -0.01em;
  transition: color 0.25s ease, transform 0.25s ease;
}

.mobile-menu__link:hover,
.mobile-menu__link:active {
  color: var(--accent);
  transform: scale(1.05);
}

.mobile-menu__link--cta {
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 10px 28px;
  margin-top: 12px;
  font-size: 1.25rem;
}

.mobile-menu__link--cta:hover,
.mobile-menu__link--cta:active {
  background: var(--accent);
  color: #000;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__glow--1,
.hero__glow--2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 10s infinite ease-in-out alternate;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: -10%;
  right: -10%;
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #0066ff33, transparent 70%);
  bottom: -10%;
  left: -10%;
  animation-delay: -5s;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  padding: 0 24px;
}

.hero__eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  display: block;
}

.hero__title {
  font-size: var(--hero-title-size);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: 100%;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero__line>span {
  display: inline-block;
  transform: translateY(100%);
  /* Note: Animation usually handled by JS, but keeping it prepped */
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  .hero__line>span {
    white-space: nowrap;
  }
}

.loaded .hero__line>span {
  transform: translateY(0);
}

.hero__rotator {
  font-style: normal;
  color: var(--accent);
  display: inline-block;
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.hero__rotator.is-out {
  opacity: 0;
  transform: translateY(-0.3em);
  filter: blur(6px);
}

/* Name pill above the headline */
.hero__badge {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  letter-spacing: 0.12em;
  margin-bottom: 28px !important;
}

.hero__badge-name {
  color: var(--text);
  font-weight: 600;
}

.hero__badge-sep {
  color: var(--border-hover);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulse 2s infinite;
}

@media (max-width: 540px) {
  .hero__badge {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.65rem;
  }

  .hero__badge-sep {
    display: none;
  }
}

.hero__subtitle {
  max-width: 600px;
  margin: 24px auto;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.hero__stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 52px;
  padding-top: 36px;
  padding-bottom: 24px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.hero__stat {
  text-align: center;
}

.hero__stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

.hero__stat-plus {
  color: var(--accent);
}

.hero__stat-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 4px;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -2px;
  /* Center 5px ball on 1px line: left = (1-5)/2 = -2 */
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: scroll-bounce 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__scroll-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn--primary {
  background: var(--accent);
  color: #050505;
}

.btn--primary:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
}

.marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee-scroll var(--marquee-text-speed) linear infinite;
  will-change: transform;
}

.marquee__track:hover {
  animation-play-state: paused;
}

.marquee__content {
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
  padding-right: 0;
  flex-shrink: 0;
}

/* ==========================================================================
   Section Commons
   ========================================================================== */
.section {
  padding: var(--section-space) 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  margin-bottom: var(--section-header-space);
}

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--section-title-size);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.section-title em {
  color: var(--accent);
  font-style: normal;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin-top: 16px;
  line-height: 1.6;
}

/* ==========================================================================
   Work Section
   ========================================================================== */
.work__filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.work__filter {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  font-weight: 500;
}

.work__filter:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.work__filter.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.work__item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s ease;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.work__item--tall {
  grid-row: auto;
}

.work__item--wide {
  grid-column: span 2;
}

.work__item:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.work__item-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-card);
}

.work__item-img img {
  width: 100%;
  height: auto;
  max-height: 720px;
  display: block;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work__item:hover .work__item-img img {
  transform: scale(1.03);
}

.work__item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work__item:hover .work__item-overlay {
  opacity: 1;
}

.work__item-cat {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 8px;
}

.work__item-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.work__item-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 4px;
}

.work__item.hidden {
  display: none;
}

/* ==========================================================================
   AI Brands
   ========================================================================== */
.brand-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  margin-bottom: 40px;
  transition: border-color 0.3s ease;
}

.brand-card:last-child {
  margin-bottom: 0;
}

.brand-card:hover {
  border-color: var(--border-hover);
}

.brand-card__header {
  margin-bottom: 32px;
}

.brand-card__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.brand-card__number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
}

.brand-card__type {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.brand-card__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}

.brand-card__tagline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 8px;
}

.brand-card__desc {
  max-width: 600px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 16px;
}

/* ==========================================================================
   Brand Cards Layout
   ========================================================================== */
.brand-card__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-badge:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.15);
}

.doc-badge--subtle {
  opacity: 0.7;
}

.doc-badge--subtle:hover {
  opacity: 1;
}

.brand-card__showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 992px) {
  .brand-card__showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   Per-Brand Column Sizing (Left Column: Posts vs. Right Column: Reels)
   To alter sizes for any brand, simply adjust the two numbers below:
   - First number  (e.g. 1.15fr) = Left column width (Posts/Visuals)
   - Second number (e.g. 0.85fr) = Right column width (Reels/Videos)
   Example: change to "0.8fr 1.2fr" to make posts smaller & reels bigger.
   ========================================================================== */
@media (min-width: 993px) {

  /* AI Brands */
  .brand-card__showcase--dastan {
    grid-template-columns: 0.988fr 1.012fr;
  }

  .brand-card__showcase--hydra {
    grid-template-columns: 1.01fr 0.99fr;
  }

  .brand-card__showcase--monolith {
    grid-template-columns: 1.00fr 1.00fr;
  }

  .brand-card__showcase--wiseguys {
    grid-template-columns: 1.00fr 1.00fr;
  }

  /* Selected Client Work */
  .brand-card__showcase--fort {
    grid-template-columns: 1.065fr 0.935fr;
  }

  .brand-card__showcase--trivon {
    grid-template-columns: 1.003fr 0.987fr;
  }

  .brand-card__showcase--syntraq360 {
    grid-template-columns: 1.00fr 1.00fr;
  }

  .brand-card__showcase--baoyuen {
    grid-template-columns: 1.00fr 1.00fr;
  }

  .brand-card__showcase--forkandfilter {
    grid-template-columns: 1.00fr 1.00fr;
  }

  .brand-card__showcase--currykingdom {
    grid-template-columns: 1.00fr 1.00fr;
  }

  .brand-card__showcase--leos {
    grid-template-columns: 0.62fr 1.38fr;
  }

  .brand-card__showcase--dickeys {
    grid-template-columns: 1.003fr 0.987fr;
  }
}

.brand-card__visuals {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brand-card__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.brand-card__gallery> :only-child,
.brand-card__gallery>.thumb--full-width {
  grid-column: 1 / -1;
}

@media (max-width: 540px) {
  .brand-card__gallery {
    grid-template-columns: 1fr;
  }
}

.brand-card__thumb {
  aspect-ratio: 1;
  background: var(--bg-card);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.brand-card__thumb:hover {
  transform: scale(1.03);
  border-color: var(--accent);
}

.brand-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-card__thumb--logo {
  background: rgba(255, 255, 255, 0.02);
}

.brand-card__thumb--logo img {
  object-fit: contain;
  padding: 14px;
}

/* PDF Preview Thumbnail */
.brand-card__thumb--pdf {
  border: 1px solid rgba(255, 107, 53, 0.35);
}

.brand-card__thumb--pdf:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.25);
}

.thumb-doc-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 107, 53, 0.4);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 3;
  pointer-events: none;
}

.thumb-label {
  position: absolute;
  bottom: 6px;
  left: 6px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(0, 0, 0, 0.75);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
  z-index: 2;
  pointer-events: none;
}

/* ==========================================================================
   Images Grid — 4:5 for Posts, 16:9 for Banners
   ========================================================================== */
.brand-card__images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 540px) {
  .brand-card__images {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Post Frames (4:5 Aspect Ratio) */
.brand-card__images img,
.frame--4-5 {
  width: 100%;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  background: var(--bg-card);
  display: block;
}

.brand-card__images img:hover,
.frame--4-5:hover {
  transform: scale(1.04);
  border-color: var(--accent);
}

/* Banner Frames (16:9 Aspect Ratio) */
.frame--16-9,
.brand-card__thumb.frame--16-9 {
  aspect-ratio: 16 / 9 !important;
  object-fit: cover;
}

.brand-card__images img.frame--16-9 {
  aspect-ratio: 16 / 9 !important;
  grid-column: 1 / -1;
  object-fit: cover;
}

/* Custom Aspect Ratio Helpers */
.frame--4-3,
.brand-card__thumb.frame--4-3 {
  aspect-ratio: 4 / 3 !important;
}

.frame--3-2,
.brand-card__thumb.frame--3-2 {
  aspect-ratio: 3 / 2 !important;
}

.frame--1-9,
.brand-card__thumb.frame--1-9 {
  aspect-ratio: 1 / 9 !important;
}

.frame--5-2,
.brand-card__thumb.frame--5-2 {
  aspect-ratio: 5 / 2 !important;
}

.brand-card__images img.frame--5-2 {
  aspect-ratio: 5 / 2 !important;
  grid-column: 1 / -1;
  object-fit: cover;
}

.frame--a4,
.brand-card__thumb.frame--a4 {
  aspect-ratio: 1 / 1.414 !important;
  /* A4 vertical proportion */
}

/* Fill utility to ensure no blank letterboxing */
.img-fill,
.brand-card__thumb.img-fill img,
.brand-card__thumb--logo.img-fill img {
  object-fit: cover !important;
  padding: 0 !important;
}


/* ==========================================================================
   Videos Grid — 9:16 for Reels, 16:9 for Ads, 1:1 for Square
   ========================================================================== */
.brand-card__videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  align-items: start;
}

/* Thumbs (e.g. Trivon profile) and extra posts placed under the reels span the full column */
.brand-card__videos>.brand-card__thumb,
.brand-card__videos>.brand-card__images {
  grid-column: 1 / -1;
}

.brand-card__images--grid2 {
  grid-template-columns: repeat(2, 1fr) !important;
}

/* Reel Row with Side-by-Side Posts (e.g. Dastan) */
.brand-card__reel-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
}

.brand-card__reel-row .brand-card__video--reel {
  grid-column: 1;
  width: 100%;
  max-width: 100%;
}

.brand-card__images.brand-card__reel-posts {
  grid-column: 2 / span 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px;
}

.brand-card__images--grid4 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px;
}

@media (max-width: 600px) {
  .brand-card__reel-row {
    grid-template-columns: 1fr;
  }

  .brand-card__reel-row .brand-card__video--reel {
    grid-column: 1;
    max-width: 240px;
    margin: 0 auto;
  }

  .brand-card__images.brand-card__reel-posts {
    grid-column: 1;
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .brand-card__images--grid4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.brand-card__videos--single-reel {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.brand-card__videos--single-reel .brand-card__video--reel {
  width: 100%;
  max-width: 240px;
}

/* Fort Cafe — Two-column video grid */
.brand-card__videos--fort {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px;
}

/* Expand-to-fullscreen button injected on every video */
.video-expand {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.brand-card__video:hover .video-expand,
.ai-reels__item:hover .video-expand,
.video-expand:focus-visible {
  opacity: 1;
}

.video-expand:hover {
  background: var(--accent);
  color: #000;
}

@media (hover: none) {
  .video-expand {
    opacity: 1;
  }
}

.brand-card__video {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
  position: relative;
}

.brand-card__video:hover {
  border-color: var(--border-hover);
}

/* Reels: 9:16 Aspect Ratio */
.brand-card__video--reel,
.frame--9-16 {
  aspect-ratio: 9 / 16 !important;
  max-width: 240px;
  width: 100%;
}

.brand-card__video--reel video,
.frame--9-16 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* Video Ads: 16:9 Aspect Ratio */
.brand-card__video--ad,
.brand-card__video--cinematic,
.frame--16-9-video {
  aspect-ratio: 16 / 9 !important;
  grid-column: 1 / -1;
}

.brand-card__video--ad video,
.brand-card__video--cinematic video,
.frame--16-9-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* Square Videos: 1:1 Aspect Ratio */
.brand-card__video--square,
.frame--1-1 {
  aspect-ratio: 1 / 1 !important;
}

.brand-card__video--square video,
.frame--1-1 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.video-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  pointer-events: none;
}

/* ==========================================================================
   Summary Section (03 — Work Summary)
   ========================================================================== */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

@media (max-width: 1200px) {
  .summary-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .summary-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.summary-item {
  position: relative;
  aspect-ratio: 4 / 5 !important;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.summary-item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

.summary-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.summary-item:hover img {
  transform: scale(1.08);
}

.summary-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.summary-item:hover .summary-item__overlay {
  opacity: 1;
}

.summary-item__brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--summary-label-color);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.summary-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Branding
   ========================================================================== */
.branding__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.branding__item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.branding__item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.branding__logo {
  aspect-ratio: 3/2;
  background: linear-gradient(135deg, var(--bg-card), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
}

.branding__placeholder-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  opacity: 0.9;
}

.branding__info {
  padding: 20px;
}

.branding__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.branding__scope {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}

.about__bio p {
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.about__bio p:first-child {
  color: var(--text);
}

.about__intro {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 24px;
}

.about__intro strong {
  color: var(--accent);
  font-weight: 600;
}

.about__available {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text);
}

.about__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

.about__skills {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.skills-group__title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 500;
}

.skills-group__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Timeline */
.about__experience {
  margin-bottom: 80px;
}

.about__exp-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text);
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--border);
}

.timeline__item {
  position: relative;
  margin-bottom: 40px;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -37px;
  /* 32px padding + 5px radius to align center on 1px line */
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
}

.timeline__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline__role {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.timeline__date {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}

.timeline__company {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.timeline__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 8px;
}

/* Clients */
.about__clients {
  text-align: center;
}

.about__clients-title {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  display: block;
}

.clients-marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.clients-marquee__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee-scroll var(--marquee-logo-speed) linear infinite;
}

.client-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0 16px;
}

.client-sep {
  color: var(--accent);
  padding: 0 8px;
  font-size: 0.6rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--section-space) 0 calc(var(--section-space) + 40px);
}

.text-center {
  text-align: center;
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
  align-items: start;
  max-width: 1080px;
  margin: 30px auto 0;
  text-align: left;
}

@media (max-width: 860px) {
  .contact__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.contact__direct {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__direct-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.contact__direct-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact__direct-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.direct-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: all 0.3s ease;
}

.direct-btn:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.06);
}

.direct-btn__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.direct-btn--whatsapp .direct-btn__icon {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.direct-btn--whatsapp:hover {
  border-color: #25D366;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.25);
}

.direct-btn--email .direct-btn__icon {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.direct-btn--email:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.direct-btn__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.direct-btn__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  font-weight: 600;
}

.direct-btn__val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.contact__socials-wrap {
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.contact__socials-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-weight: 500;
  display: block;
  margin-bottom: 14px;
}

.contact__socials {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 0;
}

/* Contact Form Card */
.contact__form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 30px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  font-weight: 600;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.contact__submit-btn {
  width: 100%;
  padding: 13px;
  font-size: 0.95rem;
  margin-top: 4px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact__submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

.form-status {
  font-size: 0.85rem;
  line-height: 1.5;
  min-height: 20px;
  margin-top: 6px;
  text-align: center;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.form-status.loading {
  color: var(--text-secondary);
}

.form-status.success {
  color: var(--accent);
}

.form-status.error {
  color: #ff4d4d;
}

.contact__social {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.contact__social-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact__social:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact__social:hover .contact__social-img {
  opacity: 1;
  transform: scale(1.08);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer__top {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__top:hover {
  color: var(--accent);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float {
  0% {
    transform: translateY(0px) translateX(0px);
  }

  50% {
    transform: translateY(-20px) translateX(10px);
  }

  100% {
    transform: translateY(0px) translateX(0px);
  }
}

@keyframes marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes scroll-bounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  80% {
    transform: translateY(40px);
    opacity: 0;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .work__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branding__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-space-mobile) 0;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .work__grid {
    grid-template-columns: 1fr;
  }

  .work__item--wide {
    grid-column: span 1;
  }

  .branding__grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    padding: 24px;
  }

  .brand-card__showcase {
    grid-template-columns: 1fr;
  }

  .timeline__header {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   Logo Strip (Auto-scrolling client logos)
   ========================================================================== */
.logo-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
}

.logo-strip__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 500;
}

.logo-strip__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: logo-scroll var(--marquee-logo-speed) linear infinite;
  will-change: transform;
}

.logo-strip__track:hover {
  animation-play-state: paused;
}

.logo-strip__slide {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-strip__item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0 20px;
  transition: color 0.3s;
  white-space: nowrap;
}

.logo-strip__item:hover {
  color: var(--text);
}

.logo-strip__item.highlight {
  color: var(--accent);
  opacity: 0.7;
}

.logo-strip__item.highlight:hover {
  opacity: 1;
}

.logo-strip__dot {
  color: var(--accent);
  font-size: 0.5rem;
  padding: 0 4px;
  opacity: 0.5;
}

@keyframes logo-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ==========================================================================
   Work Item Location Tag
   ========================================================================== */
.work__item-location {
  display: inline-block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Responsive — Logo Strip
   ========================================================================== */
@media (max-width: 768px) {
  .logo-strip__item {
    font-size: 1rem;
    padding: 0 14px;
  }

  .logo-strip {
    padding: 32px 0;
  }
}

/* ==========================================================================
   Real Images in Work Cards
   ========================================================================== */
.work__item-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work__item:hover .work__item-img img {
  transform: scale(1.05);
}

/* ==========================================================================
   Logo Strip — Image Logos (Transparent PNGs)
   ========================================================================== */
.logo-strip__logo {
  height: 52px;
  max-width: 170px;
  width: auto;
  object-fit: contain;
  padding: 0 16px;
  margin: 0 10px;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
  flex-shrink: 0;
  display: inline-block;
}

.logo-strip__logo:hover {
  transform: scale(1.12);
  opacity: 1;
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

@media (max-width: 768px) {
  .logo-strip__logo {
    height: 38px;
    max-width: 120px;
    padding: 0 10px;
    margin: 0 6px;
  }
}


/* ==========================================================================
   AI Reels Section
   ========================================================================== */
.ai-reels__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ai-reels__item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

.ai-reels__item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.ai-reels__item video {
  width: 100%;
  display: block;
  background: #000;
}

.ai-reels__item.frame--9-16 video {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.ai-reels__item.frame--1-1 video {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.ai-reels__label {
  padding: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-top: auto;
}

@media (max-width: 1024px) {
  .ai-reels__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ai-reels__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .ai-reels__label {
    padding: 12px;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   External link style in nav
   ========================================================================== */
.nav__link--external {
  opacity: 0.8;
}

.nav__link--external:hover {
  opacity: 1;
}

/* ==========================================================================
   Image Lightbox Popup & Carousel
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 0;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox__track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 60px 75px;
  will-change: transform;
  pointer-events: none;
}

.lightbox__slide--current {
  pointer-events: auto;
}

.lightbox__slide .lightbox__img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid var(--border);
  display: block;
}

.lightbox__slide .lightbox__video {
  display: none;
  background: #000;
}

.lightbox__slide.is-video .lightbox__video {
  display: block;
}

.lightbox__slide.is-video .lightbox__img:not(.lightbox__video) {
  display: none;
}

.lightbox__caption {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 700px);
  color: var(--text-secondary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  text-align: center;
  letter-spacing: 0.04em;
  z-index: 10;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.lightbox__hint {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.78rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}

.lightbox__close:hover {
  background: var(--accent);
  color: #000;
  transform: rotate(90deg);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox__nav:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.lightbox__nav--prev {
  left: 28px;
}

.lightbox__nav--next {
  right: 28px;
}

@media (max-width: 768px) {
  .lightbox {
    padding: 0;
  }

  .lightbox__slide {
    padding: 24px 12px 64px;
  }

  .lightbox__slide .lightbox__img {
    max-width: 96vw;
    max-height: 74vh;
    border-radius: 10px;
  }

  .lightbox__caption {
    bottom: 16px;
    font-size: 0.82rem;
  }

  .lightbox__nav--prev {
    left: 8px;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    opacity: 0.7;
  }

  .lightbox__nav--next {
    right: 8px;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    opacity: 0.7;
  }

  .lightbox__close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   HERO v2 — Split layout with portrait
   --------------------------------------------------------------------------
   Everything here only applies when the hero has the class "hero--split".
   To go back to the old centered hero: remove "hero--split" in index.html
   (or delete this whole block). Photo file: assets/hero/portrait.png
   ========================================================================== */

/* Hidden unless split mode is on */
.hero__portrait,
.hero__fade,
.hero__dots {
  display: none;
}

.hero--split {
  /* ===== EASY-EDIT SETTINGS ===== */
  --hero-split-title-size: clamp(1.85rem, 2.75vw, 3.15rem);
  --hero-portrait-height: min(84vh, 780px);
  /* desktop photo height */
  --hero-portrait-height-mobile: clamp(300px, 48vh, 460px);
  --hero-portrait-glow: rgba(0, 255, 136, 0.42);

  min-height: 100vh;
  min-height: 100svh;
  padding: 72px 0 0;
  text-align: left;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
}

.hero--split .hero__dots {
  display: block;
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 45%, #000 20%, transparent 75%);
}

.hero--split .hero__glow--1 {
  top: 5%;
  right: 8%;
  width: 640px;
  height: 640px;
  opacity: 0.55;
}

.hero--split .hero__inner {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 clamp(24px, 3.5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: clamp(24px, 3.5vw, 60px);
  align-items: center;
}

.hero--split .hero__content {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  z-index: 5;
  max-width: 640px;
  min-width: 0;
  padding: 40px 0 72px;
}

.hero--split .hero__title {
  font-size: var(--hero-split-title-size);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero--split .hero__line {
  max-width: 100%;
}

.hero--split .hero__line>span {
  display: block;
  white-space: normal;
}

.hero--split .hero__subtitle {
  margin: 20px 0 0;
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero--split .hero__ctas {
  justify-content: flex-start;
}

.hero--split .hero__stats {
  justify-content: flex-start;
  gap: 52px;
  max-width: 560px;
  padding-bottom: 0;
}

.hero--split .hero__stat {
  text-align: left;
}

/* ---------- Portrait ---------- */
.hero--split .hero__portrait {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 1;
  height: var(--hero-portrait-height);
  max-width: 100%;
  pointer-events: none;
  will-change: transform;
}

.hero--split .hero__portrait-glow {
  position: absolute;
  right: 5%;
  left: auto;
  top: 36%;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  transform: translate(5%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--hero-portrait-glow) 0%, rgba(0, 255, 136, 0.12) 38%, transparent 68%);
  filter: blur(25px);
  animation: heroGlowBreath 6s ease-in-out infinite alternate;
}

@keyframes heroGlowBreath {
  from {
    opacity: 0.75;
    transform: translate(5%, -50%) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translate(5%, -50%) scale(1.05);
  }
}

.hero--split .hero__portrait-img {
  position: relative;
  z-index: 1;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom right;
  /* Soft fade at the bottom + left/right sides so the photo never ends in a hard edge */
  -webkit-mask-image:
    linear-gradient(to bottom, #000 65%, transparent 98%),
    linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, #000 65%, transparent 98%),
    linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

/* Fallback shown only until you add assets/hero/portrait.png */
.hero__portrait-monogram {
  display: none;
}

.hero__portrait.is-empty .hero__portrait-img {
  display: none;
}

.hero__portrait.is-empty .hero__portrait-monogram {
  display: flex;
  position: absolute;
  inset: 0 0 32% 0;
  align-items: center;
  justify-content: center;
  z-index: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(6rem, 14vw, 13rem);
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 255, 136, 0.55);
}

/* Bottom blend into the next section */
.hero--split .hero__fade {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg) 92%);
}

/* Intermediate laptop scaling (993px - 1200px) */
@media (min-width: 993px) and (max-width: 1200px) {
  .hero--split {
    --hero-split-title-size: clamp(1.7rem, 2.4vw, 2.4rem);
    --hero-portrait-height: min(76vh, 660px);
  }

  .hero--split .hero__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    gap: 28px;
    padding: 0 28px;
  }
}

/* ---------- Tablet & mobile: stack photo above text ---------- */
@media (max-width: 992px) {
  .hero--split {
    /* ==========================================================================
       📱 MOBILE HERO ADJUSTMENT CONTROLS (Tweak these numbers directly!)
       ========================================================================== */
    --hero-mobile-photo-height: 360px;
    /* Photo height on mobile */

    --hero-mobile-badge-gap: 16px;
    /* Spacing ABOVE Title (below the badge pill) */
    --hero-mobile-title-size: clamp(1.6rem, 6vw, 2.1rem);
    /* Title font size */

    --hero-mobile-subtitle-gap: 15px;
    /* Spacing BETWEEN Title & Subtitle */
    --hero-mobile-subtitle-size: 0.95rem;
    /* Subtitle font size */

    --hero-mobile-btn-top: 26px;
    /* Spacing BELOW Subtitle (above the buttons) */
    --hero-mobile-stats-gap: 55px;
    /* Spacing between buttons & stats numbers */
    /* ========================================================================== */

    --hero-portrait-height-mobile: var(--hero-mobile-photo-height);
    --hero-split-title-size: var(--hero-mobile-title-size);
    text-align: center;
    padding-top: 60px;
  }

  .hero--split .hero__inner {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 0;
    align-content: start;
  }

  .hero--split .hero__portrait {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    justify-content: center;
    height: var(--hero-mobile-photo-height);
    margin-top: 0;
  }

  .hero--split .hero__portrait-img {
    max-width: 100%;
    object-position: bottom center;
    /* Softly feather bottom + left/right sides so hard image borders or canvas cutoffs can never show */
    -webkit-mask-image:
      linear-gradient(to bottom, #000 60%, transparent 98%),
      linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image:
      linear-gradient(to bottom, #000 60%, transparent 98%),
      linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  /* Center the background ambient glow on mobile so it doesn't get sliced by the screen edge */
  .hero--split .hero__glow--1 {
    top: -20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(85vw, 320px);
    height: 320px;
    opacity: 0.45;
  }

  /* Center dot grid on mobile and fade it gently before the screen edges */
  .hero--split .hero__dots {
    -webkit-mask-image: radial-gradient(ellipse 65% 50% at 50% 30%, #000 15%, transparent 72%);
    mask-image: radial-gradient(ellipse 65% 50% at 50% 30%, #000 15%, transparent 72%);
  }

  .hero--split .hero__portrait-glow {
    left: 50%;
    right: auto;
    top: 42%;
    transform: translate(-50%, -50%);
    width: min(80vw, 300px);
    background: radial-gradient(circle, var(--hero-portrait-glow) 0%, rgba(0, 255, 136, 0.1) 35%, transparent 68%);
  }

  .hero--split .hero__content {
    grid-column: 1;
    grid-row: 2;
    margin-top: -38px;
    /* text gently overlaps the faded bottom of the photo */
    padding: 0 0 40px;
    max-width: none;
  }

  .hero--split .hero__badge {
    margin-bottom: var(--hero-mobile-badge-gap) !important;
    padding: 7px 16px;
    font-size: 0.72rem;
  }

  .hero--split .hero__title {
    font-size: var(--hero-mobile-title-size);
  }

  .hero--split .hero__subtitle {
    margin: var(--hero-mobile-subtitle-gap) auto 0;
    font-size: var(--hero-mobile-subtitle-size);
    line-height: 1.5;
    max-width: 540px;
  }

  .hero--split .hero__ctas {
    justify-content: center;
    margin-top: var(--hero-mobile-btn-top);
    margin-left: auto;
    margin-right: auto;
    gap: 12px;
  }

  .hero--split .hero__ctas .btn {
    padding: 12px 22px;
    font-size: 0.92rem;
    font-weight: 600;
  }

  .hero--split .hero__stats {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--hero-mobile-stats-gap);
    padding-top: 28px;
    gap: 36px;
  }

  .hero--split .hero__stat {
    text-align: center;
  }

  .hero--split .hero__dots {
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 50% at 50% 30%, #000 20%, transparent 75%);
  }

  .hero--split .hero__fade {
    height: 120px;
  }

  /* Autoscroll speed overrides for mobile */
  .marquee__track {
    animation-duration: var(--marquee-text-speed-mobile);
  }

  .logo-strip__track,
  .clients-marquee__track {
    animation-duration: var(--marquee-logo-speed-mobile);
  }
}

@media (max-width: 540px) {
  .hero--split {
    --hero-portrait-height-mobile: var(--hero-mobile-photo-height);
    --hero-split-title-size: var(--hero-mobile-title-size);
    padding-top: 58px;
  }

  .hero--split .hero__inner {
    padding: 0 20px;
  }

  .hero--split .hero__content {
    margin-top: -36px;
    padding: 0 0 36px;
  }

  .hero--split .hero__badge {
    margin-bottom: var(--hero-mobile-badge-gap) !important;
    padding: 6px 14px;
    font-size: 0.68rem;
    gap: 8px;
  }

  .hero--split .hero__title {
    font-size: var(--hero-mobile-title-size);
  }

  .hero--split .hero__subtitle {
    font-size: var(--hero-mobile-subtitle-size);
    line-height: 1.48;
    margin: var(--hero-mobile-subtitle-gap) auto 0;
  }

  .hero--split .hero__ctas {
    gap: 12px;
    margin-top: var(--hero-mobile-btn-top);
  }

  .hero--split .hero__ctas .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .hero--split .hero__stats {
    gap: 20px;
    justify-content: space-between;
    margin-top: var(--hero-mobile-stats-gap);
    padding-top: 24px;
  }

  .hero--split .hero__stat-num {
    font-size: 2rem;
  }

  .hero--split .hero__stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__portrait-glow {
    animation: none;
  }
}

/* Responsive Line Break & Visibility Utilities */
.mobile-break,
.mobile-only {
  display: none;
}

.desktop-break,
.desktop-only {
  display: inline;
}

@media (max-width: 768px) {

  .mobile-break,
  .mobile-only {
    display: inline;
  }

  .desktop-break,
  .desktop-only {
    display: none;
  }
}