:root {
  --dark: #0b1112;
  --dark-soft: #111b1d;
  --dark-raised: #172224;
  --ivory: #f6f0e5;
  --paper: #eee7d8;
  --ink: #162120;
  --ink-muted: #5f6964;
  --gold: #e5b969;
  --gold-light: #f5d9a3;
  --burgundy: #8b3138;
  --rust: #e88775;
  --border-dark: rgba(230, 195, 126, .18);
  --border-paper: rgba(33, 48, 44, .16);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --page-margin: clamp(20px, 5vw, 80px);
  --radius-lg: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--dark); color: var(--ivory); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--gold); color: var(--ink); }
.container { max-width: 1440px; margin-inline: auto; padding-inline: var(--page-margin); }
.section { position: relative; padding-block: clamp(88px, 9vw, 154px); }
.section-paper { background: var(--ivory); color: var(--ink); }
.section-dark { background: var(--dark-soft); color: var(--ivory); }
.skip-link { position: fixed; top: 7px; left: 12px; transform: translateY(-150%); z-index: 1000; padding: 12px 18px; color: var(--dark); background: var(--gold); border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }
.reading-progress { position: fixed; z-index: 120; left: 0; top: 0; right: 0; height: 3px; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .05s linear; }

/* Navigation */
.site-header { position: fixed; z-index: 110; top: 21px; left: var(--page-margin); right: var(--page-margin); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1320px; margin-inline: auto; min-height: 77px; padding: 10px 16px 10px 18px; background: rgba(16, 23, 24, .84); border: 1px solid rgba(241, 218, 174, .16); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.16); }
.brand { display: flex; align-items: center; flex-shrink: 0; gap: 11px; }
.brand-crest { width: 43px; height: 43px; display: grid; place-items: center; padding: 8px; border: 1px solid rgba(229,185,105,.50); color: var(--gold); border-radius: 11px; }
.brand-text { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.brand-text strong { font-size: 22px; letter-spacing: -.07em; font-weight: 800; }
.brand-dot { color: var(--gold); }
.brand-text small { font-size: 8px; color: #abaca5; font-weight: 700; letter-spacing: .14em; }
.primary-nav { display: flex; align-items: center; gap: clamp(17px, 2.2vw, 34px); }
.primary-nav a { color: #d4d9d4; font-size: 12px; font-weight: 700; transition: color .2s; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--gold-light); }
.mobile-faculty-link { display: none; }
.nav-join { display: flex; align-items: center; justify-content: center; gap: 16px; white-space: nowrap; color: var(--dark); background: var(--gold); border-radius: 10px; min-height: 43px; padding: 0 14px; font-size: 10px; letter-spacing: .08em; font-weight: 800; transition: transform .2s, background .2s; }
.nav-join:hover { background: var(--gold-light); transform: translateY(-2px); }
.nav-join span:last-child { font-size: 18px; }
.menu-toggle { display: none; width: 43px; height: 43px; border: 1px solid rgba(229,185,105,.45); border-radius: 9px; background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--gold); transition: transform .2s, opacity .2s; }

/* Hero */
.hero { isolation: isolate; min-height: 900px; display: flex; flex-direction: column; justify-content: center; padding-top: 155px; background: radial-gradient(ellipse at 85% 30%, rgba(119,81,38,.21), transparent 36%), linear-gradient(135deg,#0b1314 0%,#10191a 58%,#0b1011 100%); overflow: hidden; }
.hero-grid { position: absolute; inset: 0; z-index: -2; opacity: .27; background-image: linear-gradient(rgba(236,208,153,.09) 1px, transparent 1px),linear-gradient(90deg, rgba(236,208,153,.09) 1px, transparent 1px); background-size: 79px 79px; mask-image: linear-gradient(90deg, transparent 15%, black 60%, transparent 100%); }
.hero-glow { position: absolute; z-index: -1; right: 0; top: 7%; height: 700px; width: min(700px, 100vw); background: radial-gradient(circle, rgba(215,161,80,.17), transparent 61%); filter: blur(20px); pointer-events: none; }
.hero-layout { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,1fr); align-items: center; gap: clamp(36px,4vw,90px); flex: 1; width: 100%; }
.hero-copy { padding-block: 40px 30px; position: relative; z-index: 2; }
.eyebrow,.section-index,.section-topline,.micro-stamp { font-size: 10px; letter-spacing: .18em; font-weight: 800; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 11px; padding: 11px 14px; border: 1px solid rgba(233,186,103,.35); border-radius: 8px; color: var(--gold-light); font-size: 10px; line-height: 1.5; }
.status-pin { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(229,185,105,.13); flex-shrink: 0; }
.hero-intro { color: #aab0ac; margin: 41px 0 13px; font-size: 12px; font-weight: 800; letter-spacing: .26em; }
.hero h1 { font-family: var(--sans); font-size: clamp(62px,6vw,94px); line-height: .95; font-weight: 800; letter-spacing: -.09em; margin: 0; }
.hero-italic { font-family: var(--serif); color: var(--gold-light); font-weight: 600; font-size: 1.12em; font-style: italic; letter-spacing: -.072em; text-transform: lowercase; }
.hero-outline { color: transparent; -webkit-text-stroke: 1px rgba(245,234,215,.80); text-stroke: 1px rgba(245,234,215,.80); font-size: .81em; letter-spacing: -.07em; }
.hero-summary { color: #aeb9b4; max-width: 510px; margin: 31px 0 29px; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 27px; border: 1px solid transparent; border-radius: 11px; min-height: 52px; padding: 0 20px; font-size: 12px; font-weight: 800; line-height: 1.2; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-3px); }
.btn span:last-child { font-size: 20px; font-weight: 500; }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-light); }
.btn-quiet { border-color: rgba(224,223,207,.25); color: #f2ecde; background: rgba(255,255,255,.02); }
.btn-quiet:hover { border-color: var(--gold); background: rgba(255,255,255,.06); }
.hero-signoff { display: flex; align-items: center; gap: 17px; margin-top: 42px; font-size: 9px; color: #9fa69f; letter-spacing: .15em; font-weight: 700; }
.mini-rule { height: 1px; width: 30px; background: var(--gold); }
.bullet { color: var(--gold); }
.hero-art { position: relative; min-width: 0; display: grid; place-items: center; padding-block: 37px; }
.hero-halo { position: absolute; width: 110%; aspect-ratio: 1; max-width: 740px; border: 1px solid rgba(244,204,132,.12); border-radius: 50%; box-shadow: 0 0 0 31px rgba(229,185,105,.015),0 0 0 83px rgba(229,185,105,.008); }
.hero-halo::before, .hero-halo::after { position: absolute; content: '✳'; font-size: 24px; color: var(--gold); }
.hero-halo::before { top: 9%; right: 10%; }
.hero-halo::after { bottom: 13%; left: 4%; font-size: 14px; }
.professor-medallion { position: relative; z-index: 1; width: min(100%,595px); aspect-ratio: 1; transform: rotate(-2deg); transition: transform .35s ease; filter: drop-shadow(0 32px 55px rgba(0,0,0,.30)); }
.professor-medallion:hover { transform: rotate(0deg) scale(1.018); }
.professor-medallion img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.art-sticker { position: absolute; z-index: 2; font-weight: 800; text-align: center; line-height: 1.12; box-shadow: 0 15px 36px rgba(0,0,0,.20); }
.sticker-top { top: 5%; right: -2%; width: 104px; height: 104px; border-radius: 50%; color: var(--dark); background: var(--gold); font-family: var(--serif); font-size: 25px; display: flex; align-items: center; justify-content: center; flex-direction: column; transform: rotate(12deg); border: 5px double #8e6731; }
.sticker-top small { font-family: var(--sans); font-size: 9px; margin-top: 6px; letter-spacing: .06em; }
.sticker-bottom { bottom: 6%; left: -5%; padding: 15px 20px 15px 45px; border: 1px solid var(--gold); transform: rotate(-8deg); background: var(--dark); color: var(--gold-light); border-radius: 8px; font-size: 10px; letter-spacing: .08em; }
.sticker-bottom span { position: absolute; top: 22px; left: 15px; font-size: 20px; color: var(--gold); }
.hero-footer { padding-top: 20px; padding-bottom: 36px; width: 100%; }
.hero-divider { height: 1px; background: linear-gradient(90deg,rgba(229,185,105,.4),rgba(229,185,105,.15)); }
.hero-credentials { display: flex; align-items: center; gap: clamp(20px,5vw,75px); padding-top: 20px; }
.hero-credentials>span:not(:last-child) { display: flex; flex-direction: column; gap: 8px; }
.hero-credentials small { font-size: 9px; color: #7f8a85; letter-spacing: .16em; font-weight: 800; }
.hero-credentials strong { font-size: 11px; color: #eae6da; letter-spacing: .11em; }
.credential-end { margin-left: auto; color: #727f77; font-size: 9px; letter-spacing: .09em; }

/* Tape strip */
.ticker { height: 58px; overflow: hidden; display: flex; align-items: center; background: var(--gold); color: var(--ink); border-block: 1px solid rgba(0,0,0,.1); }
.ticker-track { display: flex; align-items: center; white-space: nowrap; width: max-content; min-width: 200%; animation: ticker-move 34s linear infinite; }
.ticker-track span { padding-inline: 29px; font-weight: 800; font-size: 12px; letter-spacing: .095em; }
.ticker-track .ticker-star { padding-inline: 10px; font-size: 23px; color: #875d25; }
@keyframes ticker-move { to { transform: translateX(-50%); } }

/* Portrait / story */
.professor-section { overflow: hidden; }
.professor-section::after { position: absolute; content: ''; width: 580px; height: 580px; right: -270px; bottom: -250px; border: 1px solid rgba(17,40,36,.1); border-radius: 50%; pointer-events: none; }
.professor-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(55px,8vw,130px); }
.professor-image-frame { background: #172022; padding: 13px; border-radius: 13px; transform: rotate(-1deg); box-shadow: 17px 26px 0 rgba(22,33,32,.07); }
.frame-topline,.frame-caption { display: flex; justify-content: space-between; gap: 15px; align-items: center; font-size: 9px; font-weight: 800; letter-spacing: .1em; color: #c4af8a; padding: 9px 4px 16px; }
.professor-image-frame>img { display: block; width: 100%; border-radius: 4px; }
.frame-caption { justify-content: flex-start; padding: 16px 4px 6px; font-size: 8px; }
.frame-caption span { color: var(--gold); }
.professor-story .section-index { color: #8b6938; }
.professor-story h2,.economics-heading-row h2,.research-top h2,.faculty-copy h2,.token-copy h2 { font-family: var(--sans); letter-spacing: -.078em; font-weight: 800; line-height: .98; font-size: clamp(50px,5.4vw,85px); margin: 26px 0 30px; }
.word-circle { position: relative; display: inline-block; }
.word-circle::after { content: ''; position: absolute; inset: -9% -5% -6%; border: 3px solid rgba(139,49,56,.65); transform: rotate(-7deg); border-radius: 50%; pointer-events: none; }
.serif-lead { font-family: var(--serif); font-size: clamp(26px,2.8vw,39px); line-height: 1.3; letter-spacing: -.045em; margin: 30px 0; }
.serif-lead em { color: var(--burgundy); font-weight: 600; }
.professor-story>p:not(.serif-lead) { max-width: 500px; font-size: 15px; line-height: 1.9; color: #515c55; }
.signature-block { display: flex; flex-direction: column; gap: 8px; margin-top: 36px; }
.signature-script { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--burgundy); }
.signature-block span:last-child { color: #748079; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.fact-strip { display: flex; align-items: baseline; flex-wrap: wrap; gap: 11px 16px; border-top: 1px solid var(--border-paper); margin-top: 35px; padding-top: 22px; }
.fact-strip span { color: #7c8479; font-size: 9px; letter-spacing: .12em; font-weight: 800; }
.fact-strip strong { color: #243c36; font-size: 10px; letter-spacing: .09em; margin-right: 8px; }

/* Doofnomics */
.economics-section { background: radial-gradient(ellipse at 75% 55%,rgba(97,89,46,.14),transparent 55%),#121d1d; overflow: hidden; }
.section-topline { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.economics-section .section-index { color: var(--gold); }
.micro-stamp { color: #8d9991; font-size: 9px; }
.economics-heading-row { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,.6fr); align-items: end; gap: 55px; margin-bottom: 52px; }
.economics-heading-row h2 { margin-bottom: 0; font-size: clamp(52px,6.5vw,104px); }
.economics-heading-row h2 em { font-family: var(--serif); font-weight: 600; font-style: italic; color: var(--gold); letter-spacing: -.09em; }
.economics-heading-row>p { max-width: 360px; color: #a8b0aa; font-size: 15px; line-height: 1.9; margin: 0 0 8px; }
.lab-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 24px; }
.chart-terminal { min-width: 0; background: #0c1516; border: 1px solid rgba(245,217,163,.22); border-radius: 14px; box-shadow: 0 26px 50px rgba(0,0,0,.17); }
.terminal-topbar { min-height: 55px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 15px 24px; border-bottom: 1px solid rgba(245,217,163,.15); color: #e8dcc1; font-size: 10px; letter-spacing: .12em; font-weight: 800; }
.terminal-topbar>span:first-child { display: flex; align-items: center; gap: 9px; }
.terminal-dot { display: inline-block; border-radius: 50%; height: 8px; width: 8px; background: #e69f7a; box-shadow: 0 0 0 4px rgba(230,159,122,.12); }
.terminal-note { font-weight: 600; opacity: .5; }
.terminal-right { color: #788d87; }
.terminal-right i { color: var(--gold); font-size: 7px; margin-left: 7px; }
.terminal-chart-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding: 28px 30px 5px; }
.terminal-chart-head small { font-size: 10px; font-weight: 800; letter-spacing: .15em; color: #879c94; }
.terminal-chart-head h3 { margin: 9px 0 0; font-size: clamp(18px,2vw,25px); letter-spacing: -.04em; }
.chart-unverified { color: #8a8e7f; font-size: 8px; font-weight: 800; letter-spacing: .07em; max-width: 94px; text-align: right; line-height: 1.5; }
.chart-wrap { margin: 10px 27px 7px; position: relative; padding-left: 25px; }
.chart-y-labels { position: absolute; top: 4%; bottom: 11%; left: 0; display: flex; flex-direction: column; justify-content: space-between; font-size: 8px; color: #6c7c79; font-family: monospace; }
#chart-svg { width: 100%; height: auto; overflow: visible; }
.chart-signal { transition: transform .75s cubic-bezier(.22,1,.36,1); transform-origin: center; transform-box: fill-box; }
.chart-signal .chart-path { fill: none; stroke: #e88775; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .45s; }
.chart-signal .chart-fill { fill: url(#chart-fill); opacity: .6; transition: opacity .4s; }
.chart-last { fill: #f7b4a6; stroke: #192523; stroke-width: 3; transition: fill .4s; }
.chart-terminal.fixed .chart-signal { transform: scaleY(-1); }
.chart-terminal.fixed .chart-path { stroke: var(--gold); }
.chart-terminal.fixed .chart-last { fill: var(--gold-light); }
.chart-terminal.fixed .chart-fill { opacity: 0; }
.chart-x-labels { display: flex; justify-content: space-between; gap: 10px; padding: 0 5px 6px; font-size: 8px; letter-spacing: .07em; color: #70807c; font-weight: 700; }
.terminal-foot { display: flex; align-items: center; gap: 16px; justify-content: space-between; border-top: 1px solid rgba(245,217,163,.13); margin-top: 18px; padding: 20px 23px; }
.terminal-foot p { max-width: 320px; margin: 0; color: #96a7a2; font-size: 11px; line-height: 1.55; }
.terminal-foot strong { color: #eae9dc; }
.btn-small { flex-shrink: 0; min-height: 43px; gap: 14px; font-size: 10px; padding: 0 15px; }
.laws { display: grid; grid-template-rows: auto repeat(3,1fr) auto; gap: 10px; }
.laws-heading { display: flex; justify-content: space-between; gap: 8px; color: var(--gold); font-weight: 800; font-size: 9px; letter-spacing: .10em; padding: 5px 4px 11px; }
.laws-heading span:last-child { color: #728078; font-size: 8px; }
.law-card { position: relative; display: grid; grid-template-columns: 1fr auto; align-content: center; border: 1px solid rgba(231,219,181,.17); padding: 21px 23px; border-radius: 10px; background: rgba(255,255,255,.025); transition: background .2s, transform .2s; }
.law-card:hover { background: rgba(255,255,255,.055); transform: translateX(3px); }
.law-card>span:first-child { grid-column: 1/-1; color: var(--gold); font-size: 9px; letter-spacing: .14em; font-weight: 800; }
.law-card p { margin: 9px 0 0; max-width: 340px; color: #e4e2d9; font-family: var(--serif); line-height: 1.38; font-size: clamp(17px,1.55vw,21px); letter-spacing: -.03em; }
.law-asterisk { grid-row: 2; grid-column: 2; font-family: var(--serif); font-size: 44px; color: #63726a; padding: 0 0 0 7px; }
.laws-foot { align-self: center; color: #728077; font-size: 8px; line-height: 1.5; letter-spacing: .08em; }

/* Research */
.research-section { background: #f4eee2; background-image: radial-gradient(rgba(81,69,43,.038) 1px,transparent 1px); background-size: 12px 12px; }
.research-section .section-index { color: #805d33; }
.micro-stamp-dark { color: #847f72; }
.research-top { display: grid; grid-template-columns: 1fr 280px; align-items: end; gap: 20px; margin-bottom: 49px; }
.research-top h2 { font-size: clamp(57px,6.4vw,98px); margin: 32px 0 0; }
.research-top h2 em { color: var(--burgundy); font-family: var(--serif); letter-spacing: -.09em; font-weight: 600; }
.research-top>p { color: #626a62; font-size: 14px; line-height: 1.8; margin: 0 0 4px; }
.research-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 22px; }
.thesis-machine { position: relative; display: flex; flex-direction: column; min-height: 400px; padding: clamp(22px,3vw,44px); border: 1px solid rgba(54,49,42,.16); background: #fffaf0; box-shadow: 10px 15px 0 rgba(70,54,37,.08); overflow: hidden; }
.paper-staple { position: absolute; width: 58px; height: 12px; top: 25px; right: -14px; background: var(--gold); transform: rotate(35deg); opacity: .7; }
.thesis-head { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #b3b3a4; padding-bottom: 15px; color: #757970; font-size: 9px; letter-spacing: .1em; font-weight: 800; }
.thesis-type { font-size: 11px; font-weight: 800; letter-spacing: .19em; color: var(--burgundy); margin-top: 32px; }
.thesis-machine blockquote { max-width: 540px; min-height: 120px; font-family: var(--serif); font-weight: 600; font-size: clamp(27px,2.8vw,42px); line-height: 1.24; letter-spacing: -.045em; margin: 20px 0 25px; color: #1f2a24; }
.thesis-signature { font-size: 12px; color: #6e7068; margin-top: auto; }
.thesis-signature span { color: var(--burgundy); margin-left: 8px; }
.thesis-seal { position: absolute; display: grid; place-items: center; align-content: center; width: 106px; height: 106px; right: 22px; bottom: 24px; color: #8d3437; border: 3px double #aa5054; border-radius: 50%; transform: rotate(-17deg); opacity: .85; }
.thesis-seal::before { content: ''; position: absolute; inset: 6px; border: 1px solid #aa5054; border-radius: 50%; }
.thesis-seal span { font-size: 8px; font-weight: 800; letter-spacing: .03em; }
.thesis-seal strong { font-size: 27px; line-height: 1.15; }
.research-controls { border: 1px solid var(--border-paper); border-radius: 6px; display: flex; flex-direction: column; align-items: flex-start; background: #ebe3d4; padding: clamp(26px,3.4vw,48px); }
.research-controls-icon { font-size: 35px; color: var(--burgundy); line-height: 1; margin-bottom: 16px; }
.research-controls h3 { font-size: clamp(29px,3vw,43px); line-height: 1; margin: 0 0 15px; font-weight: 800; letter-spacing: -.065em; }
.research-controls h3 span { color: var(--burgundy); }
.research-controls>p:not(.copy-feedback) { max-width: 340px; font-size: 14px; line-height: 1.8; color: #647069; margin: 0 0 27px; }
.btn-dark { min-height: 51px; background: var(--ink); color: var(--ivory); font-size: 10px; letter-spacing: .035em; }
.btn-dark:hover { background: #34453d; }
.text-button { margin-top: 21px; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; color: #566158; background: transparent; font-weight: 800; font-size: 10px; letter-spacing: .06em; }
.text-button:hover { color: var(--burgundy); }
.copy-symbol { font-size: 20px; }
.copy-feedback { height: 17px; margin: 8px 0 12px; color: var(--burgundy); font-size: 11px; }
.research-controls-bottom { display: grid; width: 100%; grid-template-columns: auto 1fr; gap: 7px 16px; align-items: baseline; margin-top: auto; border-top: 1px solid rgba(50,64,57,.17); padding-top: 22px; }
.research-controls-bottom span { color: #899086; font-size: 9px; letter-spacing: .12em; font-weight: 700; }
.research-controls-bottom strong { color: #343d36; font-size: 10px; letter-spacing: .07em; }
.mini-research-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 45px; }
.mini-paper { position: relative; min-height: 190px; padding: 23px; border-top: 2px solid #4b584e; background: rgba(255,255,255,.43); }
.mini-paper>span:first-child { display: block; color: var(--burgundy); font-size: 9px; letter-spacing: .12em; font-weight: 800; margin-bottom: 19px; }
.mini-paper strong { font-size: clamp(17px,1.6vw,22px); line-height: 1.05; letter-spacing: -.04em; }
.mini-paper p { font-size: 12px; line-height: 1.5; max-width: 260px; color: #69746b; margin-bottom: 0; }
.paper-arrow { position: absolute; bottom: 15px; right: 19px; font-size: 23px; color: #9e8d77; }
.small-disclaimer { color: #8e8e84; font-size: 10px; line-height: 1.5; margin: 25px 0 0; }

/* Faculty */
.faculty-section { background: radial-gradient(ellipse at 25% 15%,rgba(194,142,63,.11), transparent 42%),linear-gradient(138deg,#20312c 0%,#162724 68%,#101c1d 100%); color: var(--ivory); overflow: hidden; }
.faculty-section::before { position: absolute; content: ''; width: 500px; height: 500px; border: 1px solid rgba(233,199,118,.15); border-radius: 50%; top: -230px; left: -230px; }
.faculty-layout { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); align-items: center; gap: clamp(36px,6vw,100px); }
.index-gold { color: var(--gold); }
.faculty-copy h2 { font-size: clamp(62px,6vw,97px); }
.faculty-copy h2 em { color: var(--gold); font-family: var(--serif); font-weight: 600; }
.faculty-copy>p { max-width: 480px; font-family: var(--serif); font-weight: 500; font-size: clamp(22px,2.3vw,32px); line-height: 1.3; letter-spacing: -.04em; }
.faculty-copy>p.faculty-small { max-width: 430px; font-family: var(--sans); font-size: 14px; line-height: 1.8; letter-spacing: normal; color: #a8b9b0; margin-top: 22px; }
.certificate-form { margin-top: 36px; }
.certificate-form label { display: block; margin-bottom: 13px; font-weight: 800; font-size: 10px; letter-spacing: .15em; color: var(--gold); }
.certificate-entry { display: flex; align-items: stretch; max-width: 520px; gap: 8px; }
.certificate-entry input { width: 100%; min-width: 0; color: #faf4e9; padding: 17px 14px; font-size: 12px; background: rgba(0,0,0,.17); border: 1px solid rgba(245,217,163,.35); border-radius: 7px; }
.certificate-entry input::placeholder { color: #85988d; }
.certificate-entry button { min-width: 172px; border: none; background: var(--gold); color: var(--dark); font-size: 9px; font-weight: 800; letter-spacing: .04em; border-radius: 7px; padding: 0 12px; transition: background .2s; }
.certificate-entry button:hover { background: var(--gold-light); }
.certificate-entry button span { font-size: 18px; margin-left: 5px; }
.form-feedback { color: #95a89b; font-size: 11px; line-height: 1.5; min-height: 17px; margin: 12px 0 0; }
.btn-outline-light { margin-top: 15px; color: var(--gold); border: 1px solid var(--gold); background: transparent; min-height: 46px; font-size: 10px; }
.btn-outline-light:hover { color: var(--dark); background: var(--gold); }
.btn[hidden], a[hidden], div[hidden] { display: none !important; }
.faculty-socials { display: flex; flex-direction: column; max-width: 520px; gap: 9px; margin-top: 39px; }
.social-link { display: flex; align-items: center; gap: 12px; min-height: 51px; padding: 10px 16px; font-size: 10px; font-weight: 800; letter-spacing: .06em; border: 1px solid rgba(235,205,146,.21); background: rgba(255,255,255,.025); border-radius: 8px; transition: border-color .2s, transform .2s; }
a.social-link:hover { border-color: var(--gold); transform: translateX(4px); }
.social-link>span:last-child:not(.social-glyph) { margin-left: auto; font-size: 15px; }
.social-glyph { font-size: 20px; color: var(--gold); width: 26px; line-height: 1; }
.social-pending { color: #8a9a8e; }
.social-pending small { font-size: 8px; margin-left: auto; white-space: nowrap; }
.diploma-side { min-width: 0; transform: rotate(1deg); }
.diploma-label,.diploma-bottom { display: flex; justify-content: space-between; gap: 16px; color: #abc1af; font-size: 9px; letter-spacing: .09em; font-weight: 800; margin-bottom: 17px; }
.diploma { padding: 14px; background: #d8c39e; color: #252d26; box-shadow: 16px 22px 0 rgba(0,0,0,.14), 0 20px 50px rgba(0,0,0,.14); aspect-ratio: 1.22/1; }
.diploma-inner { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; padding: clamp(15px,2.2vw,30px); border: 3px double #5b573f; outline: 1px solid rgba(91,87,63,.7); outline-offset: -11px; background: radial-gradient(ellipse,#f7efda,#ecddbc); }
.diploma-top { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 14px; font-family: var(--serif); font-size: clamp(11px,1.2vw,17px); line-height: 1.2; font-weight: 700; }
.diploma-star { font-size: 25px; color: #a17e3f; }
.diploma-center { display: flex; align-items: center; flex-direction: column; }
.diploma-center>span { color: #7b705c; letter-spacing: .13em; font-size: clamp(7px,.65vw,10px); font-weight: 800; }
.diploma-center>strong { font-family: var(--serif); font-weight: 700; font-size: clamp(18px,1.85vw,29px); line-height: 1.12; overflow-wrap: anywhere; margin: 11px 0; }
.diploma-center h3 { font-size: clamp(41px,5vw,77px); line-height: .9; font-weight: 800; letter-spacing: -.075em; margin: 9px 0 12px; color: #883a37; }
.diploma-center p { margin: 0; max-width: 300px; color: #65594b; font-size: clamp(7px,.65vw,10px); letter-spacing: .05em; font-weight: 700; line-height: 1.5; }
.diploma-footer { display: flex; width: 100%; justify-content: space-between; align-items: end; gap: 7px; }
.diploma-footer>span:not(.diploma-stamp) { font-family: var(--serif); font-style: italic; font-size: clamp(13px,1.2vw,18px); border-top: 1px solid #716951; padding-top: 5px; min-width: 100px; }
.diploma-footer small { display: block; font-family: var(--sans); font-size: 6px; letter-spacing: .05em; font-style: normal; margin-top: 4px; }
.diploma-stamp { display: flex; justify-content: center; align-items: center; gap: 2px; flex-shrink: 0; width: clamp(43px,5vw,73px); height: clamp(43px,5vw,73px); transform: rotate(-13deg); border: 3px double var(--burgundy); border-radius: 50%; color: var(--burgundy); font-size: 20px; font-weight: 800; }
.diploma-stamp span { font-size: 14px; }
.diploma-bottom { margin: 19px 0 0; }

/* Token file */
.token-section { background: #eae1cf; color: var(--ink); padding-block: clamp(70px,7vw,112px); }
.token-layout { display: grid; grid-template-columns: 190px minmax(0,1fr) 210px; gap: 45px; align-items: center; }
.token-seal { width: 160px; height: 160px; border: 6px double var(--burgundy); color: var(--burgundy); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; transform: rotate(-13deg); opacity: .83; }
.token-seal span { font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.token-seal strong { font-size: 22px; font-weight: 900; letter-spacing: -.05em; }
.token-copy .section-index { color: #826b46; }
.token-copy h2 { margin: 13px 0 18px; font-size: clamp(43px,4vw,64px); }
.token-copy h2 em { color: var(--burgundy); font-family: var(--serif); font-weight: 600; }
.token-copy p { margin: 0 0 10px; max-width: 570px; color: #4c5b51; line-height: 1.7; font-size: 14px; }
.token-copy .token-description { font-size: 12px; color: #778078; }
.inline-link { display: inline-flex; align-items: center; gap: 16px; margin-top: 19px; border-bottom: 1px solid #334039; padding-bottom: 10px; font-size: 10px; font-weight: 900; letter-spacing: .05em; }
.inline-link:hover { color: var(--burgundy); }
.token-case-status { display: flex; flex-direction: column; gap: 14px; padding: 21px; border: 1px solid rgba(47,62,53,.24); color: var(--ink); transform: rotate(2deg); }
.token-case-status span { font-size: 9px; color: #8c8172; font-weight: 800; letter-spacing: .12em; line-height: 1.6; }
.token-case-status strong { font-size: 18px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.token-live-details { margin-block: 20px; display: grid; grid-template-columns: 90px 1fr; gap: 10px; font-size: 12px; }
.token-live-details dt { font-weight: 800; color: #8b6c3e; }
.token-live-details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.token-live-details a { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.site-footer { background: #0b1112; color: var(--ivory); }
.footer-top { padding-block: clamp(80px,10vw,150px); display: flex; align-items: center; flex-direction: column; text-align: center; background: radial-gradient(ellipse at 50% 50%,rgba(236,182,99,.075),transparent 48%); }
.footer-insignia { color: var(--gold); font-size: 39px; }
.footer-top p { margin: 18px 0 15px; color: #a8b6ad; font-weight: 800; letter-spacing: .2em; font-size: 11px; }
.footer-top h2 { font-size: clamp(63px,9vw,130px); font-weight: 800; letter-spacing: -.09em; line-height: 1.05; margin: 0 0 30px; }
.footer-top h2 em { font-family: var(--serif); color: var(--gold); font-weight: 600; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto; gap: 38px; padding-block: 36px 45px; border-top: 1px solid var(--border-dark); }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand strong { font-size: 32px; letter-spacing: -.08em; }
.footer-brand strong span { color: var(--gold); }
.footer-brand small { color: #7b8880; font-size: 9px; letter-spacing: .13em; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; gap: 24px; }
.footer-links a { font-size: 10px; color: #b7c0b9; font-weight: 800; letter-spacing: .05em; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { grid-column: 1/-1; font-size: 9px; line-height: 1.9; letter-spacing: .08em; color: #87928b; }
.footer-legal span { color: #66756e; }
.toast { position: fixed; z-index: 130; left: 50%; bottom: 28px; transform: translate(-50%, 120px); padding: 15px 22px; border: 1px solid rgba(229,185,105,.55); background: #15211e; color: var(--gold-light); border-radius: 10px; box-shadow: 0 14px 40px rgba(0,0,0,.24); font-size: 12px; font-weight: 800; opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s; }
.toast.active { opacity: 1; transform: translate(-50%, 0); }

/* Scroll reveals */
.js-enhanced .reveal { opacity: 0; translate: 0 22px; transition: opacity .65s ease, translate .65s cubic-bezier(.2, .8,.2,1); }
.js-enhanced .reveal.is-visible { opacity: 1; translate: 0 0; }

/* Responsive */
@media (max-width: 1190px) {
  .primary-nav { gap: 16px; }
  .primary-nav a { font-size: 11px; }
  .nav-join { font-size: 9px; padding-inline: 12px; gap: 8px; }
  .hero h1 { font-size: clamp(57px,6vw,75px); }
  .hero-art { padding-block: 45px; }
  .sticker-top { right: -2%; }
  .diploma-center h3 { font-size: clamp(34px,5vw,60px); }
}
@media (max-width: 1020px) {
  .primary-nav { position: absolute; display: none; top: calc(100% + 8px); left: 0; right: 0; border-radius: 15px; padding: 14px; background: rgba(13,21,22,.98); border: 1px solid rgba(229,185,105,.25); box-shadow: 0 22px 40px rgba(0,0,0,.3); }
  .primary-nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a { font-size: 15px; padding: 15px 12px; border-bottom: 1px solid rgba(229,185,105,.1); }
  .primary-nav a:last-child { border-bottom: 0; }
  .mobile-faculty-link { display: block; }
  .menu-toggle { display: flex; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .nav-join { margin-left: auto; }
  .hero { min-height: auto; padding-top: 140px; }
  .hero-layout { grid-template-columns: 1.1fr .9fr; gap: 15px; }
  .hero h1 { font-size: clamp(52px,6vw,74px); }
  .sticker-bottom { left: 0; }
  .hero-credentials { gap: 24px; }
  .credential-end { display: none; }
  .professor-layout { gap: 43px; }
  .professor-story h2 { font-size: clamp(45px,5.5vw,65px); }
  .economics-heading-row { gap: 25px; }
  .lab-layout { grid-template-columns: minmax(0,1fr); }
  .laws { grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: auto 1fr auto; gap: 12px; }
  .laws-heading,.laws-foot { grid-column: 1/-1; }
  .law-card { min-height: 190px; }
  .law-card p { font-size: 18px; }
  .faculty-layout { grid-template-columns: 1fr; gap: 65px; }
  .faculty-copy h2 { font-size: 85px; }
  .faculty-copy>p { max-width: 580px; }
  .faculty-socials, .certificate-entry { max-width: 620px; }
  .diploma-side { width: min(100%,720px); margin-inline: auto; }
  .diploma-center h3 { font-size: clamp(48px,8vw,88px); }
  .diploma-top { font-size: 18px; }
  .diploma-footer>span:not(.diploma-stamp) { font-size: 17px; }
  .token-layout { grid-template-columns: 135px 1fr; gap: 30px; }
  .token-seal { width: 130px; height: 130px; }
  .token-seal strong { font-size: 18px; }
  .token-case-status { grid-column: 2; max-width: 480px; }
}
@media (max-width: 750px) {
  :root { --page-margin: 22px; }
  .site-header { top: 12px; }
  .nav-shell { min-height: 63px; padding: 8px 10px 8px 12px; border-radius: 13px; }
  .brand-crest { width: 38px; height: 38px; padding: 8px; }
  .brand-text strong { font-size: 20px; }
  .brand-text small { font-size: 7px; }
  .nav-join { display: none; }
  .hero { padding-top: 119px; }
  .hero-layout { grid-template-columns: 1fr; gap: 10px; }
  .hero-copy { padding-top: 38px; }
  .hero h1 { font-size: clamp(58px,12vw,93px); }
  .hero-summary { max-width: 630px; }
  .hero-art { margin: 0 auto; width: min(100%,600px); padding: 14px 20px 34px; }
  .hero-halo { width: 100%; }
  .sticker-top { right: 4%; top: 3%; }
  .sticker-bottom { bottom: 5%; left: 5%; }
  .hero-credentials { justify-content: space-between; gap: 12px; }
  .hero-credentials strong { font-size: 10px; }
  .ticker { height: 51px; }
  .ticker-track span { font-size: 11px; }
  .professor-layout { grid-template-columns: 1fr; gap: 55px; }
  .professor-image-frame { width: min(100%,540px); margin-inline: auto; }
  .professor-story h2 { font-size: clamp(51px,9vw,82px); }
  .economics-heading-row { grid-template-columns: 1fr; gap: 23px; }
  .economics-heading-row h2 { font-size: clamp(55px,9vw,85px); }
  .economics-heading-row>p { max-width: 570px; }
  .laws { grid-template-columns: 1fr; grid-template-rows: auto repeat(3,auto) auto; }
  .law-card { min-height: 126px; }
  .laws-heading span:last-child { display: none; }
  .research-top { grid-template-columns: 1fr; gap: 20px; }
  .research-top h2 { font-size: clamp(55px,9vw,90px); }
  .research-layout { grid-template-columns: 1fr; gap: 29px; }
  .research-controls { min-height: 330px; }
  .mini-research-grid { grid-template-columns: 1fr; gap: 12px; }
  .mini-paper { min-height: 150px; }
  .mini-paper strong { font-size: 21px; }
  .faculty-copy h2 { font-size: clamp(60px,11vw,88px); }
  .token-layout { grid-template-columns: 1fr; }
  .token-seal { display: none; }
  .token-case-status { grid-column: auto; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; gap: 15px 21px; }
  .footer-legal { grid-column: auto; }
}
@media (max-width: 480px) {
  :root { --page-margin: 19px; }
  .section { padding-block: 79px; }
  .hero-eyebrow { font-size: 8px; letter-spacing: .1em; padding: 9px 11px; }
  .hero-intro { font-size: 10px; margin-top: 30px; }
  .hero h1 { font-size: clamp(52px,11.8vw,66px); letter-spacing: -.085em; }
  .hero-summary { font-size: 14px; margin: 22px 0; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { flex: 1 1 220px; justify-content: space-between; }
  .hero-signoff { font-size: 8px; gap: 10px; margin-top: 28px; }
  .sticker-top { width: 73px; height: 73px; font-size: 18px; border-width: 3px; }
  .sticker-top small { font-size: 6px; margin-top: 4px; }
  .sticker-bottom { font-size: 7px; padding: 12px 12px 12px 28px; bottom: 0; }
  .sticker-bottom span { left: 8px; top: 15px; font-size: 13px; }
  .hero-footer { padding-top: 6px; padding-bottom: 25px; }
  .hero-credentials { flex-wrap: wrap; }
  .hero-credentials small { font-size: 8px; }
  .hero-credentials strong { font-size: 9px; }
  .frame-topline { font-size: 7px; }
  .frame-caption { font-size: 7px; }
  .professor-story h2 { font-size: 48px; }
  .word-circle::after { border-width: 2px; }
  .serif-lead { font-size: 29px; }
  .micro-stamp { display: none; }
  .economics-heading-row h2 { font-size: clamp(45px,10.2vw,59px); }
  .terminal-topbar { font-size: 8px; padding: 14px; }
  .terminal-note { display: none; }
  .terminal-chart-head { padding: 20px 15px 4px; }
  .terminal-chart-head h3 { font-size: 18px; }
  .chart-wrap { margin-inline: 13px; }
  .chart-unverified { font-size: 7px; }
  .terminal-foot { align-items: stretch; flex-direction: column; padding: 16px; }
  .terminal-foot p { max-width: none; }
  .terminal-foot .btn { justify-content: space-between; }
  .research-top h2 { font-size: clamp(45px,10.5vw,63px); }
  .thesis-machine { padding: 23px; min-height: 350px; }
  .thesis-head { font-size: 7px; }
  .thesis-machine blockquote { font-size: clamp(26px,6.5vw,34px); }
  .thesis-seal { right: 10px; bottom: 12px; width: 76px; height: 76px; border-width: 2px; }
  .thesis-seal span { font-size: 6px; }
  .thesis-seal strong { font-size: 19px; }
  .thesis-signature { font-size: 10px; padding-right: 78px; }
  .certificate-entry { flex-direction: column; }
  .certificate-entry button { min-height: 47px; }
  .faculty-copy h2 { font-size: clamp(52px,12vw,67px); }
  .faculty-copy>p { font-size: 25px; }
  .social-link { font-size: 9px; }
  .social-pending small { font-size: 7px; }
  .diploma { padding: 9px; aspect-ratio: 1.08/1; }
  .diploma-inner { padding: 10px; outline-offset: -7px; }
  .diploma-top { font-size: 9px; }
  .diploma-star { font-size: 15px; }
  .diploma-center>span { font-size: 6px; }
  .diploma-center>strong { font-size: 17px; margin: 6px 0; }
  .diploma-center h3 { font-size: clamp(35px,10vw,50px); margin: 7px 0; }
  .diploma-center p { font-size: 6px; max-width: 230px; }
  .diploma-footer>span:not(.diploma-stamp) { min-width: 70px; font-size: 9px; }
  .diploma-footer small { font-size: 5px; }
  .diploma-stamp { font-size: 12px; width: 38px; height: 38px; }
  .diploma-stamp span { font-size: 8px; }
  .diploma-label, .diploma-bottom { font-size: 7px; }
  .footer-top h2 { font-size: 55px; }
  .footer-top p { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .js-enhanced .reveal { opacity: 1; translate: none; }
}
/* Keep the longest research heading inside small phone viewports. */
@media (max-width: 480px) {
  .research-top h2 { font-size: clamp(34px, 9.2vw, 44px); }
}
/* Contain decorative halos and marquees without permitting sideways scrolling. */
html, body { overflow-x: clip; }


/* Final pre-launch CA presentation and manual post-launch display. */
.ca-pending-panel { display: flex; flex-direction: column; gap: 7px; max-width: 580px; background: rgba(255,255,255,.28); border: 1px dashed rgba(63,72,59,.36); border-radius: 8px; padding: 18px 20px; margin: 22px 0 16px; }
.ca-pending-panel .ca-label { font-weight: 800; font-size: 10px; letter-spacing: .13em; color: #80705d; }
.ca-pending-panel strong { font-weight: 800; font-size: clamp(17px,2.2vw,23px); letter-spacing: -.035em; color: #613b32; }
.ca-pending-panel small { color: #536154; font-size: 10px; line-height: 1.5; letter-spacing: .025em; }
.token-official-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 20px; }
.token-official-links .inline-link { margin-top: 0; }
.token-live-details { display: block; max-width: 630px; margin: 18px 0; }
.token-data-grid { display: grid; grid-template-columns: minmax(96px,125px) minmax(0,1fr); gap: 12px 15px; font-size: 12px; line-height: 1.6; padding: 20px; border: 1px solid rgba(42,58,44,.23); border-radius: 8px; background: rgba(255,255,255,.25); }
.token-data-grid dt { font-weight: 800; color: #80653c; }
.token-data-grid dd { margin: 0; min-width: 0; overflow-wrap: anywhere; color: #21372d; user-select: text; }
.token-data-grid dd a { text-decoration: underline; text-underline-offset: 4px; }
.copy-contract-btn { background: #152722; color: #eac784; border: 1px solid rgba(18,37,30,.55); border-radius: 7px; padding: 12px 16px; font-weight: 800; font-size: 10px; letter-spacing: .07em; cursor: pointer; }
.copy-contract-btn:hover { background: #263a2c; }
.copy-contract-btn:focus-visible { outline: 3px solid #8b3138; outline-offset: 3px; }
@media (max-width: 480px) {
  .token-data-grid { grid-template-columns: 1fr; gap: 3px; }
  .token-data-grid dd { margin-bottom: 7px; }
  .token-official-links { gap: 10px 16px; }
  .ca-pending-panel { padding: 15px; }
}

/* Guarantee semantic hidden elements stay hidden against component display rules. */
[hidden] { display: none !important; }
