/* ===== EDIT: brand colours ===== */
:root {
  --accent: #ffd401;      /* buttons and highlights */
  --ink: #111111;         /* dark text and backgrounds */
  --paper: #ffffff;
  --muted: #5c5c5c;
  /* Logo and bold headings. Impact is built into Windows and Mac; phones lack it and get Anton, a close match. */
  --display: Impact, "Anton", "Arial Narrow Bold", sans-serif;
}

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

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a { color: inherit; }

/* ===== Logo and headings: Impact (one weight only, so never faux-bolded) ===== */
.logo, h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; }

/* ===== Header (sits over the panels) ===== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  color: var(--paper);
  background: linear-gradient(rgba(0,0,0,.45), transparent);
}
.logo { font-size: 1.5rem; text-decoration: none; }
.header-cta {
  font-weight: 600; font-size: .9rem; text-decoration: none;
  background: var(--accent); color: var(--ink);
  padding: 8px 16px; border-radius: 999px;
}

/* ===== Panels (stacked on every screen size) ===== */
.panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  background: var(--ink);
}

.panel {
  position: relative;
  height: 75vh;
  min-height: 420px;
  overflow: hidden;
}

/* Image fills the panel, cropping edges if needed */
.panel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Dark gradient behind the text */
.panel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,.75));
}

.panel-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 28px 24px 36px;
  color: var(--paper);
}
.panel-content h2 { font-size: 1.9rem; line-height: 1.1; margin-bottom: 16px; }
.panel-content p  { margin: -8px 0 16px; opacity: .9; font-size: 1.1rem; }
.panel-link {
  display: inline-block;
  font-weight: 600; text-decoration: none;
  background: var(--accent); color: var(--ink);
  padding: 10px 22px; border-radius: 999px;
}
.panel-link:hover { background: var(--paper); }
.panel-tag {
  display: inline-block;
  font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  border: 1px solid rgba(255,255,255,.7);
  padding: 6px 14px; border-radius: 999px;
}
.panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

/* Desktop: full-width landscape panels, stacked (16:9, never taller than the screen) */
@media (min-width: 768px) {
  .panel { height: min(56.25vw, 100vh); height: min(56.25vw, 100svh); min-height: 480px; }
  .panel-content { padding: 48px 64px 64px; max-width: 900px; }
  .panel-content h2 { font-size: 3.2rem; }
  .panel-content p  { font-size: 1.3rem; }
}

/* ===== Waitlist page ===== */
.page-waitlist .site-header { position: static; background: var(--ink); }
.waitlist {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.waitlist h1 { font-size: 2.2rem; }
.waitlist p  { color: var(--muted); margin: 8px 0 28px; }
#waitlist-embed { min-height: 120px; }
.embed-placeholder {
  display: flex; align-items: center; justify-content: center;
  min-height: 120px;
  border: 2px dashed #bbbbbb; border-radius: 12px;
  color: #888888;
}

/* ===== Footer ===== */
.site-footer {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  justify-content: center;
  padding: 28px 24px;
  font-size: .875rem;
  color: var(--muted);
  border-top: 1px solid #eeeeee;
}

/* ===== Homepage: dark background so no white shows below the panels (also covers the iPhone bounce past the end of the page) ===== */
.page-home { background: var(--ink); }
.page-home .site-footer { color: #b3b3b3; border-top: 0; }

/* ===== Panel headings: Avant Garde Bold (file has one weight, declared as 400 so it is never faux-bolded) ===== */
@font-face {
  font-family: "Avant Garde Bold";
  src: url("fonts/avant-garde-bold.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.panel-content h2 { font-family: "Avant Garde Bold", "Century Gothic", sans-serif; letter-spacing: 0; }
