/* ════════════════════════════════════════════════════════
   PARIN HEIDARI — site styles
   Dark · cinematic · editorial
════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap');

:root {
  --black: #0a0a09;
  --black-2: #100f0d;
  --white: #f5f2ec;
  --off: #f0ece4;
  --dim: #8a8780;
  --dim-2: #6b6962;
  --accent: #a8c8ec;
  --accent-soft: rgba(168, 200, 236, 0.12);
  --accent-line: rgba(168, 200, 236, 0.34);
  --line: rgba(138, 135, 128, 0.18);
  --line-strong: rgba(138, 135, 128, 0.34);

  --mono: 'DM Mono', ui-monospace, monospace;
  --serif: 'Bodoni 72', 'Bodoni Moda', Didot, 'Times New Roman', serif;
  --sans: 'Neue Montreal', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --pad-side: clamp(24px, 5vw, 72px);
  --max: 1280px;
  --nav-h: 72px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── grain / vignette overlay ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, transparent 55%, rgba(0,0,0,0.45) 100%);
  mix-blend-mode: multiply;
}

/* ════════════════════════════════════════════════════════
   TYPOGRAPHY HELPERS
════════════════════════════════════════════════════════ */
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--white);
}
.eyebrow.dim { color: var(--dim); }

.serif { font-family: var(--serif); font-weight: 400; }
.italic-accent { font-style: italic; color: var(--accent); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--accent);
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.section-title em { font-style: normal; color: var(--accent); }

.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: rgba(245, 242, 236, 0.9);
}
.lede em { font-style: italic; color: var(--accent); }

.body-text {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245, 242, 236, 0.78);
  font-weight: 300;
}

/* ════════════════════════════════════════════════════════
   LAYOUT
════════════════════════════════════════════════════════ */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad-side); padding-right: var(--pad-side); }

section { position: relative; z-index: 2; }

.section {
  padding-top: clamp(72px, 11vw, 150px);
  padding-bottom: clamp(72px, 11vw, 150px);
  border-top: 1px solid var(--line);
}
.section.tight { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }

.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .eyebrow { margin-bottom: 0; }

/* off-white contrast panel */
.panel-light {
  background: var(--off);
  color: var(--black);
}
.panel-light .body-text { color: rgba(10,10,9,0.74); }
.panel-light .eyebrow { color: rgba(10,10,9,0.62); }
.panel-light .section-title { color: #3c6093; }
.panel-light .section-title em { color: #3c6093; }

/* ════════════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 var(--pad-side);
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 9, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--white);
  white-space: nowrap;
  z-index: 2;
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
.nav-link {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--accent); }
.nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.cta {
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 8px 18px;
  color: var(--white);
  white-space: nowrap;
}
.nav-link.cta::after { display: none; }
.nav-link.cta:hover { border-color: var(--accent); color: var(--accent); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  height: 1px;
  width: 26px;
  background: var(--white);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), width 0.3s var(--ease);
}
.nav-toggle span:nth-child(2) { width: 18px; }

/* mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad-side);
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.nav-overlay.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-overlay a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 9vw, 56px);
  letter-spacing: -0.02em;
  color: var(--white);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.nav-overlay a:hover { color: var(--accent); padding-left: 12px; }
.nav-overlay .ov-meta {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--dim);
}

body.menu-open { overflow: hidden; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); width: 26px; }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); width: 26px; }

/* ════════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--white);
  cursor: pointer;
  background: none;
  white-space: nowrap;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease), gap 0.35s var(--ease);
}
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn:hover .arr { transform: translateX(4px); }
.btn.primary {
  border-color: var(--accent-line);
  color: var(--accent);
  background: var(--accent-soft);
}
.btn.primary:hover { background: rgba(168,200,236,0.2); }
.panel-light .btn { border-color: rgba(10,10,9,0.2); color: var(--black); }
.panel-light .btn:hover { border-color: #3c6093; color: #3c6093; }

/* text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow:hover { color: var(--accent); gap: 12px; }

/* ════════════════════════════════════════════════════════
   PLACEHOLDER MEDIA SLOTS
════════════════════════════════════════════════════════ */
.media {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(168,200,236,0.05) 0 1px, transparent 1px 11px),
    linear-gradient(160deg, rgba(168,200,236,0.06), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.media::before {
  content: attr(data-label);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(138,135,128,0.55);
  text-align: center;
  padding: 12px;
}
.media .corner {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--accent);
  opacity: 0.7;
}

/* ════════════════════════════════════════════════════════
   PROJECT CARDS
════════════════════════════════════════════════════════ */
.card-link { display: block; }
.proj-card { position: relative; }
.proj-card .card-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 18px;
}
.proj-card .card-thumb .media {
  width: 100%; height: 100%;
  transition: transform 0.7s var(--ease-out);
}
.proj-card:hover .card-thumb .media { transform: scale(1.045); }
.proj-card .card-cat {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.proj-card .card-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease);
}
.proj-card:hover .card-title { color: var(--accent); }
.proj-card .card-year {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  margin-top: 6px;
}

/* ════════════════════════════════════════════════════════
   VIDEO CARDS
════════════════════════════════════════════════════════ */
.vid-card { display: block; }
.vid-card .vid-thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}
.vid-card .vid-thumb .media { width: 100%; height: 100%; transition: transform 0.7s var(--ease-out); }
.vid-card:hover .vid-thumb .media { transform: scale(1.04); }
.vid-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: rgba(10,10,9,0.4);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 2;
}
.vid-play::after {
  content: '';
  width: 0; height: 0;
  border-left: 11px solid var(--accent);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}
.vid-card:hover .vid-play { background: var(--accent); transform: translate(-50%,-50%) scale(1.06); }
.vid-card:hover .vid-play::after { border-left-color: var(--black); }
.vid-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.vid-title { font-size: 15px; color: var(--white); margin-top: 5px; font-weight: 300; }

/* ════════════════════════════════════════════════════════
   VIDEO LIGHTBOX (click any .vid-media to enlarge)
════════════════════════════════════════════════════════ */
.vid-media { cursor: pointer; }
.vidcard, .vidcard video, .card-link, a[href] { cursor: pointer; }
.vid-expand { cursor: pointer; }
.vid-thumb { position: relative; }
.vid-expand {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  width: 38px; height: 38px; border-radius: 50%; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,9,0.55); border: 1px solid rgba(245,242,236,0.28);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  cursor: pointer; opacity: 1; transform: scale(1);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.vid-expand:hover { background: var(--accent); }
.vid-expand:hover svg { stroke: var(--black); }
.vid-expand svg { width: 16px; height: 16px; stroke: var(--white); fill: none; stroke-width: 1.6; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(6, 6, 5, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-inner {
  position: relative;
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  width: 100%;
  transform: scale(0.96);
  transition: transform 0.4s var(--ease-out);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lightbox.open .lightbox-inner { transform: scale(1); }
.lightbox video, .lightbox-img {
  width: 100%; max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  background: #000;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  outline: 1px solid rgba(245,242,236,0.1);
}
.lightbox-cap {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--dim); text-align: center;
}
.lightbox-cap b { color: var(--accent); font-weight: 400; }
.lightbox-close {
  position: absolute; top: -8px; right: -8px;
  transform: translate(50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--black); border: 1px solid var(--line-strong);
  color: var(--white); font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); transform: translate(50%,-50%) rotate(90deg); }
@media (max-width: 600px) { .lightbox-close { top: -52px; right: 50%; transform: translate(50%,0); } .lightbox-close:hover { transform: translate(50%,0) rotate(90deg); } }
body.lightbox-open { overflow: hidden; }

/* ════════════════════════════════════════════════════════
   PILLS / FILTERS
════════════════════════════════════════════════════════ */
.pill {
  display: inline-block;
  padding: 6px 15px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.pill.gold { border-color: var(--accent-line); color: var(--accent); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  cursor: pointer;
  background: none;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.filter:hover { color: var(--white); border-color: var(--line-strong); }
.filter.active { color: var(--black); background: var(--accent); border-color: var(--accent); }

/* ════════════════════════════════════════════════════════
   TIMELINE / LISTS
════════════════════════════════════════════════════════ */
.timeline { border-top: 1px solid var(--line); }
.tl-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left 0.4s var(--ease), background 0.4s var(--ease);
}
.tl-item:hover { padding-left: 14px; }
.tl-year { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.tl-name { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 27px); font-weight: 300; line-height: 1.15; }
.tl-venue { font-size: 13px; color: var(--dim); margin-top: 5px; }
.tl-tags { display: flex; gap: 8px; justify-self: end; }

/* press list */
.press-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left 0.4s var(--ease);
}
.press-item:first-child { border-top: 1px solid var(--line); }
.press-item:hover { padding-left: 14px; }
.press-pub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.press-title { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); font-weight: 300; line-height: 1.2; }
.press-title em { font-style: italic; }
.press-year { font-family: var(--mono); font-size: 11px; color: var(--dim); }

/* ════════════════════════════════════════════════════════
   CONTACT CARDS
════════════════════════════════════════════════════════ */
.contact-card {
  padding: 36px;
  border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}
.contact-card:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.contact-glyph { font-size: 24px; color: var(--accent); opacity: 0.8; }
.contact-type { font-family: var(--serif); font-size: 26px; font-weight: 300; }
.contact-desc { font-size: 14px; color: var(--dim); line-height: 1.7; }
.contact-card .link-arrow { margin-top: auto; }

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(60px, 9vw, 110px) var(--pad-side) 48px;
  position: relative;
  z-index: 2;
}
.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-name { font-family: var(--serif); font-size: clamp(34px, 5vw, 60px); font-weight: 400; line-height: 0.98; letter-spacing: -0.02em; }
.footer-name em { font-style: italic; color: var(--accent); }
.footer-col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); font-weight: 400; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; color: rgba(245,242,236,0.7); padding: 5px 0; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--dim);
}

/* ════════════════════════════════════════════════════════
   PAGE HEADER (inner pages)
════════════════════════════════════════════════════════ */
.page-head {
  padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 120px));
  padding-bottom: clamp(40px, 6vw, 72px);
}
.page-head .eyebrow { margin-bottom: 22px; }
.page-head h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 400; font-style: normal; color: var(--white); line-height: 1.0; letter-spacing: -0.02em; }
.page-head h1 em { font-style: normal; color: var(--white); }
.page-head .page-sub { margin-top: 28px; max-width: 560px; }

/* ════════════════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
  .reveal-stagger.in > * { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════
   MOTION / ATMOSPHERE TWEAK OVERRIDES
════════════════════════════════════════════════════════ */
html[data-grain="off"] body::after { display: none; }
html[data-motion="off"] * { animation: none !important; }
html[data-motion="off"] .reveal,
html[data-motion="off"] .reveal-stagger,
html[data-motion="off"] .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ════════════════════════════════════════════════════════
   TWEAKS PANEL
════════════════════════════════════════════════════════ */
.tw-panel {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 200;
  width: 248px;
  background: rgba(16, 15, 13, 0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 16px 18px 20px;
  font-family: var(--mono);
  color: var(--white);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.tw-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.tw-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tw-head span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); }
.tw-close { background: none; border: none; color: var(--dim); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; transition: color 0.3s var(--ease); }
.tw-close:hover { color: var(--accent); }
.tw-sec { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin: 16px 0 9px; }
.tw-sec:first-of-type { margin-top: 4px; }
.tw-swatches { display: flex; gap: 9px; }
.tw-sw { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); cursor: pointer; padding: 0; position: relative; transition: transform 0.25s var(--ease); }
.tw-sw:hover { transform: scale(1.1); }
.tw-sw.on { box-shadow: 0 0 0 2px var(--black), 0 0 0 3px currentColor; }
.tw-sw.on::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(10,10,9,0.5); }
.tw-seg { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.tw-seg button { flex: 1; background: none; border: none; border-right: 1px solid var(--line); color: var(--dim); font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; padding: 9px 6px; cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.tw-seg button:last-child { border-right: none; }
.tw-seg button:hover { color: var(--white); }
.tw-seg button.on { background: var(--accent); color: var(--black); }

/* ════════════════════════════════════════════════════════
   GRID HELPERS
════════════════════════════════════════════════════════ */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-name { grid-column: 1 / -1; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .tl-item { grid-template-columns: 64px 1fr; }
  .tl-tags { grid-column: 2; justify-self: start; margin-top: 8px; }
  .press-item { grid-template-columns: 1fr auto; }
  .press-pub { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
