:root{
  --bg: #0a0d0f;
  --text: #e7ecef;
  --muted: #9aa7ad;
  --accent: #3e5961;

  --panel: #101518;
  --panel-2: #0c1013;
  --muted-2: #7f8b90;

  --accent-2: #8ea8b0;
  --link: #a8c2ca;

  --border: rgba(255,255,255,.08);
  --border-2: rgba(255,255,255,.05);

  --shadow: 0 22px 70px rgba(0,0,0,.72);
  --radius: 16px;

  --font-primary: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-secondary: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --max: 1100px;
  --overlay-dark: rgba(0,0,0,.72);
}

.theme-thriller{
  --bg: #080b0d;
  --text: #edf2f4;
  --muted: #94a1a8;
  --accent: #425c63;

  --panel: #0e1316;
  --panel-2: #0a0e11;
  --muted-2: #75828a;

  --accent-2: #93aeb6;
  --link: #b0c8d0;

  --border: rgba(255,255,255,.07);
  --border-2: rgba(255,255,255,.04);

  --shadow: 0 26px 80px rgba(0,0,0,.82);
  --overlay-dark: rgba(0,0,0,.8);
}

*{ box-sizing: border-box; }

html, body{
  margin:0;
  padding:0;
  background: var(--bg);
  color: var(--text);
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: var(--font-secondary);
  line-height: 1.55;
  letter-spacing: .01em;
}

a{
  color: var(--text);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover{
  color: var(--link);
}

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,10,12,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-2);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:baseline;
  gap:10px;
}

.brand .title{
  font-family: var(--font-primary);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand .tag{
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.menu{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items:center;
}

.menu a{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .15s ease;
}

.menu a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
}

.menu a[aria-current="page"]{
  border-color: rgba(176,200,208,.38);
  color: var(--link);
  background: rgba(176,200,208,.06);
}

main{
  padding: 38px 0 72px;
}

.card{
  background:
          linear-gradient(
                  to bottom,
                  rgba(16,21,24,.9),
                  rgba(8,11,13,.97)
          );
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
          linear-gradient(
                  to bottom,
                  rgba(255,255,255,.025),
                  transparent 24%
          );
}

.pad{
  padding: 22px;
}

.h1{
  font-family: var(--font-primary);
  font-size: clamp(34px, 4vw, 52px);
  margin: 0 0 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.h2{
  font-family: var(--font-primary);
  font-size: 26px;
  margin: 0 0 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lede{
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 18px;
  max-width: 680px;
}

.btn-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  cursor:pointer;
  color: var(--text);
  transition: transform .15s ease, border-color .2s ease, color .2s ease, background .2s ease;
}

.btn:hover{
  border-color: rgba(176,200,208,.28);
  color: var(--link);
  background: rgba(255,255,255,.07);
  transform: translateY(-1px);
}

.btn.primary{
  background: rgba(66,92,99,.24);
  border-color: rgba(176,200,208,.2);
}

.btn.primary:hover{
  background: rgba(66,92,99,.38);
}

.kv{
  display:grid;
  gap: 10px;
}

.kv .row{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,.02);
}

.kv .key{
  color: var(--muted);
}

.kv .val{
  font-weight: 650;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px){
  .grid{ grid-template-columns: 1fr; }
}

.profile{
  overflow:hidden;
  background:
          linear-gradient(
                  to bottom,
                  rgba(17,23,26,.88),
                  rgba(8,11,13,.96)
          );
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.profile:hover{
  transform: translateY(-3px);
  border-color: rgba(176,200,208,.16);
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
}

.profile img{
  width:100%;
  height:260px;
  object-fit: cover;
  display:block;
  background: var(--panel);
  filter: contrast(1.05) brightness(.9);
}

.profile .meta{
  padding: 14px 16px 16px;
  background: linear-gradient(
          to bottom,
          rgba(255,255,255,.015),
          rgba(0,0,0,.18)
  );
}

.profile .name{
  font-family: var(--font-primary);
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.profile .role{
  color: var(--accent-2);
  font-size: 12px;
  margin: 0 0 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile .bio{
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.section{
  margin-top: 28px;
}

.section .sub{
  color: var(--muted);
  margin: 0 0 12px;
}

.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 980px){
  .gallery{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px){
  .gallery{ grid-template-columns: repeat(2, 1fr); }
}

.gallery img{
  width:100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  filter: brightness(.82) contrast(1.04);
  cursor: pointer;
  transition: transform .25s ease, filter .25s ease, border-color .25s ease;
}

.gallery img:hover{
  transform: scale(1.05);
  filter: brightness(.98) contrast(1.1);
  border-color: rgba(176,200,208,.35);
}

.embed{
  aspect-ratio: 16/9;
  width:100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow:hidden;
  background: var(--panel);
}

.form{
  display:grid;
  gap: 12px;
}

.field{
  display:grid;
  gap: 6px;
}

label{
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

input:focus, textarea:focus{
  border-color: rgba(176,200,208,.22);
  background: rgba(255,255,255,.04);
  box-shadow: 0 0 0 3px rgba(176,200,208,.06);
}
/* */
textarea{
  min-height: 120px;
  resize: vertical;
}

.small{
  color: var(--muted);
  font-size: 13px;
}

.thanks-list{
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.9;
  padding-left: 18px;
}

footer{
  border-top: 1px solid var(--border-2);
  padding: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

/* Optional atmosphere */
body.theme-thriller::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 3;
  background:
          radial-gradient(circle at 20% 10%, rgba(255,255,255,.035), transparent 28%),
          radial-gradient(circle at 80% 30%, rgba(255,255,255,.02), transparent 24%),
          radial-gradient(circle at 50% 80%, rgba(255,255,255,.018), transparent 30%);
  mix-blend-mode: screen;
  opacity: .55;
}

body.theme-thriller::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 2;
  background:
          radial-gradient(circle at center, transparent 45%, rgba(0,0,0,.28) 100%);
}

/* Hero / intro support if reused elsewhere */
.hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: stretch;
}

@media (max-width: 880px){
  .hero{ grid-template-columns: 1fr; }
}

.parallax-hero,
.intro{
  position: relative;
  height: clamp(520px, 85vh, 820px);
  overflow: hidden;
  border-bottom: 1px solid var(--border-2);
}

.intro{
  height: calc(100vh - 70px);
  min-height: 620px;
}

.parallax-bg,
.intro-bg{
  position: absolute;
  inset: -16% 0 -16% 0;
  background-image: url("assets/U-TURN STILLS/Still 2026-03-05 210850_1.1.1.png");
  background-size: cover;
  background-position: center;
  transform: translateY(0px);
  will-change: transform;
  filter: brightness(.45) contrast(1.08) saturate(.7);
}

.parallax-overlay,
.intro-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(
          to bottom,
          transparent,
          transparent 55%,
          rgba(0,0,0,.38)
  );
}

.parallax-content,
.intro-center{
  position: relative;
  height: 100%;
  display:flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
}

.logo-fade,
.intro-logo{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1400ms ease, transform 1400ms ease;
  text-align:center;
}

.logo-fade.is-visible,
.intro-logo.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.u-logo,
.logo-text{
  font-family: var(--font-primary);
  font-weight: 900;
  letter-spacing: .08em;
  font-size: clamp(46px, 7vw, 88px);
  margin: 0 0 6px;
  text-transform: uppercase;
}

.u-tagline,
.logo-sub{
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  letter-spacing: .04em;
}

.home-block,
.home-section{
  padding: 22px 0;
}

.center{
  text-align: center;
}

.btn-row-center{
  justify-content: center;
}

.footer-row{
  display:flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}

.footer-links .dot{
  color: rgba(255,255,255,.24);
}

@media (max-width: 520px){
  .intro{ min-height: 560px; }
}

/* ====== BRAND LINK ====== */
a.brand{
  text-decoration: none;
  color: var(--text);
}
a.brand:hover{ color: var(--text); }

/* ====== LIGHTBOX ====== */
.lightbox{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
}
.lightbox.is-open{ display: flex; }
.lightbox-img{
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0,0,0,.8);
  display: block;
}
.lightbox-close{
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: var(--text);
  font-size: 18px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox-close:hover{ background: rgba(255,255,255,.18); }

/* ====== SPECIAL THANKS TICKER ====== */
.thanks-ticker-wrap{
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  cursor: pointer;
  padding: 13px 0;
  position: relative;
  user-select: none;
}
.thanks-ticker-wrap::before,
.thanks-ticker-wrap::after{
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 50px;
  z-index: 2;
  pointer-events: none;
}
.thanks-ticker-wrap::before{
  left: 0;
  background: linear-gradient(to right, var(--panel), transparent);
}
.thanks-ticker-wrap::after{
  right: 0;
  background: linear-gradient(to left, var(--panel), transparent);
}
.thanks-ticker{
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.thanks-ticker span{
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .06em;
}
@keyframes ticker{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}
.thanks-ticker-label{
  text-align: center;
  font-size: 12px;
  color: var(--muted-2);
  margin: 8px 0 0;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.thanks-reveal{ margin-top: 16px; }
.thanks-reveal[hidden]{ display: none; }

/* ====== CAROUSELS ====== */
.carousel-wrap{
  display: flex;
  align-items: center;
  gap: 10px;
}
.carousel-track-outer{
  overflow: hidden;
  flex: 1;
}
.carousel-track{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 2px;
}
.carousel-track::-webkit-scrollbar{ display: none; }
.carousel-track .profile{
  scroll-snap-align: start;
  flex: 0 0 240px;
  min-width: 0;
}
.carousel-btn{
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .2s ease, border-color .2s ease;
}
.carousel-btn:hover{
  background: rgba(255,255,255,.1);
  border-color: rgba(176,200,208,.28);
}
.bts-track .bts-img{
  scroll-snap-align: start;
  flex: 0 0 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  filter: brightness(.82) contrast(1.04);
  cursor: pointer;
  transition: transform .25s ease, filter .25s ease;
}
.bts-track .bts-img:hover{
  transform: scale(1.03);
  filter: brightness(.96) contrast(1.08);
}
.bts-empty{
  color: var(--muted);
  font-size: 14px;
  padding: 24px 0;
}

/* ====== BIO MODAL (full-screen, like lightbox) ====== */
.bio-modal{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.bio-modal.is-open{ display: flex; }
.bio-modal-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 92vw;
  max-height: 92vh;
  width: 880px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 40px 120px rgba(0,0,0,.9);
  overflow: hidden;
  position: relative;
}
.bio-modal-inner img{
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) brightness(.9);
}
.bio-modal-meta{
  padding: 32px 30px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}
.bio-modal-meta .name{
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.bio-modal-meta .role{
  color: var(--accent-2);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.bio-modal-meta .bio{
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}
.bio-modal-close{
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: var(--text);
  font-size: 16px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
  z-index: 1;
}
.bio-modal-close:hover{ background: rgba(0,0,0,.88); }
@media (max-width: 680px){
  .bio-modal-inner{
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }
  .bio-modal-inner img{ min-height: 260px; height: 40vh; }
}

/* ====== ABOUT LAYOUT ====== */
.about-layout{
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 20px;
  align-items: stretch;
  min-height: 72vh;
  margin-top: 28px;
}
.about-poster{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-poster img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px){
  .about-layout{ grid-template-columns: 1fr; }
  .about-poster{ height: 440px; }
}

/* ====== CREW CAROUSEL (3-visible looping) ====== */
.crew-carousel-outer{
  display: flex;
  align-items: center;
  gap: 10px;
}
.crew-track-outer{
  overflow: hidden;
  flex: 1;
}
.crew-track{
  display: flex;
  gap: 16px;
  will-change: transform;
  transition: transform 0.38s cubic-bezier(.4,0,.2,1);
}

/* ====== FESTIVAL SECTION ====== */
.festival-card{
  display: flex;
  align-items: center;
  gap: 24px;
}
.festival-img{
  width: 150px;
  height: auto;
  max-height: 190px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}
.festival-info{ flex: 1; }
@media (max-width: 540px){
  .festival-card{ flex-direction: column; }
  .festival-img{ width: 100%; max-height: 220px; }
}