﻿/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sidebar-w: 240px;
  --bg-main:   #f5f4f2;
  --bg-side:   #111111;
  --text-side: #f0ede8;
  --text-dim:  #888880;
  --accent:    #f0ede8;
  --card-bg:   #eceae6;
  --mono:      'Space Mono', monospace;
  --sans:      'Inter', sans-serif;
  --display:   'Bebas Neue', sans-serif;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  background: var(--bg-main);
  color: #111;
  font-family: var(--sans);
  cursor: none;
}

* { cursor: none !important; }

a {
  color: inherit;
  text-decoration: none;
}

/* ═══════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════ */
.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg-side);
  color: var(--text-side);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 16px 18px;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

/* ── resize handle ── */
.sidebar-resizer {
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  cursor: ew-resize;
  z-index: 20;
  transition: background 0.2s;
}
.sidebar-resizer:hover,
.sidebar-resizing .sidebar-resizer {
  background: rgba(255, 255, 255, 0.12);
}
body.sidebar-resizing {
  cursor: ew-resize !important;
  user-select: none;
}
body.sidebar-resizing * {
  cursor: ew-resize !important;
}

/* ── identity block ── */
.sidebar-identity {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
}

.sidebar-text {
  flex: 1;
  min-width: 0;
}

.sidebar-name {
  display: block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin-bottom: 8px;
}



.sidebar-role {
  display: block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 9px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.sidebar-bio {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.65;
  color: #aaa;
}

/* avatar */
.sidebar-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  background: #333;
}

.sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
}

.sidebar-avatar.avatar-placeholder::after {
  content: 'SD';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-side);
}

/* ── social links row (links + avatar side by side) ── */
.sidebar-links-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 28px;
}

.sidebar-links {
  flex: 1;
}

.sidebar-links-label {
  font-family: var(--mono);
  font-size: 9px;
  color: #aaa;
  display: block;
  margin-bottom: 4px;
}

.sidebar-links ul {
  list-style: none;
}

.sidebar-links ul li {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.9;
}

.sidebar-links ul li::before {
  content: '• ';
  color: var(--text-dim);
}

.sidebar-links ul li a {
  color: var(--text-side);
  transition: color 0.2s;
}

.sidebar-links ul li a:hover {
  color: #fff;
}

/* ── girl image above nav ── */
.sidebar-girl-wrap {
  margin-top: auto;
  margin-bottom: 10px;
  position: relative;
}

.pixel-bubble {
  display: inline-block;
  position: relative;
  background: var(--text-side);
  color: #111;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border-radius: 0;
  margin-bottom: 6px;
  image-rendering: pixelated;
  /* pixel border via box-shadow */
  box-shadow:
    -2px 0 0 0 #111,
     2px 0 0 0 #111,
     0 -2px 0 0 #111,
     0  2px 0 0 #111;
}

/* pixel tail pointing down-left */
.pixel-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 8px;
  width: 4px;
  height: 4px;
  background: var(--text-side);
  box-shadow:
    0  2px 0 0 #111,
    2px 2px 0 0 #111;
}

/* ── bubble-row: initial wanna chat + click btn ── */
.bubble-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.bubble-row .pixel-bubble {
  margin-bottom: 0;
}

/* ── pixel action button ── */
.pixel-click-btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  background: transparent;
  color: var(--text-side);
  border: none;
  box-shadow:
    -2px 0 0 0 var(--text-side),
     2px 0 0 0 var(--text-side),
     0 -2px 0 0 var(--text-side),
     0  2px 0 0 var(--text-side);
  transition: background 0.15s, color 0.15s;
}

.pixel-click-btn:hover {
  background: var(--text-side);
  color: #111;
}

/* ── chat thread container ── */
.chat-thread {
  display: none;
  flex-direction: column;
  gap: 6px;
  max-height: 210px;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: 8px;
  scrollbar-width: none;
}
.chat-thread::-webkit-scrollbar { display: none; }

/* ── chat bubbles (no tail) ── */
.girl-chat-bubble,
.user-chat-bubble {
  margin-bottom: 0;
  max-width: 85%;
}

.girl-chat-bubble::after,
.user-chat-bubble::after {
  display: none;
}

.girl-chat-bubble {
  align-self: flex-start;
}

.user-chat-bubble {
  align-self: flex-end;
}

/* ── chat input row ── */
.chat-input-row {
  display: flex;
  align-items: center;
  gap: 0;
  align-self: flex-end;
  /* pixel bubble border — same as girl bubble */
  box-shadow:
    -2px 0 0 0 #111,
     2px 0 0 0 #111,
     0 -2px 0 0 #111,
     0  2px 0 0 #111;
  background: var(--text-side);
}

.chat-input {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 8px;
  background: transparent;
  color: #111;
  border: none;
  outline: none;
  cursor: text !important;
  box-shadow: none;
}

.chat-input::placeholder { color: #666; }

.chat-input.chat-input-err {
  outline: 2px solid #ff4444;
  outline-offset: -2px;
}

.send-btn {
  flex-shrink: 0;
  background: transparent;
  color: #111;
  box-shadow: none;
  border-left: 2px solid #111;
  padding: 4px 6px;
}

.send-btn:hover {
  background: #111;
  color: var(--text-side);
}

.chat-confirm-row {
  display: flex;
  gap: 6px;
  align-self: flex-end;
}

.chat-confirm-row .pixel-click-btn {
  background: var(--text-side);
  color: #111;
  box-shadow:
    -2px 0 0 0 #111,
     2px 0 0 0 #111,
     0 -2px 0 0 #111,
     0  2px 0 0 #111;
}

.chat-confirm-row .pixel-click-btn:hover {
  background: #111;
  color: var(--text-side);
}

.sidebar-girl-img {
  border-radius: 8px;
  overflow: hidden;
  width: 35%;
}

.sidebar-girl-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

/* ── navigation ── */
.sidebar-nav {
  margin-top: 0;
  margin-bottom: 24px;
  background: #1e1e1e;
  border-radius: 10px;
  padding: 12px 14px;
}

.sidebar-nav ul {
  list-style: none;
}

.nav-item {
  margin-bottom: 4px;
}

.nav-item:last-child {
  margin-bottom: 0;
}

.nav-item a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  padding: 4px 0;
  transition: color 0.2s;
  position: relative;
}

.nav-item a::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--text-dim);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.nav-item.active a,
.nav-item a:hover {
  color: var(--text-side);
}

.nav-item.active a::before,
.nav-item a:hover::before {
  background: var(--text-side);
  border-color: var(--text-side);
}

.nav-num {
  color: var(--text-dim);
  font-size: 8px;
}

/* ── world clocks ── */
.sidebar-clock-block {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1;
}

.clock-row {
  display: grid;
  grid-template-columns: 28px 36px 1fr;
  align-items: center;
  padding: 3px 0;
  border-top: 1px solid #222;
}

.clock-city {
  font-weight: 700;
  color: var(--text-side);
}

.clock-tz {
  color: var(--text-dim);
}

.clock-time {
  color: var(--text-side);
  text-align: right;
}

/* ═══════════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════════ */
.main {
  flex: 1;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  padding: 0 40px 60px;
  /* scroll-behavior: smooth intentionally removed — causes iOS Safari jank */
}

/* ── hero name ── */
.hero-name-wrap {
  pointer-events: none;
  user-select: none;
  width: 100%;
  overflow: visible;
  margin-bottom: 0;
}

.gooey-wrap {
  position: relative;
  width: 100%;
  height: var(--hero-wrap-h, 16vw);
  min-height: 100px;
  display: flex;
  align-items: center;
  filter: url(#threshold);
}

.gooey-wrap span {
  position: absolute;
  left: 0;
  font-family: var(--sans);
  font-weight: 900;
  font-size: var(--hero-fs, 20vw);
  letter-spacing: -0.02em;
  color: #111;
  white-space: nowrap;
  line-height: 1;
}

/* ── filter bar ── */
.filter-bar {
  display: flex;
  gap: 6px;
  margin-top: 40px;
  margin-bottom: 0;
}

.filter-btn {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  background: transparent;
  border: 1px solid #c0bdb7;
  border-radius: 1px;
  padding: 6px 14px;
  cursor: none;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}

.filter-btn:hover {
  color: #111;
  border-color: #111;
}

.filter-btn.active {
  color: #f0ede8;
  background: #111;
  border-color: #111;
}

/* ── projects grid ── */
.projects-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 80px;
  padding-bottom: 120px;
}

.grid-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.col-right {
  padding-top: 220px;
}

.project-card {
  cursor: none;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.3s + var(--card-delay));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card.filtered-out {
  animation: none;       /* fill-mode kilidini kaldır */
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--card-bg);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .card-img-wrap img {
  transform: scale(1.04);
}

/* placeholder when no image */
.card-img-placeholder {
  width: 100%;
  height: 100%;
  background: #c8c5be;
  position: relative;
  overflow: hidden;
}

/* blurred colour blobs → fake blurred photo feel */
.card-img-placeholder::before {
  content: '';
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 60% 55% at 25% 35%, rgba(190,175,155,0.95) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 75% 65%, rgba(155,148,138,0.85) 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 55% 20%, rgba(210,200,185,0.7)  0%, transparent 50%),
    radial-gradient(ellipse 45% 55% at 20% 80%, rgba(140,133,122,0.75) 0%, transparent 50%);
  filter: blur(36px);
  transform: scale(1.1);
  transition: filter 0.5s ease;
}

.project-card:hover .card-img-placeholder::before {
  filter: blur(28px);
}

.card-wip {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.card-wip span {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(30,28,25,0.55);
  background: rgba(232,230,225,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 14px;
  border-radius: 2px;
}

.card-info {
  padding: 10px 0 0;
}

.card-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #111;
  margin-bottom: 3px;
}

.card-sub {
  font-family: var(--mono);
  font-size: 9px;
  color: #888;
  line-height: 1.5;
}

/* ── cursor-following project tag ── */
.project-tag {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9997;
  background: #111;
  color: #f0ede8;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 11px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(18px, 18px) scale(0.85);
  transition: opacity 0.18s ease, transform 0.18s ease;
  border-radius: 1px;
}

.project-tag.visible {
  opacity: 1;
  transform: translate(18px, 18px) scale(1);
}

/* ── decorative dot ── */
.deco-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111;
  position: absolute;
  bottom: 48px;
  right: 60px;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0.4; }
}

/* ═══════════════════════════════════════════
   RIGHT BADGE
═══════════════════════════════════════════ */
.nominee-badge {
  position: fixed;
  right: -46px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  background: #111;
  color: var(--text-side);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  padding: 6px 14px;
  text-transform: uppercase;
  z-index: 100;
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════ */
.main::-webkit-scrollbar { width: 4px; }
.main::-webkit-scrollbar-track { background: transparent; }
.main::-webkit-scrollbar-thumb { background: #bbb; border-radius: 2px; }

/* ═══════════════════════════════════════════
   CURSOR DOT
═══════════════════════════════════════════ */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-svg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9997;
  overflow: visible;
  mix-blend-mode: difference;
}

.cursor-svg path {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  filter: blur(1.5px);
}

/* ═══════════════════════════════════════════
   PROJECT DETAIL DRAWER
═══════════════════════════════════════════ */
.proj-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.proj-drawer-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.proj-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 800px;
  max-width: calc(100vw - var(--sidebar-w) - 40px);
  background: #111;
  color: var(--text-side);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  scrollbar-width: none;
}
.proj-drawer::-webkit-scrollbar { display: none; }

.proj-drawer.open {
  transform: translateX(0);
}

.proj-drawer-close {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  padding: 16px 20px 0;
  background: #111;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-side);
  background: transparent;
  border: none;
  z-index: 1;
}

.proj-drawer-close:hover {
  color: #fff;
}

.proj-drawer-inner {
  padding: 10px 28px 48px;
}

.proj-drawer-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #222;
  border-radius: 2px;
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
}

.proj-drawer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.drawer-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.drawer-track.is-dragging {
  transition: none;
  cursor: grabbing !important;
}

.drawer-track.no-transition {
  transition: none !important;
}

.drawer-track img {
  flex: 0 0 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.drawer-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.drawer-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.2s;
  cursor: none;
}

.drawer-dot.active {
  background: rgba(255,255,255,0.9);
}

.drawer-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  cursor: none;
  transition: background 0.18s, opacity 0.18s;
  opacity: 0;
}

.drawer-arrow:hover {
  background: rgba(0,0,0,0.7);
  color: #fff;
}

.drawer-arrow.prev { left: 10px; }
.drawer-arrow.next { right: 10px; }

.proj-drawer-img:hover .drawer-arrow {
  opacity: 1;
}

/* always show arrows on touch devices (no hover available) */
@media (hover: none) {
  .drawer-arrow {
    opacity: 0.75;
  }
}

.drawer-wip {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #444;
}

.proj-drawer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.proj-drawer-tags {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
}

.proj-drawer-year {
  font-family: var(--mono);
  font-size: 8px;
  color: #555;
}

.proj-drawer-title {
  font-family: var(--display);
  font-size: 38px;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--text-side);
}

.proj-drawer-sub {
  font-family: var(--mono);
  font-size: 9px;
  color: #888;
  margin-bottom: 22px;
}

.proj-drawer-rule {
  border: none;
  border-top: 1px solid #222;
  margin-bottom: 18px;
}

.proj-drawer-row {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 18px;
}

.proj-drawer-label {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  white-space: nowrap;
}

.proj-drawer-val {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-side);
}

.proj-drawer-desc {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.8;
  color: #aaa;
}

.proj-drawer-link {
  display: inline-block;
  margin-top: 18px;
  padding: 7px 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.proj-drawer-link:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
}

/* ═══════════════════════════════════════════
   MOBILE
═══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── restore cursor (touch devices) ── */
  * { cursor: auto !important; }
  .cursor-dot,
  .cursor-svg { display: none !important; }
  .project-tag { display: none !important; }

  body {
    flex-direction: column;
  }

  /* — sidebar becomes a fixed overlay — */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 78vw !important;
    min-width: unset !important;
    max-width: 320px;
    z-index: 1200;
    transform: translateX(-100%);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    box-shadow: 4px 0 32px rgba(0,0,0,0.35);
  }

  .sidebar.mob-open {
    transform: translateX(0);
  }

  /* resize handle hidden on mobile */
  .sidebar-resizer { display: none; }

  /* — floating handle tab — */
  .mob-handle {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1201;
    width: 22px;
    height: 56px;
    background: var(--bg-side);
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 2px 0 12px rgba(0,0,0,0.25);
  }

  .mob-handle.open {
    left: calc(min(78vw, 320px));
  }

  .mob-handle svg {
    width: 10px;
    height: 10px;
    fill: none;
    stroke: rgba(240,237,232,0.6);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.35s ease;
    flex-shrink: 0;
  }

  .mob-handle.open svg {
    transform: rotate(180deg);
  }

  /* — sidebar backdrop — */
  .mob-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mob-backdrop.open {
    opacity: 1;
    pointer-events: all;
  }

  /* — main fills full width — */
  .main {
    height: auto;
    min-height: 100svh;
    padding: 0 25px 80px;
  }

  /* — hero text — */
  .gooey-wrap {
    height: var(--hero-wrap-h, 22vw);
    width: 100%;
  }

  .gooey-wrap span {
    /* font-size controlled by JS --hero-fs for exact full-width fit */
    letter-spacing: -0.06em;
    width: 100%;
  }

  /* — filter bar — */
  .filter-bar {
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 28px;
  }

  .filter-btn {
    cursor: pointer !important;
    font-size: 8px;
    padding: 5px 12px;
  }

  /* — projects grid: two-column zigzag (smaller cards) — */
  .projects-grid {
    flex-direction: row;
    gap: 12px;
    margin-top: 40px;
    align-items: flex-start;
    padding-bottom: 60px;
  }

  .col-right {
    padding-top: 56px; /* zigzag offset */
  }

  .grid-col {
    gap: 24px;
  }

  .card-title {
    font-size: 13px;
  }

  .card-sub {
    font-size: 9px;
  }

  /* ── project detail drawer → bottom sheet ── */
  .proj-drawer {
    top: auto !important;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto;
    max-height: 93svh;
    transform: translateY(100%) !important;
    border-radius: 18px 18px 0 0;
    z-index: 1400;
    overflow-y: auto;
  }

  .proj-drawer.open {
    transform: translateY(0) !important;
  }

  /* drag-handle pill at top of sheet */
  .proj-drawer::before {
    content: '';
    display: block;
    width: 38px;
    height: 4px;
    background: rgba(255,255,255,0.18);
    border-radius: 2px;
    margin: 12px auto 0;
  }

  .proj-drawer-backdrop {
    z-index: 1350;
  }

  .proj-drawer-close {
    padding: 10px 18px 4px;
    font-size: 22px;
  }

  .proj-drawer-inner {
    padding: 8px 20px 56px;
  }

  .proj-drawer-img {
    aspect-ratio: 4 / 3;
  }

  .proj-drawer-title {
    font-size: 28px;
  }

  .proj-drawer-desc {
    font-size: 10px;
    line-height: 1.7;
  }

  /* — nominee badge hidden — */
  .nominee-badge {
    display: none;
  }
}
