@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;600;700&family=Barlow+Condensed:wght@500;600;700&display=swap');

:root {
  --cream: #f7f4ef;
  --white: #ffffff;
  --ink: #1a1a1a;
  --mid: #4a4a4a;
  --light: #888;
  --accent: #b8935a;
  --accent-dark: #9a7a48;
  --rule: #ddd8d0;
  --nav-h: 62px;
  --section-gap: 4rem;
  --max: 880px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.78;
  min-height: 100vh;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  height: var(--nav-h);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.wordmark {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span { color: var(--accent); }

nav ul { list-style: none; display: flex; gap: 2rem; }

nav ul a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  text-decoration: none;
  transition: color 0.2s;
}

nav ul a:hover,
nav ul a.active { color: var(--accent); }

/* ── HERO ─────────────────────────────────────── */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 5.5rem 2rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(184,147,90,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
  font-weight: 600;
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero .subtitle {
  font-size: 1rem;
  color: #aaa;
  max-width: 52ch;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.7;
}

.hero .cta-row {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-outline {
  background: transparent;
  color: #ccc;
  border: 1px solid #555;
}

.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── LAYOUT ───────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

section.block {
  padding: var(--section-gap) 0;
  border-bottom: 1px solid var(--rule);
}

section.block:last-child { border-bottom: none; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.6rem;
  display: block;
}

h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  color: var(--ink);
}

h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

p { margin-bottom: 1.25rem; color: var(--mid); }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }
em { font-style: italic; }

a { color: var(--accent); }

/* ── STAT STRIP ───────────────────────────────── */
.stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.stat-item .number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  margin-top: 0.3rem;
}

/* ── TIMELINE ─────────────────────────────────── */
.timeline { position: relative; padding-left: 2rem; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5rem; bottom: 0;
  width: 1px;
  background: var(--rule);
}

.timeline-item { position: relative; margin-bottom: 2.4rem; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 0.55rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  outline: 3px solid var(--cream);
  box-shadow: 0 0 0 1px var(--accent);
}

.timeline-year {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

/* ── CREDITS GRID ─────────────────────────────── */
.credits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.credit-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule);
}

.credit-title {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
  display: block;
}

.credit-meta {
  font-size: 0.8rem;
  color: var(--light);
  display: block;
  margin-top: 0.1rem;
}

/* ── TV CREDITS TABLE ─────────────────────────── */
.tv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.tv-table thead th {
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light);
  font-weight: 600;
  padding: 0 1rem 0.8rem 0;
  border-bottom: 1px solid var(--rule);
}

.tv-table tbody td {
  padding: 0.6rem 1rem 0.6rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--mid);
  vertical-align: top;
}

.tv-table tbody td:first-child { color: var(--ink); font-weight: 600; }
.tv-table tbody tr:last-child td { border-bottom: none; }
.tv-table tbody tr:hover td { background: rgba(184,147,90,0.04); }

/* ── FEATURE CARDS (homepage) ─────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 1.8rem;
  transition: box-shadow 0.2s;
}

.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.card-icon {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid var(--accent);
  display: inline-block;
  padding: 0.25rem 0.5rem;
  margin-bottom: 1.1rem;
}

.card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.88rem; margin-bottom: 0; }

/* ── FEATURED PRODUCTIONS (homepage) ─────────── */
.prod-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.prod-item {
  background: var(--cream);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.prod-name { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.prod-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  white-space: nowrap;
}

/* ── GALLERY GRID ─────────────────────────────── */
.gallery-note {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--light);
  font-size: 0.9rem;
}

/* ── CONTACT ──────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-detail {
  margin-bottom: 1.5rem;
}

.contact-detail .label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contact-detail .value {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 400;
}

.contact-detail .value a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.2s;
}

.contact-detail .value a:hover { border-color: var(--accent); }

.social-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }

.social-link {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  border: 1px solid var(--rule);
  padding: 0.4rem 0.9rem;
  transition: all 0.2s;
}

.social-link:hover { border-color: var(--accent); color: var(--accent); }

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: var(--ink);
  color: #555;
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

footer a { color: var(--accent); text-decoration: none; }
footer .footer-right { display: flex; gap: 1.5rem; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 700px) {
  nav ul { gap: 1rem; }
  nav ul a { font-size: 0.7rem; letter-spacing: 0.08em; }
  .card-grid { grid-template-columns: 1fr; }
  .credits-grid { grid-template-columns: 1fr; }
  .prod-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .tv-table .col-loc { display: none; }
  footer { flex-direction: column; text-align: center; }
  footer .footer-right { justify-content: center; }
}

/* ── SKIP LINK (accessibility) ───────────────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  z-index: 999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── SOCIAL ICON BADGE ───────────────────────── */
.sicon {
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  background: var(--ink);
  color: #fff !important;
  width: 2rem;
  height: 2rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── HERO IMAGE HOVER ────────────────────────── */
.hero-split .hero-image:hover img { filter: grayscale(0%); }

/* ── FILM TABLE HIGHLIGHT ────────────────────── */
.film-table .highlight td { background: rgba(184,147,90,0.06); }
