/* ========================================================
   VERSION1.TECH — EDITORIAL DESIGN SYSTEM & STYLESHEET
   ======================================================== */

:root {
  /* Core Palette */
  --bg-color: #F7F4EC;
  --text-primary: #090909;
  --text-secondary: #5F5F5F;
  --text-muted: #777777;
  --hairline: #C8C8C3;
  --pure-white: #FFFFFF;
  --accent-dot: #090909;

  /* Typography */
  --font-sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-mono: "Space Grotesk", "Plus Jakarta Sans", monospace;

  /* Spacing & Layout */
  --page-padding: 4.8vw;
  --max-width: 1480px;
  --header-height: 74px;

  /* Easing */
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.55;
  font-weight: 400;
}

/* Ambient Canvas Layer */
.hero-canvas-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* Base Links & Buttons */
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================================
   HEADER / MASTHEAD
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(247, 244, 236, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease-editorial), background-color 0.25s var(--ease-editorial);
}

.site-header.has-border {
  border-bottom-color: rgba(200, 200, 195, 0.7);
  background-color: rgba(247, 244, 236, 0.96);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.2s var(--ease-editorial);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.2vw, 44px);
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease-editorial);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: width 0.3s var(--ease-editorial);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.mobile-menu-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: transform 0.3s var(--ease-editorial), opacity 0.2s;
}

/* ========================================================
   MOBILE FULLSCREEN MENU
   ======================================================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--bg-color);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 32px var(--page-padding);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-editorial);
}

.mobile-menu-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.mobile-brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mobile-close-btn {
  font-size: 36px;
  line-height: 1;
  color: var(--text-primary);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: auto;
}

.mobile-nav-item {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.mobile-nav-item .item-num {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}

.mobile-cta-btn {
  background-color: var(--text-primary);
  color: var(--pure-white);
  padding: 16px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
}

.mobile-meta {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-align: center;
}

/* ========================================================
   GLOBAL SECTION DIVIDERS & RHYTHM
   ======================================================== */
.section-divider {
  max-width: var(--max-width);
  margin: 0 auto 56px auto;
  padding: 0 var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.divider-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  text-transform: uppercase;
  background-color: var(--bg-color);
  padding-right: 24px;
  z-index: 2;
}

.divider-subtitle {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  text-transform: uppercase;
  background-color: var(--bg-color);
  padding-left: 24px;
  z-index: 2;
}

.divider-line {
  position: absolute;
  top: 50%;
  left: var(--page-padding);
  right: var(--page-padding);
  height: 1px;
  background-color: var(--hairline);
  z-index: 1;
}

/* ========================================================
   01 — HERO SECTION
   ======================================================== */
.section-hero {
  height: clamp(700px, calc(100vh - var(--header-height)), 920px);
  min-height: 700px;
  max-height: 920px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 0 28px 0;
  z-index: 2;
  overflow: hidden;
}

/* Fluid Editorial Flowing Particles Canvas */
.hero-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  column-gap: 4vw;
  position: relative;
  align-items: center;
  flex: 1;
  z-index: 2;
}

/* Hero Left Metadata Column */
.hero-meta-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 14px;
}

.section-index {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

.meta-wordlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Hero Central Typography Block */
.hero-typography-block {
  display: flex;
  flex-direction: column;
  z-index: 5;
}

.headline-wrapper {
  margin-bottom: 24px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
  letter-spacing: -0.055em;
  font-weight: 800;
  color: var(--text-primary);
}

.title-row {
  display: block;
  user-select: none;
}

.row-the {
  font-size: clamp(68px, 9vw, 130px);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-bottom: -4px;
}

.row-next {
  font-size: clamp(96px, 13.5vw, 205px);
  font-weight: 800;
  letter-spacing: -0.06em;
  position: relative;
  /* Material clipping texture fill matching reference */
  background-image: url("assets/hero-next-texture.jpg");
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.row-version {
  font-size: clamp(86px, 12vw, 185px);
  font-weight: 800;
  letter-spacing: -0.055em;
  margin-top: -8px;
}

.hero-subline {
  font-size: clamp(14px, 1.4vw, 21px);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 36px;
  padding-left: 2px;
}

.hero-narrative {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 440px;
}

.hero-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  z-index: 6;
  text-shadow: 0 0 10px rgba(247, 244, 236, 0.95), 0 0 20px rgba(247, 244, 236, 0.9), 0 0 30px rgba(247, 244, 236, 0.85);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 30px;
  background-color: var(--text-primary);
  color: var(--pure-white);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--text-primary);
  border-radius: 0;
  transition: background-color 0.3s var(--ease-editorial), color 0.3s var(--ease-editorial);
}

.btn-primary:hover {
  background-color: #1a1a1a;
}

.btn-underline {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.btn-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-primary);
  transition: transform 0.3s var(--ease-editorial);
  transform-origin: left;
}

.btn-underline:hover::after {
  transform: scaleX(1.1);
}

/* Hero Right Visual Zone */
.hero-visual-zone {
  position: relative;
  min-height: 520px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: auto;
}

.abstract-sculpture-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-webgl-canvas {
  width: 100%;
  height: 100%;
  max-width: 740px;
  max-height: 620px;
  display: block;
  pointer-events: auto;
  user-select: none;
  touch-action: none;
  z-index: 2;
}

.sculpture-image {
  width: 140%;
  max-width: 780px;
  height: auto;
  max-height: 660px;
  object-fit: contain;
  filter: contrast(1.05) brightness(0.98);
  pointer-events: none;
  user-select: none;
  transform: translate(-5%, -2%);
}

.orbit-geometry {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  pointer-events: none;
  opacity: 0.75;
  z-index: 3;
}

/* Interactive Coordinate Reticle */
.coordinate-reticle {
  position: absolute;
  top: 48%;
  left: 36%;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: transform 0.15s ease-out;
  z-index: 4;
}

.reticle-circle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(200, 200, 195, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 244, 236, 0.35);
  backdrop-filter: blur(2px);
}

.reticle-center-dot {
  width: 4px;
  height: 4px;
  background-color: var(--text-primary);
  border-radius: 50%;
}

.reticle-coords {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Right Editorial Metadata */
.hero-meta-right {
  position: absolute;
  right: -10px;
  top: 48%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 48px;
  text-align: left;
  z-index: 10;
  max-width: 170px;
}

.studio-statement {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  line-height: 1.45;
  text-shadow: 0 0 10px #F7F4EC, 0 0 18px #F7F4EC, 0 1px 2px #F7F4EC;
}

.editorial-dash {
  display: block;
  margin-top: 8px;
  color: var(--hairline);
}

.studio-stage-tag {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-shadow: 0 0 10px #F7F4EC, 0 0 18px #F7F4EC, 0 1px 2px #F7F4EC;
}

.stage-glyph {
  font-size: 14px;
  line-height: 1;
  color: var(--text-secondary);
}

.stage-index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-primary);
}

.stage-caption {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Hero Bottom Combined Bar */
.hero-bottom-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4vw;
  margin-top: 48px;
  padding-top: 24px;
}

.hero-scroll-prompt {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.scroll-track {
  width: 1px;
  height: 46px;
  background-color: var(--hairline);
  position: relative;
  overflow: hidden;
}

.scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background-color: var(--text-primary);
  animation: scrollPulse 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollPulse {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(160%); }
  100% { transform: translateY(300%); }
}

.scroll-label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Hero Bottom Rule */
.hero-bottom-rule {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 24px;
}

.bottom-spec {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  white-space: nowrap;
}

.hairline-fill {
  flex: 1;
  height: 1px;
  background-color: var(--hairline);
}

/* ========================================================
   02 — ABOUT SECTION
   ======================================================== */
.section-about {
  padding: 80px 0 120px 0;
  position: relative;
  z-index: 2;
}

.about-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  column-gap: 6vw;
  row-gap: 40px;
}

.about-headline-col {
  display: flex;
  flex-direction: column;
}

.editorial-display-heading {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}

.dim-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.statement-main {
  font-weight: 500;
}

.statement-emphasis {
  font-weight: 800;
  color: var(--text-primary);
}

.about-content-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 10px;
}

.purpose-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meta-badge {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
}

.purpose-lead {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.purpose-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.purpose-accent {
  color: var(--text-primary);
  font-weight: 500;
}

.editorial-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-primary);
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--text-primary);
  transition: opacity 0.3s var(--ease-editorial);
}

.editorial-inline-btn:hover {
  opacity: 0.7;
}

.btn-arrow {
  transition: transform 0.3s var(--ease-editorial);
}

.editorial-inline-btn:hover .btn-arrow {
  transform: translate(3px, -3px);
}

/* ========================================================
   03 — SERVICES SECTION
   ======================================================== */
.section-services {
  padding: 80px 0 120px 0;
  position: relative;
  z-index: 2;
}

.services-spec-sheet {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.service-column {
  border-right: 1px solid var(--hairline);
  padding: 0 16px 24px 16px;
  position: relative;
  transition: background-color 0.3s var(--ease-editorial);
}

.service-column:first-child {
  border-left: 1px solid var(--hairline);
}

.service-column:hover {
  background-color: rgba(9, 9, 9, 0.015);
}

.service-col-inner {
  display: flex;
  flex-direction: column;
}

.service-num {
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 14px;
}

.service-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-separator {
  width: 100%;
  height: 1px;
  background-color: var(--hairline);
  margin-bottom: 18px;
}

.service-capabilities {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-capabilities li {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* ========================================================
   04 — SELECTED WORK SECTION
   ======================================================== */
.section-work {
  padding: 80px 0 140px 0;
  position: relative;
  z-index: 2;
}

.work-showcase {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
  position: relative;
}

.project-slide {
  display: none;
  grid-template-columns: 1fr 1.35fr;
  column-gap: 5vw;
  align-items: center;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.55s var(--ease-editorial), transform 0.55s var(--ease-editorial);
}

.project-slide.active {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

/* Project Text Column */
.project-content-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-meta-line {
  display: flex;
  align-items: center;
  gap: 16px;
}

.slide-indicator {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.project-category {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.project-title {
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}

.project-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 440px;
}

.project-cta-line {
  margin-top: 8px;
}

.btn-case-study {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--text-primary);
  transition: opacity 0.3s;
}

.btn-case-study:hover {
  opacity: 0.75;
}

.btn-case-study:hover .arrow-right {
  transform: translateX(4px);
}

.arrow-right {
  transition: transform 0.3s var(--ease-editorial);
}

/* Carousel Arrow Controls */
.slider-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  max-width: 440px;
}

.nav-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-primary);
  transition: background-color 0.25s, border-color 0.25s;
}

.nav-arrow:hover {
  background-color: var(--text-primary);
  color: var(--pure-white);
  border-color: var(--text-primary);
}

.active-counter {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-left: auto;
}

/* Project Visual Column */
.project-visual-col {
  display: flex;
  justify-content: center;
  position: relative;
}

.project-card-container {
  position: relative;
  width: 100%;
  max-width: 580px;
}

.project-card-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: #1a1a1a;
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.14);
  z-index: 2;
  transition: transform 0.5s var(--ease-editorial), box-shadow 0.5s var(--ease-editorial);
}

.project-card-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
  z-index: 1;
}

.project-card-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -12px rgba(0, 0, 0, 0.2);
}

.project-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.card-badge-top {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--pure-white);
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.badge-phrase {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.35;
}

.badge-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* ========================================================
   05 — OUR BELIEF SECTION
   ======================================================== */
.section-belief {
  padding: 90px 0 140px 0;
  position: relative;
  z-index: 2;
}

.belief-composition {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  column-gap: 6vw;
  row-gap: 40px;
  align-items: start;
}

.belief-display {
  display: flex;
  flex-direction: column;
  font-size: clamp(48px, 6.2vw, 92px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.line-bold {
  color: var(--text-primary);
}

.line-muted {
  color: #8C8C87;
}

.belief-metrics-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 14px;
}

.belief-mission {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 500;
  max-width: 420px;
}

.hairline-divider-short {
  width: 48px;
  height: 1px;
  background-color: var(--hairline);
}

.studio-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.stat-value {
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
}

.belief-origin-tag {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
}

.origin-brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.origin-place {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

/* ========================================================
   06 — CONTACT SECTION (LET'S BUILD)
   ======================================================== */
.section-contact {
  padding: 90px 0 140px 0;
  position: relative;
  z-index: 2;
}

.contact-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  column-gap: clamp(48px, 7vw, 100px);
  row-gap: 48px;
  align-items: start;
}

.contact-headline-col {
  display: flex;
  flex-direction: column;
}

.contact-display {
  font-size: clamp(40px, 4.8vw, 70px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}

.emphasis-heavy {
  font-weight: 800;
}

.contact-form-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-intro {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.editorial-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-row-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.input-field-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
}

.field-input, .field-select, .field-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  font-family: inherit;
  font-size: 15px;
  color: var(--text-primary);
  padding: 8px 0;
  border-radius: 0;
  outline: none;
  transition: border-color 0.25s;
}

.field-select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.field-textarea {
  resize: vertical;
  min-height: 60px;
}

.input-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: width 0.3s var(--ease-editorial);
}

.field-input:focus ~ .input-bar,
.field-select:focus ~ .input-bar,
.field-textarea:focus ~ .input-bar {
  width: 100%;
}

.btn-primary-block {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 320px;
  height: 52px;
  background-color: var(--text-primary);
  color: var(--pure-white);
  padding: 0 24px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.25s, transform 0.2s;
}

.btn-primary-block:hover {
  background-color: #1a1a1a;
}

.btn-primary-block:hover .btn-arrow {
  transform: translateX(4px);
}

.form-feedback {
  font-size: 13.5px;
  line-height: 1.45;
  padding: 12px 16px;
  border: 1px solid var(--hairline);
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: rgba(9, 9, 9, 0.03);
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.form-feedback.error {
  display: block;
  background-color: rgba(180, 50, 50, 0.05);
  color: #8A2020;
  border-color: #8A2020;
}

/* Contact Studio Pillars Stack */
.contact-words-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: clamp(36px, 4.8vw, 64px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.contact-words-stack span {
  line-height: 1.4;
}

.contact-words-stack .dash {
  color: var(--hairline);
  margin-top: 2px;
  font-weight: 400;
}

/* ========================================================
   07 — FOOTER
   ======================================================== */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 60px 0 80px 0;
  position: relative;
  z-index: 2;
  background-color: var(--bg-color);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-caption {
  display: flex;
  flex-direction: column;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  line-height: 1.35;
}

.footer-col-nav {
  display: flex;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: color 0.25s;
}

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

.footer-col-meta {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.footer-geo, .footer-tagline {
  display: flex;
  flex-direction: column;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  line-height: 1.35;
}

.back-to-top {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  border-bottom: 1px solid var(--text-primary);
  padding-bottom: 2px;
  transition: opacity 0.25s;
}

.back-to-top:hover {
  opacity: 0.7;
}



/* ========================================================
   CASE STUDY MODAL
   ======================================================== */
.case-study-modal {
  position: fixed;
  inset: 0;
  z-index: 350;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.case-study-modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 9, 0.65);
  backdrop-filter: blur(6px);
}

.modal-window {
  position: relative;
  background-color: var(--bg-color);
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 52px;
  z-index: 2;
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 32px;
  line-height: 1;
  color: var(--text-primary);
}

/* Modal Content Typography */
.modal-meta-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.modal-case-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  line-height: 1.05;
  color: var(--text-primary);
}

.modal-overview {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
  margin-bottom: 36px;
}

.modal-spec-col {
  border-right: 1px solid var(--hairline);
  padding: 20px;
}

.modal-spec-col h4 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.modal-spec-col p {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
}

/* Rich Editorial Case Study Styles */
.modal-hero-cover {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border: 1px solid var(--hairline);
  margin-bottom: 32px;
}

.modal-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
  margin-bottom: 32px;
}

.modal-metric-item {
  border-right: 1px solid var(--hairline);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-metric-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.modal-metric-lbl {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.modal-editorial-section {
  margin-bottom: 28px;
}

.modal-section-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--hairline);
}

.modal-editorial-section p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.modal-quote-box {
  background-color: rgba(200, 200, 195, 0.15);
  border-left: 2px solid var(--text-primary);
  border-top: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 28px 32px;
  margin: 32px 0;
}

.modal-quote-text {
  font-size: 15px;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 12px !important;
}

.modal-quote-author {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.modal-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 28px;
}

.modal-tag-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  background: transparent;
  padding: 6px 14px;
  border: 1px solid var(--hairline);
  text-transform: uppercase;
}

/* PageSpeed Insights Benchmark Spec Sheet */
.modal-pagespeed-card {
  border: 1px solid var(--hairline);
  background-color: transparent;
  margin-bottom: 32px;
}

.modal-pagespeed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--hairline);
  background-color: rgba(200, 200, 195, 0.2);
}

.modal-pagespeed-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-primary);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-pagespeed-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-primary);
}

.modal-pagespeed-source {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.modal-pagespeed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.modal-ps-item {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--hairline);
  background-color: transparent;
}

.modal-ps-item:last-child {
  border-right: none;
}

.modal-ps-score-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.modal-ps-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
}

.modal-ps-total {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.modal-ps-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.modal-ps-status {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ========================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ======================================================== */
@media (max-width: 1280px) {
  .hero-container {
    grid-template-columns: 60px 1.1fr 1fr;
    column-gap: 2vw;
  }

  .services-spec-sheet {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 32px;
  }
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }

  .hero-meta-left {
    display: none;
  }

  .hero-visual-zone {
    justify-content: center;
    min-height: 420px;
  }

  .hero-meta-right {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    max-width: 100%;
    margin-top: 24px;
    flex-direction: row;
    justify-content: space-between;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-spec-sheet {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-slide.active {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }


  .belief-composition {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.25fr;
    column-gap: 40px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-col-meta {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
    --page-padding: 6vw;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 28px;
    height: 28px;
    padding: 2px;
    flex-shrink: 0;
    cursor: pointer;
  }

  .mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
  }

  .section-hero {
    height: auto;
    min-height: calc(100vh - var(--header-height));
    max-height: none;
    padding: 32px 0 48px 0;
    overflow: hidden;
  }

  .hero-container {
    grid-template-columns: 1fr;
    row-gap: 36px;
    width: 100%;
    max-width: 100%;
  }

  .hero-title {
    line-height: 0.92;
  }

  .row-the {
    font-size: clamp(38px, 11vw, 52px);
  }

  .row-next {
    font-size: clamp(52px, 15vw, 74px);
  }

  .row-version {
    font-size: clamp(48px, 14vw, 68px);
  }

  .hero-visual-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    height: auto;
    margin: 24px 0 16px 0;
    width: 100%;
    overflow: visible;
  }

  .abstract-sculpture-wrapper {
    width: 100%;
    max-width: 100%;
    height: 300px;
    overflow: hidden;
  }

  .hero-webgl-canvas {
    max-width: 100%;
    max-height: 300px;
  }

  .orbit-geometry {
    width: 240px;
    height: 240px;
  }

  .sculpture-image {
    max-height: 280px;
    transform: none;
  }

  .hero-meta-right {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
    padding: 0 4px;
  }

  .hero-narrative {
    max-width: 100%;
  }

  .hero-description {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .hero-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 36px;
    padding-top: 20px;
  }

  .hero-bottom-rule {
    width: 100%;
  }

  .services-spec-sheet {
    grid-template-columns: 1fr;
    border-left: none;
  }

  .service-column {
    border-right: none;
    border-left: none;
    border-bottom: 1px solid var(--hairline);
    padding: 24px 0;
  }

  .service-column:first-child {
    border-left: none;
  }

  .form-row-duo {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }

  .studio-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modal-window {
    padding: 28px 20px;
  }

  .modal-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-specs-grid {
    grid-template-columns: 1fr;
  }

  .modal-pagespeed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero-canvas-layer {
    display: none !important;
  }

  .abstract-sculpture-wrapper {
    transform: none !important;
    transition: none !important;
  }

  .coordinate-reticle {
    display: none !important;
  }
}
