/* ════════════════════════════════════════════════════════════════════ IndiaFinBench — "The Record" Archival-editorial design system. Paper, ink, sealing wax, ledger green. ════════════════════════════════════════════════════════════════════ */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } :root { --paper: #F5F1E8; --paper-hi: #FBF8F1; --paper-deep: #EDE7D9; --ink: #1C1812; --ink-2: #4A4338; --ink-3: #8B8270; --rule: rgba(28, 24, 18, 0.14); --rule-soft: rgba(28, 24, 18, 0.08); --red: #A33B20; --red-soft: rgba(163, 59, 32, 0.10); --green: #1F5C45; --green-soft: rgba(31, 92, 69, 0.10); --gold: #96752A; --gold-soft: rgba(150, 117, 42, 0.12); --saffron: #C96F12; --serif: 'Fraunces', Georgia, serif; --sans: 'Archivo', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace; --maxw: 1080px; --ease: cubic-bezier(0.22, 0.61, 0.36, 1); } html { scroll-behavior: smooth; } body { font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; position: relative; } /* paper grain */ body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1000; opacity: 0.35; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.09 0 0 0 0 0.07 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); } ::selection { background: var(--red); color: var(--paper-hi); } #archiveCanvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; } main, .footer { position: relative; z-index: 2; } :focus-visible { outline: 2px solid var(--red); outline-offset: 2px; } a { color: inherit; } .mono { font-family: var(--mono); } .c-red { color: var(--red); } .c-green { color: var(--green); } .skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 18px; font-size: 13px; z-index: 2000; text-decoration: none; } .skip-link:focus { left: 12px; top: 12px; } /* ════════ MASTHEAD ════════ */ .masthead { position: fixed; top: 0; left: 0; right: 0; z-index: 600; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--rule); } .masthead::after { content: ''; display: block; height: 1px; background: var(--rule-soft); margin-top: 2px; } .masthead-inner { max-width: 1280px; margin: 0 auto; height: 60px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; } .brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; } .brand-seal { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--red); line-height: 1; } .brand-word { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; } .brand-word em { font-style: italic; color: var(--red); } .mast-nav { display: flex; gap: 4px; } .mast-nav a { font-size: 13px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 7px 11px; border-radius: 2px; transition: color 0.15s, background 0.15s; } .mast-nav a:hover, .mast-nav a.active { color: var(--red); background: var(--red-soft); } .mast-actions { display: flex; align-items: center; gap: 8px; } .mast-btn { font-size: 12.5px; font-weight: 600; text-decoration: none; padding: 7px 14px; border: 1px solid var(--rule); color: var(--ink-2); border-radius: 2px; transition: border-color 0.15s, color 0.15s, background 0.15s; } .mast-btn:hover { border-color: var(--ink); color: var(--ink); } .mast-btn-solid { background: var(--ink); color: var(--paper-hi); border-color: var(--ink); } .mast-btn-solid:hover { background: var(--red); border-color: var(--red); color: var(--paper-hi); } .mast-menu { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; } .mast-menu span { width: 20px; height: 2px; background: var(--ink); transition: transform 0.2s; } .mast-menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); } .mast-menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); } .mast-drawer { display: none; flex-direction: column; border-top: 1px solid var(--rule); background: var(--paper-hi); } .mast-drawer.open { display: flex; } .mast-drawer a { padding: 14px 24px; text-decoration: none; font-size: 14px; font-family: var(--mono); color: var(--ink-2); border-bottom: 1px solid var(--rule-soft); } .mast-drawer a:hover { color: var(--red); background: var(--red-soft); } /* ════════ PROGRESS RAIL ════════ */ .rail { position: fixed; left: 26px; top: 50%; transform: translateY(-50%); z-index: 500; display: flex; gap: 14px; align-items: stretch; } .rail-line { width: 1px; background: var(--rule); position: relative; } .rail-fill { position: absolute; top: 0; left: 0; width: 100%; height: 0%; background: var(--red); transition: height 0.2s linear; } .rail-list { list-style: none; display: flex; flex-direction: column; gap: 18px; } .rail-list a { display: flex; align-items: baseline; gap: 8px; text-decoration: none; opacity: 0.45; transition: opacity 0.2s; } .rail-list a b { font-family: var(--mono); font-size: 10px; font-weight: 600; color: var(--red); } .rail-list a span { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); } .rail-list li.on a, .rail-list a:hover { opacity: 1; } @media (max-width: 1320px) { .rail { display: none; } } /* ════════ BUTTONS / CHIPS / INPUTS ════════ */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-size: 14px; font-weight: 600; padding: 12px 24px; border-radius: 2px; text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s; border: 1px solid transparent; } .btn:active { transform: translateY(1px); } .btn-ink { background: var(--ink); color: var(--paper-hi); border-color: var(--ink); } .btn-ink:hover { background: var(--red); border-color: var(--red); } .btn-ink:disabled { opacity: 0.45; cursor: not-allowed; } .btn-line { background: transparent; color: var(--ink); border-color: var(--rule); } .btn-line:hover { border-color: var(--red); color: var(--red); } .btn-sm { padding: 8px 16px; font-size: 13px; } .chip { font-family: var(--sans); font-size: 12.5px; font-weight: 500; padding: 7px 14px; background: var(--paper-hi); border: 1px solid var(--rule); border-radius: 100px; color: var(--ink-2); cursor: pointer; transition: color 0.15s, border-color 0.15s; } .chip:hover { color: var(--red); border-color: var(--red); } .input, .select { font-family: var(--sans); font-size: 14px; color: var(--ink); background: var(--paper-hi); border: 1px solid var(--rule); border-radius: 2px; padding: 11px 14px; outline: none; width: 100%; transition: border-color 0.15s, box-shadow 0.15s; } .input:focus, .select:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); } .input::placeholder { color: var(--ink-3); } .select { cursor: pointer; } /* ════════ HERO ════════ */ .hero { position: relative; z-index: 2; padding: 168px 24px 0; border-bottom: 1px solid var(--rule); } /* radial paper glow keeps the headline column clear of the archive scene */ .hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 56% 54% at 50% 40%, var(--paper) 30%, color-mix(in srgb, var(--paper) 72%, transparent) 62%, transparent 100%); } .hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; text-align: center; } .hero-kicker { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 28px; } .hero-kicker::before, .hero-kicker::after { content: '———'; letter-spacing: -0.18em; color: var(--rule); margin: 0 14px; vertical-align: 2px; } .hero-title { font-family: var(--serif); font-optical-sizing: auto; font-size: clamp(44px, 7.4vw, 96px); font-weight: 560; line-height: 1.02; letter-spacing: -0.022em; max-width: 15ch; margin: 0 auto 28px; } .hero-title em { font-style: italic; color: var(--red); } .hero-sub { font-size: clamp(15px, 1.7vw, 18px); color: var(--ink-2); max-width: 620px; margin: 0 auto 40px; line-height: 1.75; } .hero-sub strong { color: var(--ink); font-weight: 600; } .hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; } .hero-scrollcue { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 56px; } .cue-arrow { display: inline-block; margin-left: 10px; color: var(--red); animation: cue-drop 2s var(--ease) infinite; } @keyframes cue-drop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } } .hero-ledger { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--rule); border-bottom: none; background: color-mix(in srgb, var(--paper-hi) 78%, transparent); backdrop-filter: blur(6px); } .ledger-cell { padding: 26px 18px 22px; text-align: center; border-right: 1px solid var(--rule-soft); } .ledger-cell:last-child { border-right: none; } .ledger-num { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; margin-bottom: 6px; } .ledger-cell:nth-child(odd) .ledger-num { color: var(--ink); } .ledger-cell:nth-child(even) .ledger-num { color: var(--red); } .ledger-lbl { font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); } @media (max-width: 980px) { .hero-ledger { grid-template-columns: repeat(3, 1fr); } .ledger-cell:nth-child(3) { border-right: none; } .ledger-cell:nth-child(-n+3) { border-bottom: 1px solid var(--rule-soft); } } @media (max-width: 560px) { .hero-ledger { grid-template-columns: repeat(2, 1fr); } .ledger-cell { border-right: 1px solid var(--rule-soft) !important; } .ledger-cell:nth-child(2n) { border-right: none !important; } .ledger-cell:nth-child(-n+4) { border-bottom: 1px solid var(--rule-soft); } } /* ════════ CHAPTERS ════════ */ .chapter { padding: 110px 24px; position: relative; } .chapter > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; } .ch-alt { background: color-mix(in srgb, var(--paper-deep) 91%, transparent); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); } .ch-head { margin-bottom: 56px; position: relative; } .ch-no { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.18em; color: var(--red); display: inline-block; margin-bottom: 14px; } .ch-no::after { content: ''; display: inline-block; width: 64px; height: 1px; background: var(--red); margin-left: 16px; vertical-align: 4px; opacity: 0.5; } .ch-title { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 56px); font-weight: 560; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 14px; } .ch-lede { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); max-width: 60ch; } .prose { font-size: 16px; line-height: 1.8; color: var(--ink-2); } .prose strong { color: var(--ink); } .prose-narrow { max-width: 70ch; margin-bottom: 48px; } /* vellum: frosted-paper panel that guarantees legibility over the scene */ .vellum { background: color-mix(in srgb, var(--paper) 70%, transparent); -webkit-backdrop-filter: blur(10px) saturate(130%); backdrop-filter: blur(10px) saturate(130%); border: 1px solid var(--rule-soft); padding: 30px 34px; } @supports not (backdrop-filter: blur(1px)) { .vellum { background: color-mix(in srgb, var(--paper) 94%, transparent); } } .prose-cols { columns: 2; column-gap: 56px; column-rule: 1px solid var(--rule-soft); margin-bottom: 64px; font-size: 16px; line-height: 1.8; color: var(--ink-2); } .prose-cols p { break-inside: avoid; margin-bottom: 1em; } .prose-cols p:first-child::first-letter { font-family: var(--serif); font-size: 3.4em; font-weight: 600; float: left; line-height: 0.82; padding: 4px 10px 0 0; color: var(--red); } @media (max-width: 760px) { .prose-cols { columns: 1; } } /* ════════ §01 PROBLEM ════════ */ .problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-bottom: 72px; } @media (max-width: 820px) { .problem-grid { grid-template-columns: 1fr; } } .problem-card { background: var(--paper-hi); padding: 32px 28px; position: relative; } .pc-no { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--red); display: block; margin-bottom: 16px; line-height: 1; } .problem-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; } .problem-card p { font-size: 14px; line-height: 1.7; color: var(--ink-2); } /* specimen exhibit */ .specimen { border: 1px solid var(--ink); background: var(--paper-hi); box-shadow: 4px 4px 0 var(--rule-soft); padding: 0; } .spec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--rule); } .spec-tag { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-hi); background: var(--red); padding: 4px 10px; } .spec-src { font-family: var(--mono); font-size: 12px; color: var(--ink-3); } .spec-body { font-family: var(--serif); font-size: clamp(18px, 2.2vw, 23px); line-height: 1.85; padding: 36px 40px; color: var(--ink); } .spec-body mark { background: transparent; padding: 1px 3px; position: relative; border-bottom: 2px solid; white-space: nowrap; } .m-num { color: var(--red); border-color: var(--red); background: var(--red-soft); } .m-scope { color: var(--green); border-color: var(--green); background: var(--green-soft); } .m-ref { color: var(--gold); border-color: var(--gold); background: var(--gold-soft); } .spec-body mark::after { content: attr(data-note); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px); font-family: var(--mono); font-size: 10.5px; font-style: normal; white-space: nowrap; background: var(--ink); color: var(--paper-hi); padding: 5px 10px; opacity: 0; pointer-events: none; transition: opacity 0.18s, transform 0.18s; } .spec-body mark:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); } .spec-legend { display: flex; flex-wrap: wrap; gap: 22px; padding: 14px 24px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); } .spec-legend span { display: inline-flex; align-items: center; gap: 8px; } .lg { width: 14px; height: 3px; display: inline-block; } .lg-num { background: var(--red); } .lg-scope { background: var(--green); } .lg-ref { background: var(--gold); } /* ════════ §02 CORPUS ════════ */ .corpus-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; } @media (max-width: 880px) { .corpus-grid { grid-template-columns: 1fr; } } .corpus-copy .prose { margin-bottom: 32px; } .corpus-stats { border-top: 1px solid var(--rule); } .corpus-stats > div { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 2px; border-bottom: 1px solid var(--rule-soft); } .corpus-stats dt { font-size: 13.5px; color: var(--ink-2); } .corpus-stats dd { font-size: 14px; font-weight: 600; } .doc-field { border: 1px solid var(--rule); background: var(--paper-hi); padding: 28px; } .doc-dots { display: grid; grid-template-columns: repeat(16, 1fr); gap: 7px; margin-bottom: 20px; } .doc-dots i { aspect-ratio: 3 / 4; border-radius: 1px; display: block; opacity: 0; transform: scale(0.4) ; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); transition-delay: var(--d, 0s); } .doc-dots.shown i { opacity: 1; transform: scale(1); } .doc-dots .sebi { background: var(--green); } .doc-dots .rbi { background: var(--red); } .doc-field figcaption { display: flex; gap: 22px; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--ink-2); } .doc-field figcaption span { display: inline-flex; align-items: center; gap: 8px; } .doc-total { margin-left: auto; color: var(--ink); font-weight: 600; } .dot { width: 9px; height: 12px; border-radius: 1px; display: inline-block; } .dot-sebi { background: var(--green); } .dot-rbi { background: var(--red); } /* ════════ §03 BENCHMARK ════════ */ .pipeline { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--rule); background: var(--paper-hi); margin-bottom: 64px; } @media (max-width: 940px) { .pipeline { grid-template-columns: 1fr; } } .pipeline li { counter-increment: step; padding: 26px 22px 24px; position: relative; border-right: 1px solid var(--rule-soft); } .pipeline li:last-child { border-right: none; } @media (max-width: 940px) { .pipeline li { border-right: none; border-bottom: 1px solid var(--rule-soft); } .pipeline li:last-child { border-bottom: none; } } .pipeline li::before { content: '0' counter(step); font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--red); letter-spacing: 0.12em; display: block; margin-bottom: 12px; } .pipeline li:not(:last-child)::after { content: '→'; position: absolute; right: -7px; top: 28px; color: var(--red); font-size: 14px; z-index: 2; } @media (max-width: 940px) { .pipeline li::after { display: none; } } .pipeline b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 7px; } .pipeline span { font-size: 12.5px; line-height: 1.6; color: var(--ink-2); } .task-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-bottom: 48px; } @media (max-width: 940px) { .task-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .task-grid { grid-template-columns: 1fr; } } .task-card { background: var(--paper-hi); padding: 28px 24px; } .task-code { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; padding: 3px 9px; border: 1px solid currentColor; display: inline-block; margin-bottom: 16px; } .task-card h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; } .task-card p { font-size: 13px; line-height: 1.65; color: var(--ink-2); margin-bottom: 16px; } .task-n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); } .task-n b { color: var(--ink); font-weight: 600; } .task-meter { height: 3px; background: var(--rule-soft); margin-top: 10px; overflow: hidden; } .task-meter i { display: block; height: 100%; width: 0; transition: width 1.1s var(--ease) 0.2s; } .shown .task-meter i { width: var(--w); } .diff-strip { } .diff-bar-outer { display: flex; height: 56px; border: 1px solid var(--rule); background: var(--paper-hi); overflow: hidden; margin-bottom: 14px; } .diff-seg { width: 0; display: flex; align-items: center; justify-content: center; transition: width 1.2s var(--ease); overflow: hidden; position: relative; } .shown .diff-seg { width: var(--w); } .diff-seg span { font-family: var(--mono); font-size: 12px; font-weight: 600; white-space: nowrap; } .ds-easy { background: var(--green-soft); color: var(--green); border-right: 1px solid var(--rule-soft); } .ds-med { background: var(--gold-soft); color: var(--gold); border-right: 1px solid var(--rule-soft); } .ds-hard { background: var(--red-soft); color: var(--red); } .diff-note { font-size: 13px; color: var(--ink-3); } /* ════════ PANELS (shared) ════════ */ .panel { background: var(--paper-hi); border: 1px solid var(--rule); padding: 32px; margin-bottom: 28px; } .panel-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; } .panel-title { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; } .panel-sub { font-size: 13.5px; color: var(--ink-3); max-width: 64ch; } .tabset { display: inline-flex; border: 1px solid var(--rule); background: var(--paper); } .tab { font-family: var(--mono); font-size: 12.5px; font-weight: 500; padding: 9px 18px; background: none; border: none; cursor: pointer; color: var(--ink-3); border-right: 1px solid var(--rule-soft); transition: color 0.15s, background 0.15s; } .tab:last-child { border-right: none; } .tab:hover { color: var(--ink); } .tab.active { background: var(--ink); color: var(--paper-hi); } /* ════════ §04 CHART ════════ */ .chart { position: relative; padding: 8px 0 30px; } .chart-baseline { position: absolute; top: 0; bottom: 30px; width: 0; border-left: 2px dashed var(--red); opacity: 0.55; transition: left 0.9s var(--ease); pointer-events: none; z-index: 3; } .chart-baseline em { position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-style: normal; font-size: 10.5px; color: var(--red); white-space: nowrap; } .crow { display: flex; align-items: center; gap: 14px; margin-bottom: 9px; position: relative; } .crow-label { width: 168px; min-width: 168px; text-align: right; display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; } .crow-rank { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--ink-3); } .crow-name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .crow-track { flex: 1; height: 34px; background: var(--rule-soft); position: relative; } .crow-fill { height: 100%; width: 0; position: relative; transition: width 1.1s var(--ease); display: flex; align-items: center; } .crow-fill::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 3px; background: var(--ink); } .t1 .crow-fill { background: var(--ink); } .t2 .crow-fill { background: color-mix(in srgb, var(--ink) 64%, var(--paper)); } .t3 .crow-fill { background: color-mix(in srgb, var(--ink) 40%, var(--paper)); } .t1 .crow-fill::after { background: var(--red); } .crow-val { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity 0.3s 0.7s; } .crow-fill.shown .crow-val { opacity: 1; } .crow-tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper-hi); padding: 12px 16px; font-size: 12px; white-space: nowrap; z-index: 50; opacity: 0; pointer-events: none; transition: opacity 0.15s; box-shadow: 4px 4px 0 var(--rule); } .crow-track:hover .crow-tip { opacity: 1; } .crow-tip b { display: block; font-size: 13px; margin-bottom: 8px; padding-bottom: 7px; border-bottom: 1px solid rgba(251,248,241,0.25); } .crow-tip .tt-grid { display: grid; grid-template-columns: auto auto; gap: 3px 20px; font-family: var(--mono); font-size: 11.5px; } .crow-tip .tt-grid i { font-style: normal; color: rgba(251,248,241,0.55); } .crow-tip .tt-ci { margin-top: 7px; font-size: 10.5px; color: rgba(251,248,241,0.5); text-align: center; } .crow.human .crow-name { font-weight: 400; font-style: italic; color: var(--ink-2); } .crow.human .crow-fill { background: repeating-linear-gradient(135deg, var(--rule), var(--rule) 4px, transparent 4px, transparent 8px); } .crow.human .crow-fill::after { background: var(--ink-3); } .chart-foot { font-size: 12.5px; color: var(--ink-3); margin-top: 24px; max-width: 70ch; } .chart-foot strong { color: var(--ink-2); } @media (max-width: 640px) { .crow-label { width: 108px; min-width: 108px; } .crow-name { font-size: 12px; } .crow-val { display: none; } } /* ════════ TABLES ════════ */ .table-scroll { overflow-x: auto; } .gz-table { width: 100%; border-collapse: collapse; font-size: 13.5px; } .gz-table thead tr { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); } .gz-table th { font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); text-align: left; padding: 12px 14px; white-space: nowrap; user-select: none; } .gz-table th.c, .gz-table td.c { text-align: center; } .gz-table th.sortable { cursor: pointer; } .gz-table th.sortable:hover { color: var(--red); } .gz-table th.sorted { color: var(--red); } .gz-table th.sorted::after { content: ' ↓'; } .th-n { font-size: 9.5px; color: var(--ink-3); text-transform: none; letter-spacing: 0; } .gz-table tbody tr { border-bottom: 1px solid var(--rule-soft); transition: background 0.12s; } .gz-table tbody tr:hover { background: var(--red-soft); } .gz-table td { padding: 13px 14px; white-space: nowrap; vertical-align: middle; } .gz-table td.mono, .gz-table .mono { font-family: var(--mono); font-size: 12.5px; } .row-hi { background: var(--green-soft); } .row-hi:hover { background: var(--green-soft) !important; } .cfg { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); margin-left: 6px; } .cfg-pick { font-family: var(--mono); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; background: var(--green); color: var(--paper-hi); padding: 2px 8px; margin-left: 8px; } .rank-cell { font-family: var(--serif); font-style: italic; font-size: 15px; } .rank-1 { color: var(--gold); font-weight: 700; } .model-cell-name { font-weight: 600; font-size: 13.5px; } .model-cell-id { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); margin-top: 2px; } .score { font-family: var(--mono); font-size: 12.5px; font-weight: 600; padding: 3px 8px; display: inline-block; min-width: 56px; } .s-hi { background: var(--green-soft); color: var(--green); } .s-md { background: var(--gold-soft); color: var(--gold); } .s-lo { background: var(--red-soft); color: var(--red); } .score-best { box-shadow: inset 0 0 0 1px currentColor; } .access-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; border: 1px solid var(--rule); padding: 3px 9px; color: var(--ink-2); border-radius: 100px; white-space: nowrap; } .tr-human td { background: var(--paper); } .tr-human .model-cell-name { font-style: italic; font-weight: 400; } .tr-subset td { background: var(--gold-soft); } .ci-cell { font-family: var(--mono); font-size: 11px; color: var(--ink-3); } .delta-up { color: var(--green); font-weight: 600; } .delta-down { color: var(--red); font-weight: 600; } /* ════════ §05 FINDINGS ════════ */ .findings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); } @media (max-width: 980px) { .findings-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 640px) { .findings-grid { grid-template-columns: 1fr; } } .finding { background: var(--paper-hi); padding: 32px 28px; position: relative; overflow: hidden; } .finding::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease) 0.15s; } .finding.shown::before { transform: scaleX(1); } .f-no { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); } .f-stat { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.02em; color: var(--red); margin: 10px 0 14px; line-height: 1; font-variant-numeric: tabular-nums; } .finding h3 { font-family: var(--serif); font-size: 18.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 10px; } .finding p:last-child { font-size: 13.5px; line-height: 1.7; color: var(--ink-2); } /* ════════ §06 RETRIEVAL ════════ */ .rag-diagram { margin-bottom: 28px; border: 1px solid var(--rule); background: var(--paper-hi); padding: 24px 16px; } .rag-diagram svg { width: 100%; height: auto; display: block; color: var(--ink-3); } .rd-node rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.25; } .rd-dense rect { stroke: var(--green); } .rd-dense .rd-t1 { fill: var(--green); } .rd-sparse rect { stroke: var(--red); } .rd-sparse .rd-t1 { fill: var(--red); } .rd-rrf rect { fill: var(--ink); stroke: var(--ink); } .rd-rrf .rd-t1, .rd-rrf .rd-t2 { fill: var(--paper-hi); } .rd-t1 { font-family: var(--sans); font-size: 15px; font-weight: 600; fill: var(--ink); } .rd-t2 { font-family: var(--mono); font-size: 10px; fill: var(--ink-3); } .rd-rrf .rd-t2 { fill: rgba(251,248,241,0.6); } .rd-flow { fill: none; stroke: var(--ink-3); stroke-width: 1.25; stroke-dasharray: 5 5; } .shown .rd-flow { animation: flow 1.2s linear infinite; } @keyframes flow { to { stroke-dashoffset: -20; } } .panel-live { border-color: var(--ink); box-shadow: 5px 5px 0 var(--rule-soft); } .live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); margin-right: 10px; vertical-align: 2px; animation: pulse 2.2s ease infinite; } @keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 var(--green-soft); } 50% { box-shadow: 0 0 0 7px var(--green-soft); } } .rag-row { display: flex; gap: 10px; margin-bottom: 14px; } .rag-input { flex: 1; } @media (max-width: 560px) { .rag-row { flex-direction: column; } } .rag-examples { display: flex; flex-wrap: wrap; gap: 8px; } .rag-out { margin-top: 26px; border-top: 1px solid var(--rule); padding-top: 22px; } .rag-status { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); margin-bottom: 14px; } .spinner { width: 14px; height: 14px; border: 2px solid var(--rule); border-top-color: var(--red); border-radius: 50%; animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .rag-answer { font-size: 15px; line-height: 1.85; color: var(--ink); white-space: pre-wrap; margin-bottom: 22px; } .rag-answer:empty { margin: 0; } .rag-sources { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; } .rag-src { border: 1px solid var(--rule); background: var(--paper); padding: 16px; } .rag-src-no { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; } .rag-src-title { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; } .rag-src-text { font-size: 12px; line-height: 1.65; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; } .rag-src-scores { display: flex; gap: 12px; font-family: var(--mono); font-size: 10px; color: var(--ink-3); border-top: 1px solid var(--rule-soft); padding-top: 9px; } .rag-src-scores b { color: var(--ink-2); font-weight: 600; } /* ════════ §07 ACCESS ════════ */ .explorer-controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .explorer-controls .select { width: auto; } .ex-card { border-top: 1px solid var(--rule); padding-top: 24px; } .ex-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; } .ex-id { font-size: 11px; color: var(--ink-3); } .ex-badge { font-family: var(--mono); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; border: 1px solid var(--rule); padding: 3px 10px; color: var(--ink-2); } .ex-label { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 7px; } .ex-context { font-family: var(--serif); font-size: 16px; line-height: 1.8; color: var(--ink-2); border-left: 2px solid var(--rule); padding: 4px 0 4px 20px; margin-bottom: 20px; } .ex-question { font-size: 16px; font-weight: 600; margin-bottom: 20px; } .ex-answer { margin-top: 18px; background: var(--green-soft); border: 1px solid var(--green); padding: 16px 20px; } .ex-answer .mono { font-size: 14px; color: var(--green); font-weight: 600; } .access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; } @media (max-width: 880px) { .access-grid { grid-template-columns: 1fr; } } .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; } @media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } } .field { display: flex; flex-direction: column; gap: 6px; } .field > span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); } .field em { color: var(--red); font-style: normal; } .form-foot { display: flex; flex-direction: column; gap: 14px; } .status { font-size: 13px; line-height: 1.6; padding: 12px 16px; border: 1px solid var(--rule); white-space: pre-line; } .status.ok { border-color: var(--green); background: var(--green-soft); color: var(--green); } .status.err { border-color: var(--red); background: var(--red-soft); color: var(--red); } .cite-box { position: relative; background: var(--paper); border: 1px solid var(--rule); padding: 18px 20px; margin-bottom: 18px; } .cite-box pre { font-size: 11.5px; line-height: 1.8; overflow-x: auto; color: var(--ink-2); } .copy-btn { position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 5px 12px; background: var(--paper-hi); border: 1px solid var(--rule); cursor: pointer; color: var(--ink-2); transition: color 0.15s, border-color 0.15s; } .copy-btn:hover { color: var(--red); border-color: var(--red); } .access-links { display: flex; gap: 10px; flex-wrap: wrap; } /* ════════ FOOTER ════════ */ .footer { padding: 64px 24px 56px; text-align: center; border-top: 1px solid var(--rule); position: relative; } .footer-rule { width: 64px; height: 3px; background: var(--red); margin: 0 auto 28px; } .footer-brand { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 10px; } .footer-brand em { font-style: italic; color: var(--red); } .footer-brand .brand-seal { font-size: 18px; margin-right: 6px; } .footer-line { font-size: 14px; color: var(--ink-2); margin-bottom: 6px; } .footer-line a { color: var(--red); text-decoration: none; } .footer-line a:hover { text-decoration: underline; } .footer-sub { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; } /* ════════ REVEAL ════════ */ .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); } .reveal.shown { opacity: 1; transform: translateY(0); } /* ════════ RESPONSIVE / MOTION ════════ */ @media (max-width: 1060px) { .mast-nav { display: none; } } @media (max-width: 680px) { .mast-actions .mast-btn { display: none; } .mast-menu { display: flex; } .chapter { padding: 72px 18px; } .hero { padding-top: 130px; } .panel { padding: 22px 18px; } .spec-body { padding: 26px 22px; } .spec-body mark { white-space: normal; } } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } .reveal { opacity: 1; transform: none; } .crow-fill, .diff-seg, .task-meter i { width: var(--w, 100%); } }