/*
Theme Name: Five Communications
Theme URI: https://shopaurele.com
Author: Suhaifa
Description: Premium art-directed theme for Five Communications Dubai
Version: 7.9.0
Text Domain: five
*/

/* ========================================
   CUSTOM CURSOR
   ======================================== */
/* Hide default cursor on desktop */
@media (pointer: fine) {
  *, *::before, *::after {
    cursor: none !important;
  }
}

.cursor-dot {
  position: fixed;
  top: -4px;
  left: -4px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, opacity 0.2s ease;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  top: -20px;
  left: -20px;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(0, 51, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  will-change: transform;
  transition: width 0.35s cubic-bezier(0.25, 1, 0.5, 1),
              height 0.35s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              opacity 0.2s ease;
  box-shadow: 0 0 12px rgba(0, 51, 255, 0.35),
              0 0 25px rgba(0, 51, 255, 0.15);
}

/* Hover state — ring expands + glow intensifies */
.cursor-ring.cursor-hover {
  width: 64px;
  height: 64px;
  top: -32px;
  left: -32px;
  border-color: rgba(0, 51, 255, 0.9);
  box-shadow: 0 0 18px rgba(0, 51, 255, 0.5),
              0 0 40px rgba(0, 51, 255, 0.2);
}

.cursor-dot.cursor-hover {
  width: 4px;
  height: 4px;
  top: -2px;
  left: -2px;
  opacity: 0.5;
}

/* Click state — ring shrinks + bright flash */
.cursor-ring.cursor-click {
  width: 32px;
  height: 32px;
  top: -16px;
  left: -16px;
  border-color: rgba(0, 51, 255, 1);
  box-shadow: 0 0 24px rgba(0, 51, 255, 0.7),
              0 0 50px rgba(0, 51, 255, 0.3);
}

/* ── Section-aware cursor theming ── */

/* DARK MODE (hero, dark sections) — blue glow */
.cursor-ring.cursor-dark-mode {
  border-color: rgba(0, 51, 255, 0.6);
  box-shadow: 0 0 12px rgba(0, 51, 255, 0.35),
              0 0 25px rgba(0, 51, 255, 0.15);
}
.cursor-ring.cursor-dark-mode.cursor-hover {
  border-color: rgba(0, 51, 255, 0.9);
  box-shadow: 0 0 18px rgba(0, 51, 255, 0.5),
              0 0 40px rgba(0, 51, 255, 0.2);
}
.cursor-ring.cursor-dark-mode.cursor-click {
  border-color: rgba(0, 51, 255, 1);
  box-shadow: 0 0 24px rgba(0, 51, 255, 0.7),
              0 0 50px rgba(0, 51, 255, 0.3);
}
.cursor-dot.cursor-dark-mode {
  background: #fff;
  mix-blend-mode: difference;
}

/* LIGHT MODE (services, philosophy, light sections) — clean black, no glow */
.cursor-ring.cursor-light-mode {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: none;
}
.cursor-ring.cursor-light-mode.cursor-hover {
  border-color: rgba(0, 0, 0, 0.5);
  box-shadow: none;
}
.cursor-ring.cursor-light-mode.cursor-click {
  border-color: rgba(0, 0, 0, 0.8);
  box-shadow: none;
}
.cursor-dot.cursor-light-mode {
  background: #000;
  mix-blend-mode: normal;
}

/* Hide on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
  *, *::before, *::after { cursor: auto !important; }
}

/* ========================================
   LENIS SMOOTH SCROLL
   ======================================== */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* ========================================
   FONTS - FIVE Brand Typography
   ======================================== */
@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham/Gotham-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham/Gotham-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham/Gotham-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham/Gotham-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham/Gotham-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/gotham/Gotham-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Svetze';
  src: url('fonts/svetze/Svetze.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Svetze';
  src: url('fonts/svetze/Svetze Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Svetze';
  src: url('fonts/svetze/Svetze Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
  /* Primary palette */
  --color-blue: #0033FF;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-silver: #AAAAAA;
  --color-emperor: #545454;

  /* Short aliases (used by page templates) */
  --blue: #0033FF;
  --black: #0a0a0a;
  --white: #f5f5f3;
  --cream: #f5f5f3;
  --dark: #0a0a0a;
  --silver: #AAAAAA;
  --emperor: #545454;
  --blue-glow: rgba(0, 51, 255, 0.15);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout tokens */
  --max-width: 1600px;
  --content-max: 1400px;
  --pad: 50px;

  /* Typography */
  --font-primary: 'Gotham', 'Helvetica Neue', Arial, sans-serif;
  --font-secondary: 'Svetze', 'Helvetica Neue', Arial, sans-serif;
}

@media (max-width: 1024px) { :root { --pad: 30px; } }
@media (max-width: 768px)  { :root { --pad: 20px; } }
@media (max-width: 480px)  { :root { --pad: 16px; } }

/* ========================================
   RESET & BASE
   ======================================== */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  color: var(--color-white);
  background: var(--color-black);
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

.site-main {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--blue);
  color: #fff;
}

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

/* ========================================
   LOADING SCREEN (Keep as is)
   ======================================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-content {
  text-align: center;
  color: var(--color-white);
}

.loading-flash-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  z-index: 10;
}

.loading-flash-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 0 40px rgba(0, 51, 255, 0.8)) drop-shadow(0 0 80px rgba(0, 51, 255, 0.4));
  opacity: 0;
  transition: opacity 0.1s ease-out, transform 0.15s cubic-bezier(0.17, 0.67, 0.35, 1.3);
}

@media (min-width: 768px) {
  .loading-flash-container {
    width: 180px;
    height: 180px;
  }
  
  .loading-flash-icon {
    width: 180px;
    height: 180px;
    filter: drop-shadow(0 0 50px rgba(0, 51, 255, 0.9)) drop-shadow(0 0 100px rgba(0, 51, 255, 0.5));
  }
}

.loading-flash-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 51, 255, 0.5) 0%, rgba(0, 51, 255, 0.2) 40%, transparent 70%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

@media (min-width: 768px) {
  .loading-flash-container::before {
    width: 260px;
    height: 260px;
  }
}

.loading-flash-container.active::before {
  opacity: 1;
}

.loading-logo {
  margin-bottom: 30px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.loading-logo-svg {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
  .loading-logo-svg {
    width: 200px;
  }
}

.loading-counter {
  font-family: 'Svetze', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 2px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

@media (min-width: 768px) {
  .loading-counter {
    font-size: 24px;
  }
}

/* ========================================
   HERO + MANIFESTO — PINNED STAGE (v7)
   One stage gets pinned at 100vh.
   Panel rises from below. Headline transitions.
   ======================================== */

/* Scroll trigger wrapper — 250vh creates the scroll distance */
.intro-wrap {
  position: relative;
  height: 250vh;
}

/* The stage gets pinned — contains video, headline, panel */
.stage {
  position: relative;
  height: 100vh;
  overflow: visible;
  background: var(--color-black, #0a0a0a);
}

/* Video / dark background layer */
.stage-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform-origin: center;
  will-change: transform, opacity, filter;
}

.stage-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.06), rgba(0,0,0,0.14) 45%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

.stage-bg .hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.stage-bg .hero-video.loaded {
  opacity: 0.85;
}

/* ═══ HERO HEADLINE ═══ */
.headline {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  will-change: transform, top, color;
  transform-origin: left top;
}

.headline h1 {
  margin: 0;
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-size: clamp(72px, 8vw, 148px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.94);
}

.headline h1 > span {
  display: block;
  overflow: hidden;
}

.headline-word {
  display: inline-block;
  transform: translateY(115%);
  will-change: transform;
  transition: color 0.25s ease;
}

/* "Five" word styled as brand accent in hero headline */
.headline-word--five {
  color: #0033FF !important;
  font-style: normal;
}

/* ═══ SCROLL INDICATOR (inside stage) ═══ */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  opacity: 0;
}

/* ═══ RISING PANEL (manifesto) ═══ */
.panel {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 100%;
  background: var(--color-grey, #f5f5f3);
  z-index: 10;
  will-change: transform;
  overflow: visible;
}

/* (mascot-bg removed — replaced by interactive mascot in manifesto layout) */

.panel-inner {
  position: relative;
  z-index: 1;
  min-height: 100%;
  padding: 260px 60px 120px;
}

/* ═══ MANIFESTO CONTENT (inside panel) ═══ */
.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(280px, 560px);
  gap: 90px;
  align-items: start;
}

.manifesto-copy {
  max-width: 760px;
  opacity: 0;
  transform: translateY(28px);
}

.copy-rule {
  width: 100px;
  height: 1px;
  background: var(--color-black, #111);
  margin-bottom: 20px;
  transform-origin: left;
}

.copy-text {
  margin: 0;
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #222;
  font-weight: 500;
}

.pullquote-wrap {
  padding-top: 110px;
  display: flex;
  flex-direction: column;
  gap: 42px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(28px);
}

.pullquote {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.pull-bar {
  width: 3px;
  min-height: 160px;
  background: var(--color-blue, #0033FF);
  transform-origin: top;
}

.pull-text {
  margin: 0;
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-size: clamp(36px, 3vw, 60px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #111;
}

.manifesto-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  color: var(--color-black, #111);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: auto;
}

.cta-circle {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--color-black, #111);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.manifesto-cta:hover .cta-circle {
  background: var(--color-blue, #0033FF);
  border-color: var(--color-blue, #0033FF);
  color: #fff;
}

/* ═══ MANIFESTO HERO LAYOUT (about-page style inside panel) ═══ */
.manifesto-hero-layout {
  display: flex;
  align-items: stretch;
  gap: 60px;
}

.manifesto-hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(28px);
}

.manifesto-eyebrow {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-blue, #0033FF);
  margin-bottom: 24px;
}

.manifesto-hero-heading {
  margin: 0 0 40px;
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: clamp(38px, 5vw, 80px);
  line-height: 0.9;
  letter-spacing: -3px;
  text-transform: uppercase;
  color: #111;
}
.mh-line { display: block; overflow: hidden; }
.mh-line span { display: inline-block; }
.mh-thin { font-weight: 100; opacity: 0.35; }
.mh-accent { color: var(--color-blue, #0033FF); }

.manifesto-hero-subtitle {
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.6);
  max-width: 560px;
  margin: 0 0 40px;
}

.manifesto-mascot-wrap {
  flex: 0 0 auto;
  opacity: 0;
  transform: translateY(28px);
}

/* ── Interactive mascot in manifesto panel ── */
.m-mascot {
  width: min(40vw, 520px);
  height: min(40vw, 520px);
  position: relative;
  cursor: pointer;
  overflow: visible;
  margin-top: -40px;
}
.m-mascot-stage {
  position: absolute;
  left: 0; right: 0;
  top: -10%;
  height: 120%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  perspective-origin: 50% 45%;
  overflow: visible;
}
.m-face-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  overflow: visible;
}
.m-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  overflow: visible;
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
}
#m-layer-nose      { transform: translateZ(-10px); }
#m-layer-hand      { transform: translateZ(10px); }
#m-layer-mouth     { transform: translateZ(20px); }
#m-layer-ear       { transform: translateZ(25px); }
#m-layer-eye-left  { transform: translateZ(30px); }
#m-layer-eye-right { transform: translateZ(30px); }

.m-layer svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.m-layer svg path,
.m-layer svg rect,
.m-layer svg circle {
  fill: #0a0a0a;
  transition: fill 0.3s;
}
.m-layer-mask {
  fill: #f5f5f3;
  transition: opacity 0.3s ease;
}
.m-mascot.is-split .m-layer-mask { opacity: 0; }

.m-sense-label {
  position: absolute;
  font-size: clamp(0.45rem, 0.6vw, 0.6rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-blue, #0033FF);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.4s ease 0.15s;
  z-index: 20;
}
.m-mascot.is-split .m-sense-label { opacity: 1; }

.m-mascot-hint {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.25);
  white-space: nowrap;
  transition: opacity 0.4s ease;
}
.m-mascot:hover .m-mascot-hint { opacity: 0; }
.hint-mobile { display: none; }
@media (max-width: 768px) {
  .hint-desktop { display: none; }
  .hint-mobile { display: inline; }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .headline { left: 30px; }
  .panel-inner { padding: 240px 30px 100px; }
  .manifesto-hero-layout { gap: 40px; }
  .m-mascot { width: min(38vw, 420px); height: min(38vw, 420px); }
}

@media (max-width: 768px) {
  .intro-wrap { height: 220vh; }
  .headline { left: 20px; }
  .headline h1 { font-size: clamp(44px, 12vw, 74px); }
  .panel-inner { padding: 180px 20px 60px; }
  .manifesto-hero-layout { flex-direction: column; gap: 20px; }
  .manifesto-hero-heading { font-size: clamp(34px, 10vw, 52px); letter-spacing: -1px; }
  .manifesto-hero-text { gap: 12px; }
  .manifesto-hero-subtitle { font-size: 14px; line-height: 1.6; }
  .m-mascot { width: min(60vw, 320px); height: min(60vw, 320px); margin-top: 0; }
  .manifesto-mascot-wrap { align-self: center; }
}

/* Premium Gradient Overlay: Left dark → Right transparent */
.video-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.2) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Subtle Vignette */
.video-overlay-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    transparent 30%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Navigation — fixed, Sweetpunk-style show/hide */
.hero-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: transparent;
  padding: 30px 0;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.35s ease,
              padding 0.35s ease;
  pointer-events: none;
  transform: translateY(0);
}
.hero-nav > *, .hero-nav .hero-nav-inner, .hero-nav .hero-nav-inner > * { pointer-events: auto; }

/* Hidden state — slides up out of view */
.hero-nav.nav-hidden {
  transform: translateY(-100%);
}

/* Scrolled state — compact with backdrop */
.hero-nav.nav-scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px 0;
}

/* Dark mode — light background sections */
.hero-nav.nav-dark.nav-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.hero-nav.nav-dark .hero-nav-link {
  color: #111;
}
.hero-nav.nav-dark .hero-nav-logo-img {
  filter: invert(1);
}
.hero-nav.nav-dark .dropdown-link {
  color: #333;
}

.hero-nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Navigation Logo - STRICT SCOPING - Only affects nav logo */
/* ========================================
   NAVIGATION LOGO - STRICT SCOPED STYLES
   ======================================== */

/* Logo Link Container */
.hero-nav-logo-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.hero-nav-logo-link:hover {
  opacity: 0.8;
}

/* Logo Wrapper - BIGGER for Awwwards presence */
.hero-nav-logo-wrapper {
  display: block;
  width: 320px;
  max-width: 320px;
  height: 52px;
  max-height: 52px;
  overflow: hidden;
  position: relative;
}

/* Logo Image - SCALES WITHIN WRAPPER ONLY */
.hero-nav-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: lighten; /* Makes SVG's black background transparent on dark bg */
}

/* On light sections, nav-dark inverts logo — switch blend mode */
.hero-nav.nav-dark .hero-nav-logo-img {
  mix-blend-mode: darken; /* Makes white background transparent on light bg */
}

/* Tablet Adjustment */
@media (max-width: 1024px) {
  .hero-nav-logo-wrapper {
    width: 120px;
    max-width: 120px;
    height: 54px;
    max-height: 54px;
  }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .hero-nav-logo-wrapper {
    width: 80px;
    max-width: 80px;
    height: 36px;
    max-height: 36px;
  }
}

.logo-five {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--color-white);
  line-height: 1;
}

.logo-communications {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--color-white);
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.hero-nav-link {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.hero-nav-link:hover {
  color: var(--color-blue);
}

.hero-nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-blue);
  transition: width 0.3s ease;
}

.hero-nav-link:hover::after {
  width: 100%;
}

/* ========================================
   NAVBAR DROPDOWN MENUS
   ======================================== */

/* Navigation Items */
.nav-item {
  position: relative;
  list-style: none;
}

/* Dropdown Container */
.has-dropdown {
  position: relative;
}

/* Hide Dropdown by Default */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  min-width: 180px;
  padding: 12px 0;
  margin-top: 12px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Show Dropdown on Hover */
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Links */
.dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-link {
  display: block;
  padding: 10px 20px;
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-link:hover {
  color: var(--color-blue);
  background: rgba(0, 51, 255, 0.08);
}

/* Dropdown Arrow Indicator */
.has-dropdown > .hero-nav-link::after {
  content: '▾';
  margin-left: 6px;
  font-size: 10px;
  opacity: 0.6;
  transition: transform 0.3s ease;
  bottom: auto;
  width: auto;
  height: auto;
  background: none;
  position: relative;
}

.has-dropdown:hover > .hero-nav-link::after {
  transform: rotate(180deg);
}

/* ======================================== */

/* Hero Title Block — Positioned at bottom of hero, overlays fixed video */
.hero-title-block {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
}

.hero-title-inner {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  right: 0;
  padding: 0 50px;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .hero-title-inner {
    padding: 0 30px;
    bottom: 60px;
  }
}

/* Word-by-word animation masks */
.title-animation-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-right: 0.15em;
}

.title-word {
  display: inline-block;
  will-change: transform;
  backface-visibility: hidden;
  /* No visibility:hidden — GSAP sets yPercent:110 and the
     overflow:hidden mask on .title-animation-word-mask clips it.
     If GSAP fails to load, text is still visible (graceful fallback). */
}

/* Eyebrow Label */
.hero-eyebrow {
  margin-bottom: 25px;
}

.eyebrow-text {
  font-family: 'Svetze', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 51, 255, 0.4);
}

/* Premium Headline — Large, Sweetpunk-style */
.hero-headline {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 52px;
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0 0 35px 0;
}

@media (min-width: 1200px) {
  .hero-headline {
    font-size: 72px;
    letter-spacing: -2px;
  }
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 40px;
    letter-spacing: -0.8px;
  }
}

/* Services Block */
.hero-services-block {
  margin-bottom: 50px;
}

.services-accent {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-blue), rgba(0, 51, 255, 0.2));
  margin-bottom: 20px;
}

.services-list {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 460px; /* Widened to match column */
}

/* Luxury Minimal CTA */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  text-decoration: none;
  padding: 0;
  border: none;
  background: none;
  position: relative;
  transition: all 0.4s ease;
}

.cta-text {
  position: relative;
  padding-bottom: 3px;
}

.cta-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-white);
  transition: width 0.4s ease;
}

.hero-cta:hover .cta-text::after {
  width: 100%;
}

.cta-arrow {
  font-size: 16px;
  transition: transform 0.4s ease;
}

.hero-cta:hover .cta-arrow {
  transform: translateX(5px);
}

.hero-cta:hover {
  color: var(--color-blue);
}

/* ── Sound Toggle Button (Sweetpunk-style) ── */
.hero-sound-toggle {
  position: absolute;
  bottom: 40px;
  right: 50px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.4s ease;
  pointer-events: auto;
  opacity: 0;
}

.hero-sound-toggle:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* Animated sound bars */
.sound-icon-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.sound-bar {
  display: block;
  width: 2px;
  background: var(--color-white);
  border-radius: 1px;
  transition: height 0.3s ease;
}

/* Muted state — bars are flat/short */
.hero-sound-toggle.is-muted .sound-bar {
  height: 3px;
}

/* Playing state — bars animate like an equalizer */
.hero-sound-toggle.is-playing .sound-bar:nth-child(1) {
  animation: soundBar1 0.8s ease-in-out infinite alternate;
}
.hero-sound-toggle.is-playing .sound-bar:nth-child(2) {
  animation: soundBar2 0.6s ease-in-out infinite alternate;
}
.hero-sound-toggle.is-playing .sound-bar:nth-child(3) {
  animation: soundBar3 0.7s ease-in-out infinite alternate;
}

@keyframes soundBar1 {
  0% { height: 4px; }
  100% { height: 14px; }
}
@keyframes soundBar2 {
  0% { height: 8px; }
  100% { height: 5px; }
}
@keyframes soundBar3 {
  0% { height: 3px; }
  100% { height: 11px; }
}

/* Labels — toggle visibility based on state */
.sound-label-muted,
.sound-label-unmuted {
  font-family: 'Svetze', Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  transition: opacity 0.3s ease;
}

.hero-sound-toggle.is-muted .sound-label-muted {
  display: inline;
}
.hero-sound-toggle.is-muted .sound-label-unmuted {
  display: none;
}
.hero-sound-toggle.is-playing .sound-label-muted {
  display: none;
}
.hero-sound-toggle.is-playing .sound-label-unmuted {
  display: inline;
}

/* Mobile: smaller, icon-only */
@media (max-width: 768px) {
  .hero-sound-toggle {
    bottom: 20px;
    right: 20px;
    padding: 8px 14px;
    gap: 6px;
  }
  .sound-label-muted,
  .sound-label-unmuted {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
}

/* Right: Five Senses Brand Device - Refined (removed from hero, kept for reference) */
.hero-senses-card {
  display: none;
}

.senses-card-inner {
  padding: 35px 32px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: all 0.5s ease;
}

.senses-card-inner:hover {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(0, 51, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 51, 255, 0.15);
  transform: translateY(-4px);
}

.senses-mascot {
  margin-bottom: 24px;
}

.mascot-icon {
  width: 140px;
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.5s ease;
}

.senses-card-inner:hover .mascot-icon {
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(0, 51, 255, 0.4));
}

.senses-tagline {
  font-family: 'Svetze', Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  transition: color 0.5s ease;
}

.senses-card-inner:hover .senses-tagline {
  color: rgba(255, 255, 255, 0.95);
}

/* Scroll Indicator — positioned in first viewport */
.scroll-indicator {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 100;
}

.scroll-text {
  font-family: 'Svetze', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.scroll-arrow-wrapper {
  animation: heroArrowBounce 2s infinite;
}

.scroll-arrow {
  font-size: 20px;
  color: rgba(0, 51, 255, 0.8);
  display: block;
}

@keyframes heroArrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ========================================
   FIVE SENSES SECTION (Keep as is)
   ======================================== */
.five-senses-section {
  background: var(--cream);
  padding: 120px 0;
}

.senses-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

.senses-header {
  margin-bottom: 80px;
}

.senses-title {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -2px;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 30px;
}

.title-animation-line {
  display: block;
}

.title-animation-word {
  display: inline-block;
  margin-right: 0.3em;
}

.senses-accent-line {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-blue), rgba(0, 51, 255, 0.3));
}

.senses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.sense-card {
  padding: 40px 30px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.sense-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 51, 255, 0.4);
  box-shadow: 0 8px 40px rgba(0, 51, 255, 0.15);
}

.sense-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
}

.sense-icon img {
  width: 100%;
  height: 100%;
}

.sense-card:hover .sense-icon img {
  filter: drop-shadow(0 0 15px rgba(0, 51, 255, 0.6));
}

.sense-name {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--color-black);
  display: flex;
  align-items: center;
  gap: 5px;
}

.sense-bracket-left,
.sense-bracket-right {
  font-family: 'Svetze', Arial, Helvetica, sans-serif;
  font-size: 24px;
  opacity: 0.5;
  transition: all 0.4s ease;
}

.sense-card:hover .sense-bracket-left {
  opacity: 1;
  transform: translateX(-5px);
  color: var(--color-blue);
}

.sense-card:hover .sense-bracket-right {
  opacity: 1;
  transform: translateX(5px);
  color: var(--color-blue);
}

.sense-card:hover .sense-name-text {
  color: var(--color-blue);
}

.sense-description {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-emperor);
  margin: 0;
}

.sense-card:hover .sense-description {
  color: var(--color-black);
}

/* ========================================
   HIDE DEFAULT HEADER
   ======================================== */
.page-template-template-homepage .site-header,
.page-template-template-about .site-header {
  display: none;
}

/* ========================================
   HAMBURGER BUTTON (hidden on desktop)
   ======================================== */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10001;
  position: relative;
}

.burger-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background 0.3s ease;
}

.burger-line + .burger-line {
  margin-top: 7px;
}

/* X state */
.nav-burger.is-open .burger-line:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.nav-burger.is-open .burger-line:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* Dark nav mode burger */
.hero-nav.nav-dark .burger-line {
  background: #111;
}

/* ─── Fullscreen Mobile Overlay ─── */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998; /* Below nav (9999) so burger stays clickable */
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 100px 40px 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

/* Main nav group (has heading + sub-links) */
.mobile-nav-group {
  opacity: 0;
  transform: translateY(20px);
}

.mobile-nav-overlay.is-open .mobile-nav-group {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.is-open .mobile-nav-group:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.is-open .mobile-nav-group:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-overlay.is-open .mobile-nav-group:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-overlay.is-open .mobile-nav-group:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-overlay.is-open .mobile-nav-group:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav-link {
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.15;
  display: block;
  transition: color 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-nav-overlay.is-open .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.mobile-nav-overlay.is-open .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.is-open .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-overlay.is-open .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-overlay.is-open .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-overlay.is-open .mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav-link:active {
  color: var(--color-blue);
}
.mobile-nav-link.is-active {
  color: var(--color-blue, #0034ff);
}

/* Sub-links under each group heading */
.mobile-nav-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  padding: 6px 0 16px;
}

.mobile-nav-sub a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 4px 0;
}

.mobile-nav-sub a:active {
  color: var(--color-blue);
}

.mobile-nav-footer {
  position: absolute;
  bottom: 50px;
  left: 40px;
  display: flex;
  gap: 24px;
  opacity: 0;
  transform: translateY(10px);
}

.mobile-nav-overlay.is-open .mobile-nav-footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease 0.3s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.mobile-nav-social {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-social:active {
  color: var(--color-blue);
}

/* ========================================
   RESPONSIVE - TABLET (1024px)
   ======================================== */
@media (max-width: 1024px) {
  .hero-nav-menu {
    display: none;
  }

  .nav-burger {
    display: block;
  }

  .hero-content-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 120px 30px 30px;
  }

  .hero-senses-card {
    width: 100%;
    max-width: 320px;
    justify-self: center;
  }

  .hero-headline {
    font-size: 50px;
  }

  .senses-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .senses-title {
    font-size: 40px;
  }
}

/* ─── Hero + Nav — Phone (768px) ─── */
@media (max-width: 768px) {
  .hero-nav { padding: 20px 0; }
  .hero-nav.nav-scrolled { padding: 14px 0; }
  .hero-nav-inner { padding: 0 20px; }
  .hero-nav-logo-img { height: auto; }

  .hero-title-inner { padding: 0 24px; bottom: 50px; }
  .hero-cta { padding: 14px 32px; font-size: 11px; }
  .services-list { font-size: 13px; }
  .hero-services-block { margin-bottom: 35px; }

  .scroll-indicator { bottom: 20px; }
}

/* ========================================
   FIVE SENSES PHILOSOPHY SECTION
   Editorial Transition - White Background
   ======================================== */

.senses-philosophy-section {
  position: relative;
  z-index: 2; /* Slides over fixed video */
  background: #f5f5f3;
  padding: 150px 0 180px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .senses-philosophy-section {
    padding: 100px 0 120px;
  }
}

@media (max-width: 768px) {
  .senses-philosophy-section {
    padding: 80px 0 100px;
  }
}

/* Container */
.philosophy-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  text-align: center;
}

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

/* ========================================
   EYEBROW LABEL WITH LINES
   ======================================== */

.philosophy-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.philosophy-eyebrow.visible {
  animation: fadeInUp 0.8s ease forwards;
}

.eyebrow-line {
  width: 60px;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .eyebrow-line {
    width: 30px;
  }
}

.eyebrow-label {
  font-family: 'Svetze', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #000000;
}

/* ========================================
   EDITORIAL HEADLINE
   ======================================== */

.philosophy-headline {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: #000000;
  margin: 0 0 40px;
}

.philosophy-headline.visible {
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

@media (min-width: 1024px) {
  .philosophy-headline {
    font-size: 68px;
    letter-spacing: -2px;
  }
}

@media (max-width: 768px) {
  .philosophy-headline {
    font-size: 36px;
    letter-spacing: -1px;
    margin-bottom: 30px;
  }
}

/* ========================================
   INTRO PARAGRAPH
   ======================================== */

.philosophy-intro {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.2px;
  color: #545454;
  margin: 0 auto 100px;
  max-width: 750px;
}

.philosophy-intro.visible {
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

@media (max-width: 768px) {
  .philosophy-intro {
    font-size: 16px;
    margin-bottom: 70px;
  }
  
  .desktop-break {
    display: none;
  }
}

/* ========================================
   FIVE SENSES MINIMAL GRID
   ======================================== */

.senses-grid-minimal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .senses-grid-minimal {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .senses-grid-minimal {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* Individual Sense */
.sense-minimal {
  text-align: center;
}

.sense-minimal.visible {
  animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animation delays */
.sense-minimal:nth-child(1) { animation-delay: 0.5s; }
.sense-minimal:nth-child(2) { animation-delay: 0.6s; }
.sense-minimal:nth-child(3) { animation-delay: 0.7s; }
.sense-minimal:nth-child(4) { animation-delay: 0.8s; }
.sense-minimal:nth-child(5) { animation-delay: 0.9s; }

/* Sense Name */
.sense-minimal-name {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #000000;
  margin: 0 0 12px;
  position: relative;
  padding-bottom: 15px;
}

/* Subtle blue underline accent */
.sense-minimal-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: #0033FF;
  opacity: 0.3;
}

@media (max-width: 640px) {
  .sense-minimal-name {
    font-size: 14px;
    padding-bottom: 12px;
  }
}

/* Sense Phrase */
.sense-minimal-phrase {
  font-family: 'Svetze', Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.3px;
  color: #AAAAAA;
  margin: 0;
}

@media (max-width: 640px) {
  .sense-minimal-phrase {
    font-size: 12px;
  }
}

/* ========================================
   FADE IN UP ANIMATION
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ========================================
   CLEAN CINEMATIC TRANSITION
   Minimal, premium, no fog/mist effects
   ======================================== */

/* Remove all fog/mist overlays - CLEAN VERSION */

/* Remove the heavy white gradient transition entirely */
.hero-gradient-transition {
  display: none;
}

/* ========================================
   MANIFESTO SECTION — "Who We Are"
   ======================================== */
.manifesto-section {
  position: relative;
  background: var(--color-grey, #f5f5f3);
  padding: 90px 0 100px;
  overflow: hidden;
  min-height: 100vh;
}

/* ── Index ── */
.m-index-group {
  position: absolute;
  top: 45px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}
.m-index-num { font-size: 11px; font-weight: 300; letter-spacing: 0.2em; color: #aaa; }
.m-index-line { width: 30px; height: 1px; background: #ccc; }
.m-index-text { font-size: 10px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: #aaa; }

/* ── Mascot — Massive, overlapping ── */
.m-mascot-bg {
  position: absolute;
  top: -15%;
  right: -14%;
  width: 78%;
  max-width: 1000px;
  z-index: 2;
  opacity: 0.06;
  pointer-events: none;
  mix-blend-mode: multiply;
  transition: opacity 0.8s ease;
}
.m-mascot-bg svg { width: 100%; height: auto; }

/* Nose blue dot stays visible in body layer */
.m-mascot-bg #mascotNose { opacity: 1; }

/* Eye overlay — subtle glow on pupil */
.m-mascot-eye-layer #mascotPupilOverlay {
  filter: drop-shadow(0 0 6px rgba(0,51,255,0.3));
}

/* Bring the OPEN EYE forward — above headline z-index */
.m-mascot-eye-layer {
  position: absolute;
  top: -15%;
  right: -14%;
  width: 78%;
  max-width: 1000px;
  z-index: 5;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: multiply;
}
.m-mascot-eye-layer svg { width: 100%; height: auto; }

/* Micro */
.m-micro-label {
  position: absolute;
  right: 55px;
  top: 100px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #c0c0c0;
  writing-mode: vertical-rl;
  z-index: 4;
}
.m-micro-line {
  position: absolute;
  right: 60px;
  top: 200px;
  width: 1px;
  height: 60px;
  background: #ddd;
  z-index: 4;
}

/* ── Headline — Experimental stagger ── */
.m-headline-zone {
  position: relative;
  z-index: 3;
  padding: 65px 60px 0;
  max-width: 1400px;
  margin: 0 auto;
}

.manifesto-headline {
  font-size: clamp(52px, 7.8vw, 125px);
  font-weight: 900;
  line-height: 0.85;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  color: #0a0a0a;
}

.m-row { display: block; overflow: hidden; }
.m-row-inner { display: inline-block; transform: translateY(120%); }

/* Aggressive offsets + overlap via negative margin */
.m-row:nth-child(1) { padding-left: 0; margin-bottom: -0.08em; }
.m-row:nth-child(2) { padding-left: 12%; margin-bottom: -0.06em; }
.m-row:nth-child(3) { padding-left: 4%; margin-bottom: -0.05em; }
.m-row:nth-child(4) { padding-left: 22%; }

/* Blue words */
.m-blue {
  color: var(--color-blue, #0033FF);
  font-style: italic;
}

/* "CREATIVE" slightly rotated for tension */
.m-row:nth-child(3) .m-blue {
  display: inline-block;
  transform: rotate(-0.8deg);
  transform-origin: left bottom;
}

/* ── Bottom — Broken alignment ── */
.m-bottom-zone {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.m-divider {
  width: 32%;
  max-width: 400px;
  height: 1px;
  background: #ccc;
  margin: 36px 0 28px;
  margin-left: 4%;
}

.m-body-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  color: #777;
  max-width: 380px;
  margin-bottom: 44px;
  margin-left: 4%;
}

/* Pull quote — pushed WAY right, creates diagonal tension */
.m-pullquote {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
  margin-left: 28%;
  max-width: 500px;
  position: relative;
}

.m-pullquote-bar {
  width: 3px;
  background: var(--color-blue, #0033FF);
  flex-shrink: 0;
  align-self: stretch;
}

.m-pullquote-text {
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #0a0a0a;
}

/* CTA — back left, creates zig-zag reading path */
.m-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  position: relative;
  padding-bottom: 12px;
  cursor: pointer;
  margin-left: 10%;
}

.m-cta-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a0a0a;
  transition: color 0.3s ease;
}

.m-cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid #0a0a0a;
  border-radius: 50%;
  font-size: 16px;
  color: #0a0a0a;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.m-cta:hover .m-cta-arrow {
  background: var(--color-blue, #0033FF);
  border-color: var(--color-blue, #0033FF);
  color: #fff;
  transform: translateX(6px) scale(1.1);
}
.m-cta:hover .m-cta-text { color: var(--color-blue, #0033FF); }

.m-cta-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 56px;
  height: 2px;
  background: var(--color-blue, #0033FF);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.m-cta:hover .m-cta-line { transform: scaleX(1); }

/* ── Manifesto Responsive ── */
@media (max-width: 1024px) {
  .m-headline-zone, .m-bottom-zone { padding-left: 30px; padding-right: 30px; }
  .m-mascot-bg, .m-mascot-eye-layer { width: 65%; right: -12%; top: 0; }
  .m-row:nth-child(2) { padding-left: 6%; }
  .m-row:nth-child(4) { padding-left: 12%; }
  .m-pullquote { margin-left: 15%; }
  .m-cta { margin-left: 5%; }
  .m-micro-label, .m-micro-line { display: none; }
}
@media (max-width: 768px) {
  .manifesto-section { padding: 70px 0 70px; }
  .m-headline-zone, .m-bottom-zone { padding-left: 20px; padding-right: 20px; }
  .manifesto-headline { font-size: clamp(38px, 11vw, 65px); line-height: 0.9; }
  .m-row:nth-child(1), .m-row:nth-child(2), .m-row:nth-child(3), .m-row:nth-child(4) { padding-left: 0; margin-bottom: 0; }
  .m-row:nth-child(3) .m-blue { transform: none; }
  .m-mascot-bg, .m-mascot-eye-layer { width: 85%; right: -25%; top: 5%; }
  .m-mascot-bg { opacity: 0.04; }
  .m-mascot-eye-layer { opacity: 0.08; }
  .m-pullquote { margin-left: 0; }
  .m-cta { margin-left: 0; }
  .m-divider, .m-body-text { margin-left: 0; }
  .m-index-group { left: 20px; top: 28px; }
}

/* ========================================
   SERVICES EDITORIAL SECTION
   ART-DIRECTED COMPOSITION (REFINED)
   ======================================== */

.services-editorial {
  position: relative;
  z-index: 2; /* Slides OVER the fixed video */
  background: #f5f5f3;
  min-height: 900px;
  height: 900px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  /* Subtle top shadow for depth as it slides over video */
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.15);
}

.editorial-container {
  position: relative;
  width: 100%;
  max-width: 1600px;
  height: 900px;
  margin: 0 auto;
  padding: 0 80px;
}

.editorial-typography {
  position: absolute;
  top: 0;
  left: 80px;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.service-word-link {
  position: absolute;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-word-link:hover {
  opacity: 0.7;
  transform: translateX(12px);
}

.service-word {
  position: relative;
}

.service-word-img {
  display: block;
  width: auto;
  height: auto;
}

/* CREATIVE — Top left anchor */
.service-word-link[data-service="creative"] {
  top: 100px;
  left: 0;
  z-index: 15;
}

.creative-word .service-word-img {
  height: 150px;
}

/* DIGITAL — Disruptive offset, tighter spacing */
.service-word-link[data-service="digital"] {
  top: 225px;
  left: 45px;
  z-index: 14;
}

.digital-word .service-word-img {
  height: 100px;
}

/* PUBLIC RELATIONS — Dominant, largest presence */
.service-word-link[data-service="pr"] {
  top: 340px;
  left: 0;
  z-index: 20;
}

.public-word .service-word-img {
  height: 90px;
  margin-bottom: -12px;
}

.relations-word .service-word-img {
  height: 175px;
  margin-left: -8px;
}

/* EVENTS — Tight, compact below */
.service-word-link[data-service="events"] {
  top: 595px;
  left: 20px;
  z-index: 13;
}

.events-word .service-word-img {
  height: 95px;
}

.editorial-images {
  position: absolute;
  top: 0;
  right: 60px;
  width: 750px;
  height: 900px;
  z-index: 5;
}

.editorial-image {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.20);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.editorial-image:hover {
  transform: scale(1.04);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.28);
}

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

/* Image 1: Top right, wide horizontal — bolder placement */
.editorial-image.image-1 {
  top: 80px;
  right: -40px;
  width: 560px;
  height: 340px;
  z-index: 6;
}

/* Image 2: Mid-right, large square — aggressive overlap */
.editorial-image.image-2 {
  top: 310px;
  right: 90px;
  width: 420px;
  height: 420px;
  z-index: 7;
}

/* Image 3: Lower center/right — pushes into text zone */
.editorial-image.image-3 {
  top: 550px;
  right: 340px;
  width: 290px;
  height: 260px;
  z-index: 8;
}

.editorial-accent-line {
  position: absolute;
  bottom: 70px;
  right: 40px;
  width: 2px;
  height: 200px;
  background: #0033FF;
  z-index: 9;
}

.editorial-statement {
  position: absolute;
  bottom: 70px;
  left: 80px;
  max-width: 540px;
  z-index: 12;
}

.statement-content {
  max-width: 500px;
}

.statement-text {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.2px;
  color: #545454;
  margin: 0 0 22px 0;
}

.statement-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000000;
  text-decoration: none;
  border-bottom: 1px solid #000000;
  padding-bottom: 3px;
  transition: all 0.3s ease;
}

.statement-cta:hover {
  color: #0033FF;
  border-color: #0033FF;
  transform: translateX(6px);
}

.cta-arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.statement-cta:hover .cta-arrow {
  transform: translateX(6px);
}

/* Responsive */
@media (max-width: 1400px) {
  .services-editorial {
    height: 800px;
  }
  
  .editorial-container {
    height: 800px;
    padding: 0 60px;
  }
  
  .editorial-typography {
    left: 60px;
  }
  
  .service-word-link[data-service="creative"] {
    top: 90px;
  }
  
  .creative-word .service-word-img {
    height: 120px;
  }
  
  .service-word-link[data-service="digital"] {
    top: 190px;
  }
  
  .digital-word .service-word-img {
    height: 85px;
  }
  
  .service-word-link[data-service="pr"] {
    top: 290px;
  }
  
  .public-word .service-word-img {
    height: 75px;
  }
  
  .relations-word .service-word-img {
    height: 140px;
  }
  
  .service-word-link[data-service="events"] {
    top: 500px;
  }
  
  .events-word .service-word-img {
    height: 80px;
  }
  
  .editorial-images {
    right: 50px;
    width: 650px;
  }
  
  .editorial-image.image-1 {
    width: 480px;
    height: 300px;
    right: -30px;
  }
  
  .editorial-image.image-2 {
    width: 360px;
    height: 360px;
    right: 80px;
  }
  
  .editorial-image.image-3 {
    width: 240px;
    height: 220px;
    right: 280px;
  }
  
  .editorial-statement {
    left: 60px;
    bottom: 60px;
  }
}

@media (max-width: 1024px) {
  .services-editorial {
    height: 1400px;
  }
  
  .editorial-container {
    height: 1400px;
    padding: 0 50px;
  }
  
  .editorial-typography {
    left: 50px;
    width: calc(100% - 100px);
  }
  
  .service-word-link[data-service="creative"] {
    top: 80px;
    left: 0;
  }
  
  .creative-word .service-word-img {
    height: 95px;
  }
  
  .service-word-link[data-service="digital"] {
    top: 170px;
    left: 25px;
  }
  
  .digital-word .service-word-img {
    height: 75px;
  }
  
  .service-word-link[data-service="pr"] {
    top: 250px;
    left: 0;
  }
  
  .public-word .service-word-img {
    height: 65px;
  }
  
  .relations-word .service-word-img {
    height: 120px;
  }
  
  .service-word-link[data-service="events"] {
    top: 430px;
    left: 15px;
  }
  
  .events-word .service-word-img {
    height: 70px;
  }
  
  .editorial-images {
    top: 600px;
    right: 50px;
    left: 50px;
    width: auto;
    height: 600px;
  }
  
  .editorial-image.image-1 {
    top: 0;
    right: 0;
    left: auto;
    width: 400px;
    height: 260px;
  }
  
  .editorial-image.image-2 {
    top: 180px;
    right: auto;
    left: 0;
    width: 320px;
    height: 320px;
  }
  
  .editorial-image.image-3 {
    top: 320px;
    right: 70px;
    left: auto;
    width: 220px;
    height: 200px;
  }
  
  .editorial-accent-line {
    bottom: 100px;
    right: 30px;
    height: 140px;
  }
  
  .editorial-statement {
    bottom: 50px;
    left: 50px;
    max-width: calc(100% - 100px);
  }
}

@media (max-width: 768px) {
  .services-editorial {
    height: 1200px;
  }
  
  .editorial-container {
    height: 1200px;
    padding: 0 30px;
  }
  
  .editorial-typography {
    left: 30px;
    width: calc(100% - 60px);
  }
  
  .service-word-link[data-service="creative"] {
    top: 60px;
  }
  
  .creative-word .service-word-img {
    height: 75px;
  }
  
  .service-word-link[data-service="digital"] {
    top: 130px;
  }
  
  .digital-word .service-word-img {
    height: 60px;
  }
  
  .service-word-link[data-service="pr"] {
    top: 190px;
  }
  
  .public-word .service-word-img {
    height: 50px;
  }
  
  .relations-word .service-word-img {
    height: 90px;
  }
  
  .service-word-link[data-service="events"] {
    top: 320px;
  }
  
  .events-word .service-word-img {
    height: 55px;
  }
  
  .editorial-images {
    top: 480px;
    right: 30px;
    left: 30px;
    height: 550px;
  }
  
  .editorial-image.image-1 {
    width: 300px;
    height: 200px;
  }
  
  .editorial-image.image-2 {
    top: 140px;
    width: 260px;
    height: 260px;
  }
  
  .editorial-image.image-3 {
    top: 270px;
    right: 40px;
    width: 180px;
    height: 160px;
  }
  
  .editorial-accent-line {
    bottom: 80px;
    height: 100px;
  }
  
  .editorial-statement {
    bottom: 40px;
    left: 30px;
    max-width: calc(100% - 60px);
  }
  
  .statement-text {
    font-size: 14px;
  }
}

/* ========================================
   CTA STRIP — Premium Dark CTA with Mascot
   ======================================== */
.cta-strip {
  background: #000;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 480px;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
  z-index: 0;
}

.cta-strip::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.06);
  z-index: 1;
}

/* ─── CTA Left ─── */
.cta-type {
  position: relative;
  z-index: 10;
  padding: 100px 80px 100px 100px;
}

.cta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 40px;
}

.cta-headline {
  font-size: clamp(32px, 3.8vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}

.cta-headline .line {
  display: block;
  overflow: hidden;
}

.cta-headline .line-inner {
  display: block;
}

.cta-underline {
  width: 80px;
  height: 2px;
  background: var(--color-blue);
  margin-bottom: 32px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-strip:hover .cta-underline {
  width: 140px;
}

.cta-sub {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  max-width: 380px;
  margin-bottom: 44px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 20px 38px;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.cta-btn:hover {
  border-color: rgba(0, 51, 255, 0.6);
  color: #fff;
  box-shadow: 0 4px 30px rgba(0, 51, 255, 0.15), 0 0 0 1px rgba(0, 51, 255, 0.1);
  transform: translateY(-2px);
}

.cta-btn:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.cta-btn-arrow {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  position: relative;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, transform 0.4s ease;
}

.cta-btn-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  transition: border-color 0.4s ease;
}

.cta-btn:hover .cta-btn-arrow {
  width: 36px;
  background: var(--color-blue);
  transform: translateX(4px);
}

.cta-btn:hover .cta-btn-arrow::after {
  border-color: var(--color-blue);
}

/* ─── CTA Right: Mascot ─── */
.cta-mascot {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 60px 80px 60px 40px;
}

.mascot-container {
  position: relative;
  width: 320px;
  height: 320px;
  animation: mascot-float 7s ease-in-out infinite;
}

@keyframes mascot-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(0.5deg); }
  50% { transform: translateY(-3px) rotate(-0.3deg); }
  75% { transform: translateY(-10px) rotate(0.2deg); }
}

.mascot-container svg {
  width: 100%;
  height: 100%;
}

.m-line { fill: #fff; }

.m-blue {
  fill: var(--color-blue);
  transition: filter 0.6s ease;
}

.cta-strip:hover .m-blue {
  filter: drop-shadow(0 0 10px rgba(0, 51, 255, 0.4));
}

.eye-pupil-group {
  will-change: transform;
}

.cta-divider {
  position: absolute;
  left: 50%;
  top: 15%; bottom: 15%;
  width: 1px;
  background: rgba(255,255,255,0.04);
  z-index: 2;
}

.pulse-ring {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--color-blue);
  top: 38%; left: 32%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
}

@keyframes pulse-out {
  0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; }
}

/* ─── CTA Mobile (legacy — overridden by new CTA block below) ─── */
@media (max-width: 900px) {
  .cta-strip { min-height: auto; }
  .cta-type { padding: 60px 32px 40px; }
  .cta-mascot { padding: 0 32px 60px; justify-content: flex-start; }
  .mascot-container { width: 200px; height: 200px; }
  .cta-divider { display: none; }
}

@media (max-width: 480px) {
  .cta-type { padding: 48px 20px 32px; }
  .cta-mascot { padding: 0 20px 48px; }
  .mascot-container { width: 160px; height: 160px; }
}


/* ========================================
   BLOG — Magazine Split (Light)
   ======================================== */
.blog-magazine {
  background: #f5f5f3;
  padding: 120px 60px 100px;
  color: #0a0a0a;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.blog-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.blog-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--color-blue);
}

.blog-eyebrow-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-blue);
}

.blog-view-all {
  font-size: 13px;
  font-weight: 600;
  color: #0a0a0a;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.15);
  padding: 12px 28px;
  border-radius: 100px;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.blog-view-all:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #fff;
}

.magazine-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 580px;
  gap: 24px;
}

/* ─── Blog Featured (large left) ─── */
.magazine-featured {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.magazine-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.magazine-featured:hover img {
  transform: scale(1.04);
  filter: brightness(0.85);
}

.magazine-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px;
}

.magazine-featured-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.magazine-featured-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.magazine-featured:hover .magazine-featured-title {
  color: var(--color-blue);
}

.magazine-featured-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  max-width: 420px;
  margin-bottom: 16px;
}

.magazine-featured-date {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ─── Blog Stack (two right) ─── */
.magazine-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.magazine-small {
  flex: 1;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.magazine-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.magazine-small:hover img {
  transform: scale(1.06);
  filter: brightness(0.8);
}

.magazine-small-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.12) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.magazine-small-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 10px;
}

.magazine-small-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.magazine-small:hover .magazine-small-title {
  color: var(--color-blue);
}

.magazine-small-date {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

/* ─── Blog GSAP entrance ─── */
.blog-eyebrow, .blog-view-all, .magazine-featured, .magazine-small {
  will-change: transform, opacity;
}

/* ─── Blog Mobile ─── */
@media (max-width: 768px) {
  .blog-magazine { padding: 80px 24px 60px; }
  .blog-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .magazine-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .magazine-featured { min-height: 360px; }
  .magazine-small { min-height: 240px; }
  .magazine-featured-overlay { padding: 28px; }
  .magazine-featured-title { font-size: clamp(22px, 5vw, 32px); }
  .magazine-small-title { font-size: 16px; }
  .magazine-small-overlay { padding: 24px; }
}

@media (max-width: 480px) {
  .blog-magazine { padding: 60px 16px 50px; }
  .magazine-featured { min-height: 300px; }
  .magazine-small { min-height: 200px; }
  .magazine-featured-overlay { padding: 20px; }
  .magazine-featured-excerpt { display: none; }
  .blog-view-all { padding: 10px 22px; font-size: 12px; }
}


/* ========================================
   FOOTER — FIVE Communications (Light)
   ======================================== */
.site-footer {
  position: relative;
  z-index: 2;
  background: #f5f5f3;
  color: #0a0a0a;
  padding: 100px 0 50px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  opacity: 0.9;
  filter: invert(1);
  transition: opacity 0.3s ease;
}

.footer-logo-link:hover .footer-logo-img {
  opacity: 1;
}

.footer-brand-line {
  font-size: 13px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.35);
  margin-top: 16px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  gap: 80px;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-blue);
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 14px;
}

.footer-col a {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}

.footer-col a:hover {
  color: var(--color-blue);
}

.footer-rule {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

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

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
}

.footer-tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(0, 0, 0, 0.2);
}

/* Mascot eye in footer */
.footer-mascot {
  display: inline-flex;
  align-items: center;
  width: 28px;
  height: 18px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.footer-mascot:hover {
  transform: scale(1.2);
}

.footer-mascot-svg {
  width: 100%;
  height: 100%;
}

.mascot-f-lid {
  transition: opacity 0.08s ease;
}

/* Responsive footer */
@media (max-width: 768px) {
  .site-footer { padding: 60px 0 40px; }
  .footer-inner { padding: 0 24px; }
  .footer-top {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-footer { padding: 48px 0 32px; }
  .footer-inner { padding: 0 20px; }
  .footer-col a { font-size: 13px; }
  .footer-brand-line { font-size: 12px; }
}

/* ========================================
   GLOBAL MOBILE / TOUCH OPTIMIZATIONS
   ======================================== */

/* Prevent tap highlight flash */
@media (hover: none) and (pointer: coarse) {
  a, button { -webkit-tap-highlight-color: transparent; }

  /* Increase touch targets on mobile */
  .hero-cta { min-height: 48px; }
  .blog-view-all { min-height: 44px; }
  .cta-btn { min-height: 48px; }
  .footer-col a { padding: 4px 0; }
  .service-row { min-height: 60px; }

  /* Disable hover effects on touch — prevent sticky hover states */
  .magazine-featured:hover img,
  .magazine-small:hover img { transform: none; filter: none; }
  .magazine-featured:hover .magazine-featured-title,
  .magazine-small:hover .magazine-small-title { color: #fff; }
  .sw-card:hover .sw-card-img { transform: scale(1.08); filter: brightness(0.92) saturate(0.95); }
  .service-row:hover { padding-left: 0 !important; }
  .service-row:hover .service-name { transform: none; }
  .service-row:hover::after { transform: scaleX(0); }
  .five-services-list:hover .service-row { opacity: 1; }

  /* Smooth scroll for anchor links */
  html { scroll-behavior: smooth; }
}

/* Safe area insets for notched devices */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-footer .footer-bottom {
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-nav-overlay {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }
  .mobile-nav-footer {
    bottom: calc(50px + env(safe-area-inset-bottom));
  }
}


/* ════════════════════════════════════════════════════
   BLOG / JOURNAL PAGE  (template-blog.php)
   ════════════════════════════════════════════════════ */

/* ── Blog Hero ── */
.blog-hero {
  position: relative;
  min-height: 70vh;
  min-height: 70dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark, #0a0a0a);
  padding: 160px 60px 100px;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,51,255,0.12) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  animation: blogOrbFloat 10s ease-in-out infinite;
  pointer-events: none;
}

.blog-hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,51,255,0.07) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation: blogOrbFloat 10s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes blogOrbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -40px); }
}

.blog-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  text-align: center;
}

.blog-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.blog-hero-eyebrow-line {
  width: 48px;
  height: 1px;
  background: var(--blue, #0033FF);
}

.blog-hero-eyebrow-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue, #0033FF);
}

.blog-hero-title {
  font-size: clamp(44px, 8vw, 120px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 32px;
}

.blog-hero-word {
  display: inline-block;
  margin-right: 0.2em;
}

.blog-hero-subtitle {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 560px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}


/* ── Featured Post ── */
.blog-featured-section {
  padding: 0;
  background: var(--cream, #f5f5f3);
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 70vh;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.blog-featured-img-wrap {
  position: relative;
  overflow: hidden;
}

.blog-featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-featured-card:hover .blog-featured-img-wrap img {
  transform: scale(1.06);
}

.blog-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 80px 80px 64px;
}

.blog-featured-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue, #0033FF);
  margin-bottom: 24px;
}

.blog-featured-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--dark, #0a0a0a);
  margin-bottom: 20px;
  transition: color 0.4s ease;
}

.blog-featured-card:hover .blog-featured-title {
  color: var(--blue, #0033FF);
}

.blog-featured-excerpt {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: #545454;
  max-width: 440px;
  margin-bottom: 36px;
}

.blog-featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.blog-featured-date {
  font-size: 12px;
  font-weight: 400;
  color: #aaa;
  letter-spacing: 0.02em;
}

.blog-featured-read {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark, #0a0a0a);
  transition: color 0.3s ease;
}

.blog-featured-read .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.blog-featured-card:hover .blog-featured-read {
  color: var(--blue, #0033FF);
}

.blog-featured-card:hover .blog-featured-read .arrow {
  transform: translateX(4px);
}


/* ── Filter Bar ── */
.blog-listing {
  padding: 100px 60px 120px;
  background: var(--cream, #f5f5f3);
}

.blog-filter-bar {
  max-width: 1400px;
  margin: 0 auto 60px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-filter-btn {
  font-family: var(--font-primary, 'Gotham', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.1);
  background: transparent;
  color: #545454;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-filter-btn:hover {
  border-color: var(--blue, #0033FF);
  color: var(--blue, #0033FF);
}

.blog-filter-btn.active {
  background: var(--dark, #0a0a0a);
  border-color: var(--dark, #0a0a0a);
  color: #fff;
}


/* ── Post Grid ── */
.blog-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}

.blog-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,51,255,0.08) 0%, rgba(0,0,0,0.04) 100%);
}

.blog-card-body {
  padding: 28px 28px 32px;
}

.blog-card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue, #0033FF);
  margin-bottom: 12px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--dark, #0a0a0a);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--blue, #0033FF);
}

.blog-card-excerpt {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: #545454;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.blog-card-date {
  font-size: 11px;
  font-weight: 400;
  color: #aaa;
  letter-spacing: 0.02em;
}


/* ── Pagination ── */
.blog-pagination {
  max-width: 1400px;
  margin: 60px auto 0;
  text-align: center;
}

.blog-pagination .page-numbers {
  list-style: none;
  display: inline-flex;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.blog-pagination .page-numbers li {
  display: inline;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: 100px;
  font-family: var(--font-primary, 'Gotham', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #545454;
  border: 1px solid rgba(0,0,0,0.1);
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-pagination .page-numbers a:hover {
  border-color: var(--blue, #0033FF);
  color: var(--blue, #0033FF);
}

.blog-pagination .page-numbers .current {
  background: var(--dark, #0a0a0a);
  border-color: var(--dark, #0a0a0a);
  color: #fff;
}


/* ── Empty State ── */
.blog-empty {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  padding: 120px 40px;
}

.blog-empty p {
  font-size: 16px;
  font-weight: 300;
  color: #545454;
  letter-spacing: 0.02em;
}


/* ── Newsletter CTA ── */
.blog-newsletter {
  padding: 140px 60px;
  background: var(--dark, #0a0a0a);
  position: relative;
  overflow: hidden;
}

.blog-newsletter::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,51,255,0.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: blogOrbFloat 8s ease-in-out infinite;
  pointer-events: none;
}

.blog-newsletter-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.blog-newsletter-content {
  flex: 1;
}

.blog-newsletter-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 12px;
}

.blog-newsletter-sub {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.35);
  max-width: 380px;
}

.blog-newsletter-form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}

.blog-newsletter-input {
  font-family: var(--font-primary, 'Gotham', sans-serif);
  font-size: 14px;
  font-weight: 400;
  padding: 18px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px 0 0 100px;
  color: #fff;
  outline: none;
  width: 260px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.blog-newsletter-input::placeholder {
  color: rgba(255,255,255,0.25);
}

.blog-newsletter-input:focus {
  border-color: var(--blue, #0033FF);
  background: rgba(0,51,255,0.06);
}

.blog-newsletter-btn {
  font-family: var(--font-primary, 'Gotham', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 18px 32px;
  background: var(--blue, #0033FF);
  border: 1px solid var(--blue, #0033FF);
  border-radius: 0 100px 100px 0;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-newsletter-btn:hover {
  background: #0028cc;
}


/* ── Blog Page Responsive ── */
@media (max-width: 1024px) {
  .blog-hero { padding: 140px 40px 80px; min-height: 55vh; }
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-featured-img-wrap { min-height: 50vh; }
  .blog-featured-content { padding: 48px 40px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-newsletter-inner { flex-direction: column; text-align: center; align-items: center; }
  .blog-newsletter-sub { margin: 0 auto; }
}

@media (max-width: 768px) {
  .blog-hero { padding: 120px 24px 60px; min-height: 50vh; }
  .blog-hero-title { font-size: clamp(36px, 10vw, 64px); }
  .blog-hero-subtitle { font-size: 14px; }
  .blog-listing { padding: 60px 24px 80px; }
  .blog-filter-bar { margin-bottom: 40px; gap: 8px; }
  .blog-filter-btn { padding: 10px 20px; font-size: 10px; }
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-featured-content { padding: 36px 24px; }
  .blog-featured-title { font-size: 28px; }
  .blog-newsletter { padding: 80px 24px; }
  .blog-newsletter-form { flex-direction: column; width: 100%; max-width: 400px; }
  .blog-newsletter-input { border-radius: 100px; width: 100%; }
  .blog-newsletter-btn { border-radius: 100px; }
}

@media (max-width: 480px) {
  .blog-hero { padding: 100px 20px 50px; }
  .blog-card-body { padding: 20px 20px 24px; }
  .blog-card-title { font-size: 16px; }
}

/* ========================================
   ABOUT PAGE — template-about.php
   Scoped via WP body class
   ======================================== */

/* ══════════════════════════════════════════════════
   ABOUT HERO — Identical to Expertise hero style.
   No overrides needed: .hero class handles layout,
   background (cream), full height, and flex-end.
   ══════════════════════════════════════════════════ */

/* ── Cream exit wrapper — black floor so blur-fade reveals darkness ── */
.cream-exit-wrapper {
  background: var(--black);
}

/* ── Cream → black gradient — perceptually smooth S-curve, 14 stops ── */
.cream-exit-wrapper .transition-white-to-black {
  height: 600px;
  background: linear-gradient(
    to bottom,
    rgb(245, 245, 243)  0%,
    rgb(244, 244, 242)  6%,
    rgb(240, 238, 236) 12%,
    rgb(231, 229, 226) 20%,
    rgb(216, 213, 210) 28%,
    rgb(195, 192, 189) 36%,
    rgb(169, 166, 163) 44%,
    rgb(138, 135, 132) 52%,
    rgb(105, 102, 100) 60%,
    rgb(72,  70,  68)  68%,
    rgb(44,  42,  41)  76%,
    rgb(24,  23,  22)  84%,
    rgb(13,  12,  12)  92%,
    rgb(10,  10,  10) 100%
  );
}

/* ── About body intro — two-column editorial copy block ── */
.about-body-intro {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 64px var(--pad) 56px;
}

.about-body-intro p {
  font-weight: 300;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.8;
  color: rgba(10, 10, 10, 0.6);
  margin: 0;
}

/* ── Stats strip — horizontal 4-column row below hero ── */
.about-stats-strip {
  background: var(--cream);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 48px var(--pad) 64px;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

/* Stat items */
.stat {
  padding: 0;
  border: none;
}

/* Vertical separator between stats */
.about-stats-strip .stat:not(:first-child) {
  padding-left: 40px;
  border-left: 1px solid rgba(10, 10, 10, 0.08);
}

/* Uniform number scale */
.stat-number {
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -3px;
  color: var(--black);
  margin-bottom: 8px;
}

/* 360° — the single blue accent */
.about-stats-strip .stat:first-child .stat-number {
  color: var(--blue);
}

/* Label — caption-weight, tight tracking */
.stat-label {
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.28);
}

/* ── Gradient Transitions ── */
.transition-white-to-black {
  height: 40vh;
  background: linear-gradient(to bottom, var(--white), var(--black));
}
.transition-black-to-white {
  height: 40vh;
  background: linear-gradient(to bottom, var(--black), var(--white));
}

/* ── About Content Sections ── */
.about-section {
  padding: 140px var(--pad);
  max-width: var(--max-width);
  margin: 0 auto;
}
.about-section-label {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.4);
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.about-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(10, 10, 10, 0.1);
}
.about-section-heading {
  font-weight: 900;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 0.95;
  letter-spacing: -3px;
  text-transform: uppercase;
  margin-bottom: 50px;
}

/* (origin-grid and stat rules now in hero composition block above) */

/* ── Five Senses Intro + Horizontal Scroll ── */
.senses-intro {
  height: 100vh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
}
.senses-intro .si-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(245, 245, 243, 0.3);
  margin-bottom: 30px;
}
.senses-intro h2 {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 30px;
}
.senses-intro h2 span.accent { color: var(--blue); }
.senses-intro h2 .line-mask  { display: block; overflow: hidden; line-height: 1.1; }
.senses-intro h2 .line-inner { display: block; }
.senses-intro p {
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(245, 245, 243, 0.5);
  max-width: 600px;
}
.senses-horizontal-wrapper {
  overflow: hidden;
  background: var(--black);
  position: relative;
}
.senses-track {
  display: flex;
  will-change: transform;
}
.sense-panel {
  min-width: 100vw;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.sense-panel-inner {
  display: flex;
  align-items: center;
  gap: 5vw;
  width: 100%;
  max-width: 1300px;
  padding: 0 5vw;
}
.sense-visual {
  flex: 0 0 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.sense-visual img {
  width: 100%;
  max-width: 500px;
  height: auto;
}
.sense-visual::after {
  content: '';
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle, rgba(0, 51, 255, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.sense-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sense-number {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--blue);
  font-weight: 500;
}
.sense-title {
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--white);
  line-height: 1.05;
}
.sense-divider {
  width: 60px;
  height: 2px;
  background: var(--blue);
}
.sense-desc {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(245, 245, 243, 0.5);
  max-width: 440px;
}
.sense-panel:nth-child(even) .sense-panel-inner {
  flex-direction: row-reverse;
}
.sense-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(245, 245, 243, 0.06);
}
.sense-panel:first-child::before { display: none; }

/* Thread + dots: hidden by default (mobile only) */
.senses-thread { display: none; }
.sense-thread-dot { display: none; }
.sense-panel::after { content: none; }

.senses-progress {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.senses-progress.visible { opacity: 1; }
.progress-counter {
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(245, 245, 243, 0.4);
  font-variant-numeric: tabular-nums;
}
.progress-counter .current { color: var(--white); font-weight: 700; }
.progress-bar-track {
  width: 120px;
  height: 1px;
  background: rgba(245, 245, 243, 0.1);
  position: relative;
  overflow: hidden;
}
.progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 20%;
  background: var(--blue);
  transition: width 0.3s ease;
}
.progress-dots { display: flex; gap: 8px; }
.progress-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(245, 245, 243, 0.15);
  transition: all 0.4s ease;
}
.progress-dot.active {
  background: var(--blue);
  box-shadow: 0 0 8px rgba(0, 51, 255, 0.5);
}
.senses-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 245, 243, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 243, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* ── About Services — inherits .services styles from homepage ── */
.service-row {
  display: grid;
  grid-template-columns: 60px 1fr 1.2fr;
  gap: 40px;
  align-items: baseline;
  padding: 45px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  transition: all 0.4s ease;
}
.service-row:first-child { border-top: 1px solid rgba(10, 10, 10, 0.08); }
.service-row:hover { padding-left: 20px; }
.service-number {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--blue);
}
.service-name {
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--black);
}
.service-desc {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(10, 10, 10, 0.55);
}

/* ── How We Work — image card layout ── */
.hw-section {
  background: #fff;
  width: 100vw;
  padding: 120px var(--pad) 80px;
  box-sizing: border-box;
  max-width: none;
}
.hw-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.hw-eyebrow::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}
.hw-title {
  font-family: var(--font-primary);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 80px;
  max-width: 680px;
  text-transform: uppercase;
}
.hw-title em {
  font-style: italic;
  color: var(--blue);
  font-weight: 300;
}
.hw-cards { display: flex; flex-direction: column; }
.hw-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(0,0,0,0.08);
  min-height: 420px;
  overflow: hidden;
}
.hw-card:last-child { border-bottom: 1px solid rgba(0,0,0,0.08); }
.hw-card:nth-child(even) { direction: rtl; }
.hw-card:nth-child(even) > * { direction: ltr; }
.hw-card-content {
  padding: 60px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}
.hw-card-num {
  font-size: 96px;
  font-weight: 900;
  font-style: italic;
  color: var(--blue);
  opacity: 0.08;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -4px;
  transition: opacity 0.5s ease;
}
.hw-card:hover .hw-card-num { opacity: 0.18; }
.hw-card-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: #999;
  margin-bottom: 16px;
}
.hw-card-heading {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 20px;
}
.hw-card-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(10,10,10,0.5);
  font-weight: 300;
  max-width: 400px;
}
.hw-card-visual {
  position: relative;
  overflow: hidden;
}
.hw-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9);
  transition: transform 1s cubic-bezier(0.22,1,0.36,1), filter 0.6s ease;
}
.hw-card:hover .hw-card-img { transform: scale(1.05); filter: saturate(1); }
.hw-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
  z-index: 1;
}
.hw-card-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: 100px;
  z-index: 2;
}
.hw-card:nth-child(even) .hw-card-tag { left: auto; right: 24px; }
.hw-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0 0;
}
.hw-bottom-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
}
.hw-cta {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: gap 0.3s ease;
}
.hw-cta:hover { gap: 18px; }
.hw-cta-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease;
}
.hw-cta:hover .hw-cta-circle { background: var(--blue); }
.hw-cta:hover .hw-cta-circle svg path { stroke: #fff; }
@media (max-width: 1024px) {
  .hw-card-content { padding: 48px 40px; }
  .hw-card { min-height: 360px; }
}
@media (max-width: 768px) {
  .hw-card { grid-template-columns: 1fr; min-height: auto; }
  .hw-card:nth-child(even) { direction: ltr; }
  .hw-card-visual { height: 260px; order: -1; }
  .hw-card:nth-child(even) .hw-card-tag { left: 24px; right: auto; }
  .hw-card-content { padding: 32px 24px 40px; }
  .hw-card-num { font-size: 64px; }
  .hw-bottom { flex-direction: column; gap: 20px; align-items: flex-start; }
}

/* ── About CTA Banner ── */
.about-cta-banner {
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  text-align: center;
  padding: 160px var(--pad);
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Marquee background */
.about-cta-marquee {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.about-cta-marquee-row {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(255,255,255,0.035);
  white-space: nowrap;
  user-select: none;
  display: flex;
  width: max-content;
}
.about-cta-marquee-row span { display: inline-block; }
.about-marquee-rtl { animation: about-marquee-rtl 28s linear infinite; }
.about-marquee-ltr { animation: about-marquee-ltr 32s linear infinite; }
@keyframes about-marquee-rtl { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes about-marquee-ltr { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* Star accents */
.about-cta-star { position: absolute; z-index: 2; pointer-events: none; }
.about-cta-star svg { width: 100%; height: 100%; }
.about-star-tl { top: 10%; left: 4%; width: clamp(45px, 5.5vw, 80px); height: clamp(45px, 5.5vw, 80px); }
.about-star-br { bottom: 10%; right: 4%; width: clamp(55px, 6.5vw, 95px); height: clamp(55px, 6.5vw, 95px); }

/* Keep inner content above marquee */
.about-cta-banner-inner { position: relative; z-index: 3; }

@media (max-width: 768px) {
  .about-cta-marquee-row { font-size: clamp(22px, 7vw, 36px); }
  .about-marquee-rtl { animation-duration: 18s; }
  .about-marquee-ltr { animation-duration: 22s; }
  .about-star-tl { width: 40px; height: 40px; }
  .about-star-br { width: 50px; height: 50px; }
}
@media (max-width: 480px) {
  .about-star-tl, .about-star-br { display: none; }
  .about-cta-marquee-row { font-size: 18px; }
  .about-marquee-rtl { animation-duration: 14s; }
  .about-marquee-ltr { animation-duration: 16s; }
}
.about-cta-banner-inner { max-width: var(--max-width); margin: 0 auto; }
.about-cta-heading {
  font-weight: 900;
  font-size: 56px;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.about-cta-sub {
  font-weight: 400;
  font-size: 17px;
  color: rgba(245, 245, 243, 0.6);
  margin-bottom: 50px;
}
.about-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 42px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 60px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.about-cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
  border-radius: 60px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}
.about-cta-button:hover { border-color: var(--blue); gap: 20px; }
.about-cta-button:hover::before { transform: scaleX(1); }
.about-cta-button span { position: relative; z-index: 1; }
.about-cta-btn-arrow {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 22px;
  height: 1px;
  background: rgba(255,255,255,0.5);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, transform 0.4s ease;
}
.about-cta-btn-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid rgba(255,255,255,0.5);
  border-right: 1px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  transition: border-color 0.4s ease;
}
.about-cta-button:hover .about-cta-btn-arrow {
  width: 36px;
  background: #fff;
  transform: translateX(4px);
}
.about-cta-button:hover .about-cta-btn-arrow::after {
  border-color: #fff;
}

/* GSAP Reveal Helpers */
.reveal { opacity: 0; transform: translateY(40px); }

/* ── About Responsive — 1024 ── */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
}

/* ── About Responsive — 768 (mobile) ── */
@media (max-width: 768px) {
  /* Stats strip: 2×2 grid on mobile */
  .about-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 32px var(--pad) 48px;
  }
  .about-stats-strip .stat:not(:first-child) {
    padding-left: 0;
    border-left: none;
  }
  .about-stats-strip .stat {
    padding: 20px 0;
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  }
  .about-stats-strip .stat:nth-child(odd) {
    padding-right: 20px;
    border-right: 1px solid rgba(10, 10, 10, 0.08);
  }
  .about-stats-strip .stat:nth-child(even) {
    padding-left: 20px;
  }
  .about-stats-strip .stat:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .stat-number { font-size: 44px; }
  .about-body-intro { grid-template-columns: 1fr; gap: 28px; padding: 48px var(--pad) 64px; }
  .about-section { padding: 100px var(--pad); }
  .about-section-heading { font-size: 32px; }

  .service-row { grid-template-columns: 1fr; gap: 10px; }
  .service-number { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .about-cta-heading { font-size: 36px; }

  /* Five senses mobile: vertical stacked */
  .senses-horizontal-wrapper {
    overflow: visible;
    height: auto !important;
  }
  .senses-track {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    transform: none !important;
    position: relative;
  }
  .sense-panel {
    min-width: 100%;
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 50px 0;
    position: relative;
  }
  .sense-panel-inner {
    flex-direction: column !important;
    gap: 20px;
    padding: 0 28px;
    text-align: center;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  .sense-visual {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  .sense-visual img {
    width: 50vw;
    max-width: 200px;
    margin: 0 auto;
    display: block;
  }
  .sense-visual::after { display: none; }
  .sense-text {
    align-items: center;
    padding: 0;
    width: 100%;
    max-width: 320px;
  }
  .sense-title { font-size: clamp(28px, 8vw, 44px); }
  .sense-desc { font-size: 14px; line-height: 1.7; }
  .sense-number { font-size: 11px; letter-spacing: 3px; }
  .sense-divider { width: 36px; margin: 0 auto; }

  .senses-progress { display: none !important; }
  .sense-panel::before { display: none; }
  .sense-panel:first-child::before { display: none; }
  .sense-panel::after { content: none; }
  .senses-thread { display: none; }
  .sense-thread-dot { display: none; }

  .senses-intro { padding: 0 24px; min-height: 80vh; height: auto; }
  .senses-intro h2 { font-size: clamp(32px, 9vw, 48px); }
  .senses-intro p { font-size: 15px; }

  .senses-grid-bg { display: none; }
}

/* ========================================
   EXPERTISE PAGE
   ========================================
   Moved from template-expertise.php inline <style>.
   Uses global :root vars: --blue, --black, --cream, --pad, --content-max.
   Note: expertise originally defined --cream: #f5f3ee;
         global :root defines   --cream: #f5f5f3;
   ======================================== */

/* ── Page-level color + background reset (theme sets body white-on-black) ── */
.hero, .exp-services-wrap, .exp-marquee, .exp-process, .exp-cta {
    color: var(--black);
    background: var(--cream);
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex; align-items: flex-end;
    padding: 0 calc((100% - var(--content-max)) / 2 + var(--pad)) 80px;
    position: relative;
}
@media (max-width: 1400px) {
    .hero { padding-left: var(--pad); padding-right: var(--pad); }
}
.hero-content { max-width: 1000px; padding-bottom: 40px; }
.hero-eyebrow {
    font-weight: 500; font-size: 10px; letter-spacing: 5px;
    text-transform: uppercase; color: var(--blue);
    margin-bottom: 35px; overflow: hidden;
}
.hero-eyebrow span { display: inline-block; }
.hero h1 {
    font-weight: 900; font-size: clamp(48px, 7.5vw, 110px);
    line-height: 0.9; letter-spacing: -5px;
    text-transform: uppercase; margin-bottom: 40px;
    color: var(--black);
}
.hero h1 .line { display: block; }
.hero h1 .line span { display: inline-block; }
.hero h1 .thin { font-weight: 100; color: rgba(10,10,10,0.35); }
/* .accent inside .thin: color overrides inherited rgba, opacity would not allow this */
.hero h1 .accent { color: var(--blue); }
.hero-sub {
    font-weight: 300; font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.85; color: rgba(10,10,10,0.45);
    max-width: 680px;
}
.hero-sub span { display: inline-block; }
.hero-felt {
  color: var(--blue);
  font-style: italic;
}
.hero-cursor {
  display: inline-block;
  width: 1.5px;
  height: 0.82em;
  background: var(--blue);
  margin-left: 2px;
  vertical-align: middle;
  opacity: 0;
}
.hero-scroll {
    position: absolute; right: var(--pad); bottom: 80px;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hero-scroll-text {
    writing-mode: vertical-rl; font-weight: 500; font-size: 9px;
    letter-spacing: 4px; text-transform: uppercase; color: rgba(10,10,10,0.3);
}
.hero-scroll-line {
    width: 1px; height: 50px; background: rgba(10,10,10,0.08);
    position: relative; overflow: hidden;
}
.hero-scroll-fill {
    position: absolute; left: 0; width: 100%; height: 100%;
    background: var(--blue);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0% { top: -100%; } 50% { top: 100%; } 100% { top: 100%; }
}
/* Hero scroll on dark homepage hero */
.stage .hero-scroll { z-index: 10; }
.stage .hero-scroll-text { color: rgba(255,255,255,0.5); }
.stage .hero-scroll-line { background: rgba(255,255,255,0.15); }

/* ═══════════════════════════════════════════════
   SERVICES — Compact accordion on cream bg
   ═══════════════════════════════════════════════ */
.exp-services-wrap {
    background: var(--cream);
    padding: 80px 0 100px;
}

.exp-services-header {
    padding: 0 var(--pad);
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 50px;
    max-width: var(--content-max); margin-left: auto; margin-right: auto;
}

.exp-services-eyebrow {
    display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
}
.exp-services-eyebrow-line { width: 40px; height: 1px; background: var(--blue); }
.exp-services-eyebrow-text {
    font-weight: 700; font-size: 11px; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--blue);
}

.exp-services-sub {
    font-weight: 300; font-size: 15px; line-height: 1.7;
    color: rgba(10,10,10,0.3); text-align: right; max-width: 360px;
}
.exp-services-sub em { color: rgba(10,10,10,0.6); font-style: normal; font-weight: 600; }

/* ── Accordion rows ── */
.exp-svc-list {
    padding: 0 var(--pad);
    border-top: 1px solid rgba(10,10,10,0.1);
    max-width: var(--content-max); margin: 0 auto;
}

.exp-svc-row {
    border-bottom: 1px solid rgba(10,10,10,0.1);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; overflow: hidden;
}

.exp-svc-list:hover .exp-svc-row { opacity: 0.35; }
.exp-svc-list:hover .exp-svc-row:hover { opacity: 1; }

.exp-svc-row::after {
    content: ''; position: absolute; bottom: -1px; left: 0;
    width: 100%; height: 2px; background: var(--blue);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.exp-svc-row:hover::after { transform: scaleX(1); }

.exp-svc-header {
    display: grid;
    grid-template-columns: 60px 1fr 1fr 40px;
    align-items: center; gap: 20px;
    padding: 36px 0;
}

.exp-svc-num {
    font-weight: 900; font-size: 12px; letter-spacing: 4px;
    color: var(--blue);
    display: flex; align-items: center; gap: 10px;
}
.exp-svc-num-line {
    width: 20px; height: 1px; background: var(--blue);
    display: none;
}

.exp-svc-name {
    font-weight: 900; font-size: clamp(24px, 3.5vw, 48px);
    letter-spacing: -2px; line-height: 1;
    text-transform: uppercase;
    color: var(--black);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0;
}
.exp-svc-row:hover .exp-svc-name { transform: translateX(10px); }

.exp-svc-brief {
    font-weight: 300; font-size: 14px; line-height: 1.6;
    color: rgba(10,10,10,0.45); max-width: 400px;
    transition: color 0.4s ease; margin: 0;
}
.exp-svc-row:hover .exp-svc-brief { color: rgba(10,10,10,0.7); }

.exp-svc-toggle {
    font-size: 20px; color: rgba(10,10,10,0.15);
    text-align: right;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    user-select: none;
}
.exp-svc-row:hover .exp-svc-toggle { color: var(--blue); }
.exp-svc-row.is-open .exp-svc-toggle { transform: rotate(45deg); color: var(--blue); }

/* Expanded detail */
.exp-svc-detail {
    max-height: 0; overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 0 0 80px;
}
.exp-svc-row.is-open .exp-svc-detail {
    max-height: 400px;
    padding: 0 0 40px 80px;
}

.exp-svc-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; align-items: start;
}

.exp-svc-desc {
    font-weight: 300; font-size: 15px; line-height: 1.85;
    color: rgba(10,10,10,0.5); max-width: 450px; margin: 0;
}

.exp-svc-services {
    border-top: 1px solid rgba(10,10,10,0.08);
}
.exp-srv {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(10,10,10,0.06);
    transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
    cursor: default;
}
.exp-srv:hover { padding-left: 12px; }
.exp-srv:hover .exp-srv-dot { background: var(--blue); transform: scale(1.6); }
.exp-srv-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: rgba(10,10,10,0.2); flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
}
.exp-srv-name {
    font-weight: 500; font-size: 13px; letter-spacing: 0.3px;
    color: rgba(10,10,10,0.7);
    transition: color 0.3s ease;
}
.exp-srv:hover .exp-srv-name { color: var(--black); }

/* ── Gallery strip (compact) ── */
.exp-gallery {
    padding: 60px var(--pad) 0;
    max-width: var(--content-max); margin: 0 auto;
}
.exp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.exp-gallery-img {
    overflow: hidden; border-radius: 6px;
    aspect-ratio: 4/5;
}
.exp-gallery-img img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.08);
    transition: transform 1.2s cubic-bezier(0.23,1,0.32,1);
}
.exp-gallery-img:hover img { transform: scale(1.02); }

/* ── Marquee ── */
.exp-marquee {
    padding: 40px 0; overflow: hidden;
    border-top: 1px solid rgba(10,10,10,0.06);
    border-bottom: 1px solid rgba(10,10,10,0.06);
    background: var(--cream);
}
.exp-marquee-track {
    display: flex; gap: 60px;
    white-space: nowrap; will-change: transform;
}
.exp-marquee-item {
    font-weight: 900; font-size: clamp(40px, 5vw, 72px);
    text-transform: uppercase; letter-spacing: -2px;
    color: rgba(10,10,10,0.06); flex-shrink: 0;
}
.exp-marquee-dot {
    display: inline-block; width: 12px; height: 12px;
    border-radius: 50%; background: var(--blue); opacity: 0.15;
    vertical-align: middle; margin: 0 30px;
}

/* ── Stats ── */
.exp-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--black);
}
.exp-stat {
    padding: 80px 50px;
    border-right: 1px solid rgba(255,255,255,0.04);
    text-align: center;
}
.exp-stat:last-child { border: none; }
.exp-stat-num {
    font-weight: 900; font-size: clamp(48px, 5vw, 72px);
    letter-spacing: -3px; color: var(--blue);
    margin-bottom: 10px;
}
.exp-stat-label {
    font-weight: 400; font-size: 11px; letter-spacing: 2px;
    text-transform: uppercase; color: rgba(255,255,255,0.3);
}

/* ── Process ── */
.exp-process {
    padding: 140px var(--pad);
}
.exp-process-inner {
    max-width: var(--content-max); margin: 0 auto;
}
.exp-process-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 80px;
}
.exp-process-eyebrow {
    display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.exp-process-eyebrow-line { width: 40px; height: 1px; background: var(--blue); }
.exp-process-eyebrow-text {
    font-weight: 700; font-size: 11px; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--blue);
}
.exp-process-title {
    font-weight: 900; font-size: clamp(36px, 4vw, 64px);
    letter-spacing: -3px; text-transform: uppercase;
    line-height: 0.95; margin: 0;
}
.exp-process-count {
    font-weight: 100; font-size: clamp(80px, 8vw, 140px);
    letter-spacing: -5px; color: rgba(10,10,10,0.05); line-height: 1;
}

.exp-steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    border-top: 1px solid rgba(10,10,10,0.1);
}
.exp-step {
    padding: 40px 30px 40px 0;
    border-right: 1px solid rgba(10,10,10,0.06);
}
.exp-step:last-child { border-right: none; }
.exp-step-line {
    width: 100%; height: 2px; background: var(--blue);
    margin-bottom: 30px;
    transform-origin: left; transform: scaleX(0);
}
.exp-step-num {
    font-weight: 900; font-size: 12px; letter-spacing: 3px;
    color: var(--blue); margin-bottom: 16px;
}
.exp-step-title {
    font-weight: 900; font-size: 18px; letter-spacing: -0.5px;
    text-transform: uppercase; margin-bottom: 14px;
}
.exp-step-desc {
    font-weight: 300; font-size: 14px; line-height: 1.8;
    color: rgba(10,10,10,0.4);
}

/* ── CTA ── */
.exp-cta {
    padding: 120px var(--pad);
    text-align: center;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}
.exp-cta-inner {
    position: relative;
    z-index: 3;
}

/* Marquee background */
.exp-cta-marquee {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    gap: 0;
}
.exp-cta-marquee-row {
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: rgba(10,10,10,0.04);
    white-space: nowrap;
    display: flex;
    width: max-content;
}
.exp-cta-marquee-row span { display: inline-block; }
.exp-marquee-rtl { animation: exp-marquee-rtl 30s linear infinite; }
.exp-marquee-ltr { animation: exp-marquee-ltr 34s linear infinite; }
@keyframes exp-marquee-rtl { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes exp-marquee-ltr { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* Star accents */
.exp-cta-star { position: absolute; z-index: 2; pointer-events: none; animation: starSpin 18s linear infinite; }
.exp-cta-star svg { width: 100%; height: 100%; }
.exp-star-tl { top: 10%; left: 4%; width: clamp(45px, 5.5vw, 80px); height: clamp(45px, 5.5vw, 80px); }
.exp-star-br { bottom: 10%; right: 4%; width: clamp(55px, 6.5vw, 95px); height: clamp(55px, 6.5vw, 95px); animation-direction: reverse; }
@keyframes starSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (max-width: 768px) {
    .exp-cta-marquee-row { font-size: clamp(22px, 7vw, 36px); }
    .exp-star-tl { width: 40px; height: 40px; }
    .exp-star-br { width: 50px; height: 50px; }
}
@media (max-width: 480px) {
    .exp-cta-star { display: none; }
    .exp-cta-marquee-row { font-size: 18px; }
}
.exp-cta-label {
    font-weight: 500; font-size: 10px; letter-spacing: 4px;
    text-transform: uppercase; color: var(--blue); margin-bottom: 30px;
}
.exp-cta-heading {
    font-weight: 900; font-size: clamp(36px, 5.5vw, 80px);
    text-transform: uppercase; letter-spacing: -4px;
    line-height: 0.95; margin-bottom: 20px;
    color: rgba(10,10,10,0.75);
}
.exp-cta-heading .cta-accent { color: var(--blue); opacity: 1; }
.exp-cta-sub {
    font-weight: 300; font-size: 15px; line-height: 1.8;
    color: rgba(10,10,10,0.4); margin-bottom: 50px;
}
.exp-cta-btn {
    display: inline-flex; align-items: center; gap: 14px;
    font-weight: 700; font-size: 12px; letter-spacing: 2px;
    text-transform: uppercase; color: var(--black);
    text-decoration: none;
    padding: 20px 0; border-bottom: 1.5px solid var(--blue);
    transition: gap 0.5s cubic-bezier(0.16,1,0.3,1), color 0.3s ease;
}
.exp-cta-btn:hover { gap: 22px; color: var(--blue); }
.exp-cta-btn-arrow {
    width: 36px; height: 36px;
    border: 1.5px solid rgba(10,10,10,0.12); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.exp-cta-btn:hover .exp-cta-btn-arrow {
    background: var(--blue); border-color: var(--blue); color: #fff;
}

/* ── Expertise Responsive ── */
@media (max-width: 900px) {
    .hero { padding-bottom: 60px; }
    .hero-scroll { display: none; }
    .exp-services-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .exp-services-sub { text-align: left; }
    .exp-svc-header { grid-template-columns: 50px 1fr 40px; }
    .exp-svc-brief { display: none; }
    .exp-svc-detail { padding-left: 50px !important; }
    .exp-svc-detail-grid { grid-template-columns: 1fr; gap: 24px; }
    .exp-gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .exp-stats { grid-template-columns: 1fr; }
    .exp-stat { padding: 50px 30px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.04); }
    .exp-steps { grid-template-columns: 1fr 1fr; }
    .exp-step { padding: 30px 20px 30px 0; }
    .exp-process-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .exp-cta { padding: 120px var(--pad); }
}

@media (max-width: 600px) {
    .exp-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .exp-steps { grid-template-columns: 1fr; }
    .exp-step { border-right: none; border-bottom: 1px solid rgba(10,10,10,0.06); padding: 30px 0; }
    .exp-svc-name { font-size: 22px; letter-spacing: -1px; }
}

/* ========================================
   TEAM PAGE
   ======================================== */

/* ── Team page-specific overrides ── */
.page-template-template-team {
    background: var(--white) !important;
    color: var(--black) !important;
}

/* =============================================
   HERO SECTION
   ============================================= */
.team-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0 var(--pad) 80px;
    overflow: hidden;
}

.team-hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.team-hero-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at 70% 30%, var(--blue-glow) 0%, transparent 60%);
    z-index: 1;
}

.team-hero-grid-lines {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    opacity: 0.04;
}

.team-hero-grid-line {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--black);
}

.team-hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.team-hero-eyebrow {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--emperor);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.team-hero-eyebrow::before {
    content: '';
    width: 40px; height: 1px;
    background: var(--blue);
}

.team-hero-title {
    font-size: clamp(60px, 10vw, 140px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -4px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.team-hero-title .line {
    display: block;
    overflow: hidden;
}

.team-hero-title .line-inner {
    display: block;
    transform: translateY(105%);
}

.team-hero-title .outline {
    -webkit-text-stroke: 1.5px var(--black);
    color: transparent;
}

.team-hero-title .blue { color: var(--blue); }

.team-hero-description {
    max-width: 500px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--emperor);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.team-hero-scroll-line {
    position: absolute;
    right: var(--pad);
    bottom: 0;
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--blue));
    z-index: 2;
}

.team-hero-scroll-line::after {
    content: 'SCROLL';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    letter-spacing: 3px;
    color: var(--emperor);
    white-space: nowrap;
}

/* =============================================
   MARQUEE
   ============================================= */
.marquee-section {
    padding: 60px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: team-marquee 25s linear infinite;
    width: max-content;
}

.marquee-item {
    font-size: clamp(30px, 5vw, 60px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    white-space: nowrap;
    padding: 0 30px;
    color: rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 30px;
}

.marquee-item .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
}

@keyframes team-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   TEAM INTRO
   ============================================= */
.team-intro {
    padding: 150px var(--pad);
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.team-intro-label {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 25px;
}

.team-intro-heading {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.team-intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--emperor);
    font-weight: 300;
}

.team-intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.stat {
    padding: 35px 0;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--black);
    margin-bottom: 8px;
}

.stat-number .blue { color: var(--blue); }

.stat-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--emperor);
}

/* =============================================
   LEADERSHIP SECTION
   ============================================= */
.leadership {
    padding: 100px var(--pad) 150px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.section-header-left {
    max-width: 600px;
}

.section-label {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
}

.section-count {
    font-size: 120px;
    font-weight: 900;
    letter-spacing: -5px;
    -webkit-text-stroke: 1px rgba(0,0,0,0.08);
    color: transparent;
    line-height: 1;
}

/* =============================================
   TEAM CARDS -- LEADERSHIP
   ============================================= */
.leaders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.leader-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(0,0,0,0.01);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 2px;
    overflow: hidden;
    transition: border-color 0.5s, background 0.5s;
}

.leader-card:hover {
    border-color: rgba(0, 51, 255, 0.3);
    background: rgba(0,0,0,0.02);
}

.leader-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

.leader-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 40%;
    background: linear-gradient(to top, rgba(255,255,255,0.4), transparent);
    z-index: 1;
}

.leader-img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.8s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.leader-card:hover .leader-img {
    filter: grayscale(0%) contrast(1.05);
    transform: scale(1.05);
}

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

.leader-img-placeholder svg {
    width: 50%;
    opacity: 0.12;
    fill: var(--black);
    transition: opacity 0.5s;
}

.leader-card:hover .leader-img-placeholder svg {
    opacity: 0.2;
}

.leader-img-index {
    position: absolute;
    top: 20px; left: 20px;
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(0,0,0,0.25);
    z-index: 2;
}

.leader-info {
    padding: var(--pad) 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.leader-role {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 15px;
}

.leader-name {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.leader-bio {
    font-size: 14px;
    line-height: 1.7;
    color: var(--emperor);
    font-weight: 300;
    margin-bottom: 30px;
}

.leader-socials {
    display: flex;
    gap: 15px;
}

.leader-social-link {
    width: 36px; height: 36px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--emperor);
    font-size: 12px;
    transition: all 0.3s;
}

.leader-social-link:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}

/* =============================================
   TEAM GRID
   ============================================= */
.team-section {
    padding: 100px var(--pad) 150px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.team-card-img {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

.team-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s;
}

.team-card:hover .team-card-img::after { opacity: 1; }

.team-card-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card-placeholder .initials {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -2px;
    color: rgba(0,0,0,0.06);
    transition: color 0.5s;
}

.team-card:hover .team-card-placeholder .initials {
    color: rgba(0,0,0,0.12);
}

.team-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.8s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
}

.team-card:hover .team-card-img img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

.team-card-info {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s var(--ease-out-expo);
}

.team-card:hover .team-card-info {
    transform: translateY(0);
    opacity: 1;
}

.team-card-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--white);
    margin-bottom: 5px;
}

.team-card-role {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
}

.team-card-line {
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--blue);
    transition: width 0.6s var(--ease-out-expo);
}

.team-card:hover .team-card-line { width: 100%; }

/* =============================================
   VALUES / CULTURE SECTION
   ============================================= */
.culture-section {
    padding: 150px var(--pad);
    background: linear-gradient(180deg, #f8f8fa 0%, #f0f0f5 50%, #f8f8fa 100%);
    position: relative;
    overflow: hidden;
}

.culture-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
    pointer-events: none;
}

.culture-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.culture-header {
    text-align: center;
    margin-bottom: 100px;
}

.culture-title {
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.value-item {
    padding: var(--pad) 30px;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background 0.5s, border-color 0.5s;
}

.value-item:hover {
    background: rgba(0, 51, 255, 0.03);
    border-color: rgba(0, 51, 255, 0.15);
}

.value-icon {
    width: 50px; height: 50px;
    margin: 0 auto 25px;
    opacity: 0.5;
    transition: opacity 0.5s;
}

.value-item:hover .value-icon { opacity: 1; }

.value-icon svg {
    width: 100%; height: 100%;
    fill: var(--blue);
}

.value-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.value-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--emperor);
    font-weight: 300;
}

/* =============================================
   JOIN CTA
   ============================================= */
.join-section {
    padding: 150px var(--pad);
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.join-label {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 30px;
}

.join-heading {
    font-size: clamp(48px, 7vw, 100px);
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 0.95;
    margin-bottom: 40px;
}

.join-heading .outline {
    -webkit-text-stroke: 1.5px var(--black);
    color: transparent;
}

.join-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--emperor);
    font-weight: 300;
    max-width: 550px;
    margin: 0 auto 50px;
}

.join-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px var(--pad);
    border: 1px solid var(--black);
    background: transparent;
    color: var(--black);
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.join-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 100%;
    background: var(--blue);
    transition: width 0.5s var(--ease-out-expo);
    z-index: -1;
}

.join-btn:hover {
    border-color: var(--blue);
    color: var(--white);
}

.join-btn:hover::before { width: 100%; }

.join-btn .arrow {
    transition: transform 0.4s var(--ease-out-expo);
}

.join-btn:hover .arrow { transform: translateX(5px); }

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal-line .line-inner { transform: translateY(105%); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
    .leaders-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .team-intro { grid-template-columns: 1fr; gap: 60px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-hero { padding: 0 30px 60px; }
    .team-hero-title { letter-spacing: -2px; }
    .section-count { display: none; }
    .leader-card { grid-template-columns: 1fr; }
    .leader-img-wrap { aspect-ratio: 4/3; }
}

@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .team-hero { padding: 0 20px var(--pad); }
    .team-intro, .leadership, .team-section, .join-section, .culture-section { padding-left: 20px; padding-right: 20px; }
}

/* =====================================================================
   HOMEPAGE PAGE-SPECIFIC
   ===================================================================== */

/* ═══ BRAND STATEMENT — EDITORIAL ASYMMETRIC ═══ */
.brand-statement { position: relative; height: 100vh; width: 100%; overflow: hidden; margin-top: -50px; padding-top: 50px; z-index: 1; }
.brand-statement-img { position: absolute; top: -12%; left: 0; width: 100%; height: 115%; object-fit: cover; object-position: center 85%; will-change: transform; filter: brightness(0.65) contrast(1.05); }
.brand-statement-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.08) 100%); pointer-events: none; }
.brand-statement-content { position: relative; z-index: 2; width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 0 80px 12vh; gap: 0; }
.bs-context { flex: 0 0 auto; text-align: left; padding-bottom: 8px; }
.bs-context-text { font-size: clamp(34px, 3.8vw, 62px); font-weight: 900; line-height: 0.82; letter-spacing: -0.04em; text-transform: uppercase; color: rgba(255,255,255,0.92); }
.bs-context-line { display: block; overflow: hidden; }
.bs-context-word { display: inline-block; transform: translateY(110%); }
.bs-statement { position: absolute; right: 6vw; bottom: 12vh; z-index: 2; text-align: right; will-change: transform; }
.bs-statement-text { font-size: clamp(58px, 8vw, 140px); font-weight: 900; line-height: 0.82; letter-spacing: -0.055em; text-transform: uppercase; color: var(--color-blue, #0034ff); overflow: hidden; }
.bs-statement-word { display: inline-block; transform: translateY(110%); }
.bs-tagline { position: absolute; top: 15vh; left: 80px; z-index: 2; max-width: 320px; }
.bs-tagline-line { width: 40px; height: 1px; background: var(--color-blue, #0034ff); margin-bottom: 16px; transform: scaleX(0); transform-origin: left; }
.bs-tagline-text { font-size: 13px; font-weight: 400; line-height: 1.6; color: rgba(255,255,255,0.35); letter-spacing: 0.01em; }

/* ═══ BRAND STATEMENT — LAPTOP (14" MacBook) ═══ */
@media (max-width: 1440px) {
  .brand-statement-content { padding: 0 60px 10vh; }
  .bs-statement { right: 6vw; }
  .bs-statement-text { font-size: clamp(52px, 7vw, 110px); }
  .bs-context-text { font-size: clamp(30px, 3.2vw, 50px); }
}

/* ═══ BRAND STATEMENT — TABLET ═══ */
@media (max-width: 1024px) {
  .brand-statement-content { padding: 0 40px 10vh; }
  .bs-tagline { left: 40px; }
  .bs-statement { right: 4vw; }
}

/* ═══ BRAND STATEMENT — MOBILE ═══ */
@media (max-width: 768px) {
  .brand-statement { height: 100vh; min-height: 600px; margin-top: -1px; /* kill seam */ }
  .brand-statement-img { object-position: 55% 65%; filter: brightness(0.4) contrast(1.1); }
  .brand-statement-overlay { background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.35) 100%); }
  .brand-statement-content { padding: 0 28px 10vh; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px; }
  .bs-context { padding-bottom: 0; order: 1; }
  .bs-statement { position: relative; right: auto; top: auto; bottom: auto; text-align: left; order: 2; }
  .bs-statement-text { font-size: clamp(52px, 15vw, 78px); }
  .bs-context-text { font-size: clamp(18px, 4.5vw, 24px); color: rgba(255,255,255,0.65); }
  .bs-tagline { display: none; }
}

@media (max-width: 480px) {
  .brand-statement { min-height: 550px; }
  .brand-statement-content { padding: 0 22px 9vh; }
  .bs-statement-text { font-size: clamp(46px, 14vw, 68px); }
  .bs-context-text { font-size: clamp(16px, 4.2vw, 22px); }
}

/* ═══ RESET — kill WP block library constraints ═══ */
.services, .services *, .selected-work, .selected-work * { box-sizing: border-box; }
.services, .selected-work { width: 100vw !important; max-width: 100vw !important; margin-left: 0 !important; margin-right: 0 !important; position: relative; }

/* ═══ SERVICES — WHAT WE DO ═══ */
.services { background: var(--color-white, #f5f5f3); padding: 140px 0 100px; overflow: hidden; }
.services-header { padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }
.services-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.services-eyebrow-line { width: 40px; height: 1px; background: var(--color-blue, #0034ff); }
.services-eyebrow-text { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-blue, #0034ff); }
.services-sub { font-size: 15px; line-height: 1.7; color: rgba(0,0,0,0.3); text-align: right; max-width: 340px; }
.services-sub em { color: rgba(0,0,0,0.6); font-style: normal; font-weight: 600; }
.five-services-list { padding: 0 var(--pad); border-top: 1px solid rgba(0,0,0,0.1); }
.service-row { display: grid !important; grid-template-columns: 50px 1fr 1fr 40px !important; align-items: center !important; gap: 20px !important; padding: 36px 0 !important; border-bottom: 1px solid rgba(0,0,0,0.1) !important; cursor: pointer; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); position: relative; text-decoration: none !important; color: inherit !important; box-shadow: none !important; background: none !important; width: 100% !important; }
.five-services-list:hover .service-row { opacity: 0.35; }
.five-services-list:hover .service-row:hover { opacity: 1; }
.service-row:hover { padding-left: 12px !important; }
.service-row::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--color-blue, #0034ff); transform: scaleX(0); transform-origin: left; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.service-row:hover::after { transform: scaleX(1); }
.service-row .service-num { font-size: 12px !important; font-weight: 400 !important; color: rgba(0,0,0,0.35) !important; font-variant-numeric: tabular-nums; margin: 0 !important; padding: 0 !important; }
.service-row .service-name { font-size: clamp(24px, 3.5vw, 48px) !important; font-weight: 900 !important; letter-spacing: -0.04em !important; line-height: 1 !important; color: var(--color-black, #0a0a0a) !important; text-transform: uppercase !important; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); margin: 0 !important; padding: 0 !important; }
.service-row:hover .service-name { transform: translateX(10px); }
.service-row .service-desc { font-size: 14px !important; line-height: 1.6 !important; color: rgba(0,0,0,0.55) !important; max-width: 400px !important; transition: color 0.4s ease; margin: 0 !important; padding: 0 !important; }
.service-row:hover .service-desc { color: rgba(0,0,0,0.75) !important; }
.service-arrow { font-size: 20px; color: rgba(0,0,0,0.15); text-align: right; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease; }
.service-row:hover .service-arrow { transform: translateX(4px); color: var(--color-blue, #0034ff); }
/* ═══ SELECTED WORK — SCALE-UP + HORIZONTAL SCROLL ═══ */
.selected-work { background: var(--color-white, #f5f5f3); overflow: visible; padding: 0; }

/* Scale-up wrapper — starts as a "card" and zooms to full viewport */
.sw-scale-wrap { position: relative; margin: 0 40px; border-radius: 20px; overflow: hidden; background: var(--color-white, #f5f5f3); will-change: transform; transform-origin: center center; }

/* Horizontal scroll */
.sw-hscroll-wrap { position: relative; overflow: hidden; height: 100vh; }
.sw-hscroll-track { display: flex; gap: 30px; padding: 0 var(--pad); will-change: transform; height: 100%; align-items: center; }

/* Intro slide — first element in the horizontal track */
.sw-intro-slide { flex-shrink: 0; width: 32vw; display: flex; flex-direction: column; justify-content: center; padding-right: 40px; height: 100%; }
.sw-heading { font-size: clamp(48px, 5.5vw, 90px); font-weight: 900; line-height: 0.92; letter-spacing: -0.05em; color: #111; margin-bottom: 30px; }
.sw-heading .outline { -webkit-text-stroke: 1.5px #111; color: transparent; }
.sw-intro-text { font-size: 14px; line-height: 1.7; color: rgba(0,0,0,0.35); max-width: 300px; margin-bottom: 28px; }
.sw-view-link { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #111; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: gap 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.sw-view-link:hover { gap: 18px; }
.sw-view-link-arrow { width: 36px; height: 36px; border: 1.5px solid rgba(0,0,0,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.sw-view-link:hover .sw-view-link-arrow { background: var(--color-blue, #0034ff); border-color: var(--color-blue, #0034ff); color: #fff; transform: scale(1.1); }
.sw-card { flex-shrink: 0; width: 38vw; position: relative; cursor: pointer; padding: 30px 0; }
.sw-card-link { position: absolute; inset: 0; z-index: 6; }
.sw-card-img-wrap { position: relative; overflow: hidden; border-radius: 10px; height: calc(100vh - 160px); background: #e8e8e4; }
.sw-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease; filter: brightness(0.92) saturate(0.95); transform: scale(1.08); }
.sw-card:hover .sw-card-img { transform: scale(1.02); filter: brightness(1) saturate(1.1); }
.sw-card-overlay { position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5) 100%); opacity: 1; transition: opacity 0.5s ease; pointer-events: none; }
.sw-card:hover .sw-card-overlay { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.65) 100%); }
.sw-card-tags { position: absolute; top: 20px; left: 20px; display: flex; gap: 6px; z-index: 3; }
.sw-card-tag { padding: 5px 12px; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-radius: 20px; font-size: 10px; font-weight: 700; color: #111; letter-spacing: 0.02em; }
.sw-card-tag.blue { background: var(--color-blue, #0034ff); color: #fff; }
.sw-card-num { position: absolute; top: 22px; right: 24px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.3); z-index: 3; opacity: 0; transition: opacity 0.4s ease; }
.sw-card:hover .sw-card-num { opacity: 1; }
.sw-card-hover-info { position: absolute; bottom: 160px; left: 0; right: 0; padding: 0 24px; z-index: 4; transform: translateY(10px); opacity: 0; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.sw-card:hover .sw-card-hover-info { transform: translateY(0); opacity: 1; }
.sw-card-hover-desc { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.75); max-width: 320px; }
.sw-card-hover-metric { display: inline-block; margin-top: 10px; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-blue, #0034ff); padding: 4px 10px; border: 1px solid rgba(0, 52, 255, 0.35); border-radius: 20px; }
.sw-card-arrow { position: absolute; bottom: 30px; right: 30px; width: 42px; height: 42px; border: 1.5px solid rgba(255,255,255,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; z-index: 5; opacity: 0; transform: scale(0.8); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.sw-card:hover .sw-card-arrow { opacity: 1; transform: scale(1); }
.sw-card-info { position: absolute; bottom: 30px; left: 0; padding: 0 24px; z-index: 4; }
.sw-card-category { font-size: clamp(20px, 2.4vw, 36px); font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; color: #fff; line-height: 1.1; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.sw-card-name { font-size: clamp(24px, 2.8vw, 42px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: #fff; margin-bottom: 8px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.sw-card-client-desc { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.5); max-width: 360px; }

/* CTA end-card */
.sw-cta-card { flex-shrink: 0; width: 38vw; display: flex; align-items: center; justify-content: center; }
.sw-cta-inner { text-align: center; padding: 0 40px; }
.sw-cta-label { font-size: 13px; font-weight: 400; color: rgba(0,0,0,0.25); margin-bottom: 24px; letter-spacing: 0.02em; }
.sw-cta-heading { font-size: clamp(36px, 4vw, 64px); font-weight: 900; line-height: 0.95; letter-spacing: -0.04em; color: var(--color-black, #0a0a0a); margin-bottom: 40px; }
.sw-cta-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--color-blue, #0034ff); color: #fff; text-decoration: none; padding: 18px 44px; border-radius: 60px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.sw-cta-btn:hover { gap: 20px; background: var(--color-black, #0a0a0a); transform: scale(1.05); }

/* Progress bar */
.sw-progress { padding: 40px var(--pad) 0; display: flex; align-items: center; gap: 20px; }
.sw-progress-bar { flex: 1; height: 2px; background: rgba(0,0,0,0.06); border-radius: 2px; overflow: hidden; position: relative; }
.sw-progress-fill { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: var(--color-blue, #0034ff); border-radius: 2px; transition: width 0.1s linear; }
.sw-progress-text { font-size: 11px; font-weight: 600; color: rgba(0,0,0,0.2); letter-spacing: 0.05em; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Progress — pinned bottom of viewport during scroll */
.sw-progress-wrap { position: absolute; bottom: 30px; left: var(--pad); right: var(--pad); z-index: 10; }

/* Stats */
.sw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 120px var(--pad) 0; background: rgba(0,0,0,0.06); border-radius: 12px; overflow: hidden; }
.sw-stat { background: var(--color-white, #f5f5f3); padding: 50px 40px; text-align: center; }
.sw-stat-num { font-size: clamp(40px, 4vw, 64px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: #111; }
.sw-stat-num .accent { color: var(--color-blue, #0034ff); }
.sw-stat-label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(0,0,0,0.22); margin-top: 12px; }

/* ═══ LAPTOP — Tighter spacing ═══ */
@media (max-width: 1440px) {
  .services-header { padding: 0 40px; }
  .five-services-list { padding: 0 40px; }
  .sw-stats { margin: 100px 40px 0; }
}

/* ═══ MOBILE — Bento grid ═══ */
@media (max-width: 1024px) {
  .services-header { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 30px; }
  .services-sub { text-align: left; }
  .five-services-list { padding: 0 30px; }
  .service-row { grid-template-columns: 40px 1fr 30px; gap: 12px; padding: 28px 0; }
  .service-desc { display: none; }
  .service-name { font-size: 22px !important; letter-spacing: -1px !important; }

  .sw-scale-wrap { margin: 0 !important; border-radius: 0 !important; transform: none !important; }
  .sw-hscroll-wrap { height: auto !important; }
  .sw-intro-slide { width: 100% !important; padding: 60px 30px 30px !important; height: auto !important; }

  /* Kill horizontal scroll, switch to bento grid */
  .sw-hscroll-wrap { overflow: visible !important; }
  .sw-hscroll-track { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 30px; transform: none !important; }
  .sw-card { width: 100% !important; padding: 0 !important; }
  .sw-card-img-wrap { aspect-ratio: 4 / 5; height: auto !important; }
  .sw-card:nth-child(1) { grid-column: 1 / -1; }
  .sw-card:nth-child(1) .sw-card-img-wrap { aspect-ratio: 16 / 10; }
  .sw-card-name { font-size: clamp(18px, 4vw, 28px); }
  .sw-card-client-desc { font-size: 11px; }
  .sw-cta-card { grid-column: 1 / -1; width: 100% !important; padding: 60px 0; }
  .sw-cta-heading { font-size: clamp(28px, 6vw, 42px); }

  .sw-progress { padding: 30px 30px 0; }
  .sw-stats { grid-template-columns: repeat(2, 1fr); margin: 80px 30px 0; }
}

@media (max-width: 600px) {
  .services { padding: 100px 0 60px; }
  .service-row { grid-template-columns: 1fr 30px; }
  .service-num { display: none; }
  .sw-hscroll-track { grid-template-columns: 1fr !important; }
  .sw-card:nth-child(1) .sw-card-img-wrap { aspect-ratio: 3 / 4; }
  .sw-card-img-wrap { aspect-ratio: 3 / 4; }
}

/* ═══ CTA — EDITORIAL STRIP ═══ */
.cta-strip { position: relative; background: #0a0a0a; overflow: hidden; padding: 60px 0; display: flex; align-items: center; justify-content: center; }

/* Stacked repeating text background — single band */
.cta-stacked-bg { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; pointer-events: none; z-index: 1; overflow: hidden; }
.cta-stacked-row { font-size: clamp(40px, 5.5vw, 80px); font-weight: 900; letter-spacing: -0.04em; text-transform: uppercase; line-height: 1; color: rgba(255,255,255,0.04); white-space: nowrap; user-select: none; display: flex; width: max-content; }
.cta-stacked-row span { display: inline-block; }
.cta-scroll-rtl { animation: cta-marquee-rtl 25s linear infinite; }
.cta-scroll-ltr { animation: cta-marquee-ltr 30s linear infinite; }
@keyframes cta-marquee-rtl { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes cta-marquee-ltr { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* Four-pointed star shapes — scaled for strip */
.cta-star { position: absolute; z-index: 2; pointer-events: none; }
.cta-star svg { width: 100%; height: 100%; }
.cta-star-tl { top: 12%; left: 3%; width: clamp(50px, 6vw, 90px); height: clamp(50px, 6vw, 90px); }
.cta-star-tr { display: none; }
.cta-star-bl { display: none; }
.cta-star-br { bottom: 12%; right: 3%; width: clamp(60px, 7vw, 100px); height: clamp(60px, 7vw, 100px); }

/* Main content — horizontal row layout */
.cta-editorial { position: relative; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 50px; width: 100%; max-width: var(--content-max); padding: 0 var(--pad); }

/* Left: headline block */
.cta-strip .cta-label { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-blue, #0034ff); margin-bottom: 12px; }
.cta-strip .cta-headline { margin-bottom: 0; }
.cta-strip .cta-headline .line { display: block; overflow: hidden; }
.cta-strip .cta-headline .line-inner { display: block; font-size: clamp(32px, 4vw, 60px); font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; color: #fff; text-transform: uppercase; }
.cta-strip .cta-underline { width: 40px; height: 2px; background: var(--color-blue, #0034ff); margin: 16px 0 0; }

/* Center: mascot — compact */
.cta-mascot-center { position: relative; flex-shrink: 0; width: clamp(140px, 14vw, 200px); height: clamp(140px, 14vw, 200px); }
.cta-mascot-center .mascot-container { width: 100%; height: 100%; position: relative; }
.cta-mascot-center .pulse-ring { position: absolute; inset: -12px; border: 2px solid var(--color-blue, #0034ff); border-radius: 50%; opacity: 0; }

/* Right: sub + button */
.cta-strip-right { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 340px; }
.cta-strip .cta-sub { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.35); margin: 0; }
.cta-strip .cta-btn { display: inline-flex; align-items: center; gap: 12px; background: transparent; color: #fff; text-decoration: none; padding: 14px 36px; border: 1.5px solid rgba(255,255,255,0.2); border-radius: 60px; font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; position: relative; overflow: hidden; }
.cta-strip .cta-btn::before { content: ''; position: absolute; inset: 0; background: var(--color-blue, #0034ff); border-radius: 60px; transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); z-index: -1; }
.cta-strip .cta-btn:hover { border-color: var(--color-blue, #0034ff); gap: 18px; }
.cta-strip .cta-btn:hover::before { transform: scaleX(1); }
.cta-strip .cta-btn-arrow { display: inline-block; transition: transform 0.4s ease; }
.cta-strip .cta-btn:hover .cta-btn-arrow { transform: translateX(4px); }

/* Divider line at top */
.cta-strip .cta-divider { position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: rgba(255,255,255,0.08); }

/* SVG mascot lines */
.cta-strip .m-line { fill: #fff; }
.cta-strip .m-blue { fill: var(--color-blue, #0034ff); }

@keyframes pulse-out { 0% { transform: scale(0.8); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }

/* ═══ CTA — TABLET ═══ */
@media (max-width: 1024px) {
  .cta-strip { padding: 50px 0; }
  .cta-editorial { flex-direction: column !important; align-items: center !important; text-align: center; gap: 28px; padding: 0 40px; }
  .cta-editorial > * { width: 100%; max-width: 100%; }
  .cta-star-tl { width: 50px; height: 50px; }
  .cta-star-br { width: 60px; height: 60px; }
  .cta-mascot-center { width: 140px !important; height: 140px !important; margin: 0 auto; }
  .cta-strip-right { align-items: center; text-align: center; max-width: 100%; }
  .cta-strip .cta-underline { margin: 14px auto 0; }
  .cta-scroll-rtl { animation-duration: 20s; }
  .cta-scroll-ltr { animation-duration: 24s; }
}

/* ═══ CTA — MOBILE ═══ */
@media (max-width: 768px) {
  .cta-strip { padding: 48px 0; }
  .cta-editorial { flex-direction: column !important; align-items: center !important; text-align: center; gap: 24px; padding: 0 24px; width: 100%; box-sizing: border-box; }
  .cta-editorial > * { width: 100%; max-width: 100%; flex-shrink: 1; }
  .cta-stacked-row { font-size: clamp(24px, 8vw, 40px); }
  .cta-scroll-rtl { animation-duration: 15s; }
  .cta-scroll-ltr { animation-duration: 18s; }
  .cta-mascot-center { width: 120px !important; height: 120px !important; margin: 0 auto; flex-shrink: 0; }
  .cta-strip .cta-label { margin-bottom: 8px; }
  .cta-strip .cta-headline { width: 100%; }
  .cta-strip .cta-headline .line-inner { font-size: clamp(24px, 7vw, 36px); }
  .cta-strip .cta-underline { margin: 12px auto 0; }
  .cta-strip-right { align-items: center; text-align: center; max-width: 100%; width: 100%; }
  .cta-strip .cta-sub { font-size: 13px; line-height: 1.5; }
  .cta-strip .cta-btn { padding: 14px 32px; font-size: 10px; }
  .cta-star-tl, .cta-star-br { display: none; }
  .cta-strip .cta-divider { left: 24px; right: 24px; }
}

/* ═══ CTA — SMALL MOBILE ═══ */
@media (max-width: 400px) {
  .cta-strip { padding: 36px 0; }
  .cta-editorial { gap: 16px; padding: 0 16px; }
  .cta-strip .cta-headline .line-inner { font-size: 22px; }
  .cta-mascot-center { width: 90px !important; height: 90px !important; }
  .cta-stacked-row { font-size: 20px; }
  .cta-scroll-rtl { animation-duration: 12s; }
  .cta-scroll-ltr { animation-duration: 14s; }
  .cta-strip .cta-sub { font-size: 12px; }
}

/* ========================================
   CONNECT PAGE
   ======================================== */

/* ── Page-level override ── */
body.page-template-template-connect {
    background: var(--white) !important;
    color: var(--black) !important;
}

/* ── Hero ── */
.connect-hero {
    height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center; position: relative; overflow: hidden;
}

.connect-hero-mascot {
    position: absolute; right: -5%; top: 50%;
    transform: translateY(-50%);
    width: 55%; max-width: 650px;
    opacity: 0.04; pointer-events: none;
    z-index: 0;
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.connect-hero-mascot svg { width: 100%; height: auto; }
.connect-hero:hover .connect-hero-mascot {
    opacity: 0.1;
    transform: translateY(-50%) translateX(-10px);
    animation: mascotBlink 1.8s ease forwards;
}
@keyframes mascotBlink {
    0%   { transform: translateY(-50%) translateX(-10px) scaleY(1); }
    18%  { transform: translateY(-50%) translateX(-10px) scaleY(0.93); }
    30%  { transform: translateY(-50%) translateX(-10px) scaleY(1); }
    100% { transform: translateY(-50%) translateX(-10px) scaleY(1); }
}

.connect-hero-label {
    font-weight: 400; font-size: 11px; letter-spacing: 5px;
    text-transform: uppercase; color: var(--blue); margin-bottom: 40px;
    overflow: hidden; position: relative; z-index: 1;
}
.connect-hero-label span { display: inline-block; transform: translateY(100%); }

.connect-hero-title {
    font-weight: 900; font-size: clamp(48px, 9vw, 140px);
    line-height: 0.92; letter-spacing: -4px; text-transform: uppercase;
    position: relative; z-index: 1;
}
.connect-hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.connect-hero-title .line-inner { display: block; transform: translateY(110%); }
.connect-hero-title .outline {
    color: transparent; -webkit-text-stroke: 1.5px rgba(10,10,10,0.2);
    transition: color 1s ease, -webkit-text-stroke-color 1s ease;
}
.connect-hero-title .blue {
    color: var(--blue);
    transition: color 0.7s ease;
}

/* ── Hero hover interactions — word-level ── */
.connect-hero-title .outline:hover {
    color: var(--blue);
    -webkit-text-stroke-color: transparent;
}
.connect-hero-title:has(.outline:hover) .blue {
    color: #0a0a0a;
}
.connect-hero-title .line:last-child:hover {
    transform: translateY(-6px);
}
.connect-hero-title .line:last-child:hover .blue {
    color: #0a0a0a;
}

.connect-hero-bottom {
    position: absolute; bottom: 40px; left: var(--pad); right: var(--pad);
    display: flex; justify-content: space-between; align-items: flex-end;
    opacity: 0; z-index: 1;
}
.connect-hero-bottom-text {
    font-family: var(--font-secondary);
    font-weight: 700; font-size: 13px; color: rgba(10,10,10,0.55);
    letter-spacing: 0.5px; max-width: 300px; line-height: 1.7;
}
.connect-hero-scroll {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.connect-hero-scroll-text {
    font-weight: 400; font-size: 9px; letter-spacing: 3px;
    text-transform: uppercase; color: rgba(10,10,10,0.4);
    writing-mode: vertical-rl;
}
.connect-hero-scroll-line {
    width: 1px; height: 50px; background: rgba(10,10,10,0.08);
    position: relative; overflow: hidden;
}
.connect-hero-scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0;
    width: 100%; height: 100%; background: var(--blue);
    animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse { 0% { top: -100%; } 50% { top: 100%; } 100% { top: 100%; } }

/* ── Divider ── */
.divider {
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(10,10,10,0.06), transparent);
}

/* ── Form Section ── */
.form-section {
    padding: 120px var(--pad) 80px;
    max-width: var(--content-max); margin: 0 auto;
    position: relative;
}

.form-header {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    margin-bottom: 70px;
}

.form-eyebrow {
    font-weight: 500; font-size: 10px; letter-spacing: 5px;
    text-transform: uppercase; color: var(--blue); margin-bottom: 30px;
    display: flex; align-items: center; gap: 16px;
}
.form-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--blue); }

.form-big-text {
    font-weight: 900; font-size: clamp(32px, 3.5vw, 52px);
    line-height: 1.08; letter-spacing: -1.5px; text-transform: uppercase;
}
.form-big-text .thin { font-weight: 100; color: rgba(10,10,10,0.5); }

.form-header-right {
    display: flex; flex-direction: column; justify-content: flex-end;
    padding-bottom: 8px;
}
.form-header-desc {
    font-family: var(--font-secondary);
    font-weight: 700; font-size: 15px; line-height: 1.8;
    color: rgba(10,10,10,0.6); max-width: 400px;
}

/* ── Form Grid ── */
.form-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px;
}

.field {
    position: relative;
    border-bottom: 1px solid rgba(10,10,10,0.07);
}
.field:focus-within { border-color: rgba(10,10,10,0.15); }

.field label {
    position: absolute; top: 30px; left: 0;
    font-family: var(--font-secondary);
    font-weight: 700; font-size: 13px; color: rgba(10,10,10,0.45);
    pointer-events: none; transition: all 0.4s var(--ease);
    letter-spacing: 0.5px;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select.has-value + label {
    top: 8px; font-size: 9px; letter-spacing: 3px;
    text-transform: uppercase; color: var(--blue);
}
.field input, .field textarea, .field select {
    width: 100%; background: transparent; border: none; outline: none;
    font-family: var(--font-secondary); font-weight: 700; font-size: 15px;
    color: var(--black); padding: 28px 0 18px; line-height: 1.5;
}
.field textarea { resize: none; height: 120px; }
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--white); color: var(--black); }

.field-accent {
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px; background: var(--blue);
    transition: width 0.6s var(--ease);
}
.field:focus-within .field-accent { width: 100%; }

.select-arrow {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    font-size: 11px; color: rgba(10,10,10,0.15); pointer-events: none;
}

.field-full { grid-column: 1 / -1; }

/* ── Submit Row ── */
.submit-row {
    grid-column: 1 / -1;
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 80px; padding-top: 40px;
    border-top: 1px solid rgba(10,10,10,0.05);
}

.submit-note {
    font-family: var(--font-secondary);
    font-weight: 700; font-size: 12px; color: rgba(10,10,10,0.45);
    letter-spacing: 0.5px; max-width: 280px; line-height: 1.6;
}

.submit-btn {
    position: relative; display: inline-flex; align-items: center; gap: 30px;
    background: var(--black); border: none;
    color: var(--white); font-family: var(--font-primary);
    font-weight: 500; font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
    padding: 22px var(--pad); cursor: none; overflow: hidden;
    transition: transform 0.4s var(--ease);
}
.submit-btn::before {
    content: ''; position: absolute; inset: 0;
    background: var(--blue); transform: scaleX(0); transform-origin: left;
    transition: transform 0.6s var(--ease); z-index: 0;
}
.submit-btn:hover::before { transform: scaleX(1); }
.submit-btn:hover { transform: scale(1.02); }
.submit-btn span, .submit-btn .arrow { position: relative; z-index: 1; }
.submit-btn .arrow { font-size: 18px; transition: transform 0.4s var(--ease); }
.submit-btn:hover .arrow { transform: translateX(8px); }

/* ── Info Strip ── */
.info-strip {
    padding: 0 var(--pad);
    max-width: var(--content-max); margin: 0 auto;
}
.info-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    border-top: 1px solid rgba(10,10,10,0.05);
    border-bottom: 1px solid rgba(10,10,10,0.05);
}
.info-cell {
    padding: 60px 40px 60px 0;
    border-right: 1px solid rgba(10,10,10,0.05);
}
.info-cell:last-child { border-right: none; padding-right: 0; }
.info-cell:first-child { padding-left: 0; }
.info-cell-label {
    font-weight: 500; font-size: 9px; letter-spacing: 3px;
    text-transform: uppercase; color: var(--blue); margin-bottom: 18px;
}
.info-cell-value {
    font-family: var(--font-secondary);
    font-weight: 700; font-size: 15px; line-height: 1.7; color: rgba(10,10,10,0.65);
}
.info-cell-value a {
    color: rgba(10,10,10,0.65); text-decoration: none;
    transition: color 0.3s ease;
}
.info-cell-value a:hover { color: var(--black); }

.social-pills { display: flex; gap: 10px; margin-top: 4px; }
.s-pill {
    padding: 8px 16px; border: 1px solid rgba(10,10,10,0.1);
    border-radius: 100px; font-size: 10px; font-weight: 500;
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(10,10,10,0.55); text-decoration: none;
    transition: all 0.4s var(--ease);
}
.s-pill:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ── Brand Block ── */
.brand-block {
    background: var(--black);
    padding: 0;
    position: relative;
    overflow: hidden;
}
.brand-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 600px;
}
.brand-cell {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-cell-photo { background: #000; }
.brand-cell-photo img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    opacity: 0.85; transition: opacity 0.6s ease;
}
.brand-cell-photo:hover img { opacity: 1; filter: grayscale(100%) contrast(1.2); }
.brand-cell-photo .vertical-text {
    position: absolute; left: 20px; bottom: 30px;
    writing-mode: vertical-rl; text-orientation: mixed;
    font-weight: 900; font-size: clamp(48px, 5vw, 72px);
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--blue); z-index: 2; line-height: 1;
}
.brand-cell-photo .photo-overlay-text {
    position: absolute; bottom: 30px; right: 25px;
    font-family: var(--font-secondary); font-weight: 700;
    font-size: 12px; line-height: 1.7;
    color: rgba(255,255,255,0.5);
    max-width: 200px; text-align: right; z-index: 2;
}
.brand-cell-eye {
    background: var(--black);
    flex-direction: column; padding: 0; overflow: hidden;
}
.brand-creative-wall {
    display: flex; flex-direction: column; justify-content: center;
    align-items: center; width: 100%; height: 100%;
    position: absolute; inset: 0; z-index: 1;
}
.creative-text-row {
    font-weight: 900; font-size: clamp(40px, 5vw, 72px);
    letter-spacing: -2px; text-transform: uppercase;
    line-height: 1.05; color: white; text-align: center;
    width: 100%; padding: 0 10px;
    transition: color 0.3s ease;
}
.brand-cell-eye:hover .creative-text-row:nth-child(even) {
    color: var(--blue);
}
.brand-eye-overlay {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 160px; height: 160px; z-index: 2;
}
.brand-eye-overlay svg { width: 100%; height: 100%; }
.brand-eye-overlay svg {
    animation: eyeBlink 4s ease-in-out infinite;
    transform-origin: center center;
}
@keyframes eyeBlink {
    0%, 38%, 48%, 100% { transform: scaleY(1); }
    42%, 44% { transform: scaleY(0.05); }
}
.brand-cell-diamond {
    background: var(--black); flex-direction: column;
    border-left: 1px solid rgba(255,255,255,0.06);
    padding: 60px 40px; position: relative;
}
.diamond-shape {
    width: 260px; height: 260px; position: relative;
    animation: starRotate 12s linear infinite;
}
.star-svg { width: 100%; height: 100%; display: block; }
.diamond-inner-eye {
    position: absolute; top: 50%; left: 50%;
    width: 120px; height: 120px;
    animation: eyeCounterRotate 12s linear infinite;
}
.diamond-inner-eye svg {
    width: 100%; height: 100%;
    animation: diamondEyeBlink 3.5s ease-in-out infinite;
    transform-origin: center center;
}
@keyframes eyeCounterRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}
@keyframes starRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes diamondEyeBlink {
    0%, 38%, 48%, 100% { transform: scaleY(1); }
    42%, 44% { transform: scaleY(0.05); }
}
.brand-cell-diamond .diamond-label {
    position: absolute; right: 25px; bottom: 30px;
    writing-mode: vertical-rl; font-weight: 900;
    font-size: clamp(14px, 1.5vw, 18px); letter-spacing: 4px;
    text-transform: uppercase; color: rgba(255,255,255,0.85); line-height: 1.5;
}
.brand-cell-diamond .diamond-label span { color: var(--blue); }
.brand-cell-diamond .embrace-label {
    position: absolute; left: 25px; top: 30px;
    writing-mode: vertical-rl; font-weight: 900;
    font-size: 11px; letter-spacing: 4px;
    text-transform: uppercase; color: rgba(255,255,255,0.85); line-height: 1.4;
}

/* ── Statement ── */
.statement {
    min-height: 100vh; position: relative; overflow: hidden;
    background: #f5f5f3; display: flex;
    align-items: center; justify-content: center;
}
.sfloat {
    position: absolute; opacity: 0; pointer-events: none;
    font-weight: 600; font-size: 12px; letter-spacing: 2px;
    text-transform: uppercase; color: rgba(10,10,10,0.12);
    white-space: nowrap; z-index: 0;
}
.statement-center {
    position: relative; z-index: 10;
    display: flex; flex-direction: column;
    align-items: center; gap: 40px;
    text-align: center; padding: 80px 24px;
    width: 100%; max-width: 900px;
}
.statement-headline {
    font-weight: 900; font-size: clamp(36px, 6vw, 88px);
    line-height: 1.05; letter-spacing: -2px;
    text-transform: uppercase; color: var(--black);
    max-width: 900px; margin: 0;
}
/* Pill — white bg, dark text, button on right */
.decrypt-box {
    position: relative;
    background: white; color: var(--black);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 100px; overflow: hidden;
    padding: 10px 10px 10px 32px;
    display: inline-flex; align-items: center; gap: 16px;
    /* Layered depth shadow */
    box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 4px 8px rgba(0,0,0,0.06),
        0 12px 24px rgba(0,0,0,0.08),
        0 24px 48px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.9);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    transform: scale(1.15);
}
.decrypt-box:hover {
    transform: scale(1.18);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.05),
        0 8px 16px rgba(0,0,0,0.08),
        0 20px 40px rgba(0,0,0,0.1),
        0 40px 64px rgba(0,0,0,0.07),
        inset 0 1px 0 rgba(255,255,255,0.9);
}
.decrypt-text {
    font-weight: 900; font-size: clamp(14px, 1.8vw, 20px);
    letter-spacing: 1px; color: var(--black);
    user-select: none; min-width: 180px; text-align: left;
    font-family: var(--font-primary);
}
.decrypt-btn {
    flex-shrink: 0;
    background: var(--black); color: white;
    border: none;
    border-radius: 50%; width: 56px; height: 56px;
    font-weight: 900; font-size: 9px; letter-spacing: 1px;
    text-transform: uppercase; cursor: pointer;
    transition: background 0.15s, transform 0.15s;
    display: flex; align-items: center; justify-content: center;
    line-height: 1.2; text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.decrypt-btn:hover { background: var(--blue); transform: scale(0.96); }
.decrypt-btn.is-encrypted { background: var(--blue); }

/* ── Connect Footer ── */
.connect-footer {
    padding: var(--pad) var(--pad) 35px;
    border-top: 1px solid rgba(10,10,10,0.05);
}
.connect-footer-inner {
    max-width: var(--content-max); margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}
.connect-footer-logo { font-weight: 900; font-size: 16px; letter-spacing: 2px; }
.connect-footer-copy { font-family: var(--font-secondary); font-weight: 700; font-size: 11px; color: rgba(10,10,10,0.45); letter-spacing: 0.5px; }

/* ── Success ── */
.form-success { display: none; grid-column: 1 / -1; padding: 80px 0; text-align: center; }
.form-success.visible { display: block; }
.success-icon {
    width: 60px; height: 60px; border: 1.5px solid var(--blue);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px; font-size: 22px; color: var(--blue);
}
.success-title { font-weight: 700; font-size: 28px; letter-spacing: -0.5px; margin-bottom: 10px; }
.success-text { font-family: var(--font-secondary); font-weight: 700; font-size: 14px; color: rgba(10,10,10,0.55); line-height: 1.7; }

/* ── Connect Responsive ── */
@media (max-width: 1024px) {
    .form-header { grid-template-columns: 1fr; gap: 40px; }
    .form-grid { grid-template-columns: 1fr; }
    .field-full { grid-column: 1; }
    .info-grid { grid-template-columns: 1fr 1fr; }
    .info-cell:nth-child(2) { border-right: none; }
    .info-cell:nth-child(3) { padding-left: 0; }
    .connect-hero-mascot { width: 80%; right: -20%; opacity: 0.03; }
    .brand-grid { grid-template-columns: 1fr 1fr; min-height: 500px; }
    .brand-cell-diamond { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); grid-column: 1 / -1; min-height: 350px; }
    .decrypt-box { transform: scale(1.05); }
    .decrypt-box:hover { transform: scale(1.07); }
}
@media (max-width: 768px) {
    .connect-hero-title { letter-spacing: -2px; }
    .form-section { padding: 100px 24px 120px; }
    .connect-hero-bottom { left: 24px; right: 24px; }
    .connect-hero-bottom-text { display: none; }
    .info-strip { padding: 0 24px; }
    .info-grid { grid-template-columns: 1fr; }
    .info-cell { border-right: none; padding: 30px 0; }
    .statement { min-height: 100svh; padding: 0; }
    .statement-center { padding: 80px 28px 100px; gap: 36px; width: 100%; }
    .statement-headline {
        font-size: clamp(42px, 11vw, 64px);
        letter-spacing: -1.5px; line-height: 1.0;
    }
    /* Pill: full-width, bold shadow, visible against light bg */
    .decrypt-box {
        transform: scale(1);
        width: calc(100% - 0px); max-width: 100%;
        padding: 10px 10px 10px 26px; gap: 12px;
        border: 1px solid rgba(0,0,0,0.1);
        box-shadow:
            0 2px 4px rgba(0,0,0,0.06),
            0 8px 20px rgba(0,0,0,0.09),
            0 20px 40px rgba(0,0,0,0.07),
            inset 0 1px 0 rgba(255,255,255,1);
    }
    .decrypt-box:hover { transform: scale(1); }
    .decrypt-text { min-width: 0; flex: 1; font-size: 16px; letter-spacing: 0.5px; }
    .decrypt-btn { width: 52px; height: 52px; font-size: 8px; flex-shrink: 0; }
    .brand-grid { grid-template-columns: 1fr; min-height: auto; }
    .brand-cell-photo { min-height: 400px; }
    .brand-cell-eye { min-height: 300px; padding: 50px 24px; }
    .brand-cell-diamond { min-height: 350px; padding: 50px 24px; grid-column: 1; }
    .submit-row { flex-direction: column; gap: 30px; align-items: flex-start; }
    .connect-hero-mascot { width: 100%; right: -30%; }
}


/* ═══════════════════════════════════════════════════════════
   PORTFOLIO PAGE  — template-portfolio.php
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ── */
.port-hero { background: var(--cream, #f5f5f3); }

/* ── Logo strip ── */
.logo-strip {
    background: var(--cream, #f5f3ee);
    padding: 40px 0;
    overflow: hidden;
    border-top: 1px solid rgba(10,10,10,0.06);
    border-bottom: 1px solid rgba(10,10,10,0.06);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: logoScroll 28s linear infinite;
}

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

@keyframes logoScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.logo-item {
    flex-shrink: 0;
    width: 140px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-img {
    display: block;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    opacity: 0.35;
    filter: grayscale(1);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.logo-img:hover {
    opacity: 0.85;
    filter: grayscale(0);
}

/* Per-logo corrections for whitespace / extreme ratios */
.logo-img[alt="AIX Investment Group"] { max-height: 70%;  }
.logo-img[alt="Burj Khalifa"]         { max-height: 55%;  }
.logo-img[alt="The Ritz-Carlton"]     { max-height: 90%;  }

/* ── Bento section ── */
.bento-section {
    background: var(--black, #0a0a0a);
    padding: 0;
}

/* ── Grid ── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    background: var(--black, #0a0a0a);
}

/* ── Cell ── */
.bento-cell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #111;
    cursor: pointer;
}

.bento-cell.wide {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
}

/* ── Image ── */
.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-cell:hover .bento-img {
    transform: scale(1.06);
}

/* ── Hover overlay ── */
.bento-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.bento-cell:hover .bento-overlay {
    opacity: 1;
}

.bento-rule {
    display: block;
    width: 28px;
    height: 1.5px;
    background: var(--blue, #0033FF);
}

.bento-industry {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #fff;
}

/* ── CTA Banner ── */
.port-cta {
    background: var(--black, #0a0a0a);
    padding: 140px var(--pad) 160px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.port-cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.port-cta-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 32px;
}

.port-cta-heading {
    font-size: clamp(48px, 7vw, 100px);
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 0.92;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 56px;
}

.port-cta-heading .line  { display: block; overflow: hidden; }
.port-cta-heading .line span { display: inline-block; }
.port-cta-heading .thin  { font-weight: 100; color: rgba(255,255,255,0.3); }
.port-cta-heading .accent { color: var(--blue); }

.port-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 42px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.port-cta-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
    .bento-cell { aspect-ratio: 1 / 1; }
    .bento-cell.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
    .port-cta { padding: 100px 24px 120px; }
    .port-cta-heading { letter-spacing: -2px; }
}


