:root {
  --ink: #171714;
  --ink-soft: #2a2925;
  --paper: #f3ede2;
  --paper-bright: #fffaf1;
  --red: #d43a31;
  --purple: #5b238d;
  --purple-bright: #8e4ac4;
  --gold: #d2a84a;
  --line: rgba(23, 23, 20, 0.2);
  --max-width: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --radius: 0.35rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--paper-bright);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  padding: 0.75rem var(--gutter);
  border-bottom: 1px solid rgba(243, 237, 226, 0.15);
  background: rgba(23, 23, 20, 0.96);
  color: var(--paper);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--paper);
  font-weight: 900;
  letter-spacing: -0.08em;
}

.brand-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 2.75rem);
}

.site-nav a {
  position: relative;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  background: none;
  color: var(--paper);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.menu-lines::before {
  transform: translateY(-6px);
}

.menu-lines::after {
  transform: translateY(4px);
}

.menu-button[aria-expanded="true"] .menu-lines {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-lines::before {
  transform: translateY(1px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-lines::after {
  transform: translateY(-1px) rotate(-45deg);
}

.hero,
.section-heading,
.about,
.process,
.contact,
.site-footer {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  min-height: min(46rem, calc(100vh - 4.75rem));
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.eyebrow {
  margin: 0 0 1.2rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.5rem, 9vw, 8.75rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.hero-role {
  display: inline-block;
  margin: 2rem 0 0;
  padding: 0.3rem 0.8rem;
  background: var(--red);
  color: white;
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.hero-statement {
  margin: 1.5rem 0 0;
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

.text-link,
.download-link {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-underline-offset: 0.35rem;
  text-transform: uppercase;
}

.hero-board {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 1.25rem 1.25rem 0 var(--red);
}

.hero-board::after {
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 9rem;
  height: 9rem;
  border: 1.5rem solid var(--red);
  border-radius: 50%;
  content: "";
}

.board-number {
  font-size: clamp(5rem, 11vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.8;
}

.hero-board > p {
  margin: 0.8rem 0 2.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-board ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-board li {
  padding: 0.65rem 0;
  border-top: 1px solid rgba(243, 237, 226, 0.28);
  font-size: 0.9rem;
}

.board-note {
  display: block;
  margin-top: 2.5rem;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.section-heading h2,
.about h2,
.process h2,
.contact h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.93;
}

.section-heading > p:last-child {
  max-width: 44rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1rem, 1.7vw, 1.3rem);
}

.projects {
  width: 100%;
}

.project {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  min-height: 48rem;
  padding: clamp(4rem, 8vw, 8rem) max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
}

.project-red {
  background: var(--red);
  color: var(--paper-bright);
}

.project-cream {
  background: var(--paper-bright);
  color: var(--ink);
}

.project-ink {
  background: var(--ink);
  color: var(--paper);
}

.project-purple {
  background: var(--purple);
  color: white;
}

.project-light {
  background: #ddd8ce;
  color: var(--ink);
}

.project-kicker {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project h3 {
  margin: 2rem 0 1.5rem;
  font-size: clamp(2.5rem, 5vw, 5.35rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.project-description {
  max-width: 40rem;
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.project-meta {
  display: grid;
  gap: 0;
  margin: 2rem 0;
}

.project-meta div {
  display: grid;
  grid-template-columns: 6.75rem 1fr;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid currentColor;
}

.project-meta div:last-child {
  border-bottom: 1px solid currentColor;
}

.project-meta dt {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-meta dd {
  margin: 0;
  font-size: 0.88rem;
}

.download-link {
  display: inline-block;
  padding-bottom: 0.2rem;
}

.identity-gallery {
  display: grid;
  gap: 1.5rem;
  transform: rotate(1.2deg);
}

.identity-card {
  margin: 0;
  padding: clamp(1rem, 3vw, 2.25rem);
  color: var(--ink);
  box-shadow: 1rem 1rem 0 rgba(23, 23, 20, 0.18);
}

.identity-color {
  background: #f2e6d2;
}

.identity-mono {
  background: white;
  transform: translateX(-4%) rotate(-2.2deg);
}

.identity-card figcaption,
.document-gallery figcaption,
.print-gallery figcaption {
  margin-top: 0.8rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-poster {
  grid-template-columns: minmax(18rem, 0.75fr) minmax(16rem, 0.85fr);
}

.poster-frame,
.ad-frame {
  justify-self: center;
  width: min(100%, 34rem);
  margin: 0;
  padding: clamp(0.7rem, 1.4vw, 1.2rem);
  background: var(--ink);
  box-shadow: 1.25rem 1.25rem 0 var(--red);
  transform: rotate(1deg);
}

.document-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.5rem);
  align-items: start;
}

.document-gallery figure,
.print-gallery figure {
  margin: 0;
}

.document-gallery figure:first-child {
  transform: translateY(5%) rotate(-2deg);
}

.document-gallery figure:last-child {
  transform: rotate(1.6deg);
}

.document-gallery img {
  border: 0.55rem solid white;
  box-shadow: 0 1rem 2.75rem rgba(0, 0, 0, 0.35);
}

.print-gallery {
  display: grid;
  gap: 1.25rem;
}

.print-gallery figure {
  padding: 0.7rem;
  background: white;
  color: var(--ink);
  box-shadow: 0 1rem 2.4rem rgba(24, 8, 37, 0.32);
}

.print-gallery figure:first-child {
  transform: rotate(-1deg);
}

.print-gallery figure:last-child {
  transform: translateX(3%) rotate(1deg);
}

.ad-frame {
  background: white;
  box-shadow: 1.25rem 1.25rem 0 var(--purple);
}

.about,
.process {
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.section-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-grid,
.process-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.about-copy > p {
  margin: 0;
  font-size: clamp(1.15rem, 2.1vw, 1.6rem);
  line-height: 1.55;
}

.skill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2.5rem;
}

.skill-row span {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.process {
  width: 100%;
  max-width: none;
  background: var(--ink);
  color: var(--paper);
  padding-inline: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
}

.process-intro {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.process-aside {
  max-width: 26rem;
  margin-top: 2rem;
  color: #c7c0b5;
}

.process-copy {
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.process-copy p {
  margin: 0 0 1.6rem;
}

.process-copy p:first-child::first-letter {
  float: left;
  margin: 0.11em 0.12em 0 0;
  color: var(--red);
  font-size: 5.2rem;
  font-weight: 900;
  line-height: 0.72;
}

.contact {
  padding-top: clamp(5rem, 11vw, 10rem);
  padding-bottom: clamp(5rem, 11vw, 10rem);
}

.contact h2 {
  max-width: 14ch;
}

.contact-link {
  display: grid;
  grid-template-columns: minmax(7rem, 0.35fr) 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-top: clamp(3rem, 7vw, 6rem);
  padding: 1.5rem 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  text-decoration: none;
}

.contact-link span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: clamp(1.4rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
}

.contact-link:hover strong {
  color: var(--red);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-child(2) {
  text-align: center;
}

.site-footer a {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .menu-button {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem var(--gutter) 1.25rem;
    border-bottom: 1px solid rgba(243, 237, 226, 0.2);
    background: var(--ink);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(243, 237, 226, 0.15);
  }

  .hero,
  .project,
  .about-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 5rem;
  }

  .hero-board {
    max-width: 31rem;
  }

  .project {
    min-height: auto;
  }

  .project-copy {
    max-width: 48rem;
  }

  .project-poster .poster-frame,
  .ad-frame {
    width: min(88%, 34rem);
  }

  .process-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .brand-label {
    display: none;
  }

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

  .hero-board {
    margin-right: 0.75rem;
  }

  .project {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .project-kicker {
    flex-direction: column;
    gap: 0.35rem;
  }

  .project h3 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .project-meta div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .identity-mono,
  .print-gallery figure:last-child {
    transform: none;
  }

  .document-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .document-gallery figcaption {
    font-size: 0.58rem;
  }

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

  .contact-link > span:first-child {
    grid-column: 1 / -1;
  }

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

  .site-footer p:nth-child(2),
  .site-footer a {
    justify-self: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
