@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plexmono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plexmono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #e6e8ee;
  --ink: #12141c;
  --muted: #5c6472;
  --paper: #f3f4f8;
  --accent: #2154f0;
  --accent-ink: #f7f8fc;
  --line: rgba(18, 20, 28, 0.1);
  --shell: rgba(18, 20, 28, 0.05);
  --shadow: 0 24px 60px rgba(18, 20, 28, 0.08);
  --radius: 1.5rem;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --field: #ffffff;
  --field-line: rgba(18, 20, 28, 0.28);
  --field-inset: inset 0 1px 2px rgba(18, 20, 28, 0.1);
  --placeholder: #5c6472;
}

html[data-theme="dark"] {
  --bg: #101218;
  --ink: #edf0f6;
  --muted: #9aa3b2;
  --paper: #171a22;
  --accent: #6b8cff;
  --accent-ink: #101218;
  --line: rgba(237, 240, 246, 0.1);
  --shell: rgba(237, 240, 246, 0.06);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --field: #0c0e14;
  --field-line: rgba(237, 240, 246, 0.32);
  --field-inset: inset 0 1px 2px rgba(0, 0, 0, 0.55);
  --placeholder: #9aa3b2;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --bg: #101218;
    --ink: #edf0f6;
    --muted: #9aa3b2;
    --paper: #171a22;
    --accent: #6b8cff;
    --accent-ink: #101218;
    --line: rgba(237, 240, 246, 0.1);
    --shell: rgba(237, 240, 246, 0.06);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --field: #0c0e14;
    --field-line: rgba(237, 240, 246, 0.32);
    --field-inset: inset 0 1px 2px rgba(0, 0, 0, 0.55);
    --placeholder: #9aa3b2;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { background: var(--bg); }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre { font-family: var(--mono); font-size: 0.92em; }
pre {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  overflow: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: 0.4rem 0.7rem; z-index: 8; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 0.9rem 1rem 0;
}
.nav {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0.5rem 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 1.05rem;
  text-decoration: none;
}
.brand img { width: 28px; height: 28px; }
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-links a, .theme-btn {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}
.nav-links a.is-active, .nav-links a:hover, .theme-btn:hover {
  color: var(--ink);
  background: var(--shell);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.5s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: start;
  min-height: auto;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin: 0.4rem 0 0.8rem;
  font-weight: 600;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34ch; margin: 0; }
.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.shell {
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.35rem);
  padding: 0.4rem;
}
.shell-inner {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.bid-form h2 {
  margin: 0 0 0.6rem;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.amt-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--accent);
}
.amt-ctrl .dollar { font-weight: 600; }
.amt-ctrl input {
  width: 5.6rem;
  border: 0;
  border-bottom: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-radius: 0.45rem 0.45rem 0 0;
  padding: 0.12rem 0.35rem 0.08rem;
  text-align: center;
  color: var(--accent);
  font: 600 1.55rem/1 var(--sans);
  letter-spacing: -0.04em;
  caret-color: var(--accent);
}
.amt-ctrl input:focus {
  outline: none;
  border-bottom-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}
.step {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 0;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  cursor: pointer;
  font-size: 1.1rem;
}
.step:hover { transform: scale(1.05); }
.form-help { color: var(--muted); font-size: 0.92rem; margin: 0.4rem 0 1rem; }
.field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 0.4rem;
}
.url-row { display: flex; gap: 0.6rem; align-items: stretch; }
.url-row input, .bid-form input[type="text"] {
  flex: 1;
  min-width: 0;
  min-height: 3.05rem;
  border: 1.5px solid var(--field-line);
  background: var(--field);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font: 500 1rem var(--sans);
  box-shadow: var(--field-inset);
  caret-color: var(--accent);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.url-row input::placeholder {
  color: var(--placeholder);
  opacity: 1;
}
.url-row input:hover {
  border-color: color-mix(in srgb, var(--ink) 48%, transparent);
}
.url-row input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--field-inset), 0 0 0 3px color-mix(in srgb, var(--accent) 24%, transparent);
}
.url-row .btn-primary { justify-content: center; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 0.98rem var(--sans);
  padding: 0.55rem 0.55rem 0.55rem 1.15rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.btn-primary:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }
.btn-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent-ink) 16%, transparent);
  transition: transform 0.45s var(--ease);
}
.btn-primary:hover .btn-icon { transform: translate(2px, -1px) scale(1.05); }
.takeover-opt { display: flex; gap: 0.5rem; align-items: center; font-size: 0.92rem; margin-top: 0.8rem; }
.takeover-opt.hidden, .hidden { display: none; }
.form-error { color: #b42318; font-size: 0.9rem; }
.form-note { color: var(--muted); font-size: 0.88rem; min-height: 1.2em; }

.takeover-banner {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  text-align: center;
  font-size: 0.95rem;
}
.takeover-banner p { margin: 0.25rem 0 0; opacity: 0.85; font-size: 0.82rem; }

.board-sec { max-width: 880px; margin: 0 auto; padding: 1rem 1.25rem 4rem; }
.board-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}
.board-head h2 { margin: 0; letter-spacing: -0.04em; font-size: 1.6rem; }
.who-filter { display: flex; gap: 0.25rem; margin-left: auto; }
.who-link, .refresh {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font: 500 0.88rem var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.who-link.is-active { color: var(--accent-ink); background: var(--accent); border-color: transparent; }
.board-shell { background: var(--shell); border: 1px solid var(--line); border-radius: 2rem; padding: 0.45rem; }
.board-inner { background: var(--paper); border-radius: 1.65rem; overflow: hidden; }
.listing { border-top: 1px solid var(--line); }
.listing:first-child { border-top: 0; }
.listing-link {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 0.9rem;
  align-items: start;
  padding: 1.1rem 1.1rem;
  color: inherit;
  text-decoration: none;
}
.listing-link:hover { background: var(--shell); text-decoration: none; }
.rank {
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--shell);
  color: var(--muted);
}
.listing.is-one { background: color-mix(in srgb, var(--accent) 10%, var(--paper)); }
.listing.is-one .rank { background: var(--accent); color: var(--accent-ink); }
.thumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--bg);
}
.thumb-fallback {
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--paper));
}
.listing-name { display: block; font-weight: 600; letter-spacing: -0.03em; }
.listing-title, .listing-desc { display: block; color: var(--muted); font-size: 0.92rem; }
.listing-desc { margin-top: 0.15rem; }
.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.05rem 0.45rem;
}
.listing-amt {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}
.claim-rank {
  display: block;
  width: calc(100% - 2.2rem);
  margin: 0 1.1rem 1rem;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 999px;
  padding: 0.65rem;
  font: 600 0.9rem var(--sans);
  color: var(--ink);
  cursor: pointer;
}
.empty-board { padding: 2rem 1.2rem; color: var(--muted); }

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.4rem;
}
.page-btn {
  min-width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}
.page-btn.is-active { background: var(--accent); color: var(--accent-ink); }
.page-btn.is-disabled { opacity: 0.35; pointer-events: none; }
.pager-count { width: 100%; text-align: center; color: var(--muted); font-size: 0.85rem; margin: 0.2rem 0 0; }

.split-photo, .process, .chair-band, .faq {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}
.split-photo {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}
.split-photo h2, .process h2, .chair-caption h2, .faq h2, .prose h1 {
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin-top: 0;
}
.split-photo img, .chair-band img, .frame img {
  border-radius: 1.6rem;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.split-photo p, .chair-caption p { color: var(--muted); max-width: 46ch; }
.process ol {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.25rem;
}
.process li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 1.3rem;
}
.process h3 { margin: 0 0 0.4rem; letter-spacing: -0.03em; }
.process p { margin: 0; color: var(--muted); }
.process li:first-child { background: var(--ink); color: var(--bg); }
.process li:first-child p { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.chair-band { position: relative; padding-bottom: 5rem; }
.chair-band img { min-height: 380px; object-fit: cover; }
.chair-caption {
  position: relative;
  margin-top: -5.5rem;
  margin-left: auto;
  max-width: 420px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.4rem;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.faq summary { cursor: pointer; font-weight: 600; letter-spacing: -0.02em; }
.faq p { color: var(--muted); }

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 1.25rem 4rem;
}
.prose h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.prose h2 { letter-spacing: -0.03em; margin-top: 2.2rem; }
.prose li { margin: 0.45rem 0; }
.frame { margin: 1.5rem 0 2rem; }
.center-block { text-align: left; }
.journal-list { list-style: none; padding: 0; }
.journal-list a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.journal-list span { color: var(--muted); font-size: 0.88rem; }
.eyebrow-lite { color: var(--muted); font-family: var(--mono); font-size: 0.8rem; }

.site-foot {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-foot a { margin-right: 0.9rem; }
.text-link { font-weight: 600; }

.reveal { animation: rise 0.9s var(--ease) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .btn-primary, .btn-icon, .step { animation: none; transition: none; }
}

@media (max-width: 767px) {
  .hero, .split-photo, .process ol {
    grid-template-columns: 1fr;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero { padding-top: 2.2rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 4.4rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    padding: 0.6rem;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.is-open .nav-links { display: flex; }
  .listing-link { grid-template-columns: auto 1fr; }
  .listing-amt { grid-column: 2; }
  .thumb { display: none; }
  .url-row { flex-direction: column; align-items: stretch; }
  .chair-caption { margin-left: 0; }
}
