:root {
  --ink: #050505;
  --ink-2: #0b0b0a;
  --ink-3: #141414;
  --paper: #eee9dc;
  --paper-2: #d7d2c4;
  --muted: #8c8980;
  --line: #2a2925;
  --acid: #d7ef2f;
  --rust: #7f2d22;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  line-height: 1.5;
  text-transform: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.09), transparent 2px),
    radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.05), transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 35%, rgba(255, 255, 255, 0.025));
  background-size: 9px 9px, 13px 13px, 100% 100%;
  mix-blend-mode: screen;
  z-index: 20;
}

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

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

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

.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;
}

.site-header,
.section,
.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: start;
  gap: 32px;
  padding: 34px 0 24px;
  text-transform: uppercase;
}

.logo-lockup {
  display: inline-grid;
  gap: 0;
  width: max-content;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 18px;
  line-height: 0.86;
  letter-spacing: 0;
}

.site-nav,
.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  color: var(--paper-2);
  font-size: 12px;
}

.site-nav a,
.site-footer nav a {
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-footer nav a:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid rgba(215, 239, 47, 0.55);
  background: var(--acid);
  color: #080808;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
  transform: rotate(-1deg);
}

.button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px) rotate(-1deg);
}

.button--top {
  min-height: 48px;
  padding-inline: 30px;
}

.section {
  padding: 44px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 58px;
  align-items: center;
  min-height: 620px;
}

.stamp {
  display: inline-block;
  margin: 0 0 22px;
  padding: 4px 7px;
  border: 1px solid var(--paper);
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero__headline {
  width: min(640px, 100%);
  margin-bottom: 22px;
}

.hero__intro {
  max-width: 520px;
  margin: 0 0 30px;
  color: var(--paper-2);
}

.hero__art {
  position: relative;
  min-height: 520px;
  border-left: 1px solid var(--line);
  overflow: hidden;
}

.hero__art::before {
  content: "";
  position: absolute;
  inset: 0 15% 0 8%;
  background:
    linear-gradient(90deg, rgba(238, 233, 220, 0.92) 0 4%, transparent 4%),
    radial-gradient(circle at 25% 20%, rgba(238, 233, 220, 0.12), transparent 30%);
  transform: rotate(1deg);
}

.hero__portrait {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: min(500px, 92%);
  filter: grayscale(1) contrast(1.35);
  mix-blend-mode: screen;
}

.hero__meta {
  position: absolute;
  top: 38px;
  right: 0;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-heading h2,
.about h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading a {
  color: var(--paper-2);
  font-size: 11px;
}

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

.project-card {
  border: 1px solid var(--line);
  background: #080808;
  transition: transform 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 239, 47, 0.55);
}

.project-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink-3);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.08) saturate(0.85);
}

.project-card__body {
  padding: 18px;
}

.project-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  text-transform: uppercase;
}

.project-card p {
  margin: 0;
  color: var(--paper-2);
}

.project-card__meta {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-strip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.85fr);
  gap: 32px;
  align-items: center;
  margin-top: 20px;
  padding: 28px 44px;
  background: var(--paper);
  color: #111;
}

.contact-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(0, 0, 0, 0.35);
  background:
    radial-gradient(circle at 12% 24%, rgba(0, 0, 0, 0.16), transparent 1px),
    radial-gradient(circle at 78% 65%, rgba(0, 0, 0, 0.12), transparent 1px),
    linear-gradient(178deg, rgba(0, 0, 0, 0.2), transparent 11%, transparent 86%, rgba(0, 0, 0, 0.18));
  background-size: 11px 11px, 17px 17px, 100% 100%;
  opacity: 0.32;
  mix-blend-mode: multiply;
}

.contact-strip > * {
  position: relative;
}

.contact-strip h2 {
  margin: 0 0 8px;
  max-width: 430px;
  font-size: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}

.contact-strip p {
  margin: 0;
}

.contact-strip__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid #a5a090;
  background: var(--acid);
  color: #111;
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(220px, 0.55fr);
  gap: 56px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}

.about__copy p,
.site-footer p {
  color: var(--paper-2);
}

.about__copy a {
  display: inline-block;
  margin-top: 20px;
  color: var(--acid);
  text-transform: uppercase;
}

.build-board {
  position: relative;
  min-height: 260px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(215, 239, 47, 0.08), transparent 38%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(238, 233, 220, 0.05) 31px 32px),
    #101010;
  transform: rotate(-2deg);
}

.build-board::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 72px;
  height: 12px;
  background: var(--acid);
  opacity: 0.9;
  transform: rotate(-5deg);
}

.build-board h3 {
  width: max-content;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 4px 8px;
  border: 1px solid var(--paper);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.build-board p {
  max-width: 32ch;
  margin: 0;
  color: var(--paper-2);
  font-size: 15px;
  line-height: 1.65;
}

.site-footer {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 34px;
  align-items: start;
  padding: 34px 0 28px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.fine-print {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 120px 1fr;
  }

  .button--top {
    grid-column: 2;
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__art {
    min-height: 440px;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header,
  .section,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-nav,
  .site-footer nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
  }

  .button--top {
    grid-column: auto;
    justify-self: start;
  }

  .hero {
    gap: 34px;
    padding-top: 28px;
  }

  .hero__headline {
    width: 100%;
  }

  .hero__art {
    min-height: 360px;
  }

  .hero__portrait {
    right: 2%;
    width: 92%;
  }

  .project-grid,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .contact-strip {
    padding: 24px 18px;
  }

  .contact-strip__link {
    justify-content: center;
  }
}
