:root {
  --bg-color: #F0F0F0;
  --text-color: #0E0E0E;
  --accent-color: #E10600;
  --font-display: 'Nippo Regular', sans-serif;
  --font-body: 'Nippo Variable', sans-serif;
  --font-serif: 'NewYork', serif;
  --font-pixel: 'Minecraft', monospace;
  --font-nippo: 'Nippo Variable', serif;
  --spacing-unit: 8px;
  --section-padding: clamp(80px, 10vw, 160px);

  /* Responsive typography */
  --step--1: clamp(10px, 1.2vw, 14px);
  --step-0: clamp(14px, 1.5vw, 16px);
  --step-1: clamp(16px, 2vw, 24px);
  --step-2: clamp(24px, 3vw, 40px);
  --step-3: clamp(32px, 4vw, 64px);
  --step-4: clamp(40px, 6vw, 100px);
  --step-5: clamp(80px, 16vw, 300px);
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 10vw, 160px);
  --max-content: 1360px; /* 1440 - 80px */
}

@font-face {
  font-family: 'Nippo Regular';
  src: url('./Fonts/Nippo-Variable.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: 'Nippo Variable';
  src: url('./Fonts/Nippo-Variable.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: 'Airbnb Cereal';
  src: url('./Fonts/AirbnbCereal_W_Bd.otf') format('opentype');
  font-weight: bold;
}

@font-face {
  font-family: 'Avant Garde';
  src: url('./Fonts/ITC\ Avant\ Garde\ Gothic\ LT\ Demi.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: 'Avant Garde Demi 2';
  src: url('./Fonts/ITC\ Avant\ Garde\ Gothic\ LT\ Demi\ 2.ttf') format('truetype');
  font-weight: normal;
}

@keyframes retro-wobble {
  0% { transform: translateY(0); }
  25% { transform: translateY(-0.8cqw); }
  50% { transform: translateY(0); }
  75% { transform: translateY(0.8cqw); }
  100% { transform: translateY(0); }
}

.retro-title-anim span {
  display: inline-block;
}

.retro-title-anim span:nth-child(1) {
  animation: retro-wobble 1.2s step-end infinite;
}

.retro-title-anim span:nth-child(2) {
  animation: retro-wobble 1.2s step-end infinite;
  animation-delay: 0.6s;
}

@font-face {
  font-family: 'NewYorkItalic';
  src: url('./Fonts/NewYorkItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'NewYork';
  src: url('./Fonts/NewYork.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Minecraft';
  src: url('./Fonts/Minecraft.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'AlteHaasGroteskBold';
  src: url('./Fonts/AlteHaasGroteskBold.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'Minecraft';
  src: url('./Fonts/Minecraft.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 200;
  font-variation-settings: 'wght' 200;
  overflow-x: hidden;
  cursor: none; /* custom cursor */
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: var(--accent-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Falling Apple Intro Effect */
@keyframes fallDown {
  0% { transform: translateY(-100px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(110vh); opacity: 0; }
}

.falling-apple {
  position: fixed;
  top: -50px;
  z-index: 10;
  pointer-events: auto;
  animation: fallDown 4s linear forwards;
}
.custom-cursor.hover {
  width: 40px;
  height: 40px;
  mix-blend-mode: difference;
  background-color: var(--white);
}

@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  .custom-cursor { display: none; }
}

h1, h2, h3, h4, h5, h6, .display-text {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.5em;
}

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

.red-text { color: var(--accent-color); }

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  mix-blend-mode: difference;
  color: #fff;
  transition: padding 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

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

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  color: var(--accent-color) !important;
}

.logo img {
  height: 32px;
  filter: invert(1);
}

/* Typography & Layout Patterns */
.microcopy {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  display: inline-block;
}

.editorial-statement {
  font-size: clamp(40px, 6vw, 100px);
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
  padding: var(--section-padding) 40px;
}

.statement-line {
  overflow: hidden;
  display: block;
}

.statement-line span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.statement-line.visible span {
  transform: translateY(0);
}

/* About Page Portrait Hero */
.about-portrait-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background-color: #ffffff;
  overflow: hidden;
  padding-top: 100px;
}

.about-portrait-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 3vw;
  font-family: 'AlteHaasGroteskBold', sans-serif;
  font-size: clamp(100px, 20vw, 300px);
  z-index: 1;
  white-space: nowrap;
  letter-spacing: -4px;
}

.about-portrait-sivin {
  color: #005CFF;
}

.about-portrait-kouship {
  color: #FFC000;
}

.about-portrait-image {
  position: relative;
  z-index: 2;
  max-height: 85vh;
  max-width: 100%;
  object-fit: contain;
}

/* Hero Section */
.hero {
  height: 100vh;
  width: 100%;
  background-color: #000;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 10;
  color: #fff;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-title {
  font-size: clamp(60px, 12vw, 200px);
  margin-bottom: 0;
  line-height: 0.85;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 24px);
  margin-top: 16px;
  font-weight: 300;
}

.rotated-meta {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  gap: 24px;
}

/* Buttons */
.btn-outline {
  display: inline-block;
  border: 1px solid var(--text-color);
  padding: 16px 32px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  z-index: 1;
  margin-top: 32px;
}

.hero .btn-outline {
  border-color: #fff;
  color: #fff;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--accent-color);
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn-outline:hover::before {
  left: 0;
}

.btn-outline:hover {
  color: #fff;
  border-color: var(--accent-color);
}

/* Works Grid */
.works-section {
  padding: var(--section-padding) 40px;
}

.work-reel {
  width: 100%;
  height: 80vh;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
  background-color: #000;
  cursor: pointer;
}

.work-reel img, .work-reel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.work-reel:hover img, .glitch-effect:active {
  animation: none;
  transform: scale(0.98);
}

/* ------------------------------------- */
/* NOTHING STYLE EDITORIAL ABOUT PAGE    */
/* ------------------------------------- */

.nothing-about-bg {
  background-color: #f5f5f5;
  background-image: radial-gradient(#d4d4d4 1px, transparent 0);
  background-size: 80px 80px;
  background-position: 0 0;
  min-height: 100vh;
  color: #111;
  font-family: var(--font-body);
}

.nothing-about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 40px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

@font-face {
  font-family: 'Nippo';
  src: url('./Fonts/Nippo-Variable\ 2.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.nothing-intro-section {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.nothing-red-square {
  width: 16px;
  height: 16px;
  background-color: #e33e38;
  display: inline-block;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 10px;
}

.nothing-intro-text {
  font-family: var(--font-nippo);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -1px;
  max-width: 900px;
  font-weight: 300;
}

.nothing-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.nothing-image-wrapper {
  width: max-content;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nothing-image-wrapper video {
  display: block;
}

.nothing-text-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 500px;
  position: relative;
}

.nothing-section-number {
  position: absolute;
  left: -80px;
  top: 0;
  font-family: var(--font-pixel);
  font-size: 12px;
  color: #666;
  letter-spacing: 2px;
}

.nothing-section-title {
  font-family: var(--font-nippo);
  font-size: clamp(28px, 3.6vw, 58px);
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.nothing-paragraph {
  font-family: var(--font-nippo);
  font-size: 16px;
  line-height: 1.4;
  color: #333;
  letter-spacing: -0.2px;
  font-weight: 200;
  font-variation-settings: 'wght' 200;
}

@media (max-width: 992px) {
  .nothing-split-section {
    grid-template-columns: 1fr;
  }
  .nothing-section-number {
    position: static;
    margin-bottom: 16px;
  }
}

.work-reel:hover img, .work-reel:hover video {
  transform: scale(1.05);
  opacity: 0.5;
}

.work-info {
  position: absolute;
  bottom: 40px;
  left: 40px;
  color: #fff;
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.4s ease;
}

.work-reel:hover .work-info {
  transform: translateY(0);
  opacity: 1;
}

.work-title {
  font-family: var(--font-display);
  font-size: 4vw;
  font-weight: normal;
  margin-bottom: 8px;
}

.work-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-tag {
  color: var(--accent-color);
}

/* Footer */
footer {
  background-color: var(--text-color);
  color: #fff;
  padding: var(--section-padding) 40px 40px;
  text-align: center;
}

.footer-cta {
  font-size: clamp(40px, 8vw, 120px);
  display: block;
  margin-bottom: 40px;
}

.footer-cta:hover {
  color: var(--accent-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--divider);
  padding-top: 24px;
  margin-top: 80px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  padding: 40px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  display: flex;
}

.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
  font-family: var(--font-display);
  font-size: 48px;
  text-transform: uppercase;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-item {
  margin: 0 40px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Fade up animation for scroll */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section Numbers */
.section-number {
  font-family: var(--font-display);
  font-size: clamp(100px, 20vw, 300px);
  color: var(--accent-color);
  opacity: 0.1;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  line-height: 0.8;
}

.relative-section {
  position: relative;
  z-index: 1;
}

/* Forms */
.form-step {
  display: none;
}
.form-step.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

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

input, textarea, select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--divider);
  color: #fff;
  font-family: var(--font-body);
  font-size: 24px;
  padding: 16px 0;
  margin-bottom: 40px;
  outline: none;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  border-bottom-color: var(--accent-color);
}

::placeholder {
  color: #666;
}

.contact-layout {
  max-width: 800px;
  margin: 0 auto;
}

.progress-indicator {
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 40px;
  color: var(--grey);
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--text-color);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.loader img {
  width: 120px;
  filter: invert(1);
  opacity: 0;
  animation: pixelFade 1s steps(5) forwards;
}

@keyframes pixelFade {
  0% { opacity: 0; filter: invert(1) blur(10px); }
  100% { opacity: 1; filter: invert(1) blur(0); }
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Utilities */
.pixel-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: var(--accent-color);
  margin: 0 8px;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 14px;
}

@media (max-width: 768px) {
  nav { padding: 20px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--text-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }
  .nav-links.active { display: flex; }
  .mobile-toggle { display: block; z-index: 101; position: relative; }
  .work-reel { height: 50vh; }
}

/* Purple Hero Reference Styles */
.purple-hero {
  height: 100vh;
  width: 100vw;
  background: var(--bg-color);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 12vh;
  font-family: var(--font-display);
}

.hero-text-block {
  text-align: center;
  color: white;
  font-family: 'NewYorkItalic', serif;
  font-size: clamp(60px, 8vw, 120px);
  line-height: 0.85;
  z-index: 10;
  max-width: 95vw;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hero-text-block span.light {
  color: rgba(177, 240, 65, 0.6);
}

.hero-top-nav, .hero-bottom-nav {
  position: absolute;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  color: #B1F041;
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 20;
}

.hero-top-nav { top: 32px; }
.hero-bottom-nav { bottom: 32px; }
.hero-top-nav a, .hero-bottom-nav span {
  text-decoration: none;
  color: inherit;
}
.hero-top-nav a:hover {
  opacity: 0.7;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 5;
}

@media (max-width: 768px) {
  .hero-top-nav, .hero-bottom-nav { display: none; }
  .purple-hero { padding: 20px; }
}

/* Manifesto Section Reference Styles */
.manifesto-section {
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 40px;
}

.manifesto-nav {
  position: absolute;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
}
.manifesto-nav.top { top: 32px; }
.manifesto-nav.bottom { bottom: 32px; }

.manifesto-content {
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.manifesto-large {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 58px);
  line-height: 1.1;
  font-weight: normal;
  letter-spacing: -2px;
  color: #1a1a1a;
}

.manifesto-small {
  font-family: var(--font-body);
  font-size: clamp(21px, 1.8vw, 24px);
  line-height: 1.35;
  max-width: 650px;
  margin: 40px auto 0;
  color: #333;
  letter-spacing: -0.2px;
}

.pixel-emoji {
  display: inline-block;
  font-size: 1em;
  vertical-align: baseline;
  margin: 0 4px;
  filter: url(#pixelate);
}

@media (max-width: 768px) {
  .manifesto-nav { display: none; }
  .manifesto-section { padding: 80px 20px; }
  .manifesto-large { letter-spacing: -1px; }
  .manifesto-small { margin-top: 25px; }
}

/* Project Split Layout Reference Styles */
.project-split {
  height: 100vh;
  width: 100vw;
  display: flex;
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
  border-top: 1px solid #ddd;
}
.project-left {
  width: 45%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-color);
}
.project-left video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}
.project-right {
  width: 55%;
  height: 100%;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: flex-start;
}
.project-category {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 22px);
  color: #333;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.project-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 70px);
  line-height: 0.95;
  font-weight: normal;
  letter-spacing: -2px;
  color: #111;
  max-width: 900px;
  text-transform: none;
}
.project-link {
  margin-top: 15vh;
  font-family: var(--font-body);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  color: var(--text-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  border: 1px solid var(--text-color);
  padding: 16px 32px;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
  z-index: 1;
}
.project-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--accent-color);
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}
.project-link:hover::before {
  left: 0;
}
.project-link:hover {
  color: #fff;
  border-color: var(--accent-color);
}
.project-link svg {
  width: 20px;
  height: 20px;
}
.project-meta {
  margin-top: auto;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.project-meta-info {
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  font-weight: bold;
}
.project-meta-info div {
  margin-bottom: 24px;
}
.project-meta-info span {
  display: block;
  font-weight: bold;
  color: #111;
  margin-bottom: 6px;
}
.project-small-thumb {
  width: 320px;
  height: 180px;
  background: #ccc;
  overflow: hidden;
}
.project-small-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pl-nav-left { position: absolute; bottom: 32px; left: 32px; color: #fff; font-family: var(--font-body); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; font-weight: bold; mix-blend-mode: difference; }
.pl-nav-right { position: absolute; bottom: 32px; right: 32px; color: #fff; font-family: var(--font-body); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; font-weight: bold; mix-blend-mode: difference; }
.pr-nav-left { position: absolute; bottom: 32px; left: 60px; color: #1a1a1a; font-family: var(--font-body); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; font-weight: bold; }
.pr-nav-right { position: absolute; bottom: 32px; right: 60px; color: #1a1a1a; font-family: var(--font-body); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; font-weight: bold; }

@media (max-width: 768px) {
  .project-split {
    flex-direction: column;
    height: auto;
  }
  .project-left {
    width: 100%;
    height: 60vh;
  }
  .project-right {
    width: 100%;
    padding: 40px 20px;
  }
  .project-link { margin-top: 40px; }
  .project-meta { margin-top: 40px; margin-bottom: 20px; flex-direction: column; align-items: flex-start; gap: 40px; }
  .project-small-thumb { display: none; }
  .pl-nav-left, .pl-nav-right, .pr-nav-left, .pr-nav-right { display: none; }
}

/* Manifesto Details Section */
.manifesto-details-section {
  background-color: var(--bg-color);
  padding: 120px 40px 0;
  border-top: 1px solid #ddd;
}
.manifesto-details-container {
  max-width: 1400px;
  margin: 0 auto;
}
.manifesto-details-header {
  text-align: center;
  margin-bottom: 80px;
}
.manifesto-details-title {
  font-family: var(--font-body);
  font-size: clamp(40px, 6vw, 100px);
  font-weight: 500;
  letter-spacing: -3px;
  color: var(--text-color);
  margin-bottom: 16px;
  text-transform: none;
}
.manifesto-details-subtitle {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 20px);
  color: #333;
  letter-spacing: -0.5px;
}
/* Pinned Center Grid */
.manifesto-interactive-wrapper {
  position: relative;
  width: 100%;
}
.manifesto-sticky-center {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}
.pixel-art-grid-frame {
  width: min(500px, 40vw);
  height: min(500px, 40vw);
  background: var(--bg-color);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.pixel-art-grid {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  grid-template-rows: repeat(24, 1fr);
  width: 100%;
  height: 100%;
  gap: 0px;
  background-color: rgba(0, 0, 0, 0.05);
}
.pixel-cell {
  background-color: var(--bg-color);
  width: 100%;
  height: 100%;
  perspective: 200px;
}
.pixel-cell-inner {
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transform-style: preserve-3d;
}
.pixel-cell.flip-half .pixel-cell-inner {
  transform: rotateY(90deg);
}
.manifesto-steps-container {
  position: relative;
  margin-top: -100vh;
  z-index: 2;
}
.manifesto-step {
  height: 130vh;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 6vw;
  box-sizing: border-box;
}
.manifesto-step-left {
  width: 25%;
  text-align: right;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.manifesto-step-right {
  width: 25%;
  text-align: left;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.manifesto-step-num {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  display: block;
  margin-bottom: 16px;
}
.manifesto-step-title {
  font-family: var(--font-body);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text-color);
  text-transform: none;
  margin: 0;
}
.manifesto-step-text {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.5;
  color: #333;
  letter-spacing: -0.2px;
}

@media (max-width: 992px) {
  .manifesto-details-section {
    padding: 80px 20px;
  }
  .manifesto-sticky-center {
    position: sticky;
    top: 60px;
    height: 40vh;
    padding-top: 20px;
    z-index: 10;
    background: var(--bg-color);
  }
  .pixel-art-grid-frame {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }
  .manifesto-steps-container {
    margin-top: 0;
    position: relative;
    z-index: 20;
    background: transparent;
  }
  .manifesto-step {
    height: auto;
    min-height: 50vh;
    flex-direction: column;
    padding: 20px 24px;
    gap: 24px;
    text-align: left;
    justify-content: flex-start;
  }
  .manifesto-step-left, .manifesto-step-right {
    width: 100%;
    text-align: left;
    background: rgba(14, 14, 14, 0.85);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
    height: auto;
    display: block;
  }
  .manifesto-step-title {
    color: #FFFFFF;
  }
  .manifesto-step-text {
    color: #EEEEEE;
  }
  .manifesto-step-num {
    margin-bottom: 8px;
    color: #FFFFFF;
  }
}

/* Conversation Footer Section */
.conversation-footer {
  background-color: #0A0A0A;
  color: #FFFFFF;
  padding: 120px 8% 0;
  border-top: 1px solid #1E1E1E;
}

.footer-split-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
  gap: 48px;
}

.footer-split-left {
  width: 50%;
}

.conversation-title {
  font-family: var(--font-body);
  font-size: clamp(32px, 7vw, 100px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #FFFFFF;
  text-transform: none;
  margin-top: 16px;
}

.footer-split-right {
  width: 40%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-meta-block {
  display: flex;
  flex-direction: column;
}

.footer-meta-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #888888;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.footer-meta-link, .footer-meta-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.4;
}

.footer-meta-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2px;
  display: inline-block;
  align-self: flex-start;
  transition: border-color 0.3s;
}

.footer-meta-link:hover {
  border-color: var(--accent-color);
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-social-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  transition: opacity 0.3s;
}

.footer-social-links a:hover {
  opacity: 0.6;
}

/* Map Container */
.footer-map-container {
  height: 450px;
  width: calc(100% + 16%);
  margin-left: -8%;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #1E1E1E;
}

.footer-map-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) contrast(1.1) grayscale(1);
}

.footer-map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 30%, #0A0A0A 80%);
}

.footer-map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background-color: rgba(225, 6, 0, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-color);
  animation: pulsePin 2s infinite ease-in-out;
}

.footer-map-pin img {
  width: 32px;
  height: 32px;
}

@keyframes pulsePin {
  0% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(225, 6, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0); }
}

.footer-map-btn-container {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  gap: 24px;
}

.footer-map-btn {
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-map-btn:hover {
  opacity: 0.7;
}

.footer-map-btn-sub {
  font-family: var(--font-body);
  font-size: 8px;
  letter-spacing: 1px;
  color: #888888;
}

.footer-map-btn-main {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
}

@media (max-width: 768px) {
  .footer-split-container {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
  }
  .footer-split-left, .footer-split-right {
    width: 100%;
  }
  .footer-split-right {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-map-container {
    height: 300px;
  }
  .footer-map-btn-container {
    bottom: 20px;
    left: 20px;
    flex-direction: column;
    gap: 12px;
  }
}

/* White Form Section */
.loop-form-section {
  background-color: #FFFFFF;
  color: #0E0E0E;
  padding: 120px 8% 60px;
  border-top: 1px solid #ddd;
}

.loop-container {
  max-width: 600px;
  margin: 0 auto 100px;
  text-align: center;
}

.loop-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 64px);
  font-weight: normal;
  letter-spacing: -2px;
  color: #0E0E0E;
  margin-bottom: 48px;
}

.loop-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: left;
}

.form-group-white {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-white label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1.5px;
  color: #888888;
  text-transform: uppercase;
}

.form-group-white input, .form-group-white select {
  width: 100%;
  background: transparent;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  color: #0E0E0E;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 16px;
  margin-bottom: 0;
  outline: none;
  transition: border-color 0.3s;
}

.form-group-white input:focus, .form-group-white select:focus {
  border-color: #0E0E0E;
}

.phone-input-container {
  display: flex;
  gap: 12px;
}

.phone-flag-select {
  width: 100px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loop-submit-btn {
  width: 100%;
  background-color: #0E0E0E;
  color: #FFFFFF;
  border: 1px solid #0E0E0E;
  padding: 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.loop-submit-btn:hover {
  background-color: transparent;
  color: #0E0E0E;
}

/* White Footer */
.white-footer {
  background-color: #FFFFFF !important;
  color: #0E0E0E !important;
  padding: 60px 40px 40px !important;
  text-align: left !important;
  border-top: 1px solid #EEEEEE;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.white-footer-column {
  width: 30%;
}

.white-footer-column h4 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1.5px;
  color: #888888;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.white-footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.white-footer-column a, .white-footer-column p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #555555;
  transition: color 0.3s;
}

.white-footer-column a:hover {
  color: #0E0E0E;
}

.white-footer-center {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.white-footer-logo {
  height: 32px;
  margin-bottom: 16px;
  filter: none;
}

.white-footer-copy {
  font-family: var(--font-body);
  font-size: 12px;
  color: #888888;
}

@media (max-width: 768px) {
  .white-footer {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 40px;
    padding: 40px 20px !important;
  }
  .white-footer-column, .white-footer-center {
    width: 100%;
  }
  .white-footer-column {
    text-align: center !important;
  }
  .white-footer-column ul {
    align-items: center !important;
  }
}

/* Redesigned Work Page Layout */
.work-page-wrapper {
  display: grid;
  grid-template-columns: 35% 65%;
  min-height: 100vh;
  background-color: var(--bg-color);
  transition: background-color 0.4s ease, color 0.4s ease;
  position: relative;
  z-index: 2;
  padding: 160px 40px 80px;
  gap: 40px;
}

.work-page-wrapper.showcase-active {
  background-color: transparent;
}

.work-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 993px) {
  .work-sidebar {
    position: sticky;
    top: 160px;
    height: calc(100vh - 240px);
  }
}

.work-sidebar-top h1 {
  font-family: var(--font-body);
  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -2px;
  color: var(--accent-color);
  text-transform: none;
  margin-bottom: 24px;
}

/* Custom Dropdown Filter */
.work-filter-container {
  position: relative;
  margin: 32px 0;
  width: fit-content;
}

.work-filter-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-color);
  cursor: pointer;
  padding: 12px 20px;
  border: 1px solid rgba(14, 14, 14, 0.15);
  border-radius: 4px;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
  background-color: transparent;
  user-select: none;
}

.showcase-active .work-filter-trigger {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.work-filter-trigger:hover {
  border-color: var(--text-color);
}

.showcase-active .work-filter-trigger:hover {
  border-color: #FFFFFF;
}

.filter-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  transition: transform 0.3s;
}

.work-filter-dropdown.open + .work-filter-trigger .filter-chevron {
  transform: rotate(180deg);
}

.work-filter-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(14, 14, 14, 0.1);
  border-radius: 6px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.showcase-active .work-filter-dropdown {
  background: rgba(14, 14, 14, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.work-filter-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.work-filter-dropdown li {
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #555555;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.showcase-active .work-filter-dropdown li {
  color: #CCCCCC;
}

.work-filter-dropdown li:hover {
  background-color: rgba(14, 14, 14, 0.05);
  color: var(--text-color);
}

.showcase-active .work-filter-dropdown li:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.work-filter-dropdown li.active {
  font-weight: bold;
  color: var(--accent-color);
}

.work-sidebar-desc {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 400px;
  margin-top: 40px;
}

.work-sidebar-desc p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
  transition: color 0.4s ease;
}

.showcase-active .work-sidebar-desc p {
  color: rgba(255, 255, 255, 0.6);
}

/* Right-side List Container */
.work-list-container {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.work-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 36px 24px;
  border-bottom: 1px solid rgba(14, 14, 14, 0.1);
  transition: background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              padding 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              border-color 0.3s ease,
              opacity 0.3s ease;
  position: relative;
  text-decoration: none;
  color: var(--text-color);
  min-height: 120px;
  overflow: hidden;
  z-index: 5;
}

.showcase-active .work-item {
  border-bottom-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.4);
}

.showcase-active .work-item:hover {
  color: #FFFFFF;
}

.work-item-title {
  font-family: var(--font-body);
  font-size: clamp(26px, 3.2vw, 52px);
  font-weight: 500;
  letter-spacing: -1.5px;
  margin: 0;
  line-height: 1.1;
  text-transform: none;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
  text-align: right;
}

.work-item:hover {
  background-color: var(--hover-color, #0012FF);
  padding-left: 40px;
  padding-right: 40px;
}

.work-item:hover .work-item-title {
  transform: translateX(10px);
}

/* Hover meta */
.work-item-hover-meta {
  display: flex;
  gap: 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              visibility 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  margin-right: auto;
  z-index: 2;
}

.work-item:hover .work-item-hover-meta {
  opacity: 1;
  visibility: visible;
}

.work-meta-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.work-meta-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.work-meta-val {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

/* Widescreen Background Showcase */
.work-bg-showcase {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  background-color: #0E0E0E;
}

.work-bg-showcase.active {
  opacity: 1;
}

.work-bg-showcase video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(1.2);
}

.work-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
  .work-page-wrapper {
    grid-template-columns: 1fr;
    padding: 120px 24px 60px;
    gap: 60px;
  }
  
  .work-sidebar {
    position: relative;
    top: 0;
    height: auto;
  }
  
  .work-sidebar-desc {
    max-width: 100%;
  }
  
  .work-item {
    justify-content: flex-start;
    padding: 28px 16px;
    min-height: 90px;
  }
  
  .work-item-title {
    text-align: left;
    font-size: clamp(24px, 4vw, 36px);
  }
  
  .work-item:hover {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .work-item-hover-meta {
    display: none;
  }
  
  .work-item:hover .work-item-title {
    transform: none;
  }
}

/* Universal Static Header */
.universal-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-color);
  pointer-events: none; /* Let clicks pass through empty space */
}

.universal-header > * {
  pointer-events: auto; /* Re-enable clicks for children */
}

.header-logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  background: #0E0E0E;
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-pixel), monospace;
  font-size: 14px;
  white-space: pre-wrap;
  text-align: center;
  line-height: 1.1;
}

.header-links {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.5);
  padding: 4px;
  backdrop-filter: blur(10px);
}

.header-links a {
  padding: 8px 16px;
  text-decoration: none;
  color: var(--text-color);
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.header-links a:hover {
  background: rgba(0,0,0,0.05);
}

.header-links a.active {
  background: #0E0E0E;
  color: #FFFFFF;
}

.header-right {
  text-transform: uppercase;
}

/* Minimalist Footer (Matching Reference) */
.ultra-minimal-footer {
  position: relative;
  width: 100%;
  padding: 60px 0 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  pointer-events: none;
}

.footer-dash {
  width: 40px;
  height: 6px;
  background-color: #888888;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .footer-social-row {
    margin-top: 0;
  }
}

/* Fix body padding to accommodate header */
body {
  padding-top: 60px;
}

/* Header Links Desktop */
.header-links {
  display: flex;
  gap: 32px;
}
.header-links a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.header-links a:hover {
  opacity: 0.7;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 10000;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #0E0E0E;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .universal-header {
    padding: 0 20px;
  }
  .hamburger {
    display: flex;
  }
  .header-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 9998;
    border-bottom: 1px solid #EEEEEE;
  }
  .header-links a {
    display: block;
    width: 100%;
    padding: 10px 0;
  }
  .mobile-menu-toggle:checked ~ .header-links {
    transform: translateY(0);
  }
  .mobile-menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ----------------------------------------------------
   PIXEL TRANSITION OVERLAY
   ---------------------------------------------------- */
.pixel-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: grid;
  pointer-events: none;
}

.pixel-block {
  width: 100.5%;
  height: 100.5%;
  background-color: var(--bg-color);
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.87, 0, 0.13, 1);
  will-change: transform;
}

/* ====================================================
   MODERN ABOUT PAGE AESTHETICS (Matching Reference)
   ==================================================== */
.about-page-body {
  background-color: #050505 !important;
  color: #ffffff !important;
}

.about-page-body .universal-header {
  background-color: #050505 !important;
  color: #ffffff !important;
  border-bottom: 1px solid #111111;
}

.about-page-body .universal-header a {
  color: #ffffff !important;
}

.about-page-body .hamburger span {
  background-color: #ffffff !important;
}

/* About Container */
.about-modern-container {
  max-width: 100vw;
  background-color: #050505;
  color: #ffffff;
  padding: 100px 6vw 0;
  font-family: var(--font-body);
}

.about-modern-section {
  display: flex;
  position: relative;
  padding: 100px 0;
  border-bottom: 1px solid #1a1a1a;
  min-height: 40vh;
}

.section-left-label {
  width: 25%;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888888;
  font-weight: 500;
  padding-top: 14px;
}

.section-main-content {
  width: 75%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-huge-statement {
  font-size: clamp(32px, 4.5vw, 68px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -2px;
  color: #ffffff;
  margin-bottom: 60px;
  text-transform: none;
}

.about-sub-statement {
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 30px;
  text-transform: none;
}

/* About Page Split Layout */
.about-split-container {
  display: flex;
  min-height: 100vh;
  padding: 120px 4vw 80px;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.about-split-left {
  flex: 1;
  padding-right: 4vw;
}

.about-split-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 80px);
  line-height: 1.1;
  font-weight: 400;
  margin: 0;
  letter-spacing: -1px;
}

.doodle-icon {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 0.6em;
  vertical-align: middle;
  display: inline-block;
  margin: 0 10px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px) rotate(5deg); }
  100% { transform: translateY(0); }
}

.about-split-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 4vw;
  padding-top: 20vh; /* Start lower */
}

.about-split-body {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.3;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .about-split-container {
    flex-direction: column;
    padding-top: 100px;
  }
  .about-split-left {
    padding-right: 0;
    margin-bottom: 60px;
  }
  .about-split-right {
    padding-left: 0;
    padding-top: 0;
  }
}



/* Dynamic Game-style Loading Screen */
#game-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1), opacity 0.8s ease;
}

.loader-pills {
  display: flex;
  gap: 8px;
  font-family: var(--font-pixel), monospace;
  font-size: 14px;
}

.pill {
  padding: 8px 16px;
  border-radius: 20px;
  border: 2px solid var(--text-color);
  text-transform: uppercase;
  animation: jumpBounce 0.6s infinite alternate;
}

.loading-pill {
  background-color: var(--text-color);
  color: var(--bg-color);
  animation-delay: 0s;
}

.pls-pill {
  background-color: transparent;
  color: var(--text-color);
  animation-delay: 0.15s;
}

.wait-pill {
  background-color: transparent;
  color: var(--text-color);
  animation-delay: 0.3s;
}

@keyframes jumpBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

body.loaded #game-loader {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Contact Page Toyfight Styles */
.contact-toy-container {
  position: relative;
  min-height: 100vh;
  padding: 120px 4vw 60px;
  background-color: var(--bg-color);
  color: #111;
  overflow: hidden;
}

.contact-leave-message {
  position: absolute;
  top: 100px;
  right: 4vw;
  background: #e6e0f8;
  color: #111;
  font-family: var(--font-pixel), monospace;
  font-size: 12px;
  padding: 12px 24px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 20;
}

.msg-icon {
  background: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
}

.contact-word-cloud {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin-top: 20px;
}

.word-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.word-pill {
  font-family: var(--font-pixel), monospace;
  font-size: clamp(24px, 4vw, 48px);
  background: #ede6df;
  color: #111;
  padding: 8px 16px;
  border-radius: 6px;
  line-height: 1.2;
}

.word-pill.pink-pill {
  background: #ffd8f4;
  text-decoration: none;
}

.word-pill.smiley-pill {
  background: #f8ebd6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.contact-center-radio {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: clamp(250px, 30vw, 400px);
  height: clamp(300px, 40vw, 480px);
  z-index: 5;
}

.contact-bottom-wrapper {
  position: absolute;
  bottom: 40px;
  left: 4vw;
  right: 4vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
}

.contact-bottom-box {
  padding: 24px 32px;
  border-radius: 0;
  font-family: var(--font-pixel), monospace;
  font-size: 12px;
  line-height: 1.8;
  pointer-events: auto;
}

.contact-bottom-box.pink-bg {
  background: #ffd8f4;
}

.contact-bottom-box.orange-bg {
  background: #ffecd2;
}

.box-label {
  font-weight: bold;
  margin-bottom: 4px;
  opacity: 0.8;
}

.box-value {
  font-weight: normal;
}

@media (max-width: 768px) {
  .contact-bottom-wrapper {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    flex-direction: column;
    gap: 20px;
    margin-top: 100px;
  }
  .contact-center-radio {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 60px auto;
  }
  .contact-leave-message {
    position: relative;
    top: auto;
    right: auto;
    width: fit-content;
    margin-bottom: 40px;
  }
}

/* Glitch Destruction Effect for Work Items */
@keyframes glitch-skew {
  0% { transform: skew(0deg); text-shadow: none; }
  10% { transform: skew(-15deg); text-shadow: 4px 0 magenta, -4px 0 cyan; }
  20% { transform: skew(15deg); text-shadow: -4px 0 magenta, 4px 0 cyan; }
  30% { transform: skew(-5deg); text-shadow: 2px 0 magenta, -2px 0 cyan; }
  40% { transform: skew(5deg); text-shadow: -2px 0 magenta, 2px 0 cyan; }
  50% { transform: skew(0deg); text-shadow: none; }
  60% { transform: skew(-10deg); text-shadow: 3px 0 magenta, -3px 0 cyan; }
  70% { transform: skew(10deg); text-shadow: -3px 0 magenta, 3px 0 cyan; }
  80% { transform: skew(-5deg); text-shadow: 1px 0 magenta, -1px 0 cyan; }
  90% { transform: skew(5deg); text-shadow: -1px 0 magenta, 1px 0 cyan; }
  100% { transform: skew(0deg); text-shadow: none; }
}

.text-glitch-active .work-item-title {
  animation: glitch-skew 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  color: #fff !important;
}
/* Hero Styles */
.hero-text-container {
  position: absolute;
  top: 0; left: 0; width: 100vw; height: 100vh;
  overflow: hidden; pointer-events: none; z-index: 1;
}

.hero-text-inner {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100vw; height: 56.48vw;
  min-height: 100vh; min-width: 177.04vh;
  container-type: inline-size;
  padding-top: 7%;
  text-align: center;
}

.hero-title-flex {
  display: flex;
  justify-content: center;
  gap: 1.5cqw;
  font-size: 11cqw;
  white-space: nowrap;
  line-height: 1;
  text-shadow: 0.6cqw 0.6cqw 0px #0E0E0E;
  filter: url(#pixelate-hero);
}

.hero-scroll-video {
  object-fit: cover;
  object-position: bottom center;
  width: 100%; height: 100%;
  position: absolute;
  top: 0; left: 0;
  z-index: 5;
  mix-blend-mode: multiply;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

@media (max-width: 768px) {
  .hero-text-container {
    position: relative;
    height: auto;
    width: 100%;
    z-index: 10;
    overflow: visible;
  }
  .hero-text-inner {
    position: relative;
    bottom: auto; left: auto; transform: none;
    width: 100%; height: auto; min-height: auto; min-width: auto;
    padding-top: 10vw;
    padding-bottom: 0px;
  }
  .hero-text-inner > div {
    position: relative !important;
    top: auto !important;
  }
  .hero-title-flex {
    flex-direction: column;
    font-size: 22vw;
    line-height: 0.9;
    gap: 5px;
    text-shadow: 2px 2px 0px #0E0E0E;
    filter: none;
  }
  .hero-scroll-video {
    position: relative;
    object-fit: cover;
    object-position: 40% bottom;
    height: 90vw;
    width: 100vw;
    max-width: 100vw;
    z-index: 5;
    margin-top: -20vw;
    mix-blend-mode: normal;
  }
  .purple-hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto !important;
    padding-bottom: 0 !important;
  }
  
  /* Disable sticky horizontal scroll layouts on mobile */
  .project-pin-wrapper, .manifesto-pin-wrapper, .hero-pin-wrapper {
    height: auto !important;
  }
  
  .project-split, .manifesto-section {
    position: relative !important;
    height: auto !important;
    min-height: auto !important;
  }
  .manifesto-section {
    padding-top: 0px;
    padding-bottom: 40px;
    margin-top: -20vh;
  }
  
  .manifesto-large {
    font-size: clamp(24px, 6vw, 36px);
  }
  
  .manifesto-small {
    font-size: 21px;
    margin-top: 20px;
  }
  
  .manifesto-word, .project-word {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .works-heading-section {
    padding: 40px 20px 20px !important;
  }
  .manifesto-details-section {
    padding: 30px 20px !important;
  }
  .manifesto-step {
    padding: 20px 0 !important;
  }
  .project-split {
    gap: 20px !important;
  }
}

.text-glitch-active {
  pointer-events: none;
}

@keyframes appleExplode {
  0% { transform: scale(1); filter: brightness(1); }
  40% { transform: scale(2.5) rotate(15deg); filter: brightness(1.5) drop-shadow(0 0 30px rgba(255,0,0,0.8)); }
  100% { transform: scale(1) rotate(0deg); filter: brightness(1); }
}
.apple-explode {
  animation: appleExplode 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}
.apple-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

.apple-particle {
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: #f60000;
  animation: disintegrate 0.5s ease-out forwards;
}

@keyframes disintegrate {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0); opacity: 0; }
}


/* About page vertical video styling */
.about-video {
  border: 3px solid #000;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  height: 85vh;
  width: auto;
  max-width: 100%;
  display: block;
}

@media (max-width: 992px) {
  .about-video {
    height: auto;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    margin: 0 auto;
  }
}


/* Global Responsive Guardrails */
html, body {
  overflow-x: hidden;
  width: 100%;
}

img, video, svg, iframe {
  max-width: 100%;
  height: auto;
}

* {
  min-width: 0;
}

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

@media (min-width: 480px) {}
@media (min-width: 768px) {}
@media (min-width: 1024px) {}
@media (min-width: 1280px) {}
@media (min-width: 1600px) {}


/* Phase 2-7: Mobile Safeties */
.hamburger, .mobile-menu-toggle {
  display: none;
}

@media (max-width: 767px) {
  /* Phase 2: Mobile Nav */
  .universal-header {
    pointer-events: none; /* Keep base behavior */
  }
  .universal-header > * {
    pointer-events: auto;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
  }
  .hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--text-color);
    transition: 0.3s;
  }
  
  .header-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    padding: 100px 40px;
    gap: 30px;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(0,0,0,0.1);
  }
  
  .mobile-menu-toggle:checked ~ .header-links {
    right: 0;
  }
  
  .mobile-menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Phase 3 & 6: Grids Reflow (Sub-768px) */
  .works-grid, .work-list, .contact-form, .project-detail-meta-row {
    grid-template-columns: 1fr !important;
  }
  .project-detail-meta-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Phase 4: About Page Reflow & Video Fallback */
  .about-video {
    display: none !important;
  }
  .mobile-fallback {
    display: block !important;
  }
  .ultra-minimal-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* Phase 5: Contact Form Safeguards */
  .loop-form-section .loop-container {
    padding: 0 var(--gutter, 20px);
  }
  .loop-submit-btn {
    width: 100%;
  }
}

@media (max-width: 1023px) {
  /* Phase 4: About Sections Stack */
  .nothing-split-section {
    display: flex !important;
    flex-direction: column !important;
  }
}

@media (max-width: 1279px) {
  /* Phase 3: Grids Reflow (Sub-1280px) */
  .works-grid, .work-list {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Global Mobile Fixes (Not breaking desktop) */
.mobile-fallback {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

input, select, textarea {
  min-width: 0;
}

/* Force font size 16px only on mobile to prevent zoom */
@media (max-width: 767px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

.phone-flag-select {
  flex-shrink: 0;
}
#phone-number {
  flex-grow: 1;
  min-width: 0;
}
.phone-input-container {
  display: flex;
  gap: 10px;
}
.project-description {
  max-width: 65ch;
  margin: 0 auto;
}

/* Scroll indicator overlap fix */
@media (max-height: 800px) and (max-width: 767px) {
  .scroll-indicator {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
  }
}

/* Phase 7: Performance & Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-play-state: paused !important;
    scroll-behavior: auto !important;
  }
}
