/* His Eyes Production: direction A "Slate" (cinematic dark, tungsten amber).
   Own stylesheet; the engine's base/components CSS is not loaded. */
:root {
  --bg: #0e1013;
  --bg-2: #15181c;
  --card: #1a1d22;
  --line: #2a2e35;
  --fg: #ecebe7;
  --fg-2: #c9c6bf;
  --fg-3: #9a9790;
  --amber: #e8a75a;
  --amber-hi: #f4c48a;
  --rec: #e0533d;
  --display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --wrap: 1200px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); }
a:hover { color: var(--amber-hi); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--bg); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; line-height: 0.95; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 1px; color: var(--fg-3); }
.draft-ribbon { background: var(--amber); color: var(--bg); text-align: center; font-size: 14px; font-weight: 600; padding-block: 6px; }

/* Header */
.hep-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(14,16,19,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hep-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 16px; }
.hep-logo { color: var(--fg); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: 2px; }
.hep-logo span { color: var(--amber); }
.hep-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-weight: 500; font-size: 15px; }
.hep-nav a { color: var(--fg); text-decoration: none; padding-block: 10px; }
.hep-nav a:hover { color: var(--amber); }
.hep-nav a.cta { color: var(--amber); }

/* Hero: full-bleed still under a dark gradient (image-led first screen) */
.hero { position: relative; overflow: hidden; min-height: min(86vh, 820px); display: flex; align-items: flex-end; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,16,19,0.92) 0%, rgba(14,16,19,0.7) 45%, rgba(14,16,19,0.25) 100%), linear-gradient(0deg, rgba(14,16,19,0.95) 0%, rgba(14,16,19,0) 45%); }
.hero-inner { width: 100%; padding-block: 120px 64px; display: flex; flex-direction: column; gap: 22px; }
.hero .slate { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--fg-2); }
.hero .rec { color: var(--rec); }
.hero h1 { font-size: clamp(56px, 10vw, 128px); }
.hero .lede { max-width: 34em; font-size: 19px; color: var(--fg); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn-solid { background: var(--amber); color: var(--bg); border: 1px solid var(--amber); }
.btn-solid:hover { background: var(--amber-hi); color: var(--bg); }
.btn-ghost { color: var(--fg); border: 1px solid rgba(236,235,231,0.6); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

/* Proof strip */
.proof { border-bottom: 1px solid var(--line); background: var(--bg); }
.proof .wrap { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; padding-block: 18px; color: var(--fg-2); text-transform: uppercase; }

/* Discipline tiles: photo card, pill, title, one line, link */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { grid-column: span 2; position: relative; display: flex; min-height: 300px; overflow: hidden; border: 1px solid var(--line); background: var(--card); color: var(--fg); text-decoration: none; isolation: isolate; }
.tile:nth-child(-n+2) { grid-column: span 3; min-height: 380px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,16,19,0.95) 0%, rgba(14,16,19,0.55) 50%, rgba(14,16,19,0.15) 100%); }
.tile:hover img { transform: scale(1.04); }
.tile-body { margin-top: auto; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pill { font-size: 12px; font-weight: 600; background: var(--fg); color: var(--bg); padding: 3px 10px; border-radius: 999px; }
.tile strong { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: clamp(28px, 3vw, 36px); line-height: 1; }
.tile-line { color: var(--fg-2); font-size: 15px; max-width: 32em; }
.tile-more { margin-top: 4px; font-size: 14px; font-weight: 600; border: 1px solid rgba(236,235,231,0.6); border-radius: 999px; padding: 8px 16px; }
.tile:hover .tile-more { border-color: var(--amber); color: var(--amber); }
@media (max-width: 900px) { .tile, .tile:nth-child(-n+2) { grid-column: span 3; min-height: 300px; } .tile:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .tile, .tile:nth-child(-n+2), .tile:last-child { grid-column: 1 / -1; min-height: 260px; } }

.reel { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.reel img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity .3s, transform .6s; }
.reel:hover img { opacity: 1; transform: scale(1.02); }
.play { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 12px; background: var(--amber); color: var(--bg); font-weight: 700; padding: 12px 20px; font-size: 16px; }
.play::before { content: ""; border-left: 12px solid var(--bg); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.reel .cap { position: absolute; right: 24px; bottom: 28px; font-family: var(--mono); font-size: 12px; color: var(--fg); background: rgba(14,16,19,0.7); padding: 4px 8px; }

/* Sections */
.section { padding-block: 64px; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.head h2 { font-size: clamp(40px, 6vw, 64px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { background: transparent; color: var(--fg); border: 1px solid #3a3f47; padding: 10px 16px; font: inherit; font-size: 14px; cursor: pointer; min-height: 44px; }
.filters button[aria-pressed="true"] { background: var(--amber); color: var(--bg); border-color: var(--amber); font-weight: 600; }

/* Stills grid (masonry by columns) */
.stills { columns: 3 320px; column-gap: 16px; }
.still { break-inside: avoid; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.still img { width: 100%; border: 1px solid var(--line); }
.still figcaption { font-size: 13px; color: var(--fg-3); }

/* Films */
.films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .films { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .films { grid-template-columns: minmax(0, 1fr); } }
.film { display: flex; flex-direction: column; gap: 10px; color: var(--fg); text-decoration: none; min-width: 0; }
.film .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.film .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.film:hover .thumb img { transform: scale(1.04); }
.film .thumb::after { content: "▶"; position: absolute; right: 10px; bottom: 10px; font-size: 13px; background: rgba(14,16,19,0.75); color: var(--amber); padding: 4px 9px; }
.film strong { font-weight: 600; font-size: 16px; }
.film:hover strong { color: var(--amber); }

/* Credits */
.credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .credits { grid-template-columns: minmax(0, 1fr); } }
.credit { border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.credit h3 { font-family: var(--display); font-size: 28px; text-transform: uppercase; letter-spacing: 1px; }
.credit p { color: var(--fg-2); font-size: 15px; }

/* Split layout (contact) */
.split { display: flex; flex-wrap: wrap; gap: 40px; }
.split > h2 { flex: 1 1 280px; font-size: clamp(40px, 6vw, 64px); }

/* About: light card cut on an angle against a full photo */
.about { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--bg); padding-block: 64px; overflow: hidden; }
.about-card { position: relative; z-index: 1; background: var(--fg); color: var(--bg); padding: 56px max(24px, calc((100vw - var(--wrap)) / 2 + 20px)); padding-right: 64px; display: flex; flex-direction: column; gap: 18px; justify-content: center; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); margin-right: -12%; }
.about-card h2 { font-size: clamp(40px, 6vw, 64px); }
.about-copy { display: flex; flex-direction: column; gap: 14px; font-size: 17px; color: #2a2e35; max-width: 34em; padding-right: 12%; }
.about-link { color: var(--bg); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; text-underline-offset: 6px; }
.about-link:hover { color: #7a4a12; }
.about-photo { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); min-height: 420px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .about { grid-template-columns: minmax(0, 1fr); padding-block: 0; }
  .about-card { clip-path: none; margin-right: 0; padding: 48px 20px; }
  .about-copy { padding-right: 0; }
  .about-photo { clip-path: none; min-height: 260px; order: -1; }
}

/* Contact */
.contact { background: var(--amber); color: var(--bg); }
.contact .split > h2 { color: var(--bg); }
.contact form { flex: 2 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .contact form { grid-template-columns: minmax(0, 1fr); } }
.contact label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.contact .full { grid-column: 1 / -1; }
.contact input, .contact textarea { padding: 12px; border: 1px solid var(--bg); background: var(--amber-hi); color: var(--bg); font: inherit; font-weight: 400; }
.contact button { justify-self: start; background: var(--bg); color: var(--fg); border: 0; padding: 14px 28px; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; }
.contact button[disabled] { opacity: 0.6; cursor: not-allowed; }
.contact .note { font-size: 14px; }

/* Plain pages */
.page { padding-block: 56px; display: flex; flex-direction: column; gap: 20px; }
.page h1 { font-size: clamp(44px, 7vw, 72px); }
.prose { max-width: 68ch; color: var(--fg-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--display); text-transform: uppercase; color: var(--fg); font-size: 32px; margin-top: 1.6em; }

/* Footer: brand + link columns */
.hep-footer { border-top: 1px solid var(--line); }
.foot-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-block: 48px 32px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 26em; }
.foot-brand p { color: var(--fg-3); font-size: 15px; }
.hep-footer nav { display: flex; flex-direction: column; gap: 8px; }
.hep-footer h3 { color: var(--fg-3); font-weight: 400; text-transform: uppercase; margin-bottom: 4px; }
.hep-footer nav a { color: var(--fg); text-decoration: none; font-size: 15px; padding-block: 4px; }
.hep-footer nav a:hover { color: var(--amber); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 20px 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-3); }
.foot-legal a { color: var(--fg-2); }
@media (max-width: 640px) { .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
