/* ==========================================================================
   MUHAMMED CAN YILDIRIM — PORTFOLIO V02
   Strict Reference Architecture: MadeByIgor.com × AristideBenoist.com
   Inertial Smooth Scroll · 3D Barrel-Bulge Strip · 3D Helical Vortex · References
   ========================================================================== */

:root {
  color-scheme: only light;
  forced-color-adjust: none;
  --ink: #000000;
  --aristide-bg: #141514;
  --aristide-ink: #bac4b8;
  --detail-bg: #f3f1ec;
  --detail-ink: #b8892d;
  --ease-aristide: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-o6: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-o5: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-crossfade: cubic-bezier(0.39, 0.575, 0.565, 1);
  --font-ui: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Syne", "Space Grotesk", -apple-system, sans-serif;
  --font-display: "Big Shoulders Display", Impact, sans-serif;
  --margin-x: 28px;
  --frame-x: 50px;
}

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

html {
  font-size: 16px;
  background: #141514;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "liga" off;
  scrollbar-width: thin;
  scrollbar-color: rgba(140, 140, 140, 0.32) transparent;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(140, 140, 140, 0.34);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(140, 140, 140, 0.58);
}

body {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  overflow-x: hidden;
  transition: color 500ms var(--ease-aristide);
}

body.is-loading,
body.modal-open {
  overflow: hidden;
}

a,
button {
  color: inherit;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

img,
canvas,
video {
  display: block;
}

::selection {
  background: var(--ink);
  color: #ffffff;
}

/* ==========================================================================
   FULL-BLEED WEBGL BACKGROUND CANVAS
   ========================================================================== */
.webgl-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: #42bab6;
}

/* ==========================================================================
   INERTIAL SMOOTH-SCROLL STAGE (MadeByIgor ScrollSmoother Clone)
   ========================================================================== */
.smooth-viewport {
  position: relative;
  z-index: 6;
  width: 100%;
}

body.has-smooth .smooth-viewport {
  position: fixed;
  inset: 0;
  height: 100vh;
  overflow: hidden;
}

.smooth-content {
  width: 100%;
  will-change: transform;
}

/* ==========================================================================
   CUSTOM PRECISION CURSOR
   ========================================================================== */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 24px;
  pointer-events: none;
  z-index: 9500;
  color: var(--ink);
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 200ms ease, color 300ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-cursor .cur-icon {
  position: absolute;
  width: 30px;
  height: 16px;
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 160ms ease, transform 240ms var(--ease-o6);
}

.custom-cursor[data-mode="left"],
.custom-cursor[data-mode="right"],
.custom-cursor[data-mode="drag"] {
  opacity: 1;
}

.custom-cursor[data-mode="left"] .cur-left,
.custom-cursor[data-mode="right"] .cur-right,
.custom-cursor[data-mode="drag"] .cur-drag {
  opacity: 1;
  transform: scale(1);
}

body.hide-native-cursor,
body.hide-native-cursor * {
  cursor: none !important;
}

/* ==========================================================================
   ARISTIDE MASKED NUMERIC PRELOADER (001 -> 100)
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #141514;
  color: #bac4b8;
  pointer-events: all;
  transition: opacity 550ms var(--ease-aristide), visibility 550ms;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-digits {
  position: absolute;
  top: 34px;
  left: 38px;
  display: flex;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  line-height: 46px;
  letter-spacing: -0.02em;
}

.digit-mask {
  overflow: hidden;
  display: inline-block;
  margin-right: 1px;
}

.digit-mask > span {
  display: inline-block;
  transform: translate3d(0, 0, 0);
  transition: transform 380ms var(--ease-o6);
}

.preloader.is-exit .digit-mask > span {
  transform: translate3d(115%, 0, 0);
}

/* ==========================================================================
   TOP HAIRLINE READING PROGRESS BAR & ARCHITECTURAL NAVIGATION BAR
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--ink);
  z-index: 950;
  pointer-events: none;
  opacity: 0.72;
  transition: background 400ms var(--ease-aristide);
}

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px var(--margin-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 20px;
  align-items: center;
  z-index: 900;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color 500ms var(--ease-aristide), opacity 350ms ease, background 380ms ease,
    border-color 380ms ease, backdrop-filter 380ms ease;
}

.app-header.is-scrolled {
  background: var(--header-glass, rgba(234, 230, 222, 0.84));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: color-mix(in srgb, currentColor 12%, transparent);
}

.app-header.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hdr-left {
  display: flex;
  align-items: baseline;
  gap: 20px;
  justify-self: start;
}

.hdr-brand {
  font-weight: 600;
  white-space: nowrap;
}

.hdr-ver {
  font-size: 10px;
  opacity: 0.65;
  white-space: nowrap;
}

.hdr-center-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
}

.hdr-nav-item {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 11px;
  padding: 4px 0;
  opacity: 0.56;
  white-space: nowrap;
  transition: opacity 240ms ease;
}

.hdr-nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 360ms var(--ease-o6);
}

.hdr-nav-item:hover,
.hdr-nav-item.is-active {
  opacity: 1;
}

.hdr-nav-item.is-active::after,
.hdr-nav-item:hover::after {
  transform: scaleX(1);
}

.nav-num {
  font-size: 9px;
  opacity: 0.65;
}

.hdr-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hdr-action {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 220ms ease;
}

.hdr-action:hover {
  opacity: 1;
}

.hdr-cv-link {
  padding: 5px 11px;
  border: 1px solid color-mix(in srgb, currentColor 42%, transparent);
  transition: border-color 240ms ease, background 240ms ease, opacity 240ms ease;
}

.hdr-cv-link:hover {
  border-color: currentColor;
  background: color-mix(in srgb, currentColor 10%, transparent);
}

/* Right-Edge Minimal Vertical Section Progress Rail */
.side-section-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 860;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  color: var(--ink);
  transition: color 500ms var(--ease-aristide), opacity 300ms ease;
}

.side-section-rail.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.rail-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  opacity: 0.42;
  transition: opacity 240ms ease;
}

.rail-dot:hover,
.rail-dot.is-active {
  opacity: 1;
}

.rail-label {
  font-size: 9px;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 240ms ease, transform 280ms var(--ease-o6);
  pointer-events: none;
}

.rail-dot:hover .rail-label,
.rail-dot.is-active .rail-label {
  opacity: 0.92;
  transform: translateX(0);
}

.rail-tick {
  width: 10px;
  height: 1.5px;
  background: currentColor;
  transition: width 320ms var(--ease-o6);
}

.rail-dot.is-active .rail-tick {
  width: 24px;
}

.rail-dot:hover .rail-tick {
  width: 18px;
}

/* Dual-bar Aristide directional underline */
.line-wrap {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.line-bars {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  overflow: hidden;
}

.line-bars::before,
.line-bars::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  transition: transform 420ms var(--ease-aristide);
}

.line-bars::before {
  transform: translate3d(0, 0, 0);
}

.line-bars::after {
  transform: translate3d(-105%, 0, 0);
}

a:hover .line-bars::before,
button:hover .line-bars::before {
  transform: translate3d(105%, 0, 0);
}

a:hover .line-bars::after,
button:hover .line-bars::after {
  transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   ACT 1: MADEBYIGOR HERO (100VH, INVISIBLE SPINE + RIBBON GHOST PREVIEW)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  padding: 0 var(--margin-x);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: clip;
  user-select: none;
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 16px;
  padding-top: calc(3vw + 34px);
  padding-bottom: 1.5vw;
  align-items: stretch;
}

/* Left Editorial Matrix: Staggered 6-Col Ping-Pong Invisible Central Spine */
.hero-spine {
  grid-column: 1 / 7;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 16px;
  row-gap: 12px;
  align-content: space-between;
  padding-bottom: 1.4vw;
}

.spine-right {
  grid-column: 4 / -1;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1px;
  white-space: nowrap;
}

.spine-left {
  grid-column: 1 / 4;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 1px;
  white-space: nowrap;
}

.spine-row-1 { grid-row: 1; }
.spine-row-2 { grid-row: 2; }
.spine-row-3 { grid-row: 3; }
.spine-row-4 { grid-row: 4; }
.spine-row-5 { grid-row: 5; }

.spine-bottom-group {
  grid-column: 1 / -1;
  grid-row: 6;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 16px;
  row-gap: 8px;
  margin-top: 6px;
}

.email-copy-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer-left .email-copy-btn {
  align-items: flex-start;
  text-align: left;
}

.copy-hint {
  position: absolute;
  bottom: calc(100% + 4px);
  font-size: 10px;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms ease, transform 220ms ease;
  white-space: nowrap;
  pointer-events: none;
}

.email-copy-btn:hover .copy-hint,
.email-copy-btn:focus-visible .copy-hint,
.email-copy-btn.is-copied .copy-hint {
  opacity: 0.88;
  transform: translateY(0);
}

/* Right Preview Zone: 16:10 Parabolic Ribbon Ghost-Trail Card */
.hero-preview-zone {
  grid-column: 7 / 13;
  align-self: end;
  padding-bottom: 1.2vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 16px;
}

.preview-stage {
  grid-column: 2 / 4;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: visible;
  cursor: pointer;
}

.preview-canvas {
  position: absolute;
  left: -24%;
  top: -22%;
  width: 148%;
  height: 144%;
  pointer-events: none;
}

.preview-caption-grid {
  grid-column: 1 / 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 16px;
  margin-top: 16px;
}

.preview-cap-left {
  grid-column: 1 / 3;
  text-align: right;
  white-space: nowrap;
}

.preview-cap-right {
  grid-column: 3 / 5;
  text-align: left;
  padding-top: 16px;
  white-space: nowrap;
}

/* Colossal Split-Character Floor Headline */
.hero-floor-title {
  width: calc(100% + 2 * var(--margin-x));
  margin-left: calc(-1 * var(--margin-x));
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 7.4vw;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  transform: translateY(0.04em);
  pointer-events: none;
  user-select: none;
  display: flex;
  justify-content: center;
}

.floor-char-mask {
  overflow: hidden;
  display: inline-block;
  padding-top: 0.04em;
}

.floor-char {
  display: inline-block;
  transform: translate3d(0, 112%, 0);
  transition: transform 1100ms var(--ease-o6);
}

.hero-floor-title.is-revealed .floor-char {
  transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   ACT 2: MADEBYIGOR BIO (VELOCITY-WARPED PORTRAIT + SCRUBBED 40CH SPINE)
   ========================================================================== */
.bio-section {
  position: relative;
  width: 100%;
  padding: max(124px, 15vh) var(--margin-x) 16vh;
}

.portrait-wrap {
  width: clamp(190px, 16vw, 260px);
  aspect-ratio: 3 / 4;
  margin: 0 auto 12vh;
  position: relative;
}

.portrait-canvas {
  position: absolute;
  left: -20%;
  top: -18%;
  width: 140%;
  height: 136%;
  pointer-events: none;
}

.bio-spine-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2.4ch;
  row-gap: 8.5ch;
  max-width: 1440px;
  margin: 0 auto;
}

.bio-block {
  max-width: 40ch;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0.015em;
  opacity: 0.14;
  will-change: opacity, transform;
}

.bio-right {
  grid-column: 7 / 12;
  justify-self: start;
  text-align: left;
}

.bio-left {
  grid-column: 2 / 7;
  justify-self: end;
  text-align: right;
}

.bio-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bio-stack-head {
  margin-bottom: 10px;
  opacity: 0.65;
}

.bio-contact-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.inline-arrow-link::after {
  content: " ↗";
  opacity: 0;
  transition: opacity 300ms var(--ease-aristide);
}

.inline-arrow-link:hover::after {
  opacity: 1;
}

/* ==========================================================================
   ACT 3: ARISTIDE BENOIST BARREL-BULGE & Y-TILT VERTICAL SLICE ARCHIVE
   ========================================================================== */
.archive-section {
  position: relative;
  width: 100%;
  height: 360vh;
  min-height: 2400px;
  user-select: none;
  color: var(--aristide-ink);
  transition: color 500ms var(--ease-aristide);
}

.archive-sticky-pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  will-change: transform;
}

body.has-smooth .archive-sticky-pin {
  position: relative;
  top: auto;
}

.aristide-topbar {
  position: absolute;
  top: 66px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.aristide-strip-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid color-mix(in srgb, currentColor 36%, transparent);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 380ms var(--ease-aristide), transform 380ms var(--ease-aristide),
    background 240ms ease, border-color 240ms ease;
}

.aristide-strip-back:hover {
  border-color: currentColor;
  background: color-mix(in srgb, currentColor 12%, transparent);
}

.archive-section[data-mode="expanded"] .aristide-strip-back {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tick-canvas-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.tick-canvas {
  width: 260px;
  height: 40px;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.tick-canvas.is-scrubbing {
  cursor: grabbing;
}

.pgn-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 400ms var(--ease-aristide);
}

.archive-section[data-mode="expanded"] .pgn-num {
  opacity: 1;
}

/* STATE A: Barrel-Bulge 3D Strip Viewport (step_66_shot_2.png) */
.strip-viewport {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 480ms var(--ease-aristide), transform 680ms var(--ease-o6);
}

.archive-section[data-mode="expanded"] .strip-viewport {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
}

.strip-stage {
  position: relative;
  width: 100%;
  height: 52vh;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
  perspective: 1150px;
  cursor: grab;
}

.strip-stage.is-dragging {
  cursor: grabbing;
}

.strip-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.v-slice {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 360px;
  margin-left: -48px;
  margin-top: -180px;
  overflow: hidden;
  background: #1b1c1b;
  cursor: pointer;
  will-change: transform, filter;
  transform-style: preserve-3d;
}

.v-slice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  will-change: filter, transform;
}

.strip-controls-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 10;
}

.strip-nav-btn {
  font-size: 16px;
  opacity: 0.55;
  padding: 4px 10px;
  transition: opacity 240ms ease, transform 240ms var(--ease-o6);
}

.strip-nav-btn:hover {
  opacity: 1;
  transform: scale(1.15);
}

.strip-hover-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.8;
  min-width: 340px;
  justify-content: center;
}

.strip-sep {
  opacity: 0.45;
}

/* STATE B: Expanded Full-Bleed Per-Project Hero Carousel */
.expanded-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 520ms var(--ease-aristide);
}

.archive-section[data-mode="expanded"] .expanded-stage {
  opacity: 1;
  pointer-events: auto;
}

.peek-slice {
  position: absolute;
  top: 52%;
  transform: translateY(-50%);
  width: min(11vw, 170px);
  height: 48vh;
  overflow: hidden;
  opacity: 0.45;
  transition: opacity 380ms var(--ease-aristide), transform 520ms var(--ease-o6);
  z-index: 14;
}

.peek-prev { left: 0; }
.peek-next { right: 0; }

.peek-slice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.75) brightness(0.55);
  transition: filter 380ms ease, transform 520ms var(--ease-o6);
}

.peek-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 6px 10px;
  background: rgba(12, 13, 14, 0.72);
  color: #ffffff;
  opacity: 0.82;
  transition: opacity 240ms ease, transform 260ms var(--ease-o6);
}

.peek-slice:hover { opacity: 0.94; }
.peek-slice:hover img {
  filter: grayscale(0.05) brightness(0.85);
  transform: scale(1.04);
}
.peek-slice:hover .peek-arrow {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

/* ZERO-CROP Centered Hero Visual Plate (Fits 16:9 ads, 1:1 retouch & 3:4 portraits intact!) */
.expanded-image-frame {
  position: absolute;
  top: 51%;
  left: 50%;
  width: min(62vw, 940px);
  height: min(56vh, 580px);
  transform: translate(-50%, -50%) scale(0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  z-index: 8;
  cursor: pointer;
  transition: transform 820ms var(--ease-o6);
}

.archive-section[data-mode="expanded"] .expanded-image-frame {
  transform: translate(-50%, -50%) scale(1);
}

.expanded-image-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 700ms var(--ease-o6), opacity 420ms ease;
}

.expanded-image-frame:hover img {
  transform: scale(1.02);
}

/* Center-Stage-Bounded 2-Line Scattered Title (NEVER collides with ← ÖNCEKİ / SONRAKİ → buttons!) */
.scattered-title {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58vw, 840px);
  transform: translate(-50%, -52%);
  z-index: 9;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.st-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, min(8.2vw, 15vh), 132px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  opacity: 0.84;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}

.st-char-mask {
  overflow: hidden;
  display: inline-block;
  padding: 0 0.02em;
}

.st-char {
  display: inline-block;
  transition: transform 1100ms var(--ease-o6);
}

.st-char.from-left { transform: translate3d(-115%, 0, 0); }
.st-char.from-right { transform: translate3d(115%, 0, 0); }
.st-char.is-in { transform: translate3d(0, 0, 0); }

.aristide-bottom-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 42px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding: 0 18vw;
  column-gap: 44px;
}

.meta-left-table {
  justify-self: end;
  display: grid;
  grid-template-columns: 18px 92px 245px;
  row-gap: 3px;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.02em;
  opacity: 0.88;
}

.meta-idx { font-size: 7px; line-height: 12px; opacity: 0.65; }
.meta-key { opacity: 0.7; }
.meta-val { font-weight: 600; }

.explore-cta {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 9px 18px;
  border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  background: rgba(11, 11, 12, 0.56);
  backdrop-filter: blur(8px);
  transition: background 240ms ease, border-color 240ms ease;
}

.explore-cta:hover {
  border-color: currentColor;
  background: rgba(11, 11, 12, 0.84);
}

.explore-stem {
  width: 1px;
  height: 12px;
  background: currentColor;
  opacity: 0.65;
  transition: height 380ms var(--ease-o5);
}

.explore-glyph {
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  transition: transform 520ms var(--ease-o5);
}

.explore-cta:hover .explore-stem { height: 18px; }
.explore-cta:hover .explore-glyph { transform: rotate(90deg) scale(1.15); }

.meta-right-summary {
  justify-self: start;
  max-width: 280px;
  font-size: 10px;
  line-height: 13px;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.aristide-corner-bl {
  position: absolute;
  left: var(--frame-x);
  bottom: 42px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  font-size: 10px;
  line-height: 12px;
  opacity: 0.82;
  transition: opacity 320ms ease;
}

.archive-section[data-mode="expanded"] .aristide-corner-bl {
  opacity: 0;
  pointer-events: none;
}

.aristide-corner-br {
  position: absolute;
  right: var(--frame-x);
  bottom: 42px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 11px;
  line-height: 14px;
}

.aristide-corner-br a::before {
  content: "↗ ";
  opacity: 0;
  transition: opacity 280ms var(--ease-aristide);
}

.aristide-corner-br a:hover::before {
  opacity: 1;
}

/* ==========================================================================
   ACT 4: MADEBYIGOR 3D SWIRLING SPIRAL VORTEX + SELECTED WORK
   ========================================================================== */
.worklist-section {
  position: relative;
  width: 100%;
  min-height: 112vh;
  padding: max(116px, 12vh) var(--margin-x) 11vh;
  overflow: clip;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.worklist-heading-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  margin-bottom: 9vh;
  pointer-events: none;
}

.worklist-giant-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 7.5vw;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
}

.mobile-work-marquee {
  display: none;
}

.igor-work-list {
  position: relative;
  z-index: 4;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.igor-work-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 7px 0;
  cursor: pointer;
  transition: opacity 280ms var(--ease-aristide), transform 360ms var(--ease-o6);
}

.iw-main {
  flex: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}

.iw-mobile-thumb {
  display: none;
}

.igor-work-list.has-hover .igor-work-row {
  opacity: 0.28;
}

.igor-work-list.has-hover .igor-work-row:hover,
.igor-work-list.has-hover .igor-work-row:focus-visible {
  opacity: 1;
  transform: translateX(8px);
}

.iw-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(22px, 2.25vw, 35px);
  line-height: 1.15;
  text-transform: none;
  letter-spacing: -0.03em;
}

.iw-stack {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: right;
  text-transform: uppercase;
}

/* ==========================================================================
   ACT 5: DEDICATED REFERANSLAR SECTION (ARISTIDE × IGOR EDITORIAL LEDGER)
   ========================================================================== */
.references-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: max(116px, 12vh) clamp(76px, 8.5vw, 136px) 12vh var(--frame-x);
  color: #e4dfd5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6vh;
}

.ref-top-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 40px;
}

.ref-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.62;
  margin-bottom: 12px;
}

.ref-giant {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(68px, 11.5vw, 152px);
  line-height: 0.84;
  letter-spacing: -0.02em;
}

.ref-intro {
  max-width: 44ch;
  justify-self: end;
  text-align: right;
  font-size: 11px;
  line-height: 1.55;
  opacity: 0.78;
}

.ref-ledger {
  border-top: 1px solid rgba(186, 196, 184, 0.16);
}

.ref-row {
  border-bottom: 1px solid rgba(186, 196, 184, 0.16);
  padding: 20px 0;
  cursor: pointer;
  transition: opacity 320ms var(--ease-aristide), border-color 320ms ease;
}

.ref-ledger.has-hover .ref-row {
  opacity: 0.56;
}

.ref-ledger.has-hover .ref-row:hover,
.ref-ledger.has-hover .ref-row.is-open {
  opacity: 1;
  border-color: rgba(186, 196, 184, 0.45);
}

.ref-row-head {
  display: grid;
  grid-template-columns: 44px 1.35fr 1.2fr 180px;
  align-items: baseline;
  column-gap: 20px;
}

.ref-idx {
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.55;
}

.ref-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(20px, 1.9vw, 29px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-transform: none;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.ref-handle {
  font-family: var(--font-ui);
  font-size: 11px;
  text-transform: uppercase;
  opacity: 0.55;
}

.ref-role {
  font-size: 11px;
  letter-spacing: 0.02em;
  opacity: 0.82;
}

.ref-tag {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-align: right;
  opacity: 0.65;
}

.ref-detail-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 480ms var(--ease-o6);
}

.ref-row:hover .ref-detail-wrap,
.ref-row.is-open .ref-detail-wrap {
  grid-template-rows: 1fr;
}

.ref-detail-inner {
  overflow: hidden;
}

.ref-detail-body {
  padding: 14px 0 4px 44px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  font-size: 11px;
  line-height: 1.6;
  text-transform: none;
  opacity: 0.85;
}

.ref-detail-skills {
  text-align: right;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.05em;
  opacity: 0.68;
}

.ref-bottom-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(186, 196, 184, 0.16);
}

.ref-metric-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rm-idx {
  font-size: 9px;
  opacity: 0.45;
}

.rm-val {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.rm-lbl {
  font-size: 10px;
  opacity: 0.72;
  line-height: 1.4;
}

/* ==========================================================================
   ACT 6: MADEBYIGOR ROTATING CRIMSON PORTAL OUTRO & FOOTER
   ========================================================================== */
.outro-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  padding: 0 var(--margin-x) 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.portal-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  text-align: center;
  padding: 36px 44px;
  transform: translateY(16px);
}

.portal-kicker {
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.portal-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.portal-percent {
  font-size: 11px;
  opacity: 0.92;
}

.igor-footer {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  font-size: 11px;
  letter-spacing: 0.02em;
  padding-bottom: 4px;
}

.footer-left { justify-self: start; }
.footer-center { justify-self: center; display: flex; gap: 32px; }
.footer-right { justify-self: end; }
.footer-center a { opacity: 0.85; transition: opacity 200ms ease; }
.footer-center a:hover { opacity: 1; }

/* ==========================================================================
   OVERLAY 1: ARISTIDE + IGOR FULLSCREEN PROJECT DETAIL VIEW
   ========================================================================== */
.detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--detail-bg);
  color: var(--detail-ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 480ms var(--ease-aristide), visibility 480ms, background 480ms var(--ease-aristide),
    color 480ms var(--ease-aristide);
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: contain;
}

.detail-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.detail-top-bar {
  position: absolute;
  top: 36px;
  left: 38px;
  right: var(--frame-x);
  z-index: 30;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.detail-brand {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 40px;
  letter-spacing: -0.02em;
}

.detail-close-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid color-mix(in srgb, currentColor 42%, transparent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: border-color 240ms ease, background 240ms ease;
}

.detail-close-btn:hover {
  border-color: currentColor;
  background: color-mix(in srgb, currentColor 12%, transparent);
}

.close-glyph {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  transition: transform 520ms var(--ease-o5);
}

.detail-close-btn:hover .close-glyph {
  transform: rotate(90deg);
}

.detail-top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 2px;
}

.detail-about-btn {
  font-size: 11px;
  font-weight: 600;
}

.detail-corner-close {
  padding: 8px 16px;
  border: 1px solid color-mix(in srgb, currentColor 55%, transparent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.detail-corner-close:hover {
  border-color: currentColor;
  background: currentColor;
  color: var(--detail-bg);
}

/* Refined centered gallery watermark — NEVER collides with media or clips awkwardly mid-word! */
.detail-bg-title {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92vw;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 13.5vw, 188px);
  line-height: 0.84;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 1;
  opacity: 0.13;
  white-space: normal;
  word-break: break-word;
}

.detail-spine-rail {
  display: none;
}

.ds-pair { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.ds-k { text-align: right; opacity: 0.65; }
.ds-v { text-align: left; font-weight: 600; }

.detail-media-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: min(60vw, 880px);
  z-index: 10;
}

.detail-slide-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #101112;
  overflow: hidden;
  transform: translate3d(0, 72px, 0);
  transition: transform 820ms var(--ease-o6);
}

.detail-overlay.is-open .detail-slide-viewport {
  transform: translate3d(0, 0, 0);
}

.detail-slide {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
  pointer-events: none;
}

.detail-slide.is-active {
  pointer-events: auto;
}

.detail-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0c0d0e;
  border: 0;
}

.detail-slide iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.detail-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b0c0d;
  border: 0;
}

.spec-slide {
  width: 100%;
  height: 100%;
  padding: 38px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #111315;
  color: #eceae4;
}

.spec-slide-top { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.08em; opacity: 0.65; }
.spec-slide-body { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; }
.spec-item-k { font-size: 10px; letter-spacing: 0.06em; opacity: 0.55; margin-bottom: 5px; }
.spec-item-t { font-family: var(--font-serif); font-size: 25px; font-weight: 300; line-height: 1.15; text-transform: none; margin-bottom: 6px; }
.spec-item-d { font-size: 11px; line-height: 1.5; text-transform: none; opacity: 0.78; }
.spec-slide-foot { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.06em; opacity: 0.6; }

.detail-stage-controls {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.detail-slide-caption {
  flex: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  opacity: 0.92;
}

.detail-slide-caption span:last-child {
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 600;
  opacity: 0.78;
}

.detail-slide-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-swipe-hint {
  display: none;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.56;
  white-space: nowrap;
  user-select: none;
}

.detail-nav-btn {
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  transition: border-color 220ms ease, background 220ms ease;
}

.detail-nav-btn:hover {
  border-color: currentColor;
  background: color-mix(in srgb, currentColor 12%, transparent);
}

/* Aristide Paired Thumbnail Rail (Scrollable for 15–20+ slides without clipping!) */
.detail-thumb-rail {
  position: absolute;
  right: var(--frame-x);
  top: 50%;
  transform: translateY(-50%);
  width: 98px;
  max-height: 68vh;
  padding: 8px 8px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.detail-thumb-rail::-webkit-scrollbar {
  display: none;
}

.thumb-slot {
  flex: 0 0 auto;
  width: 82px;
  height: 46px;
  overflow: hidden;
  position: relative;
  opacity: 0.62;
  transition: opacity 280ms ease;
}

.thumb-slot.is-gap {
  display: none;
}

.thumb-slot.is-active,
.thumb-slot:hover {
  opacity: 1;
}

.thumb-slot img { width: 100%; height: 100%; object-fit: cover; }

.thumb-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 12, 0.42);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.thumb-text-chip {
  width: 100%;
  height: 100%;
  background: #17191b;
  color: #e6e4de;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  letter-spacing: 0.06em;
}

.thumb-active-frame {
  position: absolute;
  left: 2px;
  top: -6px;
  width: 94px;
  height: 58px;
  border: 1.35px solid currentColor;
  pointer-events: none;
  will-change: transform;
}

.detail-bottom-bar {
  position: absolute;
  left: var(--frame-x);
  right: var(--frame-x);
  bottom: 40px;
  z-index: 25;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
}

.detail-corner-bl { display: flex; flex-direction: column; font-size: 10px; line-height: 13px; opacity: 0.82; }
.detail-bottom-cta { justify-self: center; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
.detail-next-btn { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 10px; }
.next-kicker { opacity: 0.62; }
.next-name { font-size: 11px; font-weight: 600; }

/* ==========================================================================
   OVERLAY 2: ARISTIDE BENOIST FULLSCREEN /ABOUT (step_54.png)
   ========================================================================== */
.about-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: #141514;
  color: #bac4b8;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 480ms var(--ease-aristide), visibility 480ms;
  overflow: hidden;
}

.about-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.about-close-btn {
  position: absolute;
  top: 42px;
  right: var(--frame-x);
  font-size: 11px;
  font-weight: 600;
  z-index: 10;
}

.about-left-col {
  position: absolute;
  top: 40px;
  left: var(--frame-x);
  bottom: 44px;
  width: min(42vw, 540px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-monumental {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(88px, 20vh, 224px);
  line-height: 0.85;
  letter-spacing: -0.025em;
}

.mask-line { overflow: hidden; display: block; }
.mask-line > span { display: block; transform: translate3d(0, 108%, 0); transition: transform 820ms var(--ease-o6); }
.about-overlay.is-open .mask-line > span { transform: translate3d(0, 0, 0); }
.about-overlay.is-open .mask-line:nth-child(2) > span { transition-delay: 90ms; }

.about-bio { max-width: 44ch; font-size: 11px; line-height: 1.45; letter-spacing: 0.015em; margin-top: 4vh; }
.about-socials { list-style: none; display: flex; flex-direction: column; gap: 3px; margin-top: auto; margin-bottom: 5vh; font-size: 11px; line-height: 1.35; }
.about-socials a::after { content: " ↗"; opacity: 0.55; transition: opacity 240ms ease; }
.about-socials a:hover::after { opacity: 1; }
.about-bl-meta { display: flex; flex-direction: column; font-size: 10px; line-height: 13px; opacity: 0.8; }

.about-scatter-grid {
  position: absolute;
  right: var(--frame-x);
  bottom: 92px;
  width: min(49vw, 690px);
  height: min(56vh, 490px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 18px;
}

.scatter-col { position: relative; height: 100%; font-size: 10.5px; line-height: 12px; }
.scatter-head { position: absolute; top: 0; left: 0; font-size: 11px; font-weight: 600; opacity: 0.92; }
.scatter-item { position: absolute; left: 0; white-space: nowrap; opacity: 0.88; }
.scatter-tick { opacity: 0.52; }
.scatter-num { display: inline-block; width: 28px; font-weight: 600; }

.about-footer-right {
  position: absolute;
  right: var(--frame-x);
  bottom: 44px;
  width: min(49vw, 690px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 10px;
  line-height: 13px;
  opacity: 0.8;
}

.about-rights { display: flex; flex-direction: column; align-items: flex-end; }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
  .hdr-center-nav, .side-section-rail { display: none; }
  .aristide-bottom-meta { padding: 0 var(--margin-x); grid-template-columns: 1fr; justify-items: center; gap: 16px; }
  .meta-left-table, .meta-right-summary, .detail-thumb-rail, .peek-slice { display: none; }
  .expanded-image-frame { width: 84vw; }
  .detail-media-stage { width: 88vw; }
  .about-scatter-grid { display: none; }
  .about-left-col { width: calc(100vw - 56px); left: 28px; }
  .ref-top-row { grid-template-columns: 1fr; }
  .ref-intro { justify-self: start; text-align: left; }
  .ref-row-head { grid-template-columns: 32px 1fr; row-gap: 6px; }
  .ref-role, .ref-tag { grid-column: 2; text-align: left; }
  .ref-detail-body { grid-template-columns: 1fr; padding-left: 32px; }
  .ref-detail-skills { text-align: left; }
  .ref-bottom-metrics { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
}

@media (max-width: 960px) {
  /* Mobile/Touch: Single-screen Archive (NO 360vh vertical scroll trap!) */
  .archive-section {
    height: 100svh;
    min-height: 620px;
  }
  .archive-sticky-pin {
    position: relative;
    top: auto;
    height: 100%;
    min-height: 620px;
  }
  .strip-stage {
    touch-action: pan-y;
    height: 46vh;
    min-height: 290px;
  }
  .v-slice {
    width: 82px;
    height: 300px;
    margin-left: -41px;
    margin-top: -150px;
  }
  .strip-controls-row {
    gap: 10px;
    padding: 0 12px;
    max-width: 100%;
  }
  .strip-hover-caption {
    min-width: 0;
    max-width: 68vw;
    font-size: 10px;
    line-height: 1.35;
    text-align: center;
    flex-wrap: wrap;
  }
  .strip-nav-btn {
    opacity: 0.9;
    font-size: 18px;
    padding: 8px 12px;
    border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  }
}

@media (max-width: 820px) {
  :root { --margin-x: 20px; --frame-x: 20px; }
  .hdr-ver { display: none; }

  /* 1. Airy Mobile Top Header */
  .app-header {
    padding: 13px 16px;
    gap: 10px;
    transition: background 280ms ease, backdrop-filter 280ms ease, color 400ms ease;
  }
  .app-header.is-scrolled {
    background: color-mix(in srgb, var(--aristide-bg) 72%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .hdr-brand {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .hdr-right {
    gap: 10px;
  }
  .hdr-lang-switch {
    padding: 5px 8px;
    font-size: 9.5px;
  }
  .hdr-action {
    font-size: 10px;
    letter-spacing: 0.04em;
  }
  .cv-ink-btn {
    padding: 5px 9px;
    gap: 5px;
  }

  /* 2. Spacious Editorial Mobile Hero (ZERO cramped 6-col nowrap squeeze!) */
  .hero-section {
    height: auto;
    min-height: 100svh;
    padding: 86px var(--margin-x) 28px;
    gap: 28px;
    justify-content: space-between;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 8px;
    padding-bottom: 0;
  }
  .hero-spine {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 0;
  }
  .spine-left,
  .spine-right {
    grid-column: auto;
    text-align: left;
    align-items: flex-start;
    white-space: normal;
    gap: 3px;
    font-size: 11.5px;
    line-height: 1.5;
  }
  .spine-row-1 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding-bottom: 10px;
    border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  }
  .spine-row-5 {
    padding-top: 10px;
    border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    gap: 4px;
    opacity: 0.86;
  }
  .spine-bottom-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  }
  .email-copy-btn {
    align-items: flex-start;
    text-align: left;
  }
  .hero-preview-zone {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 4px;
    padding-bottom: 0;
  }
  .preview-stage {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }
  .preview-canvas {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
  .preview-caption-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 10.5px;
    gap: 12px;
  }
  .preview-cap-left,
  .preview-cap-right {
    text-align: left;
    padding-top: 0;
  }
  .preview-cap-right {
    opacity: 0.65;
  }
  .hero-floor-title {
    width: 100%;
    margin-left: 0;
    font-size: 7.4vw;
    margin-top: 8px;
    padding-bottom: 10px;
    transform: none;
  }

  /* 3. Spacious Animated Mobile Bio (Smooth Scroll Reveal — NOT static!) */
  .bio-section {
    padding: 84px var(--margin-x) 92px;
  }
  .portrait-wrap {
    width: 204px;
    margin: 0 auto 48px;
    transition: transform 900ms var(--ease-o6), opacity 900ms ease;
  }
  .portrait-canvas {
    left: -12%;
    top: -12%;
    width: 124%;
    height: 124%;
  }
  .bio-spine-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .bio-block {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.72;
    opacity: 0;
    filter: blur(5px);
    transform: translate3d(0, 28px, 0);
    transition: opacity 760ms var(--ease-o6), transform 820ms var(--ease-o6), filter 760ms ease;
  }
  .bio-block.mob-in {
    opacity: 0.96;
    filter: blur(0px);
    transform: translate3d(0, 0, 0);
  }
  .bio-right,
  .bio-left {
    text-align: left;
    align-self: stretch;
  }
  .bio-stack {
    padding: 18px 0;
    border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent);
    border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent);
    gap: 6px;
  }
  .bio-contact-row {
    align-items: flex-start;
    gap: 14px;
  }

  /* 4. Archive Mobile Polish */
  .aristide-topbar {
    top: 62px;
    gap: 4px;
  }
  .tick-canvas-wrap {
    gap: 10px;
  }
  .tick-canvas {
    width: min(66vw, 250px);
    height: 44px;
  }
  .aristide-corner-bl,
  .aristide-corner-br {
    display: none;
  }
  .expanded-image-frame {
    width: 90vw;
    height: 38vh;
    top: 56%;
  }
  .scattered-title {
    width: calc(100vw - 36px);
    top: clamp(164px, 23.5vh, 208px);
    transform: translate(-50%, 0);
    gap: 2px;
  }
  .st-row {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    justify-content: center;
    gap: 0;
  }
  .st-char-mask {
    transform: none !important;
    padding: 0;
  }
  .aristide-bottom-meta {
    bottom: 34px;
  }

  /* 5. Dynamic Mobile Selected Work: Kinetic Showcase Filmstrip + Center-Screen Scroll Spotlight! */
  .worklist-section {
    min-height: auto;
    padding: 84px var(--margin-x) 88px;
    justify-content: flex-start;
  }
  .vortex-canvas {
    display: none !important;
  }
  .worklist-heading-wrap {
    margin-bottom: 26px;
  }
  .worklist-giant-title {
    font-size: 11.4vw;
  }

  /* Continuous Floating Editorial Filmstrip strictly above list (zero overlap!) */
  .mobile-work-marquee {
    display: block;
    position: relative;
    width: calc(100% + 2 * var(--margin-x));
    margin-left: calc(-1 * var(--margin-x));
    margin-bottom: 34px;
    overflow: hidden;
    padding: 10px 0 14px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  }
  .mwm-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: mwmGlide 26s linear infinite;
    will-change: transform;
  }
  .mwm-card {
    width: 124px;
    height: 82px;
    flex-shrink: 0;
    overflow: hidden;
    background: #141415;
    border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
    transform: perspective(600px) rotateY(-6deg);
    transition: transform 320ms var(--ease-o6);
  }
  .mwm-card:active {
    transform: scale(0.95);
  }
  .mwm-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  @keyframes mwmGlide {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
  }

  .igor-work-list {
    gap: 0;
    border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  }
  .igor-work-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent);
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition: opacity 520ms var(--ease-o6), transform 580ms var(--ease-o6), border-color 320ms ease;
  }
  .igor-work-row.mob-in {
    opacity: 0.62;
    transform: translate3d(0, 0, 0);
  }
  /* Live Center-Screen Scroll Spotlight on Mobile! */
  .igor-work-row.mob-in.is-scroll-focus {
    opacity: 1;
    transform: translate3d(6px, 0, 0);
    border-bottom-color: rgba(185, 163, 131, 0.72);
  }
  .iw-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .iw-title {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    transition: color 300ms ease;
  }
  .iw-stack {
    text-align: left;
    font-size: 9.5px;
    line-height: 1.45;
    opacity: 0.72;
  }
  .iw-mobile-thumb {
    display: block;
    flex-shrink: 0;
    width: 78px;
    height: 52px;
    overflow: hidden;
    background: #141415;
    border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
    transform: scale(0.96);
    transition: transform 480ms var(--ease-o6), border-color 360ms ease, box-shadow 360ms ease;
  }
  .igor-work-row.is-scroll-focus .iw-mobile-thumb {
    transform: scale(1.1);
    border-color: #b9a383;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  }
  .iw-mobile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 620ms var(--ease-o6);
  }
  .igor-work-row.is-scroll-focus .iw-mobile-thumb img {
    transform: scale(1.08);
  }

  /* 6. Spacious Animated Mobile References Ledger */
  .references-section {
    min-height: auto;
    padding: 84px var(--margin-x) 84px;
    gap: 40px;
  }
  .ref-giant {
    font-size: 16vw;
  }
  .ref-intro {
    font-size: 12px;
    line-height: 1.65;
  }
  .ref-row {
    padding: 18px 0;
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 640ms var(--ease-o6), transform 680ms var(--ease-o6), border-color 300ms ease;
  }
  .ref-row.mob-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  .ref-row-head {
    grid-template-columns: 28px 1fr;
    column-gap: 10px;
    row-gap: 6px;
  }
  .ref-name {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    font-size: 20px;
    font-weight: 700;
  }
  .ref-handle {
    font-size: 10px;
  }
  .ref-role {
    font-size: 10.5px;
    line-height: 1.45;
  }
  .ref-detail-body {
    padding: 12px 0 4px 28px;
    gap: 12px;
    font-size: 12px;
  }
  .ref-bottom-metrics {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 18px;
    row-gap: 28px;
    padding-top: 28px;
  }
  .rm-val {
    font-size: 38px;
  }

  /* 7. Spacious Mobile Outro Portal & Footer */
  .outro-section {
    height: 100svh;
    min-height: 620px;
    padding: 72px var(--margin-x) 28px;
    gap: 20px;
  }
  .portal-trigger {
    padding: 28px 20px;
    transform: none;
    gap: 9px;
  }
  .portal-label {
    font-size: 12px;
    line-height: 1.45;
  }
  .portal-percent {
    font-size: 13px;
    font-weight: 600;
  }
  .igor-footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(244, 240, 232, 0.14);
  }
  .footer-left, .footer-center, .footer-right { justify-self: start; }
  .footer-center { flex-wrap: wrap; gap: 18px; }

  /* 8. Spacious Mobile Detail & About Overlays (Crisp fitted title ABOVE media — ZERO overflow!) */
  .detail-top-bar {
    top: 16px;
    left: 18px;
    right: 18px;
    align-items: center;
  }
  .detail-brand {
    font-size: 30px;
    line-height: 1;
  }
  .detail-close-btn {
    display: none;
  }
  .detail-top-actions {
    gap: 12px;
    margin-top: 0;
  }
  .detail-corner-close {
    padding: 7px 13px;
  }
  .detail-bg-title {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    width: auto;
    transform: none;
    text-align: left;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    opacity: 0.96;
    z-index: 12;
  }
  .detail-media-stage {
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -48%);
    width: 92vw;
    height: auto;
  }
  .detail-slide-viewport {
    aspect-ratio: 16 / 10;
    max-height: 44vh;
  }
  .detail-stage-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 12px;
  }
  .detail-slide-caption {
    width: 100%;
    font-size: 10px;
    gap: 12px;
  }
  .detail-slide-arrows {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .detail-swipe-hint {
    display: inline-block;
  }
  .detail-nav-btn {
    padding: 8px 14px;
    font-size: 10.5px;
  }
  .detail-bottom-bar {
    left: 18px;
    right: 18px;
    bottom: 30px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
  }
  .detail-corner-bl {
    display: none;
  }
  .detail-next-btn {
    align-items: flex-end;
    text-align: right;
  }
  .spec-slide { padding: 20px; overflow-y: auto; touch-action: pan-y; overscroll-behavior: contain; }
  .spec-slide-body { grid-template-columns: 1fr; gap: 14px; }

  .about-overlay {
    overflow-y: auto;
  }
  .about-close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
  }
  .about-left-col {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    padding: 76px 22px 42px;
    gap: 28px;
  }
  .about-monumental {
    font-size: clamp(64px, 21vw, 112px);
  }
  .about-bio {
    max-width: 100%;
    font-size: 12.5px;
    line-height: 1.68;
    margin-top: 0;
  }
  .about-socials {
    margin: 0;
    gap: 10px;
    font-size: 12px;
  }
  .about-footer-right {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    padding: 0 22px 36px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .about-rights {
    align-items: flex-start;
  }
}

/* Seamless Warm Bone Portal Transition Veil into immersive.html */
.portal-transition-veil {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #eae6de;
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.portal-transition-veil.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   MONOCHROME GALLERY PALETTE: "OBSİDYEN & SICAK KEMİK"
   Timeless Matte Obsidian (#0B0B0C) · Warm Bone (#EAE6DE) · Brushed Bronze (#B9A383)
   ========================================================================== */
html[data-palette="prestige"] {
  --aristide-bg: #0b0b0c;
  --aristide-ink: #e4dfd5;
  --prestige-gold: #b9a383;
  --prestige-navy: #0e0e0f;
  background: #0b0b0c;
}

html[data-palette="prestige"] .preloader {
  background: #0b0b0c;
  color: #e4dfd5;
}

html[data-palette="prestige"] .scroll-progress-bar {
  background: linear-gradient(90deg, #3a3834, #b9a383);
}

html[data-palette="prestige"] .hdr-nav-item.is-active,
html[data-palette="prestige"] .rail-item.is-active {
  color: #b9a383;
}

html[data-palette="prestige"] .ref-section,
html[data-palette="prestige"] .references-section {
  color: #e4dfd5;
}

html[data-palette="prestige"] .rm-val,
html[data-palette="prestige"] .ref-idx,
html[data-palette="prestige"] .ref-tag {
  color: #c8b598;
}

html[data-palette="prestige"] .portal-kicker {
  color: #c8b598;
}

html[data-palette="prestige"] .portal-trigger {
  color: #f4f0e8;
  text-shadow: 0 2px 18px rgba(6, 6, 7, 0.65);
}

html[data-palette="prestige"] .portal-transition-veil {
  background: #eae6de;
}

html[data-palette="prestige"] .about-overlay {
  background: #0b0b0c;
  color: #e4dfd5;
}

/* Swiss-Editorial TR / EN Language Switcher in Top Header */
.hdr-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid currentColor;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  opacity: 0.88;
  transition: opacity 220ms ease, border-color 220ms ease;
}

.hdr-lang-switch:hover {
  opacity: 1;
}

.hdr-lang-switch .lang-opt {
  opacity: 0.45;
  transition: opacity 200ms ease, color 200ms ease;
}

.hdr-lang-switch .lang-opt.is-active {
  opacity: 1;
  color: #b9a383;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hdr-lang-switch .lang-sep {
  opacity: 0.35;
}

/* ==========================================================================
   IMMERSIVE-G INSPIRED TOP-RIGHT INK-BLOOM PDF CV DOWNLOAD BUTTON & WASH
   ========================================================================== */
.cv-ink-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  z-index: 9998;
  transition: color 320ms cubic-bezier(0.22, 1, 0.36, 1), border-color 320ms ease,
    background 320ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease;
}

.cv-ink-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b9a383;
  box-shadow: 0 0 0 0 rgba(185, 163, 131, 0.55);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 360ms ease;
}

/* Desktop Prominent Executive CTA Styling for ↓ PDF CV */
@media (min-width: 821px) {
  .cv-ink-btn {
    padding: 9px 19px;
    gap: 9px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 1 !important;
    background: #0e0e0f;
    color: #f4f0e8 !important;
    border: 1px solid rgba(185, 163, 131, 0.78);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(244, 240, 232, 0.08);
  }

  .cv-ink-dot {
    width: 7.5px;
    height: 7.5px;
    background: #d4c0a0;
    animation: cvDotPulse 2.6s ease-out infinite;
  }

  .cv-ink-btn:hover,
  .cv-ink-btn.is-ink-active {
    transform: translateY(-1px) scale(1.045);
    background: #070708;
    border-color: #dfd0b6 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  }
}

@keyframes cvDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 192, 160, 0.65);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(212, 192, 160, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 192, 160, 0);
  }
}

.cv-ink-btn:hover,
.cv-ink-btn.is-ink-active {
  color: #f4f0e8 !important;
  border-color: rgba(185, 163, 131, 0.82) !important;
}

.cv-ink-btn:hover .cv-ink-dot,
.cv-ink-btn.is-ink-active .cv-ink-dot {
  transform: scale(1.35);
  animation: none;
  box-shadow: 0 0 12px 2px rgba(212, 192, 160, 0.9);
}

.ink-transition-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9996;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.ink-transition-canvas.is-visible {
  opacity: 1;
}

/* Keep the top-right PDF CV button visible right above the spreading hover ink puddle! */
body.ink-hover-active .app-header {
  z-index: 9997;
}

.ink-download-status {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ink-download-status.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.ink-st-kicker {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: #c9a96e;
}

.ink-st-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 44px);
  letter-spacing: 0.04em;
  text-transform: none;
  color: #f4efe4;
}

.ink-st-bar {
  width: 140px;
  height: 1px;
  background: rgba(201, 169, 110, 0.24);
  overflow: hidden;
  position: relative;
}

.ink-st-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: #c9a96e;
  transition: width 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Exempt gallery light & dark sections from browser Force-Dark auto-inversion (Samsung Internet / Android Chrome) */
@media (prefers-color-scheme: dark) {
  :root,
  html,
  body {
    color-scheme: only light !important;
    forced-color-adjust: none !important;
  }
}
