/* ── LOGO CURSOR ──────────────────────────────────────────── */
#logo-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  will-change: transform;
  transition: opacity 0.25s ease;
}
#logo-cursor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(236,72,153,0.35));
}

/* ─── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #ffffff;
  --bg-soft:     #ffffff;
  --bg-card:     #F5CCCC;
  --text:        #1A1A1A;
  --text-dim:    rgba(26,26,26,0.52);
  --text-faint:  rgba(26,26,26,0.28);
  --accent:      #1A1A1A;
  --border:      rgba(26,26,26,0.09);
  --border-med:  rgba(26,26,26,0.14);
  --surface:     rgba(26,26,26,0.04);
  --font:        'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;
  --radius:      16px;
  --nav-h:       84px;   /* header height — hero sits below this so the nav never covers the video */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── UTILITY ─────────────────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
  letter-spacing: -0.01em;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--text);
  color: #fff;
}
.btn-primary:hover {
  background: #333;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-med);
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--text);
  border-color: rgba(17,17,17,0.3);
}
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ─── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--d, 0) * 0.1s + 0.2s);
}
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 22px 48px;
  background: var(--nav-bg, rgba(255,255,255,0.96));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(26,26,26,0.08);   /* clean straight edge (no fade) */
  transition: padding 0.3s ease;
}
.nav.scrolled {
  padding: 14px 48px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav-logo-img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-link-color, var(--text-dim));
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--text) !important;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
  -webkit-text-fill-color: #fff !important;
}
.nav-cta:hover {
  background: #333 !important;
  transform: scale(1.02);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  z-index: 190;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dim);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--text); }

/* ─── HERO ────────────────────────────────────────────────── */
/* Scroll-driven video — track is tall, hero is sticky */
.hero-track {
  height: 600vh;   /* 500vh of scroll travel for the video + 100vh sticky frame */
  position: relative;
}

.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
  padding: 0;
}

/* Real-image hero fallback — the video's opening frame as an actual <img>.
   Always painted, whatever the video decoder does. The video reveals over it
   only once a frame has genuinely composited (see script.js); if it never can
   — e.g. iOS Low Power Mode refusing to decode — this image stays as the hero. */
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}

/* Scroll-driven video — full-bleed, fills the whole hero viewport.
   Starts transparent; JS adds .is-live only after a real frame paints. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
  border-radius: 0;
  outline: none;
  opacity: 0;
  transition: opacity .35s ease;
}
.hero-video.is-live { opacity: 1; }

/* Soft light wash behind the centered title so the black text stays legible
   over the video, whatever's playing behind it. */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 70% 55% at 50% 50%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 70%);
  opacity: 0;                 /* faded in alongside .hero-content by JS */
  pointer-events: none;
}

.hero-grid-overlay {
  display: none;
}

/* Grid texture hidden — video fills the hero */
.hero::before { display: none; }

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  opacity: 0;                 /* faded in by JS at the scroll-scrub midpoint */
  pointer-events: none;
}
.hero-content .eyebrow,
.hero-content .hero-title,
.hero-content .hero-sub {
  text-shadow: 0 2px 20px rgba(255,255,255,0.65), 0 1px 3px rgba(255,255,255,0.8);
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(26,26,26,0.6);
  margin-bottom: 36px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(64px, 11vw, 150px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.93;
  margin-bottom: 36px;
  color: #1a1a1a;
}
.hero-title-word {
  white-space: nowrap;
  color: #1a1a1a;
  background: none;
  -webkit-text-fill-color: #1a1a1a;
}

/* Serif italic accent word */
.hero-title-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: rgba(26,26,26,0.72);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 52px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  animation: fadeIn 1s ease 1.5s both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.7; transform: scaleY(1.1); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ─── MANIFESTO ───────────────────────────────────────────── */
.manifesto {
  position: relative;
  background: #ffffff;
}
.manifesto-track {
  height: 400vh;
  position: relative;
}
.manifesto-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5vw;
}
.manifesto-text {
  max-width: 1600px;
  font-size: clamp(30px, 5.2vw, 82px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-align: center;
  color: var(--text);
}
.manifesto-text .mword {
  display: inline-block;
  opacity: 0.6;
  filter: blur(7px);
  color: #1a1a1a;
  transition: opacity 0.3s ease, filter 0.3s ease, color 0.3s ease;
  will-change: opacity, filter, color;
  margin: 0 0.12em 0 0;
}

/* ─── SERVICES ───────────────────────────────────────────── */
.services {
  padding: 120px 48px;
  background: var(--bg);
}
.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.services-header {
  max-width: 500px;
  margin-bottom: 72px;
}
.services-header h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

/* Alternating pastel card colors */
.service-card:nth-child(1) { background: #F5CCCC; border-color: rgba(200,120,120,0.15); }
.service-card:nth-child(2) { background: #CCE4F5; border-color: rgba(100,150,200,0.15); }
.service-card:nth-child(3) { background: #D4F0D8; border-color: rgba(100,180,120,0.15); }

.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-med);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

/* ── Service card fly-in (trigger on section enter) ──────── */
@keyframes sc-from-left {
  0%   { opacity: 0; transform: translate(-110vw, 20px) rotate(-45deg); }
  35%  { opacity: 1; }
  100% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}
@keyframes sc-from-below {
  0%   { opacity: 0; transform: translate(0, 110vh) rotate(5deg); }
  35%  { opacity: 1; }
  100% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}
@keyframes sc-from-right {
  0%   { opacity: 0; transform: translate(110vw, 20px) rotate(45deg); }
  35%  { opacity: 1; }
  100% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}
.services-grid .service-card            { opacity: 0; will-change: transform, opacity; }
.services-grid .service-card.sc-fly-1   { animation: sc-from-left  0.7s cubic-bezier(0.4, 0, 0.2, 1)        both; }
.services-grid .service-card.sc-fly-2   { animation: sc-from-below 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.08s  both; }
.services-grid .service-card.sc-fly-3   { animation: sc-from-right 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.16s  both; }
.services-grid .service-card.sc-settled { opacity: 1; will-change: auto; }

.sc-visual {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sc-visual-1 {
  background: url('work-virtual-reality.webp') center center / cover no-repeat;
}
.sc-visual-2 {
  background: url('work-mixed-reality.webp') center 70% / cover no-repeat;
}
.sc-visual-3 {
  background: url('work-3d-modelling.webp') center center / cover no-repeat;
}

.sc-body { padding: 24px; }
.sc-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-faint);
  display: block;
  margin-bottom: 10px;
}
.sc-body h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}
.sc-body p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 18px;
}
.sc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.sc-tags li {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-dim);
}

/* ─── CLIENT RIBBON ───────────────────────────────────────── */
.clients {
  padding: 36px 0;
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
  isolation: isolate; /* own stacking context, prevents iOS layer bleed */
}

.clients::before,
.clients::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.clients::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-soft), transparent);
}
.clients::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-soft), transparent);
}

.clients-label {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.clients-track { overflow: hidden; }

.clients-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  -webkit-animation: marquee 30s linear infinite;
          animation: marquee 30s linear infinite;
  will-change: transform;
  /* Force GPU layer to prevent compositing glitches on iOS */
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
}
.clients-inner:hover { animation-play-state: paused; }

img.client-logo {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: none;
  opacity: 0.5;
  transition: opacity 0.25s;
  flex-shrink: 0;
}
img.client-logo:hover { opacity: 0.9; }

.client-sep {
  font-size: 10px;
  color: var(--text-faint);
  flex-shrink: 0;
}

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

/* ─── UPDATES ─────────────────────────────────────────────── */
.updates {
  padding: 120px 48px;
  background: var(--bg);
}
.updates-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.updates-header {
  margin-bottom: 56px;
}
.updates-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: 12px;
  color: var(--text);
}
.update-date {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.update-tag {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid var(--border-med);
  color: var(--text-dim);
}

/* ── Stacked-deck carousel (Sandra-style fan) ──────────── */
.updates-carousel { position: relative; }

.uc-track {
  display: grid;
  grid-template-columns: 1fr;
  /* Room for the fanned cards to peek out to the right + below */
  padding: 0 90px 90px 0;
  position: relative;
}

/* Base: all slides stack on the same grid cell */
.uc-slide {
  grid-area: 1 / 1;
  display: flex;
  gap: 48px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: #FFD5DF;             /* default light pink (overridden per-slide below) */
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform-origin: top left;
  transform: translate(80px, 80px) rotate(6deg);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.45s ease;
  z-index: 0;
  will-change: transform, opacity;
}

/* Per-slide colors — each slide keeps its own color as it rotates */
.uc-slide:nth-child(3n+1) { background: #FFD5DF; }   /* light pink */
.uc-slide:nth-child(3n+2) { background: #B8E6BF; }   /* mint / matcha */
.uc-slide:nth-child(3n)   { background: #B8D5EE; }   /* light blue */

/* Deck layers — only position / depth / shadow live here, color stays per-slide */
.uc-slide[data-deck="3"] {           /* furthest back */
  opacity: 1;
  transform: translate(72px, 72px) rotate(4.5deg);
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.uc-slide[data-deck="2"] {           /* third back */
  opacity: 1;
  transform: translate(48px, 48px) rotate(3deg);
  z-index: 2;
  box-shadow: 0 3px 10px rgba(0,0,0,0.09);
}
.uc-slide[data-deck="1"] {           /* second back */
  opacity: 1;
  transform: translate(24px, 24px) rotate(1.5deg);
  z-index: 3;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}
.uc-slide[data-deck="0"] {           /* top / active card */
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, 0) rotate(0);
  z-index: 4;
  box-shadow: 0 18px 60px rgba(0,0,0,0.15);
}

/* Hide content on the back cards — they're just colored slabs peeking out */
.uc-slide[data-deck="1"] .uc-body,
.uc-slide[data-deck="2"] .uc-body,
.uc-slide[data-deck="3"] .uc-body,
.uc-slide[data-deck="1"] .uc-img,
.uc-slide[data-deck="2"] .uc-img,
.uc-slide[data-deck="3"] .uc-img {
  opacity: 0;
}

/* Shuffle-out animation — card flies up then settles to back */
@keyframes uc-shuffle-out {
  0%   { transform: translate(0, 0)      rotate(0)    scale(1);    opacity: 1;   }
  28%  { transform: translate(0, -30px)  rotate(-2deg) scale(1.02); opacity: 0.85; }
  100% { transform: translate(80px, 80px) rotate(6deg) scale(0.95); opacity: 0;   }
}
.uc-slide.uc-shuffling {
  animation: uc-shuffle-out 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  z-index: 10 !important;
  pointer-events: none;
}

.uc-img {
  width: 42%;
  flex-shrink: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft);
}
.uc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.uc-slide:hover .uc-img img { transform: scale(1.03); }

.uc-body {
  flex: 1;
  padding: 40px 40px 40px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.uc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.uc-body h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  line-height: 1.25;
}
.uc-body p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0;
}
.uc-read {
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 4px;
}

.uc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 56px;
}
.uc-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  line-height: 1;
}
.uc-btn:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-med);
}
.uc-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}
.uc-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border-med);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  padding: 0;
}
.uc-dot.active {
  background: var(--text);
  transform: scale(1.4);
}

/* ── CURSOR-TRACKING EYE ── */
.eye-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  cursor: none;
  flex-shrink: 0;
}
.eye-outer {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #f472b6 0%, #e879a8 40%, #c026a0 100%);
  box-shadow: 0 0 60px rgba(236,72,153,0.25), 0 0 120px rgba(236,72,153,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.eye-sclera {
  position: absolute;
  width: 56%;
  height: 56%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, #f0f0f0 100%);
  box-shadow: inset 0 4px 12px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
.eye-pupil {
  width: 55%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #222 0%, #000 60%);
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  flex-shrink: 0;
}
.eye-glint {
  position: absolute;
  background: #fff;
  border-radius: 2px;
}
.eye-glint-1 { width: 22%; height: 22%; top: 20%; left: 22%; opacity: 1; }
.eye-glint-2 { width: 17%; height: 17%; top: 42%; left: 44%; opacity: 0.9; }


/* ─── ABOUT ───────────────────────────────────────────────── */
.about {
  padding: 120px 48px;
  background: var(--bg-soft);
}
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
}
.about-body {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 36px;
}
.about-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-bottom: 28px;
}
.about-story-btn { align-self: flex-start; }
.about-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.meta-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-faint);
}
.meta-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.about-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── CONTACT ─────────────────────────────────────────────── */
.contact {
  position: relative;
  padding: 140px 48px;
  overflow: hidden;
  text-align: center;
  background: var(--bg);
}
.contact-bg { display: none; }
.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.contact-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 56px;
  color: var(--text);
}
.contact-details {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 28px;
  flex: 0 1 auto;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.cd-val { white-space: nowrap; }
/* Location shown on its own line beneath the details box */
.contact-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: -30px 0 44px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--text-dim);
}
.contact-location .cl-pin {
  width: 15px;
  height: 15px;
  color: var(--text-faint);
  flex-shrink: 0;
}
.contact-detail-item:last-child { border-right: none; }
.contact-detail-item:hover { background: var(--surface); }
.cd-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-faint);
}
.cd-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

/* ─── SOCIAL LINKS ────────────────────────────────────────── */
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.social-link:hover {
  color: var(--text);
  border-color: var(--border-med);
  background: var(--surface);
  transform: translateY(-2px);
}
.social-link svg { width: 17px; height: 17px; display: block; }

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}
.contact-socials .social-link { width: 46px; height: 46px; }
.contact-socials .social-link svg { width: 19px; height: 19px; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  padding: 36px 48px;
  background: var(--bg-soft);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  background: none;
  -webkit-text-fill-color: var(--text);
  background-clip: unset;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-faint);
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 12px;
  color: var(--text-faint);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-dim); }
.footer-socials { display: flex; gap: 8px; align-items: center; }
.footer-socials .social-link { width: 32px; height: 32px; }
.footer-socials .social-link svg { width: 14px; height: 14px; }

/* ─── LIGHTBOX ────────────────────────────────────────────── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
#lightbox.open { display: flex; }
.lb-img-wrap { max-width: 80vw; max-height: 80vh; }
.lb-img-wrap img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 8px; }
.lb-close, .lb-prev, .lb-next {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--surface); }
.lb-close { position: absolute; top: 24px; right: 24px; }
.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 1px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Fix scroll jumpiness — smooth scrolling fights long sticky sections on mobile */
  html { scroll-behavior: auto; }

  :root { --nav-h: 66px; }
  .nav { padding: 18px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Mobile hero — full-bleed video (inherits the base .hero-video rule). */
  .hero { padding: 0; }
  /* Scroll hint — bigger + black, sitting near the bottom of the video. */
  .hero-scroll {
    display: flex;
    gap: 14px;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 600;
    color: #1a1a1a;
  }
  .scroll-line {
    width: 2px;
    height: 56px;
    background: linear-gradient(to bottom, #1a1a1a, rgba(26,26,26,0));
  }

  .manifesto-sticky { padding: 0 24px; }

  .services { padding: 80px 24px; }
  .services-grid { grid-template-columns: 1fr; gap: 12px; }

  .updates { padding: 80px 24px; }
  .uc-track { padding: 0 50px 50px 0; }
  .uc-slide { flex-direction: column; gap: 0; }
  .uc-img { width: 100%; aspect-ratio: 16/9; }
  .uc-body { padding: 24px; }
  /* Tighter fan on mobile */
  .uc-slide[data-deck="3"] { transform: translate(36px, 36px) rotate(4deg); }
  .uc-slide[data-deck="2"] { transform: translate(24px, 24px) rotate(2.5deg); }
  .uc-slide[data-deck="1"] { transform: translate(12px, 12px) rotate(1.2deg); }

  .about { padding: 80px 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { height: 300px; }

  .contact { padding: 100px 24px; }
  .contact-details { flex-direction: column; }
  .contact-detail-item { border-right: none; border-bottom: 1px solid var(--border); }
  .contact-detail-item:last-child { border-bottom: none; }

  .footer { padding: 28px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-right { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  .clients::before, .clients::after { width: 48px; }
}

@media (max-width: 600px) {
  .hero-title { font-size: clamp(52px, 15vw, 80px); }
  .manifesto-sticky { padding: 104px 20px 32px; }
  .manifesto-text {
    font-size: clamp(34px, 9.2vw, 46px);
    max-width: 100%;
    line-height: 1.22;
    text-align: left;
  }
  .clients::before, .clients::after { width: 28px; }
  img.client-logo { height: 34px; max-width: 110px; }
  .clients-inner { gap: 28px; }
}
