/* ---------- Design tokens ---------- */
:root {
  --blue-a: #272E40;
  --blue-b: #1C2139;
  --line: #3A4258;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --gold: #f0d780;
  --gold-dim: #c9b26c;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--blue-b);
  color: var(--text);
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.75;
}

h1, h2, h3 { font-family: 'Jost', sans-serif; font-weight: 400; margin: 0; letter-spacing: 0.03em; }
p { margin: 0 0 1.1em; color: var(--text); font-weight: 300; }
a { color: var(--gold); }
img { max-width: 100%; display: block; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-b);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.main-nav a:hover, .main-nav a.active { border-color: var(--gold); color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--blue-b); }
.hero img { width: 100%; height: auto; }
.hero-intro { background: var(--blue-b); padding: 56px 0 40px; text-align: center; border-bottom: 2px solid var(--line); }
.hero-intro p { max-width: 720px; margin-left: auto; margin-right: auto; font-size: 1.05rem; }

/* ---------- Sections ---------- */
section { padding: 72px 0; border-top: 2px solid var(--line); }
section:nth-of-type(odd) { background: var(--blue-a); }
section:nth-of-type(even) { background: var(--blue-b); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
}
.lede { max-width: 720px; margin: 0 auto 40px; text-align: center; }

/* ---------- Video embed ---------- */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  background-color: #05070a;
  isolation: isolate;
}
.video-embed.portrait { aspect-ratio: 9 / 16; max-width: 360px; margin: 0 auto; }
.video-embed::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 45%);
}
.video-embed .play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(10, 13, 18, 0.75);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: transform .2s, background .2s;
}
.video-embed:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); background: rgba(10,13,18,0.9); }
.video-embed .play-btn svg { width: 22px; height: 22px; fill: var(--gold); margin-left: 3px; }
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
  z-index: 3;
}

/* ---------- Production update cards ---------- */
.update-grid { display: grid; gap: 48px; }
.update-card { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.update-card:nth-child(even) .update-media { order: 2; }
.update-card h3 {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.update-card .update-title { font-size: 1.4rem; color: #fff; margin-bottom: 12px; font-family: 'Jost', sans-serif; }

/* ---------- Galleries ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; width: 100%; height: 100%; }
.gallery figure { margin: 0; }

/* ---------- Honour roll ---------- */
.honour-roll-list {
  list-style: none;
  margin: 0; padding: 0;
  columns: 3;
  column-gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.honour-roll-list li {
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 6px 0;
  text-align: center;
  break-inside: avoid;
}

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}
.testimonial img {
  width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 16px;
  border: 2px solid var(--gold-dim);
}
.testimonial blockquote { margin: 0 0 16px; font-style: italic; color: var(--text); font-size: 0.92rem; }
.testimonial .name { color: #fff; font-weight: 600; font-size: 0.95rem; }
.testimonial .role { color: var(--gold-dim); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Showreel ---------- */
.showreel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.showreel-item h3 { font-size: 1.05rem; color: #fff; margin: 14px 0 8px; font-family: 'Jost', sans-serif; }
.showreel-item p { font-size: 0.92rem; }
.showreel-item:last-child { grid-column: 1 / -1; max-width: calc(50% - 16px); margin: 0 auto; }

/* ---------- Single image blocks ---------- */
.figure-block { max-width: 780px; margin: 0 auto; }
.figure-block img { border-radius: 10px; border: 1px solid var(--panel-border); }
.figure-block--half { max-width: 390px; }
.figure-block--half a { display: block; cursor: pointer; }
.figure-caption { text-align: center; color: var(--text); font-size: 0.85rem; margin-top: 10px; }

/* ---------- Footer ---------- */
footer {
  border-top: 2px solid var(--line);
  padding: 40px 0;
  text-align: center;
  color: var(--text);
  font-size: 0.85rem;
}
footer a { color: var(--gold-dim); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .update-card { grid-template-columns: 1fr; }
  .update-card:nth-child(even) .update-media { order: 0; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .showreel-grid { grid-template-columns: 1fr; }
  .showreel-item:last-child { max-width: 100%; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .honour-roll-list { columns: 2; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--blue-b);
    flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height .25s ease;
    border-bottom: 2px solid var(--line);
  }
  .main-nav.open { max-height: 400px; }
  .main-nav a { padding: 14px 24px; border-bottom: 1px solid var(--panel-border); }
  .section-head h2 { font-size: 1.6rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .honour-roll-list { columns: 1; }
}
