:root {
  --ink: #172126;
  --ink-light: #26343b;
  --paper: #f2eee4;
  --cream: #fffaf0;
  --white: #ffffff;
  --red: #9f2f2f;
  --red-dark: #762020;
  --gold: #c89f5a;
  --gold-light: #e4c48b;
  --muted: #687278;
  --line: rgba(23, 33, 38, 0.16);
  --light-line: rgba(255, 255, 255, 0.15);
  --shadow: 0 20px 50px rgba(23, 33, 38, 0.12);
  --small-shadow: 0 12px 30px rgba(23, 33, 38, 0.08);
}

/* GENERAL */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

figure {
  margin: 0;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* TYPOGRAPHY */

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Oswald", Arial, sans-serif;
  line-height: 1.08;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 9vw, 8.5rem);
  text-transform: uppercase;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  text-transform: uppercase;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
  text-transform: uppercase;
}

p {
  margin-top: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.eyebrow.dark {
  color: var(--red);
}

.section-introduction {
  max-width: 600px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1rem;
}

/* HERO */

.hero {
  position: relative;
  display: flex;
  min-height: 760px;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 88%, rgba(200, 159, 90, 0.12), transparent 30%),
    #f7f2e8;
}

.hero-panel {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  display: flex;
  width: 62%;
  min-width: 0;
  flex-direction: column;
  padding: 0 clamp(30px, 5vw, 82px);
  background: #f7f2e8;
}

.nav {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  font-family: "Oswald", Arial, sans-serif;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.logo-copy {
  display: flex;
  margin-left: 12px;
  flex-direction: column;
  line-height: 1.25;
}

.logo-copy strong {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.logo-copy small {
  color: var(--muted);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 0.57rem;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--red);
}

.hero-content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0 44px;
}

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

.hero h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(4rem, 6.4vw, 7.4rem);
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero-rule {
  width: 82px;
  height: 4px;
  margin-bottom: 26px;
  background: var(--gold);
}

.hero-copy {
  max-width: 610px;
  margin: 0 0 30px;
  color: #59646a;
  font-size: 0.96rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero .button {
  padding: 12px 18px;
}

.hero .button-secondary {
  border-color: transparent;
  background: transparent;
  color: var(--red);
}

.hero .button-secondary:hover,
.hero .button-secondary:focus-visible {
  border-color: transparent;
  background: transparent;
  color: var(--red-dark);
}

.hero .button-secondary span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.hero .button-secondary:hover span {
  transform: translateX(5px);
}

.hero-image {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 auto;
  width: 46%;
  background:
    linear-gradient(90deg, rgba(23, 33, 38, 0.08), transparent 28%),
    url("assets/james-stewart-portrait.jpg") center 35% / cover no-repeat;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  animation: hero-image-reveal 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-content > *,
.nav {
  animation: hero-item-in 0.55s ease both;
}

.hero-content > :nth-child(1) { animation-delay: 0.12s; }
.hero-content > :nth-child(2) { animation-delay: 0.2s; }
.hero-content > :nth-child(3) { animation-delay: 0.28s; }
.hero-content > :nth-child(4) { animation-delay: 0.36s; }
.hero-content > :nth-child(5) { animation-delay: 0.44s; }

@keyframes hero-image-reveal {
  from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
  to { clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); }
}

@keyframes hero-item-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.button {
  display: inline-block;
  width: fit-content;
  padding: 14px 22px;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.86rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.button:hover,
.button:focus-visible {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

/* VIEWING STATS */

.stats {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.stats article {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.stats article:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 2.4rem;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* UPCOMING BIOPIC */

.biopic-section {
  padding: clamp(80px, 9vw, 120px) 0;
  overflow: hidden;
  color: var(--white);
  background: #172228;
}

.biopic-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 105px);
  align-items: center;
}

.biopic-poster {
  width: 100%;
  max-width: 360px;
  margin: 0;
}

.biopic-poster img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.38);
}

.biopic-poster figcaption {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.65rem;
  line-height: 1.5;
}

.biopic-poster a {
  color: rgba(255, 255, 255, 0.7);
}

.biopic-copy {
  max-width: 700px;
}

.biopic-copy .eyebrow {
  color: var(--gold-light);
}

.biopic-copy h2 {
  margin: 2px 0 6px;
  color: var(--white);
  font-size: clamp(4.5rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.biopic-copy > p:not(.eyebrow, .biopic-note, .biopic-kicker) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.7);
}

.biopic-kicker {
  margin: 0 0 30px;
  color: var(--gold-light);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.biopic-lead {
  font-size: 1.06rem;
}

.biopic-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.biopic-facts div {
  padding: 20px 18px 20px 0;
}

.biopic-facts div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.biopic-facts dt {
  margin-bottom: 5px;
  color: var(--gold-light);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.biopic-facts dd {
  margin: 0;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
}

.biopic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.biopic-button-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
  color: var(--white);
}

.biopic-button-secondary:hover,
.biopic-button-secondary:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.biopic-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
}

/* SHARED SECTION HEADING */

.section-heading {
  display: flex;
  gap: 50px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin-bottom: 0;
}

/* BIOGRAPHY */

.biography-section {
  padding: 120px 0;
}

.biography-heading {
  align-items: start;
}

.biography-layout {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.biography-photo {
  width: 100%;
  max-width: 420px;
  justify-self: center;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--small-shadow);
}

.biography-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.biography-copy h3 {
  margin-bottom: 24px;
  color: var(--red);
  font-size: 2rem;
}

.biography-copy p {
  margin-bottom: 22px;
  color: #435057;
}

.biography-photo figcaption,
.military-photo figcaption,
.gallery-item figcaption {
  padding: 16px 18px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

/* PHOTO PLACEHOLDERS */

.photo-placeholder {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ddd5c6;
  box-shadow: var(--small-shadow);
}

.photo-placeholder-inner {
  display: flex;
  min-height: 500px;
  padding: 35px;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(
      180deg,
      rgba(23, 33, 38, 0.05),
      rgba(23, 33, 38, 0.62)
    ),
    repeating-linear-gradient(
      45deg,
      #d9d0bf,
      #d9d0bf 20px,
      #cec4b2 20px,
      #cec4b2 40px
    );
  color: var(--white);
}

.photo-number {
  display: block;
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.65);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 4rem;
  line-height: 1;
}

.photo-placeholder-inner p {
  margin-bottom: 8px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.6rem;
  text-transform: uppercase;
  line-height: 1.2;
}

.photo-placeholder-inner small {
  color: rgba(255, 255, 255, 0.68);
  overflow-wrap: anywhere;
}

/* QUICK FACTS */

.quick-facts {
  padding: 100px 0;
  background: var(--ink);
  color: var(--white);
}

.quick-facts-heading {
  margin-bottom: 38px;
}

.quick-facts-heading h2 {
  margin-bottom: 0;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--light-line);
  border-left: 1px solid var(--light-line);
}

.fact-card {
  min-height: 150px;
  padding: 28px;
  border-right: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
}

.fact-label {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.fact-card strong {
  display: block;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
}

.fact-extra {
  margin: 12px 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  line-height: 1.5;
}

.fact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fact-links a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 0.72rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fact-links a:hover,
.fact-links a:focus-visible {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* WALK OF FAME */

.walk-of-fame-photo {
  display: block;
  margin: 16px 0;
  overflow: hidden;
}

.walk-of-fame-photo img {
  display: block;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.walk-of-fame-photo:hover img {
  transform: scale(1.03);
}

.walk-of-fame-card .fact-extra {
  color: var(--ink);
}

.walk-of-fame-card .fact-links a {
  border-color: var(--ink);
  color: var(--ink);
}

.walk-of-fame-card .fact-links a:hover,
.walk-of-fame-card .fact-links a:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

/* CAREER */

.career-section {
  padding: 120px 0;
  background: var(--cream);
}

.career-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
  align-items: start;
}

.career-copy p {
  color: #465157;
}

.career-eras {
  display: grid;
  gap: 18px;
}

.career-eras article {
  padding: 28px;
  border-left: 5px solid var(--red);
  background: var(--paper);
  box-shadow: var(--small-shadow);
}

.career-eras span {
  color: var(--gold);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.career-eras h3 {
  margin: 8px 0 10px;
}

.career-eras p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
/* JIMMY STEWART AND HENRY FONDA */

.fonda-section {
  padding: 120px 0;
  background: var(--cream);
}

.fonda-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: center;
}

.fonda-photo {
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.fonda-photo img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}

.fonda-photo figcaption {
  padding: 16px 18px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

.fonda-copy h2 {
  margin-bottom: 24px;
}

.fonda-copy p {
  margin-bottom: 20px;
  color: #465157;
}

.fonda-introduction {
  color: var(--red) !important;
  font-size: 1.15rem;
  font-weight: 700;
}

.fonda-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.fonda-facts article {
  min-height: 130px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.fonda-facts span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.fonda-facts strong {
  display: block;
  color: var(--ink);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

.fonda-films {
  margin-top: 34px;
}

.fonda-films > p {
  margin-bottom: 12px;
  color: var(--red);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.fonda-film-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fonda-film-list span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.78rem;
}

/* JIMMY STEWART AND PIE */

.pie-section {
  padding: 120px 0;
  background: var(--paper);
}

.pie-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
  gap: 80px;
  align-items: center;
}

.pie-photo {
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.pie-photo img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

.pie-photo figcaption {
  padding: 16px 18px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

.pie-copy h2 {
  margin-bottom: 24px;
}

.pie-copy p {
  margin-bottom: 20px;
  color: #465157;
}

.pie-introduction {
  color: var(--red) !important;
  font-size: 1.15rem;
  font-weight: 700;
}

.pie-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.pie-facts article {
  min-height: 130px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.pie-facts span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pie-facts strong {
  display: block;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

/* MILITARY */

.military-section {
  padding: 120px 0;
  background: #26343b;
  color: var(--white);
}

.military-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: start;
}

.military-lead {
  max-width: 760px;
  margin-bottom: 46px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.military-timeline {
  position: relative;
  display: grid;
}

.military-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 83px;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.military-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 30px;
  padding: 0 0 36px;
}

.timeline-year {
  position: relative;
  z-index: 2;
  align-self: start;
  padding: 8px 5px;
  background: var(--gold);
  color: var(--ink);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.78rem;
  text-align: center;
  letter-spacing: 0.04em;
}

.military-timeline h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.military-timeline p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.military-photo {
  position: sticky;
  top: 25px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--small-shadow);
}

.military-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.military-awards {
  margin-top: 70px;
  padding-top: 45px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.military-awards h3 {
  font-size: 2rem;
}

.honor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.honor-list span,
.honor-list a {
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
}

.honor-list a {
  text-decoration-color: rgba(228, 196, 139, 0.55);
  text-underline-offset: 4px;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.honor-list a:hover,
.honor-list a:focus-visible {
  border-color: var(--gold);
  background: rgba(200, 159, 90, 0.1);
  color: var(--white);
}

.honor-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
}

/* AWARDS */

.awards-section {
  padding: 120px 0;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.award-card {
  min-height: 275px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: var(--small-shadow);
}

.award-year {
  display: block;
  margin-bottom: 34px;
  color: var(--red);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 2.2rem;
  line-height: 1;
}

.award-card h3 {
  font-size: 1.45rem;
}

.award-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.featured-award {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.featured-award .award-year {
  color: var(--gold-light);
}

.featured-award p {
  color: rgba(255, 255, 255, 0.82);
}

.award-archive {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.8fr);
  gap: 50px;
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
}

.award-archive-heading h3 {
  margin-bottom: 15px;
  font-size: 2rem;
}

.award-archive-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.award-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.award-media-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.5);
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.award-media-card:hover,
.award-media-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: var(--small-shadow);
}

.award-media-card > span {
  margin-bottom: 14px;
  color: var(--red);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.award-media-card strong {
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.15rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.award-media-card p {
  margin: 11px 0 22px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.award-media-card b {
  margin-top: auto;
  color: var(--red);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* PERSONAL VIEWING INTRO */

.intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  padding: 110px 0;
  align-items: start;
}

.intro p {
  color: #465157;
  font-size: 1rem;
}
/* MOVIE TABLE */

.movie-section {
  padding: 110px 0;
  background: var(--ink);
  color: var(--white);
}

#results-label {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.controls {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr) auto;
  gap: 12px;
  margin-bottom: 28px;
}

input,
select,
.controls button {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

select option {
  color: var(--ink);
}

.controls button {
  border-color: var(--red);
  background: var(--red);
  font-family: "Oswald", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.controls button:hover,
.controls button:focus-visible {
  background: var(--red-dark);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

table {
  width: 100%;
  min-width: 1000px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  text-align: left;
}

th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

td {
  color: rgba(255, 255, 255, 0.77);
  font-size: 0.9rem;
}

td.movie-title {
  color: var(--white);
  font-weight: 700;
}

.movie-cards {
  display: none;
}

.empty-state {
  padding: 28px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

/* RATINGS */

.star-rating {
  display: inline-flex;
  gap: 2px;
  white-space: nowrap;
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1;
}

.rating-star {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.25);
}

.rating-star.full {
  color: #f2c45e;
}

.rating-star.half {
  color: rgba(255, 255, 255, 0.25);
}

.rating-star.half::before {
  content: "★";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: #f2c45e;
}

/* OLDER MOVIE DESCRIPTION CLASSES */

.movie-main-row {
  cursor: pointer;
}

.movie-main-row:hover {
  background: rgba(255, 255, 255, 0.055);
}

.movie-main-row:focus {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.movie-title-button {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
}

.movie-title-button:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.description-row td {
  padding: 0;
  background: rgba(200, 159, 90, 0.08);
}

.description-content {
  padding: 24px 28px;
  border-left: 4px solid var(--gold);
}

.description-content strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.description-content p {
  max-width: 920px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.description-warning {
  margin-top: 12px !important;
  color: rgba(255, 255, 255, 0.48) !important;
  font-size: 0.75rem;
}

/* CHARACTER TYPES */

.archetypes-section {
  padding: 100px 0;
}

.archetypes-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.archetypes-heading h2 {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-grid article {
  padding: 34px;
  border-top: 5px solid var(--red);
  background: var(--cream);
  box-shadow: var(--small-shadow);
}

.feature-grid span {
  color: var(--gold);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 2.2rem;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* GALLERY */

.gallery-section {
  padding: 110px 0;
  background: var(--ink-light);
  color: var(--white);
}

.gallery-header {
  max-width: 780px;
  margin: 0 auto 50px;
  text-align: center;
}

.gallery-header h2 {
  margin-bottom: 20px;
}

.gallery-header .section-introduction {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.68);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1020px;
  margin: 0 auto;
}

.gallery-item {
  width: 100%;
  overflow: hidden;
  background: var(--ink);
  box-shadow: none;
}

.gallery-item img {
  display: block;
  width: calc(100% - 40px);
  height: 190px;
  margin: 20px auto;
  object-fit: contain;
  object-position: center;
  background: var(--ink);
}

.gallery-item .photo-placeholder-inner {
  min-height: 230px;
}

.gallery-item figcaption {
  min-height: 76px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

/* ABOUT */

.about {
  padding: 95px 0;
  background: var(--red);
  color: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.about .eyebrow {
  color: #f3d297;
}

.about h2 {
  margin-bottom: 0;
}

.about p {
  color: rgba(255, 255, 255, 0.82);
}

/* SOURCES */

.sources-section {
  display: block;
  width: 100%;
  padding: 90px 0;
  background: var(--cream);
  color: var(--ink);
}

.sources-section h2 {
  color: var(--ink) !important;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.sources-section .eyebrow {
  color: var(--red);
}

.sources-section p {
  max-width: 850px;
  color: var(--muted);
}

.sources-section p:last-child {
  margin-bottom: 0;
}

/* FOOTER */

.footer {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding: 30px 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer p {
  margin-bottom: 0;
}
/* TABLET */

@media (max-width: 1100px) {
  .nav-links {
    gap: 10px;
    font-size: 0.59rem;
  }

  .hero-panel { width: 66%; }
  .hero-image { width: 43%; }
  .logo-copy { display: none; }

  .biopic-layout {
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
    gap: 48px;
  }

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

  .stats article:nth-child(2) {
    border-right: 0;
  }

  .stats article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .biography-layout,
  .career-grid,
  .military-layout,
  .pie-layout,
  .intro,
  .about-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .biography-photo {
    margin: 0 auto;
  }

  .pie-photo {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }

  .military-photo {
    position: static;
    max-width: 500px;
    margin: 0 auto;
  }

  .facts-grid,
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .award-archive {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .controls {
    grid-template-columns: 1fr 1fr;
  }

  .search-box {
    grid-column: 1 / -1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 320px);
    max-width: 668px;
  }
}

/* FONDA TABLET */

@media (max-width: 1100px) {
  .fonda-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .fonda-photo {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }
}

/* MOBILE */

@media (max-width: 700px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    display: block;
    min-height: auto;
  }

  .hero-panel {
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 680px;
    overflow: hidden;
    padding: 0 24px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 52px 0 40px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: 2.6rem;
  }

  .nav {
    min-height: 82px;
  }

  .nav-links {
    display: none;
  }

  .logo-copy { display: flex; }

  .hero-copy {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .hero-image {
    position: relative;
    width: 100%;
    height: 430px;
    clip-path: polygon(0 13%, 100% 0, 100% 100%, 0 100%);
    background-position: center 34%;
  }

  .biopic-section {
    padding: 70px 0;
  }

  .biopic-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .biopic-poster {
    width: min(100%, 330px);
    margin: 0 auto;
  }

  .biopic-copy h2 {
    font-size: clamp(4rem, 23vw, 6.5rem);
  }

  .biopic-facts {
    grid-template-columns: 1fr;
  }

  .biopic-facts div,
  .biopic-facts div + div {
    padding: 15px 0;
    border-left: 0;
  }

  .biopic-facts div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .biopic-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .biopic-actions .button {
    width: 100%;
    text-align: center;
  }

  .stats {
    margin-top: 0;
  }

  .stats article {
    padding: 22px 18px;
  }

  .stats strong {
    font-size: 1.8rem;
  }

  .section-heading {
    display: block;
  }

  .section-introduction {
    margin-top: 18px;
  }

  .biography-section,
  .quick-facts,
  .career-section,
  .fonda-section,
  .pie-section,
  .military-section,
  .awards-section,
  .movie-section,
  .gallery-section,
  .sources-section,
  .about {
    padding: 75px 0;
  }

  .intro,
  .archetypes-section {
    padding: 75px 0;
  }

  .photo-placeholder-inner {
    min-height: 390px;
    padding: 25px;
  }

  .facts-grid,
  .awards-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .award-media-grid {
    grid-template-columns: 1fr;
  }

  .award-media-card {
    min-height: 0;
  }

  .fact-card {
    min-height: 120px;
  }

  .fonda-photo img,
  .pie-photo img {
    height: 380px;
  }

  .fonda-facts,
  .pie-facts {
    grid-template-columns: 1fr;
  }

  .fonda-film-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .military-timeline::before {
    left: 54px;
  }

  .military-timeline article {
    grid-template-columns: 45px 1fr;
    gap: 20px;
  }

  .timeline-year {
    padding: 7px 2px;
    font-size: 0.65rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  .controls {
    grid-template-columns: 1fr;
  }

  .search-box {
    grid-column: auto;
  }

  .table-wrap {
    display: none;
  }

  .movie-cards {
    display: grid;
    gap: 14px;
  }

  .movie-card {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.055);
  }

  .movie-card-top {
    display: flex;
    gap: 18px;
    align-items: start;
    justify-content: space-between;
  }

  .movie-card h3 {
    margin: 0;
    font-size: 1.35rem;
  }

  .movie-year {
    color: var(--gold);
    font-family: "Oswald", Arial, sans-serif;
  }

  .movie-card dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 7px 12px;
    margin: 18px 0 0;
    font-size: 0.84rem;
  }

  .movie-card dt {
    color: rgba(255, 255, 255, 0.46);
  }

  .movie-card dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
  }

  .mobile-description-button {
    width: 100%;
    min-height: 42px;
    margin-top: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
  }

  .mobile-description-button:hover,
  .mobile-description-button:focus-visible {
    border-color: var(--gold);
  }

  .mobile-description {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
  }

  .mobile-description p {
    margin: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    max-width: 100%;
  }

  .gallery-item {
    width: min(100%, 320px);
  }

  .gallery-item img {
    width: calc(100% - 40px);
    height: 190px;
    margin: 20px auto;
  }

  .footer {
    display: block;
  }

  .footer p + p {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero *,
  .hero-image {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* PERSONAL MOVIE REVIEWS */

.movie-detail-block + .movie-detail-block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.movie-detail-label {
  display: block;
  margin-bottom: 9px;
  color: var(--red);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.movie-description-panel .personal-review p,
.movie-card-description .personal-review p {
  color: var(--ink);
  font-style: italic;
}

.movie-card-description {
  padding: 20px;
  background: var(--cream);
}

/* MOVIE POSTERS AND DESCRIPTIONS */

.movie-row {
  cursor: pointer;
}

.movie-row:hover {
  background: rgba(255, 255, 255, 0.045);
}

.movie-row:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -3px;
}

.movie-title-with-poster {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 260px;
}

.movie-title-with-poster em {
  display: block;
  font-weight: 700;
}

.description-hint {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-style: normal;
  line-height: 1.3;
}

.movie-poster-frame {
  position: relative;
  flex: none;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--ink);
  border: 1px solid var(--line);
}

.movie-poster-frame--table {
  width: 64px;
}

.movie-poster-frame--card {
  width: 110px;
}

.movie-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-poster-fallback {
  width: 100%;
  height: 100%;
  padding: 10px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.movie-poster-fallback:not([hidden]) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.movie-poster-fallback span {
  color: var(--gold);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.movie-poster-fallback strong {
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.72rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.movie-description-row td {
  padding: 0 !important;
}

.movie-description-panel {
  padding: 24px 30px 26px 110px;
  background: var(--cream);
  border-left: 4px solid var(--red);
}

.movie-description-panel strong,
.movie-card-description strong {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.movie-description-panel p,
.movie-card-description p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.movie-card-with-poster {
  padding: 22px;
}

.movie-card-shell {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.movie-card-body {
  min-width: 0;
}

.movie-card-body .movie-card-top {
  margin-top: 0;
}

.movie-card-toggle {
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid var(--red);
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.movie-card-toggle:hover,
.movie-card-toggle:focus-visible {
  background: var(--red);
  color: var(--white);
}

.movie-card-description {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.movie-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.rating-stars {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  line-height: 1;
}

.single-star {
  display: inline-block;
  color: #cbc5ba;
  font-size: 1rem;
}

.single-star.full {
  color: var(--gold);
}

.single-star.half {
  background: linear-gradient(
    to right,
    var(--gold) 0%,
    var(--gold) 50%,
    #cbc5ba 50%,
    #cbc5ba 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.single-star.empty {
  color: #cbc5ba;
}

.rating-number {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  .movie-card-shell {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 17px;
  }

  .movie-poster-frame--card {
    width: 92px;
  }

  .movie-card-with-poster {
    padding: 18px;
  }

  .movie-card-body h3 {
    font-size: 1.15rem;
  }

  .movie-card-toggle {
    width: 100%;
  }

  .movie-description-panel {
    padding: 20px;
  }
}
