:root {
  color-scheme: light;
  --paper: #f4ead7;
  --paper-deep: #e4d0ad;
  --ink: #2a241e;
  --ink-soft: #5b5044;
  --moss: #4b5b46;
  --rain: #6c7f83;
  --line: rgba(42, 36, 30, 0.18);
  --shadow: rgba(23, 18, 14, 0.34);
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  background-image: url("/assets/facebook-cover.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(22, 18, 15, 0.82), rgba(22, 18, 15, 0.26) 58%, rgba(22, 18, 15, 0.42)),
    linear-gradient(0deg, rgba(22, 18, 15, 0.78), rgba(22, 18, 15, 0.08) 58%);
}

.hero__content {
  position: relative;
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: currentColor;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.brand-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.brand-kicker .eyebrow {
  margin: 0;
}

.brand-kicker img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 1px solid rgba(244, 234, 215, 0.42);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(22, 18, 15, 0.28);
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(4rem, 11vw, 8.5rem);
  font-weight: 400;
  line-height: 0.9;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 400;
  line-height: 1.04;
}

.tagline {
  margin: 24px 0 0;
  font-size: clamp(1.1rem, 2.5vw, 1.65rem);
  color: var(--paper-deep);
  font-style: italic;
}

.intro {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(244, 234, 215, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.intro--dark {
  color: var(--ink-soft);
}

.primary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.primary-links a,
.pending-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(244, 234, 215, 0.34);
  padding: 10px 16px;
  background: rgba(244, 234, 215, 0.08);
  color: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84rem;
  text-transform: uppercase;
}

.primary-links a:hover,
.primary-links a:focus-visible {
  background: rgba(244, 234, 215, 0.18);
  outline: none;
}

.primary-links .home-link {
  color: var(--ink);
  border-color: var(--line);
}

.pending-link {
  opacity: 0.58;
}

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

.section--quiet {
  background: #efe1c6;
}

.section--release {
  background: #ddd0b7;
}

.section__inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.about-layout,
.release-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 56px;
  align-items: start;
}

.about-layout p,
.release-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.85;
}

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

.link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.link-card {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px;
  background: rgba(255, 255, 255, 0.2);
  transition: background 180ms ease, color 180ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  background: var(--moss);
  color: var(--paper);
  outline: none;
}

.link-card span {
  font-size: 1.25rem;
  line-height: 1.2;
}

.link-card small {
  color: currentColor;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.5;
  opacity: 0.7;
  text-transform: uppercase;
}

.link-card--pending {
  color: rgba(42, 36, 30, 0.58);
}

.link-card--pending:hover {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(42, 36, 30, 0.58);
}

.release-layout {
  align-items: center;
}

.release-copy {
  max-width: 520px;
}

.release-copy p {
  margin-top: 24px;
}

.cover-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cover-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 0 24px 60px var(--shadow);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(20px, calc((100vw - var(--max-width)) / 2));
  background: var(--ink);
  color: rgba(244, 234, 215, 0.78);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.footer p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.footer img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.88;
}

@media (max-width: 820px) {
  .hero {
    min-height: 88vh;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(22, 18, 15, 0.84), rgba(22, 18, 15, 0.12) 66%),
      linear-gradient(90deg, rgba(22, 18, 15, 0.58), rgba(22, 18, 15, 0.2));
  }

  .hero__content,
  .section__inner {
    width: min(100% - 28px, var(--max-width));
  }

  .hero__content {
    padding-bottom: 42px;
  }

  .about-layout,
  .release-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section__inner {
    padding: 52px 0;
  }

  .section-heading {
    display: block;
  }

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

  .link-card {
    min-height: 116px;
  }

  .cover-row {
    gap: 10px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

  .primary-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-links a,
  .pending-link {
    justify-content: center;
  }
}
