/* ═══════════════════════════════════════════════════════════
   DREAMSCAPE CINEMA — Responsive stylesheet
   Breakpoints:
     Desktop  : > 1024px  (3-column hero, side-by-side panels)
     Tablet   : 640–1024px (2-column where sensible)
     Mobile   : < 640px   (single column, everything stacks)
   ═══════════════════════════════════════════════════════════ */

:root {
  --blue:        #1f9bd1;
  --red:         #d71920;
  --navy:        #0d1b2a;
  --navy-mid:    #132233;
  --dark-text:   #1a1a1a;
  --mid-text:    #444;
  --light-bg:    #f4f4f4;
  --white:       #ffffff;
  --border:      #dce3e8;

  --gap:         clamp(16px, 2.5vw, 32px);
  --page-pad:    clamp(14px, 4vw, 48px);
  --radius:      8px;

  --font:        Arial, Helvetica, sans-serif;
}


/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--dark-text);
  background: var(--light-bg);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
ul  { list-style: none; }
a   { color: inherit; text-decoration: none; }

/* ── Skip link ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 10000;
  padding: 10px 20px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 6px 0;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }


/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr) minmax(0, 1.8fr);
  grid-template-areas: "identity photo news";
  align-items: stretch;
  background: var(--white);
  border-bottom: 3px solid var(--border);
  min-height: 340px;
}

/* Identity column */
.hero__identity {
  grid-area: identity;
  padding: var(--page-pad);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

/* Logo */
.logo__mark {
  width: clamp(160px, 20vw, 240px);
  height: auto;
}

/* Byline */
.hero__byline {
  font-size: clamp(11px, 1.1vw, 14px);
  color: var(--mid-text);
  line-height: 1.4;
  border-top: 2px solid var(--blue);
  padding-top: 8px;
  margin-top: 2px;
}
.hero__byline-role {
  color: var(--mid-text);
  font-style: italic;
}
.hero__byline strong {
  display: block;
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--dark-text);
}

/* Headline */
.hero__headline {
  line-height: 1;
  margin-top: 4px;
}
.hero__headline-creating {
  display: block;
  font-size: clamp(32px, 5.5vw, 80px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
}
.hero__headline-insanity {
  display: block;
  font-size: clamp(34px, 6vw, 88px);
  font-weight: 900;
  color: var(--red);
  letter-spacing: -1px;
}

/* Quote */
.hero__quote {
  font-size: clamp(12px, 1.15vw, 15px);
  color: var(--mid-text);
  font-style: italic;
  line-height: 1.55;
  padding-left: 18px;
  border-left: 3px solid var(--mid-text);
  margin-top: 4px;
}

/* Photo column */
.hero__photo-wrap {
  grid-area: photo;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

/* News panel */
.news-panel {
  grid-area: news;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  margin: var(--gap);
  padding: clamp(14px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  align-self: center;
}
.news-panel__heading {
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 400;
  color: var(--dark-text);
}
.news-panel__year {
  font-weight: 900;
  color: var(--red);
  font-size: 1.05em;
}
.news-panel__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-panel__item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.news-panel__item::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 5px;
}
.news-panel__link {
  font-size: clamp(12px, 1.05vw, 14px);
  color: var(--dark-text);
  line-height: 1.4;
  transition: color .15s;
}
.news-panel__link:hover { color: var(--blue); }
.news-panel__cta {
  display: inline-block;
  margin-top: 2px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.88em;
}


/* ═══════════════════════════════════════════════════════════
   CONTENT GRID — two equal columns on wide screens
   Left:  Hot Slate + Recent Projects
   Right: Backburner + Awards
   ═══════════════════════════════════════════════════════════ */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  border-bottom: 3px solid var(--border);
}

.content-col {
  display: flex;
  flex-direction: column;
}

/* Dividing line between the two columns */
.content-col--left {
  border-right: 3px solid var(--border);
}

/* Each section inside a column fills the column width */
.content-col .hot-slate,
.content-col .backburner {
  border-bottom: none;
}

/* ═══════════════════════════════════════════════════════════
   HOT SLATE
   ═══════════════════════════════════════════════════════════ */
.hot-slate {
  background: var(--white);
  padding: var(--gap) var(--page-pad);
  border-bottom: 3px solid var(--border);
}
.hot-slate__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: var(--gap);
}
.hot-slate__fire {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.hot-slate__title {
  font-size: clamp(18px, 2.5vw, 32px);
  font-weight: 900;
  color: var(--navy);
}
.hot-slate__title-hot { color: var(--red); }
.hot-slate__sub {
  font-size: clamp(12px, 1.1vw, 14px);
  color: var(--mid-text);
  margin-top: 4px;
}

.hot-slate__films {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.hot-slate__film {
  border-radius: var(--radius);
  overflow: hidden;
  background: #2a2a2a;
  position: relative;
}
.hot-slate__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.hot-slate__film:hover .hot-slate__img { transform: scale(1.03); }
.hot-slate__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff;
  font-size: clamp(11px, 1vw, 13px);
  text-align: center;
}


/* ═══════════════════════════════════════════════════════════
   BACKBURNER
   ═══════════════════════════════════════════════════════════ */
.backburner {
  background: var(--light-bg);
  padding: var(--gap) var(--page-pad);
  border-bottom: 3px solid var(--border);
}
.backburner__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin-bottom: 16px;
}
.backburner__title {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 700;
  color: var(--dark-text);
  white-space: nowrap;
}
.backburner__rule {
  flex: 1;
  min-width: 40px;
  border: none;
  border-top: 2px solid var(--blue);
  margin: 0;
  align-self: center;
}
.backburner__sub {
  width: 100%;
  font-size: clamp(12px, 1.1vw, 14px);
  color: var(--mid-text);
  font-style: italic;
  margin-top: -4px;
}

/* Horizontally scrollable row */
.backburner__scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.backburner__scroll-wrap::-webkit-scrollbar { height: 5px; }
.backburner__scroll-wrap::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }

.backburner__posters {
  display: flex;
  gap: 10px;
  width: max-content;
}
.backburner__poster {
  height: clamp(100px, 14vw, 160px);
  width: auto;
  border-radius: 5px;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .18s ease, filter .18s ease;
  flex-shrink: 0;
}
.backburner__poster:hover,
.backburner__poster:focus-visible {
  transform: scale(1.12);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
  outline: none;
  z-index: 2;
  position: relative;
}

.backburner__cta-wrap { display: flex; }
.btn-catalog {
  display: inline-block;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
  font-size: clamp(12px, 1.15vw, 14px);
  letter-spacing: .5px;
  padding: 9px 20px;
  border-radius: 5px;
  transition: background .15s, color .15s;
}
.btn-catalog:hover {
  background: var(--blue);
  color: #fff;
}


/* ═══════════════════════════════════════════════════════════
   RECENT PROJECTS
   ═══════════════════════════════════════════════════════════ */
.projects {
  background: var(--white);
  padding: var(--gap) var(--page-pad);
  border-bottom: 3px solid var(--border);
}
.projects__heading {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: var(--gap);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.project-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}
.project-card__poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.project-card__body {
  background: var(--navy-mid);
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.project-card__title {
  font-size: clamp(11px, 1.05vw, 14px);
  color: #fff;
  font-weight: 400;
  line-height: 1.35;
}
.project-card__series {
  color: var(--red);
  font-weight: 900;
}
.project-card__trailer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--blue);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 700;
  letter-spacing: .5px;
  transition: color .15s;
}
.project-card__trailer:hover { color: #fff; }
.project-card__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(28px, 3vw, 36px);
  height: clamp(28px, 3vw, 36px);
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: clamp(10px, 1vw, 13px);
  flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
.project-card__trailer:hover .project-card__play {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.project-card__watch {
  letter-spacing: .5px;
}

.project-card__trailer--placeholder {
  color: #888;
  cursor: not-allowed;
  opacity: .6;
}
.project-card__trailer--placeholder:hover {
  color: var(--red);
  opacity: .8;
}


/* ═══════════════════════════════════════════════════════════
   BOTTOM ROW — Awards · Photo · Investor/Contact
   ═══════════════════════════════════════════════════════════ */
.bottom-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "awards photo investor";
  gap: var(--gap);
  padding: var(--gap) var(--page-pad);
  background: var(--light-bg);
  flex: 1;
  align-items: center;
}

/* Awards */
.awards-block {
  grid-area: awards;
  text-align: center;
  padding: 16px;
}
.awards-block__icon {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 8px;
}
.awards-block__heading {
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 700;
  margin-bottom: 10px;
}
.awards-block__body {
  font-size: clamp(12px, 1.1vw, 14px);
  color: var(--mid-text);
  font-style: italic;
  line-height: 1.55;
  max-width: 260px;
  margin: 0 auto 12px;
}
.awards-block__laurels {
  font-size: clamp(18px, 2.5vw, 30px);
  color: #888;
  letter-spacing: 4px;
}

/* Award photo */
.award-photo {
  grid-area: photo;
  text-align: center;
}
.award-photo__img {
  width: clamp(200px, 24vw, 300px);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center center;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.award-photo__caption {
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 700;
  font-style: italic;
  color: var(--dark-text);
  margin-top: 8px;
  text-align: center;
}

/* Investor / contact */
.investor-block {
  grid-area: investor;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.55;
}
.investor-block__raise {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--dark-text);
}
.investor-block__star {
  color: var(--red);
  font-size: 1.2em;
  flex-shrink: 0;
  margin-top: 1px;
}
.investor-block__scripts {
  color: var(--mid-text);
  font-style: italic;
  padding-left: 18px;
}
.investor-block__email {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-style: italic;
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1.4;
  transition: color .15s;
}
.investor-block__email:hover { color: var(--blue); }
.investor-block__email-icon {
  font-size: 1.6em;
  flex-shrink: 0;
}
.investor-block__email strong {
  color: var(--red);
  font-style: normal;
}
.investor-block__email:hover strong { color: var(--blue); }


/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 20px var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.site-footer__copy {
  font-size: 13px;
  color: var(--mid-text);
}
.site-footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--mid-text);
  border-radius: 50%;
  border: 1.5px solid var(--border);
  transition: color .15s, border-color .15s, background .15s;
}
.site-footer__social-link svg { width: 18px; height: 18px; }
.site-footer__social-link:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: rgba(31,155,209,.07);
}
.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mid-text);
}
.site-footer__legal-link {
  color: var(--mid-text);
  transition: color .15s;
}
.site-footer__legal-link:hover { color: var(--blue); }


/* ═══════════════════════════════════════════════════════════
   TOAST (injected by site.js)
   ═══════════════════════════════════════════════════════════ */
.dc-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9999;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 14px 24px;
  max-width: 380px;
  width: calc(100vw - 48px);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,.45);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.dc-toast.dc-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.dc-toast.dc-toast--hiding {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet  640px – 1024px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Hero: drop the photo column, stack identity + news */
  .hero {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "identity news"
      "photo    photo";
    min-height: auto;
  }
  .hero__photo-wrap {
    height: clamp(220px, 32vw, 340px);
  }
  .hero__photo { object-position: center 18%; }


}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile  < 640px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {

  /* Hero: fully stacked */
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "identity"
      "photo"
      "news";
  }
  .hero__photo-wrap {
    height: clamp(240px, 65vw, 380px);
  }
  .hero__photo { object-position: center 15%; }
  .news-panel {
    margin: 12px;
    align-self: stretch;
  }

  /* Hot Slate: single column */
  .hot-slate__films {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hot-slate__img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
  }

  /* Backburner posters: slightly smaller */
  .backburner__poster { height: 90px; }

  /* Projects: 2-up grid (posters still readable) */
  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Content grid: single column, right col sections flow after left col */
  .content-grid {
    grid-template-columns: 1fr;
  }
  .content-col--left {
    border-right: none;
    border-bottom: 3px solid var(--border);
  }

  /* Bottom row: fully stacked */
  .bottom-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "awards"
      "photo"
      "investor";
  }
  .award-photo__img { width: 100%; max-width: 280px; margin: 0 auto; }

  /* Footer: center everything */
  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Very small  < 380px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
  .projects__grid { grid-template-columns: 1fr; }
}
