@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #08090a;
  --bg-2: #0f1011;
  --text: #f7f8f8;
  --text-2: #d0d6e0;
  --text-3: #8a8f98;
  --border: #23252a;
  --border-2: #34343a;
  --accent: #7170ff;
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px;
}
.home .top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.glyph { width: 22px; height: 22px; overflow: visible; }
.glyph circle { fill: currentColor; }
.glyph path, .glyph rect { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.nav { display: flex; gap: 28px; color: var(--text-2); font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 480px) {
  .top { padding-block: 20px; gap: 16px; }
  .glyph { display: none; }
  .nav { gap: 16px; font-size: 15px; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding-block: 120px clamp(48px, 9vh, 110px);
  overflow: hidden;
  isolation: isolate;
}
.hero-art, .hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-art img {
  object-fit: cover;
  object-position: 50% 35%;
  transform-origin: 50% 60%;
  animation: settle 8s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 9, 10, 0.55) 0%, rgba(8, 9, 10, 0) 26%, rgba(8, 9, 10, 0) 50%, rgba(8, 9, 10, 0.94) 100%),
    linear-gradient(90deg, rgba(8, 9, 10, 0.55) 0%, rgba(8, 9, 10, 0) 60%);
}
.hero-copy { position: relative; z-index: 2; }
.statement {
  margin: 0 0 0 -0.03em;
  font-size: clamp(50px, 9.2vw, 148px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.statement .l { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.statement .l > span { display: block; animation: rise 0.9s cubic-bezier(0.2, 0.75, 0.15, 1) both; }
.statement .l:nth-child(2) > span { animation-delay: 0.1s; }
.lead {
  margin: clamp(24px, 3.5vh, 40px) 0 0;
  max-width: 36ch;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.45;
  color: var(--text-2);
  animation: fade 0.8s ease 0.5s both;
}
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .statement .l > span, .lead, .hero-art img { animation: none; }
}

/* Manifesto */
.manifesto { padding-block: clamp(56px, 10vh, 130px); }
.manifesto ol { margin: 0; padding: 0; list-style: none; }
.manifesto li {
  display: grid;
  grid-template-columns: 3.2ch minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding-block: clamp(22px, 3.4vh, 40px);
  border-top: 1px solid var(--border);
}
.manifesto li:last-child { border-bottom: 1px solid var(--border); }
.manifesto .n { font-size: clamp(15px, 1.2vw, 18px); color: var(--text-3); font-variant-numeric: tabular-nums; }
.manifesto .t {
  font-size: clamp(26px, 3.8vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 22ch;
  color: var(--text);
}

/* Band */
.band {
  position: relative;
  height: clamp(340px, 62vh, 720px);
  overflow: hidden;
  display: grid;
  align-content: center;
  isolation: isolate;
}
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 9, 10, 0.72) 0%, rgba(8, 9, 10, 0.25) 55%, rgba(8, 9, 10, 0) 100%), linear-gradient(180deg, rgba(8, 9, 10, 0.5), rgba(8, 9, 10, 0) 30%, rgba(8, 9, 10, 0) 70%, rgba(8, 9, 10, 0.5));
}
.band-copy { position: relative; z-index: 2; }
.band-copy p {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(30px, 4.4vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

/* Exit */
.exit { padding-block: clamp(80px, 16vh, 190px) clamp(64px, 12vh, 140px); }
.exit h2 {
  margin: 0 0 18px;
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: -0.01em;
}
.mail {
  position: relative;
  display: block;
  margin: 0 0 0 -0.02em;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: clamp(23px, 6.4vw, 104px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  overflow-wrap: anywhere;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 0.045em;
  text-underline-offset: 0.16em;
  text-decoration-color: var(--border-2);
  transition: text-decoration-color 0.25s ease;
}
.mail:hover { text-decoration-color: var(--accent); }
.stamp {
  position: absolute;
  left: 0;
  top: -1.05em;
  padding: 4px 12px;
  border: 2px solid var(--accent);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  transform: rotate(-5deg) scale(0.6);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1.4), opacity 0.2s ease;
  pointer-events: none;
}
.mail.copied .stamp { opacity: 1; transform: rotate(-5deg) scale(1); }
.aside { margin: 26px 0 0; max-width: 60ch; color: var(--text-3); font-size: 17px; }
.aside a { color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border-2); }
.aside a:hover { color: var(--text); text-decoration-color: var(--accent); }

/* Footer */
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  padding-block: 24px 40px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 14px;
}
.foot nav { display: flex; gap: 20px; margin-left: auto; color: var(--text-2); }
.foot nav a:hover { color: var(--text); }
@media (max-width: 720px) {
  .foot { flex-direction: column; gap: 6px; }
  .foot nav { margin-left: 0; margin-top: 8px; }
}

/* Article pages */
.article { max-width: 68ch; padding-block: clamp(32px, 8vh, 96px) clamp(48px, 10vh, 120px); }
.article h1 { margin: 0 0 8px; font-size: clamp(36px, 5vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -0.035em; }
.article .updated { margin: 0 0 40px; color: var(--text-3); }
.article h2 { margin: 44px 0 12px; font-size: 24px; font-weight: 600; letter-spacing: -0.015em; }
.article p, .article li { margin: 0 0 1em; color: var(--text-2); }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: 0.5em; }
.article strong { color: var(--text); }
.article a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border-2); }
.article a:hover { text-decoration-color: var(--accent); }

/* 404 */
.lost { padding-block: clamp(80px, 20vh, 200px); }
.lost h1 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -0.035em; }
.lost p { margin: 0; color: var(--text-3); }
.lost a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
