@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

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

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #282828;
  --surface: #1f1f1f;
  --text: #f2f0ed;
  --muted: #b9b9b2;
  --accent: #6ed7c0;
  --line: #454642;
  --sans: Inter, Arial, sans-serif;
  --mono: "Geist Mono", monospace;
  --serif: "Instrument Serif", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--surface);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 2px;
}

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

h1,
h2,
p,
figure,
dl,
dd {
  margin: 0;
}

.wrap {
  width: min(1240px, calc(100% - 112px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--surface);
  transform: translateY(-160%);
}

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

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.6px;
  text-decoration: none;
}

.wordmark-symbol {
  color: var(--accent);
  font-size: 30px;
  line-height: 1;
}

.back-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 44px;
  font-size: 13px;
  text-decoration: none;
}

.back-link:hover,
.text-link:hover,
.wordmark:hover {
  color: var(--accent);
}

.back-link span,
.text-link span {
  color: var(--accent);
  font-size: 20px;
}

.hero {
  padding-top: clamp(48px, 7vw, 94px);
}

.eyebrow,
.project-meta dt,
.section-label,
.figure-note,
.footer-note {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

h1 {
  margin-top: 25px;
  font-size: clamp(58px, 8.7vw, 120px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.07em;
}

.title-dot {
  color: var(--accent);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-top: 30px;
}

.summary {
  max-width: 710px;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.55;
  letter-spacing: -0.4px;
}

.explore-link {
  flex-shrink: 0;
  padding-bottom: 5px;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-block: 28px;
  margin-top: 48px;
  border-block: 1px solid var(--line);
}

.project-meta dt,
.section-label,
.figure-note,
.footer-note {
  color: var(--muted);
}

.project-meta dd {
  margin-top: 8px;
  font-size: 14px;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding-block: 55px 64px;
}

.story h2 {
  margin-block: 14px 15px;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -1px;
}

.story p:not(.section-label) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.scope-list {
  list-style: none;
  padding: 0;
  margin: 17px 0 0;
}

.scope-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.scope-list li + li {
  margin-top: 8px;
}

.scope-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.presentation {
  padding-block: 34px 44px;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.presentation-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 25px;
}

.presentation-heading h2 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.4px;
}

.presentation-image {
  display: block;
  background: #101110;
  border-radius: 8px;
}

.presentation-image img {
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.presentation-image:focus-visible {
  outline-offset: 8px;
}

.figure-note {
  margin-top: 20px;
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: none;
}

.next-section {
  padding-block: 80px;
}

.next-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 25px;
  text-decoration: none;
}

.next-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.next-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 808 / 632;
  object-fit: cover;
  transition: transform 250ms ease;
}

.next-card:hover .next-image img {
  transform: scale(1.025);
}

.next-title {
  display: block;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.06em;
}

.next-description {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.next-action {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  color: var(--accent);
  font-size: 13px;
}

.round-arrow {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-size: 22px;
  transition: background-color 180ms ease, color 180ms ease;
}

.next-card:hover .round-arrow {
  color: var(--surface);
  background: var(--accent);
}

.contact {
  padding-block: 66px 60px;
  border-top: 1px solid var(--line);
}

.contact-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 16px;
}

.contact-title {
  font-family: var(--serif);
  font-size: clamp(62px, 8vw, 100px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.contact-title a {
  color: var(--accent);
  text-decoration: none;
}

.contact-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 12px;
}

.email-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.email-link:hover {
  color: var(--accent);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}

.footer-note {
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: none;
}

@media (min-width: 1600px) {
  .wrap {
    width: min(1400px, calc(100% - 160px));
  }
}

@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 64px);
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .story {
    gap: 40px;
  }

  .next-card {
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .site-header {
    min-height: 84px;
    gap: 12px;
  }

  .wordmark {
    gap: 7px;
    font-size: 14px;
  }

  .wordmark-symbol {
    font-size: 25px;
  }

  .back-link {
    gap: 7px;
    font-size: 11px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }

  h1 {
    font-size: clamp(42px, 11vw, 64px);
    letter-spacing: -0.065em;
  }

  .hero-bottom {
    margin-top: 22px;
  }

  .project-meta {
    gap: 20px;
    grid-template-columns: 1fr;
    margin-top: 28px;
    padding-block: 24px;
  }

  .project-meta > div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: baseline;
  }

  .project-meta dd {
    margin-top: 0;
    font-size: 13px;
  }

  .project-meta dt {
    font-size: 10px;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 38px 42px;
  }

  .story h2 {
    letter-spacing: -0.6px;
  }

  .presentation {
    padding-block: 24px 28px;
  }

  .presentation-heading {
    flex-wrap: wrap;
    gap: 3px 20px;
    margin-bottom: 16px;
  }

  .presentation-heading h2 {
    font-size: 17px;
  }

  .presentation-heading .text-link {
    font-size: 12px;
  }

  .presentation-image,
  .presentation-image img {
    border-radius: 4px;
  }

  .next-section {
    padding-block: 48px;
  }

  .next-card {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 20px;
  }

  .next-title {
    font-size: 40px;
  }

  .next-description {
    margin-top: 10px;
  }

  .next-action {
    margin-top: 20px;
  }

  .contact {
    padding-block: 42px;
  }

  .contact-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .site-footer {
    gap: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
