/*
Theme Name: Răzvan Ioan Dincă
Theme URI: https://razvanioandinca.ro
Description: Temă personală pentru regizorul și directorul de creație Răzvan Ioan Dincă. Conține tot conținutul site-ului (producții, mandate, apariții, pagini, imagini) — se instalează complet la activare, fără plugin separat.
Author: Globals Agency
Version: 3.1.0
Requires at least: 6.4
Requires PHP: 8.1
License: Private
Text Domain: razvan-dinca
*/

/* ================================================================
   TOKENS — Opera Nocturnă
   ================================================================ */
:root {
  /* Palette — catifea de cortină, fildeș, alamă */
  --white:        #FDFBF7;
  --off:          #F3EFE6;
  --ink:          #0C0B09;
  --ink-2:        #161411;
  --ink-3:        #201D18;
  --red:          #AF1E23;
  --red-dark:     #7A1418;
  --red-pale:     #F6EAE8;
  --gold:         #B8953D;
  --gold-light:   #D4B45A;
  --warm:         #7D7063;
  --warm-light:   #A89A8C;
  --line:         rgba(12,11,9,0.08);
  --line-strong:  rgba(12,11,9,0.14);
  --line-w:       rgba(253,251,247,0.08);
  --line-w-strong:rgba(253,251,247,0.14);

  /* Type */
  --serif:  'Montserrat', 'Georgia', serif;
  --sans:   'Montserrat', -apple-system, system-ui, sans-serif;
  --mono:   'DM Mono', 'Courier New', monospace;

  /* Layout */
  --max:    1400px;
  --gx:     clamp(24px, 5vw, 72px);
  --r:      2px;

  /* Motion */
  --snap:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--red); color: var(--white); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
em { font-style: normal; }
strong { font-weight: 600; }

/* Subtle grain texture on dark backgrounds */
[class*="site-nav--on-dark"],
.hero,
.featured,
.mandates,
.site-footer,
.pullquote,
.pg-404 {
  position: relative;
}
.featured::after,
.mandates::after,
.site-footer::after,
.pullquote::after,
.pg-404::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ================================================================
   UTILITIES
   ================================================================ */
.u-red  { color: var(--red); }
.u-warm { color: var(--warm); }

.label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 0.5px;
  background: var(--warm-light);
  opacity: 0.5;
}
.label--w { color: var(--warm-light); }
.label--w::after { background: var(--warm-light); opacity: 0.3; }
.label--r { color: var(--red); }
.label--r::after { background: var(--red); opacity: 0.35; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--snap), transform 0.8s var(--snap);
}
.reveal.in { opacity: 1; transform: none; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: all 0.3s var(--snap);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.3s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 1px 3px rgba(175,30,35,0.25);
}
.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 4px 12px rgba(175,30,35,0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.btn--ghost-w {
  background: transparent;
  color: var(--white);
  border-color: rgba(253,251,247,0.2);
}
.btn--ghost-w:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn--sm { padding: 10px 18px; font-size: 11px; }

.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ================================================================
   NAV — elegant, aproape transparent
   ================================================================ */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gx);
  transition: all 0.45s var(--snap);
}
.site-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  border-bottom: 0.5px solid transparent;
  pointer-events: none;
  transition: all 0.45s var(--snap);
}
.site-nav.scrolled::after {
  border-color: var(--line);
  background: rgba(253,251,247,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-nav--on-dark .nav-brand,
.site-nav--on-dark .nav-links a { color: var(--white); }
.site-nav--on-dark:not(.scrolled) .nav-links a { color: rgba(253,251,247,0.72); }
.site-nav--on-dark:not(.scrolled) .nav-links a:hover { color: var(--white); }
.site-nav--on-dark.scrolled .nav-brand { color: var(--ink); }
.site-nav--on-dark.scrolled .nav-links a { color: var(--ink); }
.site-nav--on-dark:not(.scrolled) .nav-hamburger span { background: var(--white); }

.nav-brand {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  transition: color 0.4s;
}
.nav-brand span {
  color: var(--red);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative;
  z-index: 1;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 7px 14px;
  border-radius: var(--r);
  transition: all 0.25s;
}
.nav-links a:hover { background: rgba(12,11,9,0.05); }
.nav-links a.active {
  color: var(--red);
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--red);
  opacity: 0.5;
}
.nav-links .nav-cta { margin-left: 10px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  position: relative;
  z-index: 1;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

/* ================================================================
   HERO — cinematografic, cortina roșie
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: calc(100svh - 16px);
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  margin: 8px;
  border-radius: 24px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: brightness(0.48) saturate(0.8) contrast(1.08);
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 35% 45%, transparent 30%, rgba(12,11,9,0.5) 100%),
    linear-gradient(0deg, rgba(12,11,9,0.85) 0%, rgba(12,11,9,0.3) 40%, rgba(12,11,9,0.1) 70%);
}
/* Linie roșie verticală subtilă — cortină */
.hero-media::before {
  content: '';
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(175,30,35,0.5) 15%,
    rgba(175,30,35,0.15) 60%,
    transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px var(--gx) 56px;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  gap: 32px;
}
.hero-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 0.5px;
  background: var(--gold);
  opacity: 0.7;
}
.hero-name {
  font-family: var(--serif);
  font-size: clamp(56px, 10vw, 140px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 960px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.hero-name em {
  color: var(--red);
}
.hero-roles-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.hero-roles-row .role-item {
  font-size: 13px;
  color: rgba(253,251,247,0.6);
  letter-spacing: 0.05em;
  padding: 0 16px;
  border-right: 0.5px solid rgba(253,251,247,0.15);
}
.hero-roles-row .role-item:first-child { padding-left: 0; }
.hero-roles-row .role-item:last-child { border-right: none; }

.hero-bottom-bar {
  position: relative;
  z-index: 2;
  border-top: 0.5px solid rgba(253,251,247,0.08);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px var(--gx);
  gap: 24px;
  max-width: 100%;
}
.hero-bottom-bar .hb-left {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-bottom-bar .hb-center {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(253,251,247,0.25);
  text-align: center;
}
.hero-bottom-bar .hb-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}
.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
}
.hero-scroll-hint .scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--red) 0%, transparent 100%);
  animation: scrollPulse 2.2s ease infinite;
}

/* ================================================================
   SECTION HEADERS — rafinate
   ================================================================ */
.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid var(--line);
  gap: 32px;
}
.sec-title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.sec-title em { color: var(--red); }
.sec-title--w { color: var(--white); }
.sec-title--w em { color: var(--gold-light); }
.sec-sub {
  font-size: 14px;
  color: var(--warm);
  line-height: 1.55;
  max-width: 360px;
  text-align: right;
}

/* ================================================================
   MANIFEST / INTRO — ca o pagină de program de sală
   ================================================================ */
.intro {
  padding: 96px var(--gx) 96px;
  background: var(--white);
}
.intro-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 72px;
  align-items: start;
}
.intro-aside { padding-top: 8px; }
.intro-aside .label { margin-bottom: 16px; }
.intro-aside .aside-num {
  font-family: var(--serif);
  font-size: 96px;
  font-weight: 400;
  line-height: 0.85;
  color: var(--off);
  letter-spacing: -0.05em;
  margin-top: 12px;
  user-select: none;
}
.intro-body {
  border-left: 2px solid var(--red);
  padding-left: 36px;
}
.intro-body p {
  font-family: var(--serif);
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.intro-body em { color: var(--red); }

/* ================================================================
   NIBIRU / FEATURED — dramatic, monumental
   ================================================================ */
.featured {
  background: var(--ink-2);
  color: var(--white);
  padding: 96px var(--gx) 96px;
  position: relative;
  overflow: hidden;
}
.featured::before {
  content: 'NIBIRU';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--serif);
  font-size: 200px;
  font-weight: 400;
  color: rgba(253,251,247,0.015);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.featured-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.featured-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(175,30,35,0.15);
  border: 0.5px solid rgba(175,30,35,0.3);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.featured-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.featured-title {
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.featured-title em { color: var(--gold-light); }
.featured-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(253,251,247,0.6);
  margin-bottom: 32px;
  max-width: 480px;
}
.featured-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-top: 24px;
  border-top: 0.5px solid var(--line-w);
}
.stat-pair { display: flex; flex-direction: column; gap: 4px; }
.stat-pair .sk {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253,251,247,0.3);
}
.stat-pair .sv {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* Video player */
.video-player {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ink-3);
  border: 0.5px solid var(--line-w);
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.4s;
}
.video-player:hover { border-color: rgba(175,30,35,0.5); }
.video-player .vp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.85);
  transition: filter 0.6s;
}
.video-player:hover .vp-img { filter: brightness(0.4) saturate(0.8); }
.play-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(253,251,247,0.4);
  display: grid;
  place-items: center;
  background: rgba(12,11,9,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s var(--spring);
}
.video-player:hover .play-ring {
  border-color: var(--red);
  background: rgba(175,30,35,0.2);
  transform: translate(-50%,-50%) scale(1.1);
}
.play-ring svg { width: 24px; height: 24px; fill: var(--white); margin-left: 3px; }
.vp-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 24px;
  background: linear-gradient(0deg, rgba(12,11,9,0.85) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vp-bar .vp-label {
  font-size: 12px;
  color: rgba(253,251,247,0.6);
}
.vp-bar .vp-time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  opacity: 0.6;
}

/* ================================================================
   PRODUCȚII — GRID cu aer de afiș de teatru
   ================================================================ */
.work {
  padding: 96px var(--gx) 96px;
  background: var(--white);
}
.work-inner { max-width: var(--max); margin: 0 auto; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

/* Card */
.project {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  text-decoration: none;
  color: var(--white);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink-3);
  transition: transform 0.5s var(--snap), box-shadow 0.5s var(--snap);
}
.project:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(12,11,9,0.2);
}
.project.span-6 { grid-column: span 6; }
.project.span-4 { grid-column: span 4; }
.project.span-3 { grid-column: span 3; }

.project-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--snap);
  filter: brightness(0.55) saturate(0.8) contrast(1.05);
}
.project:hover .project-thumb { transform: scale(1.05); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
    rgba(12,11,9,0.95) 0%,
    rgba(12,11,9,0.35) 45%,
    transparent 70%);
  transition: opacity 0.5s;
}
.project:hover .project-overlay { opacity: 0.95; }

/* Arrow — top-right */
.project-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0.5px solid rgba(253,251,247,0.2);
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--white);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s, transform 0.35s var(--spring);
  background: rgba(12,11,9,0.4);
  pointer-events: none;
}
.project:hover .project-arrow { opacity: 1; transform: scale(1); }

.project-body {
  position: relative;
  z-index: 2;
  padding: 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.project-year {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white);
  letter-spacing: 0.12em;
  position: relative;
  z-index: 2;
}
.project-title {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--white);
  position: relative;
  z-index: 2;
}
.project-role {
  font-size: 12px;
  color: rgba(253,251,247,0.72);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  z-index: 2;
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  margin-top: 8px;
  position: relative;
  z-index: 4;
}
.video-badge svg { width: 10px; height: 10px; fill: currentColor; }

/* No thumbnail fallback */
.project.no-thumb {
  background: var(--off);
  color: var(--ink);
  min-height: 260px;
  border: 0.5px solid var(--line);
}
.project.no-thumb .project-overlay { display: none; }
.project.no-thumb .project-year { color: var(--red); }
.project.no-thumb .project-title { color: var(--ink); }
.project.no-thumb .project-role { color: var(--warm); }
.project.no-thumb .video-badge { background: var(--red); color: var(--white); }
.project.no-thumb .project-arrow {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(253,251,247,0.8);
}
.project.no-thumb:hover {
  background: var(--ink-2);
  border-color: transparent;
}
.project.no-thumb:hover .project-title { color: var(--white); }
.project.no-thumb:hover .project-role { color: rgba(253,251,247,0.5); }
.project.no-thumb:hover .project-year { color: var(--gold-light); }
.project.no-thumb:hover .project-arrow { border-color: rgba(253,251,247,0.2); color: var(--white); opacity: 1; transform: scale(1); }

/* ================================================================
   MUSICALS — elegant, aerisit
   ================================================================ */
.musicals {
  padding: 96px var(--gx) 96px;
  background: var(--off);
}
.musicals-inner { max-width: var(--max); margin: 0 auto; }
.musicals-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start;
  margin-top: 48px;
}
.musicals-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 0.5px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.pillar {
  background: var(--off);
  padding: 28px 24px;
  transition: background 0.25s;
}
.pillar:hover { background: var(--white); }
.pillar-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.pillar-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.pillar-note {
  font-size: 13px;
  color: var(--warm);
  line-height: 1.55;
}
.musicals-right { display: flex; flex-direction: column; gap: 32px; }
.musicals-lede {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.musicals-lede em { color: var(--red); }
.shows-block { display: flex; flex-direction: column; gap: 14px; }
.shows-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm);
}
.shows-list { display: flex; flex-wrap: wrap; gap: 8px; }
.show-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  border: 0.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  transition: all 0.25s;
}
.show-pill:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.show-pill.featured-pill {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  font-weight: 600;
}
.show-pill.featured-pill:hover { background: var(--red-dark); border-color: var(--red-dark); }
.musicals-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 0.5px solid var(--line);
  gap: 24px;
}
.musicals-cta p {
  font-size: 14px;
  color: var(--warm);
  line-height: 1.55;
  max-width: 340px;
}

/* ================================================================
   MANDATE / PARCURS — timeline instituțional
   ================================================================ */
.mandates {
  padding: 96px var(--gx) 96px;
  background: var(--ink-2);
  color: var(--white);
}
.mandates-inner { max-width: var(--max); margin: 0 auto; }
.mandates-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: start;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}
.mandates-side { padding-top: 6px; }
.mandates-side .sec-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(253,251,247,0.45);
  margin-top: 20px;
}
.mandate-list { list-style: none; }
.mandate {
  display: grid;
  grid-template-columns: 160px 1fr 1fr;
  gap: 36px;
  padding: 28px 0;
  border-bottom: 0.5px solid var(--line-w);
  align-items: baseline;
  transition: padding-left 0.35s var(--snap);
}
.mandate:first-child { border-top: 0.5px solid var(--line-w); }
.mandate:hover { padding-left: 12px; }
.mandate-years {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}
.mandate-years em { font-style: normal; color: var(--red); }
.mandate-name {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.012em;
}
.mandate-role {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253,251,247,0.28);
  margin-bottom: 6px;
}
.mandate-note {
  font-size: 13px;
  color: rgba(253,251,247,0.38);
  line-height: 1.55;
}

/* ================================================================
   APARIȚII PRESĂ
   ================================================================ */
.news {
  padding: 96px var(--gx) 96px;
  background: var(--white);
}
.news-inner { max-width: var(--max); margin: 0 auto; }
.news-list { list-style: none; }
.news-item {
  display: grid;
  grid-template-columns: 80px 1fr 120px 28px;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: padding-left 0.3s var(--snap);
}
.news-item:first-child { border-top: 0.5px solid var(--line); }
.news-item:hover { padding-left: 14px; }
.news-date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--warm);
  letter-spacing: 0.05em;
}
.news-heading {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.012em;
  transition: color 0.25s;
}
.news-item:hover .news-heading { color: var(--red); }
.news-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm);
  text-align: right;
}
.news-arrow {
  font-size: 16px;
  color: var(--warm);
  text-align: right;
  transition: transform 0.35s var(--snap), color 0.25s;
}
.news-item:hover .news-arrow { transform: translateX(6px); color: var(--red); }

/* ================================================================
   PULLQUOTE
   ================================================================ */
.pullquote {
  padding: 96px var(--gx);
  background: var(--red);
  color: var(--white);
  text-align: center;
  position: relative;
}
.pullquote--light { background: var(--ink-2); }
.pullquote--off { background: var(--off); color: var(--ink); }
.pullquote-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.pullquote .pq-mark {
  font-family: var(--serif);
  font-size: 96px;
  line-height: 0.5;
  display: block;
  margin-bottom: 24px;
  opacity: 0.25;
}
.pullquote blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.pullquote--off blockquote em { color: var(--red); }
.pullquote blockquote em { color: rgba(253,251,247,0.7); }

/* ================================================================
   PAGE HEADER (pagini interioare)
   ================================================================ */
.page-hdr {
  padding: 120px var(--gx) 56px;
  background: var(--white);
  border-bottom: 0.5px solid var(--line);
}
.page-hdr--dark {
  background: var(--ink);
  color: var(--white);
  border-bottom: none;
}
.page-hdr-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
}
.page-hdr-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-hdr--dark .page-hdr-label { color: var(--warm-light); }
.page-hdr-label::before {
  content: '';
  width: 28px;
  height: 0.5px;
  background: var(--red);
  flex-shrink: 0;
}
.page-hdr-title {
  font-family: var(--serif);
  font-size: clamp(48px, 9vw, 110px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.page-hdr--dark .page-hdr-title { color: var(--white); }
.page-hdr-title em { color: var(--red); }
.page-hdr--dark .page-hdr-title em { color: var(--gold-light); }
.page-hdr-year {
  font-family: var(--serif);
  font-size: clamp(64px, 12vw, 140px);
  font-weight: 400;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0.5;
}
.page-hdr--dark .page-hdr-year { color: var(--gold-light); }

/* ================================================================
   META GRID (single production)
   ================================================================ */
.prod-meta {
  padding: 36px var(--gx);
  background: var(--white);
  border-bottom: 0.5px solid var(--line);
}
.prod-meta-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 36px 56px;
}
.meta-cell { display: flex; flex-direction: column; gap: 4px; }
.meta-k {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm);
}
.meta-v {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.012em;
}

/* ================================================================
   PRODUCTION CONTENT BODY
   ================================================================ */
.prod-body {
  padding: 72px var(--gx);
  background: var(--white);
}
.prod-body-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 72px;
  align-items: start;
}
.prod-text h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 40px 0 16px;
  letter-spacing: -0.015em;
}
.prod-text h3:first-child { margin-top: 0; }
.prod-text p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 18px;
}
.prod-text em { color: var(--red); }
.prod-credits {
  background: var(--off);
  border-radius: var(--r);
  padding: 28px;
  border: 0.5px solid var(--line);
}
.prod-credits .credits-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 20px;
}
.credits-list { list-style: none; }
.credits-list li {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--line);
  font-size: 13px;
  color: var(--warm);
  align-items: baseline;
}
.credits-list li:last-child { border-bottom: none; }
.credits-list li strong {
  font-weight: 500;
  color: var(--ink);
}

/* ================================================================
   GALLERY — mosaic teatral
   ================================================================ */
.gallery {
  padding: 72px var(--gx);
  background: var(--off);
}
.gallery-inner { max-width: var(--max); margin: 0 auto; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 3px;
  margin-top: 32px;
  border-radius: var(--r);
  overflow: hidden;
}
.gallery-item {
  overflow: hidden;
  background: var(--ink-3);
  cursor: zoom-in;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--snap);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.tall  { grid-row: span 2; }
.gallery-item.wide  { grid-column: span 2; }
.gallery-item.large { grid-column: span 3; grid-row: span 2; }
.gallery-item.xlarge{ grid-column: span 4; grid-row: span 2; }

/* ================================================================
   FOOTER — genericul de final
   ================================================================ */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 96px var(--gx) 40px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 0.5px solid var(--line-w);
  margin-bottom: 48px;
}
.footer-cta-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.028em;
  max-width: 720px;
}
.footer-cta-title em { color: var(--gold-light); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col { display: flex; flex-direction: column; gap: 5px; }
.footer-col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253,251,247,0.28);
  margin-bottom: 16px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.footer-brand span { color: var(--red); }
.footer-col p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(253,251,247,0.38);
  max-width: 300px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(253,251,247,0.5);
  transition: color 0.25s;
  padding: 3px 0;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 0.5px solid var(--line-w);
  font-size: 12px;
  color: rgba(253,251,247,0.22);
  letter-spacing: 0.08em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ================================================================
   VIDEO MODAL
   ================================================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 36px;
}
.video-modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12,11,9,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}
.modal-box { position: relative; width: 100%; max-width: 1140px; z-index: 2; }
.modal-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0.5px solid rgba(253,251,247,0.2);
  background: transparent;
  color: var(--white);
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s;
}
.modal-close:hover { border-color: var(--red); background: rgba(175,30,35,0.2); }
.modal-title {
  font-size: 12px;
  color: rgba(253,251,247,0.4);
  text-align: center;
  margin-bottom: 16px;
}
.modal-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ink);
  border-radius: var(--r);
  overflow: hidden;
}
.modal-frame video,
.modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ================================================================
   BREADCRUMB
   ================================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(253,251,247,0.3);
  margin-bottom: 24px;
}
.breadcrumb a {
  color: rgba(253,251,247,0.35);
  transition: color 0.25s;
}
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { opacity: 0.2; }
.breadcrumb span { color: rgba(253,251,247,0.6); }

/* ================================================================
   ABOUT PAGE — biografie editorială
   ================================================================ */
.about-portrait-sec {
  padding: 0 var(--gx) 96px;
  background: var(--white);
}
.about-portrait-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.about-img-wrap {
  position: sticky;
  top: 88px;
}
.about-img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r);
  filter: saturate(0.85) contrast(1.06);
  box-shadow: 0 4px 24px rgba(12,11,9,0.08);
}
.about-text { padding-top: 12px; }
.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 20px;
}
.about-text p.large {
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.012em;
  margin-bottom: 28px;
}
.about-text p.large em { color: var(--red); }
.about-text p.italic-close {
  color: var(--red);
  font-size: 15px;
}

/* Timeline */
.timeline { margin-top: 48px; }
.timeline-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  padding: 18px 0;
  border-bottom: 0.5px solid var(--line);
}
.timeline-row:last-child { border-bottom: none; }
.timeline-yr {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--red);
  letter-spacing: 0.08em;
  padding-top: 3px;
}
.timeline-txt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
}
.timeline-txt strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.timeline-txt span { color: var(--warm); }

/* Awards grid */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 0.5px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 32px;
}
.award-cell {
  background: var(--white);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: background 0.2s;
}
.award-cell:hover { background: var(--off); }
.award-yr {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.award-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.award-source {
  font-size: 12px;
  color: var(--warm);
}

/* Volume */
.vol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.vol-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--off);
  border-radius: var(--r);
  border: 0.5px solid var(--line);
  transition: border-color 0.3s, background 0.3s;
}
.vol-card:hover { border-color: rgba(175,30,35,0.25); background: var(--white); }
.vol-cover {
  width: 80px;
  flex-shrink: 0;
  aspect-ratio: 2/3;
  background: var(--ink-3);
  border-radius: 2px;
  overflow: hidden;
}
.vol-cover img { width: 100%; height: 100%; object-fit: cover; }
.vol-meta { display: flex; flex-direction: column; gap: 4px; }
.vol-meta .vy {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.vol-meta .vt {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.012em;
}
.vol-meta .va {
  font-size: 12px;
  color: var(--warm);
  line-height: 1.45;
}

/* ================================================================
   404
   ================================================================ */
.pg-404 {
  min-height: 100vh;
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px var(--gx);
}
.pg-404 .num-404 {
  font-family: var(--serif);
  font-size: clamp(140px, 22vw, 260px);
  font-weight: 400;
  color: var(--red);
  line-height: 0.9;
  letter-spacing: -0.05em;
  opacity: 0.6;
}
.pg-404 h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 400;
  margin-bottom: 16px;
}
.pg-404 p {
  font-size: 15px;
  color: rgba(253,251,247,0.4);
  margin-bottom: 40px;
}

/* ================================================================
   KEYFRAMES
   ================================================================ */
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.3); opacity: 0.35; }
}
@keyframes fadeIn    { to { opacity: 1; } }
@keyframes riseUp    { to { transform: translateY(0); } }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  :root { --gx: clamp(20px, 3vw, 40px); }
  .work-grid { grid-template-columns: repeat(6,1fr); }
  .project.span-3 { grid-column: span 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .mandates-grid { grid-template-columns: 220px 1fr; gap: 48px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-name { font-size: clamp(48px, 12vw, 88px); }
  .hero-bottom-bar { grid-template-columns: 1fr 1fr; }
  .hero-bottom-bar .hb-center { display: none; }

  .intro-inner { grid-template-columns: 1fr; gap: 28px; }
  .intro-aside { display: none; }

  .featured-inner { grid-template-columns: 1fr; gap: 44px; }

  .work-grid { grid-template-columns: 1fr 1fr; }
  .project.span-6, .project.span-4, .project.span-3 { grid-column: span 2; }

  .musicals-grid { grid-template-columns: 1fr; gap: 44px; }
  .musicals-pillars { grid-template-columns: 1fr 1fr; }

  .mandates-grid { grid-template-columns: 1fr; gap: 36px; }
  .mandate { grid-template-columns: 120px 1fr; gap: 20px; }
  .mandate-note { display: none; }

  .news-item { grid-template-columns: 70px 1fr 24px; gap: 14px; }
  .news-tag { display: none; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; }

  .page-hdr-inner { grid-template-columns: 1fr; }
  .page-hdr-year { display: none; }

  .prod-body-inner { grid-template-columns: 1fr; }
  .prod-credits { margin-top: 40px; }

  .about-portrait-grid { grid-template-columns: 1fr; }
  .about-img-wrap { position: static; }
  .about-img-wrap img { aspect-ratio: 4/3; }

  .vol-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(3,1fr); }
  .gallery-item.xlarge,
  .gallery-item.large { grid-column: span 2; }
  .gallery-item.wide   { grid-column: span 2; }

  .sec-header { flex-direction: column; align-items: flex-start; }
  .sec-sub { text-align: left; max-width: 100%; }
}

@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .project.span-6, .project.span-4, .project.span-3,
  .project.span-2, .project.span-1 { grid-column: span 1; }
  .musicals-pillars { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery-item.xlarge,
  .gallery-item.large,
  .gallery-item.wide { grid-column: span 1; grid-row: span 1; }
  .mandate { grid-template-columns: 1fr; gap: 10px; }
  .mandate-years { font-size: 14px; }
}

/* ── MOBILE NAV OPEN ── */
.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: rgba(12,11,9,0.98);
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 150;
  animation: fadeIn 0.25s ease forwards;
}
.nav-open .nav-links a {
  font-size: 24px !important;
  color: var(--white) !important;
  background: none !important;
  letter-spacing: 0.03em;
}
.nav-open .nav-links .nav-cta .btn { margin-top: 12px; }

.nav-hamburger {
  position: relative;
  z-index: 1;
}
.nav-open #nav-hamburger {
  z-index: 160;
}

.nav-open #nav-hamburger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-open #nav-hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-open #nav-hamburger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.nav-open #nav-hamburger span {
  background: var(--white) !important;
  transition: transform 0.3s var(--snap), opacity 0.2s, background 0.2s;
}
