:root {
  --bg: #1a1a1a;
  --text: #F5F5DC;
  --text-dark: #1a1a1a;

  --ink: #F5F5DC;
  --ink-2: #EAE0D5;
  --ink-3: #475569;
  --paper: #1a1a1a;
  --paper-2: #242424;
  --paper-3: #e2e8f0;
  --accent: #f97316;
  --accent-dim: rgba(249, 115, 22, 0.15);
  --teal: #40E0D0;
  --teal-light: #7FFFD4;
  --teal-dim: rgba(56, 189, 248, 0.12);
  --teal-glow: rgba(56, 189, 248, 0.35);
  --hot: #f97316;
  --acid: #38bdf8;
  --shadow-acid: 0 4px 20px rgba(56, 189, 248, 0.35);
  --shadow-hard: 8px 8px 0 rgba(242, 238, 227, 0.12);
  --bw: 1px;
  --dark-blue: #1a1a1a;
  --dark-blue-2: #0f172a;
  --dark-blue-card: #162238;
  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hero: 'Bebas Neue', 'Impact', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --pad: clamp(1.5rem, 5vw, 5rem);
  --section-gap: clamp(6rem, 12vh, 10rem);
  --radius: 24px;
  --radius-sm: 12px;
  --z-fx: 900;
  --z-cursor: 99999;
  --z-menu-btn: 1150;
  --z-menu: 1100;
  --section-bg: var(--paper);
  --section-text: var(--ink);
  --progress-glow: rgba(56, 189, 248, 0.8);
}

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

html {
  background: #1a1a1a;
  color: #F5F5DC;
  scroll-behavior: smooth;
  overflow-x: hidden
}

body {
  background: #1a1a1a;
  color: #F5F5DC;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  -webkit-font-smoothing: antialiased;
  position: relative
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer
}

.mono {
  font-family: var(--font-mono)
}

::selection {
  background: var(--teal);
  color: var(--text-dark)
}

::-webkit-scrollbar {
  width: 5px
}

::-webkit-scrollbar-track {
  background: var(--paper-2)
}

::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 3px
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px
}

body.has-cursor,
body.has-cursor * {
  cursor: none !important
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  display: none;
  flex-direction: column;
  overflow: hidden
}

.pt-bar {
  position: relative;
  width: 100%;
  height: 20.5%;
  border-bottom: 1px solid rgba(56, 189, 248, 0.3);
  will-change: transform;
}

.pt-bar--1 {
  background: linear-gradient(135deg, #050a12, #091122);
  z-index: 5
}

.nav__logo-text {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 2.5rem !important;
  letter-spacing: 2px !important;
  text-transform: uppercase;
}

.nav__logo {
  gap: 1rem !important;
}

.pt-bar--2 {
  background: linear-gradient(135deg, #07101f, #0f1c36);
  z-index: 4
}

.pt-bar--3 {
  background: linear-gradient(135deg, #0c1932, #015280);
  z-index: 3
}

.pt-bar--4 {
  background: linear-gradient(135deg, #0278b3, #0284c7);
  z-index: 2
}

.pt-bar--5 {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  z-index: 1
}

.page-transition.is-leaving {
  pointer-events: auto;
  display: flex
}

.page-transition.is-leaving .pt-bar {
  transform: translateY(0%) !important;
  transition-delay: calc(var(--i) * 0.045s) !important;
}

main {
  opacity: 0;
}

body.is-page-entering main {
  animation: mainEnter .55s cubic-bezier(.2, 0, .2, 1) forwards;
}

@keyframes mainEnter {
  0% {
    transform: translateY(16px);
    opacity: 0
  }

  100% {
    transform: translateY(0);
    opacity: 1
  }
}

.fx-scanlines {
  position: fixed;
  inset: 0;
  z-index: var(--z-fx);
  pointer-events: none;
  opacity: .06;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(42, 37, 32, .03) 3px 4px)
}

.fx-vignette {
  position: fixed;
  inset: 0;
  z-index: var(--z-fx);
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(42, 37, 32, .06) 100%)
}

body.has-cursor,
body.has-cursor a,
body.has-cursor button,
body.has-cursor [role="button"] {
  cursor: none !important;
}

body.has-cursor input,
body.has-cursor textarea,
body.has-cursor select {
  cursor: auto !important;
}

.cursor {
  display: none;
}

body.has-cursor .cursor {
  display: block;
}

.cursor__dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-cursor);
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--teal-light);
  pointer-events: none;
  border-radius: 50%;
  box-shadow: 0 0 10px var(--teal-light);
  will-change: transform;
}

.cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-cursor);
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1.5px solid var(--teal);
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.6;
  transition: width 0.3s cubic-bezier(.25, .46, .45, .94), height 0.3s cubic-bezier(.25, .46, .45, .94), margin 0.3s cubic-bezier(.25, .46, .45, .94), border-color 0.3s ease, background 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
  will-change: transform;
  display: none !important;
}

.cursor__ring.is-active {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-color: var(--teal-light);
  background: rgba(42, 122, 122, 0.12);
  opacity: 1;
}

.cursor__ring.is-down {
  transform: scale(0.82);
}

.nav__menu-btn {
  display: flex !important;
  align-items: center;
  gap: .6rem;
  pointer-events: auto !important;
  padding: .55rem 1.2rem;
  border-radius: 24px;
  background: rgba(8, 14, 26, .85) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(56, 189, 248, .35) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  opacity: 1 !important;
  transition: border-color .3s, box-shadow .3s, transform .25s;
  z-index: calc(var(--z-menu-btn)+10);
  cursor: pointer
}

.nav__menu-btn:hover {
  border-color: var(--teal-light) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .15), 0 6px 24px rgba(0, 0, 0, .5);
  transform: scale(1.04)
}

.nav__menu-btn span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: 1px;
  display: none
}

.nav__menu-btn:hover span {
  letter-spacing: .26em
}



.menu-overlay {
  --menu-link-fs: clamp(1.2rem, min(6vw, calc((100svh - 13rem) / 6)), 4.5rem);
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: #050a10;
  display: grid;
  grid-template-columns: clamp(60px, 8vw, 120px) 1fr;
  align-items: center;
  padding: 6rem var(--pad) 3rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s cubic-bezier(.76, 0, .24, 1);
  visibility: hidden;
  overflow: hidden;
}

.menu-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(56, 189, 248, .06) 0%, transparent 60%);
  pointer-events: none;
}

.menu-overlay.open {
  clip-path: inset(0 0 0% 0);
  visibility: visible
}

.menu-overlay__rail {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-end;
  padding-right: clamp(1rem, 2vw, 2rem);
  border-right: 1px solid rgba(56, 189, 248, .15);
  align-self: center;
}

.menu-overlay__rail-num {
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: rgba(56, 189, 248, .4);
  line-height: 1;
  height: calc(var(--menu-link-fs) * 1.02);
  display: flex;
  align-items: center;
  transition: color .3s;
}

.menu-overlay__links {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  padding-left: clamp(1.5rem, 4vw, 4rem);
  gap: 0;
  align-self: center;
}

.menu-overlay__link {
  font-family: var(--font-hero);
  font-size: var(--menu-link-fs);
  font-weight: 400;
  line-height: 1.02;
  color: rgba(248, 250, 252, .15);
  letter-spacing: .02em;
  display: block;
  text-transform: uppercase;
  transition: color .3s ease, letter-spacing .4s ease;
  position: relative;
  overflow: hidden;
}

.menu-overlay__link::before {
  content: none
}

.menu-overlay__link:hover {
  color: #f8fafc;
  letter-spacing: .06em;
  text-shadow: 0 0 60px rgba(56, 189, 248, .3);
}

.menu-overlay__link:hover~.menu-overlay__rail-num,
.menu-overlay__link:hover .menu-overlay__rail-num {
  color: var(--teal-light)
}

.menu-overlay__foot {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  color: rgba(248, 250, 252, .25);
}

.menu-overlay__foot a {
  transition: color .2s
}

.menu-overlay__foot a:hover {
  color: var(--teal-light)
}

.menu-overlay::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--teal), transparent);
  opacity: .4;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  height: 100vh;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.pin-spacer {
  z-index: auto !important;
}

.pin-spacer>* {
  z-index: auto !important;
}

.bg3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: sticky;
  top: 0;
  z-index: 3;
  text-align: center;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  pointer-events: none;
}

.hero-big-text {
  font-family: var(--font-hero);
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: normal;
  margin: 0;
  user-select: none;
  position: relative;
  color: var(--text);
  transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 0 80px rgba(56, 189, 248, 0.06);
}

.hero-media-text {
  font-family: var(--font-hero);
  font-size: clamp(5.5rem, 17vw, 18rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: var(--teal-light);
  margin: 0;
  position: absolute;
  opacity: 0;
  filter: blur(20px);
  transform: scale(0.95);
  text-shadow: 0 0 60px rgba(56, 189, 248, 0.3);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  width: 100%;
  height: 100%;
  background: var(--bg);
}

.hero-grid-cell {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.02);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: background 1.8s ease, color 1.8s ease;
}

.hero-grid-cell.lit {
  background: rgba(56, 189, 248, 0.15);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.12s ease, color 0.12s ease;
}

.highlight {
  position: relative;
  display: inline;
  color: var(--teal-light);
  font-weight: 700;
  overflow: hidden;
}

.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.15), rgba(56, 189, 248, 0.08));
  border-radius: 3px;
  z-index: -1;
  animation: hlSweep 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-play-state: paused;
}

.highlight::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--teal-light);
  box-shadow: 0 0 12px var(--teal-light), 0 0 30px rgba(56, 189, 248, 0.3);
  z-index: 2;
  animation: hlScan 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-play-state: paused;
}

.highlight.revealed::after,
.highlight.revealed::before {
  animation-play-state: running;
}

.watermark {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-hero);
  font-size: 8rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0.03;
  pointer-events: none;
  z-index: 1000;
  user-select: none;
}

@keyframes hlSweep {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

@keyframes hlScan {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }

  80% {
    transform: scaleX(1);
    transform-origin: left;
  }

  100% {
    transform: scaleX(0);
    transform-origin: right;
    opacity: 0;
  }
}

.radius-hover,
.hero__char,
.char-reveal,
.work__client,
.service-name,
.menu-overlay__link,
.section__heading,
.statement__heading,
.page-hero__title,
.contact-hero__title {
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.in-cursor-radius {
  color: var(--teal-light) !important;
  text-shadow: 0 0 20px rgba(110, 198, 198, 0.9), 0 0 35px rgba(196, 101, 42, 0.5) !important;
}

.section {
  position: relative;
  padding: var(--section-gap) var(--pad);
  text-align: center;
  overflow: hidden;
  background: var(--section-bg);
  color: var(--section-text)
}

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--teal);
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase
}

.section__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: clamp(1.5rem, 3vh, 3rem);
  text-align: center
}

.anim-clip {
  clip-path: inset(100% 0 0 0)
}

.anim-scale {
  transform: scale(.85);
  opacity: 0
}

.anim-slide-left {
  transform: translateX(-60px);
  opacity: 0
}

.anim-slide-right {
  transform: translateX(60px);
  opacity: 0
}

.anim-slide-up {
  transform: translateY(40px);
  opacity: 0
}

.anim-rotate {
  transform: rotate(-8deg) scale(.9);
  opacity: 0
}

.anim-blur {
  filter: blur(12px);
  opacity: 0
}

.accent-line {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--teal);
  margin: 1.5rem auto 0;
  transform-origin: left center
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(-8px)
  }
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 var(--teal-glow)
  }

  50% {
    opacity: .5;
    box-shadow: 0 0 12px 4px var(--teal-glow)
  }
}

.page-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--pad);
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--accent), var(--teal-light))
}

.page-hero__title {
  font-family: var(--font-hero);
  font-size: clamp(3rem, 12vw, 12rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: .02em;
  color: var(--text);
  text-shadow: 0 2px 30px rgba(42, 122, 122, .12);
  -webkit-text-stroke: 1px rgba(245, 239, 230, .25)
}

.statement {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-left: var(--pad);
  padding-right: var(--pad)
}

.statement__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 2rem;
  text-align: center
}

.statement__text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.7;
  color: var(--text);
  text-align: left;
  max-width: 72ch;
  margin: 0 auto
}

.studio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center
}

.statement {
  max-width: 1080px;
  margin: 0 auto
}

.about-cinematic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media(min-width: 768px) {
  .about-cinematic-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-cinematic-mask {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  clip-path: circle(5% at 50% 50%);
  transition: clip-path 1.5s cubic-bezier(0.85, 0, 0.15, 1);
  position: relative;
  background: #111;
}

.about-cinematic-mask.is-revealed {
  clip-path: circle(150% at 50% 50%);
}

.about-cinematic-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.3);
  transition: transform 1.5s cubic-bezier(0.85, 0, 0.15, 1), filter 1.5s ease;
  filter: grayscale(100%);
  opacity: 0.8;
}

.about-cinematic-mask.is-revealed img {
  transform: scale(1);
  filter: grayscale(0%);
}

.about-cinematic-mask::after {
  content: 'Photo Placeholder';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  pointer-events: none;
}

.statement__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2rem;
  text-transform: uppercase
}

.studio__services {
  list-style: none;
  text-align: left
}

.studio__services li {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  padding: .8rem 0;
  border-bottom: 1px solid var(--teal-dim);
  transition: padding-left .25s, color .2s
}

.studio__services li:hover {
  padding-left: .8rem;
  color: var(--teal)
}

.studio__services li:first-child {
  border-top: 1px solid var(--teal-dim)
}

.team__group {
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
  text-align: center
}

.team__role {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--teal);
  margin-bottom: .8rem;
  text-align: center
}

.team__names {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center
}

.capabilities {
  padding: var(--section-gap) var(--pad);
  max-width: 1080px;
  margin: 0 auto
}

.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vh, 4rem)
}

.capability {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vh, 2.2rem);
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  transition: border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden
}

.capability::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--teal);
  transition: height .4s cubic-bezier(.4, 0, .2, 1)
}

.capability:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 35px -10px rgba(42, 122, 122, .15)
}

.capability:hover::before {
  height: 100%
}

.capability__icon {
  font-size: 1.5rem;
  margin-bottom: .8rem;
  display: block;
  transition: transform .3s
}

.capability:hover .capability__icon {
  transform: scale(1.1)
}

.capability__name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text)
}

.capability__tools {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--paper-3);
  line-height: 1.6
}

.exp-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .6rem 1.2rem;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  border-radius: 30px;
  margin-top: 1.5rem;
  transition: background .3s, color .3s, box-shadow .3s
}

.exp-badge:hover {
  background: var(--teal);
  color: var(--text-dark);
  box-shadow: 0 6px 20px rgba(42, 122, 122, 0.3)
}

.toolkit {
  padding: var(--section-gap) var(--pad);
  max-width: 1080px;
  margin: 0 auto;
  text-align: center
}

.toolkit__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: clamp(2rem, 4vh, 4rem)
}

.toolkit__card {
  border: 1px solid rgba(42, 122, 122, 0.12);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 2vh, 1.8rem) clamp(1rem, 1.5vw, 1.2rem);
  text-align: center;
  transition: border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px)
}

.toolkit__card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1)
}

.toolkit__card:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 30px -5px rgba(42, 122, 122, .15)
}

.toolkit__card:hover::before {
  transform: scaleX(1)
}

.toolkit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--teal-dim);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .8rem;
  transition: background .3s, color .3s
}

.toolkit__card:hover .toolkit__icon {
  background: var(--teal);
  color: var(--text-dark)
}

.toolkit__name {
  font-family: var(--font-display);
  font-size: clamp(.85rem, 1.5vw, 1.05rem);
  font-weight: 700;
  margin-bottom: .3rem;
  transition: color .3s
}

.toolkit__card:hover .toolkit__name {
  color: var(--teal)
}

.toolkit__role {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3)
}

.work {
  background: var(--bg);
  color: var(--text)
}

.work .section__heading {
  color: #f8fafc
}

.work__grid {
  display: flex;
  flex-direction: column;
  max-width: 960px;
  margin: 0 auto
}

.work__item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(2rem, 4vh, 3.5rem) clamp(3rem, 6vw, 5rem) clamp(2rem, 4vh, 3.5rem) 0;
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  text-align: left;
  transition: border-color .3s ease
}

.work__item:hover {
  border-color: var(--teal-light)
}

.work__item:last-child {
  border-bottom: 1px solid rgba(56, 189, 248, 0.2)
}

.work__num {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal-light);
  padding-top: .3rem;
  transition: color .3s
}

.work__item:hover .work__num {
  color: var(--accent)
}

.work__client {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: #f8fafc;
  transition: color .3s, text-shadow .3s
}

.work__item:hover .work__client {
  color: var(--teal-light);
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4)
}

.work__desc {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  color: #cbd5e1;
  margin-top: .5rem;
  line-height: 1.6
}

.work__tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .8rem
}

.work__tag {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--teal-light);
  border-radius: 20px;
  transition: background .2s, color .2s
}

.work__tag:hover {
  background: var(--teal-light);
  color: var(--text)
}

.reel {
  max-width: 960px;
  margin: 0 auto clamp(3rem, 6vh, 5rem);
  text-align: center
}

.reel__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1.2rem
}

.reel__desc {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--ink-2);
  margin-bottom: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7
}

.reel__wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 2px solid rgba(42, 122, 122, 0.2);
  border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s
}

.reel__wrap:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 45px rgba(42, 122, 122, .15)
}

.reel__wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto
}

.services-grid__card {
  border: 1px solid rgba(42, 122, 122, 0.12);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vh, 2.5rem);
  text-align: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px)
}

.services-grid__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
  pointer-events: none;
}

.services-grid__card>* {
  position: relative;
  z-index: 1;
}

.services-grid__card:hover {
  border-color: var(--teal);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(56, 189, 248, 0.15);
  transform: translateY(-15px) scale(1.02)
}

.services-grid__card:hover::before {
  opacity: 1;
}

.services-grid__icon {
  font-size: 1.6rem;
  margin-bottom: .8rem;
  display: block
}

.services-grid__name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  margin-bottom: .5rem;
  transition: color .3s
}

.services-grid__card:hover .services-grid__name {
  color: var(--teal)
}

.services-grid__desc {
  font-family: var(--font-mono);
  font-size: .76rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: .8rem
}

.services-grid__tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap
}

.testimonials {
  background: var(--bg);
  color: var(--text);
  padding: var(--section-gap) var(--pad)
}

.testimonials .section__eyebrow {
  color: var(--teal-light)
}

.testimonials .section__heading {
  color: var(--text)
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto
}

.testimonials__card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vh, 2.5rem);
  position: relative;
  transition: border-color .3s, box-shadow .3s;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px)
}

.testimonials__card:hover {
  border-color: var(--teal-light);
  box-shadow: 0 12px 35px -10px rgba(68, 175, 175, .2)
}

.testimonials__card::before {
  content: '\201C';
  position: absolute;
  top: .8rem;
  left: 1.2rem;
  font-family: var(--font-hero);
  font-size: 3.5rem;
  color: var(--teal);
  opacity: .3;
  line-height: 1
}

.testimonials__quote {
  font-family: var(--font-display);
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--paper-2);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1
}

.testimonials__author {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem
}

.testimonials__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text)
}

.testimonials__role {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-top: .25rem
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  padding: clamp(1.2rem, 2.5vh, 2rem) 0;
  border-top: 1px solid var(--teal-dim);
  border-bottom: 1px solid var(--teal-dim);
  background: linear-gradient(135deg, var(--paper-2), var(--paper))
}

.marquee__track {
  display: inline-flex;
  will-change: transform
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  opacity: .1;
  padding-right: 2rem;
  transition: color .3s, opacity .3s
}

.marquee__track span:hover {
  color: var(--teal);
  opacity: 1
}

.marquee__track span.mark {
  opacity: .25;
  font-size: .6em;
  vertical-align: middle;
  color: var(--teal)
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center
}

.cta__heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.03em;
  text-align: center
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .9rem 1.8rem;
  border: 1px solid var(--teal);
  color: var(--teal);
  transition: background .25s ease, color .25s ease, box-shadow .3s
}

.cta__btn:hover {
  background: var(--teal);
  color: var(--text-dark);
  box-shadow: 0 0 20px rgba(42, 122, 122, .35)
}

.cta__btn:active {
  transform: scale(.97)
}

.footer {
  padding: clamp(4rem, 8vh, 6rem) var(--pad);
  border-top: 1px solid var(--teal-dim);
  background: var(--paper-2)
}

.footer__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap
}

.footer__links {
  display: flex;
  gap: 1.5rem
}

.footer__links a {
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--ink-2);
  transition: color .2s ease
}

.footer__links a:hover {
  color: var(--teal)
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--ink-3);
  opacity: .5;
  width: 100%;
  text-align: center;
  margin-top: 2.5rem
}

.footer__logo {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 1.2rem;
  object-fit: contain;
  opacity: .2;
  filter: invert(1);
  transition: opacity .3s
}

.footer__logo:hover {
  opacity: .7
}

body.page-sub .footer {
  background: transparent;
  border-top-color: rgba(255, 255, 255, 0.05);
}

body.page-sub .footer__links a {
  color: var(--paper-3);
}

body.page-sub .footer__links a:hover {
  color: var(--teal-light);
}

body.page-sub .footer__copy {
  color: var(--paper-3);
  opacity: 0.4;
}

body.page-sub .footer__logo {
  filter: invert(0);
  opacity: 0.3;
}

body.page-sub .footer__logo:hover {
  opacity: 0.8;
}

/* Footer -- light modifier (About page) */
.footer.footer--light {
  background: #fff !important;
  border-top-color: rgba(0, 0, 0, 0.08);
}

.footer.footer--light .footer__massive,
.footer.footer--light .footer__nav-col span,
.footer.footer--light .footer__nav-col a,
.footer.footer--light .footer__copy,
.footer.footer--light .footer__bottom {
  color: #111 !important;
  opacity: 1;
}

.footer.footer--light .footer__nav-col a {
  opacity: 0.6;
}

.footer.footer--light .footer__nav-col a:hover {
  opacity: 1;
  color: #000 !important;
}

.footer.footer--light .footer__logo {
  filter: none;
  opacity: 0.5;
}

.footer.footer--light .footer__logo:hover {
  opacity: 1;
}

/* Floating back-to-top button */
.floating-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(8, 14, 26, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--teal-light);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}

.floating-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-back-to-top:hover {
  background: var(--teal);
  border-color: var(--teal-light);
  color: #0e0e0f;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4), 0 6px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.floating-back-to-top:active {
  transform: scale(0.92);
}

.services-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--pad);
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden
}

.services-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--accent), var(--teal-light))
}

.services-hero .section__eyebrow,
.services-hero .section__heading {
  color: var(--text)
}

.services-hero .section__heading {
  font-family: var(--font-hero);
  font-size: clamp(3rem, 12vw, 12rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: .02em;
  -webkit-text-stroke: 2px var(--paper)
}

.services-list {
  padding: 0 var(--pad) var(--section-gap);
  max-width: 1000px;
  margin: 0 auto
}

.services-tabs {
  padding: 0 var(--pad) var(--section-gap);
  max-width: 1000px;
  margin: 0 auto
}

.services-tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--teal-dim);
  margin-bottom: clamp(1.5rem, 3vh, 3rem)
}

.services-tabs__btn {
  flex: 1;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 1rem;
  color: var(--paper-3);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .3s, border-color .3s
}

.services-tabs__btn:hover {
  color: var(--teal)
}

.services-tabs__btn.active {
  color: var(--teal);
  border-bottom-color: var(--teal)
}

.services-tabs__panel {
  display: none
}

.services-tabs__panel.active {
  display: block
}

.service-item {
  border-top: 1px solid var(--teal-dim);
  padding: clamp(1.5rem, 3vh, 3rem) 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(1.2rem, 3.5vw, 3.5rem);
  text-align: left;
  transition: border-color .3s;
  position: relative
}

.service-item:hover {
  border-color: var(--teal)
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--teal);
  transition: height .4s cubic-bezier(.4, 0, .2, 1)
}

.service-item:hover::before {
  height: 100%
}

.service-item:last-child {
  border-bottom: 1px solid var(--teal-dim)
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  transition: color .3s
}

.service-item:hover .service-name {
  color: var(--teal)
}

.service-detail {
  font-family: var(--font-mono);
  font-size: .78rem;
  line-height: 1.7;
  color: var(--paper-2)
}

.service-tags {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: .6rem
}

.service-tag {
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .4rem;
  background: var(--teal-dim);
  color: var(--teal);
  border-radius: 1px;
  transition: background .2s, color .2s
}

.service-tag:hover {
  background: var(--teal);
  color: var(--text-dark)
}

.pricing {
  padding: var(--section-gap) var(--pad);
  max-width: 1100px;
  margin: 0 auto
}

.pricing__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vh, 3rem)
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem
}

.pricing__card {
  border: 1px solid var(--teal-dim);
  padding: clamp(1.2rem, 2.5vh, 2rem);
  text-align: left;
  transition: border-color .3s, box-shadow .3s;
  position: relative
}

.pricing__card:hover {
  border-color: var(--teal);
  box-shadow: 0 0 30px rgba(42, 122, 122, .15)
}

.pricing__card.popular {
  border-color: var(--teal);
  background: var(--teal-dim)
}

.pricing__card.popular::before {
  content: 'Popular';
  position: absolute;
  top: .8rem;
  right: .8rem;
  font-family: var(--font-mono);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .2rem .5rem;
  background: var(--teal);
  color: var(--text-dark)
}

.pricing__tier {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .4rem
}

.pricing__price {
  font-family: var(--font-hero);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  line-height: 1;
  margin-bottom: 1.2rem
}

.pricing__features {
  list-style: none
}

.pricing__features li {
  font-family: var(--font-mono);
  font-size: .72rem;
  line-height: 2;
  color: var(--paper-2);
  padding-left: 1.1rem;
  position: relative
}

.pricing__features li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700
}

.pricing__btn {
  margin-top: 1.2rem;
  display: inline-flex
}

.process {
  padding: var(--section-gap) var(--pad);
  max-width: 900px;
  margin: 0 auto
}

.process__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vh, 3rem)
}

.process__step {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: clamp(.8rem, 2.5vw, 1.8rem);
  align-items: start;
  padding: clamp(1.2rem, 2.5vh, 2rem) 0;
  border-top: 1px solid var(--teal-dim)
}

.process__step:last-child {
  border-bottom: 1px solid var(--teal-dim)
}

.process__num {
  font-family: var(--font-hero);
  font-size: 1.8rem;
  color: var(--teal);
  line-height: 1
}

.process__name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  margin-bottom: .4rem
}

.process__desc {
  font-family: var(--font-mono);
  font-size: .72rem;
  line-height: 1.7;
  color: var(--ink-2)
}

.page-cta {
  padding: var(--section-gap) var(--pad);
  text-align: center
}

.page-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2rem;
  text-align: center
}

.page-cta .cta__btn {
  margin: 0 auto
}

.contact-hero {
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 var(--pad);
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden
}

.contact-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--accent), var(--teal-light))
}

.contact-hero__title {
  font-family: var(--font-hero);
  font-size: clamp(3.5rem, 14vw, 14rem);
  font-weight: 400;
  line-height: .85;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text);
  text-shadow: 0 2px 30px rgba(42, 122, 122, .12);
  -webkit-text-stroke: 1px rgba(245, 239, 230, .25)
}

.contact-hero__sub {
  font-family: var(--font-mono);
  font-size: clamp(.65rem, 1.3vw, .88rem);
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--teal-light);
  margin-top: 2rem;
  text-align: center
}

.contact-hero__status {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-top: .8rem;
  display: flex;
  align-items: center;
  gap: .5rem
}

.contact-hero__status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-light);
  animation: pulse-dot 2s ease-in-out infinite
}

.contact-links {
  padding: 0 var(--pad) var(--section-gap);
  max-width: 800px;
  margin: 0 auto
}

.contact-links__item {
  border-top: 1px solid var(--teal-dim);
  padding: clamp(1.5rem, 3vh, 3rem) 0;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: clamp(.8rem, 2.5vw, 2rem);
  align-items: baseline;
  text-align: left;
  transition: border-color .3s
}

.contact-links__item:hover {
  border-color: var(--teal)
}

.contact-links__item:last-child {
  border-bottom: 1px solid var(--teal-dim)
}

.contact-links__label {
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--teal)
}

.contact-links__value {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-weight: 700
}

.contact-links__value a {
  border-bottom: 1px solid rgba(42, 122, 122, .3);
  transition: border-color .2s, color .2s
}

.contact-links__value a:hover {
  border-color: var(--teal);
  color: var(--teal)
}

.contact-links__arrow {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--ink-3);
  transition: color .25s
}

.contact-links__item:hover .contact-links__arrow {
  color: var(--teal)
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--pad) var(--section-gap)
}

.contact-form__field {
  margin-bottom: 1.2rem
}

.contact-form__label {
  display: block;
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .4rem;
  transition: color .3s
}

.contact-form__field:focus-within .contact-form__label {
  color: var(--accent)
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  font-family: var(--font-mono);
  font-size: .82rem;
  padding: .7rem .9rem;
  background: transparent;
  border: 1px solid var(--teal-dim);
  color: var(--text);
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  border-radius: 0
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-dim)
}

.contact-form__textarea {
  min-height: 120px;
  resize: vertical
}

.contact-form__submit {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .9rem 2.2rem;
  background: var(--teal);
  color: var(--text-dark);
  border: 1px solid var(--teal);
  cursor: pointer;
  transition: background .25s, color .25s, box-shadow .3s
}

.contact-form__submit:hover {
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 0 20px rgba(42, 37, 32, .2)
}

body.page-sub main {
  max-width: 100%;
  margin: 0 auto;
  padding: 0
}

body.page-sub .section {
  padding-left: var(--pad);
  padding-right: var(--pad)
}

body.page-sub .services-list,
body.page-sub .pricing,
body.page-sub .process,
body.page-sub .contact-links,
body.page-sub .contact-form,
body.page-sub .capabilities,
body.page-sub .toolkit {
  max-width: 100%;
  padding-left: var(--pad);
  padding-right: var(--pad)
}

.hero__letterbox {
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(18px, 3vh, 35px);
  background: var(--bg);
  z-index: 5;
  pointer-events: none
}

.hero__letterbox--top {
  top: 0
}

.hero__letterbox--bottom {
  bottom: 0
}

.timecode {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: calc(var(--z-fx)+1);
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--teal-light);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: .6rem;
  transform: translateY(160%);
  transition: transform .5s cubic-bezier(.4, 0, .2, 1), opacity .5s ease
}

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

.timecode__label {
  color: var(--ink-3);
  font-size: .5rem;
  letter-spacing: .15em
}

.filmstrip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
  height: 40px;
  background: var(--bg);
  position: relative
}

.filmstrip__track {
  display: flex;
  gap: 0;
  animation: filmScroll 20s linear infinite
}

.filmstrip__hole {
  width: 18px;
  height: 12px;
  border: 1px solid rgba(110, 198, 198, .15);
  border-radius: 2px;
  margin: 0 8px;
  flex-shrink: 0
}

@keyframes filmScroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

.work__play {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--teal-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .3s, background .3s, transform .3s;
  opacity: 0
}

.work__item:hover .work__play {
  opacity: 1
}

.work__play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--teal);
  margin-left: 2px;
  transition: border-color .3s
}

.work__play:hover {
  border-color: var(--teal);
  background: var(--teal);
  transform: translateY(-50%) scale(1.1)
}

.work__play:hover::after {
  border-color: transparent transparent transparent var(--paper)
}

.work__item {
  position: relative
}

.clap-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2vh, 2rem) var(--pad);
  gap: 1rem
}

.clap-divider__bar {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-dim), transparent)
}

.clap-divider__icon {
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--teal);
  opacity: .5;
  white-space: nowrap
}

.reel__wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(42, 37, 32, .15) 0%, transparent 15%, transparent 85%, rgba(42, 37, 32, .15) 100%);
  pointer-events: none
}

.hero__rec {
  position: absolute;
  top: clamp(40px, 5vh, 65px);
  right: var(--pad);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  opacity: .7
}

.hero__rec::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.5s ease-in-out infinite
}

.hero__fps {
  position: absolute;
  top: clamp(40px, 5vh, 65px);
  left: var(--pad);
  z-index: 6;
  font-family: var(--font-mono);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal-light);
  opacity: .5
}

.fx-grain {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-fx)-1);
  pointer-events: none;
  opacity: .04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grainShift .8s steps(4) infinite
}

@keyframes grainShift {
  0% {
    transform: translate(0, 0)
  }

  25% {
    transform: translate(-2px, 1px)
  }

  50% {
    transform: translate(1px, -1px)
  }

  75% {
    transform: translate(-1px, 2px)
  }

  100% {
    transform: translate(0, 0)
  }
}

.section__marker {
  font-family: var(--font-mono);
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--teal);
  opacity: .3;
  text-align: center;
  margin-bottom: .5rem
}

.waveform {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 2px;
  height: 20px;
  padding: 1rem 0
}

.waveform__bar {
  width: 2px;
  background: var(--teal);
  opacity: .2;
  border-radius: 1px;
  animation: waveformPulse 1.2s ease-in-out infinite
}

.waveform__bar:nth-child(2n) {
  animation-delay: .2s
}

.waveform__bar:nth-child(3n) {
  animation-delay: .4s
}

.waveform__bar:nth-child(5n) {
  animation-delay: .6s
}

@keyframes waveformPulse {

  0%,
  100% {
    height: 4px
  }

  50% {
    height: 16px
  }
}

.hero__typewriter {
  font-family: var(--font-mono);
  font-size: clamp(.55rem, 1vw, .72rem);
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--teal);
  margin-bottom: .6rem;
  text-transform: uppercase;
  min-height: 1.2em;
  text-align: center
}

.hero__typewriter .tw-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--teal);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink .8s step-end infinite
}

.tw-type {
  opacity: 0;
  transform: translateY(20px)
}

.tw-type.tw-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease
}

.tw-type::after {
  display: none
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

.text-highlight {
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 1px;
  transition: color .3s, border-color .3s, background .3s
}

.text-highlight:hover {
  color: var(--text-dark);
  background: var(--teal);
  border-color: var(--teal);
  padding: 0 4px 2px
}

.tech-chars {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden
}

.tech-char {
  position: absolute;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--teal);
  opacity: 0;
  animation: floatChar 8s linear infinite;
  will-change: transform, opacity
}

@keyframes floatChar {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0
  }

  10% {
    opacity: .12
  }

  90% {
    opacity: .12
  }

  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0
  }
}

.live-clock {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: calc(var(--z-fx)+1);
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--teal-light);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: .6rem;
  transform: translateY(160%);
  transition: transform .5s cubic-bezier(.4, 0, .2, 1), opacity .5s ease
}

.live-clock::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s ease-in-out infinite
}

body.is-scrolled .timecode,
body.is-scrolled .live-clock {
  transform: translateY(0%);
  opacity: .6
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: calc(var(--z-menu) + 2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem var(--pad);
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none
}

.nav--scrolled {
  background: rgba(8, 14, 26, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15)
}

body.menu-open .nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 1001
}

.nav__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain
}

.nav__logo-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #f8fafc
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: calc(var(--z-fx)+1);
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--accent), var(--teal-light));
  transform-origin: 0 0;
  transform: scaleX(0);
  transition: box-shadow .3s
}

.scroll-progress::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -1px;
  width: 12px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-light);
  box-shadow: 0 0 14px 4px var(--progress-glow), 0 0 30px 8px rgba(110, 198, 198, .2);
  opacity: 0;
  transition: opacity .2s
}

.scroll-progress.has-glow::after {
  opacity: 1
}

.section--reveal {
  clip-path: none;
  opacity: 1
}

[data-speed] {
  will-change: transform
}

.work--horizontal {
  position: relative;
  background: var(--bg);
  color: var(--text);
}

.work--horizontal .work__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.work--horizontal .section__eyebrow {
  color: var(--teal-light);
  padding: 0 var(--pad);
}

.work--horizontal .section__heading {
  color: #f8fafc !important;
  text-shadow: 0 4px 30px rgba(56, 189, 248, 0.25);
  padding: 0 var(--pad);
}

.work--horizontal .work__grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: none;
  width: max-content;
  padding: 0 var(--pad);
}

.work--horizontal .work__item {
  min-width: clamp(320px, 42vw, 520px);
  flex-shrink: 0;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius);
  background: var(--dark-blue-card);
  padding: clamp(1.8rem, 3.5vh, 3rem) clamp(1.5rem, 2.5vw, 2.5rem);
  grid-template-columns: 1fr;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, border-color 0.3s, box-shadow 0.3s;
}

.work--horizontal .work__item:hover {
  border-color: var(--teal-light);
  box-shadow: 0 15px 45px rgba(56, 189, 248, 0.3);
  transform: translateY(-6px);
}

.work--horizontal .work__num {
  padding-top: 0;
  color: var(--teal-light);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.work--horizontal .work__client {
  color: #f8fafc !important;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.work--horizontal .work__item:hover .work__client {
  color: var(--teal-light) !important;
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.7);
}

.work--horizontal .work__desc {
  color: #cbd5e1 !important;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 0.6rem;
  opacity: 0.95;
}

.work--horizontal .work__play {
  position: relative;
  top: auto;
  right: auto;
  transform: none;
  opacity: 1;
  margin-top: 1rem;
  border-color: rgba(56, 189, 248, 0.35);
}

.work--horizontal .work__play::after {
  border-color: transparent transparent transparent var(--teal-light);
}

.marquee__track {
  transition: none
}

.marquee.is-fast .marquee__track span {
  opacity: .2
}

.section {
  transition: background-color .6s ease, color .6s ease
}

.clap-divider {
  overflow: hidden
}

.clap-divider__bar {
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .8s cubic-bezier(.4, 0, .2, 1)
}

.clap-divider__icon {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease .3s, transform .5s ease .3s
}

.clap-divider.is-visible .clap-divider__bar {
  transform: scaleX(1)
}

.clap-divider.is-visible .clap-divider__icon {
  opacity: .5;
  transform: translateY(0)
}

.footer {
  clip-path: inset(100% 0 0 0);
  transition: clip-path .8s cubic-bezier(.4, 0, .2, 1)
}

.footer.is-visible {
  clip-path: inset(0 0 0 0)
}

.char-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(-60deg);
  transform-origin: bottom center;
  transition: none;
  will-change: transform, opacity
}

.char-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) rotateX(0deg)
}

.section__eyebrow {
  position: relative
}

.section__eyebrow::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1.5px;
  background: var(--teal);
  margin-right: .5rem;
  vertical-align: middle;
  transition: width .6s cubic-bezier(.4, 0, .2, 1)
}

.section__eyebrow.is-visible::before {
  width: 20px
}

.work__item {
  transform: translateX(0);
  transition: transform .5s cubic-bezier(.4, 0, .2, 1), border-color .3s ease, opacity .6s ease
}

.cascade-child {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.4, 0, .2, 1)
}

.cascade-child.is-visible {
  opacity: 1;
  transform: translateY(0)
}

.section[data-section-color="dark"] {
  background: var(--bg);
  color: var(--text)
}

.section[data-section-color="dark"] .section__eyebrow {
  color: var(--teal-light)
}

.section[data-section-color="dark"] .section__heading {
  color: var(--text)
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .5;
    transform: translateX(-50%) translateY(0)
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(-6px)
  }
}

.scroll-progress__marker {
  position: fixed;
  top: 3px;
  z-index: calc(var(--z-fx)+2);
  width: 2px;
  height: 8px;
  background: var(--teal-light);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none
}

@media(max-width:768px) {
  .exp__grid {
    grid-template-columns: 1fr;
    gap: 2rem
  }

  .exp__rail {
    display: none
  }

  .studio {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .work__item {
    grid-template-columns: 40px 1fr;
    gap: .8rem
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: .8rem
  }

  .pricing__grid {
    grid-template-columns: 1fr
  }

  .toolkit__grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr))
  }

  .services-grid {
    grid-template-columns: 1fr
  }

  .testimonials__grid {
    grid-template-columns: 1fr
  }

  .hero__line--big {
    font-size: clamp(3rem, 18vw, 12rem)
  }

  .page-hero__title {
    font-size: clamp(2.5rem, 10vw, 6rem)
  }

  .contact-hero__title {
    font-size: clamp(2.5rem, 12vw, 8rem)
  }

  .cta__heading {
    font-size: clamp(2rem, 8vw, 5rem)
  }

  .section__heading {
    font-size: clamp(1.6rem, 5vw, 3rem)
  }

  .statement__heading {
    font-size: clamp(1.4rem, 4vw, 2.5rem)
  }

  .nav__logo-text {
    display: none
  }

  .work--horizontal .work__grid {
    flex-direction: column;
    width: auto;
    gap: 0
  }

  .work--horizontal .work__item {
    min-width: 100%;
    border-left: none;
    border-top: 1px solid var(--teal-dim);
    padding: clamp(1rem, 2vh, 2rem) 0
  }

  .work--horizontal .work__item:last-child {
    border-bottom: 1px solid var(--teal-dim);
    border-right: none
  }
}

@media(max-width:560px) {
  :root {
    --pad: 1rem;
    --section-gap: clamp(3rem, 8vh, 5rem)
  }

  .hero__line--big {
    font-size: clamp(3rem, 20vw, 6rem);
    gap: 0
  }

  .hero__line--top {
    font-size: clamp(1.2rem, 5vw, 2.5rem)
  }

  .hero__pre {
    font-size: .5rem;
    letter-spacing: .15em
  }

  .hero__tagline {
    font-size: .55rem
  }

  .page-hero {
    min-height: 40vh
  }

  .page-hero__title {
    font-size: clamp(2rem, 12vw, 4rem)
  }

  .contact-hero {
    height: auto;
    min-height: 80svh;
    padding: var(--pad)
  }

  .contact-hero__title {
    font-size: clamp(2rem, 14vw, 5rem)
  }

  .contact-hero__sub {
    font-size: .6rem
  }

  .section__heading {
    font-size: clamp(1.3rem, 6vw, 2rem)
  }

  .section__eyebrow {
    font-size: .55rem
  }

  .statement__heading {
    font-size: clamp(1.2rem, 5vw, 2rem)
  }

  .statement__text {
    font-size: .95rem;
    text-align: left
  }

  .studio__statement {
    font-size: .9rem
  }

  .work__item {
    grid-template-columns: 1fr;
    gap: .3rem
  }

  .work__num {
    padding-top: 0;
    font-size: .6rem
  }

  .work__client {
    font-size: clamp(1rem, 4vw, 1.5rem)
  }

  .footer__row {
    flex-direction: column;
    align-items: center;
    text-align: center
  }

  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: .8rem
  }

  .contact-links__item {
    grid-template-columns: 1fr;
    gap: .4rem
  }

  .contact-links__value {
    font-size: clamp(.9rem, 4vw, 1.3rem)
  }

  .process__step {
    grid-template-columns: 1fr;
    gap: .4rem
  }

  .cta__heading {
    font-size: clamp(1.8rem, 10vw, 3.5rem)
  }

  .cta__btn {
    padding: .7rem 1.4rem;
    font-size: .65rem
  }

  .pricing__card {
    padding: 1rem
  }

  .pricing__price {
    font-size: 1.5rem
  }

  .capabilities__grid {
    grid-template-columns: 1fr 1fr
  }

  .capability {
    padding: .8rem
  }

  .capability__name {
    font-size: .8rem
  }

  .capability__tools {
    font-size: .6rem
  }

  .service-item {
    padding: 1rem 0
  }

  .service-name {
    font-size: clamp(1rem, 4vw, 1.4rem)
  }

  .service-detail {
    font-size: .7rem
  }

  .service-tags {
    gap: .3rem
  }

  .service-tag {
    font-size: .5rem;
    padding: .15rem .35rem
  }

  .reel__wrap {
    border-width: 1px
  }

  .footer__copy {
    font-size: .5rem
  }

  .marquee__track span {
    font-size: clamp(1rem, 5vw, 2rem)
  }

  .ticker--stack {
    background: var(--bg);
    color: var(--text);
    border-top: var(--bw) solid var(--ink);
    border-bottom: var(--bw) solid var(--ink);
    padding: 0.9rem 0;
  }

  .stack-item {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    margin-right: 2.6rem;
  }

  .stack-item img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.6);
    transition: filter 0.2s;
  }

  .stack-item:hover img {
    filter: none;
  }

  .stack-item .x {
    color: var(--hot);
  }

  .exp {
    background: var(--bg);
    color: var(--text);
  }

  .exp__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 4rem);
  }

  .exp__rail {
    position: relative;
  }

  .exp {
    overflow: visible !important;
  }

  .sec-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: clamp(3rem, 6vh, 5rem);
  }

  .sec-head__index {
    font-size: 1.2rem;
    color: var(--acid);
    margin-bottom: 0.5rem;
  }

  .sec-head__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .sec-head__tag {
    font-size: 0.8rem;
    color: var(--ink-3);
    margin-top: 1rem;
  }

  .exp__rail-inner {
    position: sticky;
    top: 80px;
    height: calc(100svh - 110px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .exp__year {
    font-family: var(--font-display);
    font-size: 2.4rem;
    letter-spacing: 0.04em;
    color: var(--acid);
    border: var(--bw) solid var(--acid);
    padding: 0.1em 0.35em;
    min-width: 4.4ch;
    text-align: center;
    position: relative;
    z-index: 20;
    background: var(--bg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.9);
  }

  .exp__rail-foot {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    color: var(--paper-3);
  }

  .ladder {
    position: relative;
    flex: 1;
    width: 120px;
    overflow: hidden;
  }

  .ladder__rail {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--bg);
    color: var(--text);
    left: 18px;
  }

  .ladder__rail--r {
    left: auto;
    right: 18px;
  }

  .ladder__rung {
    position: absolute;
    left: 18px;
    right: 18px;
    height: 4px;
    background: var(--paper-3);
    transition: background 0.3s, box-shadow 0.3s;
  }

  .ladder__rung.active {
    background: var(--acid);
    box-shadow: 0 0 10px var(--acid);
  }

  .ladder__rung:nth-child(3) {
    top: 4%;
  }

  .ladder__rung:nth-child(4) {
    top: 12.7%;
  }

  .ladder__rung:nth-child(5) {
    top: 21.4%;
  }

  .ladder__rung:nth-child(6) {
    top: 30.1%;
  }

  .ladder__rung:nth-child(7) {
    top: 38.8%;
  }

  .ladder__rung:nth-child(8) {
    top: 47.5%;
  }

  .ladder__rung:nth-child(9) {
    top: 56.2%;
  }

  .ladder__rung:nth-child(10) {
    top: 64.9%;
  }

  .ladder__rung:nth-child(11) {
    top: 73.6%;
  }

  .ladder__rung:nth-child(12) {
    top: 82.3%;
  }

  .ladder__rung:nth-child(13) {
    top: 91%;
  }

  .ladder__rung:nth-child(14) {
    top: 99%;
  }

  .climber {
    position: absolute;
    left: 50%;
    bottom: 2%;
    width: 132px;
    margin-left: -66px;
    will-change: bottom;
    z-index: 5;
    filter: sepia(0.65) hue-rotate(330deg) saturate(2.4) brightness(0.92) drop-shadow(4px 6px 0 rgba(0, 0, 0, 0.5));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .climber:hover {
    transform: scale(1.08);
  }

  .climber img {
    width: 100%;
  }

  .exp__list {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 5vh, 3.5rem);
    padding-bottom: 12vh;
  }

  .exp-card {
    position: relative;
    text-align: left;
    border: var(--bw) solid #333;
    background: #242424;
    padding: clamp(1.4rem, 3vw, 2.4rem);
    box-shadow: 8px 8px 0 rgba(242, 238, 227, 0.12);
    transition: box-shadow 0.25s, border-color 0.25s, background 0.25s, transform 0.25s;
    overflow: hidden;
  }

  .exp-card.active {
    border-color: var(--acid);
    box-shadow: var(--shadow-acid);
    transform: translate(-3px, -3px);
  }

  .exp-card__ghost {
    position: absolute;
    right: -0.05em;
    top: -0.18em;
    font-family: var(--font-display);
    font-size: clamp(5rem, 11vw, 9rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(242, 238, 227, 0.14);
    pointer-events: none;
  }

  .exp-card.active .exp-card__ghost {
    -webkit-text-stroke-color: rgba(200, 255, 0, 0.3);
  }

  .exp-card__date {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--hot);
  }

  .exp-card__company {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5.4vw, 3.8rem);
    line-height: 1;
    letter-spacing: 0.01em;
    margin: 0.35em 0 0.18em;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s ease, letter-spacing 0.3s ease;
    transform-origin: left center;
  }

  .exp-card:hover .exp-card__company {
    transform: translateX(10px);
    color: var(--teal-light);
    letter-spacing: 0.03em;
  }

  .exp-card__role {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--acid);
    margin-bottom: 0.9rem;
  }

  .exp-card__desc {
    max-width: 56ch;
    color: #ccc;
    font-size: 0.98rem;
  }

  .exp-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.1rem;
  }

  .exp-card__tags span {
    border-color: #444;
    color: #ccc;
  }

  .exp-card__tags span:hover {
    background: var(--bg);
    color: var(--text);
  }

  .exp-card--now {
    border-style: dashed;
  }

  .exp-card--now .exp-card__company {
    color: var(--acid);
  }

  .os-zone {
    position: relative;
    background: var(--bg);
    height: 430vh;
  }

  .work__item,
  .exp-card,
  .capability,
  .toolkit__card,
  .services-grid__card,
  .pricing__card,
  .dossier__card {
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform-style: preserve-3d;
  }

  .work__item::after,
  .exp-card::after,
  .capability::after,
  .toolkit__card::after,
  .services-grid__card::after,
  .pricing__card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(550px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.18), transparent 45%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 2;
  }

  .work__item:hover::after,
  .exp-card:hover::after,
  .capability:hover::after,
  .toolkit__card:hover::after,
  .services-grid__card:hover::after,
  .pricing__card:hover::after {
    opacity: 1;
  }

  padding: 0.3rem 0.55rem;
  margin-bottom: 0.9rem;
}

.dossier__card--edu .dossier__label {
  color: var(--acid);
}

.dossier__text {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
  font-weight: 500;
}

.dossier__text b {
  background: var(--acid);
  padding: 0 0.2em;
  font-weight: 700;
}

.dossier__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.dossier__chips span,
.exp-card__tags span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 2px solid var(--ink);
  padding: 0.28rem 0.55rem;
  transition: background 0.15s, color 0.15s;
}

.dossier__chips span:hover {
  background: var(--bg);
  color: var(--acid);
}

.dossier__big {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.dossier__arrow {
  color: var(--hot);
}

.ticker--stack {
  background: var(--bg);
  color: var(--text);
  border-top: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
  padding: 0.9rem 0;
}

.stack-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin-right: 2.6rem;
}

.stack-item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6);
  transition: filter 0.2s;
}

.stack-item:hover img {
  filter: none;
}

.stack-item .x {
  color: var(--hot);
}

.exp {
  background: var(--bg);
  color: var(--text);
}

.exp__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.exp__rail {
  position: relative;
}

.exp {
  overflow: visible !important;
}

.exp__rail-inner {
  position: sticky;
  top: 80px;
  height: calc(100svh - 110px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.exp__year {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  color: var(--acid);
  border: var(--bw) solid var(--acid);
  padding: 0.1em 0.35em;
  min-width: 4.4ch;
  text-align: center;
  position: relative;
  z-index: 20;
  background: var(--bg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.9);
}

.exp__rail-foot {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--paper-3);
}

.ladder {
  position: relative;
  flex: 1;
  width: 120px;
  overflow: hidden;
}

.ladder__rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--bg);
  color: var(--text);
  left: 18px;
}

.ladder__rail--r {
  left: auto;
  right: 18px;
}

.ladder__rung {
  position: absolute;
  left: 18px;
  right: 18px;
  height: 4px;
  background: var(--paper-3);
  transition: background 0.3s, box-shadow 0.3s;
}

.ladder__rung.active {
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}

.ladder__rung:nth-child(3) {
  top: 4%;
}

.ladder__rung:nth-child(4) {
  top: 12.7%;
}

.ladder__rung:nth-child(5) {
  top: 21.4%;
}

.ladder__rung:nth-child(6) {
  top: 30.1%;
}

.ladder__rung:nth-child(7) {
  top: 38.8%;
}

.ladder__rung:nth-child(8) {
  top: 47.5%;
}

.ladder__rung:nth-child(9) {
  top: 56.2%;
}

.ladder__rung:nth-child(10) {
  top: 64.9%;
}

.ladder__rung:nth-child(11) {
  top: 73.6%;
}

.ladder__rung:nth-child(12) {
  top: 82.3%;
}

.ladder__rung:nth-child(13) {
  top: 91%;
}

.ladder__rung:nth-child(14) {
  top: 99%;
}

.climber {
  position: absolute;
  left: 50%;
  bottom: 2%;
  width: 132px;
  margin-left: -66px;
  will-change: bottom;
  z-index: 5;
  filter: sepia(0.65) hue-rotate(330deg) saturate(2.4) brightness(0.92) drop-shadow(4px 6px 0 rgba(0, 0, 0, 0.5));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.climber:hover {
  transform: scale(1.08);
}

.climber img {
  width: 100%;
}

.exp__list {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vh, 3.5rem);
  padding-bottom: 12vh;
}

.exp-card {
  position: relative;
  border: var(--bw) solid #333;
  background: #242424;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: 8px 8px 0 rgba(242, 238, 227, 0.12);
  transition: box-shadow 0.25s, border-color 0.25s, background 0.25s, transform 0.25s;
  overflow: hidden;
}

.exp-card.active {
  border-color: var(--acid);
  box-shadow: var(--shadow-acid);
  transform: translate(-3px, -3px);
}

.exp-card__ghost {
  position: absolute;
  right: -0.05em;
  top: -0.18em;
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(242, 238, 227, 0.14);
  pointer-events: none;
}

.exp-card.active .exp-card__ghost {
  -webkit-text-stroke-color: rgba(200, 255, 0, 0.3);
}

.exp-card__date {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--hot);
}

.exp-card__company {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0.35em 0 0.18em;
}

.exp-card__role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--acid);
  margin-bottom: 0.9rem;
}

.exp-card__desc {
  max-width: 56ch;
  color: #ccc;
  font-size: 0.98rem;
}

.exp-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.exp-card__tags span {
  border-color: #444;
  color: #ccc;
}

.exp-card__tags span:hover {
  background: var(--bg);
  color: var(--text);
}

.exp-card--now {
  border-style: dashed;
}

.exp-card--now .exp-card__company {
  color: var(--acid);
}

.os-zone {
  position: relative;
  background: var(--bg);
  height: 430vh;
}

.work__item,
.exp-card,
.capability,
.toolkit__card,
.services-grid__card,
.pricing__card,
.dossier__card {
  position: relative;
  overflow: hidden;
  will-change: transform;
  transform-style: preserve-3d;
}

.work__item::after,
.exp-card::after,
.capability::after,
.toolkit__card::after,
.services-grid__card::after,
.pricing__card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(550px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 189, 248, 0.18), transparent 45%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.work__item:hover::after,
.exp-card:hover::after,
.capability:hover::after,
.toolkit__card:hover::after,
.services-grid__card:hover::after,
.pricing__card:hover::after {
  opacity: 1;
}

.cta__btn,
.work__play,
.nav__menu-btn,
.exp-badge,
.nav__logo {
  will-change: transform;
}

.scroll-highlight {
  position: relative;
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, #fff 50%, rgba(255, 255, 255, 0.2) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-position 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-highlight.is-highlighted {
  background-position: 0 0;
}

.scroll-highlight::after {
  content: '';
  position: absolute;
  top: 0;
  right: -8px;
  width: 12px;
  height: 100%;
  background-color: var(--teal-light);
  opacity: 0;
  pointer-events: none;
}

.scroll-highlight.is-highlighted::after {
  animation: typeCursor .8s steps(2, start) infinite;
}

@keyframes typeCursor {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#climberImg {
  filter: sepia(100%) hue-rotate(345deg) saturate(800%);
}

.work--horizontal {
  padding: 0 !important;
  overflow: visible !important;
}

.work--horizontal .work__sticky {
  height: 100vh;
}

.work__item-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: scale(1.05);
  pointer-events: none;
}

.work__item-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work__item:hover .work__item-bg {
  opacity: 1;
  transform: scale(1);
}

.work__item:hover .work__item-bg img {
  transform: scale(1.05);
}

.work__item>*:not(.work__item-bg) {
  position: relative;
  z-index: 1;
}

.contact-links__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(10px);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--teal-light);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15);
}

.contact-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-card:hover .contact-card__glow {
  opacity: 1;
}

.contact-card__label {
  font-size: 0.65rem;
  color: var(--teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1;
}

.contact-card__value {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--text);
  font-weight: 700;
  z-index: 1;
}

.contact-card__arrow {
  position: absolute;
  top: 2.5rem;
  right: 2rem;
  color: var(--teal-dim);
  font-size: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s;
  z-index: 1;
}

.contact-card:hover .contact-card__arrow {
  color: var(--teal-light);
  transform: translate(5px, -5px);
}

.contact-form__glass {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 4rem);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.contact-form__glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-light), transparent);
  opacity: 0.5;
}

.contact-form__field {
  position: relative;
  margin-bottom: 2.5rem;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.8rem 1rem 0.6rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--teal-light);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.contact-form__label {
  position: absolute;
  top: 1.2rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--teal-dim);
  pointer-events: none;
  transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-form__input:focus~.contact-form__label,
.contact-form__input:not(:placeholder-shown)~.contact-form__label,
.contact-form__textarea:focus~.contact-form__label,
.contact-form__textarea:not(:placeholder-shown)~.contact-form__label {
  top: 0.4rem;
  font-size: 0.55rem;
  color: var(--teal-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.2rem 2rem;
  background: var(--teal);
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}

.contact-form__submit:hover {
  background: var(--teal-light);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
}

.contact-form__submit:active {
  transform: scale(0.98);
}

.submit-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.contact-form__submit:hover .submit-arrow {
  transform: translateX(8px);
}

.terminal-window {
  background: rgba(20, 20, 22, 0.85);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  backdrop-filter: blur(20px);
}

.terminal-header {
  background: rgba(45, 43, 40, 0.9);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.terminal-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-btn.close {
  background: #ff5f56;
}

.terminal-btn.minimize {
  background: #ffbd2e;
}

.terminal-btn.maximize {
  background: #27c93f;
}

.terminal-title {
  flex-grow: 1;
  text-align: center;
  color: var(--teal-dim);
  font-size: 0.75rem;
  margin-right: 52px;
}

.terminal-body {
  padding: 2rem;
  font-size: 0.9rem;
  color: var(--text);
}

.terminal-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.terminal-line--multi {
  padding-left: 1.6rem;
}

.prompt {
  color: var(--acid);
  font-weight: 700;
}

.command {
  color: var(--teal-light);
  font-family: var(--font-mono);
}

.terminal-input {
  background: transparent;
  border: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--acid);
  font-size: 0.9rem;
  outline: none;
  flex-grow: 1;
  min-width: 200px;
  padding: 0.2rem 0;
  transition: border-color 0.3s;
}

.terminal-input:focus {
  border-bottom-color: var(--teal);
}

.terminal-input::placeholder,
.terminal-textarea::placeholder {
  color: rgba(230, 225, 216, 0.3);
}

.terminal-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--acid);
  font-size: 0.9rem;
  min-height: 120px;
  padding: 1rem;
  outline: none;
  resize: vertical;
  transition: border-color 0.3s, background 0.3s;
}

.terminal-textarea:focus {
  border-color: var(--teal);
  background: rgba(0, 0, 0, 0.4);
}

.terminal-submit {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  letter-spacing: 0.05em;
}

.terminal-submit:hover {
  color: var(--teal-light);
}

.cursor-blink {
  display: inline-block;
  width: 8px;
  animation: blink 1s step-end infinite;
  color: var(--teal);
  margin-left: 2px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.main-404 {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
  padding: 0 var(--pad);
}

.journey-3d-section {
  position: relative;
  background: var(--bg);
  height: 200vh;
  /* We will let GSAP pin this */
  overflow: hidden;
}

.journey-viewport {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  perspective: 1000px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 80%);
}

.journey-camera {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  /* We will animate the translateZ of this element via GSAP */
}

.road-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200vw;
  height: 20000px;
  /* Super long road extending into Z space */
  transform-origin: top center;
  /* Rotate it to be a floor, push it down by 30vh, and pull it far back in Z */
  transform: translate(-50%, -50%) rotateX(90deg) translateZ(-400px) translateY(-5000px);
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.2) 1px, transparent 1px);
  background-size: 100px 100px;
  background-position: center bottom;
  pointer-events: none;
  /* Fade out in the distance */
  mask-image: linear-gradient(to top, black 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 80%);
}

.billboard-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.billboard {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(280px, 30vw, 400px);
  /* The item is placed natively using GSAP based on its inline CSS vars */
  transform-style: preserve-3d;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(42, 122, 122, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 122, 122, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  pointer-events: none;
  z-index: 0;
  transform: perspective(600px) rotateX(60deg) translateY(-100px) scale(3);
  animation: grid-move 15s linear infinite;
}

@keyframes grid-move {
  0% {
    transform: perspective(600px) rotateX(60deg) translateY(0) scale(3);
  }

  100% {
    transform: perspective(600px) rotateX(60deg) translateY(50px) scale(3);
  }
}

.error-hero {
  position: relative;
  z-index: 10;
  text-align: center;
  width: 100%;
}

.error-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.glitch-wrapper {
  margin: 1.5rem 0;
}

.glitch {
  font-family: var(--font-hero);
  font-size: clamp(8rem, 25vw, 20rem);
  font-weight: 400;
  line-height: 0.8;
  color: var(--text);
  position: relative;
  text-shadow: 0 0 50px rgba(42, 122, 122, 0.6);
  letter-spacing: 0.02em;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.glitch::before {
  left: 4px;
  text-shadow: -3px 0 var(--hot);
  clip-path: inset(44px 0 56px 0);
  animation: glitch-anim 4s infinite linear alternate-reverse;
}

.glitch::after {
  left: -4px;
  text-shadow: -3px 0 var(--teal);
  clip-path: inset(44px 0 56px 0);
  animation: glitch-anim2 4s infinite linear alternate-reverse;
}

.error-hero__desc {
  color: var(--teal-light);
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  line-height: 1.8;
  margin-bottom: 3.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.error-hero__action {
  position: relative;
  z-index: 20;
}

@keyframes glitch-anim {
  0% {
    clip-path: inset(57% 0 25% 0);
  }

  5% {
    clip-path: inset(98% 0 10% 0);
  }

  10% {
    clip-path: inset(23% 0 65% 0);
  }

  15% {
    clip-path: inset(74% 0 15% 0);
  }

  20% {
    clip-path: inset(10% 0 85% 0);
  }

  25% {
    clip-path: inset(82% 0 5% 0);
  }

  30% {
    clip-path: inset(47% 0 45% 0);
  }

  35% {
    clip-path: inset(11% 0 80% 0);
  }

  40% {
    clip-path: inset(94% 0 2% 0);
  }

  45% {
    clip-path: inset(32% 0 60% 0);
  }

  50% {
    clip-path: inset(51% 0 40% 0);
  }

  55% {
    clip-path: inset(89% 0 8% 0);
  }

  60% {
    clip-path: inset(18% 0 75% 0);
  }

  65% {
    clip-path: inset(76% 0 12% 0);
  }

  70% {
    clip-path: inset(33% 0 55% 0);
  }

  75% {
    clip-path: inset(61% 0 30% 0);
  }

  80% {
    clip-path: inset(27% 0 70% 0);
  }

  85% {
    clip-path: inset(92% 0 4% 0);
  }

  90% {
    clip-path: inset(43% 0 50% 0);
  }

  95% {
    clip-path: inset(14% 0 82% 0);
  }

  100% {
    clip-path: inset(85% 0 10% 0);
  }
}

@keyframes glitch-anim2 {
  0% {
    clip-path: inset(41% 0 50% 0);
  }

  5% {
    clip-path: inset(16% 0 75% 0);
  }

  10% {
    clip-path: inset(88% 0 5% 0);
  }

  15% {
    clip-path: inset(53% 0 40% 0);
  }

  20% {
    clip-path: inset(38% 0 60% 0);
  }

  25% {
    clip-path: inset(91% 0 2% 0);
  }

  30% {
    clip-path: inset(22% 0 70% 0);
  }

  35% {
    clip-path: inset(68% 0 25% 0);
  }

  40% {
    clip-path: inset(13% 0 80% 0);
  }

  45% {
    clip-path: inset(79% 0 15% 0);
  }

  50% {
    clip-path: inset(46% 0 45% 0);
  }

  55% {
    clip-path: inset(97% 0 1% 0);
  }

  60% {
    clip-path: inset(29% 0 65% 0);
  }

  65% {
    clip-path: inset(55% 0 35% 0);
  }

  70% {
    clip-path: inset(82% 0 10% 0);
  }

  75% {
    clip-path: inset(19% 0 75% 0);
  }

  80% {
    clip-path: inset(64% 0 20% 0);
  }

  85% {
    clip-path: inset(35% 0 60% 0);
  }

  90% {
    clip-path: inset(93% 0 5% 0);
  }

  95% {
    clip-path: inset(48% 0 45% 0);
  }

  100% {
    clip-path: inset(71% 0 20% 0);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 var(--pad);
  border: none;
  background: transparent;
  box-shadow: none;
}

.stat {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  color: var(--text);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  position: relative;
  overflow: hidden;
  outline: none;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-light), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat:hover {
  background: rgba(42, 122, 122, 0.05);
  border-color: rgba(42, 122, 122, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(42, 122, 122, 0.2);
}

.stat:hover::before {
  opacity: 1;
}

.stat__num {
  display: block;
  font-family: var(--font-hero);
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 1;
  color: var(--teal-light);
  text-shadow: 0 0 25px rgba(42, 122, 122, 0.5);
  margin-bottom: 0.8rem;
}

.stat__label {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--paper-3);
  text-transform: uppercase;
}

@media(max-width: 860px) {
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-sm);
  }
}

@media(max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

.watermark {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-hero);
  font-size: 8rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0.03;
  pointer-events: none;
  z-index: 1000;
  user-select: none;
}

.journey-3d-section {
  height: 100vh;
  position: relative;
}

.journey-3d-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  perspective: 1000px;
  background: radial-gradient(circle at center 60%, rgba(10, 15, 20, 1) 0%, rgba(0, 0, 0, 1) 80%);
}

.road-grid {
  position: absolute;
  bottom: -20vh;
  left: -50vw;
  width: 200vw;
  height: 120vh;
  background:
    linear-gradient(90deg, rgba(56, 189, 248, 0.15) 1px, transparent 1px) 50% 50% / 100px 100px,
    linear-gradient(0deg, rgba(56, 189, 248, 0.15) 2px, transparent 2px) 50% 50% / 100px 100px;
  transform: rotateX(80deg);
  transform-origin: center center;
  z-index: 1;
}

.road-grid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 100%;
  background: repeating-linear-gradient(0deg, rgba(56, 189, 248, 0.6) 0, rgba(56, 189, 248, 0.6) 40px, transparent 40px, transparent 80px);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.8);
}

.billboard-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  z-index: 2;
}

.billboard {
  position: absolute;
  width: 320px;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  background: rgba(10, 15, 20, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  opacity: 1;
  /* managed by GSAP if needed, or just let them fade naturally in 3D */
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(56, 189, 248, 0.05);
  transition: border-color 0.3s ease;
  transform: translate3d(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px)), calc(var(--z, 0) * -1px)) rotateX(var(--rX, 0deg)) rotateY(var(--rY, 0deg)) rotateZ(var(--rZ, 0deg));
}

@media(min-width: 768px) {
  .billboard {
    width: 450px;
    padding: 2rem;
  }
}

.billboard:hover {
  border-color: rgba(56, 189, 248, 0.8);
}

@media(max-width: 768px) {
  .billboard {
    transform: translate3d(calc(-50% + calc(var(--x, 0px) * 0.3)), calc(-50% + var(--y, 0px)), calc(var(--z, 0) * -1px)) rotateX(0deg) rotateY(0deg) rotateZ(0deg) !important;
  }
}

.billboard__photo {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.billboard__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.billboard__photo::after {
  content: 'Photo Placeholder';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  pointer-events: none;
}

.billboard__date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--teal-light);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.billboard__title {
  font-family: var(--font-head);
  font-size: 1.75rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  color: var(--text);
}

.billboard__desc {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}

/* Legal Pages */
.legal-content {
  font-family: var(--font-display);
  color: #ccc;
  line-height: 1.8;
  font-size: 1.1rem;
}

.legal-intro {
  font-size: 1.2rem;
  color: var(--teal-light);
  margin-bottom: 3rem;
  font-weight: 500;
}

.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-heading {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.legal-contact {
  margin-top: 4rem;
  padding: 2rem;
  background: var(--dark-blue-card);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: var(--radius-sm);
  text-align: center;
}

.text-link {
  color: var(--teal-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}

.text-link:hover {
  color: var(--text);
}

/* Monolithic Glass - Contact Page */
body.page-contact {
  background: #020202;
}

.monolithic-glass {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--section-gap) var(--pad);
}

.glass-orb {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 100, 50, 0.8), rgba(100, 50, 255, 0.4), transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  animation: orb-float 15s ease-in-out infinite alternate;
}

@keyframes orb-float {
  0% {
    transform: translate(-10%, -10%) scale(1);
  }

  100% {
    transform: translate(10%, 10%) scale(1.2);
  }
}

.glass-container {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 4rem;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.glass-title {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 0.5rem;
  color: var(--text);
}

.glass-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 3rem;
}

.glass-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.glass-input-group {
  position: relative;
}

.glass-input,
.glass-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 0;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.glass-textarea {
  resize: vertical;
  min-height: 100px;
}

.glass-input:focus,
.glass-textarea:focus {
  outline: none;
  border-bottom-color: var(--text);
}

.glass-input::placeholder,
.glass-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.glass-submit {
  align-self: flex-start;
  background: var(--bg);
  color: #000;
  border: none;
  border-radius: 100px;
  padding: 1rem 3rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1rem;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.glass-submit:hover {
  transform: scale(1.05);
}

.glass-submit .arrow {
  transition: transform 0.3s ease;
}

.glass-submit:hover .arrow {
  transform: translateX(5px);
}

.glass-links {
  margin-top: 4rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.glass-links a {
  color: #ccc;
  font-family: var(--font-mono);
  text-decoration: none;
  transition: color 0.3s ease;
}

.glass-links a:hover {
  color: var(--text);
}

/* Masonry Gallery - Work Page */
body.page-work {
  background: #000;
}

.masonry-gallery {
  padding: var(--section-gap) var(--pad);
  overflow: hidden;
}

.masonry-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.masonry-item {
  position: relative;
  display: block;
  width: var(--m-w, 50%);
  margin-left: var(--m-offset, 0);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.masonry-item__bg {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.masonry-item__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  filter: grayscale(100%) contrast(1.2);
}

.masonry-item:hover .masonry-item__bg img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1);
}

.masonry-item__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  color: var(--text);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.masonry-item:hover .masonry-item__content {
  transform: translateY(0);
  opacity: 1;
}

.masonry-num {
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  display: block;
}

.masonry-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 0.2rem;
}

.masonry-desc {
  font-size: 0.85rem;
  color: #ccc;
  opacity: 0.7;
}

/* Magnetic Repulsion effect managed via CSS siblings */
.masonry-container:hover .masonry-item:not(:hover) {
  opacity: 0.3;
  transform: scale(0.95);
}

/* Editorial Lookbook - About Page */
body.page-about {
  background: var(--bg);
  color: var(--text);
}

.editorial-lookbook {
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 15vh var(--pad) var(--section-gap);
  overflow: hidden;
}

.ed-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60vh;
  margin-bottom: 20vh;
}

.ed-title {
  font-size: clamp(6rem, 15vw, 15rem);
  line-height: 0.8;
  color: #111;
  text-align: center;
  z-index: 2;
  mix-blend-mode: exclusion;
  color: #fff;
  /* When blending with white background, this will appear black, but invert over image */
}

.ed-header__img-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30vw;
  min-width: 300px;
  max-width: 500px;
  aspect-ratio: 3/4;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.ed-header__img-wrap img,
.ed-block__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
}

.ed-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25vh;
  position: relative;
}

.ed-block--left {
  flex-direction: row;
}

.ed-block--right {
  flex-direction: row-reverse;
}

.ed-block__content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.ed-block__content h2 {
  font-size: clamp(3rem, 6vw, 6rem);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  color: #111;
}

.ed-block__content p,
.ed-block__content li {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.5;
  color: #444;
}

.ed-list {
  list-style: none;
  padding: 0;
}

.ed-list li {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ed-list li span {
  font-size: 1rem;
  color: var(--accent);
}

.ed-list a {
  color: #111;
  text-decoration: none;
  border-bottom: 2px solid #111;
}

.ed-block__img-wrap {
  flex: 1;
  max-width: 500px;
  aspect-ratio: 4/5;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.ed-stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
  padding-top: 10vh;
  border-top: 2px solid #111;
}

.ed-stat h3 {
  font-size: clamp(4rem, 8vw, 8rem);
  color: #111;
  line-height: 1;
}

.ed-stat p {
  font-size: 1.2rem;
  color: #666;
  letter-spacing: 0.2em;
  margin-top: 0.5rem;
}

/* Kinetic Accordion - Services Page */
body.page-services {
  background: #000;
  overflow-x: hidden;
}

.kinetic-accordion {
  position: relative;
  min-height: 100vh;
  width: 100%;
  padding-top: 8vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.k-bg-container {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.k-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.8s ease, transform 6s ease-out;
}

.k-bg.active {
  opacity: 0.6;
  transform: scale(1);
}

.k-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 0%, transparent 100%);
}

.k-items-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.k-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem 0;
  cursor: pointer;
}

.k-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.k-item__header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.k-item:hover .k-item__header {
  transform: translateX(20px);
}

.k-item__num {
  font-size: 1rem;
  color: var(--accent);
  margin-top: 1rem;
}

.k-item__title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  transition: all 0.4s ease;
}

.k-item:hover .k-item__title {
  color: var(--text);
  -webkit-text-stroke: 0px;
}

.k-item__content {
  max-height: 0;
  overflow: hidden;
  padding-left: clamp(2rem, 10vw + 2rem, 12rem);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.k-item:hover .k-item__content {
  max-height: 160px;
  opacity: 1;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.k-item__content p {
  color: #ccc;
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 1rem;
}

.k-item__link {
  color: var(--accent);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.1em;
  position: relative;
}

.k-item__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.k-item__link:hover::after {
  width: 100%;
}

/* --- HORIZONTAL MUSEUM JOURNEY --- */
.journey-museum {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.museum-track {
  display: flex;
  height: 100%;
  width: fit-content;
  will-change: transform;
}

.museum-panel {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--pad);
  position: relative;
}

.museum-panel--intro,
.museum-panel--outro {
  text-align: center;
}

.museum-panel--intro h2,
.museum-panel--outro h2 {
  font-size: clamp(4rem, 10vw, 10rem);
  color: var(--text);
  line-height: 1;
}

.museum-panel--intro p {
  font-size: 1.5rem;
  color: #ccc;
  margin-top: 2rem;
}

.m-panel__img-wrap {
  width: 60vw;
  max-width: 800px;
  height: 50vh;
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.m-panel__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  transition: transform 0.6s ease;
}

.museum-panel:hover .m-panel__img-wrap img {
  transform: scale(1.05);
}

.m-panel__content {
  width: 60vw;
  max-width: 800px;
  text-align: left;
}

.m-panel__date {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 1rem;
}

.m-panel__content h3 {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1;
}

.m-panel__content p {
  font-size: 1.2rem;
  color: #ccc;
  line-height: 1.6;
}


/* --- THE INTERACTIVE CANVAS (ABOUT) --- */
.interactive-canvas {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
  padding: var(--pad);
}

.canvas-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150vw;
  display: flex;
  flex-direction: column;
  opacity: 0.03;
  pointer-events: none;
  font-size: clamp(10rem, 30vw, 35rem);
  line-height: 0.8;
  white-space: nowrap;
  color: var(--text);
}

.canvas-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  text-align: center;
}

.canvas-content h1 {
  font-size: clamp(3rem, 8vw, 8rem);
  margin-bottom: 4rem;
  color: var(--text);
}

.canvas-text {
  font-size: clamp(1.5rem, 3vw, 3rem);
  color: #ccc;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.hover-reveal {
  color: var(--text);
  cursor: crosshair;
  position: relative;
  display: inline-block;
  transition: color 0.3s;
}

.hover-reveal::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bg);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.hover-reveal:hover {
  color: var(--text);
  -webkit-text-stroke: 1px var(--paper);
}

.hover-reveal:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Floating Hover Image */
.hover-image-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 500px;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hover-image-container.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hover-image-display {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform 0.4s ease;
}

.hover-image-container.is-visible .hover-image-display {
  transform: scale(1);
}

.canvas-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
}

.c-stat h3 {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--text);
}

/* --- GLOBAL HOVER ENHANCEMENTS --- */
a {
  position: relative;
  text-decoration: none;
  color: inherit;
}

p a,
.footer__links a {
  position: relative;
  display: inline-block;
}

p a::after,
.footer__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

p a:hover::after,
.footer__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Cursor Enhancements */
.cursor__ring.is-active {
  transform: scale(2.5) !important;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  mix-blend-mode: difference;
}

/* Global Image Hover (for masonry & standard images) */
.masonry-item__bg img,
.work__item-bg img {
  transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1), filter 0.8s ease;
  filter: grayscale(80%);
}

.masonry-item:hover .masonry-item__bg img,
.work__item:hover .work__item-bg img {
  transform: scale(1.1);
  filter: grayscale(0%);
}


/* --- CONTACT HOVER ANIMATIONS --- */
.monolithic-glass {
  position: relative;
  overflow: hidden;
}

/* Glass Orb Hover Follow/Pulse */
.glass-container:hover~.glass-orb,
.monolithic-glass:hover .glass-orb {
  animation: none;
  transform: translate(-50%, -50%) scale(1.5);
  filter: blur(100px) hue-rotate(45deg);
  transition: transform 2s cubic-bezier(0.2, 0, 0.2, 1), filter 2s ease;
}

/* Squishy Text */
.squishy-text {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1.2), color 0.4s ease;
}

.squishy-text:hover {
  transform: scale(1.1, 0.85);
  color: var(--text);
  -webkit-text-stroke: 1px var(--paper);
}


/* --- CONTACT SECTION (Git Terminal) --- */
.git-terminal {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: var(--pad);
}

.terminal-window {
  width: 100%;
  max-width: 800px;
  background: rgba(10, 10, 12, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mac-dots {
  display: flex;
  gap: 8px;
  margin-right: 20px;
}

.mac-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

.term-title {
  color: #ccc;
  font-size: 0.9rem;
  opacity: 0.7;
}

.terminal-body {
  padding: 30px;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text);
  line-height: 1.6;
}

.sys-msg {
  color: #6272a4;
  margin-bottom: 2rem;
}

.cmd-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

.prompt .user {
  color: #50fa7b;
}

.prompt .path {
  color: #bd93f9;
}

.prompt {
  margin-right: 12px;
}

.cmd-text {
  color: #f1fa8c;
}

.term-input {
  background: transparent;
  border: none;
  color: #ffb86c;
  font-family: inherit;
  font-size: inherit;
  outline: none;
  width: auto;
  min-width: 150px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  padding: 0 4px;
}

.term-input:focus {
  border-bottom: 1px solid #ffb86c;
}

.term-btn {
  background: transparent;
  border: none;
  color: #ff79c6;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  outline: none;
  display: inline-flex;
  align-items: center;
  padding: 0;
  transition: opacity 0.3s;
}

.term-btn:hover {
  opacity: 0.8;
}

.term-cursor {
  display: inline-block;
  width: 8px;
  height: 1.2em;
  background: #ff79c6;
  margin-left: 6px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}


/* --- ABOUT SECTION (Glitch OS) --- */
.glitch-os {
  position: relative;
  min-height: 100vh;
  background: #000;
  color: #0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 5%;
  overflow: hidden;
}

.fx-noise {
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  width: 200%;
  height: 200vh;
  background: transparent url('http://assets.iceable.com/img/noise-transparent.png') repeat 0 0;
  background-repeat: repeat;
  animation: bg-animation .2s infinite;
  opacity: .9;
  visibility: visible;
  pointer-events: none;
  z-index: 1;
}

@keyframes bg-animation {
  0% {
    transform: translate(0, 0)
  }

  10% {
    transform: translate(-5%, -5%)
  }

  20% {
    transform: translate(-10%, 5%)
  }

  30% {
    transform: translate(5%, -10%)
  }

  40% {
    transform: translate(-5%, 15%)
  }

  50% {
    transform: translate(-10%, 5%)
  }

  60% {
    transform: translate(15%, 0)
  }

  70% {
    transform: translate(0, 15%)
  }

  80% {
    transform: translate(3%, 35%)
  }

  90% {
    transform: translate(-10%, 10%)
  }
}

.glitch-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
}

.glitch-header {
  margin-bottom: 3rem;
  border-bottom: 2px solid #0f0;
  padding-bottom: 1rem;
}

.glitch-title {
  font-size: clamp(3rem, 8vw, 8rem);
  color: #fff;
  position: relative;
  display: inline-block;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-title::before {
  left: 3px;
  text-shadow: -2px 0 red;
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch-title::after {
  left: -3px;
  text-shadow: -2px 0 blue;
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% {
    clip: rect(15px, 9999px, 83px, 0);
  }

  20% {
    clip: rect(4px, 9999px, 11px, 0);
  }

  40% {
    clip: rect(81px, 9999px, 110px, 0);
  }

  60% {
    clip: rect(110px, 9999px, 18px, 0);
  }

  80% {
    clip: rect(56px, 9999px, 51px, 0);
  }

  100% {
    clip: rect(93px, 9999px, 42px, 0);
  }
}

.glitch-header .meta {
  color: red;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.glitch-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .glitch-grid {
    grid-template-columns: 1fr;
  }
}

.g-col h2 {
  font-size: 1.5rem;
  color: #0f0;
  margin-bottom: 1rem;
}

.g-bio .glitched-p {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.6;
}

.mt-2 {
  margin-top: 1rem;
}

.glitch-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid #0f0;
}

.g-base-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(150%);
  transition: filter 0.3s;
}

.glitch-img-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1540304473527-df2f17f461ce?q=80&w=1000&auto=format&fit=crop') no-repeat center center / cover;
  opacity: 0;
  mix-blend-mode: exclusion;
}

.glitch-img-wrapper:hover .g-base-img {
  filter: grayscale(0%) contrast(100%);
}

.glitch-img-wrapper:hover .layer-1 {
  opacity: 0.5;
  transform: translate(-10px, 5px);
  filter: hue-rotate(90deg);
  animation: glitch-img-anim 0.2s infinite;
}

.glitch-img-wrapper:hover .layer-2 {
  opacity: 0.5;
  transform: translate(10px, -5px);
  filter: hue-rotate(180deg);
  animation: glitch-img-anim 0.3s infinite reverse;
}

@keyframes glitch-img-anim {
  0% {
    clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
  }

  50% {
    clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
  }

  100% {
    clip-path: polygon(0 80%, 100% 80%, 100% 81%, 0 81%);
  }
}

.glitch-list {
  list-style: none;
  padding: 0;
  color: #fff;
}

.glitch-list li {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* --- RESTORED COLORED BLOB --- */
.monolithic-glass {
  position: relative;
  overflow: hidden;
}

.glass-orb {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 100, 50, 0.8), rgba(100, 50, 255, 0.4), transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  animation: orb-float 15s ease-in-out infinite alternate;
}

@keyframes orb-float {
  0% {
    transform: translate(-10%, -10%) scale(1);
  }

  50% {
    transform: translate(10%, 10%) scale(1.1);
  }

  100% {
    transform: translate(-10%, 20%) scale(0.9);
  }
}

/* Glass Orb Hover Follow/Pulse */
.git-terminal:hover .glass-orb {
  animation: none;
  transform: translate(-50%, -50%) scale(1.5);
  filter: blur(100px) hue-rotate(45deg);
  transition: transform 2s cubic-bezier(0.2, 0, 0.2, 1), filter 2s ease;
}

/* --- SERVICES EXPANDED CONTENT --- */
.k-item__details {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.k-item__details li {
  font-size: 0.8rem;
  opacity: 0.7;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.k-item__details li::before {
  content: "→ ";
  opacity: 0.4;
}

.k-item__tools {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-top: 0.8rem;
  letter-spacing: 0.5px;
}

/* --- JOURNEY PAGE (Horizontal Museum) --- */
.journey-museum {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.museum-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.museum-panel {
  min-width: 80vw;
  max-width: 80vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 5% 8%;
  position: relative;
  flex-shrink: 0;
}

.museum-panel--intro,
.museum-panel--outro {
  min-width: 60vw;
  max-width: 60vw;
  flex-direction: column;
  text-align: center;
}

.museum-panel--intro h2,
.museum-panel--outro h2 {
  font-size: clamp(3rem, 8vw, 7rem);
  color: var(--text);
}

.museum-panel--intro p {
  color: #ccc;
  margin-top: 1rem;
}

.m-panel__img-wrap {
  flex: 0 0 45%;
  height: 70%;
  overflow: hidden;
  border-radius: 4px;
}

.m-panel__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%);
  transition: filter 0.5s ease;
}

.museum-panel:hover .m-panel__img-wrap img {
  filter: grayscale(0%);
}

.m-panel__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.m-panel__date {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--teal);
}

.m-panel__content h3 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--text);
}

.m-panel__content p {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 400px;
}

/* Vertical line between panels */
.museum-panel::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.museum-panel:last-child::after {
  display: none;
}

@media (max-width: 768px) {
  .museum-panel {
    min-width: 90vw;
    max-width: 90vw;
    flex-direction: column;
    padding: 10% 6%;
    gap: 2rem;
  }

  .m-panel__img-wrap {
    flex: 0 0 auto;
    height: 40vh;
    width: 100%;
  }
}

/* --- ABOUT SPLIT LAYOUT --- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.about-photo {
  position: sticky;
  top: 120px;
}

.about-photo img {
  width: 100%;
  max-width: 420px;
  border-radius: 4px;
  filter: grayscale(40%) contrast(110%);
  transition: filter 0.5s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-photo:hover img {
  filter: grayscale(0%) contrast(100%);
}

.about-bio {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-commit {
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #ccc;
  transition: border-color 0.3s, background 0.3s;
}

.about-commit:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.commit-hash {
  color: #f1fa8c;
  font-weight: 700;
}

.commit-msg {
  color: #50fa7b;
}

@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-photo {
    position: relative;
    top: auto;
  }

  .about-photo img {
    max-width: 100%;
  }
}

/* ==========================================================================
   ABOUT - BENTO GRID
   ========================================================================== */
.page-about {
  background: var(--bg);
  color: var(--text);
}

.about-bento {
  padding: 15vh var(--pad) 10vh;
  max-width: 1400px;
  margin: 0 auto;
}

/* Old 4-col bento-grid removed — using 12-col version below */

.bento-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.bento-eyebrow {
  font-size: 0.85rem;
  color: var(--teal);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Photo */
.bento-photo {
  grid-column: span 1;
  grid-row: span 3;
  padding: 0;
  border: none;
}

.bento-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%) contrast(1.1);
  transition: filter 0.5s ease, transform 0.8s ease;
}

.bento-photo:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.bento-photo__label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text);
}

/* Hero Intro */
.bento-hero {
  grid-column: span 3;
  grid-row: span 2;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.bento-name {
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  color: var(--text);
  margin-bottom: 1rem;
}

.bento-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #ccc;
  max-width: 80%;
  line-height: 1.6;
}

.bento-cta {
  margin-top: 2rem;
  display: inline-block;
  align-self: flex-start;
  color: var(--teal);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.bento-cta:hover {
  color: var(--teal-light);
}

/* Stats */
.bento-stats {
  grid-column: span 3;
  grid-row: span 1;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-num {
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--text);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 0.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, 0.1);
}

/* Roles */
.bento-role {
  grid-column: span 1;
  grid-row: span 1;
  justify-content: space-between;
}

.role-num {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
}

.bento-role h3 {
  font-size: 1.8rem;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.bento-role p {
  font-size: 0.8rem;
  color: var(--teal);
  line-height: 1.4;
}

/* Leadership */
.bento-leadership {
  grid-column: span 1;
  grid-row: span 1;
  background: rgba(56, 189, 248, 0.05);
  /* very faint teal */
}

.leadership-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.leadership-row:last-child {
  margin-bottom: 0;
}

.leadership-title {
  font-size: 1.5rem;
  color: var(--text);
}

.leadership-org {
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 0.2rem;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-photo {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 16/9;
  }

  .bento-hero,
  .bento-stats {
    grid-column: span 2;
  }
}

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

  .bento-card {
    grid-column: span 1 !important;
    grid-row: auto !important;
  }

  .bento-photo {
    aspect-ratio: 4/5;
  }

  .bento-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .stat-divider {
    width: 60%;
    height: 1px;
  }
}

/* ==========================================================================
   JOURNEY - VERTICAL TIMELINE
   ========================================================================== */
.journey-hero {
  padding: 20vh var(--pad) 10vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.journey-hero__title {
  font-size: clamp(4rem, 12vw, 10rem);
  color: var(--text);
  line-height: 1;
}

.journey-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5vh var(--pad) 15vh;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1) 10%, rgba(255, 255, 255, 0.1) 90%, transparent);
  transform: translateX(-50%);
}

.tl-item {
  position: relative;
  width: 50%;
  padding-right: 5rem;
  margin-bottom: 8rem;
}

.tl-item--right {
  margin-left: auto;
  padding-right: 0;
  padding-left: 5rem;
}

.tl-marker {
  position: absolute;
  top: 0;
  right: -0.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  transform: translateX(100%);
  width: max-content;
}

.tl-item--right .tl-marker {
  left: -0.5rem;
  right: auto;
  transform: translateX(-100%);
  flex-direction: row-reverse;
}

.tl-dot {
  width: 1rem;
  height: 1rem;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

.tl-year {
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: 2px;
}

.tl-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tl-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(80%);
  transition: filter 0.5s;
}

.tl-item:hover .tl-img {
  filter: grayscale(0%);
}

.tl-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.tl-text p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}

.tl-end {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10rem;
  position: relative;
  z-index: 1;
}

.tl-dot--end {
  margin-bottom: 2rem;
  width: 1.5rem;
  height: 1.5rem;
}

.tl-end h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--text);
}

@media (max-width: 768px) {
  .timeline-line {
    left: 1rem;
    transform: none;
  }

  .tl-item {
    width: 100%;
    padding-left: 4rem;
    padding-right: 0;
  }

  .tl-item--right {
    margin-left: 0;
  }

  .tl-marker {
    left: 0.5rem;
    right: auto;
    transform: none;
    flex-direction: row-reverse;
  }

  .tl-item--right .tl-marker {
    left: 0.5rem;
    transform: none;
  }

  .tl-year {
    font-size: 1rem;
  }
}

/* ==========================================================================
   OPTION 1: CINEMATIC EDITORIAL (ABOUT + JOURNEY)
   ========================================================================== */
.cinematic-theme {
  background: #0a0a0a;
  color: #fff;
}

/* --- CINEMATIC ABOUT --- */
.cinematic-main {
  width: 100%;
  overflow: hidden;
}

/* Hero Section */
.cine-hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  position: relative;
}

.cine-text-wrap {
  flex: 1;
  z-index: 2;
}

.cine-title {
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 0.85;
  margin-bottom: 2rem;
  letter-spacing: -2px;
}

.cine-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--teal);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cine-img-wrap {
  position: absolute;
  right: var(--pad);
  width: 45%;
  height: 70vh;
  overflow: hidden;
  border-radius: 4px;
}

.cine-img {
  width: 100%;
  height: 120%;
  /* for parallax */
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.cine-img-wrap:hover .cine-img {
  filter: grayscale(0%);
}

.cine-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #0a0a0a 0%, transparent 50%);
}

/* Bio Section */
.cine-bio {
  padding: 15vh var(--pad);
}

.cine-bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.cine-section-title {
  font-size: clamp(3rem, 6vw, 5rem);
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 4rem;
}

.cine-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cine-stat {
  display: flex;
  flex-direction: column;
}

.cine-stat-num {
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1;
}

.cine-stat-label {
  color: var(--teal);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cine-body {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  line-height: 1.4;
  color: #ddd;
  margin-bottom: 2rem;
}

.cine-roles {
  margin-top: 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cine-role {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s, padding-left 0.3s;
}

.cine-role:hover {
  color: var(--teal);
  padding-left: 2rem;
}

.cine-role span {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.3);
}

.cine-role h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

/* CTA */
.cine-cta {
  padding: 10vh var(--pad) 20vh;
  text-align: center;
}

/* --- CINEMATIC JOURNEY (FILM STRIP) --- */
.film-strip-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.film-strip-track {
  display: flex;
  height: 100%;
  padding: 0 10vw;
  /* initial padding */
  align-items: center;
}

.film-frame {
  position: relative;
  width: 60vw;
  height: 60vh;
  flex-shrink: 0;
  margin-right: 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.frame-intro,
.frame-outro {
  border: none;
  width: 40vw;
}

.frame-bg {
  position: absolute;
  inset: -10%;
  /* for parallax padding */
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.4);
  transition: filter 0.8s ease;
}

.film-frame:hover .frame-bg {
  filter: grayscale(0%) brightness(0.7);
}

.frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
}

.frame-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.frame-meta {
  color: var(--teal);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.frame-title {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.frame-desc {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  color: #ccc;
  max-width: 400px;
  margin: 0 auto;
}

/* Media Queries */
@media (max-width: 1024px) {
  .cine-img-wrap {
    position: relative;
    right: auto;
    width: 100%;
    height: 50vh;
    margin-top: 4rem;
  }

  .cine-hero {
    flex-direction: column;
    justify-content: center;
    height: auto;
    padding-top: 15vh;
  }

  .cine-bio-grid {
    grid-template-columns: 1fr;
  }

  .film-frame {
    width: 80vw;
  }
}

@media (max-width: 768px) {
  .cine-img-wrap {
    height: 40vh;
  }

  .cine-role {
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .cine-role:hover {
    padding-left: 1rem;
  }

  .film-frame {
    width: 90vw;
    height: 50vh;
  }
}

/* ==========================================================================
   OPTION 3: THE INTERACTIVE DECK (ABOUT + JOURNEY)
   ========================================================================== */
.deck-theme {
  background: #f0f0f0;
  /* Light theme for a clean app feel */
  color: #121212;
}

/* Nav Overrides for Light Theme */
.nav-dark .nav__logo-text,
.nav-dark .nav__menu-btn span {
  color: #121212 !important;
}

.btn-dark {
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

.bars-dark i {
  background: #121212 !important;
}

.invert-logo {
  filter: invert(1);
}

/* --- DECK ABOUT --- */
.deck-about-section {
  position: relative;
  width: 100%;
  height: 300vh;
  /* space for scrolling */
  padding-top: 15vh;
}

.deck-sticky-container {
  position: sticky;
  top: 15vh;
  width: 90%;
  max-width: 1000px;
  height: 70vh;
  margin: 0 auto;
}

.deck-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform-origin: bottom center;
  will-change: transform, opacity;
}

/* Card 3: Bottom Layer (Metrics) */
.deck-card-3 {
  background: #111;
  color: #fff;
  z-index: 1;
}

.dc-content {
  padding: 4rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dc-title {
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 3rem;
}

.dc-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.dc-stats span {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  display: block;
}

.dc-stats p {
  color: #888;
  margin-top: 1rem;
}

.dc-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--teal);
  color: #111;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  align-self: flex-start;
  transition: transform 0.3s;
}

.dc-btn:hover {
  transform: scale(1.05);
}

/* Card 2: Middle Layer (Bio) */
.deck-card-2 {
  background: #e0e0e0;
  color: #111;
  z-index: 2;
}

.dc-split {
  flex-direction: row;
  justify-content: space-between;
  gap: 4rem;
}

.dc-left {
  flex: 1;
}

.dc-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.dc-body {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.5;
  color: #333;
}

.dc-list {
  list-style: none;
  padding: 0;
}

.dc-list li {
  font-size: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Card 1: Top Layer (Hero) */
.deck-card-1 {
  background: #fff;
  z-index: 3;
  display: flex;
}

.dc-hero-img {
  width: 45%;
  height: 100%;
}

.dc-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.dc-hero-text {
  flex: 1;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dc-hero-text h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.9;
  margin-bottom: 2rem;
  white-space: nowrap;
}

/* --- DECK JOURNEY --- */
.deck-journey-section {
  padding: 15vh 0;
}

.dj-header {
  text-align: center;
  margin-bottom: 10vh;
}

.dj-header h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

.dj-stack {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

.dj-card {
  height: 150vh;
  /* Make the scroll area for each card much taller */
  position: relative;
  margin-bottom: -90vh;
  /* Cards still overlap visually */
}

.dj-card:last-child {
  margin-bottom: 20vh;
}

.dj-card-inner {
  width: 100%;
  height: 60vh;
  /* The actual visible card stays 60vh */
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  overflow: hidden;
  will-change: transform;
}

.dj-img {
  width: 40%;
  height: 100%;
}

.dj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dj-text {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dj-date {
  color: var(--teal);
  margin-bottom: 1rem;
}

.dj-text h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.dj-text p {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.5;
}

/* Media Queries */
@media (max-width: 768px) {
  .dc-split {
    flex-direction: column;
  }

  .dc-right {
    justify-content: flex-start;
  }

  .deck-card-1 {
    flex-direction: column;
  }

  .dc-hero-img {
    width: 100%;
    height: 50%;
  }

  .dc-hero-text {
    padding: 2rem;
    height: 50%;
  }

  .dc-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .dc-content {
    padding: 2rem;
  }

  .dj-card-inner {
    flex-direction: column;
  }

  .dj-img {
    width: 100%;
    height: 40%;
  }

  .dj-text {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   GLOBAL UPDATES: HAMBURGER, HIGHLIGHT ANIMATION, WATERMARK
   ========================================================================== */



/* Light theme overrides for better hamburger */
.btn-dark {
  background: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

.btn-dark:hover {
  background: #111 !important;
  border-color: #111 !important;
}

.btn-dark:hover .nav__bars i {
  background: #fff !important;
}

/* Text Highlight Animation globally */
/* We'll apply this to .tw-type elements or specific headings on hover */
.text-highlight {
  position: relative;
  display: inline-block;
}

.text-highlight::after,
.tw-type:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--teal);
  z-index: -1;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.tw-type {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.tw-type:hover::after,
.text-highlight:hover::after,
.menu-overlay__link:hover::after {
  transform: scaleX(1);
}

.menu-overlay__link {
  position: relative;
  display: inline-block;
}

.menu-overlay__link::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: -5%;
  width: 110%;
  height: 40%;
  background: var(--teal);
  z-index: -1;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  mix-blend-mode: difference;
}

/* Global Watermark */
body::before {
  content: 'Hx';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80vw;
  /* Massive size */
  line-height: 1;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  z-index: -10;
  white-space: nowrap;
}

/* Adjust watermark for light theme */
.deck-theme::before {
  color: rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   JOURNEY: ORBITAL TIMELINE
   ========================================================================== */
.orbital-section {
  padding: 20vh 5vw;
  max-width: 1200px;
  margin: 0 auto;
}

.orbital-header {
  text-align: center;
  margin-bottom: 20vh;
}

.orbital-header h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.9;
  margin-bottom: 1rem;
}

.orbital-timeline {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15vh;
  padding-bottom: 10vh;
}

/* The central line */
.orbital-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
  z-index: 0;
}

.orbital-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--teal);
  box-shadow: 0 0 15px var(--teal);
}

/* Individual nodes */
.orbital-node {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.orb {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #111;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  z-index: 2;
}

.orb.active {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 0 20px var(--teal);
  transform: translate(-50%, -50%) scale(1);
}

.orbital-content {
  width: 40%;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  opacity: 0.3;
  /* dim until active */
  transition: all 0.5s ease;
}

.orbital-node.align-left .orbital-content {
  margin-right: 50%;
  text-align: right;
  transform: translateX(-30px);
}

.orbital-node.align-right .orbital-content {
  margin-left: 50%;
  text-align: left;
  transform: translateX(30px);
}

.orbital-node.active .orbital-content {
  opacity: 1;
  transform: translateX(0);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.orbital-date {
  color: var(--teal);
  font-size: 0.9rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 1rem;
}

.orbital-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.orbital-content p {
  font-family: 'Inter', sans-serif;
  color: #aaa;
  line-height: 1.6;
}

/* Media Queries for Orbital */
@media (max-width: 768px) {
  .orbital-line {
    left: 20px;
  }

  .orb {
    left: 20px;
  }

  .orbital-node {
    justify-content: flex-start;
  }

  .orbital-node.align-left .orbital-content,
  .orbital-node.align-right .orbital-content {
    margin-right: 0;
    margin-left: 50px;
    width: calc(100% - 50px);
    text-align: left;
    transform: translateX(20px);
  }

  .orbital-node.active .orbital-content {
    transform: translateX(0);
  }
}


/* Global Heading Highlights */


h1::after,
h2::after,
h3::after,
h4::after,
h5::after,
h6::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--teal);
  z-index: -1;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  mix-blend-mode: overlay;
}

h1:hover::after,
h2:hover::after,
h3:hover::after,
h4:hover::after,
h5:hover::after,
h6:hover::after {
  transform: scaleX(1);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  position: relative;
  z-index: 1;
}




/* === ROAD TIMELINE === */
.road-section {
  padding: 15vh 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.road-header {
  text-align: center;
  margin-bottom: 25vh;
}

.road-header h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

.road-container {
  display: flex;
  flex-direction: column;
  gap: 80vh;
  /* large gap for the road scrolling effect */
  padding-bottom: 40vh;
}

.road-node {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  perspective: 1200px;
}

.road-photo {
  width: 45vw;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid #333;
  z-index: 2;
  opacity: 0;
  /* GSAP will animate */
  will-change: transform, opacity;
}

.road-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%) contrast(1.2);
  transition: filter 0.5s ease;
}

.road-photo:hover img {
  filter: grayscale(0%) contrast(1);
}

.road-text {
  position: absolute;
  width: 400px;
  z-index: 3;
  padding: 2.5rem;
  background: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  opacity: 0;
  /* GSAP will animate */
  will-change: transform, opacity;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.road-date {
  color: var(--teal);
  font-size: 0.85rem;
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.road-text h2 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.road-text p {
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .road-photo {
    width: 85vw;
  }

  .road-text {
    width: 90vw;
    position: relative;
    margin-top: -10vh;
    /* overlap */
  }

  .road-node {
    flex-direction: column;
  }
}

/* === OLD BARE HAMBURGER STYLES REMOVED === */

/* Ensure header and menu are ALWAYS on top */
.nav {
  position: fixed !important;
  z-index: 9999 !important;
  box-sizing: border-box !important;
}

.nav__menu-btn {
  position: relative !important;
  z-index: 10000 !important;
  pointer-events: auto !important;
}


/* The actual Visual Road Graphic */
.road-container {
  position: relative;
}

.road-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(150px, 30vw);
  background: #111;
  border-left: 2px solid var(--teal-dim);
  border-right: 2px solid var(--teal-dim);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
  z-index: 0;
}

.road-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0.4) 40px, transparent 40px, transparent 80px);
  z-index: 1;
}

.menu-overlay__item,
.menu-overlay li,
li {
  list-style: none !important;
}


/* Header Improvements */
.nav {
  background: rgba(26, 26, 26, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Fix page-cta layout so it stacks nicely */
.page-cta {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1.5rem !important;
}

.page-cta h2 {
  margin-bottom: 0 !important;
}

/* Override hover underlines to be actual thin underlines */
.text-highlight::after,
.tw-type:hover::after,
.tw-type::after {
  height: 2px !important;
  bottom: -4px !important;
  background: var(--teal) !important;
  mix-blend-mode: normal !important;
  z-index: 1 !important;
}

/* Make global headings also use the thin underline if they have it */
h1::after,
h2::after,
h3::after,
h4::after,
h5::after,
h6::after {
  height: 2px !important;
  bottom: -4px !important;
  background: var(--teal) !important;
  mix-blend-mode: normal !important;
}

/* Old Sleeker Hamburger Improvements removed */



/* Work Filters */
.filter-btn {
  background: transparent;
  border: none;
  color: var(--paper-3);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.3s;
  padding-bottom: 5px;
  position: relative;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--teal);
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.filter-btn.active::after {
  transform: scaleX(1);
}

/* Filtered State Override */
.masonry-container.is-filtered {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3rem !important;
}

.masonry-container.is-filtered .masonry-item {
  width: 100% !important;
  max-width: 800px !important;
  margin: 0 !important;
  position: relative !important;
  left: 0 !important;
  transform: none !important;
}

/* Contact Page Overhaul */
.contact-bg-overlay {
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background-color: transparent;
  z-index: 1;
  pointer-events: none;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0.8s cubic-bezier(0.19, 1, 0.22, 1), background-color 0.4s ease;
}

.contact-huge-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-link {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.4s ease, opacity 0.4s ease, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  z-index: 10;
  opacity: 1;
  display: block;
}

.contact-huge-links:hover .contact-link {
  opacity: 0.15;
}

.contact-huge-links .contact-link:hover {
  opacity: 1;
  color: #fff;
  transform: translateX(20px);
}

/* --- PREMIUM FOOTER OVERRIDES --- */
.footer {
  background: var(--bg);
  padding: clamp(4rem, 8vh, 8rem) var(--pad) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  clip-path: none;
  text-align: left;
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(3rem, 6vh, 6rem);
  flex-wrap: wrap;
  gap: 3rem;
}

.footer__massive {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 15rem);
  font-weight: 900;
  line-height: 0.75;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
  margin-left: -0.04em;
}

.footer__nav {
  display: flex;
  gap: clamp(2rem, 5vw, 5rem);
  flex-wrap: wrap;
}

.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__nav-col span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer__nav-col a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s, transform 0.3s;
}

.footer__nav-col a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__logo {
  width: 32px;
  height: 32px;
  filter: invert(1);
  opacity: 0.8;
  margin: 0;
}

.footer__copy,
.footer__back-to-top {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__back-to-top:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__nav {
    width: 100%;
    justify-content: flex-start;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer__nav-col {
    min-width: 40%;
  }
}

/* --- LEGAL PAGES ALIGNMENT OVERRIDE --- */
body.page-legal .section,
body.page-legal .page-hero,
body.page-legal .container,
body.page-legal .section__eyebrow,
body.page-legal h1,
body.page-legal .legal-content,
body.page-legal .legal-section,
body.page-legal .legal-section p,
body.page-legal .legal-heading {
  text-align: left !important;
}

body.page-legal .accent-line {
  margin-left: 0 !important;
}

body.page-legal .page-hero {
  align-items: flex-start !important;
}

/* --- WORK MODAL --- */
.work-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.work-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.work-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
}

.work-modal__box {
  position: relative;
  width: 100%;
  max-width: 1100px;
  background: var(--dark-bg, #1a1a1a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: row;
  height: 80vh;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-modal[aria-hidden="false"] .work-modal__box {
  transform: translateY(0) scale(1);
}

.work-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.work-modal__media {
  flex: 2;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.work-modal__media iframe,
.work-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.work-modal__media iframe {
  object-fit: contain;
}

.work-modal__info {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-dark);
}

.work-modal__num {
  font-size: 0.9rem;
  color: var(--teal);
  margin-bottom: 1rem;
}

.work-modal__title {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.work-modal__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .work-modal {
    padding: 1rem;
  }

  .work-modal__box {
    flex-direction: column;
    height: 90vh;
  }

  .work-modal__media {
    flex: 1;
    min-height: 50%;
  }

  .work-modal__info {
    padding: 2rem 1.5rem;
    flex: none;
  }

  .work-modal__title {
    font-size: 2rem;
  }
}

/* --- GLOBAL MOBILE FIXES --- */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .hero-big-text {
    font-size: clamp(3rem, 15vw, 5rem) !important;
  }

  .masonry-item {
    --m-w: 100% !important;
    --m-offset: 0% !important;
    margin-top: 2rem !important;
  }

  .footer__massive {
    font-size: 18vw !important;
  }

  .footer__nav {
    flex-direction: column !important;
    gap: 2rem !important;
  }

  .section,
  .page-hero {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .nav {
    padding: 1rem !important;
  }

  .menu-overlay__links {
    margin-left: 1rem !important;
  }

  .menu-overlay__item a {
    font-size: 2.5rem !important;
  }
}

/* --- BENTO GALLERY REDESIGN --- */
.bento-gallery {
  padding-bottom: 6rem;
}

.bento-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 1.5rem;
  width: 100%;
}

.bento-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: #111;
  transform: translateZ(0);
}

.bento-item.hidden {
  display: none !important;
}

.col-span-1 {
  grid-column: span 1;
}

.col-span-2 {
  grid-column: span 2;
}

.col-span-3 {
  grid-column: span 3;
}

.col-span-4 {
  grid-column: span 4;
}

.row-span-1 {
  grid-row: span 1;
}

.row-span-2 {
  grid-row: span 2;
}

.bento-item__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bento-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.bento-item__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.bento-num {
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.bento-title {
  font-size: 1.8rem;
  color: #fff;
  margin: 0 0 0.5rem 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.bento-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Hover Effects */
@media (hover: hover) {
  .bento-item:hover .bento-item__bg {
    transform: scale(1.05);
  }

  .bento-item:hover .bento-item__overlay {
    opacity: 0.9;
  }

  .bento-item:hover .bento-item__content {
    transform: translateY(0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .bento-container {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .col-span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .bento-container {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .col-span-1,
  .col-span-2,
  .col-span-3,
  .col-span-4 {
    grid-column: span 1;
  }

  .row-span-2 {
    grid-row: span 1;
  }
}

.work-modal__media iframe {
  object-fit: contain;
}

.work-modal__info {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-dark);
}

.work-modal__num {
  font-size: 0.9rem;
  color: var(--teal);
  margin-bottom: 1rem;
}

.work-modal__title {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.work-modal__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .work-modal {
    padding: 1rem;
  }

  .work-modal__box {
    flex-direction: column;
    height: 90vh;
  }

  .work-modal__media {
    flex: 1;
    min-height: 50%;
  }

  .work-modal__info {
    padding: 2rem 1.5rem;
    flex: none;
  }

  .work-modal__title {
    font-size: 2rem;
  }
}

/* --- GLOBAL MOBILE FIXES --- */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .hero-big-text {
    font-size: clamp(3rem, 15vw, 5rem) !important;
  }

  .masonry-item {
    --m-w: 100% !important;
    --m-offset: 0% !important;
    margin-top: 2rem !important;
  }

  .footer__massive {
    font-size: 18vw !important;
  }

  .footer__nav {
    flex-direction: column !important;
    gap: 2rem !important;
  }

  .section,
  .page-hero {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .nav {
    padding: 1rem !important;
  }

  .menu-overlay__links {
    margin-left: 1rem !important;
  }

  .menu-overlay__item a {
    font-size: 2.5rem !important;
  }
}

/* --- BENTO GALLERY REDESIGN --- */
.bento-gallery {
  padding-bottom: 6rem;
}

.bento-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 1.5rem;
  width: 100%;
}

.bento-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: #111;
  transform: translateZ(0);
}

.bento-item.hidden {
  display: none !important;
}

.col-span-1 {
  grid-column: span 1;
}

.col-span-2 {
  grid-column: span 2;
}

.col-span-3 {
  grid-column: span 3;
}

.col-span-4 {
  grid-column: span 4;
}

.row-span-1 {
  grid-row: span 1;
}

.row-span-2 {
  grid-row: span 2;
}

.bento-item__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bento-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.bento-item__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.bento-num {
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.bento-title {
  font-size: 1.8rem;
  color: #fff;
  margin: 0 0 0.5rem 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.bento-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Hover Effects */
@media (hover: hover) {
  .bento-item:hover .bento-item__bg {
    transform: scale(1.05);
  }

  .bento-item:hover .bento-item__overlay {
    opacity: 0.9;
  }

  .bento-item:hover .bento-item__content {
    transform: translateY(0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .bento-container {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .col-span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .bento-container {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .col-span-1,
  .col-span-2,
  .col-span-3,
  .col-span-4 {
    grid-column: span 1;
  }

  .row-span-2 {
    grid-row: span 1;
  }
}

/* Fix for footer visibility on deck-theme (about page) */
body.deck-theme .footer,
.footer--light {
  background: #fff !important;
  color: #000 !important;
}

.footer--light p,
.footer--light a,
.footer--light span,
.footer--light h2 {
  color: #000 !important;
}

.footer--light .footer__logo {
  filter: invert(1);
}

/* Services page: solid footer bg to prevent fixed bg bleed */
body.page-services .footer {
  background: #000 !important;
  position: relative;
  z-index: 2;
}

/* Floating Back to Top Button */
.floating-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.floating-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Kinetic Accordion size reduction */
.kinetic-accordion {
  max-width: 900px;
  margin: 0 auto;
}

/* =========================================
   MASONRY GALLERY (WORKS PAGE)
   ========================================= */
.masonry-gallery {
  width: 100%;
}

.masonry-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1px;
  grid-auto-flow: row;
  row-gap: 0;
  column-gap: 2rem;
  align-items: start;
  width: 100%;
}

.size-s {
  grid-column: span 2;
}

.size-m {
  grid-column: span 3;
}

.size-l {
  grid-column: span 4;
}

.size-xl {
  grid-column: span 6;
}

@media (max-width: 1024px) {
  .size-s {
    grid-column: span 3;
  }

  .size-m {
    grid-column: span 3;
  }

  .size-l {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .masonry-container {
    grid-template-columns: 1fr;
  }

  .size-s,
  .size-m,
  .size-l,
  .size-xl {
    grid-column: span 1;
  }
}

.masonry-card {
  break-inside: avoid;
  margin-bottom: 2rem;
  display: block;
  position: relative;
  background: var(--paper-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  opacity: 0;
  /* for scroll trigger */
  transform: translateY(30px);
}

.masonry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 2px var(--teal-glow);
  border-color: var(--teal);
}

.masonry-card__bg {
  width: 100%;
  height: auto;
  aspect-ratio: var(--card-aspect-ratio, 3/4);
  background: #111;
  overflow: hidden;
}

.masonry-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.masonry-card:hover .masonry-card__bg img {
  transform: scale(1.05);
}

.masonry-card__content {
  padding: 1.5rem;
  position: relative;
}

.masonry-title {
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.masonry-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.masonry-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.8rem;
  color: var(--teal);
  opacity: 0.8;
  pointer-events: none;
}

/* =========================================
   DIGITAL 3D CAROUSEL (DIGITAL PAGE)
   ========================================= */
.digital-card {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -150px;
  /* half of height */
  margin-left: -125px;
  /* half of width */
  width: 250px;
  height: 300px;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(0, 255, 204, 0.2);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(0, 255, 204, 0.05);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  user-select: none;
  cursor: pointer;
}

.digital-card:hover {
  border-color: var(--teal-light);
  box-shadow: 0 0 30px rgba(0, 255, 204, 0.3), inset 0 0 20px rgba(0, 255, 204, 0.2);
}

.digital-card__bg {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 255, 204, 0.2);
  border-radius: 8px 8px 0 0;
}

.digital-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s;
  pointer-events: none;
}

.digital-card:hover .digital-card__bg img {
  opacity: 1;
}

.glitch-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 255, 204, 0.1);
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.digital-card:hover .glitch-overlay {
  opacity: 1;
  animation: rgb-shift 0.2s infinite alternate;
}

.digital-card__content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.digital-title {
  color: var(--teal-light);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  text-shadow: 0 0 5px rgba(0, 255, 204, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.digital-desc {
  font-size: 0.75rem;
  color: #888;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes rgb-shift {
  0% {
    transform: translate(2px, 1px);
  }

  25% {
    transform: translate(-1px, -2px);
  }

  50% {
    transform: translate(-2px, 1px);
  }

  75% {
    transform: translate(1px, 2px);
  }

  100% {
    transform: translate(1px, -1px);
  }
}


.footer__massive span {
  font-size: inherit !important;
  font-family: inherit !important;
  color: var(--teal-light) !important;
  opacity: 1 !important;
}

/* Experience Table UI */
.exp-table {
  width: 100%;
  border-top: 2px solid var(--teal-dim);
  margin-top: 4rem;
  padding-bottom: 10vh;
}

.exp-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0;
  align-items: center;
  transition: background 0.3s, padding-left 0.3s;
}

.exp-row:hover {
  background: rgba(42, 122, 122, 0.05);
  padding-left: 1rem;
}

.exp-col-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--paper-3);
  letter-spacing: 0.1em;
}

.exp-col-company {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.exp-col-details {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  color: var(--paper-3);
  line-height: 1.5;
  opacity: 0.7;
  text-transform: lowercase;
}

@media (max-width: 768px) {
  .exp-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }
}

/* ===== PREMIUM CURSOR ===== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  pointer-events: none;
  mix-blend-mode: difference;
  will-change: transform;
  display: none;
}

body.has-cursor .cursor {
  display: block;
}

.cursor__dot {
  width: 32px;
  height: 32px;
  background: url('../_assets/cursor.png') no-repeat center center !important;
  background-size: contain !important;
  border-radius: 0;
  box-shadow: none !important;
  margin: 0;
  transform-origin: top left;
  transition: transform 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.cursor__dot.cursor-hover {
  transform: scale(1.5); /* Scale up slightly on hover instead of massively */
}

.cursor__ring {
  display: none !important; /* Hide the trailing ring to focus on the custom X */
}
/* ===== EXPORTED FROM INDEX.HTML ===== */

/* ===== HERO ===== */
.home-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0a2e2e 0%, #0d3b3b 30%, #0f4040 60%, #0a2929 100%);
  overflow: hidden;
  z-index: 1;
}

.home-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 212, 191, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
}

.home-hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  filter: blur(60px);
}

.home-hero__text-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  overflow: visible;
}

.home-hero__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 18vw, 16rem);
  color: #f5f0e8;
  letter-spacing: 0.02em;
  line-height: 0.85;
  margin: 0;
  position: relative;
  text-decoration: none !important;
}

.home-hero__name--hertx {
  display: block;
  transition: opacity 0.01s;
}

.home-hero__name--real {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  cursor: pointer;
  text-decoration: none !important;
}



/* Individual character spans */
.hero-char {
  display: inline-block;
  will-change: transform, opacity;
  text-decoration: none !important;
}

.home-hero__scroll {
  position: absolute;
  bottom: 3vh;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  color: rgba(245, 240, 232, 0.3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

.home-hero__scroll span {
  display: inline-block;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

.home-hero__location {
  position: absolute;
  bottom: 10vh;
  left: 5vw;
  z-index: 2;
}

.home-hero__location p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
  writing-mode: vertical-rl;
}

.home-hero__location p:first-child {
  color: rgba(245, 240, 232, 0.2);
}

.home-hero__location p:last-child {
  color: #2dd4bf;
  margin-top: 0.5rem;
  opacity: 0.6;
}

/* ===== CONTENT WRAP (scrolls over hero) ===== */
.content-page {
  position: relative;
  z-index: 10;
  background: #111;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -40px 100px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

/* ===== BIO ===== */
.home-bio {
  padding: 15vh 8vw;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 100vh;
}

.home-bio__text {
  max-width: 520px;
  text-align: right;
  opacity: 0;
  transform: translateY(50px);
}

.home-bio__text.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.home-bio__text p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 400;
  color: #999;
  line-height: 1.8;
  margin: 0;
}

.home-bio__text strong {
  color: #f5f0e8;
  font-weight: 500;
}

/* ===== EXPERIENCE ===== */
.home-exp {
  background: #0d0d0d;
  padding: 12vh 8vw 15vh;
}

.home-exp__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #f5f0e8;
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
}

.home-exp__label.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.home-exp__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid #1a1a1a;
  transition: border-color 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateY(40px);
}

.home-exp__row.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.3s;
}

.home-exp__row:first-of-type {
  border-top: 1px solid #1a1a1a;
}

.home-exp__row:hover {
  border-color: #2dd4bf;
  transform: translateX(8px);
}

.home-exp__year {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: #999;
  letter-spacing: 0.1em;
  padding-top: 0.3rem;
}

.home-exp__info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #f5f0e8;
  margin: 0 0 0.5rem;
}

.home-exp__info p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.home-footer {
  background: #0a0a0a;
  padding: 10vh 8vw;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 50vh;
  overflow: hidden;
  gap: 4rem;
}

.home-footer__brand h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(8rem, 20vw, 24rem);
  letter-spacing: -0.05em;
  line-height: 0.8;
  margin: 0;
  color: #f5f0e8;
  white-space: nowrap;
}

.home-footer__brand .tx {
  color: #2dd4bf;
}

.home-footer__content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-bottom: 1rem;
}

.home-footer__links {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
}

.home-footer__col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-footer__col a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  color: #555;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.home-footer__col a:hover {
  color: #f5f0e8;
  transform: translateX(5px);
}

.home-footer__left {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.home-footer__left img {
  width: 40px;
  height: 40px;
}

.home-footer__left p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: #444;
  letter-spacing: 0.1em;
  margin: 0;
}

/* ===== CUSTOM NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5vw;
  z-index: 100;
  pointer-events: none;
}

.nav>* {
  pointer-events: auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.nav__logo-img {
  width: 40px;
  height: 40px;
}

.nav__logo-text {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 1.5rem !important;
  color: #f5f0e8 !important;
  letter-spacing: 2px !important;
  display: block !important;
}

.nav__menu-btn {
  background: transparent !important;
  border: none !important;
  padding: 1rem !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  box-shadow: none !important;
  outline: none;
}

.nav__menu-btn:hover {
  transform: scale(1.15) !important;
}

.nav__bars {
  position: relative;
  width: 36px;
  height: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.nav__bars i {
  display: block;
  height: 2px;
  background: #fff;
  box-shadow: none;
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s, width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav__bars i:nth-child(1) {
  width: 100%;
}

.nav__bars i:nth-child(2) {
  width: 60%;
}

.nav__menu-btn:hover .nav__bars i:nth-child(2) {
  width: 100%;
}

.nav__menu-btn.open .nav__bars i {
  width: 100%;
}

.nav__menu-btn.open .nav__bars i:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav__menu-btn.open .nav__bars i:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* ===== BRAND NEW PREMIUM MENU OVERLAY ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.96) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0) !important;
  transition: clip-path 0.9s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s, visibility 0.4s;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important;
}

.menu-overlay__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 10vh 8vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-overlay__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  width: 100%;
}

.menu-overlay__item {
  list-style: none;
  overflow: hidden;
}

.menu-overlay__link {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: clamp(4rem, 10vw, 8rem) !important;
  color: #f5f0e8 !important;
  text-decoration: none;
  line-height: 0.85;
  display: inline-block;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  transform-origin: center center;
}

/* When ANY link is hovered, dim ALL links to outlines */
.menu-overlay__right:hover .menu-overlay__link {
  color: transparent !important;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
  transform: scale(0.95);
  opacity: 0.5;
}

/* Specifically style the HOVERED link */
.menu-overlay__right .menu-overlay__link:hover {
  color: transparent !important;
  -webkit-text-stroke: 2px var(--teal);
  transform: scale(1.15) skewX(-4deg);
  opacity: 1;
  letter-spacing: 4px;
}

.menu-overlay__rail {
  display: none !important;
}

@media (max-width: 768px) {
  .home-hero__location {
    display: none;
  }

  .home-bio {
    padding: 10vh 6vw;
    justify-content: center;
  }

  .home-bio__text {
    text-align: left;
  }

  .home-exp {
    padding: 8vh 6vw 10vh;
  }

  .home-exp__row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .home-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 8vh 6vw 5vh;
  }

  .home-footer__brand h2 {
    font-size: clamp(5rem, 18vw, 8rem);
  }

  .content-page {
    border-radius: 16px 16px 0 0;
  }
}


/* Digital Archive Table Styles */
.archive-row {
  display: grid;
  grid-template-columns: 80px 2fr 3fr 1.5fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #fff;
  transition: background 0.3s ease;
  font-family: inherit;
  font-size: 0.9rem;
  align-items: center;
}

.archive-row:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.archive-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.archive-col {
  display: flex;
  align-items: center;
}

.archive-year {
  color: #fff;
}

.archive-title {
  font-weight: 500;
}

.archive-url {
  color: rgba(255, 255, 255, 0.7);
}

.archive-category {
  font-weight: 600;
}

@media (max-width: 768px) {
  .archive-row {
    grid-template-columns: 50px 1fr 1fr;
    font-size: 0.8rem;
  }

  .archive-url {
    display: none;
  }
}


.word-reveal {
  display: inline-block;
  will-change: transform, opacity;
}


/* ==========================================================================
   RADICAL ABOUT PAGE (MUTHMAAR AESTHETIC)
   ========================================================================== */

.radical-about {
  width: 100%;
  overflow: hidden;
  background-color: var(--bg);
}

/* 1. Oversized Hero */
.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 5vw;
}

.about-hero__specs {
  position: absolute;
  top: 15vh;
  left: 5vw;
  right: 5vw;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(6rem, 15vw, 15rem);
  line-height: 0.85;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(5vh);
}

/* 2. Split Manifesto */
.about-manifesto {
  display: flex;
  min-height: 100vh;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.manifesto-left {
  flex: 0 0 35%;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5rem 3rem;
  position: relative;
}

.manifesto-label {
  position: sticky;
  top: 10rem;
  font-size: 1.2rem;
  color: var(--teal-light);
  letter-spacing: 0.2em;
}

.manifesto-right {
  flex: 1;
  padding: 10rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4rem;
}

.manifesto-right .aesthetic-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.4;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.manifesto-right .aesthetic-text.highlighted {
  color: #fff;
  font-weight: 500;
}

.manifesto-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 300;
  color: #fff;
  border-left: 4px solid var(--teal-light);
  padding-left: 2rem;
  margin-top: 2rem;
}

.manifesto-quote em {
  font-style: italic;
  color: var(--teal-light);
}

/* 3. Arsenal Marquee */
.about-arsenal {
  width: 100%;
  overflow: hidden;
  background: #050505;
}

/* 4. Edge-to-Edge Minecraft */
.about-aesthetics {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-aesthetics h2 {
  font-size: clamp(4rem, 12vw, 12rem);
  line-height: 0.85;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  color: var(--teal-light);
}

.about-aesthetics h2.outline-text {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

@media (max-width: 900px) {
  .about-manifesto {
    flex-direction: column;
  }
  .manifesto-left {
    flex: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
  }
  .manifesto-label {
    position: relative;
    top: 0;
  }
  .manifesto-right {
    padding: 4rem 2rem;
  }
}

/* ==========================================================================
   FRESH ABOUT PAGE (HOME TYPOGRAPHY INSPIRED)
   ========================================================================== */

.fresh-about {
  width: 100%;
  background-color: var(--bg);
  padding-top: 15vh;
}

/* 1. Minimal Typography Hero */
.fresh-hero {
  min-height: 50vh;
  padding: 0 6vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fresh-hero__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: var(--teal-light);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.fresh-hero__title {
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
  font-weight: 300;
}

.fresh-hero__title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
}

/* 2. Asymmetrical Bio (Home-Inspired) */
.fresh-bio {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 4rem;
  padding: 8rem 6vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fresh-bio__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fresh-bio__text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 2.5rem);
  line-height: 1.4;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
}

.fresh-bio__text strong {
  font-weight: 500;
  color: #fff;
}

/* 3. Clean Table Arsenal */
.fresh-arsenal {
  padding: 8rem 6vw;
}

.fresh-arsenal__row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  align-items: center;
  transition: all 0.3s ease;
}

.fresh-arsenal__row:hover {
  background: rgba(255, 255, 255, 0.02);
  padding-left: 2rem;
  padding-right: 2rem;
  margin-left: -2rem;
  margin-right: -2rem;
}

.fresh-arsenal__row:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.fresh-arsenal__category {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  color: var(--teal-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.fresh-arsenal__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 400;
  margin: 0;
}

.fresh-arsenal__desc {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .fresh-bio {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 5rem 6vw;
  }
  .fresh-arsenal__row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }
  .fresh-arsenal__row:hover {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
}

/* ==========================================================================
   PURE EDITORIAL ABOUT PAGE (MINIMALIST RESET)
   ========================================================================== */

.editorial-about {
  width: 100%;
  background-color: var(--bg);
  padding-top: 25vh;
  padding-bottom: 15vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.editorial-container {
  max-width: 800px;
  width: 100%;
  padding: 0 6vw;
  display: flex;
  flex-direction: column;
  gap: 25vh; /* Massive spacing between sections */
}

/* 1. Hero Title */
.editorial-hero {
  text-align: center;
}

.editorial-hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 12vw, 12rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  margin: 0;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
}

/* 2. Body Text (Bio & Ethos) */
.editorial-text-block {
  text-align: center;
}

.editorial-text-block p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.5;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.editorial-text-block strong {
  font-weight: 500;
  color: #fff;
}

.editorial-text-block.italic p {
  font-style: italic;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.2;
}

/* 3. The Arsenal List */
.editorial-arsenal {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  text-align: center;
}

.editorial-arsenal__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  color: var(--teal-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.editorial-arsenal__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.editorial-arsenal__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: #fff;
  font-weight: 300;
  margin: 0;
  transition: color 0.3s ease;
}

.editorial-arsenal__item:hover .editorial-arsenal__title {
  color: var(--teal-light);
}

.editorial-arsenal__desc {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* ==========================================================================
   APPLE PARALLAX FLOW (SCROLL SNAPPING)
   ========================================================================== */

/* The Scroll Snap Container */
.parallax-container {
  height: 100vh;
  width: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  /* Hide scrollbar for cleaner look */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.parallax-container::-webkit-scrollbar {
  display: none;
}

/* Individual Slides */
.parallax-slide {
  height: 100vh;
  width: 100vw;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  position: relative;
  overflow: hidden;
  background-color: #050505;
}

/* Slide 1: The Intro */
.slide-intro {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.slide-intro__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(6rem, 15vw, 18rem);
  line-height: 0.85;
  letter-spacing: 0.05em;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-scroll-indicator {
  position: absolute;
  bottom: 5vh;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  color: var(--teal-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: pulse 2s infinite;
}

/* Slide 2: Photo & Bio */
.slide-bio {
  display: flex;
  flex-direction: row;
}

.slide-bio__image {
  flex: 0 0 45%;
  height: 100%;
  background-image: url('/foto.png');
  background-size: cover;
  background-position: center top;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.slide-bio__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
}

.slide-bio__text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 3.5rem);
  line-height: 1.3;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.slide-bio__text strong {
  font-weight: 500;
  color: #fff;
}

/* Slide 3: The Arsenal */
.slide-arsenal {
  flex-direction: column;
  justify-content: center;
  padding: 0 10vw;
}

.slide-arsenal__grid {
  display: flex;
  flex-direction: column;
  gap: 3vh;
}

.slide-arsenal__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2vh;
}

.slide-arsenal__item h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  color: #fff;
  font-weight: 300;
  margin: 0 0 1vh 0;
}

.slide-arsenal__item p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* Slide 4: Aesthetics Reveal */
.slide-reveal {
  justify-content: center;
  align-items: center;
  background: #080808;
}

/* Responsive */
@media (max-width: 900px) {
  .slide-bio {
    flex-direction: column;
  }
  .slide-bio__image {
    flex: 0 0 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .slide-bio__content {
    flex: 1;
    padding: 0 5vw;
  }
}

/* ==========================================================================
   INTERACTIVE STORY MODE
   ========================================================================== */

.story-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #030303;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Image Layer */
.story-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/foto.png');
  background-size: cover;
  background-position: center 20%;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s ease;
  filter: grayscale(100%) contrast(1.2);
}

/* Glitch Animation for Image */
.glitch-anim {
  animation: glitch-skew 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes glitch-skew {
  0% { transform: skew(0deg); opacity: 0; filter: blur(0px); }
  20% { transform: skew(-20deg); opacity: 0.8; filter: blur(10px) invert(1); }
  40% { transform: skew(15deg); opacity: 0.2; filter: blur(0px); }
  60% { transform: skew(-5deg); opacity: 0.5; filter: blur(5px) invert(1); }
  80% { transform: skew(2deg); opacity: 0.3; filter: blur(0px); }
  100% { transform: skew(0deg); opacity: 0.25; filter: blur(0px); }
}

/* Content Layer */
.story-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  text-align: center;
  pointer-events: none; /* Let clicks pass to container */
}

/* Base Text Styles */
.story-text {
  margin: 0;
  color: #ffffff;
  transition: all 0.3s ease;
}

/* Scene-specific Typography */
.story-text--title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 12vw, 15rem);
  line-height: 0.85;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.story-text--bio {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1.2;
  font-weight: 300;
}

.story-text--arsenal {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--teal-light);
}

.story-text--quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 4vw, 4rem);
  line-height: 1.3;
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

/* Indicator */
.story-indicator {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.4);
  z-index: 3;
  pointer-events: none;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.8; }
}

/* ==========================================================================
   CINEMATIC FILM STRIP
   ========================================================================== */

.film-layout {
  position: relative;
  width: 100%;
  background-color: #050505;
  color: #fff;
  overflow-x: hidden;
}

/* Film Strip HUD */
.film-hud {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 100;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--teal-light);
}

.hud-top-left { position: absolute; top: 40px; left: 60px; display: flex; align-items: center; gap: 8px; }
.hud-top-right { position: absolute; top: 40px; right: 60px; }
.hud-bottom-left { position: absolute; bottom: 40px; left: 60px; }
.hud-bottom-right { position: absolute; bottom: 40px; right: 60px; font-variant-numeric: tabular-nums; }

.rec-dot {
  width: 8px;
  height: 8px;
  background-color: #ff3333;
  border-radius: 50%;
  display: inline-block;
  animation: rec-blink 1s infinite;
}

@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Film Container with Camera Viewfinder Grid */
.film-strip {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 0;
}

.film-strip::before,
.film-strip::after {
  content: '';
  position: absolute;
  top: 5vh;
  bottom: 5vh;
  width: 1px;
  background-image: linear-gradient(
    to bottom,
    var(--teal-light) 0%,
    var(--teal-light) 5%,
    transparent 5%,
    transparent 95%,
    var(--teal-light) 95%,
    var(--teal-light) 100%
  );
  opacity: 0.3;
  z-index: 10;
}

.film-strip::before {
  left: 40px;
}
.film-strip::after {
  right: 40px;
}

/* Horizontal Viewfinder Marks */
.film-layout::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 20px;
  width: 20px;
  height: 1px;
  background-color: var(--teal-light);
  opacity: 0.5;
  z-index: 100;
}

.film-layout::after {
  content: '';
  position: fixed;
  top: 50%;
  right: 20px;
  width: 20px;
  height: 1px;
  background-color: var(--teal-light);
  opacity: 0.5;
  z-index: 100;
}

/* Film Frames */
.film-frame {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 80px;
  border-top: 2px solid rgba(255,255,255,0.05);
  border-bottom: 2px solid rgba(255,255,255,0.05);
  margin-bottom: 20vh;
}

/* Specific Frame Styles */
.film-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: normal;
  line-height: 0.85;
  text-align: center;
  margin: 0;
}

.film-frame--photo {
  padding: 0 !important; /* Remove padding for edge-to-edge */
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.film-photo {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center 20%;
  filter: contrast(1.1) brightness(0.9) sepia(0.2) hue-rotate(-10deg);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: filter 0.8s cubic-bezier(0.2, 1, 0.2, 1), transform 0.8s cubic-bezier(0.2, 1, 0.2, 1);
  cursor: crosshair;
}

.film-photo:hover {
  filter: contrast(1.2) brightness(1.1) sepia(0) hue-rotate(0deg) saturate(1.5);
}

.film-bio {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1rem, 2vw, 1.8rem);
  line-height: 1.3;
  max-width: 900px;
  text-align: center;
  font-weight: 300;
}

.film-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.film-list li {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--teal-light);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.film-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  line-height: 1.4;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  text-align: center;
  max-width: 800px;
}

/* ==========================================================================
   ARYAN.AM STYLE ANIMATIONS & LAYOUT
   ========================================================================== */

/* Remove old static borders */
.film-frame {
  border-top: none !important;
  border-bottom: none !important;
  display: flex;
  flex-direction: column;
}

/* Asymmetric Alignment */
.align-left {
  align-items: flex-start;
  text-align: left;
}
.align-left .film-bio,
.align-left .film-quote {
  text-align: left;
  margin-left: 0;
}

.align-right {
  align-items: flex-end;
  text-align: right;
}
.align-right .film-list {
  text-align: right;
}

.align-center {
  align-items: center;
  text-align: center;
}

/* Expanding Dividers */
.expand-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
  transform: scaleX(0); /* Hidden initially */
  transform-origin: left center;
  margin: 40px 0;
}
.align-right .expand-divider {
  transform-origin: right center;
}

/* Masked Text Reveal Base */
.line-mask {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding-bottom: 0.1em; /* Prevent descender clipping */
}
.line-inner {
  display: inline-block;
  transform: translateY(110%); /* Hidden below the mask initially */
  will-change: transform;
}

/* ==========================================================================
   PHOTO GRID DISSOLVE (ARYAN.AM STYLE)
   ========================================================================== */
.film-photo {
  position: relative;
  overflow: hidden;
}

.pixel-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  /* 10 columns, dynamic rows (will be set in JS based on aspect ratio or fixed) */
  grid-template-columns: repeat(10, 1fr);
  pointer-events: none;
  z-index: 2;
}

.grid-block {
  width: 100%;
  height: 100%;
  background-color: #050505; /* Match site background */
  transform: scale(0); /* Hidden by default */
  transform-origin: center;
  will-change: transform;
.film-hud {
  pointer-events: none;
}

/* ==========================================================================
   SPLINE INTEGRATION STYLES
   ========================================================================== */

/* Fullscreen Spline Canvas */
.spline-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1; /* Below the UI but above background */
  overflow: hidden;
}

spline-viewer {
  width: 100%;
  height: 100%;
}

/* UI Overlay floating on top of Spline */
.spline-ui {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  pointer-events: none; /* Let clicks pass through to the 3D scene */
}

/* Re-enable pointer events for actual UI elements so they can be clicked */
.spline-ui .magnetic-btn {
  pointer-events: auto;
  backdrop-filter: blur(5px);
}

.spline-ui .overlay-title {
  color: var(--chalk);
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ==========================================================================
   CINEMATIC 3D ROOM — HUD / NAV / OVERLAYS
   (js/modules/cinema-room.js renders into the page canvas)
   ========================================================================== */

body.room-active {
  background: #05070a;
}

/* Canvas becomes a draggable head-tracker when the room is live */
.room-active .bg3d-canvas,
.room-active .three-container canvas {
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}

body.room-drag .bg3d-canvas,
body.room-drag .three-container canvas {
  cursor: grabbing;
}

/* About page: the cinema canvas is a fixed full-viewport backdrop */
.three-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

.three-container canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Cinematic vignette */
.room-vignette {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

/* ---- Boot loader ---- */
.room-loader {
  position: fixed;
  inset: 0;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(3, 6, 9, 0.55);
  font-family: var(--font-mono);
  transition: opacity 0.8s ease, visibility 0.8s;
  pointer-events: none;
}

.room-loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.room-loader__text {
  color: rgba(191, 239, 255, 0.8);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.room-loader__bar {
  width: 220px;
  height: 2px;
  background: rgba(67, 217, 255, 0.15);
  overflow: hidden;
}

.room-loader__bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, #43d9ff, transparent);
  animation: roomLoad 1.2s ease-in-out infinite;
}

@keyframes roomLoad {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}

/* ---- HUD shell ---- */
.room-hud {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  font-family: var(--font-mono);
  color: rgba(191, 239, 255, 0.85);
}

/* Corner brackets + rotating crosshair ticks */
.room-hud__corner {
  position: absolute;
  width: 52px;
  height: 52px;
  border-top: 1px solid rgba(67, 217, 255, 0.55);
  border-left: 1px solid rgba(67, 217, 255, 0.55);
  box-shadow: 0 0 12px rgba(67, 217, 255, 0.12);
}

.room-hud__corner--tl { top: 18px; left: 18px; }
.room-hud__corner--tr { top: 18px; right: 18px; transform: scaleX(-1); }
.room-hud__corner--bl { bottom: 18px; left: 18px; transform: scaleY(-1); }
.room-hud__corner--br { bottom: 18px; right: 18px; transform: scale(-1); }

.room-hud__corner .tick {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  animation: tickSpin 6s linear infinite;
}

.room-hud__corner .tick::before,
.room-hud__corner .tick::after {
  content: '';
  position: absolute;
  background: rgba(191, 239, 255, 0.7);
  box-shadow: 0 0 6px rgba(67, 217, 255, 0.8);
}

.room-hud__corner .tick::before {
  top: 6px;
  left: 0;
  width: 100%;
  height: 2px;
}

.room-hud__corner .tick::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 100%;
}

@keyframes tickSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Top strip: system status, timecode, REC */
.room-hud__top {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5vw;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.room-hud__sys .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #43d9ff;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 10px #43d9ff;
  animation: dotPulse 2s ease-in-out infinite;
}

.room-hud__rec .dot--red {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b3b;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 10px #ff3b3b;
  animation: dotPulse 1s ease-in-out infinite;
}

.room-hud__clip b {
  color: #eaffff;
  font-weight: 500;
  margin-left: 6px;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* Bottom-right meta readout */
.room-hud__meta {
  position: absolute;
  right: 5vw;
  bottom: 13vh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(191, 239, 255, 0.45);
}

.room-hud__meta span:first-child {
  color: #43d9ff;
}

/* Slow full-height scanline sweep */
.room-hud__scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: -10%;
  height: 22px;
  background: linear-gradient(180deg, transparent, rgba(67, 217, 255, 0.05), rgba(191, 239, 255, 0.12), rgba(67, 217, 255, 0.05), transparent);
  animation: scanSweep 9s linear infinite;
}

@keyframes scanSweep {
  to { transform: translateY(120vh); }
}

/* ---- Room navigation ---- */
.room-nav {
  position: absolute;
  left: 50%;
  bottom: 4vh;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: clamp(1rem, 3vw, 3rem);
}

.room-nav__btn {
  background: rgba(10, 16, 24, 0.55);
  border: 1px solid rgba(67, 217, 255, 0.18);
  color: rgba(191, 239, 255, 0.55);
  padding: 0.8rem 1.7rem;
  border-radius: 100px;
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.room-nav__btn:hover {
  color: #eaffff;
  border-color: rgba(67, 217, 255, 0.6);
  box-shadow: 0 0 22px rgba(67, 217, 255, 0.25), inset 0 0 18px rgba(67, 217, 255, 0.08);
}

.room-nav__btn.is-active {
  color: #062028;
  background: #43d9ff;
  border-color: #7fe6ff;
  box-shadow: 0 0 30px rgba(67, 217, 255, 0.45);
}

/* ---- Content overlays (shown when panning to a wall) ---- */
.room-overlay {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.room-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.room-overlay__panel {
  max-width: 560px;
  margin: 0 6vw;
  padding: 3rem 3.5rem;
  background: rgba(8, 13, 20, 0.5);
  border: 1px solid rgba(67, 217, 255, 0.22);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(67, 217, 255, 0.05);
  transform: translateY(18px);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  text-align: left;
}

body.room-mode-left .room-overlay--right,
body.room-mode-right .room-overlay--left {
  display: none;
}

.room-overlay.is-active .room-overlay__panel {
  transform: translateY(0);
}

.room-overlay__kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #43d9ff;
  margin-bottom: 1rem;
}

.room-overlay__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  color: #eaffff;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.room-overlay__body {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(234, 255, 255, 0.75);
}

.room-overlay__body a {
  color: #43d9ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(67, 217, 255, 0.3);
  display: inline-block;
  margin: 0.3rem 1.2rem 0.3rem 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.room-overlay__body a:hover {
  color: #eaffff;
  border-color: #eaffff;
}

.room-overlay__links a {
  display: inline-block;
  margin-top: 1.5rem;
  color: #43d9ff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(67, 217, 255, 0.4);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.room-overlay__links a:hover {
  color: #eaffff;
  border-color: #eaffff;
}

/* ---- Responsive ---- */
@media (max-width: 760px) {
  .room-hud__meta {
    display: none;
  }

  .room-nav {
    gap: 0.5rem;
    bottom: 3vh;
    width: 94vw;
    justify-content: center;
  }

  .room-nav__btn {
    padding: 0.65rem 0.9rem;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .room-overlay__panel {
    padding: 2rem 1.5rem;
  }

  .room-hud__top {
    font-size: 0.52rem;
  }
}
