/* ============================================
   NETRA STUDIO — ORYZO-INSPIRED LANDING
   Premium 3D, mysterious tone, scroll-driven
   ============================================ */

:root {
  --ink: #0B1F3F;
  --ink-deep: #050D1F;
  --ink-soft: #1a3050;
  --ink-darker: #020613;
  --ivory: #F4EFE6;
  --ivory-soft: #ECE5D7;
  --gold: #D4A24C;
  --gold-bright: #E8C589;
  --gold-deep: #A8801F;
  --rule: rgba(244, 239, 230, 0.10);
  --rule-strong: rgba(244, 239, 230, 0.22);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-power: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  width: 100%;
  background: var(--ink-deep);
}
html { scroll-behavior: auto; }
body {
  font-family: 'Manrope', sans-serif;
  color: var(--ivory);
  line-height: 1.5;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transition: width 0.3s, height 0.3s;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1px solid rgba(212, 162, 76, 0.35);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
  transform: translate(-50%, -50%);
}
.cursor.hover { width: 4px; height: 4px; }
.cursor-ring.hover {
  width: 72px; height: 72px;
  border-color: var(--gold);
  background: rgba(212, 162, 76, 0.05);
}
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

/* ============================================
   GLOBAL CANVAS — scroll-locked 3D lattice
   Sits behind everything as atmospheric depth
   ============================================ */
#orb-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

/* Grain */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

/* Ambient gradient backdrop — strengthens text contrast over canvas */
.backdrop {
  position: fixed; inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(5, 13, 31, 0.7) 0%, rgba(5, 13, 31, 0) 70%),
    radial-gradient(ellipse at 50% 50%, var(--ink-soft) 0%, var(--ink-deep) 40%, var(--ink-darker) 100%);
  transition: background 1.5s var(--ease-out);
}

/* Text-zone vignette — a soft dark gradient that follows the section content
   so any text always has guaranteed contrast against the lattice */
.text-vignette {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(
    ellipse 60% 50% at 50% 50%,
    rgba(5, 13, 31, 0.55) 0%,
    rgba(5, 13, 31, 0.2) 50%,
    transparent 100%
  );
}

/* ============================================
   LOADER
   ============================================ */
#loader {
  position: fixed; inset: 0;
  background: var(--ink-darker);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
  transition: opacity 0.8s ease-out;
}
.loader-eye {
  width: 50px; height: 50px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: loader-pulse 1.5s ease-in-out infinite;
}
.loader-eye::before {
  content: ''; width: 10px; height: 10px;
  background: var(--gold); border-radius: 50%;
}
@keyframes loader-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}
.loader-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold);
  opacity: 0.8;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50; padding: 28px 48px;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(2, 6, 19, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-logo {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: 19px; letter-spacing: -0.015em;
  font-style: italic; display: flex; align-items: center;
  gap: 10px; color: var(--ivory);
}
.nav-logo .eye-mark {
  width: 16px; height: 16px;
}
.nav-right {
  display: flex; align-items: center; gap: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.25em;
}
.nav-links {
  display: flex; gap: 28px;
  color: rgba(244, 239, 230, 0.6);
}
.nav-links a {
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover { color: var(--gold); }
.nav-status {
  display: flex; align-items: center; gap: 10px;
  color: var(--gold);
}
.nav-status .dot {
  width: 5px; height: 5px; background: var(--gold);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
}
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  .nav-links, .nav-status .label { display: none; }
}

/* ============================================
   SECTION SHELL
   ============================================ */
section {
  position: relative;
  z-index: 5;
  padding: 0 48px;
}
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 768px) {
  section { padding: 0 24px; }
}

/* ============================================
   SECTION 1 — HERO
   ============================================ */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 140px;
  padding-bottom: 60px;
}
.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 1s 0.6s var(--ease-out) forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--gold);
}
.hero-headline-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: center;
  position: relative;
}
.hero-headline-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(95vw, 1300px);
  height: 110%;
  background: radial-gradient(
    ellipse 60% 70% at 50% 50%,
    rgba(5, 13, 31, 0.7) 0%,
    rgba(5, 13, 31, 0.3) 45%,
    rgba(5, 13, 31, 0) 75%
  );
  pointer-events: none;
  z-index: -1;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: clamp(64px, 12vw, 200px);
  line-height: 0.88;
  letter-spacing: -0.045em;
}
.hero-headline .line {
  display: block;
  overflow: hidden;
}
.hero-headline .line .inner {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.4s var(--ease-out) forwards;
}
.hero-headline .line:nth-child(1) .inner { animation-delay: 0.7s; }
.hero-headline .line:nth-child(2) .inner { animation-delay: 0.95s; }
.hero-headline .italic {
  font-style: italic;
  color: var(--gold);
}
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 48px;
  padding-top: 28px;
  padding-bottom: 32px;
  border-top: 1px solid var(--rule);
  opacity: 0;
  animation: fadeUp 1s 1.4s var(--ease-out) forwards;
}
.hero-etymology {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}
.hero-etymology-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.38em;
  color: var(--gold);
  opacity: 0.6;
}
.hero-etymology-name {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.hero-etymology-script {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: clamp(22px, 2.4vw, 36px);
  letter-spacing: 0.04em;
  color: var(--ivory);
  line-height: 1;
}
.hero-etymology-phonetic {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(14px, 1.5vw, 22px);
  color: var(--gold);
  letter-spacing: -0.01em;
  line-height: 1;
}
.hero-etymology-def {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(11px, 0.9vw, 13px);
  color: rgba(244, 239, 230, 0.42);
  max-width: 300px;
  line-height: 1.7;
  margin-top: 4px;
}
.hero-etymology-def em {
  font-style: normal;
  color: var(--gold);
  opacity: 0.85;
}
.hero-brief {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hero-brief p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(244, 239, 230, 0.38);
  line-height: 1.8;
}
.hero-brief .italic {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(11px, 0.9vw, 13px);
  text-transform: none;
  letter-spacing: 0.02em;
  color: rgba(244, 239, 230, 0.5);
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(244, 239, 230, 0.45);
  opacity: 0;
  animation: fadeUp 1s 1.75s var(--ease-out) forwards;
}
.hero-foot .label {
  display: block;
  color: var(--gold);
  margin-bottom: 6px;
  font-size: 9px;
}
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue-text { color: var(--gold); }
.scroll-cue-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  position: relative; overflow: hidden;
}
.scroll-cue-line::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 30%;
  background: var(--gold);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -30%; }
  100% { top: 130%; }
}
@media (max-width: 768px) {
  .hero-strip {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .hero-brief { text-align: left; }
  .scroll-cue { display: none; }
  .hero-foot { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ============================================
   SECTION 2 — THE WHISPER
   ============================================ */
.whisper {
  height: 200vh;
  position: relative;
}
.whisper-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.whisper-pin::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 1000px);
  height: 70%;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(5, 13, 31, 0.8) 0%,
    rgba(5, 13, 31, 0.4) 40%,
    rgba(5, 13, 31, 0) 75%
  );
  pointer-events: none;
  z-index: 1;
}
.whisper-content {
  max-width: 900px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.whisper-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 32px;
  opacity: 0;
}
.whisper-text {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: clamp(36px, 5.5vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.whisper-text .italic {
  font-style: italic;
  color: var(--gold);
}
.whisper-line {
  display: block;
  overflow: hidden;
}
.whisper-line .inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}
.whisper-text.active .inner {
  transform: translateY(0);
  opacity: 1;
  transition: transform 1.2s var(--ease-out), opacity 1.2s var(--ease-out);
}
.whisper-text.active .whisper-line:nth-child(1) .inner { transition-delay: 0s; }
.whisper-text.active .whisper-line:nth-child(2) .inner { transition-delay: 0.15s; }
.whisper-text.active .whisper-line:nth-child(3) .inner { transition-delay: 0.3s; }
.whisper-eyebrow.active {
  opacity: 1;
  transition: opacity 1s var(--ease-out);
}

/* ============================================
   SECTION 3 — THREE LENSES
   ============================================ */
.lenses {
  position: relative;
  padding-top: 200px;
  padding-bottom: 160px;
}
.lenses-header {
  text-align: center;
  margin-bottom: 140px;
}
.lenses-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.lenses-eyebrow::before,
.lenses-eyebrow::after {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
}
.lenses-title {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.lenses-title .italic { font-style: italic; color: var(--gold); }
.lenses-aside {
  margin-top: 24px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  color: rgba(244, 239, 230, 0.55);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Each lens row uses scroll storytelling */
.lens-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  min-height: 80vh;
  padding: 80px 0;
  align-items: center;
}
.lens-spacer {
  min-height: 400px;
  position: relative;
}
/* Split layout: title on left, details on right */
.lens-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.lens-right {
  position: relative;
  overflow: hidden;
}
.lens-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.lens-num::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
}
.lens-name {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 36px;
}
.lens-name .italic {
  font-style: italic;
  color: var(--gold);
}
.lens-tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--ivory);
  line-height: 1.4;
  margin-bottom: 24px;
  max-width: 460px;
}
.lens-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.65);
  max-width: 440px;
  margin-bottom: 36px;
}
.lens-features {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}
.lens-features li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(244, 239, 230, 0.7);
  padding-left: 24px;
  position: relative;
}
.lens-features li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 500;
}
.lens-spec {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(244, 239, 230, 0.4);
  padding: 8px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 100px;
  margin-right: 8px;
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .lens-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .lens-row.right .lens-right { order: 2; }
  .lens-row.right .lens-left { order: 1; }
  .lens-spacer { min-height: 60vh; }
  .lenses { padding-top: 100px; padding-bottom: 80px; }
  .lenses-header { margin-bottom: 80px; }
}

/* ============================================
   SECTION 4 — WHAT WE BELIEVE (manifesto)
   ============================================ */
.believe {
  padding-top: 160px;
  padding-bottom: 200px;
  position: relative;
}
.believe-header {
  text-align: center;
  margin-bottom: 100px;
}
.believe-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.believe-eyebrow::before,
.believe-eyebrow::after {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
}
.believe-title {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.believe-title .italic { font-style: italic; color: var(--gold); }
.believe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.believe-card {
  background: var(--ink-deep);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 320px;
  position: relative;
  transition: background 0.6s var(--ease-out);
}
.believe-card:hover {
  background: rgba(11, 31, 63, 0.6);
}
.believe-card-num {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold);
  opacity: 0.4;
}
.believe-card-headline {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: auto;
}
.believe-card-headline .italic {
  font-style: italic;
  color: var(--gold);
}
.believe-card-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(244, 239, 230, 0.5);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .believe-grid { grid-template-columns: 1fr; }
  .believe-card { padding: 48px 32px; min-height: 240px; }
  .believe { padding-top: 100px; padding-bottom: 100px; }
}

/* ============================================
   SECTION 5 — THE WORK (service tiers)
   Scroll-locked: 300vh scroll space, sticky panel
   ============================================ */
.work {
  padding: 0;
  position: relative;
}
.work-scroll-wrapper {
  height: 300vh;
  position: relative;
}
.work-sticky-content {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.work-sticky-content .section-inner {
  width: 100%;
  padding-top: 100px;
  padding-bottom: 40px;
}
.work-header {
  text-align: center;
  margin-bottom: 56px;
}
.work-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.work-eyebrow::before, .work-eyebrow::after {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
}
.work-title {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.work-title .italic { font-style: italic; color: var(--gold); }
.work-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--rule);
}
.work-tab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  padding: 18px 32px;
  color: rgba(244, 239, 230, 0.4);
  cursor: none;
  position: relative;
  transition: color 0.4s;
  background: none;
  border: none;
  font-weight: 400;
}
.work-tab:hover { color: var(--ivory); }
.work-tab.active { color: var(--gold); }
.work-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
}
.work-panels-container {
  position: relative;
  height: 52vh;
}
.work-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  height: 52vh;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(28px);
}
.work-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
/* Tab progress indicator */
.work-tab-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--gold);
  width: 0%;
  transition: width 0.8s var(--ease-out);
  transform-origin: left;
}
.work-tab.active .work-tab-progress { width: 100%; }
.work-panel-text {
  position: relative;
}
.work-tier-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 32px;
}
.work-tier-name {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.work-tier-name .italic { font-style: italic; color: var(--gold); }
.work-tier-tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--ivory);
  margin-bottom: 24px;
  line-height: 1.4;
  max-width: 480px;
}
.work-tier-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.65);
  max-width: 480px;
  margin-bottom: 36px;
}
.work-tier-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 32px;
}
.work-tier-spec {
  background: var(--ink-deep);
  padding: 20px 24px;
}
.work-tier-spec-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(244, 239, 230, 0.4);
  margin-bottom: 8px;
}
.work-tier-spec-value {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: -0.01em;
}
.work-tier-spec-value .italic {
  font-style: italic;
  color: var(--gold);
}
@media (max-width: 900px) {
  .work-scroll-wrapper { height: 350vh; }
  .work-sticky-content { height: auto; min-height: 100vh; padding: 20px 0; }
  .work-panels-container { height: auto; min-height: 60vh; }
  .work-panel { grid-template-columns: 1fr; gap: 32px; height: auto; min-height: 60vh; position: relative; top: auto; left: auto; right: auto; }
  .work-panel:not(.active) { display: none; }
  .work-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .work-tab { white-space: nowrap; padding: 16px 20px; font-size: 10px; }
}

/* ============================================
   SECTION 6 — THE PUNCH (closing)
   ============================================ */
.punch {
  padding-top: 200px;
  padding-bottom: 160px;
  text-align: center;
  position: relative;
}
.punch::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 1100px);
  height: 80%;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(5, 13, 31, 0.85) 0%,
    rgba(5, 13, 31, 0.5) 40%,
    rgba(5, 13, 31, 0) 75%
  );
  z-index: -1;
  pointer-events: none;
}
.punch-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 40px;
}
.punch-text {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: clamp(36px, 5vw, 80px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 1100px;
  margin: 0 auto 60px;
}
.punch-text .italic {
  font-style: italic;
  color: var(--gold);
}
.punch-fine {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(244, 239, 230, 0.4);
  margin-bottom: 60px;
  line-height: 1.8;
}
.punch-cta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  background: var(--gold);
  color: var(--ink-darker);
  padding: 26px 44px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}
.punch-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: var(--ivory);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s var(--ease-out), height 0.6s var(--ease-out);
  z-index: 0;
}
.punch-cta:hover::before { width: 500px; height: 500px; }
.punch-cta span { position: relative; z-index: 1; }
.punch-cta .arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease-out);
}
.punch-cta:hover .arrow { transform: translateX(8px); }
.punch-handle {
  margin-top: 28px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 17px;
  color: rgba(244, 239, 230, 0.5);
}
.punch-handle a:hover { color: var(--gold); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  border-top: 1px solid var(--rule);
  padding: 80px 48px 40px;
  position: relative;
  z-index: 5;
}
.footer-massive {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: clamp(80px, 18vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(180deg, var(--ivory) 0%, rgba(244, 239, 230, 0.15) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-massive .italic {
  font-style: italic;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}
.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--rule);
}
.footer-tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  color: rgba(244, 239, 230, 0.7);
  max-width: 360px;
  line-height: 1.5;
}
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: 14px; }
.footer-col a {
  color: rgba(244, 239, 230, 0.75);
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(244, 239, 230, 0.4);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .gold { color: var(--gold); }
.footer-fine {
  max-width: 1400px;
  margin: 24px auto 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(244, 239, 230, 0.25);
  text-align: center;
  line-height: 1.7;
}
@media (max-width: 768px) {
  footer { padding: 60px 24px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}
