@font-face {
  font-family: "Outfit Local";
  src: url("../fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit Local";
  src: url("../fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit Local";
  src: url("../fonts/outfit-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #141c27;
  --muted: #5c6876;
  --works: #8d97a3;
  --paper: #ffffff;
  --wash: #eef2f6;
  --navy: #0d1524;
  --blue: #156fe0;
  --blue-deep: #0b4cae;
  --line: rgba(20, 28, 39, 0.12);
  --sans: "Outfit Local", "Avenir Next", "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 6vw, 6.5rem);
  --measure: 38rem;
}

*,
*::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.125rem;
  line-height: 1.65;
  font-weight: 400;
}

img, svg { max-width: 100%; }

a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.8rem;
  z-index: 30;
}

.skip:focus { top: 1rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.75rem;
  padding: 0.4rem var(--pad);
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.brand .mark { width: 2.35rem; height: auto; display: block; flex: none; }

.brand-type { display: flex; flex-direction: column; line-height: 1; }

.brand-zelov {
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 1.02rem;
}

.brand-works {
  margin-top: 0.22rem;
  padding-left: 0.28em;
  font-weight: 500;
  letter-spacing: 0.32em;
  font-size: 0.62rem;
  color: var(--works);
}

.links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
}

.links a {
  text-decoration: none;
  font-size: 1rem;
  color: var(--ink);
}

.links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font: inherit;
  cursor: pointer;
}

.hero {
  min-height: calc(100svh - 4.75rem);
  min-height: calc(100vh - 4.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem var(--pad) 3.5rem;
}

.hero-mark { width: min(48vw, 228px); }

.hero-mark .mark { width: 100%; height: auto; display: block; }

.lockup-name {
  margin: 1.15rem 0 0;
  font-weight: 700;
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  letter-spacing: 0.16em;
  line-height: 1;
  padding-left: 0.16em;
}

.lockup-works {
  margin: 0.55rem 0 0;
  font-weight: 500;
  letter-spacing: 0.48em;
  font-size: clamp(0.78rem, 1.5vw, 1.05rem);
  color: var(--works);
  padding-left: 0.48em;
}

.hero h1,
.page-hero h1,
.prose h1,
.band h2,
.work-row h2 {
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

.hero h1 {
  margin-top: 2.25rem;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero .lede {
  margin: 0.35rem 0 0;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  line-height: 1.3;
  font-weight: 400;
}

.hero .deck {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  text-wrap: balance;
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.5rem;
  margin: 1.35rem 0 0;
}

.text-links a { color: var(--blue); }

.band { padding: clamp(5.5rem, 13vh, 9rem) var(--pad); }

.band-sync { background: var(--paper); }

.band-orbit { background: var(--wash); }

.band-collect { background: var(--navy); color: #f4f7fb; }

.band-inner { max-width: 68rem; }

.band .mark,
.stamp .mark { width: 2.6rem; height: auto; display: block; }

.band h2 a,
.work-row h2 { text-decoration: none; }

.page-mark { width: min(42vw, 148px); margin-bottom: 1.6rem; }
.page-mark .mark { width: 100%; height: auto; display: block; }

.band h2,
.work-row h2,
.page-hero h1 {
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  margin-top: 1rem;
}

.byline {
  margin: 0.85rem 0 0;
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 500;
}

.band-collect .byline { color: #8ec0ff; }

.band .blurb,
.work-row .blurb {
  margin: 1.25rem 0 0;
  max-width: var(--measure);
  font-size: 1.2rem;
  line-height: 1.65;
}

.band a.more {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
}

.band-collect a.more { color: #8ec0ff; }

.page-hero {
  padding: clamp(4.5rem, 12vh, 8rem) var(--pad) clamp(2rem, 5vh, 3rem);
  max-width: 76rem;
}

.page-hero .lede {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.35;
}

.page-hero .deck {
  margin: 1.25rem 0 0;
  max-width: var(--measure);
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--muted);
}

.page-hero .text-links { justify-content: flex-start; }

.works-intro {
  box-sizing: border-box;
  width: min(100%, 68rem);
  max-width: 68rem;
  margin-inline: auto;
  text-align: center;
  padding-top: clamp(3rem, 6vh, 4.75rem);
  padding-bottom: clamp(1.75rem, 3.5vh, 2.75rem);
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.works-intro h1 {
  margin-top: 0;
  font-size: clamp(2.5rem, 4.6vw, 3.5rem);
}

.works-intro .intro {
  margin: 1.4rem auto 0;
  max-width: 32rem;
  font-size: 1.2rem;
  line-height: 1.6;
}

.works-intro .lede {
  margin: 1.65rem auto 0;
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--muted);
}

.prose {
  padding: 1rem var(--pad) clamp(5rem, 12vh, 8rem);
  max-width: 76rem;
}

.prose h2 {
  margin: 3rem 0 0.8rem;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.prose p,
.prose li { max-width: var(--measure); }

.prose p { margin: 0 0 1.15rem; font-size: 1.15rem; }

.prose .lede {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  margin-bottom: 1.4rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.plain-list,
.states ul,
.day ol { list-style: none; padding: 0; margin: 0; }

.plain-list li,
.states li,
.day li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  max-width: 40rem;
  line-height: 1.55;
}

.plain-list strong,
.states strong,
.day li span {
  display: block;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.states figcaption,
.day figcaption,
.drawer figcaption {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.states li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; }

.swatch {
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.45rem;
  border-radius: 50%;
}

.swatch.current { background: #1f8a4c; }
.swatch.waiting { background: #d89a2b; }
.swatch.stale { background: #a34b4b; }

.states p { margin: 0; }

.drawer-stack { display: grid; gap: 0.8rem; max-width: 22rem; }

.card-sheet {
  background: var(--wash);
  padding: 1.2rem 1.3rem 1.4rem;
}

.card-sheet b {
  display: block;
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.lines {
  height: 0.55rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.works-list {
  box-sizing: border-box;
  width: min(100%, 68rem);
  max-width: 68rem;
  margin-inline: auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 6vh, 5rem);
}

.work-row {
  display: grid;
  grid-template-columns: minmax(16rem, 1.2fr) minmax(16rem, 1fr);
  gap: clamp(2rem, 3vw, 3.5rem);
  align-items: start;
  padding: clamp(1.65rem, 3vh, 2.6rem) 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  text-align: left;
}

.work-row:last-child { border-bottom: 1px solid var(--line); }

.work-row h2 { margin-top: 0; }

.work-row .blurb { margin-top: 0.2rem; max-width: 34rem; }

.doors { margin-top: 2rem; max-width: 40rem; }

.door {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.door:last-child { border-bottom: 1px solid var(--line); }

.door span {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem var(--pad) 3.5rem;
  color: var(--muted);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem 3rem;
  font-size: 1rem;
}

.site-footer p { margin: 0 0 0.7rem; }

.foot-name {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
}

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

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  align-content: start;
}

.foot-links a { text-decoration: none; }

@media (max-width: 860px), (max-height: 700px) {
  .hero {
    min-height: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.4rem var(--pad) 1.2rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .links.is-open { display: flex; }

  .split,
  .work-row,
  .site-footer { grid-template-columns: 1fr; }

  .work-row .blurb { margin-top: 1.25rem; }
}

@media (max-width: 420px) {
  .lockup-name { letter-spacing: 0.12em; }
  .lockup-works { letter-spacing: 0.36em; }
}

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