:root {
  --paper: #f5dfb1;
  --paper-deep: #e2b567;
  --ink: #21170f;
  --muted: #684b33;
  --red: #9f2416;
  --red-dark: #66190f;
  --gold: #efb64c;
  --teal: #143f41;
  --cream: #fff5d7;
  --shadow: 0 18px 44px rgba(43, 25, 8, 0.22);
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(239, 182, 76, 0.35), transparent 30rem),
    linear-gradient(180deg, #f8e8bd 0%, #ead096 52%, #d9aa62 100%);
  font-family: Georgia, "Times New Roman", serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(33, 23, 15, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 23, 15, 0.24) 1px, transparent 1px);
  background-size: 34px 34px;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(35, 24, 16, 0.93);
  color: var(--cream);
  border-bottom: 3px solid var(--gold);
}

.brand {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1rem;
  font: 800 0.86rem/1 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

nav a {
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

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

nav a.active {
  border-color: var(--gold);
}

.hero,
.promise,
.section,
.poster-band,
.join {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(17rem, 0.76fr) minmax(18rem, 1fr);
  gap: clamp(1.25rem, 4vw, 4rem);
  align-items: center;
  padding: 2rem 0 4rem;
}

.page-hero,
.text-hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 4rem;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(14rem, 0.55fr) minmax(18rem, 1fr);
  gap: clamp(1.25rem, 4vw, 4rem);
  align-items: center;
}

.text-hero {
  max-width: 920px;
  padding: 3rem 0 1rem;
}

.hero-poster {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border: 8px solid rgba(35, 24, 16, 0.86);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.page-poster {
  width: 100%;
  max-height: 66vh;
  object-fit: contain;
  border: 8px solid rgba(35, 24, 16, 0.86);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--red-dark);
  font: 800 0.82rem/1.35 Arial, Helvetica, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.3rem, 8vw, 7.4rem);
}

h2 {
  font-size: clamp(2.15rem, 5vw, 4.5rem);
}

h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.1;
}

p {
  overflow-wrap: anywhere;
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.text-hero p,
.section-copy p,
.rental-callout p,
.join p,
footer p {
  font-size: 1.08rem;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.05rem;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: 800 0.92rem/1 Arial, Helvetica, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
}

.primary,
button {
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 8px 0 var(--red-dark);
}

.dark {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.28);
}

.promise,
.pick-grid,
.poster-band,
.watch-list,
.thought-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.promise,
.section,
.poster-band,
.join {
  margin-bottom: 4rem;
}

.promise article,
.pick-card,
.poster-band article,
.watch-list article,
.thought-card,
.lookup-panel,
.form-panel,
.rental-callout,
.join {
  border: 3px solid rgba(33, 23, 15, 0.85);
  border-radius: 8px;
  background: rgba(255, 245, 215, 0.86);
  box-shadow: 8px 8px 0 rgba(33, 23, 15, 0.16);
}

.promise article,
.pick-card,
.watch-list article,
.thought-card,
.lookup-panel,
.form-panel,
.rental-callout,
.join {
  padding: 1.2rem;
}

.promise span,
.number {
  margin: 0 0 0.8rem;
  color: var(--red);
  font: 900 3rem/1 Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.section-copy {
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.pick-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pick-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.meta,
.form-note {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tags span {
  padding: 0.38rem 0.55rem;
  border-radius: 999px;
  background: rgba(20, 63, 65, 0.12);
  color: var(--teal);
  font: 800 0.72rem/1 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

.poster-band article {
  position: relative;
  min-height: 26rem;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.poster-band a {
  position: relative;
  display: block;
  min-height: 26rem;
  overflow: hidden;
  border: 3px solid rgba(33, 23, 15, 0.85);
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  box-shadow: 8px 8px 0 rgba(33, 23, 15, 0.16);
}

.poster-band .type-card {
  display: flex;
  min-height: 26rem;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}

.poster-band .type-card h2,
.poster-band .type-card p {
  position: static;
  margin: 0;
  text-shadow: none;
}

.poster-band .type-card h2 {
  margin: 0.5rem 0 0.8rem;
}

.poster-band .type-card p {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.library-card {
  background:
    linear-gradient(rgba(20, 63, 65, 0.84), rgba(20, 63, 65, 0.96)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 245, 215, 0.1) 34px 36px);
}

.thoughts-card {
  background:
    linear-gradient(rgba(102, 25, 15, 0.82), rgba(33, 23, 15, 0.97)),
    repeating-linear-gradient(0deg, transparent 0 26px, rgba(239, 182, 76, 0.12) 26px 28px);
}

.card-kicker {
  color: var(--gold);
  font: 800 0.78rem/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.poster-band img {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  object-fit: cover;
  opacity: 0.82;
}

.poster-band h2,
.poster-band p {
  position: absolute;
  left: 1rem;
  right: 1rem;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.poster-band h2 {
  bottom: 4.2rem;
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.poster-band p {
  bottom: 1rem;
  margin: 0;
  font: 800 0.95rem/1.3 Arial, Helvetica, sans-serif;
}

.split {
  display: grid;
  grid-template-columns: minmax(16rem, 0.7fr) 1fr;
  gap: 2rem;
  align-items: start;
}

.watch-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thoughts {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(33, 23, 15, 0.18);
  color: var(--teal);
  font-weight: 700;
}

.watch-notes {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(33, 23, 15, 0.18);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
}

.watch-notes p {
  margin: 0;
}

.thought-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thought-card {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.thought-card h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.text-link {
  color: var(--red-dark);
  font: 800 0.86rem/1.2 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

.lookup-panel {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) 1fr;
  gap: 2rem;
}

.lookup-form,
.submission-form {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.lookup-results {
  padding: 1.2rem;
  border-left: 3px solid var(--red);
}

.result-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.success-note {
  padding: 0.85rem;
  border: 2px solid var(--teal);
  border-radius: 6px;
  background: rgba(20, 63, 65, 0.1);
  color: var(--teal);
  font-weight: 700;
}

.rental-callout {
  background: var(--teal);
  color: var(--cream);
}

.standalone {
  margin-top: 3rem;
}

.guide {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 1rem;
}

.guide article {
  padding: 1.2rem;
  border: 3px solid rgba(33, 23, 15, 0.85);
  border-radius: 8px;
  background: rgba(255, 245, 215, 0.86);
  box-shadow: 8px 8px 0 rgba(33, 23, 15, 0.16);
}

pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.92rem;
  line-height: 1.55;
}

.rental-callout .eyebrow {
  color: var(--gold);
}

.join {
  display: grid;
  grid-template-columns: 1fr minmax(16rem, 0.68fr);
  gap: 1rem;
  align-items: center;
}

form {
  display: grid;
  gap: 0.75rem;
}

label {
  font: 800 0.84rem/1 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

input {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fffdf3;
  font: 1rem Arial, Helvetica, sans-serif;
}

select {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fffdf3;
  color: var(--ink);
  font: 1rem Arial, Helvetica, sans-serif;
}

.mission-band {
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--teal);
  color: var(--cream);
  box-shadow: 8px 8px 0 rgba(33, 23, 15, 0.16);
}

.mission-band .eyebrow {
  color: var(--gold);
}

.mission-band p:last-child {
  max-width: 780px;
  font-size: 1.12rem;
  line-height: 1.65;
}

.card-button {
  align-self: end;
  margin-top: auto;
}

.large-meta {
  font-size: 1rem;
  font-weight: 700;
}

.movie-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-panel,
.future-grid article {
  padding: 1.35rem;
  border: 3px solid rgba(33, 23, 15, 0.85);
  border-radius: 8px;
  background: rgba(255, 245, 215, 0.88);
  box-shadow: 8px 8px 0 rgba(33, 23, 15, 0.16);
}

.feature-panel h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.feature-panel p,
.feature-panel li {
  line-height: 1.58;
}

.availability-list {
  display: grid;
  gap: 0.65rem;
}

.availability-list p {
  margin: 0;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(33, 23, 15, 0.18);
}

.influenced-panel {
  background: var(--teal);
  color: var(--cream);
}

.influenced-panel .eyebrow {
  color: var(--gold);
}

.influenced-panel li {
  margin-bottom: 0.65rem;
}

.future-posters {
  display: grid;
  width: min(1180px, calc(100% - 2rem));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto 4rem;
}

.future-posters article {
  display: grid;
  grid-template-columns: minmax(10rem, 0.65fr) 1fr;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 245, 215, 0.88);
  box-shadow: 8px 8px 0 rgba(33, 23, 15, 0.16);
}

.future-posters img {
  width: 100%;
  height: 100%;
  min-height: 25rem;
  object-fit: cover;
}

.future-posters article > div {
  align-self: center;
  padding: 1.4rem;
}

.future-posters h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

footer {
  padding: 2rem 1rem;
  background: rgba(35, 24, 16, 0.93);
  color: var(--cream);
  text-align: center;
}

footer p {
  margin: 0.25rem 0;
}

@media (max-width: 1020px) {
  .pick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero,
  .page-hero,
  .split,
  .join,
  .guide {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 1rem 1rem;
  }

  .brand {
    width: 100%;
    text-align: center;
  }

  nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }

  nav a {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.35rem;
    border: 1px solid rgba(255, 245, 215, 0.24);
    border-radius: 4px;
    text-align: center;
    line-height: 1.15;
  }

  nav a.active {
    border-color: var(--gold);
    background: rgba(239, 182, 76, 0.14);
  }

  .promise,
  .poster-band,
  .watch-list,
  .pick-grid,
  .thought-grid,
  .lookup-panel {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    max-height: none;
  }

  .hero,
  .page-hero {
    gap: 1.4rem;
    margin-top: 1rem;
    padding-top: 0;
  }

  .page-hero {
    margin-bottom: 2.5rem;
  }

  .text-hero {
    margin: 0 auto 2rem;
    padding-top: 2rem;
  }

  .page-poster {
    max-height: 58vh;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-copy p:not(.eyebrow),
  .page-hero p,
  .text-hero p,
  .section-copy p,
  .join p,
  footer p {
    font-size: 1rem;
  }

  .promise,
  .section,
  .poster-band,
  .join {
    margin-bottom: 2.5rem;
  }

  .poster-band a,
  .poster-band .type-card,
  .poster-band img {
    min-height: 20rem;
  }

  .lookup-results {
    padding: 1rem 0 0;
    border-top: 3px solid var(--red);
    border-left: 0;
  }

  .actions,
  .result-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  button {
    width: 100%;
    min-height: 3.25rem;
  }

  input {
    min-height: 3.25rem;
    font-size: 16px;
  }

  select {
    min-height: 3.25rem;
    font-size: 16px;
  }

  .pick-card,
  .thought-card,
  .lookup-panel,
  .form-panel,
  .join {
    padding: 1rem;
  }

  pre {
    font-size: 0.78rem;
  }

  .movie-sections,
  .future-posters,
  .future-grid {
    grid-template-columns: 1fr;
  }

  .future-posters {
    margin-bottom: 2.5rem;
  }

  .future-posters article {
    grid-template-columns: 1fr;
  }

  .future-posters img {
    max-height: 32rem;
    min-height: 0;
    object-fit: contain;
    background: var(--ink);
  }
}

@media (max-width: 420px) {
  .hero,
  .promise,
  .section,
  .poster-band,
  .join,
  .page-hero,
  .text-hero {
    width: min(100% - 1rem, 1180px);
  }

  .future-posters {
    width: min(100% - 1rem, 1180px);
  }

  nav {
    font-size: 0.76rem;
  }

  .hero-poster,
  .page-poster {
    border-width: 5px;
  }
}
