/* Omoikane-50M-A27M project page.
   Design tokens, type scale and section patterns follow the JOSIE model family page
   (goekdeniz-guelmez.github.io/JOSIE-Model-Family), rewritten as plain CSS without a build step. */

:root {
  color-scheme: light dark;
  --font-sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --orange: #f26922;
  --deep-orange: #df4e12;
  --orange-surface: #f26922;
  --cream: #f2eadc;
  --paper: #e8dece;
  --ink: #201c18;
  --ethos-surface: #201c18;
  --ethos-text: #f2eadc;
  --muted: #82786d;
  --line: rgba(32, 28, 24, .24);
  --glass: rgba(242, 234, 220, .13);
  --code-border: rgba(32, 28, 24, .35);
  --ethos-line: rgba(242, 234, 220, .3);
  --ethos-muted: #bfb5a8;
  --bench-a: #0f809e;
  --bench-b: #df4e12;
  --ours: rgba(242, 105, 34, .1);
  --plate: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --orange: #ff8b4c;
    --deep-orange: #ffad7d;
    --orange-surface: #9b3715;
    --cream: #181411;
    --paper: #26201b;
    --ink: #f5ecdf;
    --ethos-surface: #12100e;
    --ethos-text: #f5ecdf;
    --muted: #b9ad9e;
    --line: rgba(245, 236, 223, .22);
    --glass: rgba(24, 20, 17, .22);
    --code-border: rgba(245, 236, 223, .35);
    --ethos-line: rgba(245, 236, 223, .28);
    --ethos-muted: #c0b4a5;
    --bench-a: #2b9bb8;
    --bench-b: #f26922;
    --ours: rgba(255, 139, 76, .12);
    --plate: #fbf8f3;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
code, pre { font-family: var(--font-mono); }
.shell { width: min(1360px, calc(100% - 72px)); margin-inline: auto; }
.srOnly { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--ink); color: var(--cream); font-size: .75rem; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--deep-orange); outline-offset: 3px; }

.scrollGlassEdge {
  position: fixed; left: 0; z-index: 4; width: 100%; pointer-events: none; opacity: 0;
  background: var(--glass); backdrop-filter: blur(28px) saturate(1.2); -webkit-backdrop-filter: blur(28px) saturate(1.2);
  transition: opacity .45s ease;
}
.scrollGlassEdgeTop { top: 0; height: 118px; mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.84) 45%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.84) 45%, transparent 100%); }
.scrollGlassEdgeBottom { bottom: 0; height: 68px; mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.65) 38%, transparent 100%); -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.65) 38%, transparent 100%); }
html.has-scrolled .scrollGlassEdge { opacity: 1; }

/* ---------- nav ---------- */
.nav {
  min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
  border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .12em; font-size: .67rem;
}
.brand { font-weight: 700; font-size: .85rem; letter-spacing: .12em; white-space: nowrap; }
.brand span { color: var(--muted); font-weight: 400; margin-left: 6px; }
.navLinks { display: flex; gap: 30px; align-items: center; }
.navLinks a { transition: color .2s; white-space: nowrap; }
.navLinks a:hover { color: var(--deep-orange); }
.huggingFaceLink {
  border: 1px solid transparent; border-radius: 999px; padding: 9px 13px; margin: -9px -13px;
  background:
    linear-gradient(var(--cream), var(--cream)) padding-box,
    linear-gradient(100deg, #fff7cd, #ffc965 22%, #ff7728 48%, #ee4817 68%, #f4691c 82%, #fff7cd) border-box;
  background-size: 100% 100%, 260% 100%;
  animation: hugging-face-liquid-line 9s linear infinite;
}
@keyframes hugging-face-liquid-line { to { background-position: 0 0, 260% 0; } }

/* ---------- hero ---------- */
.hero { padding: 28px 0 82px; }
.heroImage { position: relative; overflow: hidden; isolation: isolate; background: #0e1018; }
.heroImage img { aspect-ratio: 21/8; object-fit: cover; }
.heroStamp {
  position: absolute; z-index: 3; right: 28px; bottom: 24px; color: #fff7e8; text-transform: uppercase;
  text-align: right; font-size: .58rem; line-height: 1.5; letter-spacing: .16em;
}
.heroStampLeft { left: 28px; right: auto; text-align: left; }
.heroTitle { position: relative; padding-top: 34px; }
.heroTitle > p { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .15em; font-size: .64rem; }
.heroTitle h1 {
  font-size: clamp(4.4rem, 12.2vw, 11.3rem); line-height: .86; letter-spacing: -.075em;
  margin: 0; font-weight: 650; white-space: nowrap;
}
.heroTitle h1 em { font-family: var(--font-serif); font-weight: 400; }
.liquidWord {
  display: inline-block; padding: .04em .1em .1em .035em; margin: -.04em -.1em -.1em -.035em; color: var(--orange); letter-spacing: -.025em;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .liquidWord {
    color: transparent; -webkit-text-fill-color: transparent; background-color: var(--orange);
    background-image:
      radial-gradient(ellipse 72% 120% at 18% 48%, #fff7cd 0%, #ffc965 25%, transparent 68%),
      radial-gradient(ellipse 82% 104% at 76% 32%, #ff7728 0%, #ee4817 36%, transparent 70%),
      radial-gradient(ellipse 74% 96% at 52% 84%, #ffe5a3 0%, #f4691c 35%, transparent 72%),
      linear-gradient(118deg, #d84612 0%, #ff9d4c 48%, #e65316 100%);
    background-size: 175% 225%, 210% 185%, 185% 205%, 100% 100%;
    background-position: 8% 52%, 88% 24%, 50% 92%, 0 0;
    -webkit-background-clip: text; background-clip: text;
    animation: liquid 20s cubic-bezier(.45, .05, .55, .95) infinite;
  }
}
@keyframes liquid {
  0%, 100% { background-position: 8% 52%, 88% 24%, 50% 92%, 0 0; }
  25% { background-position: 31% 34%, 63% 40%, 70% 67%, 0 0; }
  50% { background-position: 54% 60%, 37% 72%, 39% 42%, 0 0; }
  75% { background-position: 28% 78%, 70% 57%, 22% 71%, 0 0; }
}

/* interactive 3D landscape (assets/landscape3d.js); the static render stays underneath as the fallback */
.heroImage picture img { transition: opacity .9s ease; }
.heroCanvas {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; outline: none;
  background: radial-gradient(ellipse at 50% 46%, #1a2030 0%, #0c0f17 58%, #05060a 100%);
  touch-action: pan-y; cursor: grab; transition: opacity .9s ease;
}
.heroImage.is3d .heroCanvas { opacity: 1; }
.heroImage.is3d picture img { opacity: 0; }
.heroImage.grabbing .heroCanvas { cursor: grabbing; }
.heroCanvas:focus-visible { box-shadow: inset 0 0 0 2px var(--orange); }
.heroImage.is3d .heroStampLeft { display: none; }
.heroUI { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .9s ease .3s; color: #fff7e8; }
.heroImage.is3d .heroUI { opacity: 1; }
.heroRead { position: absolute; left: 28px; top: 22px; max-width: min(640px, 58%); font-size: .66rem; line-height: 1.55; text-shadow: 0 1px 10px rgba(5,6,10,.85), 0 0 2px rgba(5,6,10,.6); }
.heroRead b { display: block; margin-bottom: 6px; font-size: .58rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.heroRead span { color: rgba(255,247,232,.72); }
.heroScale { position: absolute; right: 28px; top: 22px; display: grid; grid-template-columns: auto 120px auto; gap: 5px 8px; align-items: center; font-size: .6rem; font-variant-numeric: tabular-nums; color: rgba(255,247,232,.82); }
.heroScale i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #440154, #482878, #3e4989, #31688e, #26828e, #1f9e89, #35b779, #6ece58, #b5de2b, #fde725); }
.heroScale small { grid-column: 1 / -1; text-align: right; font-size: .5rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,247,232,.55); }
.heroCtl { position: absolute; left: 28px; bottom: 20px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: auto; }
.heroCtl button {
  padding: 8px 12px; border: 1px solid rgba(255,247,232,.28); border-radius: 999px; background: rgba(10,12,18,.45);
  color: #fff7e8; font: inherit; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, border-color .2s, color .2s;
}
.heroCtl button:hover { border-color: rgba(255,247,232,.7); }
.heroCtl button[aria-pressed="true"] { background: #fff7e8; border-color: #fff7e8; color: #14161f; }
.heroCtl .heroPathBtn[aria-pressed="true"] { background: #ff5f1f; border-color: #ff5f1f; color: #fff7e8; }

/* ---------- intro ---------- */
.intro { min-height: 490px; display: grid; grid-template-columns: 1fr 3fr auto; gap: 60px; align-items: center; border-top: 1px solid var(--line); padding-block: 40px; }
.kicker, .sectionLead > span {
  align-self: start; padding-top: 88px; text-transform: uppercase; letter-spacing: .14em; font-size: .64rem;
}
.kicker b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 2.6rem; letter-spacing: 0; text-transform: none; margin-top: 14px; color: var(--deep-orange); }
.intro > p { font-size: clamp(2.3rem, 4.1vw, 4.4rem); line-height: 1.05; letter-spacing: -.045em; max-width: 1020px; margin: 0; }
.introNote { display: block; margin-top: 1.6rem; font-size: 1.2rem; line-height: 1.55; letter-spacing: normal; max-width: 760px; }
.introNote + .introNote { margin-top: .8rem; color: var(--muted); font-size: 1rem; }
.star {
  color: var(--orange); display: inline-block; font-size: 3.5rem;
  filter: blur(.45px); transform-origin: center; animation: star-spin 18s linear infinite;
}
@keyframes star-spin { to { transform: rotate(360deg); } }

/* ---------- model family (orange) ---------- */
.modelRange { background: var(--orange-surface); padding: 110px 0 130px; color: #fff4df; }
.rangeLead { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: end; gap: 50px; margin-bottom: 72px; }
.rangeLead > div span, .rangeLead > div p { text-transform: uppercase; font-size: .63rem; letter-spacing: .13em; }
.rangeLead > div p { margin: 12px 0 0; line-height: 1.6; }
.rangeLead h2 { margin: 0; font-size: clamp(3.3rem, 6.1vw, 6.6rem); line-height: .89; letter-spacing: -.065em; font-weight: 560; }
.rangeLead h2 em { font-family: var(--font-serif); font-weight: 400; }
.rangeActions { display: grid; gap: 10px; }
.rangeActions > a, .rangeActions > span {
  border-bottom: 1px solid currentColor; padding: 0 0 12px; color: inherit; font-size: .61rem; text-transform: uppercase;
  letter-spacing: .11em; display: flex; justify-content: space-between; gap: 12px; transition: opacity .2s;
}
.rangeActions > a:hover { opacity: .65; }
.rangeActions > span { opacity: .62; border-bottom-style: dashed; }
.modelCards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.modelCard { min-height: 430px; padding: 24px; border: 1px solid rgba(255,244,223,.7); display: flex; flex-direction: column; transition: background .2s; }
a.modelCard:hover { background: rgba(255,244,223,.08); }
.modelCard.pendingCard { border-style: dashed; }
.modelTop { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.modelSize { font-size: clamp(3.6rem, 6.4vw, 6.6rem); letter-spacing: -.06em; line-height: .8; font-family: var(--font-serif); }
.pill {
  border: 1px solid currentColor; border-radius: 99px; padding: 6px 10px;
  font-size: .56rem; text-transform: uppercase; letter-spacing: .13em; white-space: nowrap;
}
.pill.live { display: inline-flex; align-items: center; gap: 7px; }
.pill.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.modelCard > .phaseNote { margin: 34px 0 8px; text-transform: uppercase; letter-spacing: .12em; font-size: .58rem; }
.modelCard h3 { font-size: 1.65rem; letter-spacing: -.045em; margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.modelCard > .modelCopy { margin: 14px 0 0; line-height: 1.55; font-size: .93rem; max-width: 560px; opacity: .92; }
.modelSpecs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: auto 0 0; padding-top: 26px; }
.modelSpecs dt { text-transform: uppercase; letter-spacing: .12em; font-size: .52rem; opacity: .75; }
.modelSpecs dd { margin: 4px 0 0; font-size: 1rem; font-variant-numeric: tabular-nums; }
.modelSpecs dd small { display: block; font-size: .66rem; opacity: .75; margin-top: 2px; }
.modelRule { display: block; width: 100%; height: 1px; background: currentColor; margin: 22px 0 14px; }
.modelFoot { display: flex; justify-content: space-between; text-transform: uppercase; font-size: .58rem; letter-spacing: .12em; }
.rangeNote { max-width: 820px; margin: 36px 0 0; line-height: 1.6; font-size: .92rem; }

/* ---------- generic section lead ---------- */
.section { padding: 110px 0 120px; border-top: 1px solid var(--line); }
.sectionLead { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 50px; align-items: start; margin-bottom: 76px; }
.sectionLead > span { padding-top: 9px; }
.sectionLead h2, .closingCopy h2 {
  margin: 0; font-size: clamp(3.1rem, 6vw, 6.6rem); line-height: .98; letter-spacing: -.06em; font-weight: 560;
}
.sectionLead h2 em, .subLead h3 em { font-family: var(--font-serif); font-weight: 400; color: var(--deep-orange); }
.sectionLead > p { line-height: 1.65; margin: 7px 0 0; font-size: .95rem; }
.subLead { display: grid; grid-template-columns: 1fr 3fr; gap: 50px; align-items: end; margin: 96px 0 28px; }
.subLead > span { text-transform: uppercase; letter-spacing: .14em; font-size: .6rem; color: var(--deep-orange); }
.subLead h3 { margin: 0; font-size: clamp(1.9rem, 3.2vw, 3.1rem); line-height: 1; letter-spacing: -.045em; font-weight: 560; }
.subLead p { grid-column: 2; margin: 0; line-height: 1.65; font-size: .95rem; max-width: 820px; }
.prose { max-width: 820px; line-height: 1.65; font-size: .95rem; }
.prose p { margin: 0 0 1em; }

/* ---------- figures ---------- */
.fig { margin: 0; }
.fig .plate { display: block; background: var(--plate); border: 1px solid var(--line); padding: clamp(8px, 1.6vw, 22px); transition: border-color .2s; }
.fig .plate:hover { border-color: var(--deep-orange); }
.fig.dark .plate { background: #0e1018; padding: 0; border-color: transparent; }
.fig figcaption { margin-top: 12px; color: var(--muted); font-size: .8rem; line-height: 1.55; max-width: 900px; }
.fig figcaption b { color: var(--ink); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .58rem; margin-right: 8px; }
.figRow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; margin-top: 36px; }
.figRow.three { grid-template-columns: repeat(3, 1fr); }
.figWide { margin-top: 36px; }
.figNarrow { max-width: 900px; }

/* ---------- figures grid (headline numbers) ---------- */
.figureGrid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.figure { min-height: 220px; padding: 20px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.figure:nth-child(4n+1) { border-left: 1px solid var(--ink); }
.figure strong { font-size: clamp(2.4rem, 4.2vw, 4.4rem); font-weight: 560; letter-spacing: -.06em; line-height: .9; color: var(--deep-orange); }
.figure p { margin: 0; line-height: 1.5; font-size: .9rem; }
.reportStatus { margin-top: 56px; }
.reportStatus > div { background: var(--orange-surface); color: #fff4df; padding: 34px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.reportStatus span { text-transform: uppercase; letter-spacing: .14em; font-size: .6rem; }
.reportStatus h3 { margin: 22px 0 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1; letter-spacing: -.03em; }
.reportStatus p { margin: 0; line-height: 1.6; max-width: 640px; align-self: end; }

/* ---------- component grid (architecture) ---------- */
.depthGrid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-top: 56px; }
.depth { min-height: 360px; padding: 20px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); display: flex; flex-direction: column; transition: background .2s, color .2s; }
.depth:first-child { border-left: 1px solid var(--ink); }
.depth:hover { background: var(--ink); color: var(--cream); }
.depth > span { color: var(--deep-orange); text-transform: uppercase; letter-spacing: .12em; font-size: .56rem; }
.depth h3 { margin: 40px 0 16px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.2rem, 3.2vw, 3.3rem); line-height: .92; letter-spacing: -.035em; }
.depth p { margin: 0 0 24px; line-height: 1.55; font-size: .9rem; }
.depth code { margin-top: auto; font-size: .7rem; border-top: 1px solid currentColor; padding-top: 12px; overflow-wrap: anywhere; line-height: 1.5; }

/* ---------- report tables ---------- */
.tables2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; align-items: start; }
.tableBlock { margin-top: 36px; }
.tables2 .tableBlock { margin-top: 0; }
.tableTitle { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 12px; }
.tableTitle h4 { margin: 0; font-size: 1.05rem; letter-spacing: -.02em; font-weight: 600; }
.tableTitle span { text-transform: uppercase; letter-spacing: .12em; font-size: .56rem; color: var(--muted); text-align: right; }
.tableWrap { overflow-x: auto; border-top: 1px solid var(--ink); -webkit-overflow-scrolling: touch; }
table.report { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .84rem; }
table.report th, table.report td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
table.report th:first-child, table.report td:first-child { text-align: left; padding-left: 0; }
table.report thead th { text-transform: uppercase; letter-spacing: .1em; font-size: .56rem; color: var(--muted); font-weight: 500; vertical-align: bottom; line-height: 1.4; }
table.report thead th.group { text-align: center; border-bottom: 1px solid var(--line); }
table.report tbody th { font-weight: 400; }
table.report .ours { background: var(--ours); }
table.report thead .ours { color: var(--ink); font-weight: 600; }
table.report .best { font-weight: 650; }
table.report .sub td:first-child, table.report .sub th:first-child { padding-left: 16px; color: var(--muted); }
table.report tr.rule td, table.report tr.rule th { border-top: 1px solid var(--ink); }
table.report .left { text-align: left; }
table.report.wrap td, table.report.wrap th { white-space: normal; }
.pending { color: var(--muted); font-style: italic; white-space: nowrap; }
.pending::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--orange); vertical-align: middle; animation: pulse 1.8s ease-in-out infinite; }
.na { color: var(--muted); }
.modelRange .pending { color: inherit; opacity: .8; }
.modelRange .pending::before { background: currentColor; }
.figStack { display: grid; gap: 28px; margin-top: 36px; }
.tableNote { margin: 12px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.55; max-width: 980px; }

/* ---------- training steps (lineage list) ---------- */
.collectionList { border-top: 1px solid var(--ink); }
.collection {
  display: grid; grid-template-columns: 90px 1fr 220px; gap: 30px;
  padding: 40px 0 46px; border-bottom: 1px solid var(--ink); transition: padding .25s, background .25s;
}
.collection.featured { background: var(--orange-surface); color: #fff4df; margin-inline: -24px; padding-inline: 24px; }
.collection.featured .tableWrap { border-top-color: currentColor; }
.collection.featured table.report th, .collection.featured table.report td { border-bottom-color: rgba(255,244,223,.35); }
.collection.featured table.report thead th, .collection.featured .fig figcaption, .collection.featured .fig figcaption b, .collection.featured .tableNote, .collection.featured .tableTitle span { color: rgba(255,244,223,.82); }
.collectionNumber { font-family: var(--font-serif); font-size: 1.5rem; }
.collectionTop { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.collectionTop h3 { font-size: clamp(2.3rem, 4.4vw, 4.8rem); letter-spacing: -.065em; margin: 0; line-height: .9; }
.collectionMain > h4 { font-family: var(--font-serif); font-weight: 400; font-style: italic; font-size: 1.9rem; margin: 26px 0 15px; line-height: 1.05; }
.collectionMain > p { max-width: 760px; line-height: 1.62; margin: 0 0 1em; }
.collection ul.chips { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 0; }
.collection ul.chips li { border: 1px solid currentColor; padding: 6px 9px; text-transform: uppercase; font-size: .55rem; letter-spacing: .12em; }
.collectionStat { align-self: start; border-top: 1px solid currentColor; padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.collectionStat strong { font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.05em; font-weight: 560; line-height: 1; font-variant-numeric: tabular-nums; }
.collectionStat span { text-transform: uppercase; font-size: .56rem; letter-spacing: .12em; line-height: 1.5; }
.collectionStat a { margin-top: 18px; border-top: 1px solid currentColor; padding-top: 12px; display: flex; justify-content: space-between; text-transform: uppercase; font-size: .58rem; letter-spacing: .12em; }
.collectionStat a:hover { color: var(--deep-orange); }
.collection.featured .collectionStat a:hover { color: inherit; opacity: .7; }
.collection .fig, .collection .figRow, .collection .tableBlock, .collection details { margin-top: 30px; }
.pendingBox { margin-top: 28px; padding: 18px 20px; border: 1px dashed currentColor; display: flex; gap: 14px; align-items: baseline; line-height: 1.55; }
.pendingBox b { text-transform: uppercase; letter-spacing: .12em; font-size: .6rem; white-space: nowrap; }

details.samples { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.samples summary { cursor: pointer; padding: 14px 0; text-transform: uppercase; letter-spacing: .12em; font-size: .6rem; list-style: none; display: flex; justify-content: space-between; }
details.samples summary::-webkit-details-marker { display: none; }
details.samples summary::after { content: "+"; font-size: 1rem; line-height: .6; }
details.samples[open] summary::after { content: "−"; }
.sampleList { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.sample { min-width: 0; }
.sample { padding: 18px 20px 20px 0; border-bottom: 1px solid var(--line); }
.sample:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
.sample p { margin: 0 0 .6em; line-height: 1.55; font-size: .9rem; }
.sample .who { text-transform: uppercase; letter-spacing: .12em; font-size: .56rem; color: var(--deep-orange); margin-bottom: 4px; }
.sample pre { margin: 0 0 .6em; padding: 12px; background: var(--ink); color: var(--cream); font-size: .74rem; overflow-x: auto; white-space: pre; }
.sample pre code, .collectionMain pre code, .codePanel pre code, pre.bib code { background: none; padding: 0; color: inherit; font-size: inherit; }
.sampleVerdict { margin: 14px 0; color: var(--muted); font-size: .85rem; line-height: 1.55; }

/* ---------- bar chart (long context) ---------- */
.benchChart { margin: 0; }
.benchLegend { display: flex; gap: 22px; margin-bottom: 26px; font-size: .78rem; color: var(--muted); flex-wrap: wrap; }
.benchLegend span { display: flex; align-items: center; gap: 8px; }
.benchLegend i { width: 14px; height: 10px; border-radius: 2px; }
.benchLegend .a, .benchTip .a::before { background: var(--bench-a); }
.benchLegend .b, .benchTip .b::before { background: var(--bench-b); }
.benchRow, .benchAxis { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.benchRow { padding: 14px 0; border-top: 1px solid var(--line); outline: none; }
.benchRow:last-of-type { border-bottom: 1px solid var(--line); }
.benchName { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.benchName strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.75rem; line-height: 1; }
.benchRow.ours .benchName strong { color: var(--deep-orange); }
.benchName span { color: var(--muted); font-size: .72rem; }
.benchTrack {
  position: relative; margin-right: 64px; display: grid; gap: 2px; align-content: center;
  background: linear-gradient(to right, var(--line) 1px, transparent 1px) 0 0 / 25% 100%;
  border-right: 1px solid var(--line);
}
.benchBar { position: relative; height: 20px; }
.benchBar i { display: block; height: 100%; border-radius: 0 4px 4px 0; transition: filter .2s; }
.benchBar.a i { background: var(--bench-a); }
.benchBar.b i { background: var(--bench-b); }
.benchBar > span { position: absolute; top: 50%; transform: translateY(-50%); font-size: .76rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.benchRow:hover .benchBar i, .benchRow:focus-visible .benchBar i { filter: brightness(1.12); }
.benchRow:focus-visible .benchName strong { color: var(--deep-orange); }
.benchTip {
  position: absolute; z-index: 5; right: 0; top: 50%; transform: translateY(-50%); min-width: 250px; padding: 12px 14px;
  background: var(--ink); color: var(--cream); font-size: .74rem; opacity: 0; pointer-events: none; transition: opacity .15s;
}
.benchRow:hover .benchTip, .benchRow:focus .benchTip { opacity: 1; }
.benchTip > div { display: flex; align-items: baseline; gap: 10px; }
.benchTip > div + div { margin-top: 4px; }
.benchTip b { min-width: 52px; font-size: .9rem; font-variant-numeric: tabular-nums; }
.benchTip span { display: flex; align-items: center; gap: 6px; opacity: .8; }
.benchTip span::before { content: ""; width: 12px; height: 2px; }
.benchTip p { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid rgba(242,234,220,.25); }
.benchTicks { position: relative; height: 26px; margin-right: 64px; }
.benchTicks span { position: absolute; top: 8px; transform: translateX(-50%); color: var(--muted); font-size: .66rem; font-variant-numeric: tabular-nums; }
.benchChart figcaption { margin-top: 12px; color: var(--muted); font-size: .78rem; line-height: 1.55; }

/* ---------- landscapes (dark panel) ---------- */
.ethos { background: var(--cream); padding: 6% 2%; }
.ethosPanel { padding: clamp(36px, 6vw, 96px); border-radius: 28px; background: var(--ethos-surface); color: var(--ethos-text); overflow: hidden; }
.ethosGrid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 90px; }
.ethosTitle > span { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; color: var(--orange); margin-bottom: 52px; }
.ethosTitle h2 { margin: 0; font-size: clamp(3.1rem, 6vw, 6.6rem); line-height: .9; letter-spacing: -.06em; font-weight: 560; }
.ethosTitle h2 em { color: var(--orange); font-family: var(--font-serif); font-weight: 400; }
.ethosCopy .lead { font-size: clamp(1.5rem, 2.4vw, 2.4rem); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 56px; }
.ethosPoints { border-top: 1px solid var(--ethos-line); }
.ethosPoints > div { display: grid; grid-template-columns: 50px 150px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--ethos-line); }
.ethosPoints span { color: var(--orange); font-family: var(--font-serif); font-size: 1.1rem; }
.ethosPoints h3, .ethosPoints p { margin: 0; }
.ethosPoints h3 { font-size: 1rem; }
.ethosPoints p { color: var(--ethos-muted); line-height: 1.55; font-size: .92rem; }
.ethosPanel .fig figcaption { color: var(--ethos-muted); }
.ethosPanel .fig figcaption b { color: var(--ethos-text); }
.ethosPanel .fig .plate { border-color: var(--ethos-line); }
.landscapeRenders { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; }

/* ---------- code / usage ---------- */
.usageGrid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; align-items: start; }
.usageGrid > div, .citeGrid > div, .tables2 > *, .collectionMain, .figRow > *, .pgMain { min-width: 0; }
.usageGrid > div:first-child p { line-height: 1.65; font-size: .95rem; margin: 0 0 1em; }
.usageGrid code.inline, .prose code, .collectionMain code, .tableNote code { font-size: .86em; background: var(--paper); padding: 1px 5px; }
.collection.featured .collectionMain code { background: rgba(255,244,223,.16); }
.tabList { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tabList button {
  padding: 12px 14px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: transparent; color: inherit; font: inherit; font-size: .64rem; text-transform: uppercase; letter-spacing: .11em; cursor: pointer;
}
.tabList button[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.codePanel { position: relative; }
.codePanel pre, pre.bib {
  margin: 0; padding: 24px; overflow: auto; border: 1px solid var(--code-border); border-top: 0;
  background: #201c18; color: #f2eadc; font-size: .78rem; line-height: 1.65;
}
pre.bib { border-top: 1px solid var(--code-border); }
.copyCode {
  width: 100%; margin-top: 14px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--ink);
  background: transparent; color: inherit; display: flex; justify-content: space-between; font: inherit;
  text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; cursor: pointer; transition: color .2s, border-color .2s;
}
.copyCode:hover { color: var(--deep-orange); border-color: var(--deep-orange); }

/* ---------- limitations ---------- */
.localFirstGrid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 90px; }
.localFirstHeading > span { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; color: var(--deep-orange); margin-bottom: 52px; }
.localFirstHeading h2 { margin: 0; font-size: clamp(3.1rem, 6vw, 6.6rem); line-height: .9; letter-spacing: -.06em; font-weight: 560; }
.localFirstHeading h2 em { color: var(--deep-orange); font-family: var(--font-serif); font-weight: 400; }
.localFirstCopy .lead { font-size: clamp(1.5rem, 2.4vw, 2.4rem); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 56px; }
.localFirstPoints { border-top: 1px solid var(--line); }
.localFirstPoints > div { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.localFirstPoints > div > span { color: var(--deep-orange); font-family: var(--font-serif); font-size: 1.1rem; }
.localFirstPoints h3, .localFirstPoints p { margin: 0; }
.localFirstPoints h3 { font-size: 1rem; }
.localFirstPoints p { color: var(--muted); line-height: 1.58; margin-top: 7px; font-size: .93rem; }

/* ---------- cite ---------- */
.citeGrid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; align-items: start; }
.citeGrid > div:first-child span { text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; color: var(--deep-orange); }
.citeGrid > div:first-child h2 { margin: 26px 0 0; font-size: clamp(3.1rem, 6vw, 6.6rem); line-height: .9; letter-spacing: -.06em; font-weight: 560; }
.citeGrid > div:first-child h2 em { font-family: var(--font-serif); font-weight: 400; color: var(--deep-orange); }
.citeGrid p { line-height: 1.65; font-size: .95rem; margin: 0 0 18px; }
.placeholderTag { display: inline-block; margin-bottom: 14px; border: 1px dashed var(--deep-orange); color: var(--deep-orange); padding: 5px 9px; text-transform: uppercase; letter-spacing: .12em; font-size: .56rem; }

/* ---------- closing + footer ---------- */
.closing { padding: 100px 0; display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
.closingImage { overflow: hidden; background: #0e1018; min-height: 450px; }
.closingImage img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.closingCopy { background: var(--paper); padding: 54px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.closingCopy > p { text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; margin: 0; }
.closingLinks { display: grid; gap: 0; }
.closingLinks a { border-top: 1px solid var(--ink); padding: 14px 0; display: flex; justify-content: space-between; text-transform: uppercase; font-size: .64rem; letter-spacing: .12em; transition: color .2s; }
.closingLinks a:hover { color: var(--deep-orange); }
.footer {
  min-height: 100px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr;
  align-items: center; font-size: .62rem; text-transform: uppercase; letter-spacing: .12em;
}
.footer p { text-align: center; }
.footer > a { text-align: right; }
.footer > a:hover { color: var(--deep-orange); }

/* ---------- technical report links (switched on by site.js once the PDF exists) ---------- */
[data-report-link] .whenReady { display: none; }
html.reportReady [data-report-link] .whenReady { display: inline; }
html.reportReady [data-report-link] .whenPending { display: none; }
html:not(.reportReady) .reportOnly { display: none !important; }
a[data-report-link]:not([href]) { cursor: default; }
.rangeActions > a:not([href]) { opacity: .62; border-bottom-style: dashed; }
.rangeActions > a:not([href]):hover { opacity: .62; }
.closingLinks a[data-report-link]:not([href]) { opacity: .6; }
.closingLinks a[data-report-link]:not([href]):hover { color: inherit; }
.reportCta { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; padding-top: 56px; align-items: end; }
.reportCta > div > span { text-transform: uppercase; font-size: .63rem; letter-spacing: .13em; }
.reportCta p { margin: 12px 0 0; max-width: 600px; line-height: 1.6; }
.ctaLink {
  border-bottom: 1px solid var(--ink); padding-bottom: 14px; display: flex; justify-content: space-between; gap: 14px;
  text-transform: uppercase; font-size: .62rem; letter-spacing: .12em; transition: color .2s, border-color .2s;
}
.ctaLink[href]:hover, .ctaLink[href]:focus-visible { color: var(--deep-orange); border-color: var(--deep-orange); }
.ctaLink:not([href]) { border-bottom-style: dashed; color: var(--muted); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; filter: blur(10px); transform: translateY(32px); transition: opacity .75s ease, filter .75s ease, transform .75s cubic-bezier(.2,.75,.2,1); }
.js [data-reveal].is-revealed { opacity: 1; filter: blur(0); transform: translateY(0); }
.js .collection[data-reveal] { transition: padding .25s ease, background .25s ease, opacity .75s ease, filter .75s ease, transform .75s cubic-bezier(.2,.75,.2,1); }
.js .modelCard[data-reveal], .js .depth[data-reveal], .js .figure[data-reveal] { transition-delay: calc(var(--reveal-index, 0) * 45ms); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .navLinks { gap: 20px; }
  .navLinks a.optional { display: none; }
}
@media (max-width: 900px) {
  .shell { width: min(100% - 36px, 760px); }
  .navLinks a:not(:last-child) { display: none; }
  .heroImage img { aspect-ratio: 4/3; }
  .heroStampLeft { display: none; }
  .heroRead { left: 14px; right: 14px; top: 12px; max-width: none; }
  .heroRead span { display: none; }
  .heroScale { display: none; }
  .heroCtl { left: 12px; right: 12px; bottom: 12px; gap: 5px; }
  .heroCtl button { padding: 7px 10px; }
  .heroImage.is3d .heroStamp { display: none; }
  .heroTitle h1 { white-space: normal; font-size: clamp(3.6rem, 16vw, 8rem); line-height: .9; }
  .intro { grid-template-columns: 1fr; gap: 30px; padding-block: 80px; min-height: auto; }
  .kicker { padding-top: 0; }
  .star { display: none; }
  .sectionLead { grid-template-columns: 1fr; gap: 26px; margin-bottom: 56px; }
  .sectionLead > span { padding-top: 0; }
  .subLead { grid-template-columns: 1fr; gap: 16px; margin-top: 72px; }
  .subLead p { grid-column: 1; }
  .rangeLead { grid-template-columns: 1fr; gap: 26px; }
  .modelCards { grid-template-columns: 1fr; }
  .modelSpecs { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .depthGrid { grid-template-columns: repeat(2, 1fr); }
  .depth:first-child { border-left: 0; }
  .depth:nth-child(2n+1) { border-left: 1px solid var(--ink); }
  .depth { min-height: 300px; }
  .figureGrid { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(4n+1) { border-left: 0; }
  .figure:nth-child(2n+1) { border-left: 1px solid var(--ink); }
  .reportStatus > div { grid-template-columns: 1fr; gap: 20px; }
  .tables2, .figRow, .figRow.three, .landscapeRenders { grid-template-columns: 1fr; }
  .collection { grid-template-columns: 46px 1fr; }
  .collectionStat { grid-column: 2; }
  .collectionTop { display: block; }
  .collectionTop > .pill { display: inline-block; margin-top: 16px; }
  .ethosGrid, .localFirstGrid, .closing, .usageGrid, .citeGrid { grid-template-columns: 1fr; gap: 50px; }
  .reportCta { grid-template-columns: 1fr; gap: 24px; }
  .sampleList { grid-template-columns: minmax(0, 1fr); }
  .sample:nth-child(2n) { padding-left: 0; border-left: 0; }
  .closingImage { min-height: 320px; }
  .closingCopy { min-height: 380px; }
}
@media (max-width: 560px) {
  .collection, .collection.featured { grid-template-columns: 1fr; margin-inline: 0; padding: 30px 0; }
  .collection.featured { padding-inline: 18px; margin-inline: -18px; }
  .collectionNumber { display: none; }
  .collectionStat { grid-column: auto; }
  .ethos { padding: 36px 0; }
  .ethosPanel { padding: 34px 22px; border-radius: 20px; }
  .ethosPoints > div { grid-template-columns: 34px 1fr; }
  .ethosPoints p { grid-column: 2; }
  .depthGrid, .figureGrid { grid-template-columns: 1fr; }
  .depth, .figure { border-left: 1px solid var(--ink); }
  .section { padding: 84px 0; }
  .modelRange { padding: 84px 0 96px; }
  .benchRow, .benchAxis { grid-template-columns: 104px 1fr; gap: 12px; }
  .benchName strong { font-size: 1.2rem; }
  .benchName span { display: none; }
  .benchTrack, .benchTicks { margin-right: 52px; }
  .benchTip { display: none; }
  .closingCopy { padding: 34px 24px; }
  .footer { grid-template-columns: 1fr 1fr; padding-block: 20px; gap: 14px; }
  .footer p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .scrollGlassEdge { transition: none; }
  .js [data-reveal] { opacity: 1; filter: none; transform: none; }
}

/* reward-hacking finding inside the Chat phase */
.rhBlock { margin-top: 36px; padding-top: 26px; border-top: 1px solid currentColor; }
.rhKick { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .6rem; }
.rhBlock > h4 { font-family: var(--font-serif); font-weight: 400; font-size: 1.9rem; line-height: 1.05; margin: 12px 0 16px; }
.rhBlock > p { max-width: 760px; line-height: 1.62; margin: 0 0 1em; }
.rhBlock .fig { margin-top: 26px; }
.collection.featured table.report .ours { background: rgba(255,244,223,.14); }
.collection.featured table.report thead .ours { color: inherit; }
.collection.featured table.report .best { font-weight: 650; }
.rhTables { display: grid; gap: 36px; margin-top: 30px; }
.rhTables .tableBlock { margin-top: 0; min-width: 0; }
.collection.featured table.report .sub th, .collection.featured table.report .sub td:first-child { color: rgba(255,244,223,.78); }
