:root {
  color-scheme: dark;
  --ink: #f6f2eb;
  --muted: #b9b3ac;
  --paper: #fff7e8;
  --black: #080607;
  --coal: #121014;
  --charcoal: #1b1a1f;
  --blood: #e20b16;
  --ember: #ff4b2f;
  --ice: #a9c6d8;
  --violet: #7a3a86;
  --gold: #e0bd63;
  --line: rgba(246, 242, 235, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(226, 11, 22, 0.16), transparent 30rem),
    radial-gradient(circle at 86% 8%, rgba(122, 58, 134, 0.2), transparent 28rem),
    linear-gradient(180deg, #050404 0%, #121014 44%, #080607 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, rgba(5, 4, 4, 0.9), rgba(5, 4, 4, 0.35));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(246, 242, 235, 0.08);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(255, 75, 47, 0.75);
  background: rgba(226, 11, 22, 0.14);
  color: var(--paper);
  font-size: 0.76rem;
}

nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: rgba(246, 242, 235, 0.8);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--paper);
}

.hero {
  min-height: 86svh;
  display: grid;
  align-items: center;
  padding: 8rem clamp(1rem, 4vw, 4rem) 4rem;
  background:
    linear-gradient(90deg, rgba(5, 4, 4, 0.34) 0%, rgba(5, 4, 4, 0.72) 45%, rgba(5, 4, 4, 0.98) 100%),
    linear-gradient(180deg, transparent 64%, var(--coal) 100%),
    url("assets/orville-hero.jpg") center left / cover no-repeat;
}

.hero-copy {
  width: min(620px, 100%);
  margin-left: auto;
}

.eyebrow,
.section-label,
.project-type,
.world-list span,
time {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7rem;
  font-weight: 900;
}

h2 {
  margin-bottom: 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.4rem;
  font-weight: 900;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 2rem;
}

.lede {
  max-width: 39rem;
  color: rgba(246, 242, 235, 0.88);
  font-size: 1.28rem;
}

.hero-actions,
.download-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button,
.project-card a,
.download-list a,
footer a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.button.primary,
.download-list a:first-child {
  border-color: transparent;
  background: var(--blood);
}

.button.secondary,
.project-card a,
.download-list a,
footer a {
  background: rgba(246, 242, 235, 0.07);
}

.button:hover,
.project-card a:hover,
.download-list a:hover,
footer a:hover {
  transform: translateY(-1px);
}

section {
  scroll-margin-top: 5rem;
}

.intro-band,
.slate-section,
.story-worlds,
.work-section,
.contact-section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 1.05fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}

.bio-copy {
  color: rgba(246, 242, 235, 0.8);
  font-size: 1.04rem;
}

.bio-copy strong {
  color: var(--paper);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 235, 0.04);
}

.stats-strip div {
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.6rem clamp(1rem, 3vw, 2.25rem);
  border-right: 1px solid var(--line);
}

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

.stat {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  max-width: 13rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.project-card,
.world-list article,
.timeline article,
.contact-panel {
  border: 1px solid var(--line);
  background: rgba(246, 242, 235, 0.055);
  box-shadow: var(--shadow);
}

.project-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.project-content p:not(.project-type) {
  color: rgba(246, 242, 235, 0.78);
}

.project-card a {
  align-self: flex-start;
  margin-top: auto;
}

.story-worlds {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.world-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.world-list article {
  padding: 1.25rem;
  box-shadow: none;
}

.world-list h3 {
  font-size: 1.35rem;
}

.world-list p,
.timeline p,
.contact-section p {
  color: rgba(246, 242, 235, 0.76);
}

.work-section {
  border-top: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.timeline article {
  padding: 1.25rem;
  box-shadow: none;
}

.timeline h3 {
  font-size: 1.3rem;
}

.quote-band {
  position: relative;
  display: grid;
  min-height: 28rem;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.quote-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}

.quote-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 4, 4, 0.18), rgba(5, 4, 4, 0.94) 62%);
}

blockquote {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 2rem));
  margin: 0 clamp(1rem, 8vw, 7rem) 0 auto;
}

blockquote p {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.65rem;
  font-weight: 900;
  line-height: 0.98;
}

cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

cite span {
  color: var(--gold);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

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

.contact-panel {
  padding: 1.5rem;
}

.contact-panel p {
  margin-bottom: 1.2rem;
}

.contact-panel a:not(.download-list a) {
  color: var(--paper);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    gap: 0.7rem;
  }

  .hero {
    min-height: 88svh;
    background:
      linear-gradient(90deg, rgba(5, 4, 4, 0.18), rgba(5, 4, 4, 0.72) 42%, rgba(5, 4, 4, 0.98) 100%),
      linear-gradient(180deg, transparent 62%, var(--coal) 100%),
      url("assets/orville-hero.jpg") 20% center / cover no-repeat;
  }

  .intro-grid,
  .story-worlds,
  .contact-section {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 5.8rem;
  }

  h2,
  blockquote p {
    font-size: 3.65rem;
  }

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

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

}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    padding: 0.85rem 1rem;
  }

  .brand-mark {
    width: 2.15rem;
    height: 2.15rem;
  }

  nav a {
    font-size: 0.8rem;
  }

  .hero {
    min-height: 92svh;
    align-items: end;
    padding-top: 8.5rem;
    background:
      linear-gradient(180deg, rgba(5, 4, 4, 0.1) 0%, rgba(5, 4, 4, 0.88) 46%, rgba(5, 4, 4, 0.98) 100%),
      url("assets/orville-hero.jpg") 19% top / auto 55% no-repeat;
  }

  .hero-copy {
    margin-left: 0;
  }

  h1 {
    font-size: 4.55rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  h3 {
    font-size: 1.55rem;
  }

  .lede {
    font-size: 1.08rem;
  }

  .stat {
    font-size: 3.25rem;
  }

  blockquote p {
    font-size: 2.85rem;
  }

  .stats-strip,
  .project-grid,
  .world-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .stats-strip div {
    min-height: 8rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-strip div:last-child {
    border-bottom: 0;
  }

  blockquote {
    margin: 0 auto;
  }

  .quote-band::after {
    background: linear-gradient(180deg, rgba(5, 4, 4, 0.18), rgba(5, 4, 4, 0.96) 48%);
  }

  footer {
    flex-direction: column;
  }
}
