/* Iconic visual system · quantum-chemistry.org · November 2026
   Unified type, palette, icon and spacing treatment. This file intentionally
   follows the historic theme files; the tested scientific models remain intact. */
:root {
  --navy: #122d3d;
  --navy-2: #183b4b;
  --navy-3: #234e5b;
  --ink: #1b3442;
  --ink-soft: #405a67;
  --muted: #657b84;
  --accent: #147f83;
  --accent-bright: #53c2bb;
  --accent-soft: #eaf5f4;
  --paper: #fff;
  --canvas: #f5f8f8;
  --canvas-2: #eff4f4;
  --line: #dde8e8;
  --line-strong: #bfd1d1;
  --shadow-sm: 0 5px 20px rgba(18,45,61,.035);
  --shadow: 0 18px 50px rgba(18,45,61,.065);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --content: 1180px;
  --reading: 990px;
  --font-ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html { scroll-behavior: smooth; background: var(--canvas); }
body {
  font: 400 16px/1.66 var(--font-ui);
  color: var(--ink);
  background: var(--canvas);
}
body::before { display: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-ui); letter-spacing: -.03em; line-height: 1.19; color: var(--navy); }
a,button,input,select,textarea { font-family: var(--font-ui); }
:where(.page-content,.home-main,.home-hero,.page-hero,.site-header,.site-footer) :is(p,li,small,span,strong,label,summary,a,button) {
  font-family: var(--font-ui) !important;
}
:where(.page-content,.home-main) p { line-height: 1.7 !important; }
:where(.page-content,.home-main) p,
:where(.page-content,.home-main) li { color: #405764; }
:where(.page-content,.home-main) h2 { font-size: clamp(1.5rem,2.7vw,2.05rem); font-weight: 750; }
:where(.page-content,.home-main) h3 { font-size: 1.15rem; font-weight: 730; }
:where(.page-content,.home-main) h4 { font-size: 1rem; }
.site-icon {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -.22em;
  color: currentColor;
  overflow: visible;
}
:where(a,button,input,summary):focus-visible { outline: 3px solid #30a8a8; outline-offset: 3px; }
a { color: var(--accent); }
a:hover { color: #0b565e; }

/* Five clear primary destinations, one signature mark. */
.site-header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 13px rgba(16,40,53,.025);
  backdrop-filter: blur(14px);
}
.site-header-inner { min-height: 75px; gap: 1.2rem; }
.site-brand { gap: 11px; font-size: 1rem; letter-spacing: -.02em; }
.site-brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid #254a53; border-radius: 11px;
  background: var(--navy); color: #fff; box-shadow: none;
}
.site-brand-mark .site-icon { width: 29px; height: 29px; }
.site-brand-copy { display: grid; gap: 0; line-height: 1.12; }
.site-brand-copy strong { color: var(--navy); font-size: .94rem; font-weight: 760; }
.site-brand-copy small { color: var(--muted); font-size: .68rem; font-weight: 620; letter-spacing: .025em; }
.modern-nav ul { gap: 2px; }
.modern-nav a {
  display: flex; align-items: center; gap: .45rem;
  padding: .6rem .74rem; min-height: 41px; border-radius: 9px;
  font-size: .82rem; font-weight: 640; letter-spacing: -.005em;
  color: #48606b;
}
.modern-nav .site-icon { width: 17px; height: 17px; color: #65838c; }
.modern-nav a:hover { background: #edf5f4; color: #135967; }
.modern-nav a.is-active, .modern-nav a[aria-current="page"] {
  background: #e8f3f2; color: #135f67; box-shadow: none;
}
.modern-nav a.is-active .site-icon { color: #147f83; }
.modern-nav a::after { display: none !important; }

/* Homepage: editorial, concise, and one distinctive scientific symbol. */
.home-hero {
  min-height: 0; color: #fff;
  background: linear-gradient(112deg,#102b3a 0%,#153c4a 77%,#174951 100%);
}
.home-hero::before,.home-hero::after { display: none; }
.hero-inner { padding: clamp(58px,7vw,94px) 0; }
.hero-grid { grid-template-columns: minmax(0,1.28fr) minmax(300px,.72fr); gap: clamp(26px,5vw,70px); }
.hero-kicker {
  margin: 0 0 16px; font-size: .72rem; font-weight: 750;
  letter-spacing: .105em; color: #9bd8d6;
}
.hero-kicker::before { width: 24px; }
.home-hero h1 {
  max-width: 850px; font-size: clamp(3rem,6.8vw,5.25rem);
  line-height: 1.03; letter-spacing: -.055em; font-weight: 780;
}
.hero-role { margin: 20px 0 10px !important; font-size: .9rem !important; font-weight: 700; color: #b6ddd9 !important; }
.hero-subtitle {
  max-width: 590px; font-size: 1.07rem !important; line-height: 1.7 !important;
  color: #e2eded !important;
}
.hero-actions { gap: .7rem; margin-top: 1.75rem; }
.hero-actions .site-icon,.home-learning .button-dark .site-icon,.molspin-callout .button-primary .site-icon { width: 17px; height: 17px; }
.button-primary,.button-secondary,.button-dark,.button-light {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 45px; padding: .65rem 1rem; border-radius: 9px;
  font-size: .85rem; font-weight: 720; box-shadow: none;
  transition: background-color .16s ease,border-color .16s ease;
}
.button-primary:hover,.button-secondary:hover,.button-dark:hover,.button-light:hover {
  transform: none; box-shadow: none;
}
.button-primary { background: #f4faf9; color: #173d48 !important; }
.button-secondary { background: transparent; border: 1px solid #6c9294; color: #edf9f7 !important; }
.button-secondary:hover { background: rgba(255,255,255,.09); color: #fff !important; }
.button-dark { background: #173e4e; color: #fff !important; }
.button-dark:hover { background: #226071; color: #fff !important; }
.button-light { background: #fff; border: 1px solid #cddddd; color: #264956 !important; }
.hero-visual { min-height: 0; display: flex; align-items: center; justify-content: center; }
.hero-signature {
  width: min(100%,380px); padding: 26px 27px 29px; border-radius: 17px;
  border: 1px solid rgba(165,219,212,.25);
  background: rgba(255,255,255,.055);
  box-shadow: none;
}
.hero-signature-top {
  display: flex; justify-content: space-between; align-items: center;
  color: #b6dcda; font-size: .71rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 760;
}
.hero-signature-pulse { display: block; width: 7px; height: 7px; border-radius: 50%; background: #72d5c5; }
.hero-signature-symbol {
  display: grid; place-items: center; width: 116px; height: 116px;
  margin: 31px auto 26px; border: 1px solid rgba(150,227,216,.28);
  border-radius: 27px; color: #a4f1e5; background: rgba(68,187,174,.09);
}
.hero-signature-symbol .site-icon { width: 76px; height: 76px; stroke-width: 1.1; }
.hero-signature h2 { margin: 0 0 8px; text-align: center; font-size: 1.26rem; color: #fff; font-weight: 720; }
.hero-signature p {
  max-width: 270px; margin: 0 auto; text-align: center;
  color: #b9d5d3 !important; font-size: .82rem !important; line-height: 1.6 !important;
}
.hero-signature-flow {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-top: 27px; padding-top: 19px;
  border-top: 1px solid rgba(190,238,226,.16);
  color: #cde3df; font-size: .68rem; font-weight: 730;
}
.hero-signature-flow i { flex: 1; height: 1px; background: rgba(142,216,203,.38); }
.home-main { padding: 55px 0 90px; }
.intro-grid { gap: 40px; }
.intro-grid::before { display: none; }
.intro-copy p { font-size: .99rem !important; line-height: 1.77 !important; }
.section-block { margin-top: 68px; }
.section-block::before { top: -34px; background: var(--line); }
.section-eyebrow { color: #14777d; font-size: .69rem; font-weight: 800; letter-spacing: .11em; }
.section-heading { font-size: clamp(1.65rem,2.7vw,2.15rem) !important; font-weight: 750; line-height: 1.2; }
.section-lead { font-size: .99rem !important; color: #516974 !important; line-height: 1.7 !important; }
.card-grid { gap: 14px; }
.research-card,.work-card {
  padding: 22px 23px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.research-card:hover,.work-card:hover {
  transform: none; border-color: #91babb; box-shadow: 0 8px 22px rgba(13,60,71,.045);
}
.research-card::after,.work-card::after { display: none; }
.card-icon,.work-card-symbol,.molspin-symbol {
  display: grid; place-items: center; width: 43px; height: 43px;
  margin: 0 0 19px; border: 1px solid #d1e9e7; border-radius: 10px;
  background: #ebf6f5; color: #137e82;
  font-size: 1rem; box-shadow: none;
}
.card-icon .site-icon,.work-card-symbol .site-icon,.molspin-symbol .site-icon { width: 23px; height: 23px; }
.research-card h3,.work-card h3 { margin: 0 0 10px; font-size: 1.09rem; font-weight: 750; line-height: 1.36; }
.research-card p,.work-card p { margin: 0; font-size: .87rem !important; line-height: 1.7 !important; }
.work-card .meta { font-size: .7rem; color: #147980; font-weight: 760; letter-spacing: .035em; }
.work-card-symbol { margin-bottom: 15px; }
.work-card a { margin-top: 16px; font-weight: 700; font-size: .8rem; }
.molspin-callout {
  margin-top: 68px; padding: 30px 34px; border-radius: 14px;
  background: var(--navy); box-shadow: none;
  grid-template-columns: minmax(0,1fr) auto;
}
.molspin-callout::after { display: none; }
.molspin-symbol { margin-bottom: 15px; background: #214e59; border-color: #39646d; color: #abebe0; }
.molspin-callout h2 { font-size: 1.8rem; font-weight: 760; }
.molspin-callout p { color: #d6e8e7 !important; }
.home-learning {
  margin-top: 68px; background: #f0f7f6; border-radius: 14px;
  padding: 28px 30px; border-color: #dce9e8;
}
.home-learning-links a { position: relative; padding: 14px 17px 15px 51px; border-radius: 10px; box-shadow: none; }
.home-learning-links a > .site-icon { position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; color: #147e81; }
.home-learning-links a strong { font-size: .95rem; }
.home-learning-links a span { font-size: .62rem; }
.home-learning-links a small { font-size: .75rem; }

/* Compact section hero shared by research, publications, software and lessons. */
.page-hero {
  color: var(--navy); background: #eaf2f2;
  border-bottom: 1px solid #dbe7e7;
}
.page-hero::before { display: none; }
.page-hero-inner {
  width: min(calc(100% - 44px), 1080px);
  display: flex; gap: 18px; align-items: center; padding: 32px 0 30px;
}
.page-hero-emblem {
  display: grid; place-items: center; flex: 0 0 60px; width: 60px; height: 60px;
  background: #fff; border: 1px solid #cce1e0; border-radius: 13px;
  color: #137b80;
}
.page-hero-emblem .site-icon { width: 30px; height: 30px; }
.page-hero-copy { min-width: 0; }
.page-kicker { margin: 0 0 5px !important; color: #50818a !important; font-size: .68rem !important; text-transform: uppercase; letter-spacing: .11em; font-weight: 750; }
.page-hero h1 { margin: 0; color: var(--navy); font-size: clamp(1.55rem,3.2vw,2.35rem); font-weight: 760; line-height: 1.13; }
.page-hero .page-excerpt { margin: 5px 0 0 !important; color: #58717a !important; font-size: .87rem !important; line-height: 1.5 !important; }
.site-main { width: min(calc(100% - 44px), 1080px); padding: 38px 0 90px; }
.page-content {
  width: min(100%,1020px); max-width: none;
  margin: 0 auto; padding: 0;
  border: 0; border-radius: 0; box-shadow: none; background: transparent;
}
.page-content h2 { margin: 2.15rem 0 .85rem; }
.page-content h3 { margin: 1.7rem 0 .6rem; }
.page-content p { font-family: var(--font-ui) !important; font-size: .96rem; line-height: 1.75 !important; }
.page-content li { font-family: var(--font-ui) !important; }
.page-content blockquote { border-left-color: #68aaa9; background: #edf6f5; }

/* Lecture pages remain content-first. Remove additional competing panels. */
.lecture-module { max-width: 990px; }
.module-intro { margin-bottom: 38px; padding-bottom: 24px; }
.module-intro h2 { font-size: clamp(1.55rem,2.8vw,2.2rem) !important; }
.module-intro > p { font-size: .97rem !important; line-height: 1.7 !important; }
.lecture-section { margin-top: 56px; padding-top: 29px; scroll-margin-top: 90px; border-top-color: #dce7e7; }
.lecture-section-head { grid-template-columns: 36px minmax(0,1fr); gap: 13px; margin-bottom: 15px; }
.lecture-index {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid #d4e4e3; background: #ecf6f5;
  color: #167880; font-size: .75rem; font-weight: 760;
}
.lecture-section-head h2 { margin-top: 0; font-size: clamp(1.35rem,2.3vw,1.85rem) !important; line-height: 1.27; }
.section-eyebrow { letter-spacing: .095em; }
.physical-concept-panel,.research-connection,.lecture-connections,.interactive-card {
  border: 1px solid #d7e6e5; border-radius: 13px;
  box-shadow: none;
}
.physical-concept-panel { background: #f5faf9; padding: 18px 21px; }
.physical-concept-grid article { background: #fff; border-color: #e2eded; border-radius: 9px; }
.teacher-note { border-radius: 9px; box-shadow: none; }
.lecture-equation { border-radius: 10px; background: #f6f9f9; border-color: #e1e9e9; box-shadow: none; }
.interactive-card { background: #fff; }
.interactive-card .interactive-head h3 { font-weight: 760; }
.interactive-head .interactive-kicker { color: #147980; }
.lecture-module-nav.lecture-route-nav {
  border-radius: 12px; box-shadow: none; background: #fff; border-color: #d9e5e5; margin-bottom: 28px;
}
.lecture-route-header { padding: 14px 17px; align-items: center; }
.lecture-route-context { gap: 1px; }
.lecture-route-context > strong { font-size: .9rem; }
.lecture-route-label { font-size: .65rem; }
.lecture-route-back,.lecture-route-neighbour small { display: inline-flex !important; gap: .35rem; align-items: center; }
.lecture-route-back .site-icon,.lecture-route-neighbour small .site-icon { width: 13px; height: 13px; }
.lecture-module-nav.lecture-route-nav a.lecture-route-neighbour { border-radius: 8px; padding: 8px 10px; min-height: 48px; max-width: 170px; box-shadow: none; }
.lecture-route-picker summary { display: flex; align-items: center; gap: 8px; padding: 11px 17px; font-size: .75rem; }
.lecture-route-picker summary > .site-icon { width: 16px; height: 16px; }
.lecture-route-picker summary > .route-chevron { margin-left: auto; transition: transform .2s ease; }
.lecture-route-picker[open] summary > .route-chevron { transform: rotate(180deg); }
.lecture-route-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
.lecture-route-step .site-icon { width: 18px; height: 18px; }
.lecture-module-nav.lecture-route-nav .lecture-route-list a { border-radius: 8px; min-height: 58px; }
.lecture-local-toc { border-color: #d9e6e5; box-shadow: none; }
.lecture-knowledge-check { background: #f5faf9; border-radius: 13px; box-shadow: none; }
.lecture-check-kicker { display: inline-flex; align-items: center; gap: 7px; }
.lecture-check-kicker .site-icon { width: 17px; height: 17px; }
.lecture-check-choice { border-radius: 9px; }
.lecture-check-submit { border-radius: 8px; }

/* Lean, searchable lecture catalogue with a single card language. */
.lecture-library--iconic { max-width: 1100px; }
.library-landing {
  display: grid; grid-template-columns: minmax(0,1.25fr) minmax(230px,.75fr);
  align-items: center; gap: 30px; padding: 37px clamp(20px,4vw,42px);
  border: 1px solid #dce9e8; border-radius: 15px;
  background: #fff;
}
.library-landing h1 {
  max-width: 620px; margin: 8px 0 14px;
  font-size: clamp(2.1rem,4.9vw,3.3rem); line-height: 1.13;
  font-weight: 780; letter-spacing: -.045em;
}
.library-landing-copy > p:not(.section-eyebrow) {
  max-width: 640px; color: #4d6671 !important; font-size: .96rem !important;
}
.library-landing-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 12px; }
.library-landing-actions .site-icon { width: 18px; height: 18px; }
.library-landing .library-landing-note {
  margin: 12px 0 0 !important; color: #729097 !important; font-size: .76rem !important; font-weight: 640;
}
.library-landing-graphic {
  display: grid; justify-items: center; align-items: center;
  gap: 19px; padding: 27px 18px; min-height: 248px;
  border: 1px solid #dceceb; border-radius: 13px;
  background: #eef7f5;
}
.library-graphic-icon {
  display: grid; place-items: center;
  width: 116px; height: 116px; border-radius: 28px;
  color: #167b80; border: 1px solid #c9e3df; background: #fff;
}
.library-graphic-icon .site-icon { width: 78px; height: 78px; stroke-width: 1.15; }
.library-graphic-steps {
  display: flex; align-items: center; justify-content: center;
  width: 100%; gap: 7px; color: #4c6872; font-size: .67rem; font-weight: 700;
}
.library-graphic-steps span { white-space: nowrap; text-align: center; }
.library-graphic-steps b { display: block; color: #127680; font-size: .62rem; }
.library-graphic-steps i { flex: 1; max-width: 16px; height: 1px; background: #90bdba; }
.library-module-catalogue { margin-top: 45px; scroll-margin-top: 90px; }
.library-module-catalogue.library-section { border: 0; padding: 0; margin-bottom: 0; }
.library-section-intro {
  display: flex; align-items: end; justify-content: space-between;
  gap: 20px; margin-bottom: 21px;
}
.library-section-intro > div:first-child { max-width: 590px; }
.library-section-intro h2 { margin: 3px 0 8px !important; font-size: 1.85rem !important; }
.library-section-intro p:not(.section-eyebrow) { margin: 0 !important; color: #677c84 !important; font-size: .85rem !important; }
.library-module-catalogue .library-filter-field { flex: 0 1 330px; max-width: 360px; width: 100%; }
.library-module-catalogue .library-filter-field label {
  display: flex; align-items: center; gap: 6px; font-size: .74rem;
}
.library-module-catalogue .library-filter-field label .site-icon { width: 16px; height: 16px; }
.library-module-catalogue .library-filter-field input { min-height: 41px; font-size: .81rem; background: #fff; border-radius: 8px; }
.library-filter-counter { font-size: .72rem; padding: 0; }
.library-icon-grid.library-grid {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0;
}
.library-card.library-icon-card {
  display: flex; flex-direction: column; min-height: 231px;
  padding: 22px; border: 1px solid #d9e7e6; border-radius: 12px;
  background: #fff; box-shadow: none; color: var(--ink);
  text-decoration: none; transition: border-color .16s ease, box-shadow .16s ease;
}
.library-card.library-icon-card:hover,.library-card.library-icon-card:focus-visible {
  border-color: #74b0ae; box-shadow: 0 8px 24px rgba(18,45,61,.055); transform: none;
}
.library-icon-card .library-card-top {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.library-card-symbol {
  display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 auto;
  background: #eaf6f4; border: 1px solid #d2e8e4; border-radius: 10px;
  color: #147f83;
}
.library-card-symbol .site-icon { width: 23px; height: 23px; }
.library-card-number { font-size: .69rem; font-weight: 730; color: #708b90; }
.library-card-theme { font-size: .69rem; font-weight: 750; text-transform: uppercase; color: #14777e; letter-spacing: .055em; }
.library-card.library-icon-card h3 { margin: 6px 0 8px; font-size: 1.09rem; line-height: 1.25; font-weight: 760; color: #173747; }
.library-card.library-icon-card > p {
  margin: 0 0 17px !important; padding: 0; color: #5a6f79 !important;
  font-size: .83rem !important; line-height: 1.58 !important; font-family: var(--font-ui) !important;
}
.library-card-link {
  display: flex; align-items: center; gap: 5px; margin-top: auto; padding: 0;
  color: #14777e; font-size: .77rem; font-weight: 760;
}
.library-card-link .site-icon { width: 15px; height: 15px; }

/* Responsive refinement keeps icon/text pairs together and avoids cramped cards. */
@media (max-width: 1080px) {
  .modern-nav a { padding-inline: .56rem; }
  .modern-nav a span { font-size: .78rem; }
  .library-icon-grid.library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .site-header-inner { flex-direction: column; align-items: stretch; gap: .5rem; padding: 11px 0; }
  .modern-nav { width: 100%; overflow-x: auto; scrollbar-width: thin; }
  .modern-nav ul { width: max-content; min-width: 100%; }
  .modern-nav a { min-height: 38px; }
  .hero-grid { grid-template-columns: 1fr; gap: 31px; }
  .hero-visual { display: none; }
  .hero-inner { padding: 55px 0 62px; }
  .page-hero-inner { padding: 26px 0; }
  .library-landing { grid-template-columns: 1fr; }
  .library-landing-graphic { display: none; }
  .library-section-intro { align-items: stretch; flex-direction: column; }
  .library-module-catalogue .library-filter-field { max-width: none; }
}
@media (max-width: 650px) {
  .site-header-inner,.home-main,.site-main,.page-hero-inner,.hero-inner { width: min(calc(100% - 30px),var(--content)); }
  .site-brand-mark { width: 39px; height: 39px; }
  .modern-nav a { padding: 7px 10px; }
  .home-hero h1 { font-size: clamp(2.6rem,13vw,3.8rem); }
  .hero-role { font-size: .77rem !important; }
  .hero-subtitle { font-size: .95rem !important; }
  .home-main { padding-top: 35px; }
  .intro-grid { gap: 25px; }
  .section-block { margin-top: 53px; }
  .section-block::before { top: -26px; }
  .card-grid { grid-template-columns: 1fr; }
  .research-card,.work-card { padding: 18px 20px; }
  .molspin-callout { margin-top: 55px; padding: 24px; grid-template-columns: 1fr; }
  .home-learning { padding: 22px; }
  .page-hero-emblem { width: 45px; height: 45px; flex-basis: 45px; border-radius: 10px; }
  .page-hero-emblem .site-icon { width: 23px; height: 23px; }
  .page-hero-inner { gap: 12px; }
  .page-hero .page-excerpt { font-size: .77rem !important; }
  .site-main { padding-top: 25px; }
  .lecture-section { margin-top: 44px; }
  .library-landing { padding: 26px 20px; }
  .library-icon-grid.library-grid { grid-template-columns: 1fr; }
  .library-card.library-icon-card { min-height: 0; padding: 20px; }
  .lecture-route-header { gap: 12px; }
  .lecture-route-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
