/* ============================================================
   007 Technologies — v4
   Cinematic. Helix-hero. Foggy white + red/orange gradient.
   Bricolage Grotesque display. Text animations. Scroll-linked motion.
   ============================================================ */

/* ---------- Design tokens ---------- */

:root {
  /* Color */
  --bg:            #F0EDE7;   /* foggy white (rest of site) */
  --bg-warm:       #ECE8E1;
  --bg-white:      #FFFFFF;
  --bg-deep:       #0A0A0A;
  --bg-smoke:      #9F9D97;   /* smokey grey (hero base) */
  --bg-smoke-deep: #7A7873;   /* deeper smoke for bottom */
  --bg-smoke-lift: #C5C2BA;   /* rising smoke highlight */
  --text:          #0A0A0A;
  --text-body:     #1C1C1C;
  --text-muted:    #5E5B55;
  --text-subtle:   #8E8B85;
  --text-faint:    #C9C5BD;
  --border:        #D9D4CA;
  --border-hover:  #B8B2A5;
  --border-strong: #171717;

  --accent:         #B91C1C;
  --accent-hover:   #991B1B;
  --accent-subtle:  #F9EAE6;
  --accent-paper:   #F2DDD7;
  --accent-ring:    rgba(185, 28, 28, 0.14);

  --flame-1:       #FEF3C7;
  --flame-2:       #FBBF24;
  --flame-3:       #F97316;
  --flame-4:       #DC2626;
  --flame-5:       #7F1D1D;

  /* Type */
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display:  'Bricolage Grotesque', 'Inter', -apple-system, sans-serif;
  --font-mono:     'JetBrains Mono', 'SF Mono', Monaco, Menlo, Consolas, monospace;

  /* Motion */
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quick: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:   180ms;
  --dur-med:    320ms;
  --dur-slow:   800ms;

  /* Layout */
  --container:         1280px;
  --container-narrow:  820px;
  --section-y-mobile:  96px;
  --section-y:         160px;
}

/* ---------- Reset ---------- */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01';
  overflow-x: hidden;
}

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

em {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 72%,
    rgba(185, 28, 28, 0.15) 72%,
    rgba(185, 28, 28, 0.15) 92%,
    transparent 92%
  );
  padding: 0 4px;
  margin: 0 -2px;
}

ol, ul { list-style: none; }

::selection {
  background: var(--accent);
  color: #FFFFFF;
}

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible,
.contact-cta:focus-visible,
.nav-cta:focus-visible {
  outline-offset: 4px;
}

/* Grain texture. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.05 0 0 0 0 0.04 0 0 0 0.20 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

/* ---------- Utilities ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow { max-width: var(--container-narrow); }

@media (max-width: 640px) {
  .container { padding: 0 24px; }
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  z-index: 100;
  pointer-events: none;
}

.scroll-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--scroll-progress, 0%);
  background: var(--accent);
  transition: width 60ms linear;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(240, 237, 231, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-med) var(--ease-quick),
              background var(--dur-med) var(--ease-quick);
}

.nav.scrolled {
  background: rgba(240, 237, 231, 0.88);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

@media (max-width: 640px) { .nav-inner { padding: 14px 24px; } }

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity var(--dur-fast) var(--ease-quick);
}

.nav-brand:hover { opacity: 0.75; }

.nav-brand-num {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'wght' 700, 'wdth' 90;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  font-feature-settings: 'lnum' 1, 'ss01';
}

.nav-brand-sep {
  display: inline-block;
  width: 2px;
  height: 18px;
  background: var(--accent);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(185, 28, 28, 0.4);
}

.nav-brand-word {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-body);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-links a {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease-quick);
  position: relative;
  padding: 4px 0;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-med) var(--ease);
}

.nav-links a:not(.nav-cta):hover { color: var(--text); }

.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a.nav-cta {
  color: var(--accent);
  padding: 8px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  transition: all var(--dur-fast) var(--ease-quick);
  box-shadow: 0 0 0 0 rgba(185, 28, 28, 0);
  position: relative;
  overflow: hidden;
}

.nav-links a.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-med) var(--ease-quick);
  z-index: -1;
}

.nav-links a.nav-cta:hover {
  color: var(--bg);
  box-shadow: 0 0 24px rgba(185, 28, 28, 0.35),
              0 0 0 1px rgba(185, 28, 28, 0.2);
  border-color: var(--accent);
}

.nav-links a.nav-cta:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============================================================
   CINEMATIC HERO
   ============================================================ */

.hero-cinematic {
  position: relative;
  height: 100vh;
  min-height: 900px;
  max-height: 1140px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 240px;   /* bottom padding reserved for scroll cue */
  /* Smokey grey → foggy white gradient */
  background:
    linear-gradient(
      180deg,
      var(--bg-smoke) 0%,
      var(--bg-smoke) 55%,
      var(--bg-smoke-lift) 82%,
      var(--bg) 100%
    );
  color: var(--text);
}

@media (max-width: 640px) {
  .hero-cinematic {
    padding: 100px 20px 180px;
    min-height: 760px;
  }
}

/* Smoke layers at bottom of hero */
.hero-smoke {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -15%;
  height: 75%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.smoke-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
}

.smoke-1 {
  width: 70%;
  height: 90%;
  left: -10%;
  bottom: -20%;
  background: radial-gradient(
    ellipse at 30% 70%,
    rgba(245, 243, 238, 0.85) 0%,
    rgba(230, 227, 221, 0.55) 35%,
    transparent 70%
  );
  animation: smokeDrift1 26s ease-in-out infinite;
}

.smoke-2 {
  width: 80%;
  height: 80%;
  right: -15%;
  bottom: -10%;
  background: radial-gradient(
    ellipse at 70% 80%,
    rgba(240, 237, 231, 0.75) 0%,
    rgba(218, 214, 207, 0.5) 40%,
    transparent 70%
  );
  animation: smokeDrift2 32s ease-in-out infinite reverse;
}

.smoke-3 {
  width: 60%;
  height: 60%;
  left: 20%;
  bottom: 5%;
  background: radial-gradient(
    ellipse at 50% 60%,
    rgba(250, 248, 243, 0.65) 0%,
    rgba(232, 229, 222, 0.4) 45%,
    transparent 75%
  );
  animation: smokeDrift3 38s ease-in-out infinite;
}

@keyframes smokeDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(4%, -3%) scale(1.08); }
  66%      { transform: translate(-3%, 2%) scale(1.04); }
}

@keyframes smokeDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-5%, -4%) scale(1.1); }
}

@keyframes smokeDrift3 {
  0%, 100% { transform: translate(0, 0) scale(0.98); }
  40%      { transform: translate(3%, -4%) scale(1.08); }
  70%      { transform: translate(-4%, 1%) scale(1.02); }
}

/* Helix — full-bleed SVG line field */
.helix-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

.helix {
  width: 100%;
  height: 100%;
  display: block;
}

.helix-lines path {
  fill: none;
  vector-effect: non-scaling-stroke;
  transition: stroke-opacity var(--dur-med) ease;
}

/* Subtle center glow — focuses light on 007 mark */
.hero-cinematic::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 60% 50% at center 40%,
    rgba(255, 255, 255, 0.14) 0%,
    transparent 50%
  );
}

.hero-cin-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(12px);
  animation: riseIn 0.9s var(--ease-out) 0.3s forwards;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
  box-shadow: 0 0 0 0 var(--accent-ring);
}

@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 1;   box-shadow: 0 0 0 0 rgba(185,28,28,0.45); }
  50%      { transform: scale(1.25); opacity: 0.85; box-shadow: 0 0 0 6px rgba(185,28,28,0); }
}

/* The big 007 mark */
.hero-mark {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  z-index: 2;
}

.hero-mark-nums {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'wght' 800, 'wdth' 95;
  font-size: clamp(140px, 26vw, 360px);
  letter-spacing: -0.055em;
  line-height: 0.85;
  color: #FFFFFF;
  text-shadow: 0 6px 48px rgba(0, 0, 0, 0.18);
  font-feature-settings: 'lnum' 1, 'ss01';
}

.hero-mark-nums .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) scale(0.94);
  animation: markCharIn 1.1s var(--ease-out) forwards;
  will-change: transform, opacity;
}

.hero-mark-nums .char:nth-child(1) { animation-delay: 0.55s; }
.hero-mark-nums .char:nth-child(2) { animation-delay: 0.68s; }
.hero-mark-nums .char:nth-child(3) { animation-delay: 0.81s; }

@keyframes markCharIn {
  0%   { opacity: 0; transform: translateY(50px) scale(0.9); }
  70%  { opacity: 1; transform: translateY(-4px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-mark-word {
  display: inline-flex;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(11px, 1.3vw, 15px);
  letter-spacing: 0.65em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: clamp(12px, 1.5vw, 20px);
  padding-left: 0.65em;
}

.hero-mark-word .word-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  animation: wordCharIn 0.7s var(--ease-out) forwards;
}

.hero-mark-word .word-char:nth-child(1)  { animation-delay: 1.10s; }
.hero-mark-word .word-char:nth-child(2)  { animation-delay: 1.15s; }
.hero-mark-word .word-char:nth-child(3)  { animation-delay: 1.20s; }
.hero-mark-word .word-char:nth-child(4)  { animation-delay: 1.25s; }
.hero-mark-word .word-char:nth-child(5)  { animation-delay: 1.30s; }
.hero-mark-word .word-char:nth-child(6)  { animation-delay: 1.35s; }
.hero-mark-word .word-char:nth-child(7)  { animation-delay: 1.40s; }
.hero-mark-word .word-char:nth-child(8)  { animation-delay: 1.45s; }
.hero-mark-word .word-char:nth-child(9)  { animation-delay: 1.50s; }
.hero-mark-word .word-char:nth-child(10) { animation-delay: 1.55s; }
.hero-mark-word .word-char:nth-child(11) { animation-delay: 1.60s; }
.hero-mark-word .word-char:nth-child(12) { animation-delay: 1.65s; }

@keyframes wordCharIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-cin-tagline {
  margin-top: clamp(40px, 5vw, 72px);
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--text-body);
  max-width: 32ch;
  letter-spacing: -0.005em;
  font-weight: 400;
}

.tagline-line {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  animation: riseIn 1s var(--ease-out) forwards;
}

.tagline-line:nth-child(1) { animation-delay: 1.8s; }
.tagline-line:nth-child(2) {
  animation-delay: 1.95s;
  font-style: italic;
  color: var(--text-muted);
}

.hero-cin-actions {
  margin-top: clamp(40px, 4.5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  animation: riseIn 1s var(--ease-out) 2.2s forwards;
}

.hero-cin-cue {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-body);
  z-index: 4;   /* above smoke */
  opacity: 0;
  font-weight: 500;
  animation: heroCueIn 1s var(--ease-out) 2.5s forwards,
             float 3.6s ease-in-out 3.2s infinite;
}

.hero-cin-cue-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}

.hero-cin-cue-line::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 14px;
  background: var(--accent);
  animation: scrollLine 2.6s var(--ease-out) 3.4s infinite;
}

@keyframes scrollLine {
  0%   { top: -14px; opacity: 0; }
  20%  { opacity: 1; }
  100% { top: 40px;  opacity: 0; }
}

@keyframes heroCueIn {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes float {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -4px); }
}

@media (max-width: 640px) {
  .hero-cin-cue { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-quick),
              background var(--dur-fast) var(--ease-quick),
              border-color var(--dur-fast) var(--ease-quick),
              box-shadow var(--dur-fast) var(--ease-quick);
  white-space: nowrap;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05),
              0 0 0 1px rgba(255,255,255,0.08) inset;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
              transparent 0%,
              rgba(255,255,255,0.14) 50%,
              transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-quick);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px rgba(0,0,0,0.38),
              0 0 0 1px rgba(255,255,255,0.12) inset;
  background: #1C1C1C;
}

.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary > * { position: relative; z-index: 1; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  border-color: var(--border-hover);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--text);
  background: var(--bg-white);
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease-quick);
}

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

/* ============================================================
   SECTIONS (shared)
   ============================================================ */

section {
  padding: var(--section-y-mobile) 0;
  position: relative;
}

@media (min-width: 900px) {
  section { padding: var(--section-y) 0; }
}

.section-header {
  margin-bottom: 72px;
  max-width: 820px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.section-label-num {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'wght' 700, 'wdth' 85;
  color: var(--accent);
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
  font-feature-settings: 'lnum' 1;
}

.section-headline {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'wght' 700, 'wdth' 95;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  color: var(--text);
}

.headline-alt {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'wght' 500, 'wdth' 90;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-lead {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--text-muted);
  max-width: 58ch;
  margin-top: 24px;
  line-height: 1.6;
}

/* ============================================================
   STUDIO
   ============================================================ */

/* ============================================================
   SECTION BACKGROUND NUMERALS (decorative)
   Faint, large, per-section numeral that echoes the hero's
   decorative treatment. Creates identity across pages.
   ============================================================ */

.studio,
.products,
.process,
.approach {
  position: relative;
  isolation: isolate;
}

.studio::before,
.products::before,
.process::before,
.approach::before {
  position: absolute;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'wght' 800, 'wdth' 92;
  font-size: clamp(260px, 42vw, 560px);
  line-height: 0.78;
  color: var(--text);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.065em;
  font-feature-settings: 'lnum' 1;
  white-space: nowrap;
}

.studio > .container,
.products > .container,
.process > .container,
.approach > .container {
  position: relative;
  z-index: 1;
}

/* Per-section positioning */
.studio::before {
  content: '01';
  top: 4%;
  right: -3%;
}

.products::before {
  content: '007';
  bottom: 2%;
  left: -5%;
  /* slightly smaller so "007" fits nicely */
  font-size: clamp(220px, 36vw, 480px);
}

.process::before {
  content: '03';
  top: 3%;
  right: 2%;
}

.approach::before {
  content: '04';
  bottom: 3%;
  right: -2%;
}

@media (max-width: 640px) {
  .studio::before,
  .products::before,
  .process::before,
  .approach::before {
    font-size: clamp(180px, 60vw, 320px);
    opacity: 0.035;
  }
}

.studio {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}

@media (min-width: 1040px) {
  .studio-grid {
    grid-template-columns: minmax(0, 1.4fr) 360px;
    gap: 80px;
  }
}

.studio-copy .section-label { margin-bottom: 28px; }

.studio-lead {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 28px;
  letter-spacing: -0.015em;
  font-weight: 400;
  max-width: 52ch;
}

.studio-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 52ch;
}

/* Dossier */
.studio-dossier {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 28px 24px;
  background: var(--bg-white);
  box-shadow: 0 20px 48px -32px rgba(0,0,0,0.12),
              0 1px 2px rgba(0,0,0,0.02);
  position: relative;
}

.studio-dossier::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 28px;
  width: 44px;
  height: 2px;
  background: var(--accent);
}

.dossier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.dossier-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.dossier-id {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'wght' 700, 'wdth' 90;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--accent);
  font-feature-settings: 'lnum' 1;
}

.dossier-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dossier-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 13.5px;
}

.dossier-row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}

.dossier-row dd {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text);
  text-align: right;
  font-feature-settings: 'tnum';
}

.dossier-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
}

/* ============================================================
   PRODUCTS
   ============================================================ */

.products {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.product-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;                       /* makes children stretch */
  transition: border-color var(--dur-med) var(--ease-quick),
              transform var(--dur-med) var(--ease-quick),
              box-shadow var(--dur-med) var(--ease-quick);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-quick);
  z-index: 2;
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 40px 80px -32px rgba(0,0,0,0.16);
}

.product-card:hover::before { transform: scaleX(1); }

.product-card-inner {
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  width: 100%;                         /* fill card */
  flex: 1;                             /* fill vertically */
}

@media (max-width: 640px) {
  .product-card-inner { padding: 30px 26px 28px; }
}

.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border);
}

.product-number {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}

.product-number-numeric {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'wght' 700, 'wdth' 95;
  font-size: 44px;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.04em;
  font-feature-settings: 'lnum' 1;
}

.product-number-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  text-transform: uppercase;
  line-height: 1;
  padding-bottom: 4px;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 10px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-paper);
  border-radius: 999px;
  flex-shrink: 0;
  margin-top: 6px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

.product-name {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'wght' 700, 'wdth' 95;
  font-size: clamp(28px, 2.8vw, 36px);
  letter-spacing: -0.028em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 14px;
}

.product-tagline {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'wght' 500, 'wdth' 95;
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}

.product-description {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 52ch;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  margin-top: auto;                    /* pushes to bottom of card */
  border-top: 1px solid var(--border);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
}

.meta-row dt {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11.5px;
}

.meta-row dd {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

/* ============================================================
   PROCESS
   ============================================================ */

.process {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

.process-step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  position: relative;
}

@media (max-width: 720px) {
  .process-step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
  }
}

.process-step::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--border-hover);
  opacity: 0;
  transition: background var(--dur-med) var(--ease),
              opacity var(--dur-med) var(--ease);
}

.process-step.in-view::before { opacity: 0.65; }
.process-step:hover::before { background: var(--accent); opacity: 1; }

.process-num {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'wght' 700, 'wdth' 90;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 0.9;
  color: var(--text);
  letter-spacing: -0.045em;
  font-feature-settings: 'lnum' 1;
  position: relative;
}

.process-num::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin-top: 12px;
}

.process-title {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'wght' 700, 'wdth' 95;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 12px;
}

.process-body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 58ch;
}

/* ============================================================
   MANIFESTO
   ============================================================ */

.manifesto {
  background: var(--bg-deep);
  color: var(--bg);
  padding: clamp(88px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.manifesto::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse at center,
              rgba(185, 28, 28, 0.18) 0%,
              transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.manifesto .container { position: relative; z-index: 1; }

.manifesto-quote {
  position: relative;
  padding-left: 16px;
}

.manifesto-mark {
  position: absolute;
  top: -0.22em;
  left: -0.38em;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'wght' 800, 'wdth' 100;
  font-size: clamp(140px, 18vw, 220px);
  line-height: 1;
  color: var(--accent);
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
}

.manifesto-quote p {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'wght' 500, 'wdth' 100;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.022em;
  color: var(--bg);
  font-weight: 500;
}

.manifesto-quote em {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'wght' 500, 'wdth' 100;
  font-style: italic;
  color: #EF4444;
  background: none;
  font-weight: 500;
  padding: 0;
  margin: 0;
}

.manifesto-attr {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.manifesto-dash { color: var(--accent); margin-right: 8px; }

/* ============================================================
   APPROACH
   ============================================================ */

.approach {
  background: var(--bg-warm);
  position: relative;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 960px) {
  .approach-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 88px;
  }
}

.approach-left {
  position: sticky;
  top: 120px;
  align-self: start;
}

@media (max-width: 960px) {
  .approach-left { position: static; }
}

.approach-headline { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }

.approach-right { max-width: 620px; }

.approach-lead {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'wght' 500, 'wdth' 100;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 32px;
}

.approach-body-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 24px;
}

.approach-body-text:last-of-type { margin-bottom: 0; }

/* ---------- Principles ---------- */

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  position: relative;
  gap: 28px;
}

.principles::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--accent);
}

.principle { display: flex; flex-direction: column; gap: 6px; }

.principle-key {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.principle-value {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'wght' 600, 'wdth' 100;
  font-size: clamp(16px, 1.6vw, 19px);
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--text);
}

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

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  background: var(--bg-deep);
  color: var(--bg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.contact-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, black 30%, transparent 80%);
  z-index: 0;
}

.contact::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 140%;
  background: radial-gradient(ellipse at center,
              rgba(185, 28, 28, 0.22) 0%,
              transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.contact > .container { position: relative; z-index: 1; }

.contact-label { color: var(--text-faint) !important; }
.contact-label .section-label-num { color: var(--accent); }

.contact-headline {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 96, 'wght' 700, 'wdth' 95;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.032em;
  color: var(--bg);
  margin-bottom: 28px;
}

.contact-headline .headline-alt { color: #FFFFFF; }

.contact-lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 44px;
  max-width: 54ch;
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 22px 30px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  transition: background var(--dur-fast) var(--ease-quick),
              transform var(--dur-fast) var(--ease-quick),
              box-shadow var(--dur-med) var(--ease-quick);
  box-shadow: 0 6px 36px -4px rgba(185, 28, 28, 0.5),
              0 0 0 1px rgba(255,255,255,0.08) inset;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
              transparent 0%,
              rgba(255,255,255,0.22) 50%,
              transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease-quick);
}

.contact-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -8px rgba(185, 28, 28, 0.6),
              0 0 0 1px rgba(255,255,255,0.12) inset;
}

.contact-cta:hover::before { transform: translateX(100%); }

.contact-cta-text { position: relative; z-index: 1; }

.contact-cta-arrow {
  display: inline-flex;
  position: relative;
  z-index: 1;
  transition: transform var(--dur-fast) var(--ease-quick);
}

.contact-cta:hover .contact-cta-arrow {
  transform: translateX(4px) translateY(-4px);
}

.contact-meta {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.42);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.footer-disclaimer {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--text-subtle);
  max-width: 820px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.footer-brand-num {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 48, 'wght' 700, 'wdth' 90;
  font-size: 16px;
  color: var(--accent);
  letter-spacing: -0.015em;
  font-feature-settings: 'lnum' 1;
  line-height: 1;
}

.footer-brand-word {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.footer-dot { color: var(--text-faint); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.985);
  filter: blur(4px);
  transition: opacity 1.2s var(--ease-out),
              transform 1.2s var(--ease-out),
              filter 1.2s var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal:nth-child(2) { transition-delay: 0.12s; }
.reveal:nth-child(3) { transition-delay: 0.22s; }
.reveal:nth-child(4) { transition-delay: 0.32s; }
.reveal:nth-child(5) { transition-delay: 0.42s; }

/* Section headline — cinematic entrance with blur-in */
.section-header.reveal.in-view .section-headline {
  animation: headlineIn 1.3s var(--ease-out) 0.2s both;
}

.section-header.reveal.in-view .section-label {
  animation: labelIn 0.8s var(--ease-out) 0.05s both;
}

.section-header.reveal.in-view .section-lead {
  animation: labelIn 0.9s var(--ease-out) 0.35s both;
}

@keyframes headlineIn {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.96);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes labelIn {
  from { opacity: 0; transform: translateY(16px); filter: blur(3px); }
  to   { opacity: 1; transform: translateY(0);     filter: blur(0); }
}

/* Process steps — individual staggered reveal with scale */
.process-step.reveal {
  transform: translateY(48px) scale(0.97);
}

.process-step.reveal.in-view {
  transform: translateY(0) scale(1);
}

.process-step.reveal.in-view .process-num {
  animation: processNumIn 1.2s var(--ease-out) 0.15s both;
}

@keyframes processNumIn {
  from { opacity: 0; transform: translateX(-24px); filter: blur(6px); }
  to   { opacity: 1; transform: translateX(0);     filter: blur(0); }
}

/* Product cards — lift in with scale */
.product-card.reveal {
  transform: translateY(48px) scale(0.96);
}

.product-card.reveal.in-view {
  transform: translateY(0) scale(1);
}

/* ---------- Keyframes ---------- */

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; filter: none; }
  .hero-mark-nums .char,
  .hero-mark-word .word-char,
  .tagline-line,
  .hero-cin-actions,
  .hero-meta { opacity: 1; transform: none; }
  .helix-lines path { animation: none !important; }
  .smoke-layer { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 640px) {
  .hero-mark-nums { font-size: clamp(120px, 32vw, 200px); }
  .hero-cin-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 300px; }
  .hero-cin-actions .btn { justify-content: center; }
  .section-header { margin-bottom: 56px; }
  .manifesto-mark { font-size: clamp(100px, 24vw, 140px); }
  .manifesto-quote { padding-left: 8px; }
  .nav-brand-word { display: none; }
  .nav-brand-sep { display: none; }
}
