/* ── PAGE TRANSITIONS ──
   Native cross-document View Transitions (Chrome/Edge — the only browsers
   that support this today; Safari/Firefox silently fall back to a normal
   instant navigation, no broken behavior either way). This is what actually
   gives page-to-page navigation a smooth crossfade instead of a hard cut —
   something no amount of JS setTimeout tuning can produce, since a normal
   link/location navigation unloads one document and loads another; this API
   is the real mechanism built for exactly that transition. */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.28s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
::view-transition-old(root) { animation-name: jm-page-fade-out; }
::view-transition-new(root) { animation-name: jm-page-fade-in; }
@keyframes jm-page-fade-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(1.015); }
}
@keyframes jm-page-fade-in {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

/* ── TOKENS ── */
:root {
  --void: #0a0a0a;
  --carbon: #1a1a1a;
  --gold: #c9a96e;
  --gold-dim: rgba(201,169,110,0.15);
  --bone: #f0ede6;
  --bone-dim: rgba(240,237,230,0.07);
  --muted: #666;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(0,0,0,0.1);
  --radius: 6px;
  --nav-h: 72px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ── LIGHT MODE OVERRIDES ── */
[data-theme="light"] {
  --void: #f5f3ef;
  --carbon: #eceae4;
  --gold: #b8924a;
  --gold-dim: rgba(184,146,74,0.12);
  --bone: #1a1a1a;
  --bone-dim: rgba(26,26,26,0.05);
  --muted: #666;
  --border: rgba(0,0,0,0.10);
  --border-light: rgba(0,0,0,0.10);
}

/* light mode nav */
[data-theme="light"] .nav.scrolled { background: rgba(245,243,239,0.95); }
[data-theme="light"] .nav-links a { color: rgba(26,26,26,0.65); }
[data-theme="light"] .nav-links a:hover { color: var(--bone); }
[data-theme="light"] .nav-burger span { background: var(--bone); }
[data-theme="light"] .nav-mobile { background: var(--void); }

/* force nav visible on project pages in light mode — nav sits over dark hero */
[data-theme="light"] .nav { background: rgba(245,243,239,0.00) !important; backdrop-filter: blur(0px); }
[data-theme="light"] .nav-links a { color: #1a1a1a !important; }
[data-theme="light"] .nav-links a:hover { color: var(--gold) !important; }
[data-theme="light"] .nav-cta { background: #1a1a1a !important; color: #f0ede6 !important; border-color: #1a1a1a !important; }
[data-theme="light"] .nav-burger span { background: #1a1a1a !important; }

/* light mode proj-next — match light theme not dark */
[data-theme="light"] .proj-next { background: #1a1a1a !important; }
[data-theme="light"] .pn-label { color: #888 !important; }
[data-theme="light"] .pn-title { color: #f0ede6 !important; }
[data-theme="light"] .pn-arrow { color: var(--gold) !important; }

/* proj-hero — keep dark gradient regardless of theme for readability */
[data-theme="light"] .proj-hero { filter: none !important; }

/* proj-meta strip — light background in light mode */
[data-theme="light"] .proj-meta { background: var(--void) !important; border-bottom: 0.5px solid rgba(0,0,0,0.1) !important; }
[data-theme="light"] .pm-item label { color: var(--gold) !important; }
[data-theme="light"] .pm-item span { color: #1a1a1a !important; }

/* Hire me nav-cta button — always visible */
[data-theme="light"] .nav-cta { background: #1a1a1a !important; color: #f0ede6 !important; border-color: #1a1a1a !important; }
[data-theme="light"] .nav-cta:hover { background: var(--gold) !important; border-color: var(--gold) !important; }

/* light mode footer */
[data-theme="light"] footer { background: #1a1a1a; }
[data-theme="light"] .footer-tagline { color: #888; }
[data-theme="light"] .footer-links h4 { color: #888; }
[data-theme="light"] .footer-links a { color: #aaa; }
[data-theme="light"] .footer-links a:hover { color: #f0ede6; }
[data-theme="light"] .footer-copy { color: #666; }
[data-theme="light"] .footer-socials a { color: #888; }
[data-theme="light"] .footer-bottom { border-top-color: rgba(255,255,255,0.08); }

/* light mode hero watermark */
[data-theme="light"] .hero-wm { opacity: 0.025; filter: invert(1); }

/* light mode ticker */
[data-theme="light"] .ticker-wrap { background: var(--carbon); }

/* light mode form */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select { background: #fff; color: #1a1a1a; border-color: rgba(0,0,0,0.15); }
[data-theme="light"] .form-group select option { background: #fff; color: #1a1a1a; }

/* light mode work overlay */
[data-theme="light"] .wg-overlay { background: rgba(245,243,239,0.94); }
[data-theme="light"] .wg-title { color: #1a1a1a; }
[data-theme="light"] .wg-client { color: #666; }

/* light mode cursor */

/* ── SITE-WIDE FLOATING BUTTON ── */
.jm-fab-wrap {
  position: fixed; right: 24px; bottom: 24px; z-index: 1500;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.jm-fab-hint {
  position: absolute; right: 68px; bottom: 14px;
  background: var(--void); border: 0.5px solid rgba(201,169,110,0.4);
  color: var(--gold); font-size: 12px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4); pointer-events: none;
  opacity: 0; transform: translateX(8px) scale(0.92);
  transition: opacity 0.35s cubic-bezier(0.16,1,0.3,1), transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.jm-fab-hint.jm-fab-hint-show { opacity: 1; transform: translateX(0) scale(1); }
.jm-fab-hint::after {
  content: ''; position: absolute; right: -5px; bottom: 18px;
  width: 8px; height: 8px; background: var(--void);
  border-right: 0.5px solid rgba(201,169,110,0.4);
  border-bottom: 0.5px solid rgba(201,169,110,0.4);
  transform: rotate(-45deg);
}
[data-theme="light"] .jm-fab-hint { background: #fff; border-color: rgba(184,146,74,0.4); color: #b8924a; }
[data-theme="light"] .jm-fab-hint::after { background: #fff; border-color: rgba(184,146,74,0.4); }
.jm-fab-item {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--void); border: 0.5px solid rgba(201,169,110,0.4);
  color: var(--gold); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4); cursor: pointer;
  opacity: 0; transform: translateY(16px) scale(0.7); pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s, border-color 0.2s;
}
[data-theme="light"] .jm-fab-item { background: #fff; border-color: rgba(184,146,74,0.4); color: #b8924a; }
.jm-fab-item:hover { border-color: var(--gold); }
/* The reused theme-switch pill keeps its own shape/styling (set earlier in
   this file) — this just gives it the same fade/slide reveal as the other
   FAB items, without fighting its pill-shaped background with a circular one. */
.jm-fab-wrap .theme-switch {
  margin: 0; opacity: 0; transform: translateY(16px) scale(0.7); pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s, border-color 0.2s;
}
.jm-fab-wrap.jm-open .jm-fab-item,
.jm-fab-wrap.jm-open .theme-switch {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}
.jm-fab-main {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); color: #0a0a0a; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  transition: transform 0.25s ease;
  animation: fabPulse 2.2s ease-in-out infinite;
}
@keyframes fabPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
.jm-fab-main:hover { animation-play-state: paused; transform: scale(1.06); }
/* Stop pulsing once expanded — the revealed buttons are enough activity
   without the trigger also still animating underneath them. */
.jm-fab-wrap.jm-open .jm-fab-main { animation: none; transform: scale(1); }
.jm-fab-main .fab-icon-x { display: none; }
.jm-fab-wrap.jm-open .jm-fab-main .fab-icon-plus { display: none; }
.jm-fab-wrap.jm-open .jm-fab-main .fab-icon-x { display: block; }
@media (prefers-reduced-motion: reduce) {
  .jm-fab-item, .jm-fab-wrap .theme-switch, .jm-fab-main { transition: none; animation: none; }
}
.theme-switch {
  position: relative; display: inline-flex; align-items: center;
  width: 50px; height: 26px; border-radius: 999px;
  background: #0a0a0a;
  border: 0.5px solid rgba(201,169,110,0.35);
  cursor: pointer; flex-shrink: 0; margin-left: 8px; padding: 0;
  transition: background var(--transition), border-color var(--transition);
}
[data-theme="light"] .theme-switch { background: #ffffff; border-color: rgba(184,146,74,0.4); }
.theme-switch .ts-icon {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 10px; color: var(--gold); opacity: 0.55; pointer-events: none;
}
.theme-switch .ts-icon-moon { left: 6px; }
.theme-switch .ts-icon-sun { right: 6px; }
.theme-switch .ts-knob {
  position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
  transition: transform var(--transition);
}
[data-theme="light"] .theme-switch .ts-knob { transform: translateX(24px); }
.theme-switch:hover { border-color: var(--gold); }

/* ── PILL CHOICE GATE (Matrix-style intro) ── */
.pill-gate {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2000;
  background: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; text-align: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.pill-gate.pg-hide { opacity: 0; visibility: hidden; pointer-events: none; }
/* Very faint — barely more present than pure background, just enough that
   the mark reads as a dark shape rather than fully disappearing into it.
   Scoped to the gate only, so the homepage's own watermark is untouched. */
.pill-gate .hero-wm { opacity: 0.02; }
.pg-inner { max-width: 560px; position: relative; z-index: 2; }
.pg-rain { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.pg-label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: #c9a96e; margin-bottom: 16px; font-weight: 500;
}
.pg-title {
  font-family: 'Clash Display', sans-serif; font-size: clamp(26px, 4vw, 42px);
  font-weight: 300; color: #f0ede6; margin-bottom: 18px; line-height: 1.15;
}
.pg-sub {
  font-size: 14px; color: rgba(240,237,230,0.6);
  line-height: 1.7; margin-bottom: 48px; font-weight: 300;
}
.pg-pills { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; }
.pg-col { width: 190px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pg-pill {
  position: relative; width: 68px; height: 150px; border-radius: 999px;
  border: none; cursor: pointer; overflow: hidden; padding: 0; background: none;
  transition: transform 0.3s ease, filter 0.12s ease-out;
}
.pg-pill-black { filter: drop-shadow(0 12px 26px rgba(0,0,0,0.55)); }
.pg-pill-gold { filter: drop-shadow(0 12px 26px rgba(0,0,0,0.25)); }
.pg-pill-black:hover { filter: drop-shadow(0 12px 26px rgba(0,0,0,0.55)) drop-shadow(0 0 26px rgba(201,169,110,0.65)); }
.pg-pill-gold:hover { filter: drop-shadow(0 12px 26px rgba(0,0,0,0.25)) drop-shadow(0 0 26px rgba(240,217,168,0.75)); }
.pg-pill:hover { animation-play-state: paused; }
@keyframes pgFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.pg-pill-black { animation: pgFloat 4.6s ease-in-out infinite; }
.pg-pill-gold { animation: pgFloat 4.6s ease-in-out infinite; animation-delay: 0.7s; }
@media (prefers-reduced-motion: reduce) {
  .pg-pill-black, .pg-pill-gold { animation: none; }
}
.pg-pill svg { display: block; width: 100%; height: 100%; }
.pg-cap-col { margin-top: 18px; }
.pg-cap-title {
  display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(240,237,230,0.7); margin-bottom: 8px; font-weight: 500;
}
.pg-cap-desc {
  font-size: 12.5px; line-height: 1.6; color: rgba(240,237,230,0.45); font-weight: 300;
}
@media (max-width: 480px) {
  .pg-pills { gap: 16px; }
  .pg-col { width: 148px; }
  .pg-pill { width: 52px; height: 116px; }
  .pg-cap-title { font-size: 9.5px; }
  .pg-cap-desc { font-size: 11px; }
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: 'DM Sans', sans-serif; background: var(--void); color: var(--bone); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ── CUSTOM CURSOR ── */

/* ── TYPOGRAPHY ── */
.display { font-family: 'Clash Display', sans-serif; font-weight: 300; line-height: 1.05; letter-spacing: -1.5px; }
.mont { font-family: 'Mont', sans-serif; }
.label { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; font-weight: 500; }

/* ── NAVIGATION ── */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 48px; transition: background var(--transition), backdrop-filter var(--transition); }
.nav.scrolled { background: rgba(26,26,26,0.95); backdrop-filter: blur(12px); border-bottom: 0.5px solid var(--border); }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 13px; color: rgba(240,237,230,0.65); font-weight: 300; letter-spacing: 0.3px; transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--bone); }
.nav-cta { font-size: 12px; font-weight: 500; color: var(--gold); border: 0.5px solid rgba(201,169,110,0.4); border-radius: var(--radius); padding: 9px 20px; letter-spacing: 0.5px; transition: background var(--transition), color var(--transition); }
.nav-cta:hover { background: var(--gold); color: var(--void); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav-burger span { display: block; width: 24px; height: 1px; background: var(--bone); transition: var(--transition); }
.nav-mobile { display: none; position: fixed; inset: 0; background: var(--void); z-index: 99; flex-direction: column; align-items: center; justify-content: center; gap: 40px; }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-family: 'Clash Display', sans-serif; font-size: 36px; font-weight: 300; color: var(--bone); letter-spacing: -1px; }
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile .nav-cta { font-family: 'DM Sans', sans-serif; font-size: 14px; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; border-radius: var(--radius); padding: 12px 26px; transition: all var(--transition); letter-spacing: 0.3px; }
.btn-gold { background: var(--gold); color: var(--void); }
.btn-gold:hover { background: #dbb97e; }
.btn-outline { border: 0.5px solid rgba(240,237,230,0.35); color: var(--bone); }
.btn-outline:hover { border-color: var(--bone); background: var(--bone-dim); }
.btn-outline-gold { border: 0.5px solid rgba(201,169,110,0.4); color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold-dim); }

/* ── HERO (HOME) ── */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--nav-h) + 60px) 48px 80px; overflow: hidden; }
.hero-wm { position: absolute;
  right: 0px;
  top: 0;
  height: 100%;
  width: auto;
  opacity: 0.012;
  pointer-events: none;
  object-fit: contain;
  object-position: right center; }

/* ── Homepage JM mark: silver-lining shimmer, replaces the flat watermark
     for this one instance only. Other pages keep the plain .hero-wm PNG. ── */
.jm-shimmer {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
}
.jm-shimmer .jm-base { opacity: 0.09; }
[data-theme="light"] .jm-shimmer .jm-base { opacity: 0.015; }
[data-theme="light"] .jm-reveal-stroke { stroke: #1a1a1a; }
[data-theme="light"] .jm-reveal-fill { fill: #1a1a1a; }
.hero-label { color: var(--gold); margin-bottom: 28px; }
.hero-headline { font-size: clamp(52px, 7vw, 100px); color: var(--bone); margin-bottom: 32px; max-width: 900px; }
.hero-headline em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: 15px; color: var(--muted); font-weight: 300; max-width: 480px; line-height: 1.7; margin-bottom: 48px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 31px; left: 50%; transform: translateX(-50%); }
.hero-scroll-pill {
  width: 26px; height: 42px;
  border: 1.5px solid var(--muted);
  border-radius: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.hero-scroll:hover .hero-scroll-pill { transform: scale(1.4); }
.hero-scroll-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  top: 7px;
  animation: heroScrollDot 2s ease-in-out infinite;
}
@keyframes heroScrollDot {
  0%   { top: 7px;  opacity: 0; }
  15%  { top: 10px; opacity: 1; }
  70%  { top: 27px; opacity: 0; }
  100% { top: 27px; opacity: 0; }
}
[data-theme="light"] .hero-scroll-pill { border-color: var(--muted); }

/* ── STATS STRIP ── */
.stats { background: var(--carbon); padding: 80px 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-num { font-family: 'Clash Display', sans-serif; font-size: clamp(44px, 5vw, 72px); font-weight: 600; color: rgba(255,255,255,0.7); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); font-weight: 500; }
/* Light mode only — dark mode keeps the 70% black bar / 70% white numbers
   as-is. Here the bar matches about-teaser's background exactly (var(--carbon)
   resolves to the same light beige), and the numbers invert to dark since
   white text would be unreadable on that light background. */
[data-theme="light"] .stat-num { color: rgba(0,0,0,0.7); }

/* ── SECTION COMMONS ── */
.section { padding: 120px 48px; }
.section-sm { padding: 80px 48px; }
.sec-tag { color: var(--gold); margin-bottom: 20px; }
.sec-title { font-size: clamp(36px, 4vw, 60px); margin-bottom: 24px; color: var(--bone); }
.sec-body { font-size: 15px; color: var(--muted); font-weight: 300; line-height: 1.8; max-width: 560px; }
.divider { width: 1px; height: 100%; background: var(--border); }

/* ── FEATURED PROJECTS (HOME) ── */
.featured { padding: 100px 48px; }
.sw-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
@media (max-width: 768px) {
  .sw-grid { grid-template-columns: 1fr; }
}
.featured-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 64px; }
.featured-title h2 { font-size: clamp(28px, 3vw, 42px); }
.featured-title a { color: var(--gold); font-size: 13px; font-weight: 400; letter-spacing: 0.3px; }
.featured-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.fp-item { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 4px; min-height: 520px; overflow: hidden; border-radius: var(--radius); }
.fp-item.reverse { direction: rtl; }
.fp-item.reverse > * { direction: ltr; }
.fp-image { position: relative; overflow: hidden; }
.fp-image .placeholder { width: 100%; height: 100%; min-height: 520px; display: flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.2); transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.fp-item:hover .fp-image .placeholder { transform: scale(1.04); }
.fp-content { background: var(--carbon); padding: 60px 48px; display: flex; flex-direction: column; justify-content: space-between; }
.fp-cat { color: var(--gold); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
.fp-name { font-family: 'Clash Display', sans-serif; font-size: clamp(28px, 2.5vw, 40px); font-weight: 300; color: var(--bone); margin-bottom: 16px; line-height: 1.15; }
.fp-client { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.fp-desc { font-size: 14px; color: var(--muted); font-weight: 300; line-height: 1.75; flex: 1; margin-bottom: 32px; }
.fp-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 13px; transition: gap var(--transition); }
.fp-link:hover { gap: 14px; }

/* ── ABOUT TEASER ── */
.about-teaser { padding: 100px 48px; background: var(--carbon); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.at-quote { font-family: 'Clash Display', sans-serif; font-size: clamp(28px, 3vw, 48px); font-weight: 300; color: var(--bone); line-height: 1.2; margin-bottom: 32px; }
.at-quote em { font-style: normal; color: var(--gold); }

/* ── SERVICES TEASER ── */
.services-teaser { padding: 100px 48px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }

/* ── Testimonial — structure only until a real quote replaces the placeholder ── */
.testimonial { padding: 100px 48px; border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); max-width: 900px; margin: 0 auto; text-align: center; }
.testimonial-quote { font-family: 'Clash Display', sans-serif; font-style: italic; font-weight: 300; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.6; color: var(--bone); margin-bottom: 24px; }
.testimonial-attr { font-size: 14px; color: var(--muted); font-weight: 300; }
.testimonial-slide { transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.testimonial-slide.fading { opacity: 0; transform: translateY(8px); }
.testimonial-dots { display: flex; gap: 10px; margin-top: 32px; justify-content: center; }
.testimonial-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background 0.2s; }
.testimonial-dot.active { background: var(--gold); }
.services-core { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.services-support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.st-card { background: var(--carbon); padding: 36px 32px; border: 0.5px solid var(--border); transition: border-color var(--transition), background var(--transition); }
.st-card:hover { border-color: rgba(201,169,110,0.3); background: #1e1e1e; }
.st-card.st-core { padding: 44px 36px; }
.st-core-tag { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-weight: 500; }
.st-title-lg { font-family: 'Clash Display', sans-serif; font-size: 24px; font-weight: 400; color: var(--bone); margin-bottom: 12px; }
.st-card.st-support { background: transparent; padding: 24px 26px; }
.st-icon { font-size: 24px; color: var(--gold); margin-bottom: 20px; }
.st-title { font-size: 16px; font-weight: 400; color: var(--bone); margin-bottom: 10px; }
.st-desc { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.65; }

/* ── TICKER ── */
.ticker-wrap { padding: 32px 0; background: var(--carbon); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); overflow: hidden; }
.ticker { display: flex; gap: 0; animation: ticker 28s linear infinite; width: max-content; }
.ticker-item { display: flex; align-items: center; gap: 32px; padding: 0 32px; white-space: nowrap; }
.ticker-name { font-size: 13px; color: var(--muted); font-weight: 300; letter-spacing: 0.5px; }
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── FOOTER ── */
footer { background: var(--bone); padding: 80px 48px 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 60px; }
.footer-logo img { height: 48px; width: auto; margin-bottom: 16px; }
.footer-tagline { font-size: 12px; color: #888; font-weight: 300; }
.footer-links h4 { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: #888; margin-bottom: 18px; font-weight: 500; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: #444; font-weight: 300; transition: color var(--transition); }
.footer-links a:hover { color: var(--void); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 0.5px solid var(--border-light); }
.footer-copy { font-size: 11px; color: #aaa; font-weight: 300; }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { font-size: 11px; color: #888; letter-spacing: 0.5px; }
.footer-socials a:hover { color: var(--void); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 100px) 48px 80px; border-bottom: 0.5px solid var(--border); }
.page-hero-label { color: var(--gold); margin-bottom: 20px; }
.page-hero-title { font-size: clamp(48px, 6vw, 88px); color: var(--bone); }
.page-hero-sub { font-size: 15px; color: var(--muted); font-weight: 300; margin-top: 20px; max-width: 480px; line-height: 1.7; }

/* ── Personal Projects hero — showreel placeholder as its own band, title content sits below it ── */
.pp-hero { position: relative; overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.pp-hero-bg {
  position: relative; margin-top: var(--nav-h); height: 280px;
  background: linear-gradient(135deg,#1a0a1a 0%,#0a0a1a 50%,#1a1208 100%);
  display: flex; align-items: center; justify-content: center;
}
.pp-hero-ph { display: flex; flex-direction: column; align-items: center; gap: 16px; color: rgba(255,255,255,0.25); }
.pp-hero-ph i { font-size: 48px; color: rgba(201,169,110,0.3); }
.pp-hero-ph span { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
.pp-hero-content { position: relative; z-index: 1; text-align: center; padding: 56px 48px 40px; }
.pp-hero-tagline { font-family: 'Clash Display', sans-serif; font-size: 24px; font-weight: 300; color: #c9a96e; margin-top: 12px; }
.pp-hero-desc { font-size: 14px; color: var(--muted); font-weight: 300; line-height: 1.85; max-width: 520px; margin: 20px auto 0; }
[data-theme="light"] .pp-hero-bg { filter: brightness(0.85); }

/* ── Personal Projects: compact, centered filter bar ── */
.pp-filter { justify-content: center; padding: 40px 240px 24px; }
.pp-filter .filter-count { flex-basis: 100%; text-align: center; margin-top: 12px; }

/* ── Personal Projects: inset grid, ~2.5in margin on both sides ── */
.pp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 40px 240px 80px;
}
/* Aspect-ratio driven, not fixed pixel rows — this is what stops tiles
   from stretching at wide desktop widths. The wide tile's ratio (8/5) is
   deliberately double the narrow tile's (4/5), since a 2-column-span tile
   is roughly double a 1-column tile's width — so at any viewport width,
   a wide/narrow pair in the same row lands at the same height on its own,
   no fixed height needed. */
.pp-grid .wg-card { aspect-ratio: 4/5; }
.pp-grid .pp-span-2 { grid-column: span 2; aspect-ratio: 8/5; }
.pp-grid .pp-span-3 { grid-column: span 3; aspect-ratio: 2.2/1; }
.pp-card-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg,#1a0a1a 0%,#0a0a1a 50%,#1a1208 100%); color: rgba(255,255,255,0.25); }
.pp-card-ph i { font-size: 28px; color: rgba(201,169,110,0.3); }
.pp-card-ph span { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }

/* ── Card like/view stats row ── */
.wg-stats { display: flex; align-items: center; gap: 14px; }
.wg-stat, .wg-like-btn { display: flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(255,255,255,0.6); }
.wg-like-btn { background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; transition: color 0.2s; }
.wg-like-btn:hover { color: var(--gold); }
.wg-like-btn.liked { color: var(--gold); }
.wg-stats i { font-size: 18px; }
.pp-bottom-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }

/* ── WORK FILTER ── */
.work-filter { padding: 40px 48px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-bottom: 0.5px solid var(--border); }
.filter-btn { font-size: 12px; color: var(--muted); background: none; border: none; padding: 6px 16px; border-radius: 20px; transition: all var(--transition); letter-spacing: 0.3px; }
.filter-btn:hover { color: var(--bone); }
.filter-btn.active { color: var(--gold); background: var(--gold-dim); border: 0.5px solid rgba(201,169,110,0.25); }
.filter-count { margin-left: auto; font-size: 11px; color: var(--muted); }

/* ── WORK HERO PROJECT ── */
.work-hero { padding: 60px 48px; }
.wh-inner { position: relative; border-radius: var(--radius); overflow: hidden; }
.wh-image .placeholder { min-height: 560px; display: flex; align-items: center; justify-content: center; }
.wh-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, transparent 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 48px; }
.wh-cat { color: var(--gold); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.wh-title { font-family: 'Clash Display', sans-serif; font-size: clamp(32px, 4vw, 54px); font-weight: 300; color: #f0ede6 !important; margin-bottom: 12px; }
.wh-client { font-size: 13px; color: rgba(240,237,230,0.6) !important; margin-bottom: 24px; }
.wh-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 13px; }

/* always-white override for wh-overlay in light mode */
[data-theme="light"] .wh-title { color: #f0ede6 !important; }
[data-theme="light"] .wh-client { color: rgba(240,237,230,0.6) !important; }
[data-theme="light"] .wh-cat { color: var(--gold); }

/* ── PROJECT PAGES — force white on dark hero backgrounds in light mode ── */
[data-theme="light"] .proj-hero { background: inherit; }
[data-theme="light"] .proj-cat { color: var(--gold) !important; }
[data-theme="light"] .proj-title { color: #f0ede6 !important; }
[data-theme="light"] .proj-hero-overlay .proj-cat,
[data-theme="light"] .proj-hero-overlay .proj-title { color: #f0ede6 !important; }

/* meta strip labels and values stay readable in light mode */
[data-theme="light"] .proj-meta { background: var(--void); border-bottom: 0.5px solid var(--border); }
[data-theme="light"] .pm-item label { color: var(--gold) !important; }
[data-theme="light"] .pm-item span { color: var(--bone) !important; }

/* project body text */
[data-theme="light"] .proj-col-section p { color: #1a1a1a !important; }
[data-theme="light"] .proj-col-section .sec-heading span { color: var(--gold) !important; }
[data-theme="light"] .proj-disclaimer { color: #555 !important; }
[data-theme="light"] .pn-label { color: #888 !important; }
[data-theme="light"] .pn-title { color: #f0ede6 !important; }

/* page hero titles on work.html, about.html, services.html etc */
[data-theme="light"] .page-hero { background: var(--void) !important; }
[data-theme="light"] .page-hero-title { color: var(--bone) !important; }
[data-theme="light"] .page-hero-label { color: var(--gold) !important; }
[data-theme="light"] .page-hero-sub { color: #555 !important; }

/* pkg-hero (product-design.html) title */
[data-theme="light"] .pkg-hero .display { color: var(--bone) !important; }
[data-theme="light"] .pkg-hero .sec-tag { color: var(--gold) !important; }
[data-theme="light"] .pkg-filter { background: rgba(245,243,239,0.96) !important; }

/* branding.html hero */
[data-theme="light"] .bi-hero .display { color: var(--bone) !important; }
[data-theme="light"] .bi-hero .sec-tag { color: var(--gold) !important; }
[data-theme="light"] .bi-filter { background: rgba(245,243,239,0.96) !important; }

/* card overlays on branding.html and product-design.html — keep white */
[data-theme="light"] .bi-card-title { color: #f0ede6 !important; }
[data-theme="light"] .bi-card-client { color: rgba(240,237,230,0.7) !important; }
[data-theme="light"] .bi-card-cat { color: var(--gold) !important; }
[data-theme="light"] .pkg-card-title { color: #f0ede6 !important; }
[data-theme="light"] .pkg-card-client { color: rgba(240,237,230,0.7) !important; }
[data-theme="light"] .pkg-card-cat { color: var(--gold) !important; }

/* dooh card overlay */
[data-theme="light"] .wg-cat { color: var(--gold) !important; }
[data-theme="light"] .wg-arrow { color: var(--gold) !important; }

/* ── WORK GRID ── */
.work-grid { padding: 4px 48px 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.wg-card { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.wg-card .placeholder { width: 100%; height: 100%; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.wg-card:hover .placeholder { transform: scale(1.05); }
.wg-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.88); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); }
.wg-card:hover .wg-overlay { transform: translateY(0); }
.wg-cat { color: var(--gold); font-size: 9px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 6px; }
.wg-title { font-size: 16px; font-weight: 400; color: var(--bone); margin-bottom: 4px; }
.wg-client { font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.wg-arrow { color: var(--gold); font-size: 13px; }

/* ── ABOUT ── */
.about-intro { padding: calc(var(--nav-h) + 80px) 48px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: var(--carbon); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); }
.about-photo-placeholder { width: 100%; height: 100%; min-height: 480px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.about-text { padding-top: 20px; }
.about-statement { font-family: 'Clash Display', sans-serif; font-size: clamp(32px, 3vw, 48px); font-weight: 300; color: var(--bone); line-height: 1.15; margin-bottom: 40px; }
.about-statement em { font-style: normal; color: var(--gold); }
.about-body p { font-size: 15px; color: var(--muted); font-weight: 300; line-height: 1.85; margin-bottom: 20px; }
.about-body p:last-child { margin-bottom: 0; }

/* ── TIMELINE ── */
.timeline { padding: 100px 48px; background: var(--carbon); }
.timeline-title { font-size: clamp(28px, 3vw, 40px); color: var(--bone); margin-bottom: 64px; }
.tl-items { position: relative; padding-left: 32px; }
.tl-items::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 0.5px; background: var(--border); }
.tl-item { position: relative; margin-bottom: 48px; padding-left: 32px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot { position: absolute; left: -38px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 0.5px solid var(--gold); background: var(--void); }
.tl-item.current .tl-dot { background: var(--gold); }
.tl-year { font-size: 10px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.tl-role { font-size: 18px; font-weight: 400; color: var(--bone); margin-bottom: 4px; }
.tl-company { font-size: 13px; color: var(--muted); font-weight: 300; }

/* ── TOOLS GRID ── */
.tools { padding: 100px 48px; }
.tools-title { font-size: clamp(28px, 3vw, 40px); color: var(--bone); margin-bottom: 12px; }
.tools-sub { font-size: 14px; color: var(--muted); font-weight: 300; margin-bottom: 48px; }
.tools-label { font-size: 10px; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
.tools-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tool-pill { font-size: 12px; color: var(--bone); border: 0.5px solid var(--border); border-radius: 20px; padding: 7px 16px; font-weight: 300; transition: border-color var(--transition), color var(--transition); }
.tool-pill:hover { border-color: var(--gold); color: var(--gold); }
.tool-pill.ai { border-color: rgba(201,169,110,0.3); color: var(--gold); }

/* ── RECOGNITION ── */
.recognition { padding: 80px 48px; background: var(--carbon); }
.rec-inner { border: 0.5px solid rgba(201,169,110,0.2); border-radius: var(--radius); padding: 48px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.rec-badge { font-size: 48px; color: var(--gold); }
.rec-name { font-family: 'Clash Display', sans-serif; font-size: 28px; font-weight: 300; color: var(--bone); margin-bottom: 8px; }
.rec-desc { font-size: 14px; color: var(--muted); font-weight: 300; line-height: 1.7; }

/* ── SERVICES PAGE ── */
.srv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.srv-card { background: var(--carbon); padding: 40px 36px; border: 0.5px solid var(--border); transition: border-color var(--transition); }
.srv-card:hover { border-color: rgba(201,169,110,0.3); }
.srv-icon { font-size: 28px; color: var(--gold); margin-bottom: 24px; }
.srv-title { font-size: 18px; font-weight: 400; color: var(--bone); margin-bottom: 12px; }
.srv-desc { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.7; }

/* ── PROCESS ── */
.process { padding: 100px 48px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 60px; }
.ps-item { background: var(--carbon); padding: 40px 32px; border: 0.5px solid var(--border); }
.ps-num { font-family: 'Clash Display', sans-serif; font-size: 48px; font-weight: 300; color: rgba(201,169,110,0.2); margin-bottom: 20px; line-height: 1; }
.ps-title { font-size: 18px; font-weight: 400; color: var(--bone); margin-bottom: 10px; }
.ps-desc { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.65; }

/* ── CTA BLOCK ── */
.cta-block { padding: 120px 48px; text-align: center; background: var(--carbon); }
.cta-title { font-size: clamp(36px, 4vw, 64px); color: var(--bone); max-width: 700px; margin: 0 auto 16px; }
.cta-title em { font-style: normal; color: var(--gold); }
.cta-sub { font-size: 15px; color: var(--muted); font-weight: 300; margin-bottom: 40px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── CONTACT ── */
.contact-grid { padding: 80px 48px 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.form-group input, .form-group textarea, .form-group select { background: var(--carbon); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 14px 18px; color: var(--bone); font-size: 14px; font-weight: 300; transition: border-color var(--transition); outline: none; appearance: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: rgba(201,169,110,0.5); }
.form-group select option { background: var(--carbon); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit { margin-top: 8px; align-self: flex-start; }
.contact-info { padding-top: 8px; }
.ci-title { font-family: 'Clash Display', sans-serif; font-size: 32px; font-weight: 300; color: var(--bone); margin-bottom: 16px; line-height: 1.2; }
.ci-sub { font-size: 14px; color: var(--muted); font-weight: 300; margin-bottom: 40px; line-height: 1.7; }
.ci-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.ci-item { display: flex; align-items: center; gap: 14px; }
.ci-item i { font-size: 18px; color: var(--gold); width: 20px; flex-shrink: 0; }
.ci-item a { font-size: 14px; color: var(--muted); font-weight: 300; transition: color var(--transition); }
.ci-item a:hover { color: var(--bone); }
.ci-note { font-size: 12px; color: var(--muted); padding: 14px 18px; border: 0.5px solid var(--border); border-radius: var(--radius); font-weight: 300; }
.ci-note i { color: var(--gold); }

/* ── PROJECT (CASE STUDY) ── */
.proj-hero { position: relative; height: 40vh; overflow: hidden; }
.proj-hero .placeholder { width: 100%; height: 100%; }
.proj-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 64px 48px; }
[data-theme="light"] .proj-hero-overlay { background: none !important; }
[data-theme="light"] .proj-cat { color: #c9a96e !important; }
[data-theme="light"] .proj-title { color: #0a0a0a !important; }
.proj-cat { color: var(--gold); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.proj-title { font-size: clamp(40px, 5vw, 72px); color: var(--bone); max-width: 800px; }
.proj-meta { padding: 48px; display: flex; gap: 48px; border-bottom: 0.5px solid var(--border); flex-wrap: wrap; }
.pm-item label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.pm-item span { font-size: 14px; color: var(--bone); font-weight: 300; }
.proj-content { max-width: 800px; margin: 0 auto; padding: 80px 48px; }
.proj-section { margin-bottom: 64px; }
.proj-section h3 { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.proj-section p { font-size: 15px; color: var(--muted); font-weight: 300; line-height: 1.85; }
.proj-images { padding: 0 48px 80px; display: grid; gap: 4px; }
.proj-images .placeholder { border-radius: var(--radius); min-height: 500px; }
.proj-next { padding: 80px 48px; border-top: 0.5px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.pn-label { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pn-title { font-family: 'Clash Display', sans-serif; font-size: 28px; font-weight: 300; color: var(--bone); }
.pn-arrow { font-size: 36px; color: var(--gold); transition: transform var(--transition); }
.proj-next:hover .pn-arrow { transform: translateX(8px); }

/* ── SCROLL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── PLACEHOLDERS (swap with real images later) ── */
.ph-brand   { background: #1a1408; }
.ph-motion  { background: #0d0d1a; }
.ph-print   { background: #0a1209; }
.ph-ui      { background: #0a1318; }
.ph-3d      { background: #160a1a; }
.ph-event   { background: #180d0a; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav { padding: 0 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .fp-item { grid-template-columns: 1fr; min-height: auto; }
  .fp-item.reverse { direction: ltr; }
  .fp-image .placeholder { min-height: 340px; }
  .services-grid, .srv-grid, .services-core, .services-support { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
  .about-teaser { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .work-grid, .pp-grid { grid-template-columns: repeat(2, 1fr); }
  .pp-grid .pp-span-2, .pp-grid .pp-span-3 { grid-column: span 2; aspect-ratio: 16/9; }
  .pp-grid .wg-card:not(.pp-span-2):not(.pp-span-3) { aspect-ratio: 4/3; }
  .section, .featured, .work-hero, .timeline, .tools, .recognition, .process, .services-teaser { padding-left: 32px; padding-right: 32px; }
  .stats, footer, .about-intro, .contact-grid, .work-filter, .work-grid, .pp-filter, .pp-grid, .page-hero, .hero, .proj-meta, .proj-content, .proj-images, .proj-next, .cta-block { padding-left: 32px; padding-right: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: calc(var(--nav-h) + 40px) 24px 110px; }
  .hero-headline { font-size: clamp(38px, 10vw, 64px); }
  .hero-wm { width: 90vw; right: -20px; opacity: 0.04; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 48px 24px; gap: 32px; }
  .services-grid, .srv-grid, .services-teaser .services-grid, .services-core, .services-support { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .work-grid, .pp-grid { grid-template-columns: 1fr; }
  .pp-grid .pp-span-2, .pp-grid .pp-span-3 { grid-column: span 1; aspect-ratio: 4/3; }
  .pp-grid .wg-card:not(.pp-span-2):not(.pp-span-3) { aspect-ratio: 4/3; }
  .fp-content { padding: 36px 28px; }
  .rec-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section, .featured, .about-teaser, .timeline, .tools, .recognition, .process, .cta-block, .work-hero, .work-filter, .work-grid, .pp-filter, .pp-grid, .page-hero, .contact-grid, .proj-content, .proj-meta, .proj-images, .proj-next { padding-left: 24px; padding-right: 24px; }
  .nav { padding: 0 24px; }
  footer { padding: 60px 24px 32px; }
  .proj-hero-overlay { padding: 40px 24px; }
  .proj-next { flex-direction: column; align-items: flex-start; gap: 24px; }
  
  /* ── TWO COLUMN CASE STUDY ── */
.proj-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 0 48px 80px;
  align-items: start;
}
.proj-col-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.proj-col-images img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}
.proj-col-text {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.proj-col-section h3 {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 500;
}
.proj-col-section p {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.85;
}
@media (max-width: 768px) {
  .proj-two-col {
    grid-template-columns: 1fr;
    padding: 0 24px 60px;
  }
  .proj-col-text { padding-top: 32px; }
}

}

