*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue:  #1034A6;
  --black: #040404;
  --white: #f0eeea;
  --gray:  #888;
  --line:  rgba(255,255,255,0.12);
  --font:  'Arial Black', 'Barlow', Arial, sans-serif;
}
html, body { height: 100%; font-size: 16px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) transparent; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.28); }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  overflow-x: hidden;
  cursor: none;
}
body.on-home { overflow: hidden; }

/* ── CURSOR ── */
#cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--blue); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, background .2s;
}
#cursor.hover {
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--white);
}
#cursor.hidden { opacity: 0; }

/* ── DRAG CURSOR (work page) ── */
#drag-cursor {
  position: fixed; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.2s;
  font-family: var(--font); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); background: var(--blue);
  padding: 9px 18px; white-space: nowrap;
}
#drag-cursor.visible { opacity: 1; }
#drag-cursor.grabbing { background: rgba(4,4,4,0.92); border: 1px solid rgba(255,255,255,0.2); letter-spacing: 0.28em; }

/* ── PLAY CURSOR (home panels) ── */
#play-cursor {
  position: fixed; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.2s;
  font-family: var(--font); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); background: var(--blue);
  padding: 9px 18px; white-space: nowrap;
}
#play-cursor.visible { opacity: 1; }

/* ── PAGE CURTAIN ── */
#page-curtain {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: var(--blue);
  z-index: 8000;
  transform: translateY(-110%);
  pointer-events: none;
}

/* ── LOADER ── */
#loader {
  position: fixed; inset: 0; background: var(--blue);
  z-index: 9000; overflow: hidden;
}
.page-smoke-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: block; opacity: 0.38; pointer-events: none;
  z-index: 0;
}
.loader-ui {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px; pointer-events: none;
}
.loader-tagline {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; text-align: center;
}
.loader-line1 {
  display: flex; gap: 0.35em; align-items: baseline;
}
.blur-word {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: clamp(13px, 2vw, 18px);
  font-weight: 400; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--white);
  opacity: 0; filter: blur(14px);
}
.loader-kraken {
  font-family: 'Arial Black', 'Barlow', Arial, sans-serif;
  font-size: clamp(52px, 11vw, 110px);
  font-weight: 900; letter-spacing: -0.02em;
  color: var(--white); line-height: 1;
}
.loader-pct {
  font-family: Arial, sans-serif;
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 400; letter-spacing: 0.4em;
  color: rgba(240,238,234,0.5);
  margin-top: 10px;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 800; display: flex; align-items: center;
  justify-content: space-between; padding: 22px 32px; opacity: 0;
}
.nav-logo {
  font-size: 16.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--white); text-decoration: none; cursor: none;
}
.nav-links { display: flex; align-items: center; gap: 48px; list-style: none; margin: 0; padding: 0; margin-left: auto; margin-right: 40px; position: relative; top: -2px; }
.nav-links a {
  font-size: 11px; font-weight: 400; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--white); text-decoration: none;
  opacity: 0.6; transition: opacity 0.2s, color 0.2s; cursor: none;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; color: var(--white); background: var(--blue); padding: 4px 10px; }
#lang-btn {
  font-family: var(--font); font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--white);
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 12px; cursor: none; transition: border-color 0.2s;
}
#lang-btn:hover { border-color: var(--white); }

/* ── PAGES ── */
.page { display: none; }
.page.active { display: block; animation: fadeUp 0.4s ease forwards; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════ HOME ═══════════ */
#page-home { position: relative; height: 100vh; overflow: hidden; }
.panels-wrap { position: relative; height: 100vh; }
.panel {
  position: fixed; inset: 0; z-index: 1;
  opacity: 0; pointer-events: none;
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
}
.panel.panel-active { opacity: 1; pointer-events: all; z-index: 10; }
.panel-bg { position: absolute; inset: 0; overflow: hidden; transition: transform 8s ease; }
.panel:hover .panel-bg { transform: scale(1.02); }
.panel-bg img,
.panel-bg video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  display: block;
}
.panel-bg::after {
  content: ''; position: absolute; inset: 0;
  background: none; z-index: 1;
}
.panel-bg::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,4,4,0.88) 0%, rgba(4,4,4,0.1) 55%, transparent 100%);
  z-index: 2;
}
.panel-content { position: relative; z-index: 3; padding: 0 32px; }
.panel-number { font-size: 10px; letter-spacing: 0.2em; color: var(--gray); margin-bottom: 14px; }
.panel-title {
  font-size: clamp(60px, 9vw, 130px); font-weight: 700;
  line-height: 0.9; text-transform: uppercase; letter-spacing: -0.02em; color: var(--white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.5);
}
.panel-bar { display: flex; border-top: 1px solid var(--line); margin-top: 22px; padding: 13px 0; text-shadow: 0 1px 8px rgba(0,0,0,0.8); }
.panel-bar span { flex: 1; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); }
.panel-bar span:nth-child(2) { text-align: center; }
.panel-bar span:nth-child(3) { text-align: center; }
.panel-bar span:last-child   { text-align: right; }

.home-progress {
  position: fixed; right: 32px; top: 50%; transform: translateY(-50%);
  z-index: 200; display: flex; flex-direction: column; gap: 8px;
}
.home-progress-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: background 0.3s, transform 0.3s; cursor: pointer;
}
.home-progress-dot.active { background: var(--blue); transform: scale(1.6); }
body:not(.on-home) .home-progress { display: none; }

/* ═══════════ WORK ═══════════ */
#page-work { padding-top: 80px; height: 100vh; flex-direction: column; overflow: hidden; }
#page-work.active { display: flex; }

.work-header {
  padding: 28px 32px 0;
  display: flex; align-items: baseline; gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  flex-shrink: 0;
}
.work-header-title { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.work-header-count { font-size: 10px; color: var(--gray); letter-spacing: 0.15em; }

.work-hint {
  padding: 10px 32px;
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray); flex-shrink: 0;
  display: flex; gap: 32px;
}
.work-hint span { opacity: 0.5; }

/* ── Bento track ── */
#bento-track {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 32px 40px;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
#bento-track::-webkit-scrollbar { width: 4px; }
#bento-track::-webkit-scrollbar-track { background: transparent; }
#bento-track::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
#bento-track::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.28); }

#bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(160px, 28vw, 320px);
  grid-auto-flow: row dense;
  gap: 10px;
}
.bento-card.wide { grid-column: span 2; }

@media (min-width: 769px) {
  #bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(200px, 22vw, 380px);
  }
  .bento-card.wide { grid-column: span 2; }
}

.bento-card {
  position: relative;
  overflow: hidden;
  cursor: none;
  opacity: 0;
}

.bento-card-bg { position: absolute; inset: 0; }
.bento-card-bg img,
.bento-card-bg video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: grayscale(1);
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.6s ease;
}
.bento-card:hover .bento-card-bg img,
.bento-card:hover .bento-card-bg video,
.bento-card.auto-hover .bento-card-bg img,
.bento-card.auto-hover .bento-card-bg video {
  transform: scale(1.05);
  filter: grayscale(0);
}

.bento-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(4,4,4,0.82) 100%);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.bento-card:hover .bento-card-overlay,
.bento-card.auto-hover .bento-card-overlay { opacity: 1; }

.bento-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 18px;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}
.bento-card:hover .bento-card-info,
.bento-card.auto-hover .bento-card-info { transform: translateY(0); opacity: 1; }

.bento-card-num {
  font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 6px;
}
.bento-card-title {
  font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em;
  line-height: 1.1; color: var(--white); margin-bottom: 4px;
}
.bento-card-type {
  font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(240,238,234,0.55);
}

/* ═══════════ ABOUT ═══════════ */
#page-about { padding-top: 80px; height: 100vh; height: 100dvh; overflow: hidden; }

/* ── Identity hero ── */
.about-identity {
  position: relative; z-index: 1;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.about-name {
  font-size: clamp(52px, 9vw, 140px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  overflow: visible;
}
.about-role-block {
  display: flex; flex-direction: column;
  align-items: flex-end; justify-content: flex-end;
  padding-bottom: 4px;
}
.about-role {
  font-size: clamp(32px, 4.5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: uppercase;
  color: rgba(240,238,234,0.14);
  text-align: right;
}
.about-role .hl { color: rgba(240,238,234,0.45); }

/* ── 3-col body ── */
.about-body-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
}
.about-col-left {
  border-right: 1px solid var(--line);
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 20px;
}
.about-col-mid {
  border-right: 1px solid var(--line);
  padding: 30px 28px;
}
.about-col-right { padding: 30px 28px; }

/* Portrait */
.about-portrait {
  width: 100%; aspect-ratio: 2/3;
  flex-shrink: 0; position: relative;
  background: transparent;
}
.about-portrait model-viewer {
  width: 100%; height: 100%;
  background: transparent;
  --progress-bar-height: 0px;
  filter: sepia(1) hue-rotate(185deg) saturate(4) brightness(0.75);
}

/* Portrait drag hint */
.portrait-hint {
  position: absolute; bottom: 12px; left: 50%;
  transform: translateX(-50%);
  font-size: 8px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(240,238,234,0.35);
  opacity: 1; transition: opacity 0.4s;
  pointer-events: none; white-space: nowrap;
}
.about-portrait:hover .portrait-hint { opacity: 0; }

/* About enter animations (initial hidden state) */
.about-col-left, .about-col-mid, .about-col-right { opacity: 0; }
.about-identity > div { opacity: 0; }

/* Bio */
.about-bio-text {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.07em; line-height: 2;
  color: rgba(240,238,234,0.5);
  text-transform: uppercase;
}

/* Available chip */
.about-available {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 8px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #3dffa0; padding: 7px 12px;
  border: 1px solid rgba(61,255,160,0.2);
  align-self: flex-start;
}

/* CTA button */
.about-cta-btn {
  display: inline-block;
  font-family: var(--font); font-size: 9px;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--black); background: var(--white);
  padding: 11px 22px; border: none; cursor: none;
  text-decoration: none; align-self: flex-start;
  transition: background 0.25s, color 0.25s;
}
.about-cta-btn:hover { background: var(--blue); color: var(--white); }

/* Socials */
.about-social-links {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 5px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.about-social-link {
  font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(240,238,234,0.28); text-decoration: none; cursor: none;
  transition: color 0.2s;
}
.about-social-link:hover { color: var(--white); }

/* Section label */
.about-sec-label {
  font-size: 8px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 0;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}

/* Discipline rows */
.about-disc-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  cursor: default; transition: color 0.2s;
}
.about-disc-row:hover { color: var(--white); }
.about-disc-name {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(240,238,234,0.6);
  transition: color 0.2s;
}
.about-disc-row:hover .about-disc-name { color: var(--white); }
.about-disc-year {
  font-size: 8px; letter-spacing: 0.15em; color: var(--gray);
}

/* Info KV */
.about-kv-section { margin-top: 34px; }
.about-kv-row {
  display: flex; gap: 16px; padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.about-kv-key {
  font-size: 8px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gray); min-width: 80px; flex-shrink: 0;
}
.about-kv-val {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(240,238,234,0.7);
}

/* Client list */
.about-client-row {
  display: block; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(240,238,234,0.28);
  padding: 10px 0; border-bottom: 1px solid var(--line);
  transition: color 0.2s; cursor: default;
}
.about-client-row:hover { color: var(--white); }

/* ═══════════ CONTACT ═══════════ */
#page-contact { padding-top: 80px; height: 100vh; height: 100dvh; overflow: hidden; flex-direction: column; }
#page-contact.active { display: flex; }
.contact-hero { position: relative; z-index: 1; display: flex; align-items: flex-end; padding: 48px 32px; border-bottom: 1px solid var(--line); }
.contact-title { font-size: clamp(52px, 9vw, 136px); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.88; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr 1fr; flex: 1; }
.contact-col { padding: 48px 32px; border-right: 1px solid var(--line); }
.contact-col:last-child { border-right: none; }
.contact-col-label { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gray); margin-bottom: 22px; }
.contact-link { display: block; font-size: 15px; color: var(--white); text-decoration: none; margin-bottom: 8px; transition: color 0.2s; cursor: none; }
.contact-link:hover { color: var(--blue); }
.contact-socials { display: flex; flex-direction: column; gap: 10px; }
.contact-social { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); text-decoration: none; display: flex; align-items: center; gap: 10px; transition: color 0.2s; cursor: none; }
.contact-social::before { content: '↗'; font-size: 12px; }
.contact-social:hover { color: var(--white); }
.availability-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #3dffa0; margin-right: 8px; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;}50%{opacity:0.3;} }
.availability-text { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); }

/* ═══════════ HOME PLAYER ═══════════ */
#home-player {
  position: fixed; inset: 0; z-index: 9600;
  background: #000;
  display: none; flex-direction: column;
  opacity: 0; pointer-events: none;
}
#home-player.open { display: flex; pointer-events: all; }

.hp-top {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px; z-index: 2;
  transform: translateY(-20px); opacity: 0;
  transition: transform 0.5s 0.3s, opacity 0.5s 0.3s;
}
#home-player.open .hp-top { transform: translateY(0); opacity: 1; }
.hp-num { font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--blue); }
.hp-close {
  font-family: var(--font); font-size: 9px; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(240,238,234,0.35);
  background: none; border: none; cursor: none; transition: color 0.2s;
}
.hp-close:hover { color: var(--white); }

.hp-screen {
  flex: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#hp-img {
  max-width: 100%; max-height: 100%; object-fit: contain; display: block;
  transform: scale(1.06); opacity: 0;
  transition: transform 1.2s cubic-bezier(0.22,1,0.36,1), opacity 0.6s ease;
}
#home-player.open #hp-img { transform: scale(1); opacity: 1; }

/* Film grain */
.hp-grain {
  position: absolute; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 1; opacity: 0.04;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='1'/></svg>");
  animation: grain 0.4s steps(1) infinite;
}
@keyframes grain {
  0%  { transform: translate(0,0); }
  25% { transform: translate(-2%,-1%); }
  50% { transform: translate(1%,2%); }
  75% { transform: translate(-1%,1%); }
}
/* Scanlines */
.hp-scanline {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
}

.hp-bottom {
  display: grid; grid-template-columns: 1fr auto auto;
  align-items: center; gap: 32px;
  padding: 18px 32px; border-top: 1px solid var(--line);
  transform: translateY(20px); opacity: 0;
  transition: transform 0.5s 0.4s, opacity 0.5s 0.4s;
  position: relative;
}
#home-player.open .hp-bottom { transform: translateY(0); opacity: 1; }
.hp-title { font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--white); }
.hp-type  { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); margin-top: 4px; }
.hp-details { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); white-space: nowrap; }
.hp-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: rgba(255,255,255,0.06);
}
.hp-progress-fill {
  height: 100%; width: 0%; background: var(--blue);
  transition: width 0.3s linear;
}

@media (max-width: 768px) {
  .hp-top { padding: 16px 20px; }
  .hp-bottom { grid-template-columns: 1fr; gap: 6px; padding: 16px 20px; }
  .hp-details { font-size: 8px; }
}

/* ── FOOTER ── */
.site-footer { border-top: 1px solid var(--line); padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); }

/* ── MODAL PLAYER ── */
#modal {
  position: fixed; inset: 0; background: rgba(4,4,4,0);
  z-index: 9500; display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
#modal.open { pointer-events: all; }
.modal-inner {
  width: 90vw; max-width: 1100px; position: relative;
  clip-path: inset(0% 0% 100% 0%);
}
#modal-close {
  position: absolute; top: -40px; right: 0;
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(240,238,234,0.4); background: none; border: none; cursor: none;
  transition: color 0.2s;
}
#modal-close:hover { color: var(--white); }
#modal-content { width: 100%; }
.modal-player {
  position: relative; aspect-ratio: 16/9;
  background: #000; overflow: hidden;
}
.modal-vimeo-wrap {
  position: relative; padding-top: 75%;
  background: #000; overflow: hidden;
}
.modal-vimeo-wrap iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: 0;
}
.vimeo-overlay { display: none; }

/* ── Custom Vimeo UI ── */
.vimeo-ui {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0 18px 14px;
  background: linear-gradient(to top, rgba(4,4,4,0.75) 0%, transparent 100%);
  z-index: 3;
}
.vimeo-progress-wrap {
  width: 100%; height: 2px; background: rgba(255,255,255,0.15);
  margin-bottom: 12px; cursor: pointer; position: relative;
}
.vimeo-progress-bar {
  height: 100%; width: 0%; background: var(--white);
  transition: width 0.25s linear;
}
.vimeo-btns {
  display: flex; align-items: center; justify-content: space-between;
}
.vimeo-left, .vimeo-right { display: flex; align-items: center; gap: 20px; }
.vimeo-play, .vimeo-mute, .vimeo-fs {
  background: none; border: none; cursor: none;
  font-family: 'Arial Black', 'Barlow', Arial, sans-serif;
  font-size: 9px; font-weight: 900;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(240,238,234,0.7);
  transition: color 0.2s;
  padding: 0;
}
.vimeo-play:hover, .vimeo-mute:hover, .vimeo-fs:hover { color: var(--white); }
.vimeo-time {
  font-family: Arial, sans-serif; font-size: 9px;
  letter-spacing: 0.12em; color: rgba(240,238,234,0.4);
}
.modal-player img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.modal-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--blue); transform-origin: left; transform: scaleX(0);
  animation: mbar 3.5s linear infinite;
}
@keyframes mbar { from{transform:scaleX(0);}to{transform:scaleX(1);} }
.modal-meta {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 16px 0 0; border-top: 1px solid var(--line); margin-top: 14px;
}
.modal-meta-left { display: flex; align-items: baseline; gap: 18px; }
.modal-meta-num { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); }
.modal-meta-title { font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.modal-meta-type { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); }
.modal-meta-esc { font-size: 8px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(240,238,234,0.25); }


/* ── CONTACT UTILITIES ── */
.contact-availability { margin-top: 28px; }
.contact-rep-note { margin-top: 14px; font-size: 11px; color: var(--gray); line-height: 1.65; }

/* ── RESPONSIVE: tablet ── */
@media (min-width: 769px) and (max-width: 1100px) {
  .about-body-grid { grid-template-columns: 220px 1fr; }
  .about-col-right { grid-column: 2; border-right: none; border-top: 1px solid var(--line); }
  .about-col-mid { border-right: none; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-col:nth-child(3) { grid-column: span 2; border-right: none; border-top: 1px solid var(--line); }
}

/* ── RESPONSIVE: mobile ── */
@media (max-width: 768px) {
  body { cursor: auto; }
  #cursor { display: none; }

  nav { padding: 12px 16px; }
  .nav-links { gap: 20px; margin-right: 16px; }
  .nav-links a { font-size: 9px; }
  .nav-logo { font-size: 12px; }
  #lang-btn { cursor: pointer; font-size: 8px; padding: 4px 8px; }
  #lang-btn { cursor: pointer; font-size: 9px; padding: 5px 10px; }

  #page-home { height: 100svh; }
  .panel-content { padding: 0 20px 24px; }
  .panel-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 0;
    padding: 12px 0;
    margin-top: 12px;
  }
  .panel-bar span { text-align: left !important; flex: unset; font-size: 9px; letter-spacing: 0.14em; }
  .panel-bar span:nth-child(even) { text-align: right !important; }
  .home-progress { right: 16px; }

  #page-work { padding-top: 60px; height: 100svh; }
  .work-header { padding: 16px 20px 12px; }
  .work-hint { padding: 8px 20px; }
  #bento-track { padding: 12px 20px 16px; }

  #page-about { padding-top: 60px; height: auto; min-height: 100svh; overflow-y: auto; }
  .about-identity { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }
  .about-role-block { align-items: flex-start; }
  .about-role { text-align: left; }
  .about-body-grid { grid-template-columns: 1fr; }
  .about-col-left { border-right: none; border-bottom: 1px solid var(--line); padding: 24px 20px; }
  .about-col-mid  { border-right: none; border-bottom: 1px solid var(--line); padding: 24px 20px; }
  .about-col-right { padding: 24px 20px; }
  .about-portrait { max-width: 180px; margin-left: auto; margin-right: auto; }

  #page-contact { padding-top: 60px; height: auto; min-height: 100svh; overflow-y: auto; }
  .contact-hero { padding: 32px 20px 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-col { padding: 28px 20px; border-right: none; border-bottom: 1px solid var(--line); }
  .contact-col:last-child { border-bottom: none; }

  .site-footer { padding: 14px 20px; flex-direction: column; gap: 6px; align-items: flex-start; }

  .modal-inner { width: 95vw; }
  #modal-close { top: -28px; }

  a, button, .bento-card, .home-progress-dot,
  .about-social-link, .about-cta-btn,
  .contact-link, .contact-social { cursor: pointer; }

  #play-cursor, #drag-cursor { display: none; }
}
