@font-face {
  font-family: "Geist";
  src: url("/fonts/geist.19f9c92546.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk.0640890476.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* Product typefaces, subset to the letters of their names. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-names.45625877b0.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("/fonts/cinzel-names.df5e5480bc.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Fugaz One";
  src: url("/fonts/fugaz-one-names.1bc26fe462.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Vampiro One";
  src: url("/fonts/vampiro-one-names.48d9fd0cdc.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #fbfbf9;
  --band: #f1f1ed;
  --ink: #141413;
  --muted: #5f5e57;
  --line: rgb(20 20 19 / 11%);
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --display: "Space Grotesk", var(--sans);
  --gutter: clamp(16px, 4vw, 64px);
  --width: 1200px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 440;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

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

.gutter {
  padding-inline: max(var(--gutter), calc((100% - var(--width)) / 2));
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  top: 10px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.wordmark svg {
  width: 24px;
  height: 24px;
}

.site-header nav {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
  font-size: 14px;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms ease;
}

.site-header nav a:hover {
  color: var(--ink);
}

/* Intro */

.intro {
  padding-top: clamp(56px, 8vw, 112px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.intro h1 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5.2vw, 70px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.lede {
  max-width: 58ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 20px);
}

/* Section titles */

.section-title {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Products */

.projects {
  padding-bottom: clamp(48px, 6vw, 80px);
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

/* Each product is shown by its social card, the way it looks when shared. */
.project-shot {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: var(--tone);
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 200ms ease;
}

.project-shot img {
  width: 100%;
  height: auto;
}

a.project-shot:hover {
  box-shadow: 0 0 0 1px var(--ink);
}

.project-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 8px;
}

.platforms {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.platforms svg {
  display: block;
  width: 22px;
  height: 22px;
}

.icon-cut {
  fill: var(--paper);
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--muted);
  content: "";
}

.project h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

/* Each product's name, set the way the product sets it. */

.name-eyewall {
  font-family: "Inter", var(--sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.name-tapescript {
  font-family: "Vampiro One", var(--sans);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.project h2.name-amon-hen {
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.name-oversight {
  font-family: "Inter", var(--sans);
  font-weight: 800;
  letter-spacing: -0.07em;
  text-transform: lowercase;
}

.name-oversight::after {
  color: #92a57e;
  content: ".";
}

.name-split {
  font-family: "Fugaz One", var(--sans);
  font-weight: 400;
  text-transform: uppercase;
}

.project-kind {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.project-description {
  max-width: 52ch;
  margin: 14px 0 0;
}

.visit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  font-size: 15px;
  font-weight: 560;
  text-decoration: none;
}

.visit svg {
  flex: none;
  width: 17px;
  height: 17px;
}

.visit:hover {
  color: var(--muted);
}

.visit-off {
  border-bottom: 0;
  color: var(--muted);
  font-weight: 500;
}

/* Studio */

.studio {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(56px, 7vw, 96px);
  background: var(--band);
}

.studio h2 {
  max-width: 22ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px clamp(24px, 3vw, 48px);
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}

.principles li {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}

.principles h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.principles p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  align-items: center;
  align-content: center;
  min-height: 64px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
}

/* Simple page: 404 */

.page > * {
  max-width: 820px;
}

.page {
  padding-top: clamp(56px, 9vw, 120px);
  padding-bottom: clamp(72px, 10vw, 140px);
}

.page h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.page > p {
  max-width: 52ch;
  color: var(--muted);
}

.page .back {
  display: inline-block;
  margin-top: 24px;
}

/* Responsive */

@media (max-width: 860px) {
  .project {
    grid-template-columns: 1fr;
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.tone-eyewall { --tone: #070707; }
.tone-tapescript { --tone: #0a0a0a; }
.tone-amon-hen { --tone: #0d0b09; }
.tone-oversight { --tone: #e9e4d8; }
.tone-weave { --tone: #111111; }
.tone-split { --tone: #101210; }
