/* ============================================================
   THE PLAN A PRODUCTIONS — film-slate design system
   Anton (display) · Newsreader (editorial body) · Azeret Mono (labels)
   ============================================================ */

:root {
  --bg: #0c0b08;
  --bg-2: #14130e;
  --panel: #17150f;
  --yellow: #f2d544;
  --yellow-deep: #d9ba1e;
  --cream: #efe9d4;
  --muted: #97917e;
  --line: rgba(239, 233, 212, 0.14);
  --line-soft: rgba(239, 233, 212, 0.08);
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Newsreader", Georgia, serif;
  --font-mono: "Azeret Mono", "Courier New", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--yellow); color: #0c0b08; }

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

a { color: inherit; }

/* film grain over everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.5;
  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 type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: 0.01em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.ital { font-style: italic; font-weight: 400; }

.accent { color: var(--yellow); }

/* scene marker above section titles */
.scene {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.6rem;
}
.scene::after {
  content: ""; flex: 0 0 3.5rem; height: 1px;
  background: var(--yellow); opacity: 0.6;
}
.scene .tc { color: var(--muted); letter-spacing: 0.12em; }

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

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

section { position: relative; }

.section-pad { padding: clamp(4.5rem, 9vw, 8rem) 0; }

/* ---------- sprocket film strip ---------- */

.sprockets {
  height: 26px;
  background:
    radial-gradient(4.5px 6px at center, #0000 97%, #000 100%) 0 0 / 32px 26px repeat-x,
    var(--yellow);
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
.sprockets--dim {
  background:
    radial-gradient(4.5px 6px at center, var(--bg) 97%, #0000 100%) 0 0 / 32px 26px repeat-x,
    var(--bg-2);
  border-color: var(--line-soft);
}

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

.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  border-bottom: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-head .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
  max-width: 1400px; margin: 0 auto;
}
.wordmark {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: flex; align-items: baseline; gap: 0.5rem;
  color: var(--cream);
}
.wordmark b {
  font-weight: 400;
  background: var(--yellow); color: #0c0b08;
  padding: 0 0.4rem;
}
.wordmark small {
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.3em; color: var(--muted);
}

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
.site-nav a {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: var(--muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.site-nav a:hover { color: var(--cream); }
.site-nav a[aria-current="page"] { color: var(--yellow); border-color: var(--yellow); }
.site-nav .cta {
  color: #0c0b08; background: var(--yellow);
  padding: 0.55rem 1.1rem; border-bottom: none;
  transition: background 0.25s;
}
.site-nav .cta:hover { background: var(--cream); color: #0c0b08; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); color: var(--cream);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; padding: 0.5rem 0.9rem; cursor: pointer;
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 1rem clamp(1.25rem, 4vw, 3rem); border-bottom: 1px solid var(--line-soft); }
  .site-nav .cta { text-align: center; margin: 1rem clamp(1.25rem, 4vw, 3rem); padding: 0.9rem; }
}

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

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.8rem;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.btn:hover { background: var(--yellow); color: #0c0b08; transform: translateY(-2px); }
.btn--solid { background: var(--yellow); color: #0c0b08; }
.btn--solid:hover { background: var(--cream); border-color: var(--cream); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
}
.hero video, .hero > .hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,11,8,0.55) 0%, rgba(12,11,8,0.15) 40%, rgba(12,11,8,0.92) 88%);
}
.hero-inner { padding-bottom: clamp(3rem, 7vw, 5.5rem); padding-top: 9rem; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.8rem;
}
.hero .kicker::before {
  content: "REC"; color: #0c0b08; background: var(--yellow);
  padding: 0.15rem 0.5rem; letter-spacing: 0.18em;
  animation: blink 2.4s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }

.hero h1 {
  font-size: clamp(3rem, 9.5vw, 8.2rem);
  max-width: 12ch;
}
.hero h1 .fill-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--yellow);
}
.hero .lede {
  max-width: 46ch;
  margin-top: 1.8rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}
.hero .lede em { color: var(--cream); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

/* staggered load-in */
.hero .kicker, .hero h1, .hero .lede, .hero .actions {
  opacity: 0; transform: translateY(24px);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero h1 { animation-delay: 0.12s; }
.hero .lede { animation-delay: 0.26s; }
.hero .actions { animation-delay: 0.4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--yellow);
  border-top: 2px solid #000; border-bottom: 2px solid #000;
  padding: 0.7rem 0;
}
.marquee .track {
  display: flex; gap: 3rem; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: 0.06em;
  color: #0c0b08; white-space: nowrap;
}
.marquee span::after { content: "▪"; margin-left: 3rem; font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section titles ---------- */

.sec-title { font-size: clamp(2.2rem, 5.5vw, 4.2rem); max-width: 16ch; }
.sec-lede { color: var(--muted); max-width: 52ch; margin-top: 1.4rem; }
.sec-lede strong, .sec-lede em { color: var(--cream); }

/* ---------- about split ---------- */

.about-grid {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.about-figure { position: relative; }
.about-figure img { width: 100%; height: auto; filter: saturate(0.9); }
.about-figure::after {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--yellow); z-index: -1; opacity: 0.55;
}
.about-figure figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--bg); color: var(--muted);
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.5rem 0.9rem;
}

.about-copy p + p { margin-top: 1.2rem; }
.about-copy .pull {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-style: italic; line-height: 1.4;
  color: var(--cream);
  border-left: 3px solid var(--yellow);
  padding-left: 1.4rem;
  margin: 1.8rem 0;
}

/* ---------- services ---------- */

.svc-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }

.svc-grid {
  display: grid; gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

.svc {
  background: var(--bg);
  padding: 1.6rem 1.6rem 2rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  position: relative;
  transition: background 0.3s;
}
.svc:hover { background: var(--bg-2); }
.svc .num {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.2em; color: var(--muted);
}
.svc figure {
  aspect-ratio: 16 / 10; overflow: hidden;
  order: -1; margin: -1.6rem -1.6rem 0;
}
.svc figure img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.35) contrast(1.02);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s;
}
.svc:hover figure img { transform: scale(1.05); filter: grayscale(0) contrast(1.02); }
.svc h3 {
  font-family: var(--font-display); font-weight: 400;
  text-transform: uppercase; font-size: 1.45rem; letter-spacing: 0.02em;
}
.svc .tag { font-style: italic; color: var(--yellow); font-size: 1.02rem; }
.svc p { color: var(--muted); font-size: 0.98rem; }

/* ---------- reel band ---------- */

.reel-band {
  position: relative; isolation: isolate;
  padding: clamp(6rem, 14vw, 11rem) 0;
  text-align: center;
}
.reel-band video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9);
}
.reel-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(12, 11, 8, 0.72);
}
.reel-band h2 { font-size: clamp(2.4rem, 6vw, 5rem); margin: 0 auto; max-width: 16ch; }
.reel-band .mono { color: var(--yellow); display: block; margin-bottom: 1.4rem; }
.reel-band .btn { margin-top: 2.4rem; }

/* ---------- work / youtube ---------- */

.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin-top: 3rem;
}
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

.yt {
  position: relative; aspect-ratio: 16 / 9;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  overflow: hidden; cursor: pointer;
}
.yt img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s;
}
.yt:hover img { transform: scale(1.04); filter: saturate(1); }
.yt .play {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.yt .play span {
  width: 74px; height: 50px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  display: grid; place-items: center;
  transition: transform 0.25s;
}
.yt:hover .play span { transform: scale(1.1); }
.yt .play span::after {
  content: ""; width: 0; height: 0;
  border: 11px solid transparent; border-left: 18px solid #0c0b08;
  margin-left: 8px;
}
.yt figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.1rem 0.9rem;
  background: linear-gradient(transparent, rgba(12, 11, 8, 0.92));
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream);
}
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- gallery strip ---------- */

.strip-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.gallery-strip {
  display: flex; gap: 1rem;
  overflow-x: auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 1.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--yellow) var(--bg-2);
}
.gallery-strip figure {
  flex: 0 0 auto; scroll-snap-align: start;
  height: clamp(280px, 42vw, 420px);
  position: relative;
}
.gallery-strip img {
  height: 100%; width: auto;
  filter: saturate(0.9);
  transition: filter 0.3s;
}
.gallery-strip figure:hover img { filter: saturate(1.05); }
.gallery-strip figcaption {
  position: absolute; left: 0; bottom: 0;
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(12, 11, 8, 0.85); color: var(--muted);
  padding: 0.4rem 0.7rem;
}

/* ---------- gallery grid (portfolio) ---------- */

.gal-grid {
  columns: 3 320px; column-gap: 1rem;
  margin-top: 3rem;
}
.gal-grid figure { break-inside: avoid; margin-bottom: 1rem; position: relative; overflow: hidden; }
.gal-grid img { width: 100%; filter: saturate(0.9); transition: transform 0.5s, filter 0.3s; }
.gal-grid figure:hover img { transform: scale(1.03); filter: saturate(1.05); }

/* ---------- contact ---------- */

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info .big-mail {
  font-family: var(--font-display); text-transform: none;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  color: var(--yellow); text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  word-break: break-all;
}
.contact-info ul { list-style: none; margin-top: 2.2rem; }
.contact-info li { border-top: 1px solid var(--line-soft); }
.contact-info li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0.2rem;
  text-decoration: none;
  font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream);
  transition: color 0.25s, padding-left 0.25s;
}
.contact-info li a:hover { color: var(--yellow); padding-left: 0.8rem; }
.contact-info li a::after { content: "↗"; color: var(--yellow); }

form.slate {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
}
form.slate .full { grid-column: 1 / -1; }
form.slate label {
  display: block;
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.5rem;
}
form.slate input, form.slate textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  color: var(--cream);
  font-family: var(--font-body); font-size: 1.05rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s;
}
form.slate input:focus, form.slate textarea:focus {
  outline: none; border-color: var(--yellow);
}
form.slate textarea { resize: vertical; min-height: 140px; }
form.slate .btn { justify-self: start; }
@media (max-width: 560px) { form.slate { grid-template-columns: 1fr; } }

/* ---------- page hero (inner pages) ---------- */

.page-hero { padding: 10rem 0 4rem; border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { font-size: clamp(3rem, 8vw, 6.5rem); }

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

.site-foot { border-top: 1px solid var(--line-soft); background: var(--bg-2); }
.foot-grid {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: 3rem 0;
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.foot-grid img { width: 92px; height: 92px; object-fit: cover; border: 1px solid var(--line); }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; }
.foot-links a {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.25s;
}
.foot-links a:hover { color: var(--yellow); }
.foot-note {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); text-align: right; line-height: 2;
}
@media (max-width: 760px) { .foot-note { text-align: center; } }

/* ---------- scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal,
  .hero .kicker, .hero h1, .hero .lede, .hero .actions { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
