:root {
  --paper: #f7f4ee;
  --paper-2: #efeae0;
  --ink: #1c1b19;
  --muted: #3f3b36;
  --line: #d8d1c4;
  --deep: #1c2b28;
  --clay: #9c4a2e;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: Outfit, "Segoe UI", sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-wrap: balance;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  background: var(--deep);
  color: var(--paper);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.accent-bar {
  height: 4px;
  background: var(--clay);
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: 4.25rem;
  padding-block: 0.75rem;
}

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

.brand img {
  display: block;
  height: 4.25rem;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero {
  padding-block: 4.5rem 3.25rem;
}

.hero h1 {
  margin-top: 0.85rem;
  font-size: clamp(3.4rem, 9vw, 6.75rem);
  max-width: 100%;
}

.lede {
  max-width: 36rem;
  margin-top: 1.35rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.work {
  padding-bottom: 5rem;
}

.section-intro {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.section-intro h2,
.block h2,
.contact h2,
.team h2 {
  font-size: clamp(2.1rem, 4vw, 3.15rem);
}

.intro {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
  margin-top: 1.5rem;
}

.work-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.work-list li {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 1.2rem 1.15rem 1.15rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.num {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.work-list h3 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.15;
}

.work-list p,
.copy-block p,
.build-list {
  font-size: 1rem;
  line-height: 1.5;
}

.block {
  padding-bottom: 4.5rem;
}

.copy-block {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

.copy-block h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.build-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.band {
  background: var(--deep);
  color: var(--paper);
  padding-block: 4.75rem;
}

.band .eyebrow {
  color: #d7d0c4;
}

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

.project-card {
  display: flex;
  flex-direction: column;
  justify-self: start;
  width: 50%;
  max-width: 100%;
  gap: 0;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  border-radius: 2px;
  overflow: hidden;
}

.project-logo {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.project-card:hover {
  background: #fff;
}

.project-card:focus-visible {
  outline-color: var(--ink);
  outline-offset: 4px;
}

.card-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-card h3 {
  font-size: clamp(2.15rem, 4vw, 3rem);
}

.card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem 1.25rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.url {
  font-size: 0.95rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.open {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.75rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.open svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.project-card:hover .open svg {
  transform: translate(2px, -2px);
}

.team,
.contact {
  padding-block: 4.75rem 5.25rem;
}

.contact form {
  display: grid;
  gap: 0.9rem;
  max-width: 36rem;
}

.contact label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
}

.contact input,
.contact textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.7rem 0.75rem;
}

.contact button {
  justify-self: start;
  font: inherit;
  font-weight: 600;
  color: var(--paper);
  background: var(--deep);
  border: 0;
  border-radius: 2px;
  padding: 0.75rem 1.2rem;
  cursor: pointer;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.team-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.person {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
}

.person img {
  display: block;
  width: 100%;
  height: auto;
}

.person-copy {
  display: grid;
  gap: 0.4rem;
  padding: 0.9rem 0.85rem 1.05rem;
}

.person h3 {
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.role {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--muted);
}

.person-copy p:last-child {
  font-size: 0.92rem;
  line-height: 1.45;
}

.team-note {
  max-width: 36rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 1.6rem 2rem;
}

.footer-inner {
  display: grid;
  gap: 0.45rem;
}

.footer-site a {
  color: var(--muted);
  font-weight: 500;
  text-underline-offset: 0.2em;
}

.footer-contact a {
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.missing {
  padding-block: 5rem 6rem;
}

.missing h1 {
  margin-top: 0.8rem;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  max-width: 10ch;
}

.text-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 500;
  text-underline-offset: 0.22em;
}

section[id] {
  scroll-margin-top: 7rem;
}

@media (min-width: 720px) {
  .wrap {
    width: min(1120px, calc(100% - 4rem));
  }

  .work-list {
    grid-template-columns: 1fr 1fr;
  }

  .brand img {
    height: 5rem;
  }

  .project-grid,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem 2rem;
  }

  .team-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }

  .footer-inner {
    align-items: end;
  }

  .footer-contact {
    justify-self: end;
  }
}

@media (min-width: 1100px) {
  .team-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .person h3 {
    font-size: 1.05rem;
  }

  .person-copy p:last-child {
    font-size: 0.82rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }
}

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

  .project-card:hover .open svg {
    transform: none;
  }
}

@media print {
  .site-header {
    position: static;
  }

  .accent-bar,
  .skip {
    display: none;
  }

  .band {
    background: white;
    color: black;
  }

  .project-card {
    border: 1px solid #bbb;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
  }
}
