/* RLT Productions — "The Reel"
   Built from what real filmmaker sites do (Joe Simon, Jason Magbanua, Austen Paul):
   the footage is the design. Black and white, a book serif for film titles, plain sans for everything else.
   No effects: nothing moves except the films. */

@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-400-600.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-italic-400.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #0c0c0b;
  --bg-2: #161614;
  --ink: #f1efe9;
  --ink-2: #c9c5bc;
  --ink-3: #8d897f;
  --line: rgba(241, 239, 233, 0.14);
  --line-2: rgba(241, 239, 233, 0.32);
  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 3vw, 40px);
  --seam: 4px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Type */
.label { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.title { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.005em; }
.title--xl { font-size: clamp(44px, 6.4vw, 96px); }
.title--lg { font-size: clamp(36px, 4.4vw, 64px); }
.title--md { font-size: clamp(28px, 2.8vw, 40px); }
.title em { font-style: italic; }
.lede { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.prose { max-width: 38em; color: var(--ink-2); font-size: 18px; line-height: 1.7; }
.prose strong { color: var(--ink); font-weight: 500; }
.more { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.5em; font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.more:hover { border-color: var(--ink); }
.more svg { width: 14px; height: 14px; }

/* Buttons: one solid, one plain. */
.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.7em; min-height: 50px; padding: 0 26px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn:hover { background: transparent; color: var(--ink); }
.btn svg { width: 14px; height: 14px; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.play { white-space: nowrap; display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.play i { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--ink); border-radius: 50%; }
.play i svg { width: 14px; height: 14px; margin-left: 2px; }
.play:hover i { background: var(--ink); color: var(--bg); }

/* Header */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--gutter); transition: background-color 0.3s; }
.nav.is-solid, .nav--solid { background: var(--bg); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.brand svg { width: 26px; height: 26px; }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 36px); margin: 0; padding: 0; list-style: none; }
.nav__links a { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); padding: 8px 0; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__toggle { display: none; background: none; border: 0; padding: 10px 0; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.menu { position: fixed; inset: 0; z-index: 49; background: var(--bg); padding: 96px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.menu ol a { font-family: var(--serif); font-size: 40px; line-height: 1.2; text-decoration: none; }
.menu__foot { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.menu__foot a { text-decoration: none; }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}

/* Opening: footage full screen, a line of what he does, one button. */
.open { position: relative; height: 100vh; height: 100svh; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; background: #000; }
.open--page { height: 78vh; height: 78svh; min-height: 480px; }
.open__media { position: absolute; inset: 0; }
.open__media video, .open__media img { width: 100%; height: 100%; object-fit: cover; }
.open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,11,0.45) 0%, rgba(12,12,11,0) 22%, rgba(12,12,11,0) 50%, rgba(12,12,11,0.82) 100%); pointer-events: none; }
.open__inner { position: relative; z-index: 2; width: 100%; padding: 0 var(--gutter) clamp(32px, 6vh, 64px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.open__inner .label { color: var(--ink-2); display: block; margin-bottom: 14px; }
.open__inner .lede { margin: 18px 0 0; }

/* Rooms: walls of film frames, edge to edge, titled like the films they are. */
.room { padding-top: clamp(72px, 10vw, 140px); }
.room__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; padding: 0 var(--gutter) 24px; }
.room__head p { margin: 10px 0 0; color: var(--ink-3); max-width: 40em; }
.wall { display: grid; grid-template-columns: 1fr 1fr; gap: var(--seam); }
.film { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); border: 0; padding: 0; cursor: pointer; text-align: left; text-decoration: none; }
.film--wide { grid-column: 1 / -1; aspect-ratio: 2.39 / 1; }
.film img, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film video { opacity: 0; transition: opacity 0.4s; }
.film.is-playing video { opacity: 1; }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.35) 70%, rgba(0,0,0,0.78) 100%); pointer-events: none; }
.film__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(14px, 2vw, 26px) clamp(16px, 2.2vw, 30px); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.film__text { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55); }
.film__text b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.1; color: var(--ink); }
.film__text small { display: block; margin-top: 6px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.film--wide .film__text b { font-size: clamp(26px, 2.8vw, 42px); }
.film__cap i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(241,239,233,0.6); border-radius: 50%; opacity: 0; transition: opacity 0.3s; }
.film__cap i svg { width: 12px; height: 12px; margin-left: 2px; }
.film:hover .film__cap i, .film:focus-visible .film__cap i { opacity: 1; }
@media (max-width: 700px) {
  .wall { grid-template-columns: 1fr; }
  .film--wide { aspect-ratio: 16 / 9; }
  .film__cap i { opacity: 1; }
}

/* Filmed for */
.clients { padding: clamp(64px, 8vw, 110px) var(--gutter) 0; }
.clients ul { list-style: none; margin: 22px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.clients img { height: 34px; width: auto; filter: grayscale(1) brightness(0) invert(1); opacity: 0.72; }

/* Two columns: photo and words */
.pair { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(80px, 10vw, 140px) var(--gutter) 0; }
.pair--flip > :first-child { order: 2; }
.pair__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.pair__img img { width: 100%; height: 100%; object-fit: cover; }
.pair .title { margin: 0 0 22px; }
@media (max-width: 860px) { .pair { grid-template-columns: 1fr; } .pair--flip > :first-child { order: 0; } }

/* Get in touch */
.touch { padding: clamp(96px, 12vw, 170px) var(--gutter) clamp(72px, 9vw, 120px); }
.touch__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--seam); margin-top: 36px; }
.door { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(300px, 34vw, 460px); padding: clamp(22px, 3vw, 40px); overflow: hidden; text-decoration: none; background: var(--bg-2); }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: opacity 0.4s; }
.door:hover img { opacity: 0.75; }
.door > * { position: relative; }
.door .title { font-size: clamp(28px, 3vw, 44px); margin: 8px 0 18px; }
.door .more { align-self: flex-start; }
.touch__mail { margin-top: 28px; color: var(--ink-2); }
.touch__mail a { color: var(--ink); }
@media (max-width: 700px) { .touch__grid { grid-template-columns: 1fr; } }

/* Plain sections inside pages */
.block { padding: clamp(72px, 9vw, 130px) var(--gutter) 0; }
.block__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .block__head { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { white-space: nowrap; border: 1px solid var(--line-2); padding: 7px 14px; font-size: 13px; color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); margin-top: 40px; }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); margin-bottom: 18px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-family: var(--serif); font-size: 28px; line-height: 1.1; margin: 6px 0 10px; }
.card p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--seam); margin-top: clamp(64px, 8vw, 110px); }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr; } }
.gear { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 36px; border-top: 1px solid var(--line); padding-top: 28px; }
.gear h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.gear ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gear li span { display: block; }
.gear li small { color: var(--ink-3); font-size: 13px; }
@media (max-width: 860px) { .gear { grid-template-columns: 1fr 1fr; } }

/* Forms */
.formpage { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding: clamp(120px, 14vw, 170px) var(--gutter) clamp(80px, 10vw, 130px); }
.formpage__aside .title { margin: 12px 0 20px; }
.formpage__aside img { margin-top: 32px; width: 100%; max-width: 440px; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
@media (max-width: 900px) { .formpage { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-2); padding: 0; }
.field b { color: var(--ink); font-weight: 500; }
.input { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); border-radius: 0; font: inherit; font-size: 16px; }
.input:focus { outline: none; border-color: var(--ink); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
textarea.input { min-height: 150px; resize: vertical; }
.input::-webkit-calendar-picker-indicator { filter: invert(1); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.check { position: relative; cursor: pointer; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span { white-space: nowrap; display: inline-block; padding: 10px 16px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); }
.check input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.check input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form__status { margin: 0; font-size: 15px; color: var(--ink-2); }
.form__status.is-error { color: #ff9b8a; }
.form__status.is-ok { color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 22px; }
.legal { max-height: 520px; overflow: auto; padding-right: 16px; color: var(--ink-2); font-size: 15px; line-height: 1.7; border-top: 1px solid var(--line); padding-top: 20px; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px var(--gutter) 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; font-size: 14px; color: var(--ink-3); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }

/* Film player */
.player { width: min(1280px, 100vw - 2 * var(--gutter)); max-width: none; padding: 0; border: 0; background: transparent; color: var(--ink); }
.player::backdrop { background: rgba(0, 0, 0, 0.92); }
.player__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 14px; }
.player__title { font-family: var(--serif); font-size: 24px; }
.player__tabs { display: flex; gap: 8px; }
.player__tabs button { background: none; border: 1px solid var(--line-2); padding: 8px 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.player__tabs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.player__close { background: none; border: 0; padding: 8px 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.player__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Film pages: one film, playing in the page */
.watch { padding: clamp(88px, 8vw, 112px) var(--gutter) 0; }
.watch__frame, .watch__head { max-width: 1400px; margin: 0 auto; }
.watch__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.watch__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; padding-top: 28px; }
.watch__head .label { margin: 0 0 12px; }
.watch__head .label a { text-decoration: none; }
.watch__head .label a:hover { color: var(--ink); }
.watch__head .lede { margin: 14px 0 0; }

/* 404 */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.lost .lede { margin: 18px auto 28px; }
.lost .btn-row { justify-content: center; }

/* Square and small logos need more height to read at the same weight as the wide ones. */
.clients img[src*="castor"], .clients img[src*="pumptrakr"] { height: 50px; }
@media (max-width: 900px) { .formpage__aside img { display: none; } }

/* Questions (also published as FAQ structured data) */
.faq dl { margin: 0; display: grid; gap: 26px; }
.faq dt { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--ink); }
.faq dd { margin: 8px 0 0; color: var(--ink-2); max-width: 38em; }
.form__note { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--ink-3); }
.form__note a { color: var(--ink-2); }
.prose h2 { margin: 36px 0 10px; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }

/* Kind words: Blake's Google reviews */
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: 32px; border-top: 1px solid var(--line); padding-top: 32px; }
.reviews__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reviews__grid--1 { grid-template-columns: minmax(0, 46em); }
.reviews figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.reviews__stars { color: var(--ink-2); letter-spacing: 0.18em; font-size: 13px; }
.reviews blockquote { margin: 0; font-family: var(--serif); font-size: clamp(20px, 1.6vw, 24px); line-height: 1.4; color: var(--ink); }
.reviews figcaption { font-size: 13px; color: var(--ink-3); }
.reviews figcaption b { display: block; color: var(--ink-2); font-weight: 500; font-size: 15px; margin-bottom: 2px; }
@media (max-width: 860px) { .reviews__grid, .reviews__grid--4 { grid-template-columns: 1fr; } }
.reviews__more { margin: 36px 0 0; }
