/* =========================================================
   Jaimyon Parker — personal brand site
   Cinematic, editorial, quiet.
   Adapted from design handoff (designer2-35b7939e...)
   ========================================================= */

:root {
  --bg: #000000;
  --bg-elev: #0a0a0a;
  --fg: #FFFFFF;
  --fg-dim: #9a9a9a;
  --fg-mute: #5a5a5a;
  --rule: rgba(255, 255, 255, 0.12);
  --rule-strong: rgba(255, 255, 255, 0.32);
  --accent: #E63946;
  --grain-opacity: 0.06;

  --serif: "Instrument Serif", "DM Serif Display", ui-serif, Georgia, serif;
  --sans:  "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --display: var(--serif);
  --body: var(--sans);
  --label: var(--sans);
  --display-letter: -0.015em;

  --pad-x: clamp(20px, 4vw, 64px);
  --max: 1600px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }

/* ---- Grain overlay ---- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: var(--grain-opacity);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  display: none;
}
[data-grain="on"] .grain { display: block; }

/* ---- Custom crosshair cursor (desktop pointer only) ---- */
.crosshair { display: none; }
@media (pointer: fine) {
  [data-cursor="cross"] { cursor: none; }
  [data-cursor="cross"] a,
  [data-cursor="cross"] button,
  [data-cursor="cross"] input,
  [data-cursor="cross"] textarea,
  [data-cursor="cross"] select { cursor: none; }
  .crosshair {
    position: fixed;
    top: 0; left: 0;
    width: 22px; height: 22px;
    border: 1px solid var(--fg);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.15s ease, height 0.15s ease, background 0.15s ease;
    display: none;
  }
  .crosshair::before, .crosshair::after {
    content: ""; position: absolute; background: var(--fg);
  }
  .crosshair::before { top: 50%; left: -6px; right: -6px; height: 1px; }
  .crosshair::after { left: 50%; top: -6px; bottom: -6px; width: 1px; }
  [data-cursor="cross"] .crosshair { display: block; }
  .crosshair.hot { width: 44px; height: 44px; background: rgba(255,255,255,0.06); }
}

/* ---- Top 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: #fff;
}
.nav-logo {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.nav-logo em { font-style: normal; opacity: 0.55; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links a { position: relative; padding: 4px 0; }
.nav-links > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-links > a:hover::after { width: 100%; }
.nav-mobile-toggle { display: none; }

.nav-divider {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: currentColor;
  opacity: 0.35;
  align-self: center;
}
.nav-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  opacity: 0.75;
  transition: opacity 0.25s ease, transform 0.25s ease;
  padding: 4px;
}
.social-link:hover { opacity: 1; transform: translateY(-1px); }
.social-link svg { display: block; }
.social-link-word {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 4px 0;
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    gap: 28px;
    mix-blend-mode: normal;
  }
  .nav-links.open .nav-divider { width: 40px; height: 1px; }
  .nav-links.open .nav-socials { gap: 24px; }
  .nav-links.open .social-link svg { width: 20px; height: 20px; }
  .nav-links.open .social-link-word { font-size: 14px; }
  .nav-mobile-toggle {
    display: block;
    font-family: var(--label);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    z-index: 101;
  }
}

/* ---- Section chrome ---- */
section {
  position: relative;
  padding: clamp(80px, 12vh, 160px) var(--pad-x);
  border-top: 1px solid var(--rule);
}
section:first-of-type { border-top: none; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 8vh, 88px);
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.section-head .idx { color: var(--accent); }
.section-head .label { color: var(--fg); }
.section-head .meta { color: var(--fg-mute); }

.eyebrow {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-block;
  margin-bottom: 18px;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 0.95; letter-spacing: var(--display-letter, -0.02em); }

.display-3 { font-size: clamp(36px, 5vw, 76px); line-height: 1.02; }

.lede { font-family: var(--display); font-size: clamp(22px, 2.2vw, 34px); line-height: 1.25; color: var(--fg); max-width: 30ch; }

.body-lg { font-size: 17px; line-height: 1.55; color: var(--fg); max-width: 60ch; }

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--rd, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-clip {
  overflow: hidden;
  display: inline-block;
}
.reveal-clip > * {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--rd, 0ms);
}
.reveal-clip.in > * { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-clip > * { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---- Buttons / CTA ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--rule-strong);
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: transparent; color: var(--accent); }

/* ---- Section-order fixed index rail ---- */
.section-rail {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
  mix-blend-mode: difference;
}
.section-rail a { display: flex; align-items: center; gap: 8px; transition: color 0.3s ease; }
.section-rail a::before { content: ""; display: block; width: 10px; height: 1px; background: currentColor; transition: width 0.3s ease; }
.section-rail a.active { color: #fff; }
.section-rail a.active::before { width: 24px; background: var(--accent); }
.section-rail a span { opacity: 0; transition: opacity 0.3s ease; text-transform: uppercase; }
.section-rail a:hover span, .section-rail a.active span { opacity: 1; }
@media (max-width: 900px) { .section-rail { display: none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  padding: 0;
  border: none;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad-x) 48px;
  display: grid;
  grid-template-rows: 1fr auto;
  color: #fff;
}
.hero-name {
  align-self: end;
  font-family: var(--display);
  font-size: clamp(64px, 15vw, 240px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  padding-bottom: 20px;
  text-wrap: balance;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-meta .roles { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-meta .roles span:not(:last-child)::after { content: "·"; margin-left: 20px; opacity: 0.5; }
.hero-meta .loc { text-align: center; opacity: 0.7; }
.hero-meta .right { text-align: right; opacity: 0.7; }

@media (max-width: 720px) {
  .hero-meta { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .hero-meta .loc, .hero-meta .right { text-align: left; }
}

.hero-scroll {
  position: absolute;
  right: var(--pad-x);
  top: 50%;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  z-index: 3;
}
@media (max-width: 720px) { .hero-scroll { display: none; } }

.hero-sound {
  position: absolute;
  top: 88px;
  right: var(--pad-x);
  z-index: 4;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.hero-sound .bars { display: flex; gap: 2px; align-items: end; height: 12px; }
.hero-sound .bars span {
  display: block; width: 2px; background: currentColor; border-radius: 1px;
  height: 30%;
  animation: bar 1.2s ease-in-out infinite;
}
.hero-sound .bars span:nth-child(2) { animation-delay: 0.2s; }
.hero-sound .bars span:nth-child(3) { animation-delay: 0.4s; }
.hero-sound .bars span:nth-child(4) { animation-delay: 0.6s; }
[data-sound="off"] .hero-sound .bars span { animation-play-state: paused; height: 30%; }
@keyframes bar { 0%,100% { height: 30%; } 50% { height: 100%; } }

/* =========================================================
   ABOUT
   ========================================================= */
.about-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.about-portrait { aspect-ratio: 3 / 4; overflow: hidden; background: #101012; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-text .lede { margin-bottom: 40px; }
.about-text p { color: var(--fg-dim); max-width: 52ch; }
.about-roles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.about-role {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.about-role strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 28px);
  letter-spacing: -0.01em;
  color: var(--fg);
  text-transform: none;
  margin-top: 8px;
  font-weight: 400;
}
@media (max-width: 880px) { .about-body { grid-template-columns: 1fr; } }

/* =========================================================
   ACTING
   ========================================================= */
.acting-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
@media (max-width: 880px) { .acting-hero { grid-template-columns: 1fr; } }

.reel {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #17171a;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.reel::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,0.03) 12px 13px);
  z-index: 1;
}
.reel:hover { transform: scale(0.99); }
.reel.is-playing { cursor: default; }
.reel.is-playing:hover { transform: none; }
.reel .play {
  position: relative;
  z-index: 2;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: transform 0.4s ease;
}
.reel:hover .play { transform: scale(1.1); }
.reel .play::after {
  content: "";
  position: absolute; inset: -12px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.5;
}
.reel-label {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7); text-transform: uppercase;
}
.reel-label::before { content: "\25CF "; color: var(--accent); }
.reel-duration {
  position: absolute; bottom: 20px; right: 20px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
}

.reel-wrap { display: flex; flex-direction: column; }
.reel-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.reel-menu-item {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
  background: transparent;
  border: 1px solid var(--rule);
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.reel-menu-item:hover { color: var(--fg); border-color: var(--rule-strong); }
.reel-menu-item.active {
  color: var(--bg);
  background: var(--fg);
  border-color: var(--fg);
}

.credits { width: 100%; border-collapse: collapse; font-size: 15px; }
.credits thead th {
  text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--rule-strong);
  font-family: var(--label); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fg-dim); font-weight: 400;
}
.credits tbody tr { transition: background 0.25s ease; }
.credits tbody tr:hover { background: rgba(255,255,255,0.03); }
.credits tbody td { padding: 22px 12px; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.credits .project { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.01em; }
.credits .role { color: var(--fg-dim); font-style: italic; }
.credits .director { color: var(--fg-dim); }
.credits .year { color: var(--fg-mute); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; }
.credits .type-tag {
  display: inline-block; padding: 3px 8px; font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--fg-dim);
  border: 1px solid var(--rule); margin-left: 8px; vertical-align: middle;
}
@media (max-width: 720px) {
  .credits thead .hide-sm, .credits tbody .hide-sm { display: none; }
  .credits tbody td { padding: 16px 8px; }
}

/* Acting portfolio — horizontal filmstrip (fixed height, scrolls) */
.acting-gallery { margin-top: 80px; }
.acting-gallery-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--rule);
}
.acting-gallery-nav { display: flex; gap: 8px; flex-shrink: 0; }
.acting-gallery-nav button {
  width: 40px; height: 40px; border: 1px solid var(--rule-strong); color: var(--fg);
  font-family: var(--label); font-size: 14px; display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}
.acting-gallery-nav button:hover:not(:disabled) { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.acting-gallery-nav button:disabled { opacity: 0.25; cursor: default; }

.acting-gallery-rail {
  --strip-h: clamp(340px, 44vh, 520px);
  position: relative;
  display: flex; gap: 14px;
  height: var(--strip-h);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--rule-strong) transparent;
  padding-bottom: 10px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 60px), transparent 100%);
}
.acting-gallery-rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.acting-gallery-rail::-webkit-scrollbar { height: 4px; }
.acting-gallery-rail::-webkit-scrollbar-track { background: transparent; }
.acting-gallery-rail::-webkit-scrollbar-thumb { background: var(--rule-strong); border-radius: 2px; }

.acting-gallery-item {
  position: relative; flex: 0 0 auto;
  height: calc(var(--strip-h) - 40px);
  aspect-ratio: var(--ar, 3 / 4);
  margin: 0;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 10px;
}
.acting-gallery-item .frame { width: 100%; flex: 1; min-height: 0; overflow: hidden; background: #17171a; cursor: zoom-in; }
.acting-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.4s ease; }
.acting-gallery-item .frame:hover img { filter: brightness(1.12); }
.acting-gallery-item figcaption {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-family: var(--label); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; flex-shrink: 0;
}
.acting-gallery-item figcaption .k { color: var(--accent); flex-shrink: 0; }
.acting-gallery-item figcaption .l {
  color: var(--fg-dim); text-align: right; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.acting-gallery-endcap {
  flex: 0 0 auto; width: 60px; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--fg-mute);
  text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg);
}

@media (max-width: 720px) {
  .acting-gallery-rail { --strip-h: 380px; }
  .acting-gallery-nav { display: none; }
}

.reps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--rule); }
.rep-card .lbl { font-family: var(--label); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 10px; }
.rep-card .name { font-family: var(--display); font-size: clamp(20px, 1.8vw, 26px); margin-bottom: 4px; }
.rep-card .co { color: var(--fg-dim); font-size: 14px; margin-bottom: 6px; }
.rep-card a { color: var(--fg-dim); font-size: 13px; border-bottom: 1px solid var(--rule); }
.rep-card a:hover { color: var(--fg); border-color: var(--fg); }
@media (max-width: 720px) { .reps { grid-template-columns: 1fr; gap: 24px; } }

/* =========================================================
   SKELETON KEY PICTURES
   ========================================================= */
.skp { background: var(--bg-elev); border-top: 1px solid var(--rule-strong); }
.skp-mark { display: flex; align-items: center; gap: 20px; font-family: var(--display); font-size: clamp(28px, 4vw, 56px); margin-bottom: 40px; }
.skp-mark .key { width: 42px; height: 42px; border: 1.5px solid var(--fg); border-radius: 50%; position: relative; flex-shrink: 0; }
.skp-mark .key::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 24px; background: var(--fg); transform: translateX(-50%); }
.skp-mark .key::before { content: ""; position: absolute; left: 50%; top: calc(100% + 8px); width: 8px; height: 2px; background: var(--fg); transform: translateX(-4px); }

.skp-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-bottom: 100px; }
@media (max-width: 880px) { .skp-hero { grid-template-columns: 1fr; gap: 40px; } }
.skp-manifesto p { font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; color: var(--fg); margin: 0 0 24px; }
.skp-manifesto p em { color: var(--accent); font-style: italic; }
.skp-manifesto .sub { font-size: 15px; font-family: var(--body); color: var(--fg-dim); line-height: 1.6; max-width: 50ch; font-style: normal; }

.slate { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--rule); border: 1px solid var(--rule); }
.slate-item {
  background: var(--bg-elev); padding: 32px; min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; cursor: pointer; transition: background 0.3s ease; overflow: hidden;
}
.slate-item:hover { background: var(--bg); }
.slate-item .status { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--fg-dim); display: flex; align-items: center; gap: 6px; }
.slate-item .status .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.slate-item .status.dev .dot { background: #d4a83a; }
.slate-item .status.released .dot { background: #4a9e6e; }
.slate-item .title { font-family: var(--display); font-size: clamp(28px, 3vw, 44px); line-height: 1; margin: 40px 0 16px; letter-spacing: -0.015em; }
.slate-item .meta { font-family: var(--label); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim); }
.slate-item .arrow {
  position: absolute; top: 32px; right: 32px; width: 20px; height: 20px;
  border: 1px solid var(--rule-strong); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.slate-item:hover .arrow { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); }
@media (max-width: 720px) { .slate { grid-template-columns: 1fr; } }

.press-strip { margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--rule); }
.press-strip .lbl { font-family: var(--label); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 32px; }
.press-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.press-item .fest { font-family: var(--display); font-size: clamp(18px, 1.6vw, 24px); margin-bottom: 4px; }
.press-item .note { font-family: var(--mono); font-size: 11px; color: var(--fg-mute); letter-spacing: 0.08em; }
@media (max-width: 720px) { .press-list { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

/* =========================================================
   PHOTOGRAPHY
   ========================================================= */
.photo-series { margin-bottom: 120px; }
.photo-series:last-child { margin-bottom: 0; }
.series-head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: baseline;
  margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--rule);
}
.series-head .num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.series-head .title { font-family: var(--display); font-size: clamp(28px, 3.5vw, 52px); letter-spacing: -0.015em; }
.series-head .meta { font-family: var(--label); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-dim); }
.series-grid { display: grid; gap: 12px; }
.series-grid.layout-a { grid-template-columns: repeat(3, 1fr); }
.series-grid.layout-a > * { aspect-ratio: 3/4; }

.series-grid.layout-b { grid-template-columns: repeat(3, 1fr); }
.series-grid.layout-b > * { aspect-ratio: 3/4; }

.series-grid.layout-c { grid-template-columns: repeat(3, 1fr); }
.series-grid.layout-c > * { aspect-ratio: 3/4; }

.series-grid .frame { width: 100%; height: 100%; overflow: hidden; background: #17171a; cursor: zoom-in; }
.series-grid img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.4s ease; }
.series-grid .frame:hover img { filter: brightness(1.1); }

@media (max-width: 720px) {
  .series-grid { grid-template-columns: 1fr !important; grid-template-rows: none !important; }
  .series-grid > * { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4/3 !important; }
}

/* =========================================================
   GRAPHIC DESIGN
   ========================================================= */
.design { background: var(--bg-elev); }
.design-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .design-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .design-grid { grid-template-columns: 1fr; } }

.design-item { position: relative; cursor: pointer; }
.design-item .frame { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #101012; cursor: zoom-in; }
.design-item img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.4s ease; }
.design-item:hover img { filter: brightness(1.15); }
.design-item .caption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; gap: 12px; }
.design-item .caption .name { font-family: var(--display); font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.01em; }
.design-item .caption .tag { font-family: var(--mono); font-size: 10px; color: var(--fg-mute); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding-top: clamp(100px, 15vh, 200px); padding-bottom: clamp(60px, 10vh, 120px); }
.contact-head { font-family: var(--display); font-size: clamp(64px, 12vw, 180px); line-height: 0.92; letter-spacing: -0.02em; margin-bottom: 60px; text-wrap: balance; }
.contact-head em { font-style: italic; color: var(--accent); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--rule); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.contact-card { background: var(--bg); padding: 40px 28px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; transition: background 0.3s ease; cursor: pointer; }
.contact-card:hover { background: var(--bg-elev); }
.contact-card .lbl { font-family: var(--label); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-dim); }
.contact-card .kind { font-family: var(--display); font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -0.015em; margin: 24px 0 12px; }
.contact-card .desc { font-size: 13px; color: var(--fg-dim); line-height: 1.5; max-width: 24ch; }
.contact-card .email { font-family: var(--mono); font-size: 12px; color: var(--fg); letter-spacing: 0.02em; border-bottom: 1px solid var(--rule); padding-bottom: 4px; margin-top: 16px; transition: border-color 0.3s ease, color 0.3s ease; align-self: start; }
.contact-card:hover .email { color: var(--accent); border-color: var(--accent); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- Footer ---- */
.footer {
  padding: 60px var(--pad-x); border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px;
  font-family: var(--label); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-dim); align-items: center;
}
.footer .center { text-align: center; font-family: var(--display); font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--fg); }
.footer .socials { display: flex; gap: 20px; justify-content: flex-end; }
.footer a:hover { color: var(--fg); }
@media (max-width: 720px) {
  .footer { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer .socials { justify-content: center; }
}

::selection { background: var(--accent); color: #fff; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(6, 6, 7, 0.92);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  grid-template-rows: 1fr auto;
  align-items: center; padding: 40px; gap: 24px;
  animation: lb-fade 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  color: #fff; cursor: zoom-out;
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

.lb-close {
  position: fixed; top: 28px; right: 32px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--label); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7); transition: color 0.25s ease; cursor: pointer;
}
.lb-close:hover { color: #fff; }
.lb-close .x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%;
  font-size: 20px; line-height: 1; padding-bottom: 2px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.lb-close:hover .x { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.lb-counter {
  position: fixed; top: 32px; left: 32px; z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; color: rgba(255, 255, 255, 0.6);
  display: flex; align-items: baseline; gap: 4px;
}
.lb-counter .cur { color: var(--accent); font-size: 14px; }
.lb-counter .sep { opacity: 0.4; }
.lb-counter .tot { color: rgba(255, 255, 255, 0.6); }

.lb-stage {
  grid-column: 2; grid-row: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px; min-height: 0; min-width: 0; margin: 0; cursor: default;
}
.lb-stage img {
  max-width: 100%; max-height: calc(100vh - 200px); width: auto; height: auto;
  object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: lb-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes lb-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }
.lb-stage figcaption {
  display: flex; align-items: baseline; justify-content: center; gap: 20px;
  font-family: var(--label); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65); text-align: center; max-width: 700px;
}
.lb-stage figcaption .k { color: var(--accent); }
.lb-stage figcaption .l::before { content: "\00b7"; margin-right: 20px; color: rgba(255, 255, 255, 0.3); }

.lb-nav {
  grid-row: 1; z-index: 2; width: 56px; height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; color: #fff;
  font-size: 20px; font-family: var(--label);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  justify-self: center; cursor: pointer;
}
.lb-nav:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); border-color: #fff; transform: scale(1.05); }
.lb-nav:disabled { opacity: 0.2; cursor: default; }
.lb-prev { grid-column: 1; }
.lb-next { grid-column: 3; }

@media (max-width: 720px) {
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto auto; padding: 20px; gap: 16px; }
  .lb-stage { grid-column: 1; }
  .lb-stage img { max-height: calc(100vh - 220px); }
  .lb-nav { grid-row: 3; width: 48px; height: 48px; }
  .lb-prev { grid-column: 1; justify-self: start; margin-left: 20px; }
  .lb-next { grid-column: 1; justify-self: end; margin-right: 20px; margin-top: -48px; }
  .lb-close { top: 16px; right: 16px; }
  .lb-counter { top: 20px; left: 16px; }
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 10px 16px; z-index: 10001;
  font-family: var(--label); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }
