/* ---------- Brand tokens ---------- */
:root {
  --bg: #FAF8F4;        /* warm off-white */
  --surface: #F1EDE5;   /* cards, placeholders */
  --ink: #1A1A1A;       /* main text */
  --muted: #6B6660;     /* secondary text */
  --line: #E2DDD3;      /* dividers */
  --accent: #B5552B;    /* warm clay, a nod to film */
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 32px; }
h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
p + p { margin-top: 16px; }
.eyebrow, .meta, .num {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.num { color: var(--accent); margin-bottom: 8px; }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; margin: 24px 0 32px; }

/* ---------- Buttons ---------- */
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 500; font-size: 15px;
  transition: transform .15s, background .15s;
}
.btn:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-small { padding: 9px 18px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; max-width: var(--max); margin: 0 auto;
  background: rgba(250, 248, 244, .9); backdrop-filter: blur(8px);
}
.logo { font-family: var(--serif); font-weight: 600; font-size: 20px; }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav nav a:not(.btn):hover { color: var(--accent); }

/* ---------- Placeholders (swap for real images) ---------- */
.placeholder {
  background: var(--surface); border-radius: 16px;
  display: grid; place-items: center; color: var(--muted); font-size: 14px;
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero-photo { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: center 75%; border-radius: 16px; display: block; }

/* ---------- Client logos (auto-scrolling loop) ---------- */
.clients {
  display: flex; align-items: center; gap: 40px;
  padding-top: 32px; padding-bottom: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.clients > p { flex-shrink: 0; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.marquee {
  display: flex; overflow: hidden; flex: 1;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.track { display: flex; align-items: center; gap: 64px; padding-right: 64px; flex-shrink: 0; animation: scroll 32s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-100%); } }
.clients img {
  height: 34px; width: auto; max-width: 160px; object-fit: contain; display: block;
  filter: brightness(0); opacity: .55; transition: opacity .2s;
}
.clients img.tall { height: 50px; }
.clients img.invert { filter: grayscale(1) invert(1) contrast(1.4); }
.clients img:hover { opacity: .9; }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } }

/* ---------- Sections ---------- */
.section { padding-top: 112px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.still { aspect-ratio: 16 / 9; margin-bottom: 18px; }
.poster { aspect-ratio: 3 / 4; margin-bottom: 18px; width: 100%; object-fit: cover; border-radius: 16px; display: block; box-shadow: 0 16px 40px rgba(26,26,26,.12); }
.current {
  display: flex; align-items: center; gap: 32px; margin-bottom: 48px;
  background: var(--surface); border-radius: 16px; padding: 28px 32px;
}
.current img { height: 36px; width: auto; flex-shrink: 0; }
.current .meta { margin-bottom: 2px; }
.current p:last-child { font-size: 18px; }
.card .meta { margin-bottom: 4px; }
.card p:last-child { color: var(--muted); font-size: 16px; }

.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.about p { max-width: 580px; }
.about-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; border-radius: 16px; display: block; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px;
  border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; font-weight: 500;
  transition: box-shadow .15s, color .15s;
}
.socials a:hover { color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.socials svg { width: 20px; height: 20px; }

.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.press-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border-radius: 16px; padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.press-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(26,26,26,.08); }
.press-logo { height: 30px; width: auto; max-width: 180px; object-fit: contain; object-position: left; margin-bottom: 18px; filter: brightness(0); }
.press-card h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.3; flex: 1; }
.press-card .arrow { font-size: 14px; font-weight: 500; color: var(--accent); margin-top: 8px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.services { display: grid; gap: 24px; }
.services p { color: var(--muted); font-size: 16px; }

/* ---------- Form ---------- */
.form { display: grid; gap: 18px; background: var(--surface); border-radius: 16px; padding: 32px; margin-top: 76px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; outline: none; transition: border-color .15s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); }
.form textarea { resize: vertical; }
.form button { border: 0; cursor: pointer; justify-self: start; }
.hidden { display: none; }

.thanks { min-height: 100vh; display: grid; place-content: center; text-align: center; justify-items: center; }

/* ---------- Footer ---------- */
.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-top: 120px; padding-top: 32px; padding-bottom: 48px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
.footer nav { display: flex; gap: 24px; }
.footer a:hover { color: var(--accent); }

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .nav nav a:not(.btn) { display: none; }
  .hero, .about { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 40px; }
  .hero-photo { max-width: 360px; }
  .grid, .services { grid-template-columns: 1fr; }
  .current { flex-direction: column; align-items: flex-start; gap: 16px; }
  .poster { max-width: 360px; }
  .press-grid, .contact { grid-template-columns: 1fr; }
  .form { margin-top: 0; }
  .clients { flex-direction: column; align-items: flex-start; gap: 20px; }
  .marquee { width: 100%; }
  .track { gap: 40px; padding-right: 40px; }
  .clients img { height: 26px; }
  .section { padding-top: 80px; }
}

/* Per-logo size tweaks so they read at the same visual weight */
.press-logo.ksl { height: 44px; margin-top: -7px; margin-bottom: 11px; }
@media (max-width: 820px) { .clients img.tall { height: 40px; } }
.poster.placeholder { display: grid; }

/* ---------- Laurels (scrolling strip, styled like the client logos) ---------- */
.awards { margin-top: 72px; padding-left: 0; padding-right: 0; }
.awards .track { gap: 40px; padding-right: 40px; animation-duration: 48s; }
.awards li { width: 150px; flex-shrink: 0; opacity: .5; transition: opacity .2s; }
.awards li:hover { opacity: .9; }
.laurel {
  container-type: inline-size; aspect-ratio: 900 / 583;
  background: url(images/laurels/laurel-blank.png) center / contain no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 4% 19% 0; text-transform: uppercase; line-height: 1.08; color: var(--ink);
}
.l-top { font-size: 7cqw; letter-spacing: .06em; }
.l-name { font-size: 11cqw; font-weight: 600; margin: 3cqw 0; letter-spacing: -.01em; }
.l-sub { font-size: 7.5cqw; font-weight: 500; }
.laurel-img { width: 100%; aspect-ratio: 900 / 583; object-fit: contain; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 820px) { .awards li { width: 120px; } }
.awards .laurel-img { height: auto; max-width: none; width: 100%; opacity: 1; filter: none; }
.poster.contain { object-fit: contain; background: #0d0d0d; }

/* Strips are swipeable/draggable when JavaScript is on (see script at bottom of index.html) */
.js .marquee { overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; touch-action: pan-x pan-y; }
.js .marquee::-webkit-scrollbar { display: none; }
.js .marquee .track { animation: none; }
.js .marquee.dragging { cursor: grabbing; }
.marquee img, .marquee li { -webkit-user-drag: none; user-select: none; }

/* ---------- Overflow fix ----------
   The hidden film names (.sr-only) were positioned against the whole page, not their
   laurel, so they sat far off to the right and let phones/trackpads swipe into blank
   space. Anchoring them to their <li> keeps them inside the strip. */
.marquee li { position: relative; }
body { overflow-x: clip; }

/* Divider lines line up with the content edges instead of running 24px past them */
.clients:not(.awards), .footer { width: calc(100% - 48px); max-width: calc(var(--max) - 48px); padding-left: 0; padding-right: 0; }

/* ---------- Phone layout ---------- */
@media (max-width: 820px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(36px, 10vw, 44px); }
  h2 { font-size: 30px; margin-bottom: 24px; }
  .section { padding-top: 72px; }
  .nav { padding: 14px 24px; }

  /* Hero: face first, then the message */
  .hero { padding-top: 16px; padding-bottom: 48px; gap: 28px; }
  .hero-photo { order: -1; max-width: none; aspect-ratio: 1 / 1; object-position: center 40%; }
  .lead { font-size: 17px; margin: 18px 0 28px; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .actions .btn { text-align: center; padding: 14px 12px; }

  /* "Currently" card: logo fits inside the card */
  .current { padding: 24px; margin-bottom: 32px; }
  .current img { height: auto; max-width: 100%; max-height: 32px; }
  .current p:last-child { font-size: 16px; }

  /* Posters and press: swipeable rows that peek the next card, instead of a long stack */
  .grid.posters, .press-grid {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -24px; padding: 4px 24px 28px; scroll-padding: 0 24px;
    overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .grid.posters::-webkit-scrollbar, .press-grid::-webkit-scrollbar { display: none; }
  .grid.posters .card { flex: 0 0 76%; scroll-snap-align: start; }
  .poster { max-width: none; box-shadow: 0 10px 24px rgba(26,26,26,.14); }
  .card h3 { font-size: 18px; }
  .card p:last-child { font-size: 15px; }
  .press-card { flex: 0 0 82%; scroll-snap-align: start; padding: 24px; }
  .press-card:hover { transform: none; box-shadow: none; }
  .press-card h3 { font-size: 19px; }
  .press-logo { margin-bottom: 8px; }

  .awards { margin-top: 32px; }

  /* About: photo right under the heading, all three social buttons on one row */
  .about { gap: 24px; }
  .about-photo { order: -1; }
  .socials { gap: 8px; margin-top: 24px; }
  .socials a { padding: 9px 13px 9px 10px; font-size: 13px; gap: 6px; }
  .socials svg { width: 18px; height: 18px; }

  /* Contact */
  .contact { gap: 32px; }
  .services { gap: 18px; }
  .services h3 { font-size: 17px; margin-bottom: 2px; }
  .services p { font-size: 15px; }
  .form { padding: 24px; }
  .form button { justify-self: stretch; text-align: center; }

  .footer { margin-top: 72px; padding-bottom: 40px; }
}
