/* ==========================================================================
   The CeeGee Company — "house lights down"
   Palette: warm near-black, screen-glow ivory, tungsten gold, curtain crimson
   Type:    Montserrat throughout — uppercase tracked caps for titling
   ========================================================================== */

:root {
  --ink:        #0e0c09;   /* house lights down */
  --surface:    #181310;   /* raised panel */
  --surface-2:  #221b15;   /* hover / inset */
  --screen:     #eae0d0;   /* text: glow off the screen */
  --dim:        #8c8072;   /* captions, metadata */
  --tungsten:   #c9a15e;   /* projector lamp — use sparingly */
  --crimson:    #8e3b32;   /* curtain */
  --line:       rgba(234, 224, 208, 0.12);
  --focus:      #e5c98f;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--screen);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--tungsten); color: var(--ink);
  padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------------ type */

h1, h2, h3, .titling {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--tungsten);
}

/* ---------------------------------------------------------------- header */

.site-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }

.brand-mark {
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem;
  border: 1px solid var(--tungsten);
  border-radius: 50%;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.85rem;
  color: var(--tungsten);
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.brand-name {
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 1.02rem; letter-spacing: 0.09em;
}

.site-nav { display: flex; align-items: center; gap: clamp(0.8rem, 2.5vw, 1.8rem); flex-wrap: wrap; }

.site-nav a {
  text-decoration: none; font-size: 0.9rem; font-weight: 400;
  color: var(--screen); opacity: 0.85;
  letter-spacing: 0.02em;
}
.site-nav a:hover { opacity: 1; color: var(--tungsten); }

.nav-cta {
  border: 1px solid var(--tungsten);
  color: var(--tungsten) !important;
  padding: 0.45rem 1.1rem;
  opacity: 1 !important;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--tungsten); color: var(--ink) !important; }

/* ------------------------------------------------------------------ hero
   The signature: a letterboxed 2.39:1 screen with projector glow + grain. */

.hero { padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1rem, 4vw, 3rem); }

.screen-frame {
  position: relative;
  background: #000;
  border: 1px solid var(--line);
  overflow: hidden;
}

.screen-frame::before,
.screen-frame::after {
  content: ''; position: absolute; left: 0; right: 0; height: clamp(1.4rem, 4vw, 3rem);
  background: #000; z-index: 3;
}
.screen-frame::before { top: 0; }
.screen-frame::after  { bottom: 0; }

.screen {
  position: relative;
  aspect-ratio: 2.39 / 1;
  min-height: 340px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 6vw, 4rem);
  background:
    radial-gradient(ellipse 90% 130% at 50% -20%, rgba(201, 161, 94, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 90% at 50% 115%, rgba(142, 59, 50, 0.22), transparent 60%),
    linear-gradient(180deg, #171310 0%, #0a0806 100%);
}

/* film grain */
.screen .grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.8 0 0 0 0 0.75 0 0 0 0 0.65 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.screen > * { position: relative; z-index: 2; }

.hero-eyebrow { margin-bottom: 1.2rem; }

.hero-title {
  font-size: clamp(2rem, 6.5vw, 4.6rem);
  font-weight: 700;
  color: var(--screen);
  text-shadow: 0 0 60px rgba(201, 161, 94, 0.35);
  animation: titlecard 1.6s ease-out both;
}

@keyframes titlecard {
  from { opacity: 0; letter-spacing: 0.22em; }
  to   { opacity: 1; letter-spacing: 0.08em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-title { animation: none; }
}

.hero-tagline {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-style: italic;
  color: var(--dim);
  max-width: 44ch;
}

.hero-meta {
  margin-top: 1rem;
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--dim);
}
.hero-meta b { color: var(--tungsten); font-weight: 500; }

.hero-actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  padding: 0.85rem 1.9rem;
  border: 1px solid var(--tungsten);
  color: var(--ink); background: var(--tungsten);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: #dbb676; border-color: #dbb676; }

.btn-ghost {
  background: transparent; color: var(--screen);
  border-color: rgba(234, 224, 208, 0.35);
}
.btn-ghost:hover { background: transparent; border-color: var(--tungsten); color: var(--tungsten); }

.btn-block { display: block; width: 100%; }

.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* --------------------------------------------------------------- layout */

.section { padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem); }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}

.section-head h2 { font-size: clamp(1.4rem, 3vw, 2rem); }

.section-head .more {
  font-size: 0.85rem; color: var(--dim); text-decoration: none;
  letter-spacing: 0.06em;
}
.section-head .more:hover { color: var(--tungsten); }

/* ----------------------------------------------------------- poster grid */

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: clamp(1.2rem, 3vw, 2.2rem);
}

.one-sheet { text-decoration: none; display: block; }

.one-sheet .sheet {
  position: relative;
  aspect-ratio: 2 / 3;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.one-sheet:hover .sheet { transform: translateY(-4px); border-color: rgba(201, 161, 94, 0.5); }

.one-sheet img { width: 100%; height: 100%; object-fit: cover; }

.one-sheet .caption { padding: 0.8rem 0.15rem 0; }
.one-sheet .caption h3 { font-size: 1rem; font-weight: 600; }
.one-sheet .caption .meta {
  margin-top: 0.25rem;
  font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dim);
}

.badge {
  display: inline-block;
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--crimson); color: #c9756b;
  padding: 0.1rem 0.5rem; margin-left: 0.5rem;
  vertical-align: middle;
}

/* ------------------------------------------------------------ movie page */

.movie-hero {
  display: grid; gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: minmax(220px, 320px) 1fr;
  align-items: start;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
}
@media (max-width: 720px) { .movie-hero { grid-template-columns: 1fr; } }

.movie-hero .sheet {
  aspect-ratio: 2 / 3; border: 1px solid var(--line); overflow: hidden;
  background: var(--surface);
}
.movie-hero .sheet img { width: 100%; height: 100%; object-fit: cover; }

.movie-hero h1 { font-size: clamp(1.8rem, 4.5vw, 3.2rem); margin: 0.4rem 0 0.8rem; }

.movie-meta {
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 1.4rem;
}
.movie-meta b { color: var(--tungsten); font-weight: 500; }

.movie-tagline { font-style: italic; color: var(--dim); margin-bottom: 1rem; font-size: 1.1rem; }

.movie-synopsis { max-width: 62ch; margin-bottom: 2rem; }

.gate-note { font-size: 0.85rem; color: var(--dim); margin-top: 0.8rem; }
.gate-note a { color: var(--tungsten); }

/* trailer / player */
.player-wrap { padding: 0 clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem); }
.player-frame {
  position: relative; aspect-ratio: 16 / 9; background: #000;
  border: 1px solid var(--line);
}
.player-frame iframe, .player-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%;
}

/* --------------------------------------------------------------- pricing */

.plans {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 900px; margin: 0 auto;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2.2rem 2rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}

.plan.lead { border-color: var(--tungsten); position: relative; }
.plan.lead::before {
  content: 'Best seat in the house';
  position: absolute; top: -0.7rem; left: 50%; transform: translateX(-50%);
  background: var(--ink); border: 1px solid var(--tungsten); color: var(--tungsten);
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.15rem 0.8rem; white-space: nowrap;
}

.plan h3 { font-size: 1.15rem; }

.plan .price { font-size: 2.4rem; font-family: 'Montserrat', sans-serif; color: var(--tungsten); margin: 0.6rem 0 0.2rem; }
.plan .price small { font-size: 0.95rem; font-family: 'Montserrat', sans-serif; color: var(--dim); letter-spacing: 0.04em; }

.plan ul { list-style: none; margin: 1rem 0 1.6rem; flex: 1; }
.plan ul li { padding: 0.35rem 0; font-size: 0.95rem; color: var(--screen); }
.plan ul li::before { content: '—'; color: var(--tungsten); margin-right: 0.6rem; }

/* ----------------------------------------------------------------- forms */

.form-card {
  max-width: 430px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line);
  padding: 2.4rem 2.2rem;
}

.form-card h1 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.form-card .sub { color: var(--dim); font-size: 0.92rem; margin-bottom: 1.6rem; }

.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 0.4rem;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 0.7rem 0.9rem;
  background: var(--ink); color: var(--screen);
  border: 1px solid var(--line); font: inherit; font-size: 0.98rem;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--tungsten);
}

.form-foot { margin-top: 1.4rem; font-size: 0.88rem; color: var(--dim); text-align: center; }
.form-foot a { color: var(--tungsten); }

.alert {
  padding: 0.8rem 1rem; margin-bottom: 1.2rem; font-size: 0.92rem;
  border: 1px solid var(--crimson); color: #d99790; background: rgba(142, 59, 50, 0.12);
}
.alert-ok { border-color: var(--tungsten); color: var(--tungsten); background: rgba(201, 161, 94, 0.08); }

/* --------------------------------------------------------------- account */

.account-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); padding: 1.8rem;
}
.card h2 { font-size: 1.1rem; margin-bottom: 1rem; }

.kv { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; font-size: 0.95rem; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: none; }
.kv span:first-child { color: var(--dim); }

/* ---------------------------------------------------------------- tables */

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.data th, table.data td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); }
table.data th { color: var(--dim); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------------------------------------------------------------- footer */

.site-foot {
  border-top: 1px solid var(--line);
  padding: 3rem clamp(1rem, 4vw, 3rem) 3.5rem;
  margin-top: 3rem;
}

.credits { max-width: 560px; margin: 0 auto; text-align: center; }

.credits-line {
  display: flex; justify-content: space-between; gap: 2rem;
  font-size: 0.85rem; color: var(--screen);
  padding: 0.45rem 0; border-bottom: 1px dotted var(--line);
}
.credits-line span { color: var(--dim); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.7rem; padding-top: 0.2em; }
.credits-line a { color: var(--tungsten); text-decoration: none; }
.credits-line a:hover { text-decoration: underline; }

.credits-end {
  margin-top: 2rem;
  font-size: 0.68rem; letter-spacing: 0.4em; color: var(--dim);
}

/* ------------------------------------------------------------- utilities */

.center { text-align: center; }
.muted { color: var(--dim); }
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }

.page-title { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 0.5rem; }
.page-sub { color: var(--dim); margin-bottom: 2.5rem; max-width: 60ch; }

/* --------------------------------------------------------------- talent */

.talent-section { margin-top: 3.5rem; }

.talent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-top: 1.6rem;
}

.talent-card .headshot {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.talent-card .headshot img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.25s ease;
}
.talent-card:hover .headshot img { transform: scale(1.03); }
.talent-card .headshot iframe,
.talent-card .headshot video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; background: #000;
}
.headshot[data-reel] { cursor: pointer; }
.headshot[data-reel]:hover { border-color: var(--tungsten); }

.play-badge {
  position: absolute; right: 0.7rem; bottom: 0.7rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: rgba(14, 12, 9, 0.72);
  border: 1px solid var(--tungsten);
  pointer-events: none;
}
.play-badge::after {
  content: '';
  position: absolute; left: 55%; top: 50%;
  transform: translate(-50%, -50%);
  border-left: 0.7rem solid var(--tungsten);
  border-top: 0.45rem solid transparent;
  border-bottom: 0.45rem solid transparent;
}

.talent-card .t-caption { padding: 0.75rem 0.15rem 0; }
.talent-card .t-caption h3 { font-size: 0.95rem; font-weight: 600; }
.talent-card .t-caption .meta {
  color: var(--dim); font-size: 0.78rem; margin-top: 0.15rem;
  letter-spacing: 0.04em;
}
.talent-card .t-bio {
  color: var(--dim); font-size: 0.82rem; margin-top: 0.4rem; line-height: 1.5;
}

/* ---------------------------------------------------- behind the scenes */

.bts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-top: 1.6rem;
}

.bts-card { margin: 0; }
.bts-open {
  display: block; width: 100%; padding: 0;
  border: 1px solid var(--line); background: var(--surface);
  cursor: zoom-in; overflow: hidden;
  aspect-ratio: 3 / 2;
}
.bts-open img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.25s ease;
}
.bts-open:hover img { transform: scale(1.03); }
.bts-open:hover { border-color: var(--tungsten); }

.bts-card figcaption {
  padding: 0.6rem 0.15rem 0;
  font-size: 0.85rem;
}
.bts-card figcaption .meta {
  display: block; color: var(--dim); font-size: 0.76rem;
  letter-spacing: 0.04em; margin-top: 0.1rem;
}

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(14, 12, 9, 0.92);
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-out; padding: 4vmin;
}
.lightbox img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  border: 1px solid var(--line);
}

/* ------------------------------------------------------- photo galleries */

.count-badge {
  position: absolute; left: 0.7rem; top: 0.7rem;
  padding: 0.15rem 0.55rem;
  background: rgba(14, 12, 9, 0.72);
  border: 1px solid var(--line);
  color: var(--screen);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
}
button.count-badge { cursor: zoom-in; }
button.count-badge:hover { border-color: var(--tungsten); color: var(--tungsten); }

.headshot[data-gallery] { cursor: zoom-in; }
.headshot[data-gallery]:hover { border-color: var(--tungsten); }

.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 3rem; height: 3rem;
  background: rgba(14, 12, 9, 0.72);
  border: 1px solid var(--line);
  color: var(--screen);
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
}
.lb-nav:hover { border-color: var(--tungsten); color: var(--tungsten); }
.lb-prev { left: max(1rem, 3vmin); }
.lb-next { right: max(1rem, 3vmin); }

.lb-counter {
  position: absolute; bottom: max(1rem, 3vmin); left: 50%;
  transform: translateX(-50%);
  color: var(--dim);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.1em;
}

/* ------------------------------------------------- bigger reel containers */

/* Actor/director sections: roomier cards than the model grid. */
.reel-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* While a reel is playing, the box widens from portrait to 16:9 so the
   video fills it instead of sitting letterboxed in a tall frame. */
.headshot.playing {
  aspect-ratio: 16 / 9;
  transition: aspect-ratio 0.25s ease;
}
