/* Halenian — site styles */
:root {
  --bg: #0f0f0f;
  --bg-raised: #161616;
  --header: rgba(15, 15, 15, 0.92);
  --text: #ffffff;
  --muted: #a8a8a8;
  --line: #3a3a3a;
  --accent: #ff5900;
  --accent-ink: #111111;
  --green: #3f7652;
  --font-display: "Barlow", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --wrap: 1100px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; }
strong { font-weight: 400; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.display { font-family: var(--font-display); font-weight: 500; line-height: 1.15; }
.eyebrow { color: var(--muted); font-size: 16px; margin-bottom: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto; padding: 10px 48px; min-height: 64px;
}
.logo img { width: 104px; height: auto; }
.nav { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav a {
  display: block; padding: 10px 12px; text-decoration: none;
  font-size: 14px; letter-spacing: 0.05em; color: #fff; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .sub {
  position: absolute; top: 100%; left: 0; min-width: 180px;
  list-style: none; margin: 0; padding: 6px 0; background: #141414;
  border: 1px solid #262626; opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav li:hover > .sub, .nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: var(--font-body); font-weight: 300; font-size: 14px; letter-spacing: 0.03em;
  padding: 10px 26px; min-width: 142px; border: 1px solid transparent; cursor: pointer;
  transition: filter .15s, background .15s, color .15s;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { filter: brightness(1.12); }
.btn-dark { background: #282626; color: #fff; }
.btn-dark:hover { background: #fff; color: #000; }
.btn-green {
  background: var(--green); color: #fff; font-family: "Playfair Display", Georgia, serif;
  font-weight: 700; font-size: 18px; letter-spacing: 0.02em;
}
.btn-green:hover { filter: brightness(1.15); }
.btn-outline {
  background: transparent; color: #fff; border-color: #fff;
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 10px; letter-spacing: 0.15em;
}

/* ---------- Footer ---------- */
.site-footer { padding: 36px var(--gutter) 40px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- Home ---------- */
.hero {
  position: relative; min-height: calc(100vh - 64px); max-height: 900px;
  display: flex; align-items: flex-end; overflow: hidden; background: #000;
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.45)); }
.hero-copy {
  position: relative; z-index: 1; margin: 0 0 18vh 185px; max-width: 460px;
  border-left: 1px solid rgba(255,255,255,.8); padding-left: 28px;
}
.hero-copy h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(48px, 6vw, 72px); line-height: 1.15; margin-bottom: 18px; letter-spacing: 0.01em; }
.hero-copy p { margin: 0; }

.section { padding-top: 80px; padding-bottom: 80px; }
.work-strip h2 { font-size: 16px; color: var(--muted); margin: 0 0 24px; padding-left: 186px; }
.work-strip h2 a { color: var(--muted); }
.work-strip h2 a:hover { color: var(--accent); }
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 0 0 4px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track a { flex: 0 0 auto; scroll-snap-align: start; overflow: hidden; }
.carousel-track img { height: 381px; width: auto; transition: transform .4s ease, filter .3s; }
.carousel-track a:hover img { transform: scale(1.04); filter: brightness(1.1); }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.55); color: #fff; font-size: 22px; line-height: 44px;
}
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.about-home { text-align: center; padding: 34px 0 34px; }
.about-home .tag { color: var(--muted); margin-bottom: 4px; }
.about-home h2 { font-family: var(--font-display); font-weight: 500; font-size: 47px; margin-bottom: 14px; }
.about-home p { max-width: 935px; margin: 0 auto 24px; }

.feature-band {
  position: relative; min-height: 696px; display: flex; align-items: flex-end; justify-content: center;
  background: #737373 center / cover no-repeat; text-align: center; padding: 0 var(--gutter) 56px;
}
.feature-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); }
.feature-band > * { position: relative; }
.feature-band h2 { font-family: var(--font-display); font-weight: 500; font-size: 42px; line-height: 1.1; margin-bottom: 24px; }
.feature-band h2 span { display: block; font-size: 0.5em; margin-top: 6px; }

/* ---------- Page intro (Watch, Contact, About) ---------- */
.page-intro { padding: 140px 0 80px; }
.intro-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 980px; margin-left: 254px; }
.ruled { border-left: 1px solid rgba(255,255,255,.75); padding-left: 20px; margin-left: -21px; }
.page-intro h1, .page-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 6vw, 72px); line-height: 1.15; }
.page-intro .lede { max-width: 494px; }

/* ---------- Watch catalogue ---------- */
.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; padding-bottom: 60px; }
.catalog a { text-decoration: none; display: block; }
.catalog .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: #1a1a1a; margin-bottom: 14px; }
.catalog img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.catalog a:hover img { transform: scale(1.05); }
.catalog h3 { font-size: 16px; font-weight: 300; color: var(--muted); margin-bottom: 6px; }
.catalog p { font-size: 15px; line-height: 1.5; margin: 0; }

/* ---------- Film page ---------- */
.film { padding: 120px 0 100px; }
.film .back { color: var(--muted); text-decoration: none; display: inline-block; margin-bottom: 36px; }
.film .back:hover { color: var(--accent); }
.film-grid { display: grid; grid-template-columns: minmax(0, 637px) 278px; gap: 24px 60px; align-items: start; }
.film-grid h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 4vw, 47px); line-height: 1.2; }
.film-grid .meta { font-size: 14px; color: var(--muted); padding-top: 14px; border-left: 1px solid var(--line); padding-left: 16px; margin-left: -16px; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-grid .logline { font-style: italic; }

/* ---------- Seeing Someone ---------- */
.ss-hero {
  position: relative; min-height: 534px; display: flex; align-items: center;
  background: #222 center / cover no-repeat;
}
.ss-hero .title-card {
  background: rgba(15,15,15,.88); border-radius: 0 10px 10px 0; padding: 22px 60px 28px 60px;
  max-width: 580px; text-align: center;
}
.ss-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: 56px; line-height: 1.2; }
.ss-hero .title-card p { color: var(--muted); margin: 8px auto 0; max-width: 384px; line-height: 1.4; }
.prose { max-width: 900px; }
.prose h2 { font-size: 38px; color: var(--muted); font-weight: 200; margin: 0 0 22px; }
.credits { list-style: none; padding: 0; margin: 0 0 1.6em; }
.credits li { margin: 0; }
.credits .label { margin-bottom: 2px; }
.statement { max-width: 820px; margin: 0 auto; }
.statement ul { margin: 0 0 1em; padding-left: 28px; }
.gallery { position: relative; max-width: 864px; margin: 0 auto; }
.gallery-main { position: relative; aspect-ratio: 863 / 461; background: #000; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; scrollbar-width: thin; }
.gallery-thumbs button { flex: 0 0 auto; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .65; }
.gallery-thumbs button[aria-current="true"] { border-color: #fff; opacity: 1; }
.gallery-thumbs img { width: 92px; height: 56px; object-fit: cover; }
.gallery .carousel-btn { top: calc(50% - 33px); }

.script-preview { display: grid; grid-template-columns: 283px 400px; gap: 60px; justify-content: start; align-items: center; }
.script-preview h2 { font-size: 38px; color: var(--muted); font-weight: 200; grid-column: 1 / -1; margin-bottom: 0; }
.script-preview .page-img { box-shadow: 0 10px 40px rgba(0,0,0,.6); }

.support {
  position: relative; min-height: 762px; display: flex; align-items: center;
  background: #222 center / cover no-repeat;
}
.support::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 60%); }
.support .inner { position: relative; margin-left: 56%; max-width: 380px; padding: 60px 0; }
.support h2 {
  font-family: "Montserrat", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: 36px; line-height: 1.05; letter-spacing: 0.05em; margin-bottom: 22px;
}
.support .row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.ks { font-family: "Montserrat", sans-serif; font-weight: 800; letter-spacing: 0.02em; color: #05ce78; font-size: 19px; text-transform: uppercase; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; max-width: 520px; }
.form label { font-size: 14px; color: var(--muted); display: block; margin-bottom: 4px; }
.form input, .form textarea {
  width: 100%; background: transparent; color: #fff; font: inherit; font-weight: 300;
  border: 0; border-bottom: 1px solid #6b6b6b; padding: 8px 2px; border-radius: 0;
}
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--accent); }
.form textarea { min-height: 110px; resize: vertical; }
.form .btn { justify-self: start; }
.hidden { display: none; }
.signup { display: flex; gap: 12px; flex-wrap: wrap; max-width: 520px; margin-top: 18px; }
.signup input { flex: 1 1 220px; }

/* ---------- About ---------- */
.director { display: grid; grid-template-columns: minmax(0, 660px) 424px; gap: 28px; align-items: start; padding: 90px 0 80px 218px; max-width: 1330px; }
.director .head { border-left: 1px solid rgba(255,255,255,.75); padding-left: 20px; margin-left: -21px; }
.director .portrait img { width: 100%; height: auto; }
.center-title { text-align: center; font-family: var(--font-display); font-weight: 500; font-size: 47px; line-height: 1.2; }
.center-sub { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.work-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 471px)); gap: 13px; justify-content: center; margin: 0 auto 60px; }
.work-tiles a { position: relative; display: block; aspect-ratio: 471 / 314; overflow: hidden; text-decoration: none; }
.work-tiles img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; filter: brightness(.85); }
.work-tiles a:hover img { transform: scale(1.05); filter: brightness(.6); }
.work-tiles span {
  position: absolute; left: 0; right: 0; bottom: 8px; text-align: center;
  font-weight: 600; font-size: 30px; letter-spacing: 0.04em; text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.laurels { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 20px; max-width: 1120px; margin: 20px auto 0; }
.laurels img { height: 104px; width: auto; }
.laurels img.tall { height: 131px; }
hr.rule { border: 0; border-top: 1px solid var(--line); max-width: 980px; margin: 0 auto 36px; }

/* ---------- Work detail pages ---------- */
.role-head { text-align: center; padding: 100px 0 40px; }
.role-head .name { font-weight: 300; font-size: 20px; letter-spacing: 0.2em; }
.role-head h1 { font-weight: 500; font-size: clamp(44px, 7vw, 76px); letter-spacing: 0.02em; line-height: 1.2; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 22px; }
.card .img { aspect-ratio: 323 / 199; overflow: hidden; background: #1a1a1a; margin-bottom: 18px; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.card h2 { font-size: 20px; font-weight: 300; margin-bottom: 10px; }
.card .desc { min-height: 92px; }
.card dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 18px; margin: 8px 0 22px; }
.card dl.two { grid-template-columns: repeat(2, auto); }
.card dt { font-family: var(--font-display); font-weight: 500; font-size: 15px; grid-row: 1; }
.card dd { margin: 0; grid-row: 2; }
.card .btn { display: block; width: 142px; margin: 0 auto; }
.reel { max-width: 750px; margin: 0 auto 60px; }

.credit-table { width: 100%; border-collapse: collapse; margin: 0 0 50px; }
.credit-table th { text-align: left; font-weight: 400; font-size: 16px; letter-spacing: 0.04em; padding: 0 16px 18px 0; border-bottom: 1px solid var(--line); }
.credit-table td { padding: 11px 16px 11px 0; vertical-align: top; border-bottom: 1px solid #1f1f1f; }
.credit-table td:first-child { width: 38%; }
.table-section { font-weight: 400; font-size: 16px; letter-spacing: 0.08em; margin: 10px 0 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-copy { margin-left: 8vw; }
  .work-strip h2 { padding-left: var(--gutter); }
  .intro-grid { margin-left: 0; }
  .director { padding-left: var(--gutter); padding-right: var(--gutter); }
  .catalog { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .site-header .bar { padding: 8px 16px; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #111; padding: 8px 0 16px; gap: 0; max-height: calc(100vh - 64px); overflow-y: auto;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 24px; font-size: 16px; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: none; padding: 0 0 0 16px; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .film-grid { grid-template-columns: 1fr; }
  .film-grid .meta { border-left: 0; margin-left: 0; padding-left: 0; padding-top: 0; }
  .director { grid-template-columns: 1fr; }
  .director .portrait { max-width: 420px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .script-preview { grid-template-columns: 1fr; max-width: 420px; }
  .support { min-height: 0; }
  .support::before { background: rgba(0,0,0,.6); }
  .support .inner { margin: 0 auto; padding: 80px var(--gutter); }
  .credit-table td:first-child { width: auto; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .hero { min-height: 82vh; }
  .hero-copy { margin: 0 var(--gutter) 12vh; }
  .carousel-track { gap: 14px; padding-left: var(--gutter); }
  .carousel-track img { height: 300px; }
  .carousel-btn { display: none; }
  .about-home h2, .center-title { font-size: 36px; }
  .feature-band { min-height: 520px; }
  .feature-band h2 { font-size: 32px; }
  .page-intro { padding: 90px 0 50px; }
  .catalog, .cards, .work-tiles { grid-template-columns: 1fr; }
  .ss-hero { min-height: 420px; align-items: flex-end; }
  .ss-hero .title-card { border-radius: 0; padding: 18px var(--gutter) 22px; max-width: none; width: 100%; }
  .ss-hero h1 { font-size: 40px; }
  .prose h2, .script-preview h2 { font-size: 30px; }
  .laurels img { height: 82px; }
  .laurels img.tall { height: 96px; }
  .film { padding-top: 70px; }
  .credit-table thead { display: none; }
  .credit-table, .credit-table tbody, .credit-table tr, .credit-table td { display: block; width: 100%; }
  .credit-table tr { padding: 12px 0; border-bottom: 1px solid #262626; }
  .credit-table td { border: 0; padding: 0; color: var(--muted); font-size: 14px; }
  .credit-table td:first-child { color: #fff; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* YouTube click-to-play */
.yt { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt .play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%; background: rgba(0,0,0,.55); border: 2px solid rgba(255,255,255,.9); transition: background .2s, transform .2s;
}
.yt .play::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.yt:hover .play { background: var(--accent); transform: scale(1.06); }
@media (max-width: 1100px) { .ruled, .director .head { margin-left: 0; } }
@media (max-width: 600px) { .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.7) 85%); } }
/* Phones: zoom the banner video so the reel's built-in widescreen bars don't show */
@media (max-width: 699px) { .hero-media video { transform: scale(1.35); } }

/* Contact section (Home + About) */
.contact-band { padding: 90px 0 70px; border-top: 1px solid #1f1f1f; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 30px 60px; align-items: center; max-width: 860px; }
.contact-inner .ruled { margin-left: 0; }
.contact-email { display: inline-block; margin-top: 4px; color: var(--accent); font-weight: 300; font-size: 18px; text-decoration: none; border-bottom: 1px solid transparent; word-break: break-all; }
.contact-email:hover { border-bottom-color: var(--accent); }
@media (max-width: 700px) { .contact-inner { grid-template-columns: 1fr; } .contact-band { padding: 60px 0 40px; } }
#contact { scroll-margin-top: 64px; }
