:root {
  --ink: #07101d;
  --ink-2: #0b1727;
  --ink-3: #112238;
  --panel: rgba(13, 28, 47, 0.92);
  --panel-soft: rgba(17, 34, 56, 0.72);
  --line: rgba(145, 175, 204, 0.18);
  --line-strong: rgba(202, 156, 71, 0.5);
  --paper: #f2eee5;
  --muted: #9eafc1;
  --brass: #ca9c47;
  --brass-light: #f0cb78;
  --amber: #f5a623;
  --cyan: #7bd9dc;
  --red: #df796d;
  --green: #75c997;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 2%, rgba(46, 91, 132, 0.27), transparent 30rem),
    linear-gradient(180deg, #08121f 0%, #07101d 48%, #081522 100%);
  font-family: var(--sans);
  line-height: 1.6;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 65%);
}
a { color: inherit; text-decoration-color: rgba(240, 203, 120, 0.5); text-underline-offset: 3px; }
a:hover { color: var(--brass-light); }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
code, pre { font-family: var(--mono); }
::selection { color: var(--ink); background: var(--brass-light); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--brass-light);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(7, 16, 29, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(1240px, calc(100% - 32px));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { color: var(--paper); }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 50% 42%, #263f55 0 17%, #0e2236 18% 52%, #091421 53%);
  clip-path: polygon(50% 0, 87% 18%, 100% 61%, 72% 100%, 28% 100%, 0 61%, 13% 18%);
}
.owl-eye { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 15px var(--amber); }
.brand strong { display: block; font-family: var(--serif); font-size: 20px; letter-spacing: .02em; line-height: 1; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 9px 10px; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; border-radius: 8px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--paper); background: rgba(255,255,255,.055); }
.nav-toggle { display: none; color: var(--paper); border: 1px solid var(--line); background: var(--ink-2); border-radius: 8px; padding: 8px 12px; }

.hero { padding-block: 92px 74px; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(44px, 7vw, 96px); align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--brass-light); font-size: 11px; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; }
.hero h1, .page-hero h1, .detail-hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.055em; line-height: .88; }
.hero h1 { max-width: 720px; font-size: clamp(64px, 9vw, 126px); }
.hero h1 em { color: var(--brass-light); font-weight: 400; }
.lede { max-width: 650px; margin: 30px 0 0; color: #bdcad7; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 9px; font-size: 13px; font-weight: 800; text-decoration: none; }
.button.primary { color: #101315; background: linear-gradient(135deg, var(--brass-light), var(--brass)); box-shadow: 0 12px 30px rgba(202,156,71,.2); }
.button.secondary { color: var(--paper); border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.hero-specimen { position: relative; margin: 0; padding: 14px; border: 1px solid var(--line-strong); background: linear-gradient(145deg, rgba(35,61,82,.8), rgba(7,16,29,.9)); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.hero-specimen::before, .hero-specimen::after { content: ""; position: absolute; width: 38px; height: 38px; border-color: var(--brass); opacity: .75; }
.hero-specimen::before { top: -8px; left: -8px; border-top: 2px solid; border-left: 2px solid; }
.hero-specimen::after { right: -8px; bottom: -8px; border-right: 2px solid; border-bottom: 2px solid; }
.hero-specimen img { aspect-ratio: 1; width: 100%; object-fit: cover; background: var(--ink); }
.hero-specimen figcaption { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding: 16px 4px 2px; }
.hero-specimen figcaption span { grid-row: 1 / span 2; align-self: center; color: var(--brass-light); font-family: var(--mono); font-size: 11px; writing-mode: vertical-rl; }
.hero-specimen figcaption strong { font-family: var(--serif); font-size: 18px; }
.hero-specimen figcaption small { color: var(--muted); }

.proof-strip { border-block: 1px solid var(--line); background: rgba(10,24,39,.72); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { padding: 26px 30px; border-left: 1px solid var(--line); }
.proof-grid div:last-child { border-right: 1px solid var(--line); }
.proof-grid strong { display: block; font-family: var(--serif); color: var(--brass-light); font-size: 34px; line-height: 1; }
.proof-grid span { color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

.section-block { padding-block: 82px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2, .manifesto h2, .comparison-note h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 5vw, 58px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.text-link { color: var(--brass-light); font-size: 13px; font-weight: 800; text-decoration: none; }
.run-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.run-card { overflow: hidden; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(18,38,60,.9), rgba(9,20,34,.94)); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.run-image { position: relative; display: block; overflow: hidden; background: #050a10; text-decoration: none; }
.run-image img { aspect-ratio: 16 / 9; width: 100%; object-fit: contain; background: #050a10; transition: transform .4s ease; }
.run-card:hover .run-image img { transform: scale(1.018); }
.image-id { position: absolute; right: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 6px 8px; color: #dce9f1; background: rgba(5,10,16,.78); border: 1px solid rgba(255,255,255,.15); border-radius: 6px; font-family: var(--mono); font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; backdrop-filter: blur(8px); }
.run-body { padding: 24px; }
.run-body h3, .model-card h2, .experiment-row h2 { margin: 11px 0 8px; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.15; }
.run-body p, .model-card p, .experiment-row p { color: var(--muted); }
.run-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.status { display: inline-flex; padding: 4px 7px; color: var(--cyan); background: rgba(123,217,220,.08); border: 1px solid rgba(123,217,220,.28); border-radius: 999px; }
.status-success, .status-active, .status-official_api_permitted, .status-first_party_tool, .status-local_inference { color: var(--green); border-color: rgba(117,201,151,.35); background: rgba(117,201,151,.08); }
.status-planned, .status-manual_only, .status-unknown { color: var(--brass-light); border-color: rgba(240,203,120,.35); background: rgba(240,203,120,.08); }
.status-error, .status-blocked, .status-moderated { color: var(--red); border-color: rgba(223,121,109,.35); background: rgba(223,121,109,.08); }
.mini-spec, .capability-list, .detail-stats { margin: 20px 0; }
.mini-spec div, .capability-list div, .detail-stats div { display: grid; grid-template-columns: minmax(80px, .45fr) 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.mini-spec dt, .capability-list dt, .detail-stats dt { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mini-spec dd, .capability-list dd, .detail-stats dd { margin: 0; color: #d9e2e9; font-size: 12px; overflow-wrap: anywhere; }

.track-grid { border-top: 1px solid var(--line); }
.track-card { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 20px; align-items: start; padding: 24px 12px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s ease, padding .2s ease; }
.track-card:hover { color: var(--paper); background: rgba(255,255,255,.025); padding-inline: 18px; }
.track-index, .row-number { color: var(--brass); font-family: var(--mono); font-size: 12px; }
.track-card h3 { margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.track-card p { margin: 5px 0 0; color: var(--muted); }
.track-status { color: var(--muted); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.manifesto { padding-block: 88px; border-block: 1px solid var(--line-strong); background: linear-gradient(100deg, rgba(202,156,71,.08), rgba(17,34,56,.72)); }
.manifesto-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.manifesto p { color: #bdcad7; font-size: 17px; }

.page-hero { padding-block: 90px 50px; border-bottom: 1px solid var(--line); }
.page-hero h1, .detail-hero h1 { font-size: clamp(54px, 8vw, 100px); }
.page-hero > p:last-child, .detail-hero > div > p:last-child { max-width: 760px; color: var(--muted); font-size: 19px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-button { cursor: pointer; padding: 8px 13px; color: var(--muted); background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 800; }
.filter-button:hover, .filter-button.active { color: var(--ink); background: var(--brass-light); border-color: var(--brass-light); }
.is-hidden { display: none !important; }
.experiment-list { border-top: 1px solid var(--line); }
.experiment-row { display: grid; grid-template-columns: 52px minmax(0,1fr) minmax(160px,.35fr); gap: 20px; padding: 28px 10px; border-bottom: 1px solid var(--line); }
.experiment-row h2 a { text-decoration: none; }
.experiment-row p { max-width: 720px; margin: 0; }
.tag-stack { display: flex; flex-wrap: wrap; gap: 7px; align-content: start; }
.tag-stack span { padding: 4px 7px; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.model-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.model-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-soft); }
.model-card h2 a { text-decoration: none; }
.model-provider { color: var(--brass-light) !important; font-family: var(--mono); font-size: 12px; }

.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.compare-panel { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.compare-panel img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #050a10; }
.compare-label { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 7px 10px; color: var(--ink); background: var(--brass-light); border-radius: 6px; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.compare-body { padding: 24px; }
.compare-body h2 { margin: 0; font-family: var(--serif); font-weight: 500; }
.compare-body p { color: var(--muted); }
.comparison-note { max-width: 850px; margin: 54px auto 0; padding: 38px; border-left: 2px solid var(--brass); background: rgba(202,156,71,.06); }
.comparison-note p:last-child { color: var(--muted); }
.empty-state { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 40px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: rgba(202,156,71,.035); }
.empty-state h2 { margin: 0 0 8px; font-family: var(--serif); font-weight: 500; }
.empty-state p { color: var(--muted); }
.empty-glyph { color: var(--brass); font-family: var(--serif); font-size: 70px; line-height: 1; }

.detail-hero { padding-block: 82px 54px; display: grid; grid-template-columns: 1fr 360px; gap: 70px; border-bottom: 1px solid var(--line); }
.detail-stats { margin: 8px 0 0; align-self: end; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 70px; padding-block: 68px; }
.detail-aside { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-soft); align-self: start; }
.detail-aside h2 { margin-top: 0; font-family: var(--serif); font-weight: 500; }
.prose-wrap { padding-block: 60px 90px; }
.prose { max-width: 780px; color: #c6d0da; font-size: 17px; }
.prose h2, .prose h3 { color: var(--paper); font-family: var(--serif); font-weight: 500; line-height: 1.15; }
.prose h2 { margin-top: 46px; font-size: 36px; }
.prose h3 { margin-top: 32px; font-size: 24px; }
.prose p, .prose li { max-width: 72ch; }
.prose a { color: var(--brass-light); }
.prose pre { overflow-x: auto; padding: 18px; color: #d9e2e9; background: #050b12; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; white-space: pre-wrap; }
.prose code:not(pre code) { color: var(--cyan); }

.site-footer { padding-block: 44px; border-top: 1px solid var(--line); background: #050b12; }
.footer-inner { width: min(1180px, calc(100% - 40px)); margin-inline: auto; display: flex; justify-content: space-between; gap: 40px; }
.site-footer p { max-width: 620px; margin: 5px 0; color: var(--muted); font-size: 12px; }
.footer-brand { color: var(--paper) !important; font-family: var(--serif); font-size: 18px !important; }
.footer-brand span { color: var(--brass); font-family: var(--mono); font-size: 9px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; align-content: start; }
.footer-links a { color: var(--muted); font-size: 12px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 76px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; padding: 10px; background: #091522; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 12px; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-specimen { max-width: 620px; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .proof-grid div:nth-child(3) { border-top: 1px solid var(--line); }
  .proof-grid div:nth-child(4) { border-top: 1px solid var(--line); }
  .manifesto-grid, .detail-hero, .detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .model-grid { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .shell { width: min(100% - 24px, 1180px); }
  .header-inner { width: min(100% - 24px, 1240px); min-height: 68px; }
  .site-nav { top: 68px; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { padding-block: 54px; gap: 38px; }
  .hero h1 { font-size: clamp(56px, 18vw, 82px); }
  .lede { font-size: 17px; }
  .hero-actions { display: grid; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div { padding: 20px 16px; }
  .proof-grid strong { font-size: 28px; }
  .section-block { padding-block: 58px; }
  .section-heading { align-items: start; flex-direction: column; }
  .run-grid, .compare-grid { grid-template-columns: 1fr; }
  .track-card { grid-template-columns: 34px 1fr; }
  .track-status { grid-column: 2; }
  .page-hero { padding-block: 60px 38px; }
  .page-hero h1, .detail-hero h1 { font-size: clamp(48px, 16vw, 72px); }
  .experiment-row { grid-template-columns: 30px 1fr; }
  .experiment-row .tag-stack { grid-column: 2; }
  .empty-state { grid-template-columns: 1fr; padding: 28px; }
  .comparison-note { padding: 26px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
