/*
Theme Name: Karabıyık Design
Theme URI: https://www.karabiyikdesign.com
Author: Karabıyık Design Studio
Author URI: https://www.karabiyikdesign.com
Description: Sinematik, dark-luxury creative studio teması. Sosyal medya yönetim ajansları için 3D hero sahnesi, floating reels cluster, perspective design wall ve cinematic CTA ile tasarlandı.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
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: karabiyik-design
Tags: dark, portfolio, one-column, custom-logo, custom-menu, full-width-template, blog, photography, custom-colors
*/

/* =========================================================
   KARABIYIK DESIGN — CINEMATIC DARK LUXURY
   Palette
     --ink   #030303   absolute black
     --void  #1a1e39   deep navy
     --cream #f0e8db   warm cream
     --bone  #eaeaea   neutral
   ========================================================= */

:root {
  --ink: #030303;
  --void: #1a1e39;
  --cream: #f0e8db;
  --bone: #eaeaea;
  --cream-dim: rgba(240, 232, 219, 0.55);
  --cream-faint: rgba(240, 232, 219, 0.12);
  --cream-line: rgba(240, 232, 219, 0.18);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--ink); color: var(--cream); }
html { scroll-behavior: smooth; }
html.intro-active { overflow: hidden; }
body.intro-active { overflow: hidden; }
body {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.005em;
  line-height: 1.4;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
em { font-style: italic; font-family: var(--serif); font-weight: 400; }
sup { font-family: var(--mono); font-size: 0.55em; opacity: 0.5; padding-left: 2px; letter-spacing: 0.04em; }

/* Reusable */
.section-no {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cream-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.amp { color: var(--cream-dim); font-family: var(--serif); font-style: italic; font-weight: 400; padding: 0 2px; }

/* =========================================================
   GLOBAL ATMOSPHERE — grain, vignette, custom cursor
   ========================================================= */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.vignette {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 8000;
  background:
    radial-gradient(120% 80% at 50% 50%, transparent 50%, rgba(0,0,0,0.55) 100%);
}
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 26px; height: 26px;
  border: 1px solid var(--cream);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cursor span {
  position: absolute;
  top: 50%; left: 50%;
  width: 3px; height: 3px;
  background: var(--cream);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
body.cursor--lg .cursor { width: 72px; height: 72px; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 20px; left: 24px; right: 24px;
  height: 44px;
  z-index: 7000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav__mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.01em;
  font-style: italic;
}
.nav__brand { font-style: normal; font-family: var(--sans); font-weight: 400; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.nav__brand .amp { font-style: italic; font-family: var(--serif); font-size: 16px; }
.nav__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 12px rgba(240, 232, 219, 0.6);
}
.nav__menu {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 10px 22px;
  border: 1px solid var(--cream-line);
  border-radius: 999px;
  background: rgba(3, 3, 3, 0.45);
  backdrop-filter: blur(14px);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nav__menu a {
  position: relative;
  transition: color 0.3s var(--ease);
  color: var(--cream);
}
.nav__menu a:hover { color: var(--cream); }
.nav__menu a:hover sup { opacity: 1; }
.nav__meta {
  justify-self: end;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cream-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pulse {
  width: 7px; height: 7px;
  background: #b6e3a4;
  border-radius: 50%;
  box-shadow: 0 0 8px #b6e3a4;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.hero__stage {
  position: relative;
  min-height: 100vh;
  perspective: 1400px;
  transform-style: preserve-3d;
}

/* Background layers */
.hero__sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 75% 30%, rgba(26, 30, 57, 0.85) 0%, transparent 65%),
    radial-gradient(60% 50% at 20% 80%, rgba(26, 30, 57, 0.5) 0%, transparent 70%),
    linear-gradient(180deg, #050610 0%, #030303 70%);
  z-index: 0;
}
.hero__horizon {
  position: absolute;
  left: -10%; right: -10%;
  bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cream-line) 30%, var(--cream-line) 70%, transparent);
  z-index: 1;
}
.hero__beam {
  position: absolute;
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}
.beam-a {
  top: -20%; right: -10%;
  width: 50vw; height: 80vh;
  background: radial-gradient(ellipse at center, rgba(240,232,219,0.08), transparent 70%);
}
.beam-b {
  bottom: -30%; left: -15%;
  width: 55vw; height: 70vh;
  background: radial-gradient(ellipse at center, rgba(26,30,57,0.7), transparent 65%);
}

/* Floating chrome objects */
.float {
  position: absolute;
  z-index: 2;
  transform-style: preserve-3d;
  will-change: transform;
  animation: floaty 14s ease-in-out infinite;
}
.float--torus { top: 14%; right: 9%; width: 220px; height: 220px; animation-duration: 16s; }
.float--sphere { top: 62%; right: 30%; width: 90px; height: 90px; animation-duration: 11s; animation-delay: -3s; }
.float--blade { top: 28%; left: 8%; width: 170px; height: 12px; animation-duration: 19s; animation-delay: -6s; }
.float--ring { bottom: 22%; left: 18%; width: 320px; height: 320px; animation-duration: 22s; animation-delay: -9s; opacity: 0.4; }
.float--shard { top: 48%; left: 38%; width: 70px; height: 110px; animation-duration: 13s; animation-delay: -2s; }

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -22px, 0) rotate(2deg); }
}

/* Torus */
.torus {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 36px solid transparent;
  background:
    conic-gradient(from 220deg,
      rgba(240,232,219,0.85) 0deg,
      rgba(26,30,57,0.4) 90deg,
      rgba(240,232,219,0.55) 180deg,
      rgba(3,3,3,0.8) 270deg,
      rgba(240,232,219,0.85) 360deg) border-box;
  -webkit-mask:
    radial-gradient(circle, transparent 38%, #000 39%, #000 100%);
          mask: radial-gradient(circle, transparent 38%, #000 39%, #000 100%);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
  transform: rotate(-18deg) skewX(-10deg);
}

/* Sphere */
.sphere {
  width: 100%; height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, #fff, var(--cream) 18%, #6e6757 60%, #0a0a0a 100%);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.6),
    inset 0 -16px 30px rgba(0,0,0,0.5);
}

/* Blade — thin reflective strip */
.blade {
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--cream), rgba(240,232,219,0.3), transparent);
  filter: blur(0.5px) drop-shadow(0 0 18px rgba(240,232,219,0.4));
  transform: rotate(-22deg);
}

/* Ring — outline */
.ring {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 1px solid var(--cream-line);
  position: relative;
}
.ring::before, .ring::after {
  content: ""; position: absolute; inset: 18%;
  border-radius: 50%; border: 1px solid var(--cream-faint);
}
.ring::after { inset: 36%; border-color: var(--cream-line); }

/* Shard */
.shard {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--cream) 0%, #8d846f 40%, var(--void) 100%);
  clip-path: polygon(50% 0, 100% 30%, 80% 100%, 20% 100%, 0 30%);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.7));
  transform: rotate(14deg);
}

/* Hero type */
.hero__type {
  position: relative;
  z-index: 5;
  padding: 180px 80px 0;
  max-width: 1100px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 36px;
}
.tick { font-family: var(--serif); font-size: 14px; color: var(--cream); }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(72px, 12vw, 184px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.hero__title .line { display: block; }
.hero__title .line--2 { padding-left: 12vw; }
.hero__title .line--3 { padding-left: 4vw; color: var(--cream-dim); }
.hero__title em { font-style: italic; color: var(--cream); }

.hero__caption {
  position: absolute;
  right: 80px;
  bottom: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 5;
}
.caption__rule {
  width: 50px; height: 1px;
  background: var(--cream);
}
.hero__caption p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--cream-dim);
}

/* Hero phone */
.hero__phone {
  position: absolute;
  right: 12%;
  top: 28%;
  z-index: 4;
  transform: rotate(-8deg) translateZ(0);
  animation: floaty 12s ease-in-out infinite;
  animation-delay: -4s;
}

/* Ticker */
.hero__ticker {
  position: absolute;
  bottom: 30px;
  left: 0; right: 0;
  border-top: 1px solid var(--cream-line);
  border-bottom: 1px solid var(--cream-line);
  padding: 14px 0;
  overflow: hidden;
  z-index: 5;
  background: rgba(3,3,3,0.4);
  backdrop-filter: blur(8px);
}
.ticker-row {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cream-dim);
  animation: ticker 38s linear infinite;
  padding-left: 60px;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   PHONES (used across sections)
   ========================================================= */
.phone {
  --pw: 240px;
  width: var(--pw);
  height: calc(var(--pw) * 2.06);
  background: linear-gradient(155deg, #1a1a1a 0%, #0a0a0a 60%, #050505 100%);
  border-radius: 38px;
  padding: 10px;
  position: relative;
  box-shadow:
    inset 0 0 0 1px rgba(240,232,219,0.08),
    0 1px 0 rgba(240,232,219,0.15),
    0 50px 100px rgba(0,0,0,0.6),
    0 20px 30px rgba(0,0,0,0.5);
}
.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 38px;
  background: linear-gradient(160deg, rgba(240,232,219,0.18), transparent 30%, transparent 70%, rgba(240,232,219,0.06));
  pointer-events: none;
}
.phone__notch {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 18px;
  background: #000;
  border-radius: 12px;
  z-index: 3;
}
.phone__screen {
  width: 100%; height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: var(--void);
}
.phone__ui {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(3,3,3,0.55);
  backdrop-filter: blur(10px);
  border: 1px solid var(--cream-line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--cream);
}
.phone__time {}
.phone__caption {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  z-index: 4;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
}
.phone__caption .play {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
}

/* Reel stripes — placeholder imagery */
.reel-stripes {
  position: absolute;
  inset: 0;
  background-size: 18px 18px;
}
.reel-stripes::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.45) 100%);
}
.reel-stripes--warm {
  background-color: #2a1f17;
  background-image:
    repeating-linear-gradient(135deg, rgba(240,232,219,0.08) 0 1px, transparent 1px 14px),
    radial-gradient(60% 50% at 50% 40%, rgba(240, 200, 150, 0.55), transparent 70%),
    linear-gradient(180deg, #3a2a1d, #120a06);
}
.reel-stripes--cream {
  background-color: var(--cream);
  background-image:
    repeating-linear-gradient(135deg, rgba(3,3,3,0.06) 0 1px, transparent 1px 16px),
    radial-gradient(50% 40% at 60% 35%, rgba(0,0,0,0.18), transparent 70%);
}
.reel-stripes--noir {
  background-color: #0a0a0a;
  background-image:
    repeating-linear-gradient(135deg, rgba(240,232,219,0.06) 0 1px, transparent 1px 12px),
    radial-gradient(60% 50% at 40% 60%, rgba(240,232,219,0.2), transparent 70%);
}
.reel-stripes--blue {
  background-color: var(--void);
  background-image:
    repeating-linear-gradient(135deg, rgba(240,232,219,0.08) 0 1px, transparent 1px 16px),
    radial-gradient(60% 50% at 70% 30%, rgba(240,232,219,0.18), transparent 70%);
}

/* =========================================================
   MANIFEST
   ========================================================= */
.manifest {
  position: relative;
  padding: 200px 80px 160px;
  background: var(--ink);
  overflow: hidden;
}
.manifest__head { max-width: 1100px; margin-bottom: 120px; }
.manifest__title {
  margin-top: 28px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.manifest__title em { color: var(--cream); }
.manifest__grid {
  display: flex;
  flex-direction: column;
  gap: 140px;
}

/* Phones cluster — 6 floating phones in a wide stage */
.phones {
  position: relative;
  width: 100%;
  height: 780px;
  perspective: 1600px;
  transform-style: preserve-3d;
}
.phones .phone {
  position: absolute;
  --pw: 200px;
  transition: transform 0.6s var(--ease);
  overflow: visible;
}
.phones .phone--p1 { top: 40px;  left: 2%;   --pw: 200px; z-index: 2; }
.phones .phone--p2 { top: 0;     left: 19%;  --pw: 230px; z-index: 4; }
.phones .phone--p3 { top: 80px;  left: 37%;  --pw: 210px; z-index: 3; }
.phones .phone--p4 { top: 30px;  left: 55%;  --pw: 240px; z-index: 5; }
.phones .phone--p5 { top: 110px; left: 73%;  --pw: 210px; z-index: 3; }
.phones .phone--p6 { top: 60px;  left: 89%;  --pw: 190px; z-index: 2; }

/* Pillars below the cluster in 3 columns */
.pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.pillars li { padding-left: 56px; position: relative; }
.pillars__num {
  position: absolute;
  left: 0; top: 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--cream-dim);
}
.pillars h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--cream);
}
.pillars p { color: var(--cream-dim); font-size: 14px; max-width: 380px; }

/* =========================================================
   REELS
   ========================================================= */
.reels {
  position: relative;
  padding: 160px 0 140px;
  background: linear-gradient(180deg, var(--ink) 0%, #060914 100%);
  overflow: hidden;
}
.reels__head {
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 80px;
}
.reels__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 5.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-top: 24px;
}
.reels__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  display: inline-flex; gap: 14px;
}
.reels__rail {
  display: flex;
  gap: 36px;
  padding: 60px 80px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.reels__rail::-webkit-scrollbar { display: none; }
.reel {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  scroll-snap-align: start;
  transform: translateY(0) rotate(0deg);
  transition: transform 0.5s var(--ease);
}
.reel:nth-child(odd) { transform: translateY(28px) rotate(-2deg); }
.reel:nth-child(even) { transform: translateY(-12px) rotate(1.5deg); }
.reel:hover { transform: translateY(-10px) rotate(0deg) scale(1.02); }
.reel__phone {
  --pw: 220px;
  width: var(--pw);
  height: calc(var(--pw) * 2.06);
  background: linear-gradient(155deg, #1a1a1a 0%, #0a0a0a 60%, #050505 100%);
  border-radius: 36px;
  padding: 9px;
  position: relative;
  box-shadow: 0 50px 100px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(240,232,219,0.08);
}
.reel__phone .phone__screen { border-radius: 28px; height: 100%; }
.reel__phone .phone__notch {
  top: 14px;
  width: 60px; height: 16px;
}
.reel--tall .reel__phone { --pw: 240px; }
.reel__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.reel__num { color: var(--cream); }
.reel__brand { font-family: var(--serif); font-size: 22px; font-style: italic; letter-spacing: 0; text-transform: none; color: var(--cream); margin-top: 2px; }

.reels__controls {
  padding: 0 80px;
  display: flex; align-items: center; gap: 24px;
  max-width: 720px;
}
.rail-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--cream-line);
  background: transparent;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 22px;
  cursor: none;
  transition: background 0.3s var(--ease), border 0.3s var(--ease);
}
.rail-btn:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.rail-progress { flex: 1; height: 1px; background: var(--cream-line); position: relative; }
.rail-progress span { position: absolute; left: 0; top: -1px; height: 3px; background: var(--cream); width: 18%; transition: width 0.3s linear; }

/* =========================================================
   3D DESIGN WALL
   ========================================================= */
.wall {
  position: relative;
  padding: 180px 0 100px;
  background: var(--ink);
  overflow: hidden;
}
.wall__head {
  padding: 0 80px;
  margin-bottom: 80px;
  max-width: 1000px;
}
.wall__title {
  margin-top: 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.wall__perspective {
  position: relative;
  height: 680px;
  perspective: 1600px;
  perspective-origin: 50% 40%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.wall__plane {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(28deg) translateZ(0) translateY(-80px);
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 0;
  will-change: transform;
}
.wall__row {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: scrollRow 60s linear infinite;
}
.wall__row--alt {
  animation-direction: reverse;
  animation-duration: 75s;
  padding-left: 80px;
}
@keyframes scrollRow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.frame {
  flex: 0 0 auto;
  width: 280px;
  height: 180px;
  background: var(--void);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(240,232,219,0.1);
}
.frame--a { transform: rotate(-2deg); }
.frame--b { transform: rotate(1.5deg) translateY(10px); width: 220px; height: 280px; }
.frame--c { transform: rotate(-0.5deg); width: 320px; height: 200px; }
.frame--d { transform: rotate(2deg) translateY(-6px); width: 260px; height: 160px; }
.frame--e { transform: rotate(-1.5deg); width: 240px; height: 320px; }
.frame--f { transform: rotate(0.5deg); width: 300px; height: 200px; }
.frame__tag {
  position: absolute;
  bottom: 10px; left: 14px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--cream);
  letter-spacing: 0.16em;
  z-index: 2;
  padding: 4px 8px;
  background: rgba(3,3,3,0.5);
  backdrop-filter: blur(6px);
  border-radius: 2px;
}
.frame__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   PORTFOLIO / CASES
   ========================================================= */
.portfolio {
  position: relative;
  padding: 180px 80px 140px;
  background: var(--ink);
}
.portfolio__head {
  max-width: 1100px;
  margin-bottom: 120px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}
.portfolio__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-top: 24px;
}
.portfolio__legend {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  display: flex; gap: 18px;
}

.cases { display: flex; flex-direction: column; gap: 160px; }
.case {
  display: grid;
  grid-template-columns: 110px 1.25fr 1fr;
  gap: 60px;
  align-items: center;
}
.case--reverse {
  grid-template-columns: 1fr 1.25fr 110px;
}
.case--reverse .case__index { order: 3; text-align: right; }
.case--reverse .case__media { order: 2; }
.case--reverse .case__body { order: 1; }

.case__index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case__index span:first-child { color: var(--cream); }

.case__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--void);
  box-shadow: 0 50px 120px rgba(0,0,0,0.6);
  transform: rotate(-1.5deg);
  transition: transform 0.6s var(--ease);
}
.case--reverse .case__media { transform: rotate(1.5deg); }
.case__media:hover { transform: rotate(0) scale(1.01); }
.case__media .reel-stripes { background-size: 22px 22px; }
.case__placeholder {
  position: absolute;
  bottom: 16px; left: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.75;
  z-index: 2;
}

.case__body { display: flex; flex-direction: column; gap: 20px; }
.case__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.case__body p {
  color: var(--cream-dim);
  font-size: 15px;
  max-width: 460px;
  line-height: 1.6;
}
.case__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.case__tags li {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--cream-line);
  border-radius: 999px;
  color: var(--cream-dim);
}

/* =========================================================
   LOGO — <img> tag + filter to invert navy → cream-white
   ========================================================= */
.logo {
  display: inline-block;
  flex-shrink: 0;
  object-fit: contain;
  /* Navy logo → cream-tinted highlight */
  filter:
    brightness(0)
    invert(1)
    sepia(0.18)
    saturate(0.6)
    brightness(0.97);
}
.logo--nav   { width: 38px;  height: 26px; }
.logo--seal  { width: 50px;  height: 34px; }
.logo--foot  { width: 32px;  height: 22px; }
.logo--orbit {
  width: 170px;
  height: auto;
  filter:
    brightness(0)
    invert(1)
    sepia(0.18)
    saturate(0.6)
    brightness(0.97)
    drop-shadow(0 0 40px rgba(240, 232, 219, 0.35));
}
.logo--mega {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 1100px;
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

/* Hero corner seal */
.hero__seal {
  position: absolute;
  top: 130px;
  right: 80px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 18px;
  border: 1px solid var(--cream-line);
  border-radius: 999px;
  background: rgba(3, 3, 3, 0.5);
  backdrop-filter: blur(12px);
}
.hero__seal-text {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* Footer brand row + mega lockup */
.foot__mark-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.foot__mega-wrap {
  position: relative;
  margin-top: 60px;
  min-height: clamp(80px, 22vw, 380px);
}
.foot__mega-wrap .foot__mega {
  position: relative;
  margin-top: 0;
  z-index: 2;
}

@media (max-width: 1100px) {
  .hero__seal { right: 40px; top: 100px; }
}
@media (max-width: 720px) {
  .hero__seal { top: 86px; right: 24px; padding: 10px 14px; gap: 10px; }
  .hero__seal-text { display: none; }
  .logo--seal { width: 44px; height: 30px; }
  .logo--nav  { width: 32px; height: 22px; }
}

/* =========================================================
   VIDEO + POSTER MEDIA
   ========================================================= */
.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: var(--void);
}
.poster__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--void);
}

/* Coming-soon reel tile */
.reel--soon .phone__screen { position: relative; }
.reel__soon {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 28px;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.55));
  color: var(--ink);
}
.reel__soon-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  color: var(--ink);
}
.reel__soon-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(3, 3, 3, 0.6);
  line-height: 1.6;
}

/* =========================================================
   FLOATING POSTER GALLERY
   ========================================================= */
.posters {
  position: relative;
  padding: 200px 80px 140px;
  background: var(--ink);
  overflow: hidden;
}
.posters__head {
  max-width: 1100px;
  margin-bottom: 140px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}
.posters__title {
  margin-top: 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.posters__legend {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.posters__gallery {
  position: relative;
  min-height: 1400px;
  max-width: 1280px;
  margin: 0 auto;
}

.poster {
  position: absolute;
  width: var(--w, 320px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: rotate(var(--r, 0deg)) translateZ(0);
  transition: transform 0.6s var(--ease), z-index 0s 0.6s;
  z-index: 1;
  cursor: none;
}
.poster:hover {
  transform: rotate(0deg) scale(1.03) translateY(-6px);
  z-index: 10;
  transition: transform 0.6s var(--ease), z-index 0s;
}
.poster__sheet {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--void);
  box-shadow:
    0 60px 100px rgba(0, 0, 0, 0.6),
    0 20px 30px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(240, 232, 219, 0.08);
}
.poster__sheet .reel-stripes { background-size: 26px 26px; }
.poster__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  gap: 12px;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
  color: var(--cream);
}
.poster__overlay--ink {
  color: var(--ink);
  background: linear-gradient(180deg, transparent 50%, rgba(240, 232, 219, 0.55) 100%);
}
.poster__brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.poster__line {
  width: 36px; height: 1px;
  background: var(--cream);
}
.poster__line--ink { background: var(--ink); }
.poster__sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.poster__caption {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding: 0 4px;
}
.poster__num { color: var(--cream); }

/* Asymmetric floating positions */
.poster--1 { --w: 320px; --r: -4deg;  top: 0;    left: 2%;  }
.poster--2 { --w: 260px; --r: 5deg;   top: 120px; left: 36%; }
.poster--3 { --w: 300px; --r: -2deg;  top: 60px;  right: 4%; }
.poster--4 { --w: 280px; --r: 6deg;   top: 720px; left: 0;   }
.poster--5 { --w: 320px; --r: -5deg;  top: 820px; left: 34%; }
.poster--6 { --w: 260px; --r: 3deg;   top: 760px; right: 6%; }

/* Subtle drift animation */
.poster--1 { animation: drift 16s ease-in-out infinite; }
.poster--2 { animation: drift 18s ease-in-out -3s infinite; }
.poster--3 { animation: drift 20s ease-in-out -6s infinite; }
.poster--4 { animation: drift 17s ease-in-out -9s infinite; }
.poster--5 { animation: drift 19s ease-in-out -12s infinite; }
.poster--6 { animation: drift 21s ease-in-out -15s infinite; }
@keyframes drift {
  0%, 100% { transform: rotate(var(--r)) translateY(0); }
  50% { transform: rotate(calc(var(--r) - 1deg)) translateY(-14px); }
}
.poster:hover { animation-play-state: paused; }

/* Industries */
.industries {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--cream-line);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.industries__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.industries__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 48px);
  color: var(--cream);
  line-height: 1.1;
}
.industries__dot { color: var(--cream-dim); font-style: normal; }

@media (max-width: 1100px) {
  .posters { padding: 140px 40px 100px; }
  .posters__head { grid-template-columns: 1fr; }
  .posters__legend { text-align: left; }
  .posters__gallery { min-height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .poster { position: relative; width: 100%; top: auto; left: auto; right: auto; }
  .poster--1, .poster--3, .poster--5 { --r: -2deg; }
  .poster--2, .poster--4, .poster--6 { --r: 2deg; }
}
@media (max-width: 720px) {
  .posters { padding: 100px 24px 80px; }
  .posters__gallery { grid-template-columns: 1fr; }
}
.orbit {
  position: relative;
  padding: 200px 80px 180px;
  background: linear-gradient(180deg, var(--ink) 0%, #060914 50%, var(--ink) 100%);
  overflow: hidden;
}
.orbit__head { max-width: 800px; margin: 0 auto 80px; text-align: center; }
.orbit__head .section-no { justify-content: center; }
.orbit__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-top: 24px;
}

.orbit__stage {
  position: relative;
  width: min(820px, 90vw);
  height: min(820px, 90vw);
  margin: 0 auto;
}
.orbit__center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 6px;
}
.orbit__center-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cream-dim);
}
.orbit__center-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 96px;
  line-height: 1;
  color: var(--cream);
}
.orbit__center-dot { color: var(--cream-dim); font-size: 60px; vertical-align: middle; }
.orbit__center-foot {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cream-dim);
}

.orbit__ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid var(--cream-line);
  transform: translate(-50%, -50%);
}
.orbit__ring--outer {
  width: 100%; height: 100%;
}
.orbit__ring--inner {
  width: 55%; height: 55%;
  border-color: var(--cream-faint);
  border-style: dashed;
}

.orbit__node, .orbit__satellite {
  position: absolute;
  top: 50%; left: 50%;
}
.orbit__node {
  --r: calc(min(820px, 90vw) / 2);
  transform: rotate(var(--a)) translate(0, calc(-1 * var(--r))) rotate(calc(-1 * var(--a)));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  white-space: nowrap;
  margin: -28px 0 0 -90px;
  width: 180px;
}
.orbit__node-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cream-dim);
}
.orbit__node-name {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--cream);
  padding: 8px 16px;
  border: 1px solid var(--cream-line);
  border-radius: 999px;
  background: rgba(3,3,3,0.6);
  backdrop-filter: blur(8px);
}
.orbit__satellite {
  --r: calc(min(820px, 90vw) * 0.275);
  transform: rotate(var(--a)) translate(0, calc(-1 * var(--r))) rotate(calc(-1 * var(--a)));
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin: -6px 0 0 -20px;
  padding: 6px 10px;
  background: rgba(3,3,3,0.7);
  border: 1px solid var(--cream-faint);
  border-radius: 999px;
}

.orbit__halo {
  position: absolute;
  top: 50%; left: 50%;
  width: 60%; height: 60%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,232,219,0.07) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(20px);
  animation: haloPulse 8s ease-in-out infinite;
}
@keyframes haloPulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.55; transform: translate(-50%, -50%) scale(1.08); }
}

.orbit__legend {
  max-width: 540px;
  margin: 80px auto 0;
  text-align: center;
}
.orbit__legend p { color: var(--cream-dim); font-size: 14px; line-height: 1.6; }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  padding: 220px 80px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.cta__sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 80%, rgba(26,30,57,0.9), transparent 70%),
    radial-gradient(80% 60% at 50% 20%, rgba(240,232,219,0.06), transparent 70%);
}
.cta__horizon {
  position: absolute;
  left: -10%; right: -10%;
  top: 65%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cream-line) 30%, var(--cream-line) 70%, transparent);
}
.cta__beam {
  position: absolute;
  top: 30%; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 60%;
  background: linear-gradient(180deg, transparent, var(--cream), transparent);
  filter: blur(8px);
  opacity: 0.35;
}
.cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.cta__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.cta__title {
  margin-top: 32px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.cta__title span { display: block; }
.cta__title span:nth-child(2) { padding-left: 8vw; }
.cta__title span:nth-child(3) { padding-left: 2vw; color: var(--cream-dim); }

.cta__button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 60px;
  padding: 22px 36px 22px 40px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.cta__button-arrow {
  font-family: var(--sans);
  font-style: normal;
  font-size: 22px;
  transition: transform 0.4s var(--ease);
}
.cta__button:hover { transform: scale(1.04); }
.cta__button:hover .cta__button-arrow { transform: translate(4px, -4px); }

.cta__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 120px;
  border-top: 1px solid var(--cream-line);
  padding-top: 32px;
  text-align: left;
}
.cta__meta > div { display: flex; flex-direction: column; gap: 6px; }
.cta__meta-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.cta__meta-value {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--cream);
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  position: relative;
  padding: 80px 80px 40px;
  background: var(--ink);
  border-top: 1px solid var(--cream-line);
  overflow: hidden;
}
.foot__top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--cream-line);
}
.foot__brand { display: flex; flex-direction: column; gap: 16px; }
.foot__mark {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.foot__tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  max-width: 320px;
  color: var(--cream);
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.foot__cols h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  font-weight: 400;
  margin-bottom: 16px;
}
.foot__cols a {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--cream);
  padding: 4px 0;
  transition: opacity 0.3s var(--ease);
}
.foot__cols a:hover { opacity: 0.6; }

.foot__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  gap: 20px;
  flex-wrap: wrap;
}

.foot__mega {
  margin-top: 60px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(80px, 22vw, 380px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--cream-line);
  text-align: center;
  user-select: none;
  pointer-events: none;
}

/* =========================================================
   INTRO ANIMATION
   ========================================================= */
.intro {
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: var(--ink);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px 32px;
  overflow: hidden;
  pointer-events: all;
}
.intro.intro--done {
  pointer-events: none;
}
.intro__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Top corners */
.intro__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: 0;
  animation: introFade 0.9s var(--ease) 0.2s forwards;
}
.intro__top-l { font-family: var(--sans); font-size: 13px; letter-spacing: 0.06em; color: var(--cream); }
.intro__top-l .amp { font-family: var(--serif); font-style: italic; color: var(--cream-dim); }

/* Center logo + wordmark */
.intro__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.intro__logo {
  width: 220px;
  height: auto;
  filter: brightness(0) invert(1) sepia(0.18) saturate(0.6) brightness(0.97);
  opacity: 0;
  transform: scale(0.9);
  animation: introLogo 1.4s var(--ease) 0.5s forwards;
}
.intro__wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--cream);
  overflow: hidden;
}
.intro__wordmark .intro__line {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  animation: introLine 1s var(--ease) forwards;
}
.intro__wordmark .intro__line:nth-child(1) { animation-delay: 0.9s; }
.intro__wordmark .intro__line:nth-child(2) { animation-delay: 1.05s; color: var(--cream); }
.intro__wordmark .intro__line:nth-child(2) em { color: var(--cream); }
.intro__wordmark .intro__line:nth-child(3) { animation-delay: 1.2s; color: var(--cream-dim); }
.intro__wordmark .intro__line--en {
  font-family: var(--mono);
  font-style: normal;
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-top: 10px;
}

/* Bottom bar + counter */
.intro__bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  opacity: 0;
  animation: introFade 0.9s var(--ease) 0.4s forwards;
}
.intro__counter {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
  color: var(--cream);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.intro__count { min-width: 1.6ch; }
.intro__pct {
  font-family: var(--mono);
  font-style: normal;
  font-size: clamp(14px, 1.4vw, 20px);
  letter-spacing: 0.1em;
  color: var(--cream-dim);
}
.intro__bar {
  height: 1px;
  background: var(--cream-faint);
  position: relative;
  overflow: hidden;
}
.intro__bar-fill {
  position: absolute;
  top: -1px; left: 0;
  height: 3px;
  background: var(--cream);
  width: 0%;
}
.intro__loading {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.intro__loading .dot {
  font-size: 18px;
  line-height: 0;
  color: var(--cream);
  opacity: 0;
  animation: introDot 1.6s ease-in-out infinite;
  padding: 0 1px;
}
.intro__loading .dot-2 { animation-delay: 0.2s; }
.intro__loading .dot-3 { animation-delay: 0.4s; }
.intro__loading span:last-child { margin-left: 8px; }

/* Curtain (cream sweep on exit) */
.intro__curtain {
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: translateY(100%);
  z-index: 5;
  pointer-events: none;
}
.intro--exit .intro__curtain {
  animation: introCurtain 1.5s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
.intro--exit .intro__center,
.intro--exit .intro__top,
.intro--exit .intro__bottom {
  animation: introOut 0.5s var(--ease) forwards;
}
.intro--gone { display: none; }

@keyframes introLogo {
  to { opacity: 1; transform: scale(1); }
}
@keyframes introLine {
  to { transform: translateY(0); opacity: 1; }
}
@keyframes introFade {
  to { opacity: 1; }
}
@keyframes introDot {
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
}
@keyframes introCurtain {
  0%   { transform: translateY(100%); }
  45%  { transform: translateY(0); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}
@keyframes introOut {
  to { opacity: 0; transform: translateY(-12px); }
}

/* Hero reveal — staged after intro */
.hero__title .line,
.hero__eyebrow,
.hero__caption,
.hero__phone,
.hero__seal,
.hero .float {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.hero__title .line { transition-duration: 1.4s; }
body.hero-revealed .hero__eyebrow { opacity: 1; transform: none; transition-delay: 0.05s; }
body.hero-revealed .hero__title .line--1 { opacity: 1; transform: none; transition-delay: 0.15s; }
body.hero-revealed .hero__title .line--2 { opacity: 1; transform: none; transition-delay: 0.3s; }
body.hero-revealed .hero__title .line--3 { opacity: 1; transform: none; transition-delay: 0.45s; }
body.hero-revealed .hero__caption  { opacity: 1; transform: none; transition-delay: 0.55s; }
body.hero-revealed .hero__phone    { opacity: 1; transform: none; transition-delay: 0.4s; }
body.hero-revealed .hero__seal     { opacity: 1; transform: none; transition-delay: 0.3s; }
body.hero-revealed .hero .float    { opacity: 1; transform: none; transition-delay: 0.2s; }

@media (max-width: 720px) {
  .intro__logo { width: 140px; }
  .intro__wordmark { font-size: 32px; }
  .intro__bottom { grid-template-columns: 1fr; gap: 16px; }
  .intro__loading { display: none; }
}


@media (max-width: 1100px) {
  .hero__type { padding: 160px 40px 0; }
  .hero__caption { right: 40px; bottom: 180px; max-width: 280px; }
  .hero__phone { display: none; }
  .manifest, .reels__head, .wall__head, .portfolio, .orbit, .cta, .foot { padding-left: 40px; padding-right: 40px; }
  .reels__rail { padding-left: 40px; padding-right: 40px; }
  .reels__controls { padding-left: 40px; padding-right: 40px; }
  .manifest__grid { grid-template-columns: 1fr; gap: 60px; }
  .phones { height: 1100px; }
  .phones .phone { position: relative !important; top: 0 !important; left: 0 !important; }
  .phones {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    height: auto !important;
    place-items: center;
  }
  .phones .phone--p1, .phones .phone--p2, .phones .phone--p3,
  .phones .phone--p4, .phones .phone--p5, .phones .phone--p6 {
    --pw: 200px;
  }
  .pillars { grid-template-columns: 1fr; gap: 40px; }
  .portfolio__head, .reels__head { grid-template-columns: 1fr; }
  .case, .case--reverse {
    grid-template-columns: 80px 1fr;
    gap: 32px;
  }
  .case--reverse .case__index { order: 1; text-align: left; }
  .case--reverse .case__media { order: 2; }
  .case--reverse .case__body { order: 3; }
  .case__body { grid-column: 1 / -1; }
  .foot__top { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { cursor: auto; }
  .cursor { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__meta { display: none; }
  .nav__menu { padding: 8px 14px; gap: 16px; font-size: 11px; }
  .hero__type { padding: 140px 24px 0; }
  .hero__title .line--2 { padding-left: 24px; }
  .hero__caption { position: static; padding: 40px 24px 0; max-width: none; }
  .float--torus, .float--ring { display: none; }
  .manifest, .reels__head, .reels__controls, .wall__head, .portfolio, .orbit, .cta, .foot { padding-left: 24px; padding-right: 24px; }
  .reels__rail { padding-left: 24px; padding-right: 24px; gap: 20px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .cta__meta { grid-template-columns: 1fr; }
}
.foot__external-link {
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
