/*
Theme Name: Scale Core
Theme URI: https://scalecore.agency
Author: Scale Core
Author URI: https://scalecore.agency
Description: Performance marketing agency theme for Scale Core. Every page is editable via meta boxes (repeaters + media picker). Portfolio and Case Study are custom post types. Blog uses native posts. Buttons editable via Customizer, logo via Site Identity. RankMath-friendly.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scalecore
Tags: agency, marketing, custom-post-types, custom-logo, editor-style, theme-options
*/

/* Scale Core — Local Design Stylesheet (standalone) */

/* ============ TOKENS ============ */
:root {
  --primary: #FF5B00;
  --primary-2: #FFB05B;
  --secondary: #A855F7;
  --bg: #000000;
  --bg-2: #0a0a0a;
  --surf: #111111;
  --surf-2: #161616;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --text: #f5f5f5;
  --text-mute: #9a9a9a;
  --text-dim: #666;
  --grad: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 60%, var(--primary-2) 100%);
  --shadow-glow: 0 0 60px -10px color-mix(in oklab, var(--primary) 40%, transparent);
  --font-d: 'Archivo', system-ui, sans-serif;      /* display accents — non-rounded */
  --font-h: 'Archivo', system-ui, sans-serif;      /* headings — strong (poster "DESIGN SERVICES") */
  --font-b: 'Nunito', system-ui, sans-serif;       /* body — rounded readable */
  --font-m: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  overflow-x: clip;
  scrollbar-gutter: stable; /* reserve scrollbar space — stops it overlapping content */
}
html, body { background: var(--bg); color: var(--text); font-family: var(--font-b); font-weight: 400; -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; overscroll-behavior-x: none; -webkit-tap-highlight-color: transparent; }

/* ── Visual rhythm layer ─────────────────────────────────────────
   position: fixed → glow อยู่กับที่ content scroll ผ่าน
   ให้ความรู้สึกแต่ละ section มี atmosphere ต่างกัน            */
body::before {
  content: '';
  position: fixed;
  inset: -140px;            /* extends past viewport so the blur has no hard edge */
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);       /* extra-soft, dreamy glow */
  background:
    /* ── purple — top-left */
    radial-gradient(ellipse 85% 75% at -8% 12%,  rgba(168, 85, 247, 0.32) 0%, transparent 72%),
    /* ── orange — top-right */
    radial-gradient(ellipse 75% 65% at 108% 6%,  rgba(255, 91,  0,  0.28) 0%, transparent 68%),
    /* ── purple — mid-left */
    radial-gradient(ellipse 70% 80% at -12% 50%, rgba(168, 85, 247, 0.24) 0%, transparent 64%),
    /* ── orange — mid-right */
    radial-gradient(ellipse 80% 70% at 112% 62%, rgba(255, 91,  0,  0.24) 0%, transparent 64%),
    /* ── amber — center */
    radial-gradient(ellipse 100% 50% at 50% 50%, rgba(255, 176, 91, 0.11) 0%, transparent 74%),
    /* ── purple — bottom */
    radial-gradient(ellipse 90% 75% at 20% 100%, rgba(168, 85, 247, 0.28) 0%, transparent 68%),
    /* ── base */
    var(--bg);
}

/* ทุก section content ต้องอยู่เหนือ body::before */
body > * { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ── Mobile overflow guard ───────────────────────────────────────
   Prevents any section from being wider than the viewport.       */
@media (max-width: 900px) {
  section, footer, header { max-width: 100%; overflow-x: hidden; }

  /* Float cards use left:-60px / right:-40px → bleed outside container */
  .float, .float--a, .float--b, .float--c { display: none; }

  /* Large decorative orbs that extend beyond mobile viewport */
  .cta__orb { opacity: 0.15; }
  .hero__glow { opacity: 0.2; }
}

::selection { background: var(--primary); color: #000; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 48px; }

.h-display {
  font-family: var(--font-h);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 54px);
  line-height: 1.0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
  font-weight: 500;
}
.serif {
  font-family: var(--font-d);
  font-weight: 500;
  font-style: normal;
  text-transform: inherit;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
  letter-spacing: 0.01em;
}

.eyebrow {
  display: block;
  font-family: var(--font-b);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
}
.eyebrow--center { text-align: center; margin-inline: auto; }
.eyebrow__dot { display: none; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  transition: backdrop-filter 0.3s, background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
  transform: translateZ(0); /* force GPU layer — prevents iOS fixed-pos jitter */
  -webkit-backface-visibility: hidden;
}
.nav.scrolled {
  background: rgba(5,5,5,0.7);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
}
/* Logo — never shrink */
.nav__logo { flex-shrink: 0; }
.nav__logo img { height: 56px; display: block; }

/* Hamburger button */
.nav__hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 4px;
  flex-shrink: 0;
}
.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
/* X state */
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%; /* explicit 100% prevents iOS quirks */
  z-index: 110; /* above nav bar (100) so close btn is tappable */
  background: rgba(5,5,5,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  overflow-y: auto; /* scroll if items don't fit on tiny screens */
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.nav__drawer.open { opacity: 1; pointer-events: all; }
.nav__drawer-close {
  position: absolute; top: 20px; right: 24px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line);
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: background 0.2s;
}
.nav__drawer-close:hover { background: rgba(255,255,255,0.12); }
.nav__drawer .nav__link {
  font-size: 18px; font-weight: 500;
  font-family: var(--font-b); text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 20px; color: var(--text-mute);
  transition: color 0.2s;
}
.nav__drawer .nav__link:hover { color: var(--text); }

.nav__menu {
  display: flex; gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
}
.nav__link {
  font-size: 13px; font-weight: 500;
  padding: 8px 16px; border-radius: 999px;
  color: var(--text-mute);
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--text); background: rgba(255,255,255,0.04); }

/* ============ NAV LANG DROPDOWN ============ */
.nav__right { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang__trigger {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.lang__trigger:hover { border-color: var(--line-2); background: rgba(255,255,255,0.04); }
.lang__chev { transition: transform 0.2s; opacity: 0.6; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__flag {
  width: 20px; height: 14px;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
  display: inline-block;
}
.lang__flag[data-flag="EN"] { background: linear-gradient(180deg, #012169 33%, #fff 33%, #fff 66%, #C8102E 66%); position: relative; }
.lang__flag[data-flag="EN"]::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%) 0/100% 100%,
    linear-gradient(-45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%) 0/100% 100%;
  opacity: .9;
}
.lang__flag[data-flag="TH"] {
  background: linear-gradient(180deg,
    #ED1C24 0 16.66%,
    #fff 16.66% 33.33%,
    #241D4F 33.33% 66.66%,
    #fff 66.66% 83.33%,
    #ED1C24 83.33% 100%);
}
.lang__flag[data-flag="CH"] {
  background: #DE2910;
  position: relative;
}
.lang__flag[data-flag="CH"]::before {
  content: '★'; position: absolute;
  top: 1px; left: 2px;
  font-size: 12px; line-height: 1;
  color: #FFDE00;
}
.lang__flag[data-flag="KR"] {
  background:
    radial-gradient(circle at 50% 50%, #C60C30 0 18%, transparent 18%),
    radial-gradient(circle at 50% 50%, #003478 0 18%, transparent 18%),
    #fff;
  background-size: 100% 100%;
  position: relative;
}
.lang__flag[data-flag="KR"]::before {
  content: ''; position: absolute; inset: 25% 35%;
  background: linear-gradient(180deg, #C60C30 50%, #003478 50%);
  border-radius: 50%;
}

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  list-style: none;
  margin: 0; padding: 6px;
  background: rgba(15,15,15,0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 110;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__opt {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-mute);
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.lang__opt:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.lang__opt.is-active { background: rgba(255,91,0,0.1); color: var(--text); }
.lang__opt > span:nth-child(2) { flex: 1; font-family: var(--font-b); font-weight: 400; }
.lang__hint {
  font-family: var(--font-m); font-size: 12px; letter-spacing: 0.15em;
  color: var(--text-dim);
}

/* ============ BUTTONS ============ */

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 100px 48px 60px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  /* chess hero background */
  background-image: url(assets/img/17_09_40.png);
  
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  min-height: 100vh;
}
/* dark gradient overlay — keeps text readable over the dramatic image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(5,5,5,0.78) 0%,
      rgba(5,5,5,0.55) 25%,
      rgba(5,5,5,0.15) 55%,
      rgba(5,5,5,0.10) 70%,
      rgba(5,5,5,0.70) 100%
    );
}
.hero__particles {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}
.hero__glow--orange {
  background: var(--primary);
  top: 10%; right: -200px;
  animation: floatA 12s ease-in-out infinite;
}
.hero__glow--purple {
  background: var(--secondary);
  bottom: -100px; left: -200px;
  opacity: 0.4;
  animation: floatB 14s ease-in-out infinite;
}
@keyframes floatA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px, 30px); } }
@keyframes floatB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(50px, -40px); } }

/* heading block — pinned near top of hero, above chess pieces */
.hero__head {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 820px;
  align-self: center;
  margin-top: 20px;
}
.hero__head .hero__sub { margin: 0 auto 28px; }

/* orbit stage removed — chess background replaces it */

/* stats row at bottom */
.hero__stats {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 40px;
}

/* old hero__inner kept for any leftover references */
.hero__inner {
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: auto;
}
.hero__title {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 28px 0 32px;
}
.hero__title-line { display: block; opacity: 0; transform: translateY(20px); animation: rise 0.9s cubic-bezier(.2,.8,.2,1) forwards; }
.hero__title-line:nth-child(1) { animation-delay: 0.1s; }
.hero__title-line:nth-child(2) { animation-delay: 0.25s; }
.hero__title-line:nth-child(3) { animation-delay: 0.4s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero__sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-mute);
  max-width: 460px;
  margin-bottom: 36px;
  opacity: 0; animation: rise 0.9s cubic-bezier(.2,.8,.2,1) 0.55s forwards;
}

.hero__meta {
  display: flex; align-items: stretch; gap: 28px;
  opacity: 0; animation: rise 0.9s cubic-bezier(.2,.8,.2,1) 0.85s forwards;
}
.hero__meta-divider { width: 1px; background: var(--line); }
.hero__meta-num {
  font-family: var(--font-h);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero__meta-lbl {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ============ HERO PHONE ============ */
.hero__right { position: relative; height: 640px; display: flex; align-items: center; justify-content: center; }

/* ============ ORBIT — TRUE 3D TILTED RING ============ */

/* Zero-size pivot at ring center — preserve-3d so children orbit in 3D */
.orbit-3d {
  position: absolute;
  top: 32%; left: 50%;
  width: 0; height: 0;
  transform: rotateZ(-20deg);   /* tilt ring axis: right side higher, matches annotation */
  transform-style: preserve-3d;
}

/* Each icon wrapper carries the full 3D orbit transform */
.orbit-iw {
  position: absolute;
  top: 0; left: 0;
  transform-style: preserve-3d;
  animation: tilt-orbit 13s linear infinite;
  animation-delay: var(--d, 0s);
}

/*
  tilt-orbit keyframes:
  1. rotateX(60deg)         — tilt the orbit plane 60° around X axis
  2. rotateZ(0→360deg)      — orbit around the tilted Z axis
  3. translateX(165px)      — radius
  4. rotateZ(0→−360deg)     — cancel Z spin so icon stays upright
  5. rotateX(−60deg)        — cancel X tilt so icon faces the viewer
*/
@keyframes tilt-orbit {
  from {
    transform:
      rotateX(60deg)
      rotateZ(0deg)
      translateX(165px)
      rotateZ(0deg)
      rotateX(-60deg);
  }
  to {
    transform:
      rotateX(60deg)
      rotateZ(360deg)
      translateX(165px)
      rotateZ(-360deg)
      rotateX(-60deg);
  }
}

/* Icon chip — NO backdrop-filter (would create stacking context breaking preserve-3d z-sort) */
.oc {
  position: absolute;
  top: -26px; left: -26px;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(10,8,22,0.90);
  border: 1px solid rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 6px 24px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

/* Glow blob — has filter but is separate from the hand img */
.orbit-hand-glow {
  position: absolute;
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  width: 340px; height: 420px;
  background:
    radial-gradient(ellipse 45% 38% at 50% 52%, rgba(255,91,0,0.38) 0%, transparent 70%),
    radial-gradient(ellipse 55% 48% at 50% 62%, rgba(168,85,247,0.22) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* Hand — NO filter so it stays in the 3D z-sort context; sits at z=0 */
.orbit-hand {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 240px;
  pointer-events: none;
}
.phone-wrap {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
}
.phone__halo {
  position: absolute; inset: -80px;
  background: radial-gradient(ellipse at center, color-mix(in oklab, var(--primary) 45%, transparent) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
  animation: halo 5s ease-in-out infinite;
}
@keyframes halo { 0%,100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

.phone {
  position: relative; z-index: 1;
  width: 300px; height: 600px;
  border-radius: 46px;
  background: linear-gradient(165deg, #1a1a1a, #050505);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 50px 100px -20px rgba(0,0,0,0.8),
    0 0 80px -20px var(--primary);
  animation: floatPhone 6s ease-in-out infinite;
}
@keyframes floatPhone { 0%,100% { transform: translateY(0) rotateZ(-2deg); } 50% { transform: translateY(-14px) rotateZ(-1deg); } }

.phone__notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 26px; border-radius: 14px;
  background: #000;
  z-index: 2;
}
.phone__screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  background: linear-gradient(180deg, #0a0410 0%, #050505 50%, #0c0507 100%);
  overflow: hidden;
  position: relative;
}
.phone__topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 28px 12px;
  font-family: var(--font-m);
  font-size: 13px;
  color: var(--text);
}
.phone__icons { display: flex; gap: 4px; }
.phone__icons span {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--text);
}
.phone__app { padding: 24px 18px; display: flex; flex-direction: column; gap: 14px; }
.phone__row { display: flex; align-items: center; gap: 10px; }
.phone__app-ic { width: 36px; height: 36px; border-radius: 10px; }
.phone__app-meta { flex: 1; }
.phone__app-name { font-size: 12px; font-weight: 500; color: var(--text); }
.phone__app-sub { font-size: 12px; color: var(--text-mute); font-family: var(--font-m); }
.phone__live {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-m);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,91,0,0.15);
  color: var(--primary);
  border: 1px solid rgba(255,91,0,0.3);
}
.phone__live i { width: 5px; height: 5px; border-radius: 50%; background: var(--primary); animation: pulse 1.2s infinite; }

.phone__metric {
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,91,0,0.08), rgba(255,91,0,0.02));
  border: 1px solid rgba(255,91,0,0.15);
}
.phone__metric-lbl { font-family: var(--font-m); font-size: 12px; color: var(--text-mute); letter-spacing: 0.1em; }
.phone__metric-val { font-family: var(--font-h); font-size: 22px; font-weight: 500; margin-top: 4px; letter-spacing: -0.02em; }
.phone__metric-delta { font-family: var(--font-m); font-size: 12px; color: #4ade80; margin-top: 2px; }

.phone__chart {
  width: 100%; height: 90px;
  display: block;
}

.phone__chips { display: flex; gap: 6px; }
.phone__chip {
  flex: 1; padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  display: flex; flex-direction: column; gap: 2px;
}
.phone__chip-k { font-family: var(--font-m); font-size: 12px; color: var(--text-mute); letter-spacing: 0.1em; }
.phone__chip-v { font-size: 13px; font-weight: 500; }
.phone__chip-v.up { color: #4ade80; }
.phone__chip-v.down { color: var(--primary); }

.phone__pings { display: flex; flex-direction: column; gap: 6px; }
.phone__ping {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(168,85,247,0.06);
  border: 1px solid rgba(168,85,247,0.15);
  font-size: 12px;
}
.phone__ping span:nth-child(2) { flex: 1; }
.phone__ping-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 8px var(--secondary); }
.phone__ping-t { font-family: var(--font-m); color: var(--text-mute); font-size: 12px; }

/* Floating data badges */
.float {
  position: absolute;
  z-index: 3;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(15,15,15,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-2);
  font-family: var(--font-m);
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6);
}
.float--a { top: 80px; left: -60px; animation: floatA 7s ease-in-out infinite; }
.float--b { bottom: 120px; right: -40px; animation: floatB 8s ease-in-out infinite 1s; }
.float--c {
  bottom: 30px; left: -30px;
  flex-direction: row; align-items: center; gap: 10px;
  animation: floatA 9s ease-in-out infinite 0.5s;
}
.float__k { font-size: 12px; color: var(--text-mute); letter-spacing: 0.1em; }
.float__v { font-family: var(--font-h); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.float__d { font-size: 12px; }
.float__d.up { color: #4ade80; }
.float__d.down { color: var(--primary); }
.float__bar { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); animation: pulse 1s infinite; }
.float__txt { font-size: 12px; color: var(--text); }

/* trusted strip — pinned to absolute bottom of hero */
.trust {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 44px 0 42px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.trust::before,
.trust::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 1;
}
.trust::before { left: 0;  background: linear-gradient(90deg, #efece6, transparent); }
.trust::after  { right: 0; background: linear-gradient(-90deg, #efece6, transparent); }
.trust__lbl {
  text-align: center;
  font-family: var(--font-m);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #581c87;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.trust__track {
  display: flex; gap: 60px;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.trust__set {
  display: flex; gap: 60px;
  font-family: var(--font-h);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: #222;
}
.trust__set span { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

.hero__scroll {
  position: relative;
  margin: 40px auto 8px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-m);
  font-size: 12px; letter-spacing: 0.2em;
  color: var(--text-mute);
  z-index: 5;
  width: max-content;
}
.hero__scroll span {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--primary));
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============ ABOUT ============ */
.about { padding: 80px 0 140px; position: relative; }
.about__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__copy {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-mute);
  margin: 28px 0 16px;
  max-width: 540px;
  text-wrap: pretty;
}
.about__copy--muted { font-size: 16px; color: var(--text-dim); }
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
/* frosted-glass stat cards (glassmorphism) */
.stat {
  padding: 28px;
  position: relative;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 0;
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.stat:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}
.stat__num {
  font-family: var(--font-h);
  font-weight: 500;
  font-size: 52px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  display: flex; align-items: baseline; justify-content: flex-end; gap: 2px;
}
.stat__num em { font-style: normal; color: var(--primary); font-size: 0.6em; }
.stat__lbl {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 12px;
  line-height: 1.5;
}

.film {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #0a0a0a;
}
.film__inner {
  position: relative; height: 100%;
  background: url('assets/img/img-warroom.png') center/cover no-repeat, #0a0a0a;
  overflow: hidden;
}
.film__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
}
.film__placeholder {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
  z-index: 2;
}
.film__caption { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 2; max-width: 80%; }
.film__tag { font-family: var(--font-m); font-size: 12px; letter-spacing: 0.18em; color: var(--primary); }
.film__title { font-family: var(--font-h); font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.film__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,91,0,0.9);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 60px var(--primary);
  transition: transform 0.2s;
}
.film__play:hover { transform: translate(-50%,-50%) scale(1.08); }
.film__timecode {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--font-m); font-size: 12px; letter-spacing: 0.15em; color: #fff;
  display: flex; align-items: center; gap: 6px;
}
.film__timecode::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #ff3030; animation: pulse 1.4s infinite;
}
.film__corners::before, .film__corners::after {
  content: ''; position: absolute; width: 18px; height: 18px;
  border: 1px solid rgba(255,255,255,0.25);
  pointer-events: none;
}
.film__corners::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.film__corners::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.film__sticker {
  position: absolute;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(15,15,15,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-2);
  font-family: var(--font-m);
  display: flex; flex-direction: column;
}
.film__sticker--a {
  top: 24px; right: 24px;
  flex-direction: column;
  padding: 10px 14px;
}
.film__sticker--a span { font-size: 12px; color: var(--text-mute); letter-spacing: 0.15em; }
.film__sticker--a strong { font-family: var(--font-h); font-size: 20px; color: var(--text); letter-spacing: -0.02em; line-height: 1; }
.film__sticker--b {
  bottom: 28px; right: 24px;
  font-size: 12px; letter-spacing: 0.15em;
  color: var(--primary);
  border-color: rgba(255,91,0,0.3);
  background: rgba(255,91,0,0.1);
  padding: 8px 12px;
}

/* ============ SECTION HEAD ============ */
.sec-head {
  display: flex; flex-direction: column; gap: 20px;
  margin-bottom: 60px;
  align-items: flex-start;
}
.sec-head--center { text-align: center; align-items: center; }
.sec-head__sub {
  font-size: 18px;
  color: var(--text-mute);
  max-width: 580px;
}
.sec-head--center .sec-head__sub { margin-inline: auto; }
.sec-head__row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; width: 100%;
  flex-wrap: wrap;
}
.sec-head__copy { font-size: 16px; color: var(--text-mute); max-width: 420px; line-height: 1.6; }
.sec-head__link {
  font-family: var(--font-m); font-size: 12px; letter-spacing: 0.1em;
  color: var(--text-mute);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.sec-head__link:hover { color: var(--primary); border-color: var(--primary); }

/* ============ SERVICES — SPLIT LAYOUT ============ */
.services {
  padding: 120px 0;
  background:
    radial-gradient(circle 560px at 8% 22%, rgba(168,85,247,0.18) 0%, transparent 62%),
    radial-gradient(circle 640px at 96% 82%, rgba(255,91,0,0.16) 0%, transparent 62%),
    radial-gradient(circle 480px at 60% 48%, rgba(255,176,91,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 150% 210% at 50% 45%, #f6f4f0 0%, #ece9e3 100%);
}

/* Header: eyebrow left, title right */
.sv__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  gap: 40px;
}
.sv__eyebrow { flex-shrink: 0; }
.sv__title {
  font-family: var(--font-h);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-align: right;
}

/* Two-column body */
.sv__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ─── Card stack (left) ─── */
.sv__stack-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}
.sv__stack { position: relative; height: 100%; }

/* Each service card */
.sv__card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
/* Card position states */
.sv__card--prev, .sv__card--next, .sv__card--far-top, .sv__card--far-bot { opacity: 0; pointer-events: none; }
.sv__card--active { opacity: 1; transform: scale(1); z-index: 2; cursor: default; }

/* Card image (swap src per service) */
.sv__card-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Card interior */
.sv__card-inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 32px;
}
.sv__card-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* logo -> top-left */
  gap: 20px;
}
.sv__card-brand {
  display: flex;
  align-items: flex-start;
  gap: 3px;
}
.sv__card-logo {
  width: 64px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}
.sv__card-brand sup {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 2px;
}

.sv__card-tags {
  display: flex;
  justify-content: flex-end;     /* tags -> bottom-right */
  gap: 8px;
}
.sv__card-tags span {
  font-size: 12px;
  color: var(--text-mute);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 5px 13px;
}

/* Top/bottom gradient fades */

/* ─── Service detail (right) ─── */
.sv__detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.sv__num {
  display: inline-flex;
  align-items: center;
  padding: 5px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin-bottom: 22px;
  transition: opacity 0.25s, transform 0.25s;
}
.sv__svc-title {
  font-family: var(--font-h);
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 22px;
  transition: opacity 0.25s, transform 0.25s;
}
.sv__divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-bottom: 22px;
}
.sv__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-mute);
  margin-bottom: 40px;
  max-width: 420px;
  transition: opacity 0.25s, transform 0.25s;
}

/* Fade-out during content swap */
.sv__detail--fade .sv__num,
.sv__detail--fade .sv__svc-title,
.sv__detail--fade .sv__desc {
  opacity: 0;
  transform: translateY(6px);
}

/* LET'S TALK button */
.sv__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0a0a0a;
  border-radius: 100px;
  padding: 10px 10px 10px 20px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: background 0.2s;
}
.sv__cta:hover { background: rgba(255,255,255,0.88); }
.sv__cta-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.sv__cta-label { flex: 1; }
.sv__cta-arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ============ TESTIMONIALS + FAQ ============ */
.ts {
  position: relative;
  background: #050505;
  overflow: hidden;
}

/* — Testimonials top half — */
.ts__testi { position: relative; padding: 100px 24px 72px; }

/* Central visual — absolutely positioned in .ts so it spans both halves */
/* Testimonial cards */
/* Arc layout — mirrors the reference:
   card-2 at top-center (peak of arc), 1+3 at wing level, 4+5 at lower wing level */
/* Float keyframes — two variants so cards don't all move in sync */
/* — FAQ bottom half — */
.ts__faq {
  position: relative;
  padding: 60px 100px 100px;
  z-index: 2;
}

.ts__faq-titles {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.ts__faq-left { display: flex; flex-direction: column; }

.ts__faq-asked,
.ts__faq-answered {
  font-family: var(--font-h);
  font-weight: 400;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.95;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
}
.ts__faq-answered { text-align: right; }

.ts__faq-label {
  display: flex; align-items: flex-start; gap: 6px;
  margin-top: 14px;
  font-family: var(--font-m);
  font-size: 12px; letter-spacing: 0.1em; line-height: 1.5;
  color: var(--text-dim); text-transform: uppercase;
}

/* FAQ accordion */
.ts__faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ts__faq-item {
  background: rgba(248,246,255,0.93);
  border-radius: 14px;
  overflow: hidden;
  transition: background 0.2s;
}
.ts__faq-item.is-open { background: #fff; }

.ts__faq-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  font-family: var(--font-b);
  font-size: 14px; font-weight: 500;
  color: #0a0814;
  text-align: left; gap: 10px;
}
.ts__faq-btn:hover { color: #5b21b6; }

.ts__chev {
  flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 8px;
  background: #0a0814; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, background 0.2s;
}
.ts__faq-item.is-open .ts__chev { transform: rotate(180deg); background: var(--primary); }

.ts__faq-ans {
  max-height: 0; overflow: hidden;
  font-size: 13px; line-height: 1.7;
  color: #3a3650;
  padding: 0 18px;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.ts__faq-item.is-open .ts__faq-ans { max-height: 180px; padding: 0 18px 16px; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .sv__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sv__title { text-align: left; }
  .sv__body { grid-template-columns: 1fr; gap: 48px; }
  .sv__stack-wrap { max-width: 460px; }
}

/* ============ PROCESS TIMELINE ============ */
.process { padding: 140px 0; position: relative; }
.timeline {
  position: relative;
  margin-top: 60px;
  padding-left: 80px;
}
.timeline__rail {
  position: absolute; top: 0; bottom: 0; left: 32px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.timeline__rail-fill {
  position: absolute; top: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(180deg, var(--secondary), var(--primary));
  box-shadow: 0 0 20px var(--primary);
  transition: height 0.4s linear;
}
.step {
  position: relative;
  margin-bottom: 28px;
}
.step__node {
  position: absolute; left: -64px; top: 24px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-m);
  font-size: 14px;
  color: var(--text-mute);
  transition: all 0.4s;
  z-index: 2;
}
.step.is-active .step__node {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 30px var(--primary);
  transform: scale(1.05);
}
.step__card {
  padding: 32px 36px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--line);
  transition: border-color 0.4s, transform 0.4s;
}
.step.is-active .step__card { border-color: rgba(255,91,0,0.3); }
.step__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.18em;
}
.step__phase { color: var(--primary); }
.step__time { color: var(--text-dim); }
.step__title {
  font-family: var(--font-h);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.step__copy { color: var(--text-mute); line-height: 1.6; max-width: 700px; margin-bottom: 18px; }
.step__deliv { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.step__deliv em {
  font-style: normal;
  font-family: var(--font-m); font-size: 12px; letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.step__deliv span {
  font-family: var(--font-m); font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--text);
}

/* ============ JOURNEY ============ */
.journey { padding: 140px 0; position: relative; overflow: hidden; }
.funnel {
  position: relative;
  margin-top: 80px;
  padding: 60px 0 40px;
}
.funnel__line {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.funnel__line path {
  stroke-dasharray: 6 6;
  animation: dash 30s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -200; } }
.funnel__row {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}
.stage {
  padding: 24px 20px;
  border-radius: 16px;
  background: rgba(15,15,15,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  transition: all 0.3s;
}
.stage:hover {
  border-color: rgba(255,91,0,0.3);
  background: rgba(20,20,20,0.8);
  transform: translateY(-4px);
}
.stage__pct {
  font-family: var(--font-h);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.stage--hot .stage__pct {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stage__name {
  font-size: 14px;
  font-weight: 500;
  margin-top: 4px;
}
.stage__desc {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.5;
  margin-top: 8px;
  min-height: 36px;
}
.stage__channels {
  display: flex; gap: 4px; flex-wrap: wrap;
  margin-top: 14px;
}
.stage__channels span {
  font-family: var(--font-m); font-size: 12px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: var(--text-mute);
  letter-spacing: 0.08em;
}
.stage--arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  padding: 0 8px;
  background: none; border: 0;
}
.stage--arrow svg { width: 24px; height: 24px; }

/* ============ WHY ============ */
.why { padding: 140px 0; position: relative; }
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why__copy { font-size: 16px; color: var(--text-mute); margin: 24px 0 40px; max-width: 460px; line-height: 1.6; }
.why__compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.why__col { padding: 24px; }
.why__col--them { color: var(--text-dim); border-right: 1px solid var(--line); }
.why__col--us { background: rgba(255,91,0,0.04); }
.why__col-h {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--text-mute);
  display: flex; align-items: center; gap: 8px;
}
.why__col--us .why__col-h { color: var(--primary); }
.why__col--us .why__col-h img { width: 18px; height: 18px; }
.why__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.why__col li {
  font-size: 14px; line-height: 1.4;
  position: relative; padding-left: 18px;
}
.why__col--them li { text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.2); }
.why__col--them li::before {
  content: '✕'; position: absolute; left: 0; top: 0;
  color: var(--text-dim); font-size: 12px;
}
.why__col--us li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--primary); font-weight: 500;
}
.why__col--us li { color: var(--text); }

.why__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.why__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s;
}
.why__item:hover { border-color: rgba(255,91,0,0.25); transform: translateX(4px); }
.why__item-no {
  font-family: var(--font-m); font-size: 12px;
  color: var(--text-dim); letter-spacing: 0.18em;
}
.why__item-body h4 {
  font-family: var(--font-h); font-weight: 500; font-size: 20px; letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.why__item-body p { font-size: 14px; color: var(--text-mute); line-height: 1.5; }
.why__item-tick {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,91,0,0.1);
  border: 1px solid rgba(255,91,0,0.3);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.why__item-tick svg { width: 16px; height: 16px; }

/* ============ CASES ============ */
.cases { padding: 140px 0; }
.cases__list { display: flex; flex-direction: column; gap: 24px; }
.case {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surf);
  transition: border-color 0.3s, transform 0.3s;
}
.case:hover { border-color: rgba(255,91,0,0.25); transform: translateY(-2px); }
.case__cover {
  position: relative;
  min-height: 320px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255,91,0,0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 30%, rgba(255,176,91,0.25) 0%, transparent 40%),
    linear-gradient(180deg, #0c0608 0%, #050505 100%);
  overflow: hidden;
}
.case__cover::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(255,91,0,0.04) 80px 81px),
    repeating-linear-gradient(0deg, transparent 0 80px, rgba(255,91,0,0.04) 80px 81px);
  mask-image: radial-gradient(ellipse at 50% 100%, black 0%, transparent 70%);
}
.case__cover::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 75%, rgba(255,255,255,0.06) 0%, transparent 2%),
    radial-gradient(circle at 60% 40%, rgba(255,255,255,0.04) 0%, transparent 1.5%),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.05) 0%, transparent 1%),
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.03) 0%, transparent 1%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05) 0%, transparent 1.5%);
  background-size: 400px 400px, 300px 300px, 250px 250px, 200px 200px, 350px 350px;
  background-position: 0 0, 50px 30px, 100px 80px, 150px 40px, 70px 100px;
  filter: blur(0.4px);
  opacity: 0.9;
}
.case__cover.case--c1 { background: url('assets/img/img-case-1.png') center/cover no-repeat, #0a0608; }
.case__cover.case--c2 { background: url('assets/img/img-case-2.png') center/cover no-repeat, #0a0612; }
.case__cover.case--c3 { background: url('assets/img/img-case-3.png') center/cover no-repeat, #0a0604; }
.case__cover.case--c1::before, .case__cover.case--c2::before, .case__cover.case--c3::before { display: none; }
.case__cover.case--c1::after, .case__cover.case--c2::after, .case__cover.case--c3::after { display: none; }
.case__cover-grad--b {
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(168,85,247,0.7), transparent 70%),
    radial-gradient(ellipse at 70% 50%, rgba(168,85,247,0.25), transparent 60%);
  mix-blend-mode: screen;
}
.case__cover-grad--c {
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255,176,91,0.55), transparent 70%),
    radial-gradient(ellipse at 50% 30%, rgba(255,91,0,0.3), transparent 60%);
  mix-blend-mode: screen;
}
.case__cover-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.case__cover-tag {
  position: absolute; top: 24px; left: 24px;
  font-family: var(--font-m); font-size: 12px;
  letter-spacing: 0.18em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--line-2);
  color: var(--primary);
}
.case__cover-num {
  position: absolute; bottom: 24px; right: 24px;
  font-family: var(--font-h); font-size: 80px; font-weight: 500;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case__cover-art {
  position: absolute; inset: 30%; display: flex; align-items: center; justify-content: center;
}
.case__cover-art svg { width: 100%; height: auto; }
.case__body {
  padding: 36px 40px;
  display: flex; flex-direction: column;
}
.case__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.case__name {
  font-family: var(--font-h); font-weight: 500; font-size: 30px; letter-spacing: 0.01em; text-transform: uppercase;
}
.case__period { font-family: var(--font-m); font-size: 12px; color: var(--text-dim); letter-spacing: 0.1em; }
.case__brief { color: var(--text-mute); line-height: 1.6; margin-bottom: 24px; max-width: 540px; }
.case__metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.metric { padding: 18px 16px 18px 0; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; padding-right: 0; }
.metric__v {
  font-family: var(--font-h); font-weight: 500; font-size: 28px;
  letter-spacing: -0.02em;
}
.metric__v .up { color: #4ade80; }
.metric__v .down { color: var(--primary); }
.metric__l { font-size: 12px; color: var(--text-mute); margin-top: 4px; letter-spacing: 0.05em; }
.case__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--text);
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}
.case__cta:hover { color: var(--primary); border-color: var(--primary); }

/* ============ TEAM ============ */
.team { padding: 140px 0; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  max-width: 760px;
  margin: 60px auto 0;
}
.member { display: flex; flex-direction: column; gap: 18px; text-align: center; }
.member__photo {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0a0a;
  transition: transform 0.4s;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member:hover .member__photo { transform: translateY(-4px); }
.member:hover .member__photo { filter: grayscale(0) contrast(1); }
.member__photo-grad {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,91,0,0.35), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(168,85,247,0.25), transparent 50%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0 1px, transparent 1px 20px);
}
.member__photo-grad--b { background:
    radial-gradient(ellipse at 70% 30%, rgba(168,85,247,0.4), transparent 55%),
    radial-gradient(ellipse at 30% 80%, rgba(255,91,0,0.25), transparent 50%); }
.member__photo-grad--c { background:
    radial-gradient(ellipse at 50% 30%, rgba(255,176,91,0.35), transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(255,91,0,0.3), transparent 50%); }
.member__photo-grad--d { background:
    radial-gradient(ellipse at 30% 20%, rgba(168,85,247,0.35), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(255,91,0,0.3), transparent 50%); }
.member__photo-init {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-weight: 500; font-size: 80px;
  color: rgba(255,255,255,0.18);
  letter-spacing: -0.04em;
}
.member__photo-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-m); font-size: 12px; letter-spacing: 0.2em;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--line-2);
  color: var(--primary);
}
.member__name { font-family: var(--font-h); font-weight: 500; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--primary); }
.member__role { font-size: 13px; color: var(--text); margin-top: 6px; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.45; }
.member__social {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-m); font-size: 12px;
  color: var(--text-mute); letter-spacing: 0.1em;
  margin-top: 8px;
  text-transform: uppercase;
}
.member__social:hover { color: var(--primary); }

/* ============ SCOPE ============ */
.scope { padding: 140px 0; position: relative; }
.scope__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.scope-card {
  position: relative;
  padding: 32px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
  overflow: hidden;
}
.scope-card:hover { border-color: rgba(255,91,0,0.25); transform: translateY(-4px); }
.scope-card--accent {
  background: linear-gradient(180deg, rgba(255,91,0,0.06), rgba(168,85,247,0.04));
  border-color: rgba(255,91,0,0.18);
}
.scope-card__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.scope-card__no { font-family: var(--font-m); font-size: 12px; color: var(--text-dim); letter-spacing: 0.18em; }
.scope-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,91,0,0.08);
  border: 1px solid rgba(255,91,0,0.2);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.scope-card__icon svg { width: 24px; height: 24px; }
.scope-card__title {
  font-family: var(--font-h);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 22px;
}
.scope-card__list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; flex: 1; }
.scope-card__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.45; color: var(--text); }
.scope-card__list li span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  margin-top: 7px; flex-shrink: 0;
}
.scope-card__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.scope-card__chips span {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--text-mute);
}
@media (max-width: 1100px) { .scope__grid { grid-template-columns: 1fr; } }

/* ============ CTA ============ */
.cta {
  position: relative;
  padding: 160px 48px;
  overflow: hidden;
  isolation: isolate;
}
.cta__bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--bg), #08050c);
}
.cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.cta__orb--a {
  width: 600px; height: 600px;
  background: var(--primary);
  opacity: 0.3;
  top: -100px; left: 10%;
}
.cta__orb--b {
  width: 600px; height: 600px;
  background: var(--secondary);
  opacity: 0.25;
  bottom: -200px; right: 5%;
}
.cta__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 65%);
}
.cta__inner {
  text-align: center;
  position: relative;
}
.cta__title {
  font-family: var(--font-h);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 28px 0 28px;
}
.cta__sub {
  font-size: 19px;
  color: var(--text-mute);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta__strip {
  display: flex; justify-content: center; gap: 60px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.cta__strip > div { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.cta__strip em { font-style: normal; font-family: var(--font-m); font-size: 12px; letter-spacing: 0.15em; color: var(--text-dim); text-transform: uppercase; }
.cta__strip strong { font-family: var(--font-h); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }

/* ============ CONTACT FORM ============ */
.cf {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding-bottom: 50em;   /* room for the background; lifts content up */
}

/* Centered content — max-width box */
.cf__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: stretch;
}

/* Art fills the left column — anchored to cf__left */

/* Left text — overlays the art */
.cf__left {
  position: relative;
  width: 50%;
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}
.cf__kicker, .cf__headline {
  position: relative;
  z-index: 1;
}
.cf__kicker {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-m); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 28px;
}
.cf__headline {
  font-family: var(--font-h); font-weight: 400;
  font-size: clamp(32px, 3.8vw, 60px);
  line-height: 1.0; text-transform: uppercase;
  color: var(--text);
}
.cf__headline em {
  font-style: normal;
  font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Form card — floats on the right, ON TOP of the art with blur */
.cf__right {
  position: relative;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}
.cf__card {
  width: 100%; max-width: 460px;
  /* Glass card — blur shows the art image behind */
  background: rgba(10, 8, 16, 0.60);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 0;
  border-radius: 20px;
  padding: 36px 32px;
}

.cf__card-label {
  font-family: var(--font-m); font-size: 12px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 14px;
}

/* Service tag pills */
.cf__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cf-tag {
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--font-b); font-size: 13px;
  color: var(--text-mute); cursor: pointer;
  transition: all 0.18s;
}
.cf-tag:hover  { border-color: var(--primary); color: var(--text); }
.cf-tag--on    { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Form fields */
.cf__form { display: flex; flex-direction: column; gap: 10px; }
.cf-field {
  width: 100%; padding: 13px 16px;
  background: rgba(8,8,12,0.5);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--text); font-family: var(--font-b); font-size: 14px;
  outline: none; transition: border-color 0.18s;
}
.cf-field:focus          { border-color: var(--primary); }
.cf-field::placeholder   { color: rgba(255,255,255,0.82); }
.cf-field--sel {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
}
.cf-field--sel option { background: #111; }
.cf-field--ta { resize: vertical; min-height: 88px; }
.cf__submit { width: 100%; justify-content: center; margin-top: 4px; letter-spacing: 0.06em; }

/* tablet: keep 2 columns, shrink padding */
@media (max-width: 900px) {
  .cf__left  { padding: 48px 32px; }
  .cf__right { padding: 40px 24px; }
}
/* mobile: stack, hide art (too messy as overlay on small screens) */
@media (max-width: 640px) {
  .cf__inner  { flex-direction: column; }
  .cf { padding-bottom: 6em; }
  .cf__left   { width: 100%; min-height: auto; padding: 48px 24px 32px; overflow: visible; }
  .cf__right  { width: 100%; padding: 0 24px 48px; }
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: none;
  /* ใช้ background ของ body — ไม่ set สีเอง */
}

/* Frosted glass overlay — blur เท่านั้น ไม่มี bg ของตัวเอง */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  backdrop-filter: blur(64px) saturate(140%);
  -webkit-backdrop-filter: blur(64px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Grain/noise texture — ให้ความรู้สึกกระจกฝ้า */
.footer__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.80' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23grain)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  background-repeat: repeat;
}

/* Content above all layers */
.footer__inner,
.footer__bar { position: relative; z-index: 2; }

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 60px;
  padding: 80px 48px 60px;
}
.footer__logo { height: 96px; margin-bottom: 20px; }
.footer__mission { font-size: 14px; color: var(--text-mute); line-height: 1.6; max-width: 320px; margin-bottom: 24px; }
.footer__socials { display: flex; gap: 8px; }
.footer__socials a {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-m); font-size: 12px; letter-spacing: 0.1em;
  color: var(--text-mute);
  transition: all 0.2s;
}
.footer__socials a:hover { border-color: var(--primary); color: var(--primary); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h5 {
  font-family: var(--font-m); font-size: 12px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35); text-transform: uppercase;
  margin-bottom: 4px;
}
.footer__col a, .footer__addr { font-size: 14px; color: var(--text-mute); transition: color 0.2s; line-height: 1.5; }
.footer__col a:hover { color: var(--primary); }
.footer__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap; gap: 12px;
}
.footer__bar-mid { font-style: italic; }
.footer__bar a:hover { color: var(--primary); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s, transform 0.8s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ TWEAKS PANEL ============ */
.tw {
  position: fixed; right: 24px; bottom: 24px;
  width: 280px;
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  z-index: 999;
  font-family: var(--font-b);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}
.tw[hidden] { display: none; }
.tw__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-family: var(--font-m); font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text);
}
.tw__head button { font-size: 22px; line-height: 1; color: var(--text-mute); }
.tw__head button:hover { color: var(--text); }
.tw__body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 16px; }
.tw__group label {
  display: block;
  font-family: var(--font-m); font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-mute);
  margin-bottom: 8px;
}
.tw__swatches { display: flex; gap: 8px; }
.tw__sw {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--c); border: 2px solid transparent;
  transition: transform 0.2s, border-color 0.2s;
}
.tw__sw:hover { transform: scale(1.1); }
.tw__sw.is-active { border-color: #fff; }
.tw__radios { display: flex; gap: 4px; }
.tw__rd {
  flex: 1;
  padding: 7px 10px;
  font-size: 12px; font-weight: 500;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--text-mute);
  background: rgba(255,255,255,0.02);
  transition: all 0.2s;
}
.tw__rd:hover { color: var(--text); }
.tw__rd.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .hero__inner, .about__inner, .why__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__right { height: 500px; }
  /* bento removed */
  .funnel__row { grid-template-columns: 1fr; }
  .stage--arrow { display: none; }
  .case { grid-template-columns: 1fr; }
  .case__metrics { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
/* ── Nav hamburger kicks in at 900px ─────────────────────────── */
@media (max-width: 900px) {
  .nav__menu    { display: none; }
  .nav__hamburger {
    display: flex;
    width: 48px; height: 48px; /* bigger tap target */
    padding: 12px;
    margin-right: -8px; /* visually align to edge but scrollbar won't cover it */
  }
  .nav__right   { display: none; }
  .nav__drawer  { display: flex; }
}
@media (max-width: 700px) {
  .container, .hero, .cta, .footer__inner, .footer__bar { padding-left: 20px; padding-right: 20px; }
  .nav { padding: 14px 20px; }

  /* Hero — prevent 130vh blowing past screen; use dynamic viewport if supported */
  .hero {
    min-height: 100vh;    /* fallback */
    min-height: 100svh;   /* dynamic viewport (hides addr bar) */
    padding-top: 80px;
    padding-bottom: 100px;
  }
  .hero__title  { font-size: clamp(32px, 9vw, 54px); }
  .hero__sub    { font-size: 16px; }

  /* bento removed */
  .hero__meta { gap: 16px; flex-wrap: wrap; }
  .timeline { padding-left: 60px; }
  .timeline__rail { left: 22px; }
  .step__node { left: -54px; width: 48px; height: 48px; font-size: 12px; }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ TESTIMONIALS + FAQ — MOBILE ============ */
@media (max-width: 768px) {

  /* — Testimonials — */
  .ts__testi {
    min-height: unset;
    padding: 60px 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Title: remove absolute, flow normally */
  /* Image: remove absolute, show centered between title and cards */
  /* Cards: remove absolute positioning, stack normally */
  /* — FAQ — */
  .ts__faq {
    padding: 40px 20px 60px;
  }

  .ts__faq-titles {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 32px;
  }

  .ts__faq-asked,
  .ts__faq-answered {
    font-size: clamp(44px, 14vw, 72px);
    line-height: 1.0;
  }

  .ts__faq-answered {
    text-align: left;
    align-self: flex-end;
    margin-top: -8px;
  }

  .ts__faq-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ts__faq-btn {
    font-size: 13px;
    padding: 14px 14px;
  }
}

/* ============================================================
 * 12) WordPress page/archive helpers
 * ============================================================ */
.page-hero {
  padding: 160px 0 60px;
  position: relative;
}
.page-hero .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.page-hero .h-display { margin: 14px 0 18px; }
.page-hero__sub {
  max-width: 720px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}
.post-meta {
  margin-top: 14px;
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.post-meta span { margin-right: 6px; }

.archive-grid { padding: 60px 0 120px; }
.archive-grid .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.cards--portfolio { grid-template-columns: repeat(3, 1fr); }
.cards--case      { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) {
  .cards, .cards--portfolio, .cards--case { grid-template-columns: 1fr; }
}

.card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,91,0,0.4); }
.card__media {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1714, #0f0d0b);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 22px 22px 26px; }
.card__meta {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.card__title { font-size: 22px; line-height: 1.25; margin: 0 0 8px; }
.card__title a { color: #fff; text-decoration: none; }
.card__title a:hover { color: var(--primary); }
.card__excerpt { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.card__role    { color: var(--text-mute); font-family: var(--font-m); font-size: 12px; letter-spacing: 0.1em; margin: 0 0 12px; }
.card__link    { font-family: var(--font-m); font-size: 12px; letter-spacing: 0.12em; color: var(--primary); text-decoration: none; }
.card__metrics { display: flex; gap: 18px; margin: 12px 0 16px; flex-wrap: wrap; }
.card__metrics .metric { display: flex; flex-direction: column; }
.metric__v { font-family: var(--font-d); font-size: 24px; line-height: 1; color: #fff; }
.metric__l { font-family: var(--font-m); font-size: 12px; letter-spacing: 0.1em; color: var(--text-mute); margin-top: 4px; }

.case-metrics {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 24px;
}

.page-body { padding: 40px 0 120px; }
.page-body .container { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.page-body__hero {
  margin: 0 0 36px;
  border-radius: 16px;
  overflow: hidden;
}
.page-body__hero img { width: 100%; height: auto; display: block; }
.prose { color: var(--text); font-size: 16px; line-height: 1.75; }
.prose h2 { font-family: var(--font-d); font-size: 32px; margin: 36px 0 14px; }
.prose h3 { font-family: var(--font-d); font-size: 24px; margin: 30px 0 12px; }
.prose p  { margin: 0 0 18px; }
.prose a  { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose img, .prose figure img { max-width: 100%; height: auto; border-radius: 12px; }
.prose blockquote {
  border-left: 3px solid var(--primary);
  padding: 6px 0 6px 20px;
  margin: 24px 0;
  font-family: var(--font-d);
  font-size: 22px;
  line-height: 1.45;
  color: #fff;
}
.prose code {
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.pagination { margin: 48px 0 0; }
.pagination .nav-links {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  font-family: var(--font-m); font-size: 13px;
  color: var(--text-dim); text-decoration: none;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--primary); border-color: var(--primary); color: #fff;
}

/* Footer additions */
.footer__cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 12px;
}
@media (max-width: 720px) { .footer__cols { grid-template-columns: 1fr; } }
.footer__col h6 {
  font-family: var(--font-m); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-mute);
  margin: 0 0 12px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin: 0 0 8px; }
.footer__col a {
  color: var(--text-dim); text-decoration: none; font-size: 14px;
}
.footer__col a:hover { color: var(--primary); }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
  text-align: center;
  color: var(--text-mute);
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.cf__copy { color: rgba(255,255,255,0.85); margin-top: 18px; line-height: 1.7; max-width: 42ch; text-shadow: 0 2px 18px rgba(0,0,0,0.7); }
.cf__headline { text-shadow: 0 3px 24px rgba(0,0,0,0.7); }

/* ============================================================
 * 13) Fix wp_nav_menu rendering inside .nav__menu pill
 * ============================================================ */
.nav__menu-list,
.nav__menu .menu,
.nav__menu ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__menu-list li,
.nav__menu .menu li,
.nav__menu ul li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
}
.nav__menu-list li::before,
.nav__menu .menu li::before { content: none; }
.nav__menu-list a,
.nav__menu .menu a {
  font-size: 13px; font-weight: 500;
  padding: 8px 16px; border-radius: 999px;
  color: var(--text-mute);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  display: inline-block;
}
.nav__menu-list a:hover,
.nav__menu .menu a:hover,
.nav__menu-list .current-menu-item > a,
.nav__menu .menu .current-menu-item > a {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

/* Footer social icons */
.footer__social {
  display: flex; flex-direction: column; gap: 10px;
}
.footer__social-row {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.footer__icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  color: var(--text-dim);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.footer__icon:hover {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
  transform: translateY(-2px);
}
.footer__icon svg { width: 16px; height: 16px; display: block; }

/* member social - icon-only */
.member__social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
}
.member__social svg { width: 14px; height: 14px; display: block; }

/* ============================================================
 * 14) HARD OVERRIDES — defeat caches and inherited rules
 * ============================================================ */

/* Horizontal nav menu — no bullets, side-by-side */
.nav .nav__menu { display: flex !important; flex-direction: row !important; }
.nav .nav__menu > ul,
.nav .nav__menu ul.nav__menu-list,
.nav .nav__menu .menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 4px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.nav .nav__menu li,
.nav .nav__menu .menu-item {
  list-style: none !important;
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
}
.nav .nav__menu li::before,
.nav .nav__menu li::marker { content: none !important; display: none !important; }
.nav .nav__menu a {
  font-size: 13px !important;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: 999px;
  color: var(--text-mute);
  text-decoration: none !important;
  white-space: nowrap;
}

/* Footer Follow column — icons in a single row */
.footer .footer__col .footer__social { display: block !important; }
.footer .footer__col .footer__social-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
}
.footer .footer__col a.footer__icon {
  display: inline-flex !important;
  width: 38px !important;
  height: 38px !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  color: var(--text-dim);
}
.footer .footer__col a.footer__icon:hover {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

/* Footer legal / copyright — always visible */
.footer .footer__legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  padding: 20px 24px;
  text-align: center;
  background: rgba(0,0,0,0.25);
}
.footer .footer__legal small {
  color: #b8b3aa !important;
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 1 !important;
}

/* Footer balance — 4 columns: brand + studio + contact + follow */
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  align-items: start;
  padding: 60px 24px 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer__cols {
  display: contents;
}
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ============================================================
 * 16) Mobile nav — beat the block-14 desktop overrides
 * ============================================================ */
@media (max-width: 900px) {
  .nav { padding: 14px 20px !important; }
  .nav__logo img { height: 44px; }

  /* HIDE desktop menu + CTA strip, SHOW hamburger */
  .nav .nav__menu,
  .nav .nav__menu-list,
  .nav .nav__menu ul,
  .nav .nav__menu .menu { display: none !important; }
  .nav .nav__right { display: none !important; }
  .nav__hamburger { display: inline-flex !important; }

  /* Drawer is the mobile menu — show when .open */
  .nav__drawer { display: flex; }
  .nav__drawer .nav__link {
    display: block;
    font-size: 22px !important;
    padding: 12px 24px !important;
    color: var(--text-mute);
  }
  
}
@media (max-width: 560px) {
  .nav__logo img { height: 38px; }
}

/* ============================================================
   HERO — REFERENCE REDESIGN (giant title + center art)
   ============================================================ */
.hero {
  justify-content: center;
  padding: 96px 64px 64px;
  background: var(--bg);
}
/* whole-hero blurred background layer (sharp center art sits above) */
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url(assets/img/b84ab9b1f6117b4c6347d56f2b969381.webp) center/cover no-repeat;
  filter: blur(9px) saturate(108%);
  transform: scale(1.14);
  pointer-events: none;
}
.hero::before {
  z-index: 1;
  background:
    radial-gradient(ellipse 72% 64% at 50% 46%, rgba(5,5,5,0.02), rgba(5,5,5,0.5) 100%),
    linear-gradient(180deg, rgba(5,5,5,0.4) 0%, rgba(5,5,5,0.08) 42%, rgba(5,5,5,0.42) 100%);
}

/* vertical year — far left */
.hero__year {
  position: absolute; left: 40px; top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--font-m);
  font-size: 13px; letter-spacing: 0.4em;
  color: var(--text-mute);
  z-index: 4;
}

/* social rail — far right */
.hero__social {
  position: absolute; right: 40px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 22px;
  z-index: 4;
}
.hero__social a {
  color: var(--text); opacity: 0.85;
  display: grid; place-items: center;
  transition: opacity .2s, transform .2s, color .2s;
}
.hero__social a:hover { opacity: 1; color: var(--primary); transform: translateY(-2px); }

/* center stage — giant title behind, art in front */
.hero__stage {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  width: 100%;
}
.hero__bigtitle {
  position: relative; margin: 0; z-index: 2;
  font-family: var(--font-h);
  font-weight: 500;
  font-size: clamp(44px, 10.5vw, 148px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  color: rgba(255,255,255,0.9);
  -webkit-text-stroke: 0.5px rgba(255,255,255,0.55);
  text-shadow: 0 6px 50px rgba(0,0,0,0.3);
  user-select: none;
}
.hero__art {
  grid-area: 1 / 1;              /* overlap the title in the same grid cell */
  place-self: center;
  position: relative; z-index: 3;   /* sit in front of the title (z-index:2) */
  width: min(36vw, 400px); height: auto;
  pointer-events: none;
  animation: heroSpin 26s linear infinite;   /* slow rotate in place */
}
@keyframes heroSpin { to { transform: rotate(360deg); } }
/* stack every stage child in one centered cell (title + image overlap) */
.hero__stage > * { grid-area: 1 / 1; place-self: center; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }

/* bottom-left — tagline + scroll */
.hero__bl {
  position: absolute; left: 64px; bottom: 118px;
  z-index: 4; max-width: 360px;
}
.hero__tagline {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 22px;
}

/* bottom-right — services statement */
.hero__br {
  position: absolute; right: 64px; bottom: 56px;
  z-index: 4; max-width: 330px; text-align: right;
}
.hero__br p {
  font-family: var(--font-b);
  font-size: 15px; line-height: 1.6;
  color: var(--text-mute);
  margin: 0;
}

/* scroll — relocated into bottom-left, horizontal */
.hero .hero__scroll {
  position: absolute; left: 64px; bottom: 44px; z-index: 4;
  margin: 0; flex-direction: column; align-items: flex-start; gap: 9px;
  width: max-content;
}
.hero .hero__scroll span {
  width: 1px; height: 48px;
  background: linear-gradient(180deg, var(--primary), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* trust marquee — now its own band below hero */
.trust-band {
  position: relative;
  background:
    radial-gradient(circle 1400px at -6% 150%, rgba(255,91,0,0.30) 0%, transparent 62%),
    radial-gradient(circle 1400px at 106% -60%, rgba(168,85,247,0.32) 0%, transparent 62%),
    radial-gradient(circle 720px at 64% 150%, rgba(168,85,247,0.24) 0%, transparent 60%),
    radial-gradient(circle 640px at 34% -75%, rgba(255,91,0,0.22) 0%, transparent 60%),
    radial-gradient(circle 460px at 50% 55%, rgba(255,176,91,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 130% 190% at 50% 45%, #f6f4f0 0%, #e6e3dd 100%);
}
.trust-band .trust {
  position: relative; inset: auto;
  border-top: 0; background: transparent; backdrop-filter: none;
}

/* hero bottom-right CTA button spacing (desktop) */
.hero__br-btn { margin-top: 18px; }

/* smooth in-page scrolling (hero scroll indicator + nav anchors) */
html { scroll-behavior: smooth; }

/* ======== HERO — TABLET & MOBILE (consolidated, balanced) ======== */
@media (max-width: 900px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;          /* dynamic viewport — fits exactly one mobile screen */
    align-items: stretch;
    justify-content: flex-start;   /* title at top, text pushed to the bottom */
    padding: 80px 24px 40px;
  }
  .hero__year, .hero__social { display: none; }

  /* SCALE CORE -> two big stacked lines */
  .hero__bigtitle { white-space: normal; }
  .hero__bigtitle .hbt-text { display: none; }      /* mobile: hide the text line */
  .hero__bigtitle .hbt-svg { display: block; width: 100%; max-width: none; margin-left: 0; height: auto; }  /* full + bleeds past edges */

  /* title+image is a tight block (no flex-grow) -> sits with the text as one centered group */
  .hero__stage {
    flex: 0 0 auto;
    display: grid; place-items: center;
    margin: auto 0 0;            /* shares free space -> title sits lower (upper-middle), text stays bottom */
  }
  .hero__art { width: 60vw; }

  .hero__bl { position: static; max-width: none; text-align: left; margin: auto 0 16px; } /* margin-top:auto -> push text + button + scroll to the bottom */
  .hero__br { position: static; max-width: none; text-align: left; margin: 0; }
  .hero__br-btn { margin-top: 14px; }
  .hero .hero__scroll {
    position: static; align-self: flex-start;
    margin-top: 24px; bottom: auto; left: auto;
  }
}

/* ============================================================
   REUSABLE BUTTON COMPONENTS — single source of truth.
   Use anywhere, just change href + label:
     <a href="..." class="btn2 btn2--light">Let's talk</a>
     <a href="..." class="btn2 btn2--glow">Get started</a>
   Add btn2--sm for a smaller size (nav etc.).
   ============================================================ */
.btn2 {
  display: inline-flex; align-items: center;
  font-family: var(--font-h);
  font-weight: 500;
  text-decoration: none; cursor: pointer; border: 0;
  border-radius: 999px; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn2:hover { transform: translateY(-2px); }
.btn2:active { transform: translateY(0); }

/* Variant 1 — light pill: orange dot · label · dark arrow circle */
.btn2--light {
  background: #fff; color: #0a0a0a;
  gap: 12px; padding: 6px 6px 6px 22px;
  font-size: 14px; letter-spacing: 0.07em; text-transform: uppercase;
}
.btn2--light::before {
  content: ""; flex: none; width: 9px; height: 9px;
  border-radius: 50%; background: var(--primary);
}
.btn2--light::after {
  content: "\2192"; flex: none;
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-left: 6px;
  border-radius: 50%; background: #0a0a0a; color: #fff;
  font-size: 17px; line-height: 1;
  transition: background .2s ease, transform .2s ease;
}
.btn2--light:hover::after { background: var(--primary); transform: translateX(2px); }

/* Variant 2 — glow gradient pill */
.btn2--glow {
  justify-content: center; padding: 16px 42px;
  font-size: 17px; font-weight: 500; color: #fff; letter-spacing: 0.01em;
  background: linear-gradient(135deg, #C77DFF 0%, #A855F7 52%, #7C3AED 100%);
  box-shadow: 0 12px 34px -6px rgba(168,85,247,0.7), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn2--glow:hover {
  box-shadow: 0 18px 46px -6px rgba(168,85,247,0.92), inset 0 1px 0 rgba(255,255,255,0.45);
}

/* smaller size modifier (e.g. nav) */
.btn2--sm.btn2--glow  { padding: 11px 26px; font-size: 14px; }
.btn2--sm.btn2--light { padding: 5px 5px 5px 18px; font-size: 13px; }
.btn2--sm.btn2--light::after { width: 34px; height: 34px; font-size: 15px; }

.nav__drawer .btn2 { margin-top: 22px; align-self: center; }

/* Contact section — typography image as center-bottom background */
.cf::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background: url(assets/img/Modern-typography-design-2.png) center bottom / contain no-repeat;
}

/* hero title: mobile uses a width-justified SVG so SCALE & CORE fill edge-to-edge equally */
.hero__bigtitle { width: 100%; }
@media (min-width: 901px) {
.hbt-svg { display: none; }
.hero__bigtitle .hbt-text {
  display: grid;
  grid-template-columns: 1fr 1fr;          /* SCALE | gap | CORE — gap stays dead-center */
  column-gap: clamp(150px, 18vw, 320px);
  align-items: baseline;
  width: 100%;
}
.hero__bigtitle .hbt-text .hw { white-space: nowrap; display: block; }
.hero__bigtitle .hbt-text .hw:first-child { justify-self: end; }    /* SCALE hugs the centre from the left */
.hero__bigtitle .hbt-text .hw:last-child  { justify-self: start; }  /* CORE hugs the centre from the right */
}  /* /min-width:901 */
.hbt-l { font-family: var(--font-h); font-weight: 500; font-size: 34px; letter-spacing: 0; fill: rgba(255,255,255,0.9); }

/* trust band — softer tint on phones (the big circles overwhelm a small viewport) */
@media (max-width: 640px) {
  .trust-band {
    background:
      radial-gradient(circle 620px at -16% 170%, rgba(255,91,0,0.10) 0%, transparent 58%),
      radial-gradient(circle 620px at 116% -80%, rgba(168,85,247,0.11) 0%, transparent 58%),
      radial-gradient(ellipse 140% 200% at 50% 45%, #f6f4f0 0%, #ece9e3 100%);
  }
}

/* ============================================================
   CUSTOMER JOURNEY — roadmap (rising curve + glowing nodes)
   ============================================================ */
.journey.rmap { padding: 90px 0 110px; }
.rmap__scene {
  position: relative;
  height: clamp(470px, 54vw, 620px);
  overflow: hidden;
  background: transparent;
}
/* perspective floor grid */
.rmap__grid { position: absolute; inset: 0; overflow: hidden; }
.rmap__grid::before {
  content: ""; position: absolute; left: -40%; right: -40%; bottom: -28%; height: 150%;
  background-image:
    linear-gradient(rgba(168,85,247,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.14) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(560px) rotateX(64deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(to top, #000 4%, transparent 72%);
          mask-image: linear-gradient(to top, #000 4%, transparent 72%);
}
.rmap__stars { position: absolute; inset: 0; pointer-events: none; }
.rmap__stars i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px 2px rgba(255,255,255,0.55); opacity: .7;
}
.rmap__curve { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rmap__path { filter: drop-shadow(0 0 10px rgba(168,85,247,0.55)); }

.rmap__pt { position: absolute; transform: translate(-13px, -13px); z-index: 2; }
.rmap__node {
  display: block; width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #d8c6ff 42%, rgba(168,85,247,0) 72%);
  box-shadow: 0 0 20px 6px rgba(168,85,247,0.55);
}
.rmap__card {
  position: absolute; top: 36px; left: 0; width: min(232px, 60vw);
  background: rgba(12,10,22,0.55);
  border: 0;
  border-radius: 14px; padding: 12px 14px;
  transform: translateX(var(--tx, 0));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.rmap__pt--end .rmap__card { left: auto; right: -6px; }
.rmap__pt--up .rmap__card { top: auto; bottom: 36px; }
.rmap__pname { font-family: var(--font-h); font-weight: 500; font-size: 20px; line-height: 1; color: var(--c,#fff); margin: 0; display: flex; align-items: center; gap: 8px; }
.rmap__pname em { font-style: normal; font-size: 12px; font-family: var(--font-m); color: var(--text-mute); background: rgba(255,255,255,0.06); padding: 3px 8px; border-radius: 100px; }
.rmap__pdesc { font-size: 13px; color: var(--text-mute); line-height: 1.5; margin: 7px 0 10px; }
.rmap__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.rmap__chips span { font-family: var(--font-m); font-size: 11px; color: var(--text); background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 100px; padding: 3px 9px; }

.rmap__brand {
  position: absolute; top: 22px; left: 22px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-m); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--text);
  background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 100px; padding: 8px 16px;
}
.rmap__title {
  position: absolute; right: 32px; bottom: 26px; z-index: 3; margin: 0; text-align: right;
  font-family: var(--font-h); font-weight: 500; text-transform: none;
  font-size: clamp(34px, 5vw, 62px); line-height: 0.95; color: #fff;
}

/* tablet & mobile: stack the phases into a clean list */
@media (max-width: 1024px) {
  .process { padding: 72px 0 44px; }
  .journey.rmap { padding: 72px 0 44px; }
  .rmap__scene { height: auto; display: flex; flex-direction: column; padding: 4px 18px 28px; }
  .rmap__curve { display: none; }
  .rmap__grid::before { opacity: .5; }
  .rmap__pt { position: static; transform: none; display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
  .rmap__node { flex: none; width: 14px; height: 14px; box-shadow: 0 0 8px 2px rgba(168,85,247,0.45); margin-top: 5px; }
  .rmap__card { position: static; width: auto; flex: 1; }
  .rmap__pt--end .rmap__card { right: auto; }
  .rmap__brand { position: static; order: -2; margin-bottom: 14px; }
  .rmap__title { position: static; order: -1; text-align: left; margin: 0 0 30px; }
}

/* ============================================================
   CASE STUDY — white section, glowing title, metric wall
   ============================================================ */
.cases.cw { background: #fff; color: #14121a; padding: 110px 0; position: relative; }
.cw__title-wrap { position: relative; text-align: center; margin-bottom: 64px; }
.cw__title-wrap::before {
  content: ""; position: absolute; left: 50%; top: 42%; transform: translate(-50%,-50%);
  width: min(1150px, 94%); height: 360%;
  background: radial-gradient(circle at center, rgba(168,85,247,0.40), rgba(255,91,0,0.18) 42%, transparent 72%);
  filter: blur(120px); z-index: 0; pointer-events: none;
}
.cw__eyebrow {
  position: relative; z-index: 1; display: inline-block;
  font-family: var(--font-m); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: #FF5B00; margin-bottom: 14px;
}
.cw__title {
  position: relative; z-index: 1; margin: 0; line-height: 0.92;
  font-family: var(--font-h); font-weight: 400; letter-spacing: -0.01em;
  font-size: clamp(54px, 11vw, 150px);
  color: transparent; padding-bottom: 0.24em;   /* room so the blur isn't clipped (no cut line) */
}
.cw__title::before, .cw__title::after {
  content: "Case Study"; position: absolute; inset: 0; pointer-events: none;
}
.cw__title::before {             /* blurred — LOWER part only, masked out at top so the crisp top has no halo/shadow */
  color: #4a3a66; filter: blur(7px);
  -webkit-mask: linear-gradient(to bottom, transparent 32%, #000 66%) no-repeat;
          mask: linear-gradient(to bottom, transparent 32%, #000 66%) no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.cw__title::after {              /* crisp top, fades out into the blur */
  color: #3a2c52;
  -webkit-mask: linear-gradient(to bottom, #000 36%, transparent 70%) no-repeat;
          mask: linear-gradient(to bottom, #000 36%, transparent 70%) no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}

.cw__row {
  display: grid; grid-template-columns: 0.9fr 1.55fr; gap: 48px;
  align-items: center; padding: 50px 0; border-top: 1px solid rgba(0,0,0,0.10);
}
.cw__row:first-of-type { border-top: 0; }
.cw__tag { font-family: var(--font-m); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: #FF5B00; }
.cw__name { font-family: var(--font-h); font-weight: 500; font-size: clamp(26px, 3.2vw, 42px); color: #14121a; margin: 10px 0 4px; line-height: 1.05; }
.cw__period { font-family: var(--font-m); font-size: 12px; color: #9a94a4; }
.cw__brief { color: #56505f; font-size: 15px; line-height: 1.6; margin: 14px 0 18px; max-width: 42ch; }
.cw__cta { font-family: var(--font-m); font-size: 13px; color: #14121a; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.cw__cta em { font-style: normal; }
.cw__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 36px; }
.cw__num b { display: block; font-family: var(--font-h); font-weight: 500; font-size: clamp(40px, 5vw, 66px); line-height: 1; letter-spacing: -0.02em; color: #14121a; }
.cw__num span { display: block; font-size: 13px; color: #9a94a4; margin-top: 8px; }
.cw__num .up { color: #FF5B00; }
.cw__num .down { color: #A855F7; }

@media (max-width: 820px) {
  .cases.cw { padding: 70px 0; }
  .cw__row { grid-template-columns: 1fr; gap: 26px; padding: 36px 0; }
  .cw__nums { gap: 22px 24px; }
}

/* ---- Case Study bento grid ---- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(165px, 1fr);
  gap: 16px;
}
.bento__item {
  position: relative; overflow: hidden;
  border-radius: 20px; padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bento__item:hover { transform: translateY(-3px); }
.bento__item--xl   { grid-column: span 2; grid-row: span 2; }
.bento__item--tall { grid-row: span 2; justify-content: flex-start; }

/* colour variants (CI only) */
.bento__item--dark   { background: #14121a; color: #fff; }
.bento__item--purple { background: linear-gradient(150deg, #C77DFF, #A855F7 60%, #7C3AED); color: #fff; }
.bento__item--orange { background: linear-gradient(150deg, #FFB05B, #FF5B00); color: #fff; }
.bento__item--light  { background: #f3f1f6; border: 1px solid rgba(0,0,0,0.08); color: #14121a; }
.bento__item--img    { background-size: cover; background-position: center; color: #fff; }
.bento__item--img::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(0,0,0,0.55));
}
.bento__item--img > * { position: relative; z-index: 1; }

.bento__big { font-family: var(--font-h); font-weight: 500; font-size: clamp(34px, 3.4vw, 56px); line-height: 0.95; letter-spacing: -0.02em; }
.bento__item--tall .bento__big { font-size: clamp(48px, 4vw, 72px); }
.bento__lbl { font-size: 13px; opacity: 0.78; margin-top: 8px; }
.bento__item--light .bento__lbl { opacity: 1; color: #9a94a4; }
.bento__copy { font-size: 13px; line-height: 1.55; opacity: 0.72; margin-top: auto; padding-top: 16px; }
.bento__tag { position: absolute; top: 20px; left: 22px; font-family: var(--font-m); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: .9; }
.bento__tag--dark { position: static; color: #FF5B00; opacity: 1; margin-bottom: 10px; display: block; }
.bento__cap { }
.bento__name { font-family: var(--font-h); font-weight: 500; font-size: clamp(20px, 2vw, 26px); margin: 0; }
.bento__sub { font-size: 12.5px; opacity: 0.82; }
.bento__arrow { position: absolute; top: 18px; right: 20px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.16); display: grid; place-items: center; font-size: 15px; }

@media (max-width: 820px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(150px, 1fr); }
  .bento__item--xl { grid-column: span 2; grid-row: span 1; min-height: 240px; }
  .bento__item--tall { grid-row: span 1; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .bento__item--xl { grid-column: span 1; }
}

.bento__case { position: absolute; top: 18px; left: 22px; z-index: 2; font-family: var(--font-m); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.bento__item--tall .bento__big { margin-top: 28px; }

/* ============================================================
   WHY SCALE CORE — dashboard panel (image bleeds top, floating cards)
   ============================================================ */
.why-panel { padding: 80px 0 100px; }
.wp {
  position: relative;
  background: linear-gradient(180deg, #1a1a1a 0%, #0c0c0c 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 30px;
  padding: 60px 48px 48px;
  margin-top: 90px;
}
.wp::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse 55% 60% at 72% 6%, rgba(168,85,247,0.30) 0%, transparent 62%);
  filter: blur(20px);
}
.wp__art {
  position: absolute; top: -120px; right: 3%;
  width: min(520px, 46%); height: auto; z-index: 1; pointer-events: none;
  filter: drop-shadow(0 16px 100px rgba(0,0,0,0.16));
}
.wp__head { position: relative; z-index: 2; max-width: 560px; }
.wp__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-m); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); }
.wp__title { font-family: var(--font-h); font-weight: 500; font-size: clamp(34px, 4.8vw, 66px); line-height: 1.05; margin: 16px 0 14px; color: #fff; }
.wp__accent { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wp__copy { color: var(--text-mute); font-size: 16px; line-height: 1.6; max-width: 46ch; }

.wp__cards {
  position: relative; z-index: 2; margin-top: 44px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px;
  grid-template-areas: "list compare" "list cta"; align-items: start;
}
.wp__list, .wp__compare, .wp__cta {
  background: rgba(255,255,255,0.04); border: 0;
  border-radius: 20px; padding: 10px 14px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.wp__list { grid-area: list; padding: 8px 8px; }
.wp__row { display: flex; align-items: center; gap: 16px; padding: 16px 14px; border-radius: 14px; transition: background .2s; }
.wp__row:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.06); }
.wp__row:hover { background: rgba(255,255,255,0.04); }
.wp__no { font-family: var(--font-m); font-size: 13px; color: var(--text-dim); flex: none; width: 24px; }
.wp__rb { flex: 1; }
.wp__rb b { display: block; font-family: var(--font-h); font-weight: 500; font-size: 16px; color: #fff; }
.wp__rb span { display: block; font-size: 13px; color: var(--text-mute); margin-top: 3px; line-height: 1.45; }
.wp__tick { flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,91,0,0.14); position: relative; }
.wp__tick::after { content: ""; position: absolute; left: 9px; top: 8px; width: 6px; height: 11px; border: solid #FF5B00; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.wp__compare { grid-area: compare; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 20px; }
.wp__cc-h { display: flex; align-items: center; gap: 6px; font-family: var(--font-m); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.wp__cc-h img { width: 16px; height: 16px; }
.wp__cc--them .wp__cc-h { color: var(--text-dim); }
.wp__cc--us .wp__cc-h { color: #FF5B00; }
.wp__cc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.wp__cc li { font-size: 13px; position: relative; padding-left: 20px; line-height: 1.35; }
.wp__cc--them li { color: var(--text-dim); text-decoration: line-through; }
.wp__cc--them li::before { content: "✕"; position: absolute; left: 0; color: var(--text-dim); }
.wp__cc--us li { color: var(--text); }
.wp__cc--us li::before { content: "✓"; position: absolute; left: 0; color: #FF5B00; }

.wp__cta { grid-area: cta; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px; }
.wp__cta b { font-family: var(--font-h); font-weight: 500; font-size: 17px; color: #fff; display: block; }
.wp__cta p { font-size: 13px; color: var(--text-mute); margin: 4px 0 0; }

@media (max-width: 1024px) {
  .wp { padding: 48px 22px 28px; margin-top: 70px; }
  .wp__art { width: 200px; top: -80px; right: 16px; }
  .wp__cards { grid-template-columns: 1fr; grid-template-areas: "list" "compare" "cta"; }
}

/* coverage flags in the CTA strip */
.cta__flags { display: inline-flex; align-items: center; gap: 9px; }
.cta__flags .fi { width: 26px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); }

/* ============================================================
   CASE STUDY v2 — style-guide layout (gradient panel + cards)
   ============================================================ */
.cases.cs2 { background: #000; padding: 90px 0 100px; }
.cs2 {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-areas: "hero right";
  gap: 16px;
}
.cs2__hero {
  grid-area: hero; position: relative; overflow: hidden;
  border-radius: 26px; min-height: 460px; padding: 26px;
  background-size: cover; background-position: center; background-color: #0c0c0c;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.cs2__hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.45), transparent 38%); }
.cs2__tag { position: relative; z-index: 1; }
.cs2__tag { font-family: var(--font-m); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,0.88); max-width: 60%; line-height: 1.5; }
.cs2__huge { display: block; font-family: var(--font-h); font-weight: 500; font-size: clamp(72px, 9vw, 150px); line-height: 0.85; color: #fff; }
.cs2__huge-sub { font-size: 15px; color: rgba(255,255,255,0.9); }

.cs2__card {
  position: relative; border-radius: 22px; padding: 26px;
  background: rgba(255,255,255,0.04); border: 0;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.cs2__card--a { grid-area: cardA; }
.cs2__card--b { grid-area: cardB; }
.cs2__card-main b { font-family: var(--font-h); font-weight: 500; font-size: clamp(38px, 4vw, 58px); color: #fff; line-height: 1; }
.cs2__card-main span { display: block; font-size: 13px; color: var(--text-mute); margin-top: 6px; }
.cs2__card-sub { font-size: 13px; color: var(--text-dim); max-width: 32ch; line-height: 1.5; }
.cs2__arrow { position: absolute; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 20px; text-decoration: none; transition: transform .2s; }
.cs2__arrow:hover { transform: translateX(3px); }

.cs2__right { grid-area: right; display: flex; flex-direction: column; }
.cs2__eyebrow { font-family: var(--font-m); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); }
.cs2__title { font-family: var(--font-h); font-weight: 500; font-size: clamp(36px, 4.2vw, 56px); color: #fff; line-height: 1; margin: 10px 0 0; }
.cs2__title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs2__desc { font-size: 15px; color: var(--text-mute); line-height: 1.6; margin: 16px 0 22px; }
.cs2__tiles { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(96px, 1fr); gap: 12px; margin-top: auto; }
.cs2__tile { border-radius: 16px; padding: 18px; min-height: 96px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; justify-content: flex-end; }
.cs2__tile b { font-family: var(--font-h); font-weight: 500; font-size: 24px; color: #fff; line-height: 1; }
.cs2__tile span { font-size: 12px; color: var(--text-mute); margin-top: 6px; }
.cs2__tile--img { grid-row: span 2; background-size: cover; background-position: center; border: 0; }
.cs2__tile--grad { background: var(--grad); border: 0; }
.cs2__tile--grad b, .cs2__tile--grad span { color: #fff; }

@media (max-width: 900px) {
  .cs2 { grid-template-columns: 1fr; grid-template-areas: "hero" "right"; }
  .cs2__hero { min-height: 280px; }
  .cs2__tag { max-width: 100%; }
}

/* Case Study — picture + swatches layout (white section, glowing heading kept) */
.cw__layout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.95fr;
  grid-template-areas: "pic cardA side" "pic cardB side";
  grid-auto-rows: 1fr;
  gap: 16px; align-items: stretch;
}
.cw__pic { grid-area: pic; }
.cw__fcard--a { grid-area: cardA; }
.cw__fcard--b { grid-area: cardB; }
.cw__side { grid-area: side; }
.cw__fcard {
  position: relative; border-radius: 22px; padding: 24px; text-decoration: none; color: #fff;
  background: linear-gradient(150deg, #C77DFF 0%, #A855F7 50%, #FF5B00 120%);
  display: flex; flex-direction: column; justify-content: flex-start; min-height: 150px;
  transition: transform .2s;
}
.cw__fcard:hover { transform: translateY(-3px); }
.cw__fcard-h { font-family: var(--font-h); font-weight: 500; font-size: clamp(30px, 3vw, 44px); line-height: 1; margin: 0; }
.cw__fcard-s { font-size: 13px; opacity: .92; margin-top: 6px; }
.cw__fcard-p { font-size: 12.5px; opacity: .85; line-height: 1.5; margin: 12px 0 0; max-width: 28ch; }
.cw__fcard-arrow { position: absolute; right: 20px; bottom: 20px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.92); color: #14121a; display: grid; place-items: center; font-size: 18px; font-style: normal; }
.cw__pic { position: relative; border-radius: 22px; overflow: hidden; min-height: 480px; background-size: cover; background-position: center; }
.cw__pic::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.4), transparent 36%); }
.cw__pic-tag { position: absolute; top: 18px; left: 20px; z-index: 1; font-family: var(--font-m); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.cw__side { display: flex; flex-direction: column; }
.cw__brief { font-size: 16px; line-height: 1.6; color: #56505f; }

.cw__side-eye { font-family: var(--font-m); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #FF5B00; }
.cw__side-h { font-family: var(--font-h); font-weight: 500; font-size: clamp(20px, 2vw, 28px); color: #14121a; line-height: 1.15; margin: 10px 0 0; }
.cw__brief { margin-top: 14px; }
.cw__swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: auto; }
.cw__sw { border-radius: 16px; padding: 16px; min-height: 150px; background: #f3f1f6; border: 1px solid rgba(0,0,0,0.08); display: flex; flex-direction: column; justify-content: flex-end; }
.cw__sw b { font-family: var(--font-h); font-weight: 500; font-size: clamp(18px, 1.6vw, 26px); line-height: 1; color: #14121a; }
.cw__sw span { font-size: 11px; color: #8a8590; margin-top: 5px; }
.cw__sw--grad { background: var(--grad); border: 0; }
.cw__sw--grad b, .cw__sw--grad span { color: #fff; }
@media (max-width: 860px) {
  .cw__layout { grid-template-columns: 1fr; grid-template-areas: "pic" "cardA" "cardB" "side" "sw"; }
  .cw__pic { min-height: 280px; }
  .cw__swatches { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Case Study: layered (big image + glass cards on its edge + 2 swatches) ---- */
.cw2 { position: relative; margin-top: 40px; }
.cw2__img { position: relative; width: 60%; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background-size: cover; background-position: center; }

.cw2__tag { position: absolute; top: 18px; left: 20px; z-index: 1; font-family: var(--font-m); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }

.cw2__card {
  position: absolute; left: 50%; width: 21%; aspect-ratio: 1 / 1; padding: 22px; border-radius: 22px; text-decoration: none; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: rgba(22,18,30,0.5); border: 0;
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.45);
}
.cw2__card--1 { top: 0; }
.cw2__card--2 { bottom: 0; }
.cw2__card-h { position: absolute; top: 22px; right: 22px; font-family: var(--font-h); font-weight: 500; font-size: clamp(30px, 3vw, 46px); line-height: 1; margin: 0; }
.cw2__card-s { font-size: 13px; opacity: .92; }
.cw2__card-p { font-size: 12.5px; opacity: .76; margin: 14px 0 0; }
.cw2__arrow { position: absolute; right: 20px; bottom: 20px; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 18px; font-style: normal; }

.cw2__side { position: absolute; right: 0; top: 7%; width: 27%; }
.cw2__h { font-family: var(--font-h); font-weight: 500; font-size: clamp(22px, 2.2vw, 32px); color: #34264a; line-height: 1.1; margin: 0 0 12px; }
.cw2__desc { font-size: 15px; color: #56505f; line-height: 1.6; }

.cw2__swatches { position: absolute; right: 0; bottom: 0; width: 27%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cw2__sw { border-radius: 16px; padding: 16px; aspect-ratio: 1 / 1; background: #f3f1f6; border: 1px solid rgba(0,0,0,0.08); display: flex; flex-direction: column; justify-content: flex-end; }
.cw2__sw b { font-family: var(--font-h); font-weight: 500; font-size: clamp(20px, 1.8vw, 28px); line-height: 1; color: #14121a; }
.cw2__sw span { font-size: 12px; color: #8a8590; margin-top: 5px; }

@media (max-width: 1024px) {
  .cw2 { min-height: 0; display: flex; flex-wrap: wrap; gap: 14px; }
  .cw2__img, .cw2__side, .cw2__swatches { position: static; width: 100%; }
  .cw2__img { height: 280px; }
  .cw2__card { position: relative; left: auto; top: auto; width: calc(50% - 7px); min-height: 132px; aspect-ratio: auto; }
  .cw2__sw { aspect-ratio: auto; min-height: 92px; }
}

/* ===== How we work — auto-rotating wheel (WOVE-style) ===== */
.hww { margin-top: 56px; width: 100vw; margin-left: calc(50% - 50vw); }
.hww__stage { position: relative; height: 540px; max-width: 100%; margin: 0; overflow: hidden; }
.hww__arc { position: absolute; top: 50%; left: -300px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.13); transform: translateY(-50%); pointer-events: none; }
.hww__list { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.hww__item { position: absolute; left: 240px; top: 50%; display: flex; align-items: center; gap: 56px; transform-origin: left center; transition: transform .85s cubic-bezier(.22,.61,.36,1), opacity .85s ease; will-change: transform, opacity; }
.hww__dot { position: absolute; left: -22px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); transform: translateY(-50%); transition: all .4s ease; }
.hww__item.is-active .hww__dot { width: 12px; height: 12px; background: var(--primary); box-shadow: 0 0 0 6px rgba(255,91,0,0.18); }
.hww__num { font-family: var(--font-h); font-weight: 500; font-size: 92px; line-height: 1; color: #fff; letter-spacing: -0.02em; }
.hww__info { width: 360px; max-width: 46vw; opacity: 0; transition: opacity .55s ease .15s; }
.hww__item.is-active .hww__info { opacity: 1; }
.hww__phase { font-family: var(--font-m); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.hww__title { font-family: var(--font-h); font-weight: 500; font-size: 26px; color: #fff; margin: 8px 0 8px; }
.hww__copy { font-family: var(--font-b); font-weight: 400; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.62); margin: 0 0 14px; }
.hww__deliv { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hww__deliv em { font-style: normal; font-family: var(--font-m); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-right: 4px; }
.hww__deliv span { font-family: var(--font-b); font-weight: 400; font-size: 12px; color: rgba(255,255,255,0.82); padding: 4px 11px; border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; }
@media (max-width: 760px){
  .hww__stage { height: 470px; max-width: 100%; }
  .hww__arc { left: -300px; width: 480px; height: 480px; }
  .hww__item { left: 20%; gap: 14px; }
  .hww__num { font-size: 60px; }
  .hww__info { width: 56vw; }
  .hww__title { font-size: 19px; }
  .hww__copy { font-size: 13px; }
}

/* ===== Services on light (cream) background ===== */
.services .eyebrow, .services .eyebrow span { color: #4a3a66; }
.services .sv__title { color: #1a1320; }
.services .sv__num { background: #1a1320; border: 1px solid transparent; color: #ffffff; }
.services .sv__svc-title { color: #1a1320; }
.services .sv__divider { background: rgba(0,0,0,0.12); }
.services .sv__desc { color: #5a5466; }
.services .sv__card { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }

/* opacity-only reveal (for elements that already use a transform) */
.reveal-f { opacity: 0; transition: opacity 0.8s ease; }
.reveal-f.is-visible { opacity: 1; }

/* ===== Customer journey — staggered reveal (points appear along the path) ===== */
@media (prefers-reduced-motion: no-preference) {
  .journey .rmap__node { opacity: 0; transform: scale(0.2); transition: opacity .5s ease, transform .6s cubic-bezier(.34,1.56,.64,1); }
  .journey .rmap__card { opacity: 0; transform: translateX(var(--tx,0)) translateY(16px); transition: opacity .6s ease, transform .65s cubic-bezier(.22,.61,.36,1); }
  .journey .rmap__brand, .journey .rmap__title { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .journey.j-go .rmap__node { opacity: 1; transform: scale(1); }
  .journey.j-go .rmap__card { opacity: 1; transform: translateX(var(--tx,0)) translateY(0); }
  .journey.j-go .rmap__brand, .journey.j-go .rmap__title { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1024px) { .rmap__card { --tx: 0 !important; } }

/* ===== Mobile fixes (annotated feedback) ===== */
.cases { overflow-x: clip; }

@media (max-width: 760px) {
  /* Case Study cards: drop forced 1:1 square (was leaving big empty space) */
  .cw2__sw { aspect-ratio: auto; min-height: 118px; }

  /* keep the glowing title centered + stop it from causing sideways scroll */
  .cw__title-wrap { text-align: center; }
  .cw__title-wrap::before { width: 86%; filter: blur(72px); }

  /* Why: keep the 3D art, move it up to the top-right so it clears the heading */
  .wp__art { display: block; width: 176px; top: -84px; right: -8px; }

  /* Customer journey: heading to the TOP, tidy nodes */

  /* How we work: full-bleed circle (no side padding) + text pushed right off the arc */
  .hww { margin-left: -20px; margin-right: -20px; }
  .hww__item { left: 27%; }
  .hww__info { width: 50vw; }

  /* Team: name/role up a bit + smaller */
  .member { gap: 12px; }
  .member__name { font-size: 17px; }
  .member__role { font-size: 11px; margin-top: 4px; }
}

/* ===== Testimonials — glass card carousel ===== */
.tsx__title { text-align: center; font-family: var(--font-h); font-weight: 500; font-size: clamp(38px, 6vw, 76px); line-height: 1.04; letter-spacing: -0.02em; color: #fff; margin: 0; }
.tsx__title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tsx { position: relative; max-width: 980px; margin: 46px auto 0; padding: 0 10px; }
.tsx__mark { position: absolute; z-index: 0; font-family: var(--font-h); font-weight: 700; line-height: 1; font-size: clamp(200px, 26vw, 360px); color: rgba(168,85,247,0.20); pointer-events: none; user-select: none; }
.tsx__mark--l { top: -104px; left: -66px; }
.tsx__mark--r { bottom: -150px; right: -66px; }
.tsx__card { position: relative; z-index: 1; background: rgba(20,16,30,0.30); border: 0; border-radius: 24px; -webkit-backdrop-filter: blur(20px) saturate(135%); backdrop-filter: blur(20px) saturate(135%); box-shadow: 0 34px 90px -24px rgba(0,0,0,0.45); padding: 46px clamp(28px,5vw,56px) 28px; }
.tsx__slides { position: relative; list-style: none; margin: 0; padding: 0; }
.tsx__slide { display: none; }
.tsx__slide.is-active { display: block; animation: tsxFade .55s ease; }
@keyframes tsxFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tsx__quote { font-family: var(--font-b); font-weight: 400; font-size: clamp(18px, 2vw, 23px); line-height: 1.62; color: rgba(255,255,255,0.92); margin: 0 0 22px; }
.tsx__who { display: flex; flex-direction: column; gap: 2px; }
.tsx__who b { font-family: var(--font-h); font-weight: 500; font-size: 16px; color: #fff; letter-spacing: .01em; }
.tsx__who span { font-family: var(--font-m); font-size: 12.5px; letter-spacing: .04em; color: var(--text-mute); }
.tsx__dots { display: flex; gap: 8px; margin-top: 26px; }
.tsx__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.22); border: 0; padding: 0; cursor: pointer; transition: all .3s ease; }
.tsx__dot.is-active { width: 26px; border-radius: 6px; background: var(--primary); }
@media (max-width: 760px) {
  .tsx__card { padding: 34px 22px 22px; }
  .tsx__mark { font-size: 150px; }
  .tsx__mark--l { top: -44px; left: -22px; }
  .tsx__mark--r { bottom: -92px; right: -22px; }
}

/* ===== Hero entrance reveal ===== */
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroFadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__bigtitle { animation: heroRise 1s cubic-bezier(.2,.8,.2,1) .15s backwards; }
  .hero__art { animation: heroSpin 26s linear infinite, heroFadeIn 1.1s ease .4s backwards; }
  .hero__bl { animation: heroRise .9s cubic-bezier(.2,.8,.2,1) .55s backwards; }
  .hero__br { animation: heroRise .9s cubic-bezier(.2,.8,.2,1) .7s backwards; }
  .hero__scroll { animation: heroRise .9s ease .95s backwards; }
}


/* ===== Moved out of inline HTML styles ===== */
/* roadmap — star field positions */
.rmap__stars i:nth-child(1){left:16%;top:20%}
.rmap__stars i:nth-child(2){left:33%;top:38%}
.rmap__stars i:nth-child(3){left:47%;top:13%}
.rmap__stars i:nth-child(4){left:60%;top:44%}
.rmap__stars i:nth-child(5){left:74%;top:24%}
.rmap__stars i:nth-child(6){left:86%;top:50%}
.rmap__stars i:nth-child(7){left:11%;top:52%}
.rmap__stars i:nth-child(8){left:53%;top:70%}

/* roadmap — point positions + per-stage card offset (--tx) & accent (--c) */
.rmap__pt--1{left:5.8%;top:66.7%}
.rmap__pt--2{left:29.2%;top:49.2%}
.rmap__pt--3{left:49.2%;top:57.5%}
.rmap__pt--4{left:69.2%;top:34.2%}
.rmap__pt--5{left:90.8%;top:19.2%}
.rmap__pt--1 .rmap__card{--tx:-46px}  .rmap__pt--1 .rmap__pname{--c:#FFB05B}
.rmap__pt--2 .rmap__card{--tx:-46px}  .rmap__pt--2 .rmap__pname{--c:#A855F7}
.rmap__pt--3 .rmap__card{--tx:-56px}  .rmap__pt--3 .rmap__pname{--c:#FF5B00}
.rmap__pt--4 .rmap__card{--tx:46px}   .rmap__pt--4 .rmap__pname{--c:#A855F7}
.rmap__pt--5 .rmap__card{--tx:38px}   .rmap__pt--5 .rmap__pname{--c:#FFB05B}

/* case study image */
.cw2__img--lumira{background-image:url(assets/img/case-lumira.png)}

/* ============================================================
   PAGE COMPONENTS (About + shared across inner pages)
   ============================================================ */
.site-main { position: relative; z-index: 1; }

/* page hero */
.phero { position: relative; padding: 168px 0 92px; overflow: hidden; }
.phero__glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle 680px at 16% -6%, rgba(168,85,247,0.22), transparent 60%),
    radial-gradient(circle 760px at 104% 28%, rgba(255,91,0,0.16), transparent 60%); }
.phero__inner { position: relative; z-index: 1; }
.phero__title { font-family: var(--font-h); font-weight: 500; font-size: clamp(44px, 7vw, 104px); line-height: 1.0; letter-spacing: -0.02em; color: #fff; margin: 18px 0 0; }
.phero__lead { font-family: var(--font-b); font-weight: 400; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.65; color: var(--text-mute); max-width: 640px; margin: 26px 0 0; }

/* story */
.story { padding: 80px 0; }
.story__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.story__art { display: flex; justify-content: center; }
.story__art img { width: 100%; max-width: 420px; height: auto; filter: drop-shadow(0 30px 90px rgba(168,85,247,0.28)); }
.story__body h2 { margin: 14px 0 18px; }
.story__body p { font-family: var(--font-b); font-weight: 400; font-size: 16px; line-height: 1.7; color: var(--text-mute); margin: 0 0 16px; max-width: 56ch; }
.story__body .btn2 { margin-top: 10px; }

/* about stats row */
.abstats { padding: 24px 0 92px; }
.abstats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* values */
.vals { padding: 96px 0 112px; }
.vals__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.val { padding: 28px; border-radius: 18px; background: rgba(255,255,255,0.04); border: 0;
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.val:hover { transform: translateY(-4px); border-color: rgba(255,91,0,0.40); background: rgba(255,255,255,0.06); }
.val__no { font-family: var(--font-m); font-size: 13px; letter-spacing: .14em; color: var(--primary); }
.val__h { font-family: var(--font-h); font-weight: 500; font-size: 20px; color: #fff; margin: 14px 0 8px; }
.val__p { font-family: var(--font-b); font-weight: 400; font-size: 14.5px; line-height: 1.6; color: var(--text-mute); margin: 0; }

/* page components — tablet */
@media (max-width: 1024px) {
  .phero { padding: 140px 0 72px; }
  .story__grid { grid-template-columns: 1fr; gap: 32px; }
  .story__art { order: 1; margin-top: 8px; }
  .story__art img { max-width: 300px; }
  .abstats__grid { grid-template-columns: repeat(2, 1fr); }
  .vals__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .phero { padding: 120px 0 56px; }
  .vals__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .abstats__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.work { padding: 30px 0 100px; }
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work__card { display: block; text-decoration: none; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); transition: transform .35s ease, border-color .35s ease; }
.work__card:hover { transform: translateY(-6px); border-color: rgba(255,91,0,0.45); }
.work__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work__card:hover .work__media img { transform: scale(1.05); }
.work__no { position: absolute; top: 12px; left: 14px; font-family: var(--font-m); font-size: 12px; letter-spacing: .1em; color: #fff; background: rgba(0,0,0,0.45); padding: 4px 9px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.work__body { padding: 20px 22px 24px; }
.work__meta { display: flex; gap: 10px; font-family: var(--font-m); font-size: 12px; letter-spacing: .04em; color: var(--text-dim); }
.work__title { font-family: var(--font-h); font-weight: 500; font-size: 22px; color: #fff; margin: 10px 0 6px; }
.work__role { font-family: var(--font-b); font-weight: 400; font-size: 14px; color: var(--text-mute); margin: 0 0 14px; }
.work__cta { font-family: var(--font-m); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }

/* ============================================================
   CASE STUDY — alternating editorial rows
   ============================================================ */
.cstudy { padding: 20px 0 100px; }
.cstudy .container { display: flex; flex-direction: column; gap: 26px; }
.cs { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 26px; border-radius: 22px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.09); }
.cs:nth-child(even) .cs__media { order: 2; }
.cs__media { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; }
.cs__media img { width: 100%; height: 100%; object-fit: cover; }
.cs__meta { display: flex; gap: 10px; font-family: var(--font-m); font-size: 12px; letter-spacing: .05em; color: var(--text-dim); }
.cs__title { font-family: var(--font-h); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; color: #fff; margin: 12px 0 12px; }
.cs__excerpt { font-family: var(--font-b); font-weight: 400; font-size: 15px; line-height: 1.7; color: var(--text-mute); margin: 0 0 20px; max-width: 52ch; }
.cs__metrics { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.cs__metric { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 12px; padding: 12px 16px; min-width: 86px; }
.cs__metric b { display: block; font-family: var(--font-h); font-weight: 500; font-size: 24px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs__metric span { font-family: var(--font-m); font-size: 11px; letter-spacing: .06em; color: var(--text-dim); }

/* ============================================================
   BLOG — featured + grid
   ============================================================ */
.blogx { padding: 20px 0 100px; }
.feat { display: grid; grid-template-columns: 1.3fr 1fr; border-radius: 22px; overflow: hidden; text-decoration: none; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); margin-bottom: 28px; transition: border-color .3s ease; }
.feat:hover { border-color: rgba(168,85,247,0.45); }
.feat__media { aspect-ratio: 16 / 10; overflow: hidden; }
.feat__media img { width: 100%; height: 100%; object-fit: cover; }
.feat__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.feat__badge { font-family: var(--font-m); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.feat__title { font-family: var(--font-h); font-weight: 500; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.15; color: #fff; margin: 14px 0 12px; }
.feat__excerpt { font-family: var(--font-b); font-weight: 400; font-size: 15px; line-height: 1.7; color: var(--text-mute); margin: 0 0 18px; }
.blogx__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { display: block; text-decoration: none; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.09); transition: transform .3s ease, border-color .3s ease; }
.post:hover { transform: translateY(-5px); border-color: rgba(255,91,0,0.40); }
.post__media { aspect-ratio: 16 / 10; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post:hover .post__media img { transform: scale(1.05); }
.post__body { padding: 18px 20px 22px; }
.post__meta { display: flex; gap: 10px; align-items: center; font-family: var(--font-m); font-size: 11.5px; letter-spacing: .04em; color: var(--text-dim); }
.post__cat { color: var(--primary); }
.post__title { font-family: var(--font-h); font-weight: 500; font-size: 18px; line-height: 1.25; color: #fff; margin: 10px 0 8px; }
.post__excerpt { font-family: var(--font-b); font-weight: 400; font-size: 13.5px; line-height: 1.6; color: var(--text-mute); margin: 0; }

.phero--tight { padding-bottom: 36px; }

/* inner pages — tablet/mobile */
@media (max-width: 1024px) {
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .cs { grid-template-columns: 1fr; gap: 22px; }
  .cs:nth-child(even) .cs__media { order: 0; }
  .feat { grid-template-columns: 1fr; }
  .feat__media { order: -1; }
  .feat__body { padding: 28px; }
  .blogx__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .work__grid { grid-template-columns: 1fr; }
  .blogx__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PORTFOLIO — big image-card showcase
   ============================================================ */
.pf { padding: 8px 0 100px; }
.pf__head { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 26px; font-family: var(--font-m); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.pf__hint { color: var(--primary); }
.pf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pf__item { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; text-decoration: none; box-shadow: 0 24px 60px -28px rgba(0,0,0,0.5); }
.pf__item--feat { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.pf__media { position: absolute; inset: 0; }
.pf__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.pf__item:hover .pf__media img { transform: scale(1.06); }
.pf__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; background: linear-gradient(to top, rgba(8,6,14,0.9) 0%, rgba(8,6,14,0.35) 42%, transparent 72%); }
.pf__meta { display: flex; gap: 10px; font-family: var(--font-m); font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,0.72); }
.pf__title { font-family: var(--font-h); font-weight: 500; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.1; color: #fff; margin: 8px 0 4px; }
.pf__role { font-family: var(--font-b); font-weight: 400; font-size: 14px; color: rgba(255,255,255,0.78); margin: 0; }
.pf__item--feat .pf__title { font-size: clamp(30px, 3.4vw, 52px); }
.pf__item--feat .pf__overlay { padding: 40px; }
.pf__result { position: absolute; top: 18px; right: 18px; z-index: 2; font-family: var(--font-h); font-weight: 500; font-size: 15px; color: #fff; background: var(--grad); padding: 8px 15px; border-radius: 999px; box-shadow: 0 10px 26px -8px rgba(168,85,247,0.6); }
@media (max-width: 760px) {
  .pf__grid { grid-template-columns: 1fr; }
  .pf__item, .pf__item--feat { aspect-ratio: 4 / 3; }
  .pf__overlay, .pf__item--feat .pf__overlay { padding: 20px; }
}

/* ============================================================
   LIGHT SECTION (eye-rest) — cream bg + dark components
   apply ".sec--light" to alternate sections on any page
   ============================================================ */
.sec--light { position: relative;
  background:
    radial-gradient(circle 560px at 8% 14%, rgba(168,85,247,0.12), transparent 62%),
    radial-gradient(circle 640px at 96% 90%, rgba(255,91,0,0.10), transparent 62%),
    radial-gradient(ellipse 150% 210% at 50% 45%, #f6f4f0 0%, #ece9e3 100%); }
.sec--light .eyebrow, .sec--light .eyebrow span { color: #4a3a66; }
.sec--light .h-display, .sec--light h2, .sec--light h3,
.sec--light .val__h, .sec--light .work__title, .sec--light .cs__title,
.sec--light .post__title, .sec--light .feat__title { color: #14121a; }
.sec--light p, .sec--light .sec-head__copy, .sec--light .story__body p,
.sec--light .val__p, .sec--light .work__role, .sec--light .cs__excerpt,
.sec--light .post__excerpt, .sec--light .feat__excerpt { color: #56505f; }
.sec--light .work__meta, .sec--light .cs__meta, .sec--light .post__meta { color: #8a8590; }
.sec--light .val__no, .sec--light .work__cta, .sec--light .post__cat, .sec--light .feat__badge, .sec--light .pf__hint { color: #FF5B00; }
/* glass cards -> light cards */
.sec--light .stat, .sec--light .val, .sec--light .work__card,
.sec--light .cs, .sec--light .post, .sec--light .feat, .sec--light .cs__metric {
  background: rgba(255,255,255,0.62); border-color: rgba(0,0,0,0.08); }
.sec--light .stat:hover, .sec--light .val:hover, .sec--light .work__card:hover, .sec--light .post:hover {
  background: rgba(255,255,255,0.92); border-color: rgba(255,91,0,0.40); }
.sec--light .stat__num, .sec--light .stat__num span, .sec--light .stat__num em { color: #14121a; }
.sec--light .stat__lbl { color: #6b6577; }
/* portfolio list on light */
.sec--light .pf__head { color: #8a8590; border-top-color: rgba(0,0,0,0.10); }
.sec--light .cs__metric span { color: #8a8590; }
.sec--light .btn2--light { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.14); }

/* Services slider — manual prev/next (on the cream section -> dark controls) */
.sv__nav { display: flex; gap: 12px; margin-top: 0; align-self: center; }
.sv__nav-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,0.05); border: 0; color: #14121a; cursor: pointer; transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease; }
.sv__nav-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.sv__nav-btn:active { transform: translateY(0); }

/* Services: left column = slide + manual nav under it */
.sv__media { display: flex; flex-direction: column; align-items: center; gap: 22px; }

/* How we work — neon data-journey art filling the empty right side */
.hww__art { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); width: min(46vw, 760px); height: auto; z-index: 1; pointer-events: none; }
@media (max-width: 900px) { .hww__art { display: none; } }

/* ============================================================
   WordPress theme additions (Scale Core)
   ============================================================ */

/* Site Identity logo sizing in nav + footer */
.nav__logo .custom-logo,
.nav__logo img{height:30px;width:auto;display:block}
.footer__brand .custom-logo,
.footer__logo{height:34px;width:auto;display:block}
.nav__logo.custom-logo-link{display:inline-flex;align-items:center}

/* Language switcher (Polylang flags) */
.nav__lang{display:inline-flex;align-items:center;gap:8px;margin-right:14px}
.nav__lang-link{display:inline-flex;align-items:center;gap:6px;text-decoration:none;opacity:.55;transition:opacity .2s;font:600 11px/1 'JetBrains Mono',monospace;letter-spacing:.06em;color:inherit}
.nav__lang-link:hover,.nav__lang-link.is-active{opacity:1}
.nav__lang-flag .fi,.nav__lang-flag img{width:20px;height:14px;border-radius:2px;object-fit:cover;display:block;box-shadow:0 0 0 1px rgba(255,255,255,.18)}
.nav__lang-code{display:none}
@media(min-width:1024px){.nav__lang-code{display:inline}}
.nav__drawer .nav__lang{margin:10px 0 0}

/* WP alignment + caption helpers for post/case-study content */
.entry-content img{max-width:100%;height:auto}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.alignright{float:right;margin:0 0 1em 1.5em}
.alignleft{float:left;margin:0 1.5em 1em 0}
.wp-caption{max-width:100%}
.wp-caption-text{font-size:.85em;opacity:.7;margin-top:.4em}
.sticky,.bypostauthor{display:block}

/* Pagination */
.sc-pagination{display:flex;gap:8px;justify-content:center;margin:48px 0;flex-wrap:wrap}
.sc-pagination .page-numbers{display:inline-flex;min-width:40px;height:40px;align-items:center;justify-content:center;padding:0 12px;border:1px solid rgba(255,255,255,.16);border-radius:8px;text-decoration:none;color:inherit;font:600 13px/1 'JetBrains Mono',monospace}
.sc-pagination .page-numbers.current,.sc-pagination .page-numbers:hover{background:var(--c-primary,#FF5B00);color:#000;border-color:transparent}

/* Admin bar offset */
body.admin-bar .nav{top:32px}
@media(max-width:782px){body.admin-bar .nav{top:46px}}

/* Drawer menu list reset (wp_nav_menu wraps links in <li>) */
.nav__drawer ul{list-style:none;margin:0;padding:0;display:contents}
.nav__drawer li{display:block}

/* Detail / article (single post, case study, portfolio, page) */
.sc-detail .phero{padding-bottom:40px}
.sc-article{max-width:860px;margin:0 auto;padding:8px 0 20px}
.sc-article__hero{border-radius:16px;overflow:hidden;margin:0 0 32px}
.sc-article__hero img{width:100%;height:auto;display:block}
.sc-article__metrics{margin:0 0 28px}
.sc-prose{font-family:'Nunito',sans-serif;font-size:1.08rem;line-height:1.85;color:rgba(255,255,255,.82)}
.sc-prose>*{margin:0 0 1.2em}
.sc-prose h2,.sc-prose h3,.sc-prose h4{font-family:'Archivo',sans-serif;color:#fff;line-height:1.2;margin:1.6em 0 .6em}
.sc-prose h2{font-size:1.8rem}.sc-prose h3{font-size:1.4rem}
.sc-prose a{color:var(--c-primary,#FF5B00);text-decoration:underline}
.sc-prose img{border-radius:12px}
.sc-prose blockquote{border-left:3px solid var(--c-primary,#FF5B00);padding:.2em 0 .2em 1.2em;margin:1.4em 0;font-style:italic;color:#fff}
.sc-prose ul,.sc-prose ol{padding-left:1.3em}
.sc-prose li{margin:.4em 0}
.sc-prose pre{background:rgba(255,255,255,.05);padding:1em;border-radius:10px;overflow:auto;font-family:'JetBrains Mono',monospace;font-size:.9em}
.sc-prose code{font-family:'JetBrains Mono',monospace}
.sc-tags{margin:28px 0 0;display:flex;gap:8px;flex-wrap:wrap}
.sc-tags a{font:600 11px/1 'JetBrains Mono',monospace;padding:7px 12px;border:1px solid rgba(255,255,255,.16);border-radius:999px;text-decoration:none;color:rgba(255,255,255,.7)}
.sc-postnav{display:flex;justify-content:space-between;gap:16px;margin:48px 0 0;padding-top:24px;border-top:1px solid rgba(255,255,255,.1)}
.sc-postnav a{color:#fff;text-decoration:none;font-weight:600}
.sc-postnav a:hover{color:var(--c-primary,#FF5B00)}
.sc-search{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

/* ============================================================
   Logo sizing overrides (header 60–80px, footer balanced)
   ============================================================ */
.nav{min-height:92px}
.nav .nav__logo,.nav a.custom-logo-link{display:inline-flex;align-items:center}
.nav .nav__logo .custom-logo,
.nav .nav__logo img,
.nav a.custom-logo-link img,
.nav img.custom-logo{height:clamp(60px,5.5vw,80px)!important;width:auto!important;max-width:260px;display:block}
.footer__brand .custom-logo,
.footer__brand a.custom-logo-link img,
.footer__brand img.custom-logo,
.footer__logo{height:56px!important;width:auto!important;max-width:240px;display:block;margin-bottom:18px}
body.admin-bar .nav{top:32px}
@media(max-width:782px){body.admin-bar .nav{top:46px}.nav{min-height:74px}}

/* ============================================================
   Blog detail layout + widget sidebar
   ============================================================ */
.sc-single-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:48px;align-items:start;max-width:1180px;margin:0 auto}
.sc-single-main{min-width:0}
.sc-single-main .sc-article__hero{border-radius:16px;overflow:hidden;margin:0 0 32px}
.sc-single-main .sc-article__hero img{width:100%;height:auto;display:block}
.sc-sidebar{position:sticky;top:110px;display:flex;flex-direction:column;gap:22px}
@media(max-width:1024px){.sc-single-wrap{grid-template-columns:1fr;gap:36px}.sc-sidebar{position:static}}

/* prose readable on the cream (sec--light) section */
.sec--light .sc-prose{color:#3a3540}
.sec--light .sc-prose h2,.sec--light .sc-prose h3,.sec--light .sc-prose h4{color:#14121a}
.sec--light .sc-prose a{color:#FF5B00}
.sec--light .sc-prose blockquote{color:#14121a;border-left-color:#FF5B00}
.sec--light .sc-tags a{color:#56505f;border-color:rgba(0,0,0,.14)}
.sec--light .sc-postnav{border-top-color:rgba(0,0,0,.1)}
.sec--light .sc-postnav a{color:#14121a}
.sec--light .sc-postnav a:hover{color:#FF5B00}

/* widgets */
.sc-widget{background:rgba(255,255,255,0.72);border:1px solid rgba(0,0,0,0.08);border-radius:16px;padding:20px}
.sc-widget+.sc-widget{margin-top:0}
.sc-widget__title{font-family:'Archivo',sans-serif;font-size:14px;letter-spacing:.04em;color:#14121a;margin:0 0 14px;text-transform:uppercase}
.sc-widget__posts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.sc-widget__posts a{display:flex;gap:12px;align-items:center;text-decoration:none}
.sc-widget__thumb img{width:56px;height:56px;object-fit:cover;border-radius:10px;display:block}
.sc-widget__pmeta{display:flex;flex-direction:column;gap:3px}
.sc-widget__ptitle{font-family:'Archivo',sans-serif;font-size:14px;line-height:1.3;color:#14121a}
.sc-widget__pdate{font:600 11px/1 'JetBrains Mono',monospace;color:#8a8590}
.sc-widget__posts a:hover .sc-widget__ptitle{color:#FF5B00}
.sc-widget__cats{list-style:none;margin:0;padding:0}
.sc-widget__cats li{border-bottom:1px solid rgba(0,0,0,.07)}
.sc-widget__cats li:last-child{border-bottom:0}
.sc-widget__cats a{display:flex;justify-content:space-between;align-items:center;padding:9px 0;text-decoration:none;color:#3a3540;font-size:14px}
.sc-widget__cats a:hover{color:#FF5B00}
.sc-widget__cats em{font-style:normal;font:600 11px/1 'JetBrains Mono',monospace;color:#8a8590;background:rgba(0,0,0,.05);padding:4px 8px;border-radius:999px}
.sc-widget--cta{background:linear-gradient(150deg,#2a1840,#1a1320);border:0;color:#fff}
.sc-widget--cta .sc-widget__title{color:#fff}
.sc-widget--cta p{font-size:13.5px;line-height:1.6;color:rgba(255,255,255,.82);margin:0 0 16px}
.sc-widget form,.sc-widget .sc-search,.sc-widget .search-form{display:flex;gap:8px}
.sc-widget input[type=search],.sc-widget .cf-field{flex:1;min-width:0;padding:10px 12px;border-radius:10px;border:1px solid rgba(0,0,0,.14);background:#fff;color:#14121a;font-size:14px}
.sc-widget .search-submit,.sc-widget button[type=submit]{padding:10px 14px;border-radius:10px;border:0;background:var(--c-primary,#FF5B00);color:#000;font-weight:700;cursor:pointer}
/* default WP widgets inherit the card look */
.sc-sidebar .widget ul{list-style:none;margin:0;padding:0}
.sc-sidebar .widget a{color:#3a3540;text-decoration:none}
.sc-sidebar .widget a:hover{color:#FF5B00}
