/* GLASSHOUSE LABS · specimen plates on lab ink */
@font-face { font-family: 'Unica One'; src: url(https://demo.uichemy.com/wp-content/uploads/2026/10/glasshouse__fonts-unicaone.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Readex Pro'; src: url(https://demo.uichemy.com/wp-content/uploads/2026/10/glasshouse__fonts-readexpro.woff2) format('woff2'); font-weight: 160 700; font-display: swap; }
@font-face { font-family: 'Sixtyfour'; src: url(https://demo.uichemy.com/wp-content/uploads/2026/10/glasshouse__fonts-sixtyfour.woff2) format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --ink: #2D2350;       /* lab ink: main field */
  --phos: #69E6B4;      /* phosphor: live data */
  --violet: #AA8CFF;    /* spectral violet: figures */
  --white: #FFFFFF;
  --black: #000000;
  --w06: rgba(255, 255, 255, .06);
  --w12: rgba(255, 255, 255, .12);
  --w24: rgba(255, 255, 255, .24);
  --w60: rgba(255, 255, 255, .6);
  --w80: rgba(255, 255, 255, .8);
  --i00: rgba(45, 35, 80, 0);
  --i25: rgba(45, 35, 80, .25);
  --i78: rgba(45, 35, 80, .78);
  --i90: rgba(45, 35, 80, .9);
  --k35: rgba(0, 0, 0, .35);
  --k78: rgba(0, 0, 0, .78);
  --k00: rgba(0, 0, 0, 0);
  --k12: rgba(0, 0, 0, .12);
  --k24: rgba(0, 0, 0, .24);
  --k60: rgba(0, 0, 0, .64);
  --title: 'Unica One', 'Arial Narrow', sans-serif;
  --ui: 'Readex Pro', system-ui, sans-serif;
  --fig: 'Sixtyfour', ui-monospace, monospace;
  --gut: clamp(16px, 2.2vw, 32px);
  --lineEase: cubic-bezier(.9, .01, .19, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--ink); color: var(--white); font: 400 16px/1.55 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--phos); color: var(--black); padding: 8px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--phos); outline-offset: 3px; }

.fig { font-family: var(--fig); font-size: 10px; line-height: 1.5; letter-spacing: .02em; text-transform: uppercase; }
.plate-tag { position: absolute; top: calc(var(--gut) + 64px); left: var(--gut); z-index: 3; opacity: .8; }

/* crop marks */
.crop { position: absolute; width: 18px; height: 18px; z-index: 3; pointer-events: none; }
.crop::before, .crop::after { content: ''; position: absolute; background: currentColor; opacity: .5; }
.crop::before { width: 18px; height: 1px; } .crop::after { width: 1px; height: 18px; }
.crop--tl { top: 76px; left: 10px; } .crop--tr { top: 76px; right: 10px; } .crop--bl { bottom: 10px; left: 10px; } .crop--br { bottom: 10px; right: 10px; }
.crop--tr::before, .crop--br::before { right: 0; } .crop--tr::after, .crop--br::after { right: 0; }
.crop--bl::before, .crop--br::before { bottom: 0; } .crop--bl::after, .crop--br::after { bottom: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; font: 500 15px/1 var(--ui); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.btn--phos { background: var(--phos); color: var(--black); }
.btn--phos:hover { background: var(--white); }
.btn--line { border-color: var(--w24); color: var(--white); }
.btn--line:hover { border-color: var(--phos); color: var(--phos); }

/* ---------------- LOADER ---------------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--white); display: grid; place-items: center; }
.loader__plate { width: min(560px, calc(100vw - 48px)); }
.loader__line { min-height: 1.5em; font-size: 12px; opacity: 0; }
.loader__line + .loader__line { color: var(--phos); margin-top: 6px; }
.loader__line .c { display: inline; }
.loader__bar { height: 1px; background: var(--w12); margin: 28px 0 14px; position: relative; overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--phos); transform-origin: 0 50%; transform: scaleX(0); }
.loader__count { font: 400 clamp(64px, 11vw, 150px)/.9 var(--title); display: flex; align-items: baseline; gap: .1em; }
.loader__unit { font-size: .4em; color: var(--violet); }
.loader .crop { top: 10px; } .loader .crop--bl, .loader .crop--br { top: auto; }
.no-loader .loader { display: none; }

/* ---------------- NAV ---------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 var(--gut); color: var(--white); transition: color .4s; }
.nav::after { content: ''; position: absolute; left: var(--gut); right: var(--gut); bottom: 0; height: 1px; background: currentColor; opacity: .18; }
.nav[data-theme="light"] { color: var(--black); }
.nav { background: transparent; transition: color .4s, background-color .4s; }
.nav[data-field="black"] { background: var(--black); }
.nav[data-field="violet"] { background: var(--violet); }
.nav[data-field="phos"] { background: var(--phos); }
.nav[data-field="white"] { background: var(--white); }
.nav[data-field="ink"] { background: var(--ink); }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 20px/1 var(--title); letter-spacing: .04em; }
.nav__logo svg { width: 26px; height: 26px; color: var(--phos); transition: color .4s; }
.nav[data-theme="light"] .nav__logo svg { color: var(--black); }
.nav__logo em { font-style: normal; opacity: .55; margin-left: .3em; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 14px; position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--lineEase); }
.nav__links a:hover::after, .nav__links a.is-on::after { transform: scaleX(1); }
.nav__cta { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid currentColor; text-decoration: none; font-size: 14px; }
.nav__cta svg { width: 11px; height: 11px; }
.nav__cta:hover { background: var(--phos); color: var(--black); border-color: var(--phos); }

/* 12-col hairline grid */
.grid12 { position: absolute; inset: 0 var(--gut); display: grid; grid-template-columns: repeat(12, 1fr); pointer-events: none; z-index: 1; }
.grid12 i { border-left: 1px solid var(--w06); }
.grid12 i:last-child { border-right: 1px solid var(--w06); }

/* ---------------- HERO ---------------- */
.hero { position: relative; height: 260vh; background: var(--ink); }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__copy { position: absolute; left: var(--gut); bottom: 12vh; z-index: 4; width: min(56vw, 860px); }
.hero__title { font: 400 clamp(52px, 7.6vw, 132px)/.88 var(--title); letter-spacing: .01em; margin-bottom: 28px; }
.hero__title .w { display: inline-block; }
.hero__title .w--acc { color: var(--phos); }
.hero__lede { max-width: 470px; color: var(--w80); font-weight: 300; font-size: 17px; margin-bottom: 28px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__fig { position: absolute; right: var(--gut); bottom: 12vh; margin: 0; z-index: 4; width: 260px; }
.hero__fig figcaption { display: grid; gap: 8px; font-size: 13px; color: var(--w80); font-weight: 300; }
.hero__fignum { color: var(--phos); }
.hero__meter { margin-top: 14px; height: 1px; background: var(--w12); position: relative; }
.hero__meter i { position: absolute; inset: 0; background: var(--phos); transform-origin: 0 50%; transform: scaleX(0); }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 4; color: var(--w60); }
.hero__axes { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.ax { position: absolute; color: var(--violet); opacity: 0; white-space: nowrap; }
.hero .plate-tag { color: var(--w80); }

/* ---------------- LATENT ---------------- */
.latent { position: relative; height: 600vh; background: var(--black); }
.latent__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--black); }
.latent__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.latent__flash { position: absolute; inset: 0; background: var(--white); opacity: 0; pointer-events: none; z-index: 2; }
.latent__ticks { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; z-index: 3; justify-items: end; }
.latent__ticks li { width: 12px; height: 1px; background: var(--w24); transition: width .5s var(--lineEase), background .5s; }
.latent__ticks li.on { width: 24px; background: var(--phos); }
.chapter { position: absolute; left: calc(var(--gut) * 2); top: 50%; transform: translateY(-50%); z-index: 3; width: min(640px, 80vw); opacity: 0; visibility: hidden; }
.chapter--right { left: auto; right: calc(var(--gut) * 3); }
.chapter > * { will-change: transform, opacity, filter; position: relative; }
.chapter::before { content: ''; position: absolute; inset: -30% -22%; background: radial-gradient(closest-side, var(--k78) 50%, var(--k00)); pointer-events: none; }
.chapter__kicker { color: var(--phos); margin-bottom: 20px; }
.chapter__head { font: 400 clamp(44px, 6.4vw, 104px)/.9 var(--title); margin-bottom: 24px; }
.chapter__head .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.chapter__head .ln > span { display: block; }
.chapter__num { font: 400 clamp(72px, 12vw, 190px)/.85 var(--title); color: var(--violet); margin: -6px 0 18px; }
.chapter__body { max-width: 440px; color: var(--w80); font-weight: 300; font-size: 17px; }
.chapter__cap { margin-top: 22px; color: var(--w60); }
.chapter__cta { margin-top: 28px; }
.latent .plate-tag { color: var(--w80); }

/* ---------------- PAPERS ---------------- */
.papers { position: relative; background: var(--violet); color: var(--black); }
.papers__pin { height: 300vh; position: relative; }
.papers__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.papers__title { position: absolute; left: var(--gut); top: calc(var(--gut) + 96px); font: 400 clamp(40px, 5vw, 84px)/.9 var(--title); z-index: 1000; pointer-events: none; }
.papers__note { position: absolute; left: var(--gut); bottom: var(--gut); width: 300px; font-size: 14px; z-index: 1000; }
.ring__cap { position: absolute; right: var(--gut); bottom: var(--gut); z-index: 1000; }
.ring { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.ring.is-drag { cursor: grabbing; }
.ring__core { position: absolute; left: 60%; top: 54%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 10px; z-index: 100; pointer-events: none; }
.ring__core svg { width: 44px; height: 44px; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.card { position: absolute; left: 0; top: 0; width: 15vw; aspect-ratio: 16 / 9; margin: 0; will-change: transform; background: var(--ink); outline: 1px solid var(--k24); }
.card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.card span { position: absolute; left: 0; top: 100%; margin-top: 4px; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.card.is-front span { opacity: 1; }
.card.is-right span { left: auto; right: 0; }
.card.is-hot { outline: 2px solid var(--black); }

.index { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 4vw; padding: 12vh var(--gut) 16vh; }
.index__head { grid-column: 1 / -1; margin-bottom: 28px; }
.index__cols { display: none; }
.index__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--black); grid-column: 1; }
.row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 150px 56px 56px; gap: 16px; align-items: baseline; padding: 22px 0 20px; border-bottom: 1px solid var(--k24); cursor: pointer; position: relative; outline: none; }
.row::before { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--black); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--lineEase); }
.row.is-on::before { transform: scaleX(1); }
.row__title { font: 400 clamp(20px, 2vw, 30px)/1.12 var(--ui); letter-spacing: -.01em; transition: transform .5s var(--lineEase); }
.row.is-on .row__title { transform: translateX(12px); }
.row__area, .row__year { font-size: 14px; }
.row__read { font-size: 14px; text-decoration: none; border-bottom: 1px solid; justify-self: end; }
.inspector { grid-column: 2; grid-row: 2; }
.inspector__card { position: sticky; top: 96px; background: var(--ink); color: var(--white); padding: 18px; }
.inspector__tag { color: var(--phos); margin-bottom: 14px; }
.inspector__grid { width: 100%; height: auto; aspect-ratio: 1; display: block; background: var(--ink); }
.inspector__cap { margin-top: 14px; font-size: 13px; font-weight: 300; color: var(--w80); min-height: 3.2em; }
.inspector__cap .fig { color: var(--violet); }
.inspector__thumb { margin-top: 14px; aspect-ratio: 16 / 9; overflow: hidden; }
.inspector__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- PRINCIPLES ---------------- */
.principles { position: relative; background: var(--phos); color: var(--black); display: grid; grid-template-columns: 26% minmax(0, 1fr); }
.pidx { position: relative; border-right: 1px solid var(--k24); }
.pidx .plate-tag { position: sticky; top: 96px; left: auto; display: block; padding: 0 var(--gut); }
.pidx ul { position: sticky; top: 132px; list-style: none; margin: 24px 0 0; padding: 0 var(--gut); }
.pidx li { position: relative; border-top: 1px solid var(--k24); }
.pidx li:last-child { border-bottom: 1px solid var(--k24); }
.pidx a { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; font-size: 14px; text-decoration: none; }
.pidx a .fig { width: 28px; }
.pidx__line { position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--black); }
.plist { padding: 18vh var(--gut) 10vh 4vw; }
.pr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 30%); gap: 4vw; align-items: start; padding-bottom: 22vh; }
.pr__kick { margin-bottom: 26px; overflow: hidden; }
.pr__state { font: 400 clamp(40px, 5.2vw, 92px)/.92 var(--title); margin-bottom: 30px; }
.pr__state .m { display: block; overflow: hidden; padding-bottom: .05em; }
.pr__state .m > span { display: block; }
.rise { display: block; }
.pr__body { max-width: 480px; font-size: 18px; overflow: hidden; margin-bottom: 52px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 760px; }
.stat { position: relative; padding-top: 18px; }
.stat .rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--black); transform-origin: 0 50%; }
.stat__n { font: 400 clamp(40px, 4.4vw, 76px)/1 var(--title); margin-bottom: 10px; }
.pr__plate { margin: 12vh 0 0; }
.pr__plate img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink); }
.pr__plate figcaption { margin-top: 10px; font-size: 13px; display: flex; gap: 10px; align-items: baseline; }

/* ---------------- PEOPLE ---------------- */
.people { position: relative; background: var(--white); color: var(--black); border-top: 1px solid var(--black); }
.people__head { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--black); }
.people__titlecell { position: relative; padding: 140px var(--gut) 40px; border-right: 1px solid var(--black); }
.people__titlecell .plate-tag { top: 96px; }
.people__title { font: 400 clamp(52px, 7.4vw, 128px)/.86 var(--title); }
.people__intro { padding: 140px var(--gut) 40px; display: grid; align-content: start; gap: 18px; font-size: 17px; max-width: 620px; }
.people__lead { font: 500 clamp(26px, 2.6vw, 40px)/1.08 var(--ui); letter-spacing: -.015em; }
.people__label { margin-top: 18px; }
.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 60px; }
.mate { position: relative; border-left: 1px solid var(--black); outline: none; }
.mate:first-child { border-left: 0; }
.mate:nth-child(2) { margin-top: 40px; } .mate:nth-child(3) { margin-top: 18px; } .mate:nth-child(4) { margin-top: 56px; }
.mate__role { position: absolute; top: 0; right: 0; z-index: 3; background: var(--white); border-left: 1px solid var(--black); border-bottom: 1px solid var(--black); padding: 9px 12px; }
.mate__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-top: 1px solid var(--black); background: var(--white); }
.mate__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s cubic-bezier(.33, 1, .68, 1); }
.mate__dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.mate.is-open .mate__img img { opacity: 1; }
.mate__bar { position: relative; background: var(--phos); padding: 20px 20px 26px; min-height: 128px; }
.mate--v .mate__bar { background: var(--violet); }
.mate__bar h3 { font: 400 clamp(30px, 2.6vw, 44px)/1 var(--title); margin-bottom: 8px; text-transform: uppercase; }
.mate__bar p { font-size: 14px; max-width: 80%; }
.mate__bar .arr { position: absolute; right: 20px; top: 20px; font-size: 24px; transition: transform .5s var(--lineEase); }
.mate:hover .arr, .mate.is-open .arr { transform: translateX(6px); }

/* ---------------- FOOTER ---------------- */
.foot { position: relative; background: var(--ink); color: var(--white); overflow: hidden; min-height: 100vh; }
.foot__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.foot::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, var(--i78) 0%, var(--i25) 22%, var(--i00) 42%, var(--i00) 58%, var(--i90) 76%, var(--ink) 100%); }
.foot__inner { position: relative; z-index: 2; padding: 22vh var(--gut) var(--gut); min-height: 100vh; display: flex; flex-direction: column; }
.foot .plate-tag { top: 96px; color: var(--w80); }
.foot__title { font: 400 clamp(56px, 9.6vw, 176px)/.86 var(--title); transform-origin: 0 100%; }
.foot__cap { margin-top: 24px; display: flex; gap: 10px; align-items: baseline; color: var(--w80); font-size: 14px; max-width: 520px; }
.foot__cap .fig { color: var(--phos); }
.foot__grid { margin-top: auto; padding-top: 12vh; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; border-bottom: 1px solid var(--w24); padding-bottom: 32px; }
.news label { display: block; font-size: 18px; margin-bottom: 16px; max-width: 360px; }
.news__row { display: flex; gap: 0; max-width: 460px; }
.news input { flex: 1; min-width: 0; height: 48px; background: var(--k35); border: 1px solid var(--w24); border-right: 0; color: var(--white); font: 400 15px var(--ui); padding: 0 14px; }
.news input::placeholder { color: var(--w60); }
.news input:focus { outline: none; border-color: var(--phos); }
.news__msg { min-height: 1.5em; margin-top: 10px; font-size: 13px; color: var(--phos); }
.foot__col { display: grid; align-content: start; gap: 8px; }
.foot__col .fig { color: var(--phos); margin-bottom: 6px; }
.foot__col a { text-decoration: none; font-size: 15px; color: var(--w80); }
.foot__col a:hover { color: var(--phos); }
.foot__small { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 18px; font-size: 13px; color: var(--w60); }
.foot__small .fig { margin-left: auto; color: var(--phos); }
.foot__small b { font-weight: 400; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1100px) {
  .row { grid-template-columns: 48px minmax(0, 1fr) 120px 48px; }
  .row__read { display: none; }
  .index { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .hero__copy { width: auto; right: var(--gut); bottom: 13vh; }
  .hero__fig { left: var(--gut); right: auto; bottom: 3vh; width: auto; max-width: 74vw; }
  .hero__fig figcaption { font-size: 12px; }
  .hero__scroll { display: none; }
  .hero__lede { font-size: 16px; }
  .chapter, .chapter--right { left: var(--gut); right: var(--gut); width: auto; top: auto; bottom: 9vh; transform: none; }
  .papers__title { top: 104px; }
  .card { width: 28vw; }
  .papers__note { width: auto; right: var(--gut); bottom: 52px; font-size: 13px; }
  .index { grid-template-columns: 1fr; padding-top: 8vh; }
  .inspector { grid-column: 1; grid-row: auto; }
  .row { grid-template-columns: 40px minmax(0, 1fr); row-gap: 6px; padding: 18px 0; }
  .row__area { grid-column: 2; font-size: 13px; opacity: .7; }
  .row__year { display: none; }
  .row .inspector { grid-column: 1 / -1; margin-top: 14px; }
  .row .inspector__card { position: relative; top: 0; }
  .principles { grid-template-columns: 1fr; }
  .pidx { position: sticky; top: 64px; z-index: 5; background: var(--phos); border-right: 0; border-bottom: 1px solid var(--k24); }
  .pidx .plate-tag { display: none; }
  .pidx ul { position: static; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; gap: 10px; }
  .pidx li, .pidx li:last-child { border: 0; }
  .pidx a { padding: 12px 0; font-size: 12px; gap: 6px; }
  .pidx a .fig { width: auto; }
  .plist { padding: 10vh var(--gut) 4vh; }
  .pr { grid-template-columns: 1fr; padding-bottom: 14vh; }
  .pr__plate { margin-top: 0; max-width: 420px; }
  .stats { gap: 14px; }
  .people__head { grid-template-columns: 1fr; }
  .people__titlecell { border-right: 0; border-bottom: 1px solid var(--black); padding-top: 130px; }
  .people__intro { padding-top: 32px; }
  .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 30px; }
  .mate:nth-child(2) { margin-top: 20px; } .mate:nth-child(3) { margin-top: 0; border-left: 0; } .mate:nth-child(4) { margin-top: 28px; }
  .mate__bar { min-height: 120px; padding: 14px 14px 18px; }
  .mate__bar p { font-size: 13px; max-width: none; }
  .mate__bar .arr { display: none; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .news { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .fig { font-size: 9px; }
  .hero__title { font-size: 15vw; margin-bottom: 20px; }
  .hero__ctas .btn--line { display: none; }
  .nav__cta span { display: none; }
  .nav__cta { width: 36px; justify-content: center; padding: 0; }
  .nav__logo { font-size: 18px; }
  .chapter__head { font-size: 12vw; }
  .chapter__body { font-size: 15px; }
  .stat__n { font-size: 30px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .stat__l { font-size: 8px; }
  .pr__state { font-size: 11vw; }
  .mate__role { padding: 6px 8px; font-size: 8px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot__small .fig { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ring__core svg { animation: none; }
}
.papers .plate-tag { z-index: 1000; }
@media (max-width: 900px) { .ring__core { left: 50%; top: 50%; } }

/* WordPress / Elementor compatibility, inert in a plain browser.
   1. The active WordPress theme styles <body> and every heading too (Twenty Twenty-Five: body weight 300 and -0.1px
      tracking; h1-h6 weight 400, -0.1px tracking, line-height 1.125 and preset sizes). Restore what this page relies on.
   2. The Elementor container that holds the sections can pick up the kit's default padding and gap (seen at phone
      widths); the sections must sit edge to edge, so zero them.
   3. Elementor flattens every <figure> margin inside a widget (frontend.min.css, specificity 0,4,1); figures that
      carry their own margin get it back with the same prefix (0,5,1).
   4. Elementor's generated page CSS (when present) turns that container into a wrapping flex column, which can shrink
      a section below its content, so it is pinned to display: block.
   5. Twenty Twenty-Five sets text-wrap: pretty on headings, paragraphs and captions, which moves line breaks,
      and gives every link a 1px !important underline thickness and a 0.1em offset; put the browser defaults back. */
html body .elementor .e-con.e-parent:has(> .elementor-element [class^="uichemy-"]) { --display: block; --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --row-gap: 0px; --column-gap: 0px; --gap: 0px 0px; }
html body { font-weight: 400; letter-spacing: normal; }
html body :is(blockquote, caption, figcaption, h1, h2, h3, h4, h5, h6, p) { text-wrap: wrap; }
html body a { text-decoration-thickness: auto !important; text-underline-offset: auto; }
html body :is(h1, h2, h3, h4, h5, h6) { letter-spacing: inherit; line-height: inherit; }
html body h1 { font-size: 2em; }
html body h2 { font-size: 1.5em; }
html body h3 { font-size: 1.17em; }
html body :is(h1, h2, h3) { font-weight: 400; }
html body :is(h4, h5, h6) { font-weight: bold; }
.elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) .pr__plate { margin: 12vh 0 0; }
@media (max-width: 900px) { .elementor .elementor-widget:not(.elementor-widget-text-editor):not(.elementor-widget-theme-post-content) .pr__plate { margin-top: 0; } }
