/* --text:#0099FF; */
:root {
--bg-dark: #02111f;
--bg-mid: #06253e;
--text: #f7f9fc;
--muted: #9fb5c7;
--accent: #4ca6ff;
}

/* =========================
RESET
========================= */

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

html {
scroll-behavior: smooth;
}

body {
background: var(--bg-dark);
color: var(--text);
font-family: 'EB Garamond', serif;
overflow-x: hidden;
}

/* =========================
TYPOGRAPHY
========================= */

h1,
h2,
h3 {
font-family: 'EB Garamond', serif;
font-weight: 600;
}

h1 {
font-size: clamp(4rem, 10vw, 8rem);
letter-spacing: 0.18em;
line-height: 1;
text-shadow:
    0 4px 8px rgba(0, 0, 0, 0.8),
    0 12px 32px rgba(0, 0, 0, 0.85),
    0 24px 80px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(76, 166, 255, 0.20);
}

h2 {
font-size: clamp(2.5rem, 5vw, 4rem);
margin-bottom: 1.5rem;
text-shadow:
    0 0 4px rgba(255, 255, 255, 0.25),
    0 0 10px rgba(200, 230, 255, 0.15),
    0 0 20px rgba(76, 166, 255, 0.05);
}

h3 {
font-size: 1.6rem;
margin-bottom: 1.5rem;
text-shadow:
    0 0 4px rgba(255, 255, 255, 0.25),
    0 0 10px rgba(200, 230, 255, 0.15),
    0 0 20px rgba(76, 166, 255, 0.05);

}

p {
font-size: 1.1rem;
line-height: 1.9;
 text-shadow:
    0 0 4px rgba(255,255,255,.25),
    0 0 12px rgba(76,166,255,.12);
}

.small-title {
text-transform: uppercase;
letter-spacing: 4px;
color: var(--muted);
margin-bottom: 1.5rem;
}

.tagline {
font-size: 1.3rem;
max-width: 700px;
margin: 1.5rem auto 0;
color: #d9e9ff;
}

/* =========================
FULLSCREEN PANELS
========================= */

.panel {
min-height: 100svh;

position: relative;

display: flex;
align-items: center;
justify-content: center;

text-align: center;

background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}

.break {
  display: flex;
  padding: 50px 150px;
  align-items: start;
}

.contact {
  padding: 50px;
  align-items: start;
}

.contact, .director-bio {
  flex-direction: column;
  text-align: center;
}

a {
  text-shadow: none;
  color : var(--text)
}


.content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 30px 40px;
}

.row {
  margin-top: 30px;
  font-size: 30px;
}

.content p {
  font-size: 16px;
}

.technical-specs {
  flex-grow: 1;
  text-align: right;
}

.cast {

  text-align: center;
}

.cast-row {
  display: flex;
  align-items: center;

  margin-bottom: 12px;
}

.label {
  font-weight: 600;
  white-space: nowrap;
}

.dots {
  flex: 1;

  border-bottom: 2px dotted rgba(255,255,255, 1);

  margin: 0 12px;
}

.value {
  white-space: nowrap;
}

.poster {
  flex-grow: 1;
  text-align: center;
}

.director-statement {
   margin: auto;
}

.director_text{
    font-size: 50px;
}

.spec-row {
  display: flex;
  justify-self: right;
  margin-bottom: 12px;
}
.spec-row span {
  font-size: 16px;
  text-indent: 10px;
}

.spec-row .category {
  font-weight: 900;
}

.spec-row .value {
  font-weight: 200;
}

.hero .content {
  margin-bottom:100px;
}

/* =========================
LOGLINE
========================= */

.logline p {
font-size: clamp(1.5rem, 3vw, 2.5rem);
font-family: 'EB Garamond', serif;
line-height: 1.4;
}

/* =========================
TRAILER
========================= */

.video-wrapper {
width: 100%;
aspect-ratio: 16 / 9;

overflow: hidden;

border-radius: 12px;

box-shadow:
0 25px 60px rgba(0,0,0,.45);
}

.video-wrapper iframe {
width: 100%;
height: 100%;
border: none;
}

/* =========================
STILLS GRID
========================= */

.grid {
display: grid;

grid-template-columns: repeat(3, 1fr);

gap: 20px;

margin-top: 2rem;
}

.grid img {
width: 100%;
height: 320px;

object-fit: cover;

border-radius: 10px;

transition: transform .4s ease;
}

.grid img:hover {
transform: scale(1.03);
}

/* =========================
CREDITS
========================= */

.credit-grid {
display: grid;

grid-template-columns: repeat(2, 1fr);

gap: 50px;

margin-top: 3rem;
}

.credit-grid span {
display: block;

color: var(--muted);

font-size: .85rem;

letter-spacing: 2px;

text-transform: uppercase;

margin-bottom: .5rem;
}

/* =========================
CONTACT
========================= */

.contact p {
margin-bottom: 1rem;
}

.site-footer {
  text-align: center;
  text-transform: uppercase;
  color: rgba(159, 181, 199, 0.6);
  letter-spacing: 1px;
}

.site-footer p {
  font-size: 15px;
}

.footer {
  padding: 20px;
}


/* =========================
DESKTOP PARALLAX
========================= */

@media (min-width: 769px) {

.panel {
background-attachment: scroll;
}

}

/* =========================
MOBILE
========================= */

@media (max-width: 768px) {

.panel {
min-height: 100svh;
padding: 80px 24px;
}

h1 {
letter-spacing: 4px;
}

h2 {
margin-bottom: 1rem;
}

h3 {
  margin-bottom: 1rem;
}

p {
font-size: 1rem;
}

.tagline {
font-size: 1.1rem;
}

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

.grid img {
height: 240px;
}

.credit-grid {
grid-template-columns: 1fr;
gap: 30px;
}

.content {
width: 100%;
}

}

.panel {
    position: relative;
    overflow: hidden;
}

.panel-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}

.panel::before {
    z-index: 1;
}

.content {
    z-index: 2;
}




@media print {

@page {
size: landscape;
margin: 0;
}

* {
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
  }

html,
body {
margin: 0;
padding: 0;
background: #02111f;
}

.panel,
.break {
page-break-after: always;
break-after: page;
}

.panel:last-child,
.break:last-child {
page-break-after: auto;
}

.panel-bg {
display: block;
object-fit: cover;
object-position: center center;
}

.one .panel-bg,
.stills .panel-bg,
.credits .panel-bg {

object-fit: cover !important;
object-position: center center !important;

}

}

@media (max-width: 768px) {

.break {
display: block;
padding: 40px 20px;
}

.content {
width: 100%;
padding: 20px 0;
}

.poster {
text-align: center;
margin-top: 30px;
}

.poster img {
width: 100%;
max-width: 300px;
height: auto;
}

h1 {
font-size: clamp(3rem, 12vw, 5rem);
}

h3 {
font-size: 1.6rem;
}

p {
font-size: 1rem;
line-height: 1.7;
}

}

.panel-bg {
position: absolute;
inset: 0;

width: 100%;
height: 100%;

object-fit: cover;
object-position: center center;

z-index: 0;
}

@media (max-width: 768px) {

  .hero .panel-bg {
    object-position: center top;
  }

  .synopsis .panel-bg {
    object-position: 65% center ;
  }

  .stills .panel-bg {
    object-position: 70% center;
  }

  .credits .panel-bg {
    object-position: 70% center;
  }

}

@media print {

.break {
display: flex !important;
flex-direction: row !important;
align-items: flex-start;
padding: 50px 150px !important;
}

.technical-specs {
text-align: right;
}

}