:root {
  color-scheme: dark;
  --black: #030303;
  --ink: #070707;
  --coal: #11110f;
  --stone: #24231f;
  --paper: #e5ded3;
  --muted: #a9a196;
  --faint: #6d665e;
  --line: rgba(229, 222, 211, 0.12);
  --olive: #8f927d;
  --rust: #876b53;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 64% 20%, rgba(143, 146, 125, 0.15), transparent 30rem),
    linear-gradient(90deg, rgba(135, 107, 83, 0.08), transparent 24rem),
    var(--black);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 160px 160px, 120px 120px;
  opacity: 0.16;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), transparent 24%, transparent 68%, rgba(0, 0, 0, 0.85)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.96));
}

.about-page {
  background: var(--black);
}

.about-page::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("./assets/david.png") center 44% / cover no-repeat;
  filter: brightness(1.45) contrast(0.9) saturate(0.82);
  opacity: 0.86;
}

.about-page::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.18), rgba(3, 3, 3, 0.48) 38%, rgba(3, 3, 3, 0.88) 74%, rgba(3, 3, 3, 0.96)),
    linear-gradient(180deg, rgba(3, 3, 3, 0.62), rgba(3, 3, 3, 0.18) 40%, rgba(3, 3, 3, 0.78));
}

.contact-page {
  background: var(--black);
}

.contact-page::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("./assets/contact-image.png") 76% center / cover no-repeat;
  filter: brightness(1.42) contrast(0.9) saturate(1.08);
  opacity: 0.98;
}

.contact-page::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.92), rgba(3, 3, 3, 0.62) 42%, rgba(3, 3, 3, 0.16)),
    linear-gradient(180deg, rgba(3, 3, 3, 0.62), rgba(3, 3, 3, 0.22) 44%, rgba(3, 3, 3, 0.82));
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--paper);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: 0.55rem 0.8rem;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 86px;
  padding: 0 3.2rem;
  background: rgba(3, 3, 3, 0.82);
  border-bottom: 1px solid rgba(229, 222, 211, 0.06);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav a,
.eyebrow,
.section-kicker,
.text-link {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 0.82rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand {
  font-size: 1.16rem;
  font-weight: 400;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 3.6rem;
}

.main-nav a {
  color: rgba(229, 222, 211, 0.86);
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--paper);
}

main {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 3.2rem 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(14rem, 0.82fr) minmax(20rem, 1fr) minmax(14rem, 0.82fr);
  align-items: center;
  min-height: 35rem;
  padding: 3rem 0 3.4rem;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0 2rem 0 2rem;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 260px 100%, 100% 236px;
  opacity: 0.36;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64), transparent 24%, transparent 58%, rgba(0, 0, 0, 0.74)),
    linear-gradient(180deg, transparent 62%, rgba(3, 3, 3, 0.96));
}

.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-copy {
  align-self: center;
  padding-top: 1.6rem;
}

.eyebrow {
  margin: 0 0 5.5rem;
  color: var(--faint);
}

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

h1 {
  max-width: 9ch;
  margin-bottom: 2.1rem;
  font-family: "Didot", "Bodoni 72", Georgia, "Times New Roman", Times, serif;
  font-size: 4.35rem;
  font-weight: 400;
  line-height: 0.96;
}

.dek {
  max-width: 24rem;
  margin-bottom: 2.2rem;
  color: rgba(229, 222, 211, 0.86);
  font-size: 0.98rem;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.text-link:hover {
  color: #fffaf1;
  border-color: rgba(229, 222, 211, 0.38);
  transform: translateX(2px);
}

.hero-image {
  position: relative;
  grid-column: 2 / 4;
  min-height: 28.5rem;
  margin: 0;
  overflow: hidden;
  background: var(--coal);
  box-shadow: 0 0 0 1px rgba(229, 222, 211, 0.06), 0 2rem 5rem rgba(0, 0, 0, 0.6);
}

.hero-image::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.46), transparent 32%, transparent 68%, rgba(0, 0, 0, 0.42)),
    linear-gradient(180deg, rgba(229, 222, 211, 0.12), transparent 26%, rgba(0, 0, 0, 0.54));
  mix-blend-mode: multiply;
}

.hero-quote {
  position: absolute;
  top: 2.8rem;
  right: 2.4rem;
  z-index: 2;
  max-width: 24rem;
  margin: 0;
  color: rgba(229, 222, 211, 0.88);
  font-family: "Didot", "Bodoni 72", Georgia, "Times New Roman", Times, serif;
  font-size: 1.28rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.42;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(24rem, 1.6fr);
  gap: 3.9rem;
  padding: 2.3rem 0 4.2rem;
  border-top: 1px solid var(--line);
}

.section-kicker {
  margin-bottom: 1.35rem;
  color: var(--paper);
}

.media-link,
.fragment {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--stone);
}

.media-link {
  aspect-ratio: 2.45 / 1;
  margin-bottom: 1rem;
}

.media-link::after,
.fragment::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(229, 222, 211, 0.08), rgba(0, 0, 0, 0.24));
  opacity: 0.5;
  transition: opacity 180ms ease;
}

.media-link:hover::after,
.fragment:hover::after {
  opacity: 0.22;
}

.fragment-caption {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.7rem 0.8rem;
  color: var(--paper);
  background: rgba(3, 3, 3, 0.78);
  border: 1px solid rgba(229, 222, 211, 0.16);
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.fragment:hover .fragment-caption,
.fragment:focus-visible .fragment-caption {
  opacity: 1;
  transform: translateY(0);
}

.feature-block h2,
.about-band h2 {
  margin-bottom: 0.2rem;
  font-family: "Didot", "Bodoni 72", Georgia, "Times New Roman", Times, serif;
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

.status {
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.96rem;
  font-style: italic;
}

.summary {
  max-width: 28rem;
  margin-bottom: 1.7rem;
  color: rgba(229, 222, 211, 0.68);
  font-size: 0.97rem;
}

.fragment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.fragment {
  aspect-ratio: 3 / 2;
}

.about-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(18rem, 1.15fr);
  gap: 3rem;
  padding: 3rem 0 4rem;
  isolation: isolate;
}

.about-band::before {
  position: absolute;
  inset: 0 -3.2rem;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.98), rgba(33, 31, 28, 0.88) 34%, rgba(22, 21, 19, 0.92) 72%, rgba(3, 3, 3, 0.98)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.64), transparent 16%, transparent 76%, rgba(0, 0, 0, 0.68)),
    linear-gradient(90deg, transparent 0 18%, rgba(123, 114, 101, 0.1) 18% 18.4%, transparent 18.4% 42%, rgba(123, 114, 101, 0.08) 42% 42.3%, transparent 42.3% 70%, rgba(123, 114, 101, 0.09) 70% 70.4%, transparent 70.4%),
    radial-gradient(ellipse at 34% 22%, rgba(164, 153, 133, 0.16), transparent 38%),
    #171613;
  box-shadow:
    inset 0 1px rgba(229, 222, 211, 0.07),
    inset 0 -1px rgba(229, 222, 211, 0.04);
}

.about-band::after {
  position: absolute;
  inset: 0 -3.2rem;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, var(--black), transparent 22%, transparent 78%, var(--black)),
    radial-gradient(ellipse at center, transparent 48%, rgba(3, 3, 3, 0.5));
}

.about-band > p {
  max-width: 43rem;
  margin-bottom: 0;
  color: rgba(229, 222, 211, 0.75);
  font-size: 1.05rem;
  line-height: 1.65;
}

.about-band .text-link {
  grid-column: 2;
}

.site-footer {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1.8rem 3.2rem 2.2rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.copyright {
  text-align: left;
  white-space: nowrap;
}

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

.project-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--black);
}

.project-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: blur(3px) sepia(0.42) saturate(0.72) contrast(1.24) brightness(0.78);
  opacity: 1;
}

.project-page::after {
  z-index: 1;
  background:
    radial-gradient(ellipse at 12% 16%, rgba(101, 42, 12, 0.34), transparent 34%),
    radial-gradient(ellipse at 88% 82%, rgba(0, 0, 0, 0.72), transparent 42%),
    radial-gradient(ellipse at 54% 104%, rgba(69, 28, 8, 0.44), transparent 50%),
    radial-gradient(circle at center, rgba(3, 3, 3, 0.46), rgba(3, 3, 3, 0.12) 38%, transparent 68%),
    linear-gradient(90deg, rgba(3, 3, 3, 0.38), rgba(3, 3, 3, 0.12)),
    linear-gradient(180deg, rgba(3, 3, 3, 0.14), rgba(3, 3, 3, 0.42));
}

.project-page .site-header,
.project-page main {
  position: relative;
  z-index: 2;
}

.project-page main {
  display: grid;
  min-height: calc(100vh - 86px);
  place-items: center start;
}

.project-page-content {
  width: min(100%, 72rem);
  padding: 5rem 0;
}

.project-page-content h1 {
  max-width: none;
  margin-bottom: 1.8rem;
}

.project-page-content h2 {
  margin: 0 0 2rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.project-page-copy {
  max-width: 68rem;
  margin-bottom: 2.4rem;
}

.project-page-copy p {
  margin-bottom: 1.25rem;
  color: rgba(229, 222, 211, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.26rem);
  line-height: 1.62;
}

.project-page-copy p:last-child {
  margin-bottom: 0;
}

.about-page main {
  min-height: calc(100vh - 86px);
}

.about-page-hero {
  display: grid;
  grid-template-columns: minmax(20rem, 1.18fr) minmax(18rem, 0.82fr);
  align-items: center;
  gap: 3rem;
  padding: 5rem 0 5.4rem;
}

.about-page-copy {
  max-width: 40rem;
  grid-column: 2;
  grid-row: 1;
  text-align: left;
}

.about-page h1 {
  width: auto;
  max-width: none;
  margin-bottom: 2rem;
  font-size: 3.55rem;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}

.about-lede {
  max-width: 42rem;
  margin-bottom: 2.2rem;
  color: rgba(229, 222, 211, 0.9);
  font-size: clamp(1.16rem, 2vw, 1.58rem);
  line-height: 1.45;
}

.about-prose {
  max-width: 44rem;
}

.about-prose p {
  margin-bottom: 1.25rem;
  color: rgba(229, 222, 211, 0.72);
  font-size: 1.02rem;
  line-height: 1.7;
}

.about-prose p:last-child {
  margin-bottom: 0;
}

.about-page-image {
  display: none;
}

.contact-page main {
  min-height: calc(100vh - 86px);
}

.contact-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-items: center;
  gap: 3rem;
  min-height: calc(100vh - 86px);
  padding: 7rem 0 5.4rem;
}

.contact-page-copy {
  width: min(100%, 42rem);
  justify-self: center;
  text-align: left;
  transform: translateX(64%);
}

.contact-page h1 {
  max-width: 10ch;
  margin-bottom: 2rem;
  font-size: clamp(2.4rem, 5vw, 3.7rem);
}

.contact-lede {
  max-width: 37rem;
  margin-bottom: 2.4rem;
  color: rgba(229, 222, 211, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.5;
}

.contact-actions {
  display: grid;
  gap: 1.25rem;
}

.contact-email {
  width: fit-content;
  color: var(--paper);
  font-size: clamp(1rem, 1.7vw, 1.34rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
  border-bottom: 1px solid rgba(229, 222, 211, 0.28);
  transition: border-color 180ms ease, color 180ms ease;
}

.contact-email:hover {
  color: #fffaf1;
  border-color: rgba(229, 222, 211, 0.7);
}

.contact-page-image {
  display: none;
}

@media (max-width: 1050px) {
  .site-header {
    padding: 0 1.6rem;
  }

  .main-nav {
    gap: 1.7rem;
  }

  main,
  .site-footer {
    padding-right: 1.6rem;
    padding-left: 1.6rem;
  }

  .hero {
    grid-template-columns: 1fr 1.05fr;
    gap: 2rem;
    min-height: auto;
    padding-top: 3.8rem;
  }

  .hero-image {
    grid-column: 2;
    grid-row: 1;
    min-height: 29rem;
  }

  .hero-quote {
    top: 2rem;
    right: 1.6rem;
    max-width: 20rem;
  }

  .eyebrow {
    margin-bottom: 4rem;
  }

  h1 {
    font-size: 3.55rem;
  }

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

  .about-page-hero {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .about-page-copy {
    grid-column: auto;
  }

  .about-page-copy {
    grid-row: 1;
  }

  .contact-page-hero {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    display: grid;
    gap: 1rem;
    min-height: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .brand {
    font-size: 1rem;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .main-nav a,
  .brand,
  .text-link,
  .section-kicker,
  .eyebrow {
    font-size: 0.78rem;
  }

  main,
  .site-footer {
    padding-right: 1.05rem;
    padding-left: 1.05rem;
  }

  .about-band::before,
  .about-band::after {
    right: -1.05rem;
    left: -1.05rem;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 2rem 0 1.8rem;
  }

  .hero::before {
    inset: 0;
  }

  .eyebrow {
    margin-bottom: 1.5rem;
  }

  h1 {
    margin-bottom: 1.2rem;
    font-size: 2.65rem;
  }

  .dek {
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
  }

  .hero-image {
    height: 14rem;
    min-height: 0;
  }

  .hero-quote {
    top: 1.2rem;
    right: 1rem;
    max-width: 15rem;
    font-size: 1rem;
  }

  .section-grid,
  .about-band {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .about-band .text-link {
    grid-column: auto;
  }

  .section-grid {
    padding-top: 2rem;
  }

  .about-page-hero {
    padding: 3rem 0 3.4rem;
  }

  .about-page h1 {
    font-size: 2.2rem;
  }

  .contact-page-hero {
    padding: 3rem 0 3.4rem;
  }

  .contact-page h1 {
    max-width: 9ch;
  }

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

@media (max-width: 500px) {
  h1 {
    font-size: 2.35rem;
  }

  .about-page h1 {
    font-size: 1.82rem;
  }

  .hero-image {
    min-height: 20rem;
  }

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

  .fragment {
    aspect-ratio: 3 / 2;
  }
}
