/* ==========================================================================
   RYUK* DESIGN STUDIO — Premium Dark Portfolio
   Pure black, orange-red accent, editorial, awards-grade
   ========================================================================== */

@font-face {
  font-family: "founders-grotesk-x-condensed-bold";
  src: url("fonts/founders-grotesk-x-condensed-bold.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
}

@font-face {
  font-family: "GT-America-Mono-Regular";
  src: url("fonts/GT-America-Mono-Regular.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "BDO Grotesk Variable";
  src: url("https://framerusercontent.com/assets/FcybOZJ2ipUdK2dQmwN3gFVAvuk.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 1000;
}

@font-face {
  font-family: "Clash Display";
  src: url("https://framerusercontent.com/third-party-assets/fontshare/wf/FPDAZ2S6SW4QMSRIIKNNGTPM6VIXYMKO/5HNPQ453FRLIQWV2FNOBUU3FKTDZQVSG/Z3MGHFHX6DCTLQ55LJYRJ5MDCZPMFZU6.woff2")
    format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: "Clash Display";
  src: url("https://framerusercontent.com/third-party-assets/fontshare/wf/2GQIT54GKQY3JRFTSHS4ARTRNRQISSAA/3CIP5EBHRRHE5FVQU3VFROPUERNDSTDF/JTSL5QESUXATU47LCPUNHZQBDDIWDOSW.woff2")
    format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-family: "Clash Display";
  src: url("https://framerusercontent.com/third-party-assets/fontshare/wf/BFBSY7LX5W2U2EROCLVVTQP4VS7S4PC3/IIUX4FGTMD2LK2VWD3RVTAS4SSMUN7B5/53RZKGODFYDW3QHTIL7IPOWTBCSUEZK7.woff2")
    format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

/* ─── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --bg: #ffffff;
  --bg-2: #fafafa;
  --bg-3: #eaeaea;
  --text: #000000;
  --text-dim: rgba(0, 0, 0, 0.6);
  --text-dimmer: rgba(0, 0, 0, 0.35);
  --accent: #ff3300;
  --accent-rgb: 255, 51, 0;
  --white: #ffffff;
  --black: #000000;
  --lavender: #989ec0; /* Ylli's exact periwinkle purple color */
  --dot-color: rgba(0, 0, 0, 0.055);
  --border-color: rgba(0, 0, 0, 0.08);

  --font-title: "Antonio", "Bebas Neue", "Barlow Condensed", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "GT-America-Mono-Regular", "Space Mono", monospace;

  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --pad: clamp(24px, 5vw, 80px);
}

/* ─── RESET ──────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot-color) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  background-position: center center;
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}
body.is-loading {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

/* ─── UTILITIES ──────────────────────────────────────────────────────── */
.accent {
  color: var(--accent);
}
.accent-hover:hover {
  color: var(--accent);
  transition: color 0.2s;
}

.overflow-clip {
  overflow: hidden;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ─── GRAIN ──────────────────────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 99998;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ─── CURSOR (Porto-style Custom Cursor) ─────────────────────────────── */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  will-change: transform;
  transform: translate(-50%, -50%);
  transition:
    width 0.22s cubic-bezier(0.25, 1, 0.5, 1),
    height 0.22s cubic-bezier(0.25, 1, 0.5, 1);
}
.cursor.hovered {
  width: 56px;
  height: 56px;
}
@media (max-width: 768px) {
  .cursor {
    display: none !important;
  }
}

/* ─── CURTAIN ────────────────────────────────────────────────────────── */
.curtain {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99997;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

/* ─── PRELOADER ──────────────────────────────────────────────────────── */
.loading-wrapper {
  position: fixed;
  inset: 0;
  z-index: 99996;
  height: 100dvh;
  overflow: hidden;
  background: #f9cf71; /* Ylli Ramadani Yellow */
  color: #000000;
}

.loading-wrapper.hidden {
  transform: translateY(-101%);
}

.loading {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 48px);
}

.loading nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.year {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.countdown {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.loading-text {
  display: flex;
  justify-content: flex-start;
  overflow: hidden;
  padding-bottom: clamp(24px, 4vw, 48px);
  width: 100%;
  white-space: nowrap;
}

.loading-text span {
  font-family: var(--font-title);
  font-size: clamp(5.5rem, 15vw, 17rem);
  line-height: 95%;
  font-weight: 500;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  animation: loading-text-marquee 14s linear infinite;
  display: inline-block;
  padding: 0.1em 60px 0.15em 0;
  margin-top: -0.1em;
  margin-bottom: -0.15em;
}

@keyframes loading-text-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* ─── MOBILE MENU ────────────────────────────────────────────────────── */
.mob-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 989;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 120px var(--pad) 60px;
  gap: 8px;
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.mob-menu.show {
  transform: translateY(0);
  pointer-events: all;
}
.mob-link {
  font-family: var(--font-title);
  font-size: clamp(3rem, 14vw, 7rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color 0.2s;
}
.mob-link:hover {
  color: var(--accent);
}
.mob-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ─── TYPOGRAPHY FONTS & UTILITIES ───────────────────────────────────── */
.font-jost {
  font-family: "Jost", sans-serif;
}
.font-inter {
  font-family: "Inter", sans-serif;
}

/* ─── FLOATING pill NAVBAR ────────────────────────────────────────────── */
.nav-container-floating {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-floating {
  pointer-events: auto;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 24px;
  gap: 32px;
  width: 665px;
  max-width: 90%;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s;
}

.nav-floating .nav-logo-custom {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-floating .logo-text {
  font-family: "Jost", sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-floating .logo-reg {
  font-size: 8px;
  vertical-align: super;
  opacity: 0.6;
}

.nav-links-custom {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link-custom {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link-custom:hover {
  color: #fff;
}

.nav-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-cta-btn {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #000;
  background: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  text-decoration: none;
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.nav-cta-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.nav-burger-custom {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
}

.nav-burger-custom span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

/* ─── MOBILE MENU ────────────────────────────────────────────────────── */
.mob-menu {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  z-index: 989;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 120px var(--pad) 60px;
  gap: 8px;
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.mob-menu.show {
  transform: translateY(0);
  pointer-events: all;
}
.mob-link {
  font-family: "Jost", sans-serif;
  font-size: clamp(3rem, 14vw, 7rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.mob-link:hover {
  color: var(--accent);
}
.mob-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ═══ HERO ═══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}
.hero-shader-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-shader-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-shader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
}
.hero-voltra-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(24px, 5vw, 80px);
  pointer-events: none;
}

.hero-voltra-container > * {
  pointer-events: auto;
}

/* Left side Address */
.hero-left-address {
  position: absolute;
  left: clamp(24px, 5vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  z-index: 10;
  opacity: 0;
}

.hero-left-address .address-text {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.01em;
}

.hero-left-address .address-link {
  display: inline-block;
  margin-top: 16px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
  transition:
    color 0.3s,
    border-color 0.3s;
}

.hero-left-address .address-link:hover {
  color: #fff;
  border-color: #fff;
}

/* Right side Established */
.hero-right-established {
  position: absolute;
  right: clamp(24px, 5vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
  z-index: 10;
  opacity: 0;
}

.hero-right-established .est-year {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}

.hero-right-established .est-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

/* Center Group */
.hero-center-group {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 5;
  width: auto;
}

.hero-year-badge {
  position: absolute;
  left: 0;
  top: -24px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
}

.hero-title {
  font-family: "Jost", sans-serif;
  font-size: min(12vw, 120px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0em;
  color: #fff;
  margin-bottom: 24px;
  user-select: none;
  text-align: center;
  width: 100%;
}

.hero-services-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.service-item-pill {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.service-num-small {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-right: 4px;
}

/* Bottom Left Description */
.hero-bottom-desc {
  position: absolute;
  left: clamp(24px, 5vw, 80px);
  bottom: clamp(24px, 5vw, 80px);
  text-align: left;
  max-width: 480px;
  z-index: 10;
  opacity: 0;
}

.desc-angle-decorator {
  font-family: "Space Mono", monospace;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
  line-height: 1;
  user-select: none;
}

.desc-text {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.015em;
}

/* Mobile Layout Adaptation */
@media (max-width: 810px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .hero-voltra-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 120px 24px 80px;
    height: auto;
    min-height: 100vh;
    gap: 48px;
  }

  .hero-left-address,
  .hero-right-established,
  .hero-bottom-desc {
    position: static;
    transform: none;
    text-align: center;
    width: 100%;
    max-width: 100%;
    opacity: 1;
  }

  .hero-center-group {
    order: -1;
    margin-bottom: 12px;
    position: relative;
    width: 100%;
  }

  .hero-year-badge {
    position: static;
    margin-bottom: 12px;
    opacity: 1;
  }

  .hero-services-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: center;
    opacity: 1;
  }

  .hero-bottom-desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .desc-angle-decorator {
    display: none;
  }

  .desc-text {
    font-size: 15px;
    line-height: 1.5;
  }

  .nav-floating {
    width: calc(100% - 32px);
    padding: 0 16px;
    height: 48px;
    gap: 0;
  }

  .nav-links-custom {
    display: none !important;
  }

  .nav-burger-custom {
    display: flex !important;
  }
}

/* ─── MAGNETIC BUTTON EFFECT ─────────────────────────────────────────── */
.magnetic {
  display: inline-flex;
  position: relative;
  will-change: transform;
}

/* ─── HOVER REVEAL CARD ──────────────────────────────────────────────── */
.hover-reveal {
  position: fixed;
  pointer-events: none;
  z-index: 200;
  width: 220px;
  height: 160px;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  will-change: transform, opacity;
}
.hover-reveal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── INTRO / ABOUT ──────────────────────────────────────────────────── */
.intro-section {
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot-color) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  background-position: center center;
  border-top: 1px solid var(--border-color);
  padding: clamp(60px, 12vh, 140px) var(--pad);
}
.intro-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.intro-label-row {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  margin-bottom: clamp(32px, 5vw, 60px);
}

.intro-headline {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 8vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: clamp(24px, 4vw, 48px);
  max-width: 1100px;
}

.intro-body {
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: clamp(48px, 8vw, 100px);
}

.intro-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 32px);
  border-top: 1px solid var(--border-color);
  padding-top: clamp(32px, 5vw, 60px);
}

.intro-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-dimmer);
  display: block;
}

.step-imgs {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}
.step-imgs img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
}

.step-title {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

.step-body {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ─── SPECIALTIES ────────────────────────────────────────────────────── */
.spec-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border-color);
  padding: clamp(60px, 10vh, 120px) var(--pad);
}
.spec-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.spec-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: clamp(40px, 7vw, 80px);
}

.spec-headline {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 4.5rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0, 0, 0, 0.06);
}

.spec-item {
  background: var(--bg-2);
  padding: clamp(24px, 3.5vw, 48px) clamp(20px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.3s;
}
.spec-item:hover {
  background: var(--bg-3);
}

.spec-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.spec-name {
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

.spec-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ─── SELECTED WORK (Ylli-style overlay curtain layers) ───────────────── */
.works-wrapper {
  position: relative;
}

#works {
  background: var(--bg);
  color: var(--text);
  height: 100dvh;
  text-align: center;
  display: none; /* JS will show as grid */
  grid-template-rows: 50px 1fr 30px;
  align-items: center;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  position: sticky;
  top: 0;
  z-index: 1;
  text-transform: uppercase;
}

.works-large {
  font-size: clamp(120px, 40dvh, 350px);
  font-family: "founders-grotesk-x-condensed-bold", "Antonio", sans-serif;
  line-height: 0.7;
  grid-row: 2;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.works-flex {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.works-small {
  grid-row: 3;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  margin-bottom: min(max(8px, 1vw), 16px);
  padding-bottom: min(max(8px, 1vw), 16px);
}

.works-letters {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity;
}

.projects-top {
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot-color) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  background-position: center center;
  display: none; /* JS will show as grid */
  grid-template-columns: repeat(2, 1fr);
  gap: min(max(8px, 1vw), 16px);
  padding: 48px min(max(8px, 1vw), 16px) 48px;
  position: sticky;
  top: 0;
  z-index: 2;
}

.projects-middle {
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot-color) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  background-position: center center;
  display: none; /* JS will show as grid */
  position: relative;
  grid-template-columns: 1.3fr 1.05fr 0.75fr;
  gap: min(max(8px, 1vw), 16px);
  padding: 16px min(max(8px, 1vw), 16px) 48px;
  z-index: 3;
}

.projects-bottom {
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot-color) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  background-position: center center;
  display: none; /* JS will show as grid */
  grid-template-columns: repeat(2, 1fr);
  gap: min(max(8px, 1vw), 16px);
  padding: 16px min(max(8px, 1vw), 16px) 25dvw;
  position: sticky;
  top: -25dvw;
  padding-bottom: 25dvw;
  z-index: 4;
}

.images {
  object-fit: cover;
  object-position: center;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.image-animate {
  opacity: 0;
}

.image-stack {
  position: relative;
  width: 100%;
  background: var(--bg);
  overflow: hidden;
  border-radius: 4px;
}

.image-stack .images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 0.15s ease;
}

.image-stack .images.active {
  opacity: 1;
}

.image-stack img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.image-stack__tall {
  aspect-ratio: 1 / 1.33;
}

.image-stack__wide {
  aspect-ratio: 16 / 12;
}

.tall {
  aspect-ratio: 1 / 1.33;
  width: 100%;
}

.wide {
  aspect-ratio: 16 / 12;
  width: 100%;
}

.projects-content {
  display: flex;
  gap: 48px;
  margin-top: 8px;
  font-family: "Inter", sans-serif;
  color: var(--text);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.projects-text {
  opacity: 0;
}

.projects-content::selection {
  background: var(--bg-3);
  color: var(--text);
}

@media (max-width: 768px) {
  .projects-top,
  .projects-middle,
  .projects-bottom {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .projects-middle {
    padding-top: 0;
    position: relative !important;
    z-index: 5;
  }

  .projects-bottom {
    padding-top: 0;
    top: -30dvh;
    padding-bottom: 30dvh;
    z-index: 6;
  }

  .projects-content {
    color: var(--text);
    gap: 24px;
  }

  #works {
    height: 100vh;
  }
}

@media (max-width: 1250px) {
  .works-large {
    font-size: clamp(52px, 30vw, 350px);
  }
}

/* ─── MARQUEE BAR ────────────────────────────────────────────────────── */
.marquee-bar {
  overflow: hidden;
  background: var(--accent);
  padding: clamp(10px, 1.5vw, 16px) 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: mq-scroll 20s linear infinite;
}
.mq-item {
  font-family: var(--font-title);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  white-space: nowrap;
}
@keyframes mq-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ─── CONTACT ────────────────────────────────────────────────────────── */
.contact-section {
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot-color) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  background-position: center center;
  border-top: 1px solid var(--border-color);
  padding: clamp(80px, 14vh, 160px) var(--pad) clamp(60px, 10vh, 120px);
}
.contact-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.contact-label-row {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: clamp(24px, 4vw, 48px);
}

.contact-headline-wrap {
  margin-bottom: clamp(48px, 8vw, 100px);
}
.contact-hl {
  font-family: var(--font-title);
  font-size: clamp(4.5rem, 14vw, 16rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.contact-hl-indent {
  padding-left: clamp(40px, 8vw, 180px);
}

.contact-row {
  display: flex;
  gap: clamp(32px, 6vw, 100px);
  align-items: flex-start;
  border-top: 1px solid var(--border-color);
  padding-top: clamp(32px, 5vw, 60px);
}
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ci-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dimmer);
}
.ci-val {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  color: var(--text);
  font-weight: 400;
}
.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.avail-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-cta-col {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.contact-big-btn {
  display: inline-block;
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 5rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: clamp(16px, 2vw, 24px) clamp(24px, 4vw, 48px);
  border-radius: 8px;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.3s var(--ease-out);
  line-height: 1;
  text-align: center;
}
.contact-big-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-4px);
}

/* ─── FOOTER ─────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.footer-wordmark-container {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.footer-wordmark {
  font-family: var(--font-body);
  font-size: clamp(14vw, 22vw, 32vw);
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-transform: none;
  color: rgba(0, 0, 0, 0.01);
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.06);
  padding: 0;
  user-select: none;
  display: block;
}

.footer-bar {
  border-top: 1px solid var(--border-color);
}

.footer-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(16px, 2.5vw, 28px) 0;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dimmer);
}

.back-top {
  color: var(--text-dimmer);
  transition: color 0.2s;
  letter-spacing: 0.1em;
}
.back-top:hover {
  color: var(--accent);
}

/* ─── GSAP REVEAL BASE STATES ────────────────────────────────────────── */
.js-reveal {
  transform: translateY(105%);
}
.js-reveal-up {
  opacity: 0;
  transform: translateY(32px);
}
.js-big-reveal {
  opacity: 0;
  transform: translateY(48px);
}
.js-step-reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .spec-grid {
    grid-template-columns: 1fr 1fr;
  }
  .work-list-header {
    grid-template-columns: 60px 1.5fr 2fr 1fr;
  }
  .work-row {
    grid-template-columns: 60px 1.5fr 2fr 1fr;
  }
  .work-row-cta-wrap {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .avail-badge {
    display: none;
  }
  .nav-burger {
    display: flex;
  }

  .hero-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .intro-steps {
    grid-template-columns: 1fr;
  }

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

  .work-list-header {
    display: none;
  }
  .work-row {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: 8px 16px;
    padding: 24px var(--pad);
  }
  .work-row-title {
    grid-column: 2;
    font-size: 2.2rem;
  }
  .work-row-cat {
    grid-column: 2;
    font-size: 0.72rem;
  }
  .work-row-date {
    grid-column: 2;
    font-size: 0.72rem;
    color: var(--text-dimmer);
  }
  .work-row-cta {
    display: none;
  }
  .hover-reveal {
    display: none !important;
  }

  .contact-row {
    flex-direction: column;
  }
  .contact-cta-col {
    justify-content: flex-start;
  }

  .badge-spin {
    display: none !important;
  }
}

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

/* ─── MOCKUP SHOWCASE SECTION ────────────────────────────────────────── */
.mockup-showcase-section {
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot-color) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  background-position: center center;
  border-top: 1px solid var(--border-color);
  padding: clamp(80px, 12vh, 160px) var(--pad);
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.mockup-card {
  background: linear-gradient(180deg, #d3e5f2 0%, #edf4f8 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 48px) clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.04);
}

.mockup-top-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: clamp(40px, 6vh, 80px);
  text-align: center;
}

.mockup-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(40px, 6vh, 80px);
}

/* White band behind goggles */
.goggles-back-bar {
  position: absolute;
  top: 41.5%; /* Positioned right behind the goggles of the silhouette */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  height: 95px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 1;
}

.mockup-main-img {
  width: 100%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

/* Crosshair overlay on cheek (aligned with reference photo) */
.goggles-crosshair {
  position: absolute;
  top: 48%;
  left: 44.5%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  z-index: 3;
}
.goggles-crosshair::before,
.goggles-crosshair::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.75);
}
/* Horizontal line of plus */
.goggles-crosshair::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}
/* Vertical line of plus */
.goggles-crosshair::after {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.mockup-mid-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #000000;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.red-square {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent);
}

.mockup-bottom-meta {
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 40px);
}

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

.meta-col span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.45);
}

/* Responsive details */
@media (max-width: 768px) {
  .mockup-bottom-meta {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .goggles-back-bar {
    height: 70px;
  }
}
@media (max-width: 480px) {
  .mockup-bottom-meta {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .goggles-back-bar {
    height: 50px;
  }
}

/* ─── PROCESS SECTION (Craftica Our Process Replica) ─────────────────── */
.process-section {
  position: relative;
  background-color: #090909; /* Premium dark background */
  color: #ffffff;
  width: 100%;
  padding: 120px var(--pad);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.process-inner {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.process-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 32px;
}
.process-label {
  width: 22%;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4); /* Premium subtle white/grey */
}
.process-main-title {
  width: 56%;
  font-family: "Inter", sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.98;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
  text-wrap: balance;
}
.process-main-title span.dimmed {
  color: rgba(255, 255, 255, 0.25); /* Elegant low-contrast dimmed grey */
}
.process-sub-caption {
  width: 22%;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45); /* Muted white */
  font-weight: 300;
}
.process-cards-row {
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background-color: #090909;
}
.process-card {
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 520px;
  position: relative;
  background-color: transparent;
  transition:
    flex 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.4s ease,
    border-color 0.4s ease;
  overflow: hidden;
}
.process-card:last-child {
  border-right: none;
}
.process-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.process-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.25); /* Monochromatic number */
  letter-spacing: 0.05em;
  transition: color 0.4s ease;
}
.process-card-title {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.7);
  transition:
    color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Accordion Grid Animation Container */
.process-card-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}
.process-card-body-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.process-card-image-wrap {
  width: 100%;
  aspect-ratio: 1.77 / 1;
  overflow: hidden;
  border-radius: 10px;
  margin-top: 32px;
  background-color: #000000;
  position: relative;
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.process-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.1) brightness(0.85); /* Deep contrast B&W */
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
}
.process-card-desc {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5); /* Monochromatic body text */
  margin: 24px 0 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06); /* Premium thin divider inside card on expand */
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  font-weight: 300;
}

/* Desktop Horizontal Accordion Hover States */
@media (min-width: 1025px) {
  .process-cards-row:hover .process-card {
    flex: 0.65; /* Shrink other cards */
  }
  .process-cards-row .process-card:hover {
    flex: 2.4; /* Expand hovered card */
    background-color: rgba(255, 255, 255, 0.015);
    border-right-color: rgba(255, 255, 255, 0.25); /* Premium white divider accent */
  }
  .process-card:hover .process-card-title {
    color: #ffffff;
    transform: translateX(2px);
  }
  .process-card:hover .process-card-num {
    color: rgba(255, 255, 255, 0.65);
  }
  .process-card:hover .process-card-body {
    grid-template-rows: 1fr;
  }
  .process-card:hover .process-card-image-wrap {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
  }
  .process-card:hover .process-card-desc {
    opacity: 1;
    transform: translateY(0);
    color: rgba(255, 255, 255, 0.8);
    transition-delay: 0.25s;
  }
  .process-card:hover .process-card-img {
    filter: contrast(1.25) brightness(1.1); /* Strictly monochrome but high-contrast pop */
    transform: scale(1.02);
  }
}

.works-item-img {
  display: block;
  transform: scale(1.03);
  will-change: transform;
  filter: saturate(0.9);
  transition:
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s ease;
}
.works-item:hover .works-item-img {
  transform: scale(1.08);
  filter: saturate(1.05);
}

.works-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 28px;
  transition: background 0.5s ease;
}
.works-item:hover .works-item-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.works-item-num,
.works-item-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(8px);
  transition:
    color 0.35s ease,
    transform 0.35s ease;
}
.works-item-cta {
  transition-delay: 0.04s;
}

.works-item:hover .works-item-num,
.works-item:hover .works-item-cta {
  color: #ffffff;
  transform: translateY(0);
}

.works-item-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 2px 0;
  margin-top: 10px;
  border-top: 1px solid var(--border-color);
}

.works-item-info-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.works-item-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.22s ease;
}
.works-item:hover .works-item-title {
  color: var(--accent);
}

.works-item-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(0, 0, 0, 0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.works-item-year {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(0, 0, 0, 0.35);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .works-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .works-item--featured,
  .works-item--half {
    grid-column: span 1;
  }
  .works-item--featured .works-item-img-wrap {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 1024px) {
  .process-header-row {
    flex-direction: column;
    gap: 16px;
  }
  .process-label,
  .process-main-title,
  .process-sub-caption {
    width: 100%;
  }
  .process-main-title {
    font-size: clamp(28px, 5vw, 38px);
  }
  .process-cards-row {
    flex-wrap: wrap;
    gap: 16px;
    border: none;
    background-color: transparent;
  }
  .process-card {
    flex: 1 1 calc(50% - 16px);
    min-height: auto;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    background-color: #0c0c0c;
    padding: 32px 24px;
  }
  .process-card:last-child {
    flex: 1 1 100%; /* Stretch last item on tablet */
  }
  /* Always expand accordion on tablet/mobile */
  .process-card-body {
    grid-template-rows: 1fr;
  }
  .process-card-image-wrap {
    opacity: 1;
    transform: none;
    margin-top: 24px;
  }
  .process-card-img {
    filter: contrast(1.15) brightness(1); /* Monochrome mobile/tablet */
  }
  .process-card-desc {
    opacity: 1;
    transform: none;
    margin-top: 16px;
    border-top: none;
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .process-cards-row {
    flex-direction: column;
    gap: 16px;
  }
  .process-card {
    flex: 1 1 100%;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    background-color: #0c0c0c;
    padding: 24px;
  }
  .process-card:last-child {
    flex: 1 1 100%;
  }
  .process-card-image-wrap {
    margin-top: 20px;
  }
}

/* ─── VOICE OF RYUK SECTION ────────────────────────────────────────── */
.voice-section {
  position: relative;
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot-color) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  background-position: center center;
  width: 100%;
  max-width: 100vw;
  padding: 120px var(--pad) 0;
  box-sizing: border-box;
  overflow: visible;
  z-index: 5;
}

.voice-header {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto 80px;
}

.voice-header-sep {
  width: 100%;
  height: 1px;
  background: var(--border-color); /* subtle line in light/dark mode */
  margin-bottom: 24px;
}

.voice-header-content {
  display: grid;
  grid-template-columns: 80px 1fr 120px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.voice-num {
  text-align: left;
}

.voice-title {
  text-align: left;
}

.voice-year {
  text-align: right;
  color: var(--text-dimmer);
}

.voice-container {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

/* Left Sticky Column (Centered text behind scrolling images) */
.voice-left {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 0 40px;
  z-index: 1;
  pointer-events: none; /* Let pointer events pass through to gallery items */
}

.voice-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  text-align: center;
  width: 100%;
}

.voice-desc {
  font-family: "Clash Display", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem); /* Tuned size to fit and look exact */
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: center;
}

.voice-line {
  display: block;
  text-align: center;
  width: 100%;
  white-space: normal; /* Allow wrapping instead of horizontal overflow */
}

.voice-char {
  display: inline-block;
  opacity: 0.15; /* starts dimmed for scroll-reveal */
  transform: translateY(20px);
  will-change: opacity, transform;
}

.voice-char-space {
  display: inline-block;
}

.voice-signature {
  width: 120px;
  height: auto;
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
  margin: 0 auto;
}

.voice-signature img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply; /* hide white background, show black strokes */
}

/* Right Scrolling Column (Gallery overlay scrolling on top of text) */
.voice-right {
  position: relative;
  width: 100%;
  margin-top: 0; /* Let gallery start right after the viewport fold, so it overlays naturally as you scroll */
  box-sizing: border-box;
  padding-bottom: 200px;
  z-index: 3;
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 200px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-row {
  display: flex;
  align-items: flex-end;
  width: 100%;
  position: relative;
}

.gallery-row-2 {
  justify-content: space-between;
}

.gallery-row-1 {
  justify-content: center;
}

.gallery-img-wrapper {
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-3);
  position: relative;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.05),
    0 30px 60px rgba(0, 0, 0, 0.08),
    0 50px 100px rgba(0, 0, 0, 0.12); /* Layered floating shadows for clean depth */
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.06);
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-img-wrapper:hover {
  transform: translateY(-8px); /* Lift up on hover for interactive depth */
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.08),
    0 40px 80px rgba(0, 0, 0, 0.15),
    0 70px 130px rgba(0, 0, 0, 0.22);
}

.gallery-img-wrapper:hover img {
  transform: scale(1.1);
}

/* Specific image widths & aspect ratios matching reference layout */
.img-1 {
  width: 264px;
  aspect-ratio: 1.34 / 1;
}

.img-2 {
  width: 264px;
  aspect-ratio: 0.81 / 1;
}

.img-3 {
  width: 264px;
  aspect-ratio: 1.34 / 1;
}

.img-4 {
  width: 399px;
  aspect-ratio: 1.34 / 1;
}

.img-5 {
  width: 264px;
  aspect-ratio: 1.34 / 1;
}

.img-6 {
  width: 504px;
  aspect-ratio: 0.7 / 1;
}

/* Responsive collapse on mobile */
@media (max-width: 809px) {
  .voice-section {
    padding: 80px 20px 0;
  }

  .voice-header {
    margin-bottom: 40px;
  }

  .voice-header-content {
    grid-template-columns: 1fr 1fr;
  }

  .voice-num {
    display: none;
  }

  .voice-container {
    flex-direction: column;
  }

  .voice-left {
    position: relative;
    top: unset;
    height: auto;
    width: 100%;
    padding: 0 0 60px 0;
    pointer-events: auto;
  }

  .voice-desc {
    font-size: 2rem;
    line-height: 1.05;
  }

  .voice-line {
    white-space: normal;
  }

  .voice-char {
    opacity: 1 !important;
    transform: none !important;
  }

  .voice-signature {
    opacity: 1 !important;
    transform: none !important;
    width: 90px;
  }

  .voice-right {
    width: 100%;
    padding-bottom: 80px;
    margin-top: 0; /* reset overlay margin on mobile */
  }

  .gallery-grid {
    gap: 80px;
  }

  .gallery-row-2 {
    gap: 20px;
  }

  .img-1,
  .img-2,
  .img-3,
  .img-4,
  .img-5,
  .img-6 {
    width: 100%;
    aspect-ratio: unset;
    height: auto;
  }

  .gallery-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .img-1 {
    aspect-ratio: 1.34 / 1;
  }
  .img-2 {
    aspect-ratio: 0.81 / 1;
  }
  .img-3 {
    aspect-ratio: 1.34 / 1;
  }
  .img-4 {
    aspect-ratio: 1.34 / 1;
  }
  .img-5 {
    aspect-ratio: 1.34 / 1;
  }
  .img-6 {
    aspect-ratio: 0.7 / 1;
  }
}
