/* === Bernd Mantz — Portfolio (visual-first v2) === */

:root {
  --bg: #F2EEE5;
  --ink: #0F0E0C;
  --accent: #C7411E;
  --rule: rgba(15, 14, 12, 0.12);
  --dim: rgba(15, 14, 12, 0.5);
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Inter Tight', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --marquee-dur: 60s;
  --pad-x: clamp(20px, 4vw, 56px);
}

html[data-theme="dark"] {
  --bg: #0E0D0B;
  --ink: #EDE6D6;
  --rule: rgba(237, 230, 214, 0.14);
  --dim: rgba(237, 230, 214, 0.5);
}

html, body {
  transition: background-color 0.6s ease, color 0.6s ease;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
body {
  background: var(--bg);
  color: var(--ink);
  cursor: none;
  overflow-x: hidden;
}
@media (hover: none) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: none; padding: 0; }
em { font-style: italic; }

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}
.dim { color: var(--dim); }

/* === Custom cursor === */
.cursor-dot, .cursor-ring, .cursor-label, .cursor-hand {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}
.cursor-hand {
  margin-left: -6px;
  margin-top: -6px;
  opacity: 0;
  transform-origin: 10% 10%;
  transition: opacity 0.15s ease;
}
.cursor-hand.is-on {
  opacity: 1;
}
.cursor-hand.is-on .cursor-hand-svg {
  animation: handpop 0.32s cubic-bezier(.3,1.4,.4,1);
}
.cursor-hand-svg {
  display: block;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,0.15));
}
.cursor-hand-tag {
  position: absolute;
  left: 28px;
  top: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #F2EEE5;
  padding: 3px 6px;
  white-space: nowrap;
}
@keyframes handpop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cursor-hand .cursor-hand-svg {
  display: block;
}
.cursor-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  transition: width 0.18s ease, height 0.18s ease, opacity 0.2s ease;
}
.cursor-ring {
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: width 0.22s cubic-bezier(.2,.8,.2,1), height 0.22s cubic-bezier(.2,.8,.2,1), background 0.2s ease, color 0.2s ease;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.cursor-ring-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.cursor-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  padding: 4px 7px;
}

/* === Page === */
.page { min-height: 100vh; }

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* === Nav === */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad-x);
  mix-blend-mode: difference;
  color: #F2EEE5;
}
.nav-mark { display: flex; align-items: center; gap: 10px; }
.mark-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.mark-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  letter-spacing: -0.01em;
}
.nav-list {
  display: flex; gap: 24px;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  position: relative;
  padding: 4px 2px;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.nav-list a:hover::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  width: 32px; height: 32px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, transform 0.4s cubic-bezier(.2,.8,.2,1);
  opacity: 0.85;
}
.theme-toggle:hover {
  opacity: 1;
  transform: rotate(45deg);
}
.theme-toggle svg { display: block; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid currentColor;
  padding: 6px 12px;
  border-radius: 999px;
}
.dot-pulse {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: dotpulse 2.2s ease-out infinite;
}
@keyframes dotpulse {
  0% { box-shadow: 0 0 0 0 rgba(199,65,30,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(199,65,30,0); }
  100% { box-shadow: 0 0 0 0 rgba(199,65,30,0); }
}

/* === Showreel hero === */
.hero-reel {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #0a0908;
  color: #F2EEE5;
  z-index: 1;
}
.reel-canvas {
  position: absolute; inset: 0;
}
.reel-frame {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(.4,0,.2,1);
}
.reel-frame.is-on { opacity: 1; }
.reel-svg {
  width: 100%; height: 100%;
  display: block;
}
.reel-drift { transform-origin: center; transition: transform 4s ease-in-out; }
.reel-drift.is-on { transform: translateX(-3px) scale(1.04); }

.reel-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.92 0 0 0 0 0.85 0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: grainShift 0.5s steps(2) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-2px, 1px); }
  100% { transform: translate(0, 0); }
}
.reel-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}

/* === HUD === */
.reel-hud {
  position: absolute; inset: 0;
  z-index: 10;
  padding: 90px var(--pad-x) 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto 1fr auto auto;
  gap: 12px 24px;
  pointer-events: none;
  color: rgba(242, 238, 229, 0.9);
}
.reel-hud > * { pointer-events: auto; }

.hud-tl { grid-column: 1; grid-row: 1; }
.hud-tr { grid-column: 3; grid-row: 1; text-align: right; justify-self: end; }
.hud-tl, .hud-tr {
  display: flex; flex-direction: column; gap: 2px;
}
.hud-tr { align-items: flex-end; }

.hud-bl { grid-column: 1; grid-row: 3; align-self: end; }
.hud-bc { grid-column: 2; grid-row: 3; align-self: end; justify-self: center; }
.hud-br { grid-column: 3; grid-row: 3; align-self: end; justify-self: end; text-align: right; }

.hud-btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(242,238,229,0.4);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s;
}
.hud-btn:hover {
  background: rgba(242,238,229,0.1);
  border-color: rgba(242,238,229,0.7);
}

.hud-eq {
  display: inline-flex; align-items: flex-end; gap: 2px;
  height: 12px;
}
.hud-eq span {
  width: 2px;
  background: currentColor;
  height: 4px;
  border-radius: 1px;
}
.hud-eq.is-on span {
  animation: eqbar 0.8s ease-in-out infinite;
}
.hud-eq.is-on span:nth-child(1) { animation-delay: 0s; }
.hud-eq.is-on span:nth-child(2) { animation-delay: 0.15s; }
.hud-eq.is-on span:nth-child(3) { animation-delay: 0.3s; }
.hud-eq.is-on span:nth-child(4) { animation-delay: 0.45s; }
@keyframes eqbar {
  0%, 100% { height: 3px; }
  50% { height: 12px; }
}

.hud-scroll {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(242,238,229,0.7);
}
.scroll-line {
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, currentColor 50%, transparent 50%);
  background-size: 1px 8px;
  animation: scrolldot 1.6s linear infinite;
}
@keyframes scrolldot {
  from { background-position-y: 0; }
  to { background-position-y: 8px; }
}

.hud-rep {
  font-size: 10px;
  opacity: 0.6;
  margin-top: 2px;
}

.hud-ticker {
  grid-column: 1 / -1;
  grid-row: 4;
  display: flex;
  gap: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(242,238,229,0.18);
  overflow: hidden;
  white-space: nowrap;
  color: rgba(242,238,229,0.55);
  font-size: 10.5px;
}
.hud-tick-item {
  display: inline-flex;
  gap: 8px;
}
.hud-tick-item .tick-id { color: var(--accent); }
.hud-tick-item .tick-title { color: rgba(242,238,229,0.9); }
.hud-tick-item.is-active { color: rgba(242,238,229,0.9); font-weight: 500; letter-spacing: 0.06em; }
.hud-tick-item.is-active .tick-title { color: #fff; }

/* === Section heads (light) === */
.section-head, .work-v2-head, .index-v2-head, .about-v2-inner > .mono {
  color: var(--dim);
}

.scroll-cover {
  position: relative;
  z-index: 2;
  background: var(--bg);
  margin-top: 0;
}

/* === Work v2 — visual grid (slides up over hero) === */
.work-v2 {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding: 100px var(--pad-x) 100px;
  margin-top: 0;
  box-shadow: 0 -40px 80px rgba(0,0,0,0.18);
}
.work-v2-head {
  margin-bottom: 32px;
}
.work-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 64px) clamp(20px, 3vw, 40px);
}
.work-v2-grid.density-tight { gap: 16px 16px; grid-template-columns: repeat(3, 1fr); }
.work-v2-grid.density-roomy { gap: 80px 64px; }

.wcard {
  display: block;
  position: relative;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.wcard:nth-child(even) {
  margin-top: clamp(40px, 8vw, 120px);
}
.work-v2-grid.density-tight .wcard:nth-child(even) { margin-top: 0; }

.wcard-img {
  overflow: hidden;
  background: #1a1a1a;
  position: relative;
}
.wcard-img .still {
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.wcard:hover .wcard-img .still { transform: scale(1.04); }
.wcard-img::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(15,14,12,0.0);
  transition: background 0.4s ease;
}
.wcard:hover .wcard-img::after { background: rgba(15,14,12,0.1); }

.wcard-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding-top: 14px;
}
.wcard-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.wcard:hover .wcard-title {
  font-style: italic;
}
.wcard.is-playing .wcard-title {
  font-weight: 400;
  font-style: italic;
}
.wcard.is-playing .wcard-meta {
  opacity: 1;
}
.wcard.is-playing > .wcard-meta > .wcard-title {
  font-size: clamp(22px, 2.2vw, 34px);
}

@keyframes reelFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reel-video-frame {
  animation: reelFadeIn 1.2s ease forwards;
}

.work-v2-foot {
  margin-top: 64px;
  display: flex;
  justify-content: flex-end;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap 0.3s ease, color 0.3s ease;
}
.link-arrow:hover { gap: 20px; color: var(--accent); }

/* === Stills === */
.still {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #1a1a1a;
}
.still-svg { display: block; width: 100%; height: 100%; }

/* === About v2 === */
.about-v2 {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding: 80px var(--pad-x) 100px;
  border-top: 1px solid var(--rule);
}
.about-v2-inner {
  max-width: 900px;
}
.about-v2-lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 24px 0 64px;
  font-variation-settings: "opsz" 96;
}
.about-v2-lede em { font-style: italic; }

.about-v2-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.about-v2-foot > div > div:first-child { color: var(--ink); margin-bottom: 8px; }
.about-v2-link {
  margin-top: 4px;
  text-transform: none;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0;
  color: var(--ink);
}

/* === Index v2 === */
.index-v2 {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding: 80px var(--pad-x) 100px;
  border-top: 1px solid var(--rule);
}
.index-v2-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}
.index-v2-filters { display: flex; gap: 6px; }
.fchip {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--dim);
  transition: all 0.3s ease;
}
.fchip.is-on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.index-table { }
.index-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 2.4fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 40px;
  column-gap: clamp(16px, 2vw, 28px);
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding-left 0.4s cubic-bezier(.2,.8,.2,1);
}
.index-row:hover { padding-left: 14px; }
.ix-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.index-row:hover .ix-title { font-style: italic; }
.ix-arrow { color: var(--accent); text-align: right; }

/* === Footer v2 === */
.footer-v2 {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  padding: 100px var(--pad-x) 24px;
  box-sizing: border-box;
  border-top: 1px solid var(--rule);
}
.footer-v2-inner {
  max-width: 1280px;
  width: 100%;
}
.footer-v2-h {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(48px, 10vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 16px 0 80px;
  font-variation-settings: "opsz" 144;
}
.footer-v2-h a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 92%;
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  transition: background-size 0.5s cubic-bezier(.2,.8,.2,1);
}
.footer-v2-h a:hover { background-size: 100% 1.5px; }

.footer-v2-foot {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  color: var(--dim);
}
.footer-v2-foot a { color: var(--accent); }

/* === Overlay (kept) === */
.overlay {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(15, 14, 12, 0.92);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.overlay-inner {
  background: var(--bg);
  color: var(--ink);
  margin: 32px auto;
  max-width: 1280px;
  width: calc(100% - 64px);
  animation: slideUp 0.4s cubic-bezier(.2,.8,.2,1);
}
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.overlay-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--rule);
  color: var(--dim);
}
.overlay-close {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.overlay-hero { position: relative; }
.overlay-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.overlay-play button {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--accent); color: var(--bg);
  padding: 18px 28px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.overlay-body { padding: 48px; }
.overlay-meta {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 32px;
  margin-bottom: 40px;
}
.omk { color: var(--dim); margin-bottom: 6px; }
.overlay-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.overlay-lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}
.overlay-text > p:not(.overlay-lede) {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: var(--dim);
}
.overlay-stills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.overlay-credits {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  color: var(--dim);
}
.oc-h { margin-bottom: 16px; color: var(--ink); }
.oc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 32px;
}
.oc-grid > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 6px 0;
  border-bottom: 1px dotted var(--rule);
}
.oc-grid > div > span:last-child { color: var(--ink); }

/* === Tweaks color row === */
.tw-color-row { display: flex; flex-direction: column; gap: 6px; }
.tw-color-label { font-size: 11px; color: rgba(255,255,255,0.6); }
.tw-color-swatches { display: flex; gap: 6px; }
.tw-swatch {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
}
.tw-swatch.is-on { outline: 2px solid #fff; outline-offset: 2px; }

/* === Responsive === */

/* Tablet (≤ 1100px) — collapse 3-col grids to 2 */
@media (max-width: 1100px) {
  .work-v2-grid.density-tight { grid-template-columns: repeat(2, 1fr); }
  .work-v2-grid.density-tight .wcard:nth-child(even) { margin-top: clamp(40px, 8vw, 120px); }
  .footer-v2 { padding: 80px var(--pad-x) 24px; }
  .footer-v2-h { margin: 12px 0 60px; }
}

/* Tablet portrait / large phone (≤ 900px) */
@media (max-width: 900px) {
  /* Nav becomes compact — hide list, keep mark + theme + cta */
  .nav { padding: 18px var(--pad-x); }
  .nav-list { display: none; }

  /* Hero HUD restructures into 2-col */
  .reel-hud {
    padding: 80px 20px 16px;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
  }
  .hud-bc { display: none; }
  .hud-bl { grid-column: 1; }
  .hud-br { grid-column: 2; }
  .hud-ticker { grid-column: 1 / -1; }

  /* Work grid: 2 col regardless of density */
  .work-v2-grid,
  .work-v2-grid.density-tight,
  .work-v2-grid.density-roomy {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
  .wcard:nth-child(even) { margin-top: 32px; }
  .work-v2-grid.density-tight .wcard:nth-child(even) { margin-top: 0; }

  /* About 3-col → 1-col */
  .about-v2-foot { grid-template-columns: 1fr; gap: 20px; }

  /* Index table: hide middle columns */
  .index-row { grid-template-columns: 50px 1fr 40px; gap: 16px; }
  .index-row > div:nth-child(n+3):nth-child(-n+5) { display: none; }
  .index-v2-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .index-v2-filters { flex-wrap: wrap; }

  /* Footer */
  .footer-v2 { padding: 60px var(--pad-x) 20px; }
  .footer-v2-h { margin: 8px 0 40px; }
  .footer-v2-foot {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .overlay-meta, .overlay-text, .overlay-stills { grid-template-columns: 1fr; }
}

/* Mobile (≤ 640px) */
@media (max-width: 640px) {
  :root { --pad-x: 18px; }

  /* Nav — hide CTA label, keep icon-like */
  .nav { padding: 14px var(--pad-x); }
  .nav-cta { padding: 5px 10px; font-size: 10px; }
  .nav-cta .dot-pulse { display: none; }

  /* Hero HUD: stack into single column */
  .reel-hud {
    padding: 70px 16px 14px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto auto;
    gap: 6px;
  }
  .hud-tl, .hud-tr { grid-column: 1; }
  .hud-tr { grid-row: 2; align-items: flex-start; text-align: left; }
  .hud-tl { grid-row: 1; }
  .hud-bl { grid-row: 4; grid-column: 1; }
  .hud-br { grid-row: 5; grid-column: 1; justify-self: flex-start; text-align: left; align-items: flex-start; }
  .hud-ticker { grid-row: 6; gap: 16px; font-size: 9.5px; }

  /* Work grid: single column */
  .work-v2 { padding: 64px var(--pad-x) 64px; }
  .work-v2-grid,
  .work-v2-grid.density-tight,
  .work-v2-grid.density-roomy {
    grid-template-columns: 1fr;
    gap: 40px 0;
  }
  .wcard:nth-child(even),
  .work-v2-grid.density-tight .wcard:nth-child(even) { margin-top: 0; }
  .wcard-meta { gap: 10px; }

  /* About */
  .about-v2 { padding: 56px var(--pad-x) 64px; }
  .about-v2-lede { margin: 16px 0 40px; }

  /* Index */
  .index-v2 { padding: 56px var(--pad-x) 64px; }
  .index-row {
    grid-template-columns: 36px 1fr 24px;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
  }
  .index-row:hover { padding-left: 0; }
  .ix-title { font-size: 18px; }

  /* Footer — keep giant headline contained */
  .footer-v2 { padding: 48px var(--pad-x) 18px; }
  .footer-v2-h {
    font-size: clamp(40px, 14vw, 72px);
    margin: 4px 0 28px;
    line-height: 0.95;
  }
  .footer-v2-foot {
    padding-top: 14px;
    font-size: 11px;
  }

  /* Overlay tweaks */
  .overlay-close { top: 14px; right: 14px; }

  /* Custom cursor: hide on touch — already covered by hover:none */
}

/* Tiny phones (≤ 380px) */
@media (max-width: 380px) {
  .nav-cta { display: none; }
  .footer-v2-h { font-size: clamp(36px, 13vw, 56px); }
}
