:root {
  --ink: #f5f2ea;
  --muted: #a9a6a0;
  --bg: #0b0d0f;
  --panel: #131619;
  --panel-2: #191d20;
  --line: rgba(255,255,255,.11);
  --accent: #ef6d4e;
  --accent-2: #f3b56b;
  --green: #95d4ad;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 15px/1.55 'Be Vietnam Pro', system-ui, sans-serif; }
body:before { content: ''; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 78% 2%, rgba(239,109,78,.13), transparent 29rem), radial-gradient(circle at 10% 32%, rgba(243,181,107,.06), transparent 28rem); }
.grain { position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 8; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
.topbar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; max-width: 1240px; padding: 24px 30px; margin: 0 auto; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 11px; align-items: center; letter-spacing: .02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--accent); color: var(--accent); font: 700 20px 'Space Grotesk'; transform: rotate(-8deg); }
.brand strong, .brand small { display: block; line-height: 1; }.brand strong { font: 700 14px 'Space Grotesk'; letter-spacing: .18em; }.brand small { margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: .26em; }
.nav { display: flex; gap: 32px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }.nav a { position: relative; padding: 8px 0; }.nav a.active, .nav a:hover { color: var(--ink); }.nav a.active:after { content: ''; position: absolute; bottom: 0; left: 0; width: 18px; height: 2px; background: var(--accent); }
.version-pill { padding: 8px 12px; border: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .03em; }
main { position: relative; z-index: 1; max-width: 1240px; margin: auto; }.hero-shell { min-height: 520px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; padding: 76px 30px 62px; border-bottom: 1px solid var(--line); }.eyebrow { margin: 0 0 15px; color: var(--accent); font: 700 10px 'Space Grotesk'; letter-spacing: .19em; text-transform: uppercase; }.pulse { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(149,212,173,.11); }
h1 { max-width: 700px; margin: 0; font: 700 clamp(48px, 7vw, 86px)/.94 'Space Grotesk'; letter-spacing: -.06em; }.hero-copy h1 em { color: var(--accent); font: italic 1.08em var(--serif); letter-spacing: -.09em; }.lede { max-width: 540px; margin: 27px 0; color: var(--muted); font-size: 16px; }.hero-actions { display: flex; gap: 12px; }.button { display: inline-flex; gap: 24px; align-items: center; padding: 13px 17px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }.button.primary { color: #16110f; background: var(--accent); }.button.ghost { border: 1px solid var(--line); color: var(--muted); }.button:hover { transform: translateY(-2px); }
.hero-art { position: relative; min-height: 360px; margin-left: auto; width: min(100%, 440px); overflow: hidden; }.hero-art:before { content: ''; position: absolute; inset: 13% 8% 6%; border: 1px solid rgba(239,109,78,.28); border-radius: 50%; transform: rotate(-18deg) skewX(-12deg); }.hero-art:after { content: ''; position: absolute; inset: 24% 16% 18%; border: 1px solid rgba(243,181,107,.15); border-radius: 50%; transform: rotate(52deg); }.orb { position: absolute; border-radius: 50%; filter: blur(2px); }.orb-one { width: 210px; height: 210px; top: 70px; left: 100px; background: radial-gradient(circle at 30% 30%, rgba(239,109,78,.55), rgba(74,34,28,.12) 65%, transparent 70%); }.orb-two { width: 130px; height: 130px; bottom: 34px; right: 16px; background: radial-gradient(circle, rgba(243,181,107,.25), transparent 70%); }.sigil { position: absolute; top: 116px; left: 177px; color: var(--accent-2); font-size: 80px; line-height: 1; text-shadow: 0 0 40px rgba(243,181,107,.5); transform: rotate(11deg); }.art-card { position: absolute; z-index: 1; display: flex; flex-direction: column; gap: 2px; padding: 11px 15px; border: 1px solid var(--line); background: rgba(19,22,25,.82); backdrop-filter: blur(12px); }.art-card span { color: var(--muted); font: 9px 'Space Grotesk'; letter-spacing: .17em; }.art-card strong { color: var(--accent-2); font: 700 27px 'Space Grotesk'; }.art-card-top { top: 39px; right: 30px; }.art-card-bottom { right: 70px; bottom: 25px; }
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); }.stat-strip div { padding: 24px 30px; border-right: 1px solid var(--line); }.stat-strip div:last-child { border-right: 0; }.stat-strip strong, .stat-strip span { display: block; }.stat-strip strong { margin-bottom: 3px; color: var(--accent-2); font: 700 28px 'Space Grotesk'; }.stat-strip span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.content-section { padding: 86px 30px 70px; border-bottom: 1px solid var(--line); }.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }.section-heading h2, .about-panel h2 { margin: 0; font: 600 clamp(30px,4vw,48px)/1 'Space Grotesk'; letter-spacing: -.05em; }.section-note { max-width: 320px; margin: 0; color: var(--muted); font-size: 12px; text-align: right; }.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }.search-wrap { display: flex; gap: 11px; align-items: center; width: min(100%, 360px); padding: 12px 14px; border: 1px solid var(--line); color: var(--muted); }.search-wrap input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 13px; }.filters { display: flex; gap: 7px; flex-wrap: wrap; justify-content: end; }.filter { padding: 9px 12px; border: 1px solid var(--line); color: var(--muted); background: transparent; cursor: pointer; font: 600 11px 'Be Vietnam Pro'; }.filter.active, .filter:hover { color: var(--ink); border-color: var(--accent); background: rgba(239,109,78,.1); }
.recipe-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }.recipe-card { position: relative; min-height: 240px; display: flex; flex-direction: column; padding: 19px; border: 1px solid var(--line); background: linear-gradient(140deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); transition: transform .2s,border-color .2s; }.recipe-card:hover { transform: translateY(-4px); border-color: rgba(239,109,78,.6); }.card-top { display: flex; justify-content: space-between; align-items: start; gap: 15px; }.recipe-tag { color: var(--accent); font: 700 9px 'Space Grotesk'; letter-spacing: .16em; text-transform: uppercase; }.confidence { color: var(--green); font-size: 10px; }.confidence.unregistered { color: #ef9b8b; }.recipe-card h3 { margin: 9px 0 15px; font: 600 22px/1.1 'Space Grotesk'; letter-spacing: -.04em; }.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 19px; }.entity { display: inline-flex; gap: 7px; align-items: center; padding: 4px 7px 4px 4px; border: 1px solid var(--line); color: #ddd; font-size: 11px; }.entity img, .mini-icon { width: 27px; height: 27px; object-fit: cover; background: #25282b; }.arrow { color: var(--accent-2); font-size: 19px; }.stage-label { align-self: center; padding: 3px 6px; color: var(--accent-2); border: 1px dashed rgba(243,181,107,.35); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }.requirements { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }.req { padding: 4px 7px; color: var(--muted); background: rgba(255,255,255,.06); font-size: 10px; }.recipe-conditions, .recipe-notes { display: grid; gap: 4px; margin: 8px 0 0; color: var(--muted); font-size: 10px; }.recipe-conditions strong, .recipe-notes strong { color: var(--accent-2); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }.recipe-notes { color: #c8c3ba; }.card-foot { display: flex; justify-content: space-between; gap: 8px; padding-top: 14px; margin-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }.card-foot code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d5b58f; }.loading-card { grid-column: 1/-1; display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 180px; border: 1px dashed var(--line); color: var(--muted); font-size: 13px; }.spinner { width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }.empty-state { padding: 30px; color: var(--muted); text-align: center; }
.roster-section { padding-top: 78px; }.roster-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; }.roster-card { padding: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }.roster-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 9px; background: #25282b; }.roster-card strong { display: block; overflow: hidden; font: 600 13px 'Space Grotesk'; text-overflow: ellipsis; white-space: nowrap; }.roster-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }.about-section { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; padding: 90px 30px 100px; }.about-panel > p:not(.eyebrow) { max-width: 650px; margin: 24px 0; color: var(--muted); }.about-panel code { color: #d5b58f; }.provenance-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }.provenance-item { padding: 13px; border: 1px solid var(--line); }.provenance-item strong, .provenance-item span { display: block; }.provenance-item strong { color: var(--accent-2); font: 700 18px 'Space Grotesk'; }.provenance-item span { margin-top: 3px; color: var(--muted); font-size: 10px; }.about-quote { align-self: center; padding: 36px; border-left: 2px solid var(--accent); background: rgba(255,255,255,.03); }.about-quote > span { color: var(--accent); font: 60px var(--serif); line-height: .4; }.about-quote p { margin: 24px 0; font: italic 28px/1.18 var(--serif); }.about-quote small { color: var(--muted); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; }
footer { position: relative; z-index: 1; display: flex; justify-content: space-between; max-width: 1240px; padding: 22px 30px; margin: auto; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; } footer a { color: var(--accent); }
@media (max-width: 850px) { .nav { display: none; }.hero-shell { grid-template-columns: 1fr; padding-top: 58px; }.hero-art { min-height: 260px; margin: 25px auto 0; transform: scale(.9); }.stat-strip { grid-template-columns: repeat(2,1fr); }.stat-strip div:nth-child(2) { border-right: 0; }.recipe-grid { grid-template-columns: repeat(2,1fr); }.roster-grid { grid-template-columns: repeat(4,1fr); }.about-section { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 560px) { .topbar { padding: 18px 18px; }.version-pill { display: none; }.hero-shell, .content-section, .about-section { padding-left: 18px; padding-right: 18px; }.hero-shell { min-height: auto; }.hero-art { min-height: 220px; }.sigil { left: 39%; top: 78px; font-size: 63px; }.orb-one { left: 18%; top: 50px; }.art-card-top { right: 8px; }.art-card-bottom { right: 25px; }.toolbar, .section-heading { align-items: stretch; flex-direction: column; }.section-note { max-width: none; text-align: left; }.filters { justify-content: start; }.recipe-grid { grid-template-columns: 1fr; }.roster-grid { grid-template-columns: repeat(3,1fr); }.provenance-list { grid-template-columns: 1fr; } footer { padding: 20px 18px; gap: 10px; flex-wrap: wrap; } }

/* Fixed-size grid tracks must not expand for long source names/rawcodes. */
.recipe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.roster-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.recipe-card, .recipe-card > *, .roster-card, .provenance-item, .about-panel { min-width: 0; }
.recipe-card { overflow-wrap: anywhere; }
.recipe-card h3 { line-height: 1.25; }
.entity { max-width: 100%; }
.entity img { flex: 0 0 27px; }
.entity > span { min-width: 0; overflow-wrap: anywhere; }
.requirements { margin-top: 0; }
.consume-label { width: 100%; color: var(--muted); font-size: 10px; }
.card-foot { flex-direction: column; margin-top: auto; padding-top: 14px; }
.recipe-notes { margin-bottom: 15px; }
.card-foot code { display: block; width: 100%; white-space: normal; overflow-wrap: anywhere; }
.card-foot span { overflow-wrap: anywhere; }
.provenance-item strong { font-size: 15px; overflow-wrap: anywhere; }
.result-count { color: var(--muted); font-size: 12px; margin: -8px 0 18px; }
.not-found { min-height: 100vh; display: grid; place-items: center; }
.not-found main { max-width: 520px; margin: 24px; padding: 32px; border: 1px solid var(--line); }
.not-found h1 { font-size: 36px; line-height: 1.2; }
.not-found p { color: var(--muted); }
.not-found a { color: var(--accent); }
@media (max-width: 850px) {
  .recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .recipe-grid { grid-template-columns: minmax(0, 1fr); }
  .roster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
