/* ==========================================================================
   BRIGHT MIND — OLEG NAMAKONOV (PRODUCTION STYLESHEET)
   Pure Cinema Gallery · Studio Spotlight / Dimmer · Mobile & Desktop
   ========================================================================== */

:root {
  --bg: #090807;
  --surface: #12100e;
  --border: rgba(244, 238, 228, 0.12);
  --border-strong: rgba(244, 238, 228, 0.26);
  --text: #f4f0e8;
  --muted: #bfb8ab;
  --dim: #8a8377;
  --accent: #dfc076;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
}

body {
  font-family: var(--font-sans);
  font-size: 18px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

img, video {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
}

/* ==========================================================================
   STICKY TOP HEADER & ORIGINAL LOGO
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(9, 8, 7, 0.94);
  border-bottom: 1px solid rgba(244, 238, 228, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  padding: 6px 0;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 164px;
  height: 98px;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo {
  height: 164px;
  width: auto;
  max-width: none;
  object-fit: contain;
  mix-blend-mode: lighten;
  transition: transform 0.25s ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.04);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.main-nav a {
  color: #c8c1b4;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active-nav {
  color: #f4f0e8;
  border-bottom-color: var(--accent);
}

.main-nav .nav-cta {
  padding: 10px 20px;
  border-radius: 2px;
  border: 1px solid rgba(223, 192, 118, 0.45);
  color: #f4f0e8;
  font-weight: 500;
  transition: all 0.2s ease;
}

.main-nav .nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #090807;
}

/* ==========================================================================
   HERO: CLEAN MINIMALIST HEADING + UNOBSTRUCTED 2.35:1 SHOWREEL
   ========================================================================== */
.v3-intro {
  padding: 36px 0 60px;
}

.v3-title-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px 24px;
  margin-bottom: 26px;
}

.v3-name-heading {
  font-family: var(--font-sans);
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #f7f3eb;
}

.v3-name-heading .v3-role-sub {
  font-weight: 400;
  color: var(--accent);
}

.v3-availability {
  font-size: 17px;
  color: #c8c1b4;
  border-bottom: 1px solid rgba(223, 192, 118, 0.4);
  padding-bottom: 4px;
}

.v3-cinema-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 2.35 / 1;
  min-height: 300px;
  background: #000;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 32px 90px rgba(223, 192, 118, 0.07), 0 16px 50px rgba(0, 0, 0, 0.8);
}

.v3-cinema-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v3-reel-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--muted);
}

/* ==========================================================================
   CENTERED CHAPTER NAVIGATION BAR
   ========================================================================== */
.v3-chapter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 36px;
  padding: 24px 0;
  margin-bottom: 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.v3-chapter-btn {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 500;
  color: #968f82;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.v3-chapter-btn:hover {
  color: var(--text);
}

.v3-chapter-btn.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.v3-chapter-btn sup {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #b5ae9f;
  margin-left: 4px;
}

/* ==========================================================================
   FRAMELESS MOTION GALLERY + STUDIO SPOTLIGHT / DIMMER
   ========================================================================== */
.v3-section {
  padding: 36px 0 76px;
}

.v3-section-header {
  margin-bottom: 40px;
  max-width: 780px;
}

.v3-section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 10px;
}

.v3-section-header p {
  font-size: 19px;
  color: var(--muted);
}

.v3-motion-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 42px;
  row-gap: 54px;
}

@media (min-width: 860px) {
  .v3-motion-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.v3-work-item {
  cursor: pointer;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1), filter 0.42s ease;
}

.v3-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #11100e;
  border-radius: 2px;
  margin-bottom: 16px;
  transition: box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

@media (hover: hover) {
  .v3-motion-grid:has(.v3-work-item:hover) .v3-work-item:not(:hover) {
    opacity: 0.32;
    filter: brightness(0.7) saturate(0.72);
  }

  .v3-work-item:hover .v3-frame {
    box-shadow: 0 24px 68px rgba(223, 192, 118, 0.16), 0 0 0 1px rgba(223, 192, 118, 0.38);
    filter: brightness(1.04) contrast(1.03);
  }
}

.v3-frame img,
.v3-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.v3-work-item:hover .v3-frame img {
  transform: scale(1.035);
}

.v3-frame img.crop-bars {
  transform: scale(1.34);
}

.v3-work-item:hover .v3-frame img.crop-bars {
  transform: scale(1.38);
}

.v3-frame video.hover-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.v3-work-item:hover .v3-frame video.hover-video {
  opacity: 1;
}

.v3-caption-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 4px;
}

.v3-work-title {
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.15;
  color: #f7f3eb;
  transition: color 0.2s ease;
}

.v3-work-item:hover .v3-work-title {
  color: var(--accent);
}

.v3-work-client {
  font-size: 15px;
  color: #a9a193;
  flex-shrink: 0;
}

.v3-work-credits {
  font-size: 16.5px;
  color: #c4bdb0;
  line-height: 1.5;
}

/* ==========================================================================
   MAGAZINE & EDITORIAL SPREADS
   ========================================================================== */
.v3-editorial-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.v3-editorial-story {
  padding-top: 36px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  cursor: pointer;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1), filter 0.42s ease;
}

@media (hover: hover) {
  .v3-editorial-list:has(.v3-editorial-story:hover) .v3-editorial-story:not(:hover) {
    opacity: 0.34;
    filter: brightness(0.72) saturate(0.75);
  }

  .v3-editorial-story:hover .v3-editorial-spread img {
    box-shadow: 0 18px 48px rgba(223, 192, 118, 0.14), 0 0 0 1px rgba(223, 192, 118, 0.32);
  }
}

@media (min-width: 920px) {
  .v3-editorial-story {
    grid-template-columns: 320px 1fr;
    gap: 44px;
  }
}

.v3-editorial-meta h3 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.v3-editorial-story:hover .v3-editorial-meta h3 {
  color: var(--accent);
}

.v3-editorial-spread {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.v3-editorial-spread img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  transition: transform 0.5s ease, box-shadow 0.4s ease;
}

.v3-editorial-story:hover .v3-editorial-spread img {
  transform: translateY(-3px);
}

/* ==========================================================================
   EVENTS & SPACES COLUMNS
   ========================================================================== */
.v3-services-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

@media (min-width: 920px) {
  .v3-services-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
  }
}

.v3-service-col h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #f7f3eb;
}

.v3-service-col p {
  font-size: 18px;
  color: #c5beb1;
  margin-bottom: 18px;
}

.v3-service-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 17px;
  color: #ddd7cb;
}

.v3-service-col ul li {
  padding-left: 18px;
  position: relative;
}

.v3-service-col ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ==========================================================================
   BIOGRAPHY & DIRECT CONTACT
   ========================================================================== */
.v3-bio-contact {
  padding: 64px 0 64px;
  border-top: 1px solid var(--border);
}

.v3-bio-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 920px) {
  .v3-bio-split {
    grid-template-columns: 380px 1fr;
    gap: 64px;
  }
}

.v3-bio-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
}

.v3-quote {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.18;
  margin-bottom: 24px;
  color: #f7f3eb;
}

.v3-contact-lines {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 24px 56px;
  align-items: center;
}

.v3-contact-item a,
.v3-contact-item button {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #f7f3eb;
  border-bottom: 1px solid rgba(244, 238, 228, 0.28);
  padding-bottom: 4px;
  text-align: left;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.v3-contact-item a:hover,
.v3-contact-item button:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.site-copyright {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--dim);
}

/* ==========================================================================
   THEATER LIGHTBOX MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 4, 4, 0.94);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  width: min(1140px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #100e0d;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 28px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.modal-kicker {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 4px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.15;
}

.modal-close {
  padding: 9px 18px;
  border-radius: 2px;
  border: 1px solid var(--border-strong);
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--text);
  color: #090807;
}

.modal-stage {
  width: 100%;
  background: #000;
  border-radius: 2px;
  overflow: hidden;
}

.modal-stage iframe,
.modal-stage video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.modal-gallery img {
  width: 100%;
  border-radius: 2px;
  object-fit: cover;
}

.modal-credits {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 16.5px;
  color: var(--muted);
}

/* Toast Notification */
.toast-copied {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--accent);
  color: #090807;
  padding: 10px 22px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 120;
}

.toast-copied.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE POLISH
   ========================================================================== */
@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 82px;
    gap: 12px;
  }

  .brand-link {
    width: 112px;
    height: 70px;
  }

  .brand-logo {
    height: 118px;
  }

  .main-nav {
    gap: 14px;
    font-size: 15px;
    justify-content: flex-end;
  }

  .main-nav .nav-cta {
    padding: 7px 13px;
  }

  .v3-intro {
    padding: 24px 0 40px;
  }

  .v3-cinema-screen {
    aspect-ratio: 16 / 9;
    min-height: 210px;
  }

  .v3-chapter-bar {
    gap: 14px 22px;
    padding: 18px 0;
    margin-bottom: 32px;
  }

  .v3-chapter-btn {
    font-size: 21px;
  }

  .v3-caption-top {
    flex-direction: column;
    gap: 2px;
  }

  .modal-dialog {
    padding: 18px;
  }
}
