/* Closer Cut — closercut.com
   Charcoal, film grain, amber/gold. Designed to read as a finished
   documentary house, not a placeholder landing page. */

:root {
  --bg: #0c0c0c;
  --bg-soft: #141413;
  --bg-card: #181816;
  --gold: #d6a040;
  --gold-hover: #e4b65a;
  --gold-dim: rgba(214, 160, 64, 0.28);
  --ink: #eeeae2;
  --ink-muted: #b8b3a8;
  --rule: rgba(238, 234, 226, 0.12);
  --font-display: "Antonio", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-condensed: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --wrap: 72rem;
  --wrap-narrow: 42rem;
  --header-h: 4.25rem;
  --radius: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: url("../assets/texture.webp");
  background-size: 512px 512px;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-hover);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: #1a1408;
  font-family: var(--font-condensed);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  top: 1rem;
  color: #1a1408;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(12, 12, 12, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-dim);
}

.header-inner,
.wrap,
.footer-inner {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #0c0c0c;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem 1.35rem;
}

.site-nav a {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header-h));
  background-color: var(--bg);
  background-image: url("../assets/grain-hero.webp");
  background-size: cover;
  background-position: center;
}

.sprocket {
  height: 3.25rem;
  flex: 0 0 auto;
  background: url("../assets/sprocket.webp") center / auto 100% repeat-x;
  opacity: 0.9;
  pointer-events: none;
}

.sprocket-bottom {
  transform: scaleY(-1);
}

.hero-inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.25rem 3.5rem;
}

.hero-logo {
  width: clamp(7.5rem, 18vw, 11.5rem);
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 12vw, 8rem);
  letter-spacing: 0.06em;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--ink);
}

.tagline {
  margin: 1.15rem 0 0;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.45rem;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: #1a1408;
  border-color: var(--gold);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-hover);
  color: #1a1408;
  border-color: var(--gold-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(238, 234, 226, 0.45);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

/* ----- Sections ----- */
.section {
  padding: 5.5rem 0;
  border-top: 1px solid var(--rule);
  background-color: var(--bg);
}

.section-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 18ch;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.prose {
  max-width: 62ch;
}

.prose p,
.lead {
  margin: 0 0 1.15rem;
  color: var(--ink);
}

.prose p:last-child,
.lead:last-child {
  margin-bottom: 0;
}

.lead {
  max-width: 58ch;
  color: var(--ink-muted);
  font-size: 1.2rem;
}

.wrap-narrow {
  width: min(var(--wrap-narrow), calc(100% - 2.5rem));
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

.manifesto {
  margin: 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--gold-dim);
}

.manifesto p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--ink);
}

/* ----- Production ----- */
.production-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.trailer {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(180deg, rgba(18, 18, 16, 0.2), rgba(8, 8, 8, 0.4)),
    url("../assets/hero.webp") center / cover;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  overflow: hidden;
}

.trailer-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.trailer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
}

.trailer-mark {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  opacity: 0.95;
}

.trailer-label {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.trailer-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----- Press facts ----- */
.facts {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.facts li {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 2rem;
}

.facts h3 {
  margin: 0;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.facts p {
  margin: 0;
  color: var(--ink);
}

/* ----- Contact ----- */
.section-contact {
  background: linear-gradient(180deg, rgba(20, 20, 18, 0.7), rgba(12, 12, 12, 0.4));
  text-align: center;
}

.section-contact .section-title,
.section-contact .lead,
.section-contact .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.section-contact .section-title {
  max-width: none;
}

.section-contact .lead {
  margin-bottom: 1.75rem;
}

.email-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 0.15rem;
}

.email-link:hover,
.email-link:focus-visible {
  color: var(--gold-hover);
  border-bottom-color: var(--gold-hover);
}

/* ----- Director ----- */
.section-director .section-title {
  max-width: none;
}

.section-director .prose {
  max-width: 62ch;
}

/* ----- Footer ----- */
.site-footer {
  border-top: 1px solid var(--gold-dim);
  background: #0a0a0a;
}

.footer-sprocket {
  opacity: 0.7;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 2.25rem 0 2.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--gold);
}

.icon {
  display: block;
  flex: 0 0 auto;
}

.copyright {
  margin: 0;
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ----- 404 ----- */
.page-not-found {
  min-height: calc(100svh - var(--header-h) - 8rem);
  display: flex;
  align-items: center;
  text-align: center;
  padding: 5rem 0;
}

.page-not-found .section-title {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.page-not-found .lead {
  margin: 0 auto 2rem;
}

/* ----- Layout breakpoints ----- */
@media (min-width: 720px) {
  .facts li {
    grid-template-columns: 14rem 1fr;
    align-items: baseline;
    padding: 1.55rem 0;
  }
}

@media (min-width: 900px) {
  .section {
    padding: 6.5rem 0;
  }

  .production-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
    align-items: center;
  }

  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: end;
  }

  .manifesto {
    padding: 0 0 0.2rem 2.25rem;
    border-top: none;
    border-left: 1px solid var(--gold-dim);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1.0625rem;
    background-attachment: scroll;
  }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 0.7rem 0 0.8rem;
  }

  .site-header {
    height: auto;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
  }

  .site-nav a {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
  }

  .section {
    padding: 4rem 0;
  }

  .header-inner,
  .wrap,
  .footer-inner,
  .wrap-narrow {
    width: min(var(--wrap), calc(100% - 1.75rem));
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 0 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  a {
    transition: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: #0c0c0c;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media print {
  .site-header,
  .sprocket,
  .hero-actions,
  .site-footer .footer-sprocket {
    /* keep header for context when a staffer prints the page */
  }

  body {
    background: #fff;
    color: #111;
    background-image: none;
  }

  a {
    color: #111;
  }
}
