/* Global Genesis Group — static catalog site */
:root {
  --blue: #1e6bb8;
  --blue-dk: #154e88;
  --blue-soft: #e8f2fb;
  --ink: #14161a;
  --muted: #5c6570;
  --line: #d8dee6;
  --bg: #f4f6f8;
  --card: #ffffff;
  --header: #ffffff;
  --shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  --radius: 14px;
  --max: 1180px;
  --sans: "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dk); text-decoration: none; }
a:hover { color: var(--blue); text-decoration: underline; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

/* Header */
.site-header {
  background: var(--header);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}
.logo img { height: 52px; width: auto; }
.logo:hover { text-decoration: none; }
.burger {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}
#nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a, .nav summary {
  display: inline-block;
  padding: 8px 10px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 8px;
  list-style: none;
  cursor: pointer;
}
.nav summary::-webkit-details-marker { display: none; }
.nav a:hover, .nav summary:hover, .nav a[aria-current="page"] {
  background: var(--blue-soft);
  color: var(--blue-dk);
  text-decoration: none;
}
.nav details { position: relative; }
.nav details .sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 20;
}
.nav details[open] .sub, .nav details:hover .sub { display: grid; }
.nav .sub a { display: block; padding: 8px 12px; font-weight: 500; }
.nav details:hover { z-index: 21; }

/* Hero */
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 28px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.hero p { max-width: 70ch; margin: 0; color: var(--muted); font-size: 1.05rem; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 8px;
}

/* Sections */
.section { padding: 36px 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.section-head h2, .page-title {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 0 0 6px;
  font-weight: 600;
}
.page-lead { color: var(--muted); margin: 0 0 24px; max-width: 70ch; }
.count { color: var(--muted); font-size: 0.9rem; }

/* Poster grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,24,40,.12); text-decoration: none; color: inherit; }
.poster {
  aspect-ratio: 792 / 1224; /* matches The Hoodoos poster */
  background: #e6eaf0;
  overflow: hidden;
  position: relative;
}
.poster img, .poster .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.poster .ph {
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.05rem;
  background: linear-gradient(160deg, #4a6a8a, #1e2a38);
}
.card-body { padding: 10px 12px 12px; }
.card-body h3 { margin: 0 0 4px; font-size: 0.98rem; line-height: 1.3; font-weight: 650; }
.card-body .meta { color: var(--muted); font-size: 0.78rem; }

/* Title page */
.title-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 36px;
  align-items: start;
}
.poster-lg {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.poster-lg .poster { aspect-ratio: 792 / 1224; }
.title-meta .cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 16px; }
.chip {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue-dk);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}
.chip:hover { text-decoration: none; background: #d5e8f7; }
.cast, .logline, .format-note { margin: 0 0 10px; }
.logline { font-style: italic; color: #2a3340; }
.synopsis p { margin: 0 0 1em; max-width: 70ch; }
.date-line { color: var(--muted); font-size: 0.9rem; margin: 0 0 8px; }

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 22px 0 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* About / contact / press */
.prose { max-width: 74ch; }
.prose h2 { font-family: var(--serif); margin: 1.4em 0 0.4em; }
.prose p, .prose li { margin: 0 0 0.8em; }
.prose ul { padding-left: 1.2em; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.panel h2 { margin-top: 0; font-family: var(--serif); }
.address { font-style: normal; line-height: 1.6; }
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 650;
  text-decoration: none !important;
}
.btn:hover { background: var(--blue-dk); }
.btn-ghost {
  background: transparent;
  color: var(--blue-dk) !important;
  border: 1px solid var(--line);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.family {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
}
.family a { display: block; }
.family img { height: 72px; width: auto; filter: none; }

.press-list { display: grid; gap: 14px; }
.press-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.press-item h3 { margin: 0 0 6px; font-size: 1.1rem; }
.press-item .date { color: var(--muted); font-size: 0.85rem; }
.muted { color: var(--muted); }

.empty { color: var(--muted); padding: 24px 0; }

/* Footer */
.site-footer {
  margin-top: auto;
  background: #11161c;
  color: #c9d0d8;
  padding: 28px 0 22px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
}
.site-footer a { color: #dce7f4; }
.social { display: flex; gap: 14px; }

/* Lineup */
.lineup-hero { margin-bottom: 10px; }

@media (max-width: 800px) {
  .logo img { height: 42px; }
  .burger { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  #nav-toggle:checked ~ .nav, .header-inner:has(#nav-toggle:checked) .nav { display: flex; }
  .nav details .sub { position: static; box-shadow: none; border: 0; padding-left: 10px; display: none; }
  .nav details[open] .sub { display: grid; }
  .title-layout, .contact-grid { grid-template-columns: 1fr; }
  .poster-lg { max-width: 320px; }
}

/* Brand refresh: new GGG globe logo, light blue page, deep navy header */
:root { --bg: #dcebf8; --header: #08162b; --line: #b9d3ea; }
.site-header { border-bottom: 1px solid #12304f; box-shadow: 0 2px 14px rgba(8,22,43,.25); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 58px; width: auto; filter: drop-shadow(0 0 6px rgba(80,200,255,.35)); }
.logo .wordmark { color: #eaf4ff; font-family: var(--serif); font-size: 1.25rem; letter-spacing: .02em; white-space: nowrap; }
.nav a, .nav summary { color: #dbe9f7; }
.nav a:hover, .nav summary:hover, .nav a[aria-current="page"] { color: #ffffff; background: rgba(110,190,255,.18); }
.nav details .sub { background: #0d2140; border-color: #1b3d63; }
.nav .sub a { color: #dbe9f7; }
.burger { background: #0d2140; color: #eaf4ff; border-color: #2a4d75; }
.hero { background: linear-gradient(180deg, #c9e2f7 0%, #dcebf8 100%); border-bottom-color: #b9d3ea; }
@media (max-width: 900px) { .nav { background: #08162b; } .logo .wordmark { font-size: 1.05rem; } }

/* Category chips: one clear pill per tag */
.title-meta .cats .chip { background: #ffffff; color: #154e88; border: 1px solid #b9d3ea; white-space: nowrap; line-height: 1.4; }
.title-meta .cats .chip:hover { background: #eef6fd; }
.genre-line { margin: 0 0 10px; font-weight: 650; color: #154e88; letter-spacing: .02em; }

/* Header layout fix (mobile + tablet): brand never overlapped; Menu button hides when open */
.header-inner { flex-wrap: nowrap; }
.logo { min-width: 0; flex: 0 1 auto; }
.logo .wordmark { overflow: hidden; text-overflow: clip; }
.burger { flex: none; margin-left: auto; position: relative; z-index: 2; }
.nav-backdrop { display: none; }
@media (max-width: 1100px) and (min-width: 801px) {
  .logo img { height: 46px; }
  .logo .wordmark { font-size: 1rem; }
  .nav a, .nav summary { padding: 7px 7px; font-size: 0.86rem; }
  .header-inner { gap: 12px; }
  .logo { flex: none; }
  .nav { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; gap: 10px; padding: 8px 0; }
  .logo { flex: 1 1 auto; gap: 8px; }
  .logo img { height: 40px; }
  .logo .wordmark { font-size: 1.02rem; white-space: nowrap; }
  .burger { padding: 7px 12px; font-size: 0.92rem; line-height: 1.2; }
  .header-inner:has(#nav-toggle:checked) .burger, #nav-toggle:checked ~ .burger { display: none; }
  #nav-toggle:checked ~ .nav-backdrop { display: block; position: fixed; inset: 0; z-index: -1; background: rgba(4, 12, 26, .45); cursor: pointer; }
  .nav { order: 3; flex-basis: 100%; align-items: flex-end; text-align: right; gap: 2px; padding: 4px 0 12px; border-top: 1px solid #1b3d63; }
  .nav > a, .nav > details { width: auto; }
  .nav details { display: flex; flex-direction: column; align-items: flex-end; }
  .nav details .sub { padding: 0 0 4px; min-width: 0; background: transparent; text-align: right; }
  .nav .sub a { padding: 6px 12px; font-size: 0.88rem; color: #a9c8e6; }
  .nav summary::after { content: " \25BE"; font-size: .8em; }
  .nav details[open] summary::after { content: " \25B4"; }
}
@media (max-width: 360px) {
  .logo .wordmark { font-size: 0.92rem; }
  .logo img { height: 34px; }
}
