
/* ============================================================
   MathonAI Team — Design System
   Style: Clean, Light, Minimal, Academic
   Palette: CMU Red-Black + White/Light Gray
   ============================================================ */

/* --- Google Fonts --- */
/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */



/* --- CSS Custom Properties --- */
:root {
  /* Colors — CMU Red-Black */
  --color-bg:           #f8f7f5;
  --color-surface:      #ffffff;
  --color-surface-alt:  #f3f1ee;
  --color-border:       #e0ddd8;
  --color-border-light: #eae7e3;

  --color-primary:      #C41230;
  --color-primary-light:#d63a54;
  --color-primary-dark: #9e0e26;
  --color-primary-bg:   #fdf0f2;

  --color-text:         #1a1a1a;
  --color-text-secondary: #4a4a4a;
  --color-text-muted:   #7a7a7a;

  --color-accent:       #C41230;
  --color-accent-green: #27ae60;
  --color-accent-amber: #f39c12;

  /* Typography */
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --max-width:  1200px;
  --nav-height: 72px;

  /* Effects */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.05);

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  display: block;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.container.narrow {
  max-width: 900px;
}

.page {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: color var(--transition);
}

.nav-logo:hover {
  color: var(--color-primary);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-lg);
  font-family: var(--font-serif);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: var(--space-1);
  list-style: none;
}

.nav-links li a {
  display: block;
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.nav-links li a:hover {
  color: var(--color-primary);
  background: var(--color-primary-bg);
}

.nav-links li a.active {
  color: var(--color-primary);
  background: var(--color-primary-bg);
  font-weight: 600;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO SECTION (About page)
   ============================================================ */
.hero {
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-16);
  background: linear-gradient(170deg, #fdf0f2 0%, #f8f7f5 50%, #ffffff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196,18,48,0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,18,48,0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.hero .tagline {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ============================================================
   PAGE HEADER (for non-About pages)
   ============================================================ */
.page-header {
  padding: calc(var(--nav-height) + var(--space-12)) 0 var(--space-10);
  background: linear-gradient(170deg, #fdf0f2 0%, #f8f7f5 100%);
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.page-header p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--space-16) 0;
}

.section-alt {
  background: var(--color-surface);
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: var(--space-10);
}

/* ============================================================
   ABOUT PAGE — Intro
   ============================================================ */
.about-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-16) 0;
}

.about-intro p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.9;
}

/* ============================================================
   ABOUT PAGE — Research Cards
   ============================================================ */
.research-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.research-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.research-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-bg);
}

.research-card:hover::before {
  transform: scaleX(1);
}

.research-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-5);
  background: var(--color-primary-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-primary);
}

.research-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.research-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   PROJECT PAGE — Spotlight Entry
   ============================================================ */
.project-spotlight-section {
  background:
    radial-gradient(circle at top right, rgba(196, 18, 48, 0.05), transparent 34%),
    linear-gradient(180deg, #fffdfa 0%, #f8f7f5 100%);
}

.project-spotlight-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.project-spotlight-lead {
  max-width: 520px;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.project-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-10);
  align-items: start;
}

.project-spotlight-kicker {
  display: inline-block;
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.project-spotlight-copy h3 {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.project-spotlight-copy p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.9;
}

.project-spotlight-summary {
  display: grid;
  gap: var(--space-6);
  padding-top: var(--space-2);
}

.project-spotlight-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}

.project-spotlight-row span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.project-spotlight-row p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.project-spotlight-actions {
  padding-top: var(--space-2);
}

.project-spotlight-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition), color var(--transition);
}

.project-spotlight-link:hover {
  gap: var(--space-3);
}

/* ============================================================
   DETAIL PAGE — Neural CTMC
   ============================================================ */
.detail-page-shell {
  background: var(--color-bg);
}

.detail-page-main {
  min-height: 100vh;
}

.detail-hero {
  padding-bottom: var(--space-12);
}

.detail-hero .page-header {
  background: linear-gradient(170deg, #fdf0f2 0%, #f8f7f5 100%);
}

.detail-hero-copy {
  max-width: 820px;
}

.detail-hero-copy .section-subtitle {
  margin-bottom: var(--space-3);
}

.detail-hero-copy h1 {
  font-family: var(--font-serif);
  font-size: var(--text-5xl);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.detail-hero-lead {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  font-weight: 300;
  margin-bottom: var(--space-5);
}

.detail-hero-copy > p:last-of-type {
  max-width: 760px;
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.9;
}

.detail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.detail-hero-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition);
}

.detail-hero-link:hover {
  gap: var(--space-3);
}

.detail-rows {
  display: grid;
  gap: var(--space-6);
}

.detail-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.detail-row span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.detail-row p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.85;
}

.detail-media-heading {
  margin-bottom: var(--space-8);
}

.detail-media-heading .section-title,
.detail-stats-heading .section-title {
  margin-bottom: var(--space-3);
}

.detail-media-heading p,
.detail-stats-heading p {
  max-width: 720px;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.detail-media-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: var(--space-8);
  align-items: start;
}

.detail-media-panel {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
}

.detail-media-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.detail-media-tag {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.detail-media-panel h3 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
}

.detail-media-panel p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.detail-demo-run {
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-5);
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition);
}

.detail-demo-run:hover {
  transform: translateY(-1px);
}

.detail-demo-run:disabled {
  opacity: 0.7;
  cursor: wait;
}

.detail-demo-stage-wrap {
  margin-top: var(--space-5);
  background: linear-gradient(180deg, #fffdfa 0%, #f8f7f5 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.detail-demo-phase {
  display: inline-flex;
  align-items: center;
  margin: var(--space-4) var(--space-4) 0;
  padding: var(--space-1) var(--space-3);
  background: var(--color-primary-bg);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-demo-stage {
  min-height: 300px;
  padding: var(--space-4);
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-secondary);
}

.detail-demo-placeholder {
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 0 var(--space-4);
  text-align: center;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.8;
}

.detail-demo-paragraph + .detail-demo-paragraph {
  margin-top: var(--space-4);
}

.detail-demo-token {
  display: inline;
  border-radius: 4px;
  padding: 1px 2px;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.detail-demo-token.token-noise {
  color: #9a938c;
}

.detail-demo-token.token-active {
  color: var(--color-primary-dark);
  background: rgba(196, 18, 48, 0.14);
}

.detail-demo-token.token-settled {
  color: var(--color-text);
  background: rgba(196, 18, 48, 0.08);
}

.detail-demo-progress {
  height: 6px;
  background: #f0ece8;
}

.detail-demo-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transition: width 0.16s linear;
}

.detail-demo-meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4) var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.detail-figure-wrap {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: linear-gradient(180deg, #fffdfa 0%, #f8f7f5 100%);
  border-radius: var(--radius-lg);
}

.detail-figure {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

.detail-figure-caption {
  margin-top: var(--space-4);
}

.detail-stats-heading {
  margin-bottom: var(--space-8);
}

.detail-stats-list {
  display: grid;
  gap: var(--space-5);
}

.detail-stat-row {
  display: grid;
  grid-template-columns: 180px 100px minmax(0, 1fr);
  gap: var(--space-5);
  align-items: baseline;
}

.detail-stat-name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

.detail-stat-value {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}

.detail-stat-note {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ============================================================
   ABOUT PAGE — Featured Demo
   ============================================================ */
.featured-demo-section {
  border-top: 1px solid var(--color-border-light);
}

.featured-demo-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.featured-demo-header .section-subtitle {
  margin-bottom: var(--space-3);
}

.featured-demo-header .section-title {
  margin-bottom: 0;
}

.featured-demo-lead {
  max-width: 540px;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.featured-demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-8);
  align-items: start;
}

.featured-demo-copy h3 {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.4;
}

.featured-demo-copy > p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.85;
}

.featured-demo-kicker {
  display: inline-block;
  margin-bottom: var(--space-4);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-bg);
  border-radius: var(--radius-full);
}

.featured-demo-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.featured-demo-pill {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
}

.featured-demo-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: var(--space-8) 0;
}

.featured-demo-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
}

.featured-demo-card h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.featured-demo-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.featured-demo-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.featured-demo-metric {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f6 100%);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.featured-demo-metric strong {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--space-2) 0;
  line-height: 1.1;
}

.featured-demo-metric-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.featured-demo-metric-note {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.featured-demo-actions {
  margin-top: var(--space-6);
}

.featured-demo-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition);
}

.featured-demo-link:hover {
  gap: var(--space-3);
}

.featured-demo-visuals {
  display: grid;
  gap: var(--space-6);
}

.featured-demo-panel,
.featured-demo-figure-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.featured-demo-panel {
  padding: var(--space-6);
}

.featured-demo-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.featured-demo-panel-tag {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.featured-demo-panel h4 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
}

.featured-demo-run {
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-5);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 10px 24px rgba(196, 18, 48, 0.18);
}

.featured-demo-run:hover {
  transform: translateY(-1px);
}

.featured-demo-run:disabled {
  opacity: 0.7;
  cursor: wait;
}

.featured-demo-panel-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-5);
}

.featured-demo-stage-wrap {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fffdfa 0%, #f8f7f5 100%);
  overflow: hidden;
}

.featured-demo-phase {
  display: inline-flex;
  align-items: center;
  margin: var(--space-4) var(--space-4) 0;
  padding: var(--space-1) var(--space-3);
  background: var(--color-primary-bg);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-demo-stage {
  min-height: 280px;
  padding: var(--space-4);
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-secondary);
}

.featured-demo-placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  text-align: center;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.8;
  padding: 0 var(--space-4);
}

.featured-demo-paragraph + .featured-demo-paragraph {
  margin-top: var(--space-4);
}

.featured-demo-token {
  display: inline;
  border-radius: 4px;
  padding: 1px 2px;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.featured-demo-token.token-noise {
  color: #9a938c;
}

.featured-demo-token.token-active {
  color: var(--color-primary-dark);
  background: rgba(196, 18, 48, 0.14);
}

.featured-demo-token.token-settled {
  color: var(--color-text);
  background: rgba(196, 18, 48, 0.08);
}

.featured-demo-progress {
  height: 6px;
  background: #f0ece8;
}

.featured-demo-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transition: width 0.16s linear;
}

.featured-demo-meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4) var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.featured-demo-figure-card {
  padding: var(--space-5);
}

.featured-demo-figure {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  margin-bottom: var(--space-4);
}

.featured-demo-figure-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.75;
}

/* ============================================================
   NEWS PAGE
   ============================================================ */
.news-list {
  max-width: 800px;
  padding: var(--space-12) 0 var(--space-16);
}

.news-item {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  padding-left: var(--space-4);
}

.news-date {
  flex-shrink: 0;
  width: 132px;
}

.news-date-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.news-content {
  flex: 1;
  border-left: 3px solid var(--color-primary-bg);
  padding-left: var(--space-6);
  transition: border-color var(--transition);
}

.news-item:hover .news-content {
  border-color: var(--color-primary);
}

.news-content h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.news-content p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================================
   PUBLICATIONS PAGE
   ============================================================ */
.pub-list {
  padding-top: var(--space-10);
  padding-bottom: var(--space-16);
}

.pub-group + .pub-group {
  margin-top: var(--space-12);
}

.pub-group-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.pub-group-list {
  border-top: 1px solid var(--color-border-light);
}

.pub-item {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition);
}

.pub-item:hover {
  padding-left: var(--space-4);
}

.pub-item:last-child {
  border-bottom: none;
}

.pub-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.5;
}

.pub-authors {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-1);
}

.pub-venue {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: var(--space-3);
}

.pub-links {
  display: flex;
  gap: var(--space-3);
}

.pub-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-bg);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.03em;
}

.pub-link:hover {
  background: var(--color-primary);
  color: white;
}

/* ============================================================
   PROJECT PAGE
   ============================================================ */
.project-grid {
  display: block;
  padding: var(--space-10) 0 var(--space-16);
  border-top: 1px solid var(--color-border-light);
}

.project-card {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition);
}

.project-card:hover {
  padding-left: var(--space-4);
}

.project-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: var(--space-3);
}

.project-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.5;
}

.project-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.project-authors {
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.project-authors strong {
  color: var(--color-primary);
  font-weight: 600;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition);
}

.project-link:hover {
  gap: var(--space-3);
}

/* ============================================================
   COURSE PAGE
   ============================================================ */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  padding: var(--space-10) 0 var(--space-16);
}

.course-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  transition: all var(--transition);
  position: relative;
}

.course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.course-code {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-bg);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}

.course-card h3 {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.course-meta {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.course-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.course-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition);
}

.course-link:hover {
  gap: var(--space-3);
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-section {
  padding: var(--space-10) 0;
}

.team-section:first-of-type {
  padding-top: var(--space-12);
}

.team-role-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-primary-bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  transition: all var(--transition);
  min-height: 120px;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-bg);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--color-border-light);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.team-info .team-role {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.team-site-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.team-site-link:hover {
  color: var(--color-primary-dark);
}

.team-info .team-interest {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  padding: var(--space-10) 0;
  margin-top: var(--space-8);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-8);
}

.footer-brand {
  flex: 1;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-links h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: var(--space-2);
}

.footer-links ul li a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-links ul li a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-light);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-spotlight,
  .detail-media-split {
    grid-template-columns: 1fr;
  }

  .featured-demo-layout {
    grid-template-columns: 1fr;
  }

  .featured-demo-header {
    align-items: start;
    flex-direction: column;
  }

  .project-spotlight-header {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: var(--space-4);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: var(--text-3xl);
  }

  .research-grid {
    grid-template-columns: 1fr;
  }

  .project-spotlight-row,
  .detail-row,
  .detail-stat-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .featured-demo-highlights,
  .featured-demo-metrics {
    grid-template-columns: 1fr;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .news-item {
    flex-direction: column;
    gap: var(--space-3);
  }

  .detail-media-panel-head,
  .detail-demo-meta,
  .detail-hero-actions {
    flex-direction: column;
    align-items: start;
  }

  .featured-demo-panel-head,
  .featured-demo-meta {
    flex-direction: column;
    align-items: start;
  }

  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .hero h1 {
    font-size: var(--text-2xl);
  }

  .page-header h1 {
    font-size: var(--text-2xl);
  }
}

/* Additions reuse the reference site's palette, spacing and typography. */
[hidden] { display: none !important; }
.nav-toggle { border: 0; background: transparent; }
.nav-logo { flex-shrink: 0; }
.nav-links li a { white-space: nowrap; }
button, input { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(196, 18, 48, .35); outline-offset: 3px; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: var(--space-20); align-items: start; padding-top: var(--space-12); padding-bottom: var(--space-16); }
.auth-card { background: var(--color-surface); border: 1px solid var(--color-border-light); border-radius: var(--radius-md); padding: var(--space-8); box-shadow: var(--shadow-card); }
.auth-tabs { display: flex; border-bottom: 1px solid var(--color-border-light); margin-bottom: var(--space-8); gap: var(--space-8); }
.auth-tab { color: var(--color-text-muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 0 0 var(--space-3); margin-bottom: -1px; cursor: pointer; font-weight: 600; }
.auth-tab.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.auth-form-title { font-family: var(--font-serif); font-size: var(--text-2xl); line-height: 1.4; margin-bottom: var(--space-5); }
.auth-form { display: flex; flex-direction: column; }
.auth-form label { font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-2); }
.auth-form input { width: 100%; border: 1px solid var(--color-border); color: var(--color-text); background: var(--color-surface); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); min-height: 48px; margin-bottom: var(--space-5); transition: border-color var(--transition), box-shadow var(--transition); font-size: var(--text-sm); }
.auth-form input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-bg); outline: 0; }
.auth-form input::placeholder { color: var(--color-text-muted); }
.auth-password { position: relative; }
.auth-password input { padding-right: 64px; }
.password-toggle { position: absolute; top: 0; right: var(--space-3); height: 48px; border: 0; color: var(--color-text-muted); background: transparent; font-size: var(--text-xs); cursor: pointer; }
.password-toggle:hover { color: var(--color-primary); }
.auth-submit { display: block; text-align: center; background: var(--color-primary); color: #fff; font-weight: 600; font-size: var(--text-sm); line-height: 1.6; border: 1px solid var(--color-primary); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-5); min-height: 48px; cursor: pointer; transition: background var(--transition), transform var(--transition); }
.auth-submit:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-1px); }
.auth-card button:disabled, .auth-card input:disabled { opacity: .65; cursor: wait; }
.auth-switch { text-align: center; font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-5); }
.auth-switch button { border: 0; background: none; cursor: pointer; font-size: inherit; color: var(--color-primary); margin-left: var(--space-1); }
.auth-back { display: inline-block; font-size: var(--text-sm); margin-top: var(--space-8); color: var(--color-text-muted); }
.auth-status:empty { display: none; }
.auth-status { border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-5); font-size: var(--text-sm); overflow-wrap: anywhere; background: var(--color-surface-alt); color: var(--color-text-secondary); }
.auth-status.error { background: var(--color-primary-bg); color: var(--color-primary-dark); }
.auth-status.success { background: #edf7f1; color: #247647; }
.auth-handoff { font-size: var(--text-sm); margin-bottom: var(--space-5); }
.auth-aside { padding: var(--space-8) 0; max-width: 430px; }
.auth-eyebrow { color: var(--color-primary); font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-4); }
.auth-entry-lead { color: var(--color-text-secondary); font-size: var(--text-sm); line-height: 1.85; }
.auth-identity-note { color: var(--color-text-muted); font-size: var(--text-xs); margin-top: var(--space-5); line-height: 1.8; }
.auth-legacy { color: var(--color-text-muted); border-top: 1px solid var(--color-border-light); padding-top: var(--space-5); margin-top: var(--space-6); font-size: var(--text-xs); line-height: 1.9; }
.auth-aside h2 { font-family: var(--font-serif); font-weight: 600; font-size: var(--text-3xl); line-height: 1.45; letter-spacing: -.02em; }
.auth-aside-rule { width: 42px; height: 2px; background: var(--color-primary); margin: var(--space-8) 0; }
.auth-aside p { color: var(--color-text-secondary); font-size: var(--text-sm); line-height: 1.85; margin-bottom: var(--space-4); }
.auth-aside-link { display: inline-block; margin-top: var(--space-5); font-size: var(--text-sm); font-weight: 600; }
.account-avatar { width: 56px; height: 56px; border-radius: var(--radius-full); background: var(--color-primary-bg); display: grid; place-items: center; color: var(--color-primary); font-size: var(--text-2xl); font-family: var(--font-serif); margin-bottom: var(--space-4); }
.account-panel h3 { font-size: var(--text-lg); overflow-wrap: anywhere; }
.account-panel p { font-size: var(--text-sm); color: var(--color-text-muted); overflow-wrap: anywhere; }
.account-actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-8); }
.auth-secondary { display: block; text-align: center; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-5); font-size: var(--text-sm); font-weight: 600; }
.auth-secondary:hover { border-color: var(--color-primary); background: var(--color-primary-bg); }
.auth-logout { border: 0; background: none; color: var(--color-text-muted); padding: var(--space-2); margin-top: var(--space-3); font-size: var(--text-sm); cursor: pointer; }
.auth-logout:hover { color: var(--color-primary); }
@media (min-width: 769px) and (max-width: 1120px) { .nav-links li a { padding-left: var(--space-3); padding-right: var(--space-3); } .nav-logo { font-size: var(--text-lg); gap: var(--space-2); } }
@media (max-width: 900px) { .auth-layout { gap: var(--space-8); grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } .auth-aside h2 { font-size: var(--text-2xl); } }
@media (min-width: 769px) and (max-width: 1100px) { .nav-links { display: none; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--color-surface); flex-direction: column; padding: var(--space-4); border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); max-height: calc(100dvh - var(--nav-height)); overflow-y: auto; } .nav-links.open { display: flex; } .nav-toggle { display: flex; } }
@media (max-width: 768px) { .auth-layout { grid-template-columns: 1fr; } .auth-card { max-width: 520px; width: 100%; margin: 0 auto; } .auth-aside { max-width: 520px; width: 100%; margin: 0 auto; padding-top: var(--space-3); } .nav-links { max-height: calc(100dvh - var(--nav-height)); overflow-y: auto; } }
@media (max-width: 480px) { .auth-card { padding: var(--space-6); } .auth-layout { padding-top: var(--space-8); padding-bottom: var(--space-10); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* Visual layer only. Content, route handlers and data remain in their original files. */
:root {
  --color-bg: #f6f8fc;
  --color-surface: #ffffff;
  --color-surface-alt: #eef2f8;
  --color-border: #d7e0ed;
  --color-border-light: #e6ebf3;
  --color-primary: #386ff5;
  --color-primary-light: #7198ff;
  --color-primary-dark: #244fc1;
  --color-primary-bg: #eaf0ff;
  --color-text: #122038;
  --color-text-secondary: #52617b;
  --color-text-muted: #72809a;
  --color-accent: #386ff5;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --max-width: 1360px;
  --nav-height: 88px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --shadow-card: 0 5px 24px rgb(23 49 91 / 4%);
  --shadow-md: 0 10px 28px rgb(23 49 91 / 9%);
}

body {
  background: #f6f8fc;
  color: var(--color-text);
}

.container { padding-inline: 48px; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #7198ff;
  outline-offset: 5px;
}

.navbar {
  background: rgb(14 29 48 / 97%);
  border-bottom: 1px solid rgb(208 223 248 / 12%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body:has(#page-about.active) .navbar:not(.scrolled) {
  background: linear-gradient(90deg, rgb(13 27 45 / 56%), rgb(18 36 57 / 36%));
}

.navbar.scrolled {
  background: rgb(14 29 48 / 97%);
  box-shadow: 0 3px 24px rgb(7 20 39 / 12%);
}

.nav-logo,
.nav-logo:hover { color: #fff; }
.nav-logo { font-size: 29px; font-weight: 500; gap: 13px; letter-spacing: -.035em; }
.nav-logo-icon {
  width: 39px;
  height: 43px;
  border: 1px solid #adbfdf;
  border-radius: 0;
  background: transparent;
  color: #f6f9ff;
  font-size: 29px;
  font-weight: 400;
}

.nav-links { gap: 4px; align-items: center; }
.nav-links li a {
  padding: 9px 15px;
  color: #dde7f7;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .025em;
  border: 1px solid transparent;
  border-radius: 4px;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: #fff;
  background: rgb(217 231 255 / 11%);
  font-weight: 400;
}
.nav-toggle { padding: 12px; }
.nav-toggle span { background: #f3f7ff; }

/* The existing introduction shares the hero's visual canvas without changing the DOM. */
#page-about.active {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
#page-about > .hero {
  grid-area: 1 / 1;
  min-height: 660px;
  padding: 164px 0 0;
  text-align: left;
  background-color: #132336;
  background-image: linear-gradient(90deg, rgb(8 21 36 / 48%) 0%, rgb(8 21 36 / 22%) 40%, transparent 72%), url('/img/architecture-hero-20261019.png');
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid #ccd7e7;
}
.hero::before {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: linear-gradient(180deg, rgb(9 23 42 / 17%), transparent 40%, rgb(9 23 42 / 12%));
  pointer-events: none;
}
.hero::after { content: none; }
.hero-content { width: 100%; }
.hero h1 {
  max-width: 600px;
  color: #fff;
  font-size: clamp(76px, 8.5vw, 116px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.055em;
  margin-bottom: 20px;
  text-shadow: 0 2px 15px rgb(6 19 32 / 8%);
}
.hero .tagline {
  max-width: 465px;
  color: #e4edfb;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.38;
  font-weight: 400;
  letter-spacing: -.02em;
}
#page-about > .section-alt {
  grid-area: 1 / 1;
  align-self: end;
  padding: 0 0 62px;
  background: transparent;
  position: relative;
  z-index: 1;
}
.about-intro {
  max-width: var(--max-width);
  text-align: left;
  padding: 0 48px;
}
.about-intro p {
  max-width: 465px;
  color: #d1ddef;
  font-size: 14px;
  line-height: 1.85;
  text-wrap: pretty;
}
#page-about > .section:last-child {
  grid-area: 2 / 1;
  padding: 46px 0 54px;
  background: linear-gradient(180deg, #f1f5fb, #f8faff);
}
.section-title {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.035em;
}
.section-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #5576ad;
  margin-bottom: 25px;
}
.research-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
  margin-top: 24px;
}
.research-card {
  min-width: 0;
  border: 1px solid rgb(255 255 255 / 88%);
  padding: 25px 19px 24px;
  text-align: left;
  box-shadow: var(--shadow-card);
  border-radius: 5px;
  background: rgb(255 255 255 / 85%);
}
.research-card::before { content: none; }
.research-card:hover {
  border-color: #c9d8f1;
  box-shadow: 0 10px 26px rgb(47 79 127 / 9%);
}
.research-card-icon {
  justify-content: flex-start;
  margin: 0 0 20px;
  height: 36px;
  width: 36px;
  background: transparent;
  color: #5075bb;
}
.research-card-icon svg { width: 32px; height: 32px; stroke-width: 1.2; overflow: visible; }
.research-card h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -.025em;
  margin-bottom: 12px;
  min-height: 67px;
}
.research-card p { font-size: 12px; line-height: 1.75; color: #62708a; }

/* Shared public pages retain their existing lists, data and interactions. */
.page-header,
.detail-hero .page-header {
  padding: 147px 0 56px;
  background: linear-gradient(90deg, #eef3fb 0%, rgb(240 245 252 / 98%) 43%, rgb(235 242 252 / 83%) 100%), url('/img/architecture-hero-20261019.png') center 43% / cover;
  border-bottom: 1px solid #e1e8f2;
}
.page-header h1 { font-size: 52px; font-weight: 500; letter-spacing: -.04em; line-height: 1.2; margin-bottom: 15px; }
.page-header p { font-size: 15px; max-width: 660px; color: #64738c; line-height: 1.8; }
.page:not(#page-about) { min-height: 70vh; }
.page.active:not(#page-about) { padding-bottom: 10px; }
.news-list { max-width: 1120px; padding: 36px 48px 64px; }
.news-item { gap: 32px; padding-block: 28px; }
.news-date { width: 124px; padding-top: 3px; }
.news-date-tag { background: transparent; padding: 0; color: #607db1; font-size: 12px; font-weight: 400; }
.news-content { padding-left: 28px; border-left: 1px solid #dbe4f1; min-width: 0; }
.news-content h3 { font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.news-content p { line-height: 1.9; }
.pub-list { padding-block: 42px 64px; }
.pub-group-title { font-size: 29px; font-weight: 500; letter-spacing: -.03em; }
.pub-title { font-size: 17px; font-weight: 500; }
.pub-venue { font-style: normal; color: #5e7caf; font-size: 12px; }
.pub-link { border-radius: 4px; padding: 4px 12px; font-weight: 500; }
.pub-links { flex-wrap: wrap; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; border: 0; padding-block: 42px 64px; }
.project-card {
  background: linear-gradient(150deg, #10243c, #1b3455);
  border: 1px solid #253d5e;
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 8px 25px rgb(19 37 64 / 6%);
}
.project-card:hover { padding-left: 32px; border-color: #5e83bd; box-shadow: 0 12px 34px rgb(19 37 64 / 11%); }
.project-label { color: #a9c3ef; font-size: 11px; font-style: normal; letter-spacing: .08em; }
.project-card h3 { color: #fff; font-family: var(--font-serif); font-size: 32px; font-weight: 500; }
.project-card p { color: #bfcee4; line-height: 1.9; }
.project-card .project-authors strong { color: #d9e6fc; }
.project-card .project-link { color: #bfd5ff; margin-top: 12px; }
.course-grid { padding-block: 42px 64px; gap: 24px; }
.course-card { padding: 32px; border-color: #e1e7f0; box-shadow: var(--shadow-card); }
.course-card h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 500; }
.course-code { font-weight: 500; letter-spacing: .03em; }
.team-section { padding-top: 42px; }
.team-role-title { font-family: var(--font-serif); font-size: 29px; font-weight: 500; letter-spacing: -.025em; }
.team-card { box-shadow: var(--shadow-card); border-color: #e2e9f3; }
.team-avatar { border-color: #e5edfb; }
.team-info h3 { font-weight: 500; }
.team-site-link { color: #5379ba; }
.auth-layout { padding-block: 44px 64px; gap: 80px; }
.auth-card { padding: 34px; border-color: #e0e7f2; box-shadow: 0 10px 36px rgb(28 51 88 / 5%); }
.auth-aside { padding-top: 32px; }
.auth-aside h2 { font-size: 38px; font-weight: 500; line-height: 1.3; }
.auth-form-title { font-weight: 500; }
.auth-submit { background: #386ff5; border-color: #386ff5; box-shadow: 0 4px 12px rgb(56 111 245 / 12%); }
.auth-submit:hover { background: #285bd4; }
.auth-status.error { color: #922e3c; background: #fff0f2; }

.footer {
  margin-top: 0;
  padding: 36px 0 22px;
  background: linear-gradient(110deg, #e9eff8, #f0f4fa);
  border-top: 1px solid #dce5f1;
}
.footer-content { display: grid; grid-template-columns: 1.7fr 1.1fr .8fr; gap: 42px; }
.footer-brand h3 { font-size: 29px; font-weight: 500; letter-spacing: -.035em; }
.footer-brand p { font-size: 12px; max-width: 330px; line-height: 1.7; }
.footer-links { border-left: 1px solid #d9e3f0; padding-left: 30px; }
.footer-links h4 { font-size: 11px; letter-spacing: .035em; text-transform: none; color: #253e64; }
.footer-links ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.footer-links li { margin: 0; }
.footer-links ul li a { color: #627493; font-size: 11px; }
.footer-links ul li a:hover { color: #386ff5; }
.footer-content > .footer-links:last-child ul { grid-template-columns: 1fr; }
.footer-bottom { margin-top: 28px; padding-top: 18px; text-align: left; border-color: #d8e2f0; font-size: 10px; color: #7a89a1; }

@media (min-width: 769px) and (max-width: 1100px) {
  .nav-logo { font-size: 27px; gap: 12px; }
}
@media (max-width: 1150px) {
  .research-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .research-card h3 { min-height: 45px; font-size: 18px; }
  .research-card p { font-size: 13px; }
}
@media (max-width: 1100px) {
  .nav-links {
    background: #142840;
    border-color: #34465f;
    padding: 14px 24px 22px;
    gap: 5px;
    align-items: stretch;
    box-shadow: 0 16px 24px rgb(6 18 34 / 16%);
  }
  .nav-links li a { padding: 12px 16px; font-size: 14px; }
}
@media (max-width: 768px) {
  :root { --nav-height: 76px; }
  .container { padding-inline: 25px; }
  .nav-logo { font-size: 26px; }
  .nav-logo-icon { width: 31px; height: 36px; font-size: 24px; }
  #page-about > .hero { min-height: 680px; padding-top: 147px; background-position: 56% center; }
  .hero h1 { font-size: clamp(64px, 12vw, 88px); margin-bottom: 18px; }
  .hero .tagline { font-size: 27px; max-width: 365px; }
  .about-intro { padding-inline: 25px; }
  .about-intro p { max-width: 420px; font-size: 14px; line-height: 1.85; }
  #page-about > .section-alt { padding-bottom: 48px; }
  #page-about > .section:last-child { padding-block: 34px 40px; }
  .section-title { font-size: 30px; }
  .research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .research-card { padding: 23px 20px; }
  .research-card h3 { min-height: 75px; }
  .page-header, .detail-hero .page-header { padding: 120px 0 38px; }
  .page-header h1 { font-size: 40px; }
  .page-header p { font-size: 14px; }
  .news-list { padding: 20px 25px 42px; }
  .news-item { gap: 12px; padding-block: 25px; }
  .news-content { padding-left: 20px; }
  .project-grid { grid-template-columns: 1fr; padding-block: 28px 42px; }
  .project-card, .project-card:hover { padding: 27px; }
  .course-grid { grid-template-columns: 1fr; }
  .auth-layout { gap: 36px; padding-block: 32px 44px; }
  .auth-card { padding: 27px; }
  .auth-aside h2 { font-size: 32px; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-links { padding-left: 0; border: 0; }
  .footer-links ul { gap: 9px 16px; }
  .footer-links ul li a { font-size: 12px; }
}
@media (max-width: 480px) {
  #page-about > .hero { min-height: 640px; padding-top: 137px; background-position: 48% center; }
  #page-about > .hero { background-image: linear-gradient(90deg, rgb(8 21 36 / 80%), rgb(8 21 36 / 72%)), url('/img/architecture-hero-20261019.png'); }
  .hero h1 { font-size: 68px; }
  .hero .tagline { font-size: 26px; max-width: 320px; }
  #page-about > .section-alt { padding-bottom: 44px; }
  .about-intro p { font-size: 13px; line-height: 1.9; }
  .research-grid { grid-template-columns: 1fr; }
  .research-card { padding: 24px; }
  .research-card h3 { min-height: 0; margin-bottom: 10px; font-size: 20px; }
  .research-card-icon { margin-bottom: 13px; }
  .research-card p { font-size: 13px; }
  .page-header h1 { font-size: 36px; }
  .course-card { padding: 26px; }
  .footer { padding-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .page { animation: none; }
}

/* Full reference composition; all editorial content comes from the original site. */
:root { --color-primary: #397bff; --color-primary-dark: #2861d9; --color-bg: #f5f7fa; --color-text: #18253a; --color-text-secondary: #66758c; --max-width: 1360px; --nav-height: 82px; }
.navbar .container, #page-about .container, .footer .container { padding-inline: 48px; }
.navbar .container { gap: 28px; }
.nav-logo { font-family: Georgia, 'Times New Roman', serif; font-size: 29px; position: relative; padding-bottom: 14px; gap: 12px; font-weight: 400; }
.nav-logo::after { content: 'Math2AI: From Math To the Artificial Intelligence'; position: absolute; left: 52px; bottom: 0; font: 9px/1.3 var(--font-sans); color: #d3dfef; white-space: nowrap; letter-spacing: 0; }
.nav-logo { min-width: 255px; }
.nav-logo-icon { width: 39px; height: 40px; border: 0; font-size: 0; background: url('/img/mathonai.svg') center / contain no-repeat; }
.nav-links { flex: 1; justify-content: space-between; max-width: 800px; }
.nav-links li a { font-size: 12px; padding: 8px 13px; }
body:has(#page-about.active) .navbar:not(.scrolled) { background: linear-gradient(180deg, rgb(8 21 36 / 82%), rgb(8 21 36 / 62%)); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-links li a { text-shadow: 0 1px 8px rgb(8 21 36 / 25%); }
#page-about.active { display: block; animation: none; }
#page-about > .hero.ref-hero {
  min-height: 635px; padding: 128px 0 54px; grid-area: auto;
  background-color: #111d2d;
  background-image: linear-gradient(90deg, rgb(7 19 33 / 18%), transparent 65%), url('/img/design-20261019/hero-clean.png');
  background-size: cover; background-position: center; border: 0;
}
#page-about .ref-hero::before, #page-about .ref-hero::after { content: none; }
#page-about .ref-hero h1 { color: #d1e2fa; font: 500 11px/1.4 var(--font-sans); letter-spacing: .15em; text-transform: uppercase; max-width: 570px; margin: 0 0 18px; text-shadow: none; }
#page-about .ref-hero .tagline { color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(43px, 4.8vw, 65px); font-weight: 400; letter-spacing: -.045em; line-height: 1.025; max-width: 560px; margin: 0 0 25px; text-wrap: balance; }
.ref-hero-lead { color: #cbd8e8; font-size: 14px; line-height: 1.65; max-width: 540px; margin-bottom: 22px; }
.ref-hero-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.ref-button { color: #fff; background: #397bff; border: 1px solid #538cff; border-radius: 4px; padding: 0 24px; min-height: 47px; min-width: 170px; display: inline-flex; justify-content: center; align-items: center; gap: 22px; font-size: 13px; font-weight: 500; }
.ref-button:hover { color: #fff; background: #528aff; }
.ref-button-outline { min-width: 180px; background: rgb(19 34 52 / 15%); border-color: #8b9caf; gap: 16px; }
.ref-button-outline:hover { background: rgb(224 237 255 / 13%); }
.ref-play { height: 31px; width: 31px; display: grid; place-items: center; border: 1px solid #b2c2d5; border-radius: 50%; font-size: 15px; }
.research-card-icon svg { visibility: hidden; }
.research-card-icon { background-repeat: no-repeat; background-position: center; background-size: contain; }
.research-card:nth-child(1) .research-card-icon { background-image: url('/img/design-20261019/08_icons/01_sigma.svg'); }
.research-card:nth-child(2) .research-card-icon { background-image: url('/img/design-20261019/08_icons/02_diffusion.svg'); }
.research-card:nth-child(3) .research-card-icon { background-image: url('/img/design-20261019/08_icons/03_agent_cube.svg'); }
.research-card:nth-child(4) .research-card-icon { background-image: url('/img/design-20261019/08_icons/04_sine_wave.svg'); }
.research-card:nth-child(5) .research-card-icon { background-image: url('/img/design-20261019/08_icons/05_network.svg'); }
.research-card:nth-child(6) .research-card-icon { background-image: url('/img/design-20261019/08_icons/06_molecule.svg'); }
#page-about .home-research { padding: 27px 0 28px; background: linear-gradient(180deg,#f8fafc,#f2f6fb); }
#page-about .section-title { font: 400 31px/1.15 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; margin-bottom: 6px; }
#page-about .section-subtitle { font-size: 10px; letter-spacing: .09em; margin: 0 0 14px; }
#page-about .research-grid { margin-top: 0; gap: 12px; }
#page-about .research-card { padding: 18px 19px 19px; border-radius: 4px; min-height: 228px; box-shadow: 0 4px 20px rgb(34 56 86 / 2%); }
#page-about .research-card-icon { height: 34px; width: 34px; margin-bottom: 16px; }
#page-about .research-card h3 { font: 400 16px/1.32 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; min-height: 64px; margin-bottom: 10px; }
#page-about .research-card p { font-size: 11px; line-height: 1.65; color: #6a778e; }
.ref-updates { padding: 24px 0 22px; background: #fafbfd; }
.ref-updates-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 29px; }
.ref-publications { padding-right: 29px; border-right: 1px solid #e2e8f1; min-width: 0; }
.ref-news { min-width: 0; }
.ref-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.ref-section-head h2 { font: 400 31px/1.2 Georgia, 'Times New Roman', serif; color: #121d30; letter-spacing: -.04em; }
.ref-section-head > a { font-size: 10px; color: #405879; white-space: nowrap; }
.ref-section-head > a span { margin-left: 9px; }
.ref-pub-row { display: grid; grid-template-columns: 83px minmax(0,1fr); gap: 16px; padding: 12px 0; border-top: 1px solid #e1e7f0; }
.ref-pub-row > img { width: 83px; height: 54px; object-fit: cover; border-radius: 3px; margin-top: 2px; }
.ref-pub-copy h3 { font: 500 12px/1.45 var(--font-sans); letter-spacing: -.025em; margin-bottom: 3px; }
.ref-pub-copy .authors { color: #75829a; font-size: 10px; line-height: 1.5; }
.ref-pub-copy .venue { color: #5176b5; font-size: 10px; line-height: 1.5; display: inline; }
.ref-pub-copy .links { display: inline-flex; flex-wrap: wrap; gap: 5px; margin: 3px 0 0 8px; }
.ref-pub-copy .pub-link { font-size: 9px; line-height: 1.3; padding: 2px 7px; font-weight: 400; border-radius: 10px; }
.ref-news-row { display: grid; grid-template-columns: 118px minmax(0,1fr); gap: 17px; padding: 12px 0; border-top: 1px solid #e1e7f0; }
.ref-news-row > img { width: 118px; height: 65px; object-fit: cover; border-radius: 3px; margin-top: 2px; }
/* Supplied screenshot thumbnails include preceding-row fragments at the top. */
.ref-pub-row > img, .ref-news-row > img { object-position: center bottom; transform: scale(2); transform-origin: center bottom; clip-path: inset(50% 25% 0 25% round 1.5px); border-radius: 0; }
.ref-news-copy time { color: #8b9ab3; font-size: 10px; line-height: 1.5; }
.ref-news-copy h3 { font-size: 12px; font-weight: 500; line-height: 1.5; margin: 2px 0 7px; }
.ref-news-copy p { font-size: 11px; color: #64738d; line-height: 1.7; }
/* Homepage news uses its real dates as a continuous vertical timeline. */
#page-about .ref-news { display: flex; flex-direction: column; }
#home-news-list { position: relative; flex: 1; min-height: 240px; padding-top: 4px; }
#home-news-list::before { content: ''; position: absolute; top: 26px; bottom: 20px; left: 6px; width: 1px; background: linear-gradient(180deg, #8fb4ed, #cbdcf4 80%, rgb(203 220 244 / 15%)); }
#home-news-list .ref-news-row { position: relative; display: block; padding: 12px 0 28px 35px; border: 0; }
#home-news-list .ref-news-row::before { content: ''; position: absolute; top: 17px; left: 1px; width: 11px; height: 11px; border: 2px solid #397bff; border-radius: 50%; background: #f8fafd; box-shadow: 0 0 0 4px #edf3fc; z-index: 1; }
#home-news-list .ref-news-row::after { content: ''; position: absolute; top: 22px; left: 12px; width: 14px; height: 1px; background: #c6d8f3; }
#home-news-list .ref-news-row > img { display: none; }
#home-news-list .ref-news-copy { min-width: 0; }
#home-news-list .ref-news-copy time { display: block; width: fit-content; color: #4775b4; font-size: 11px; font-weight: 500; line-height: 1.65; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
#home-news-list .ref-news-copy h3 { margin: 9px 0 9px; color: #192b46; font-size: 14px; font-weight: 500; line-height: 1.5; }
#home-news-list .ref-news-copy p { color: #64738d; font-size: 12px; line-height: 1.85; overflow-wrap: anywhere; }
#home-news-list:empty { min-height: 0; padding: 0; }
#home-news-list:empty::before { content: none; }
@media (max-width: 600px) {
  #home-news-list { min-height: 200px; }
  #home-news-list .ref-news-row { padding-left: 29px; padding-bottom: 25px; }
  #home-news-list .ref-news-row::after { width: 10px; }
  #home-news-list .ref-news-copy h3 { font-size: 14px; }
  #home-news-list .ref-news-copy p { font-size: 12px; }
}
.ref-projects { padding: 0 0 24px; background: #fafbfd; }
#home-project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.ref-project-card { min-width: 0; position: relative; min-height: 160px; border: 1px solid #bac8da; border-radius: 5px; overflow: hidden; background: #071625; box-shadow: 0 2px 5px rgb(26 47 76 / 5%); }
.ref-project-image { position: absolute; inset: 0 0 auto; height: 83px; background-size: 100% auto; background-position: center -27px; background-repeat: no-repeat; opacity: .9; }
.ref-project-image::after { content: ''; position: absolute; inset: 28px 0 0; background: linear-gradient(180deg,transparent 0,#071625 20px); }
.ref-project-copy { position: relative; padding: 72px 18px 18px; color: #fff; }
.ref-project-copy .project-label { display: none; }
.ref-project-copy h3 { color: #fff; font: 600 19px/1.2 var(--font-sans); margin-bottom: 7px; letter-spacing: -.035em; }
.ref-project-copy p { font-size: 11px; color: #c0cfe3; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-width: 85%; }
.ref-project-copy p.project-authors { display: none; }
.ref-project-copy a, .ref-project-copy a:hover { position: absolute; inset: 0; color: transparent; font-size: 0; margin: 0; overflow: hidden; background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none; padding: 0; min-height: 0; display: block; }
.ref-project-copy a::after { content: '→'; display: grid; place-items: center; position: absolute; right: 17px; bottom: 18px; width: 35px; height: 35px; border: 1px solid #9cb1cc; border-radius: 50%; color: #e3edfa; font: 24px/1 Georgia,serif; }
.ref-project-card:focus-within { outline: 3px solid #397bff; outline-offset: 3px; }
.ref-project-card:hover { border-color: #76a7ff; }
.ref-courses { padding: 30px 0 44px; background: linear-gradient(180deg, #f8fafd, #edf3fa); border-top: 1px solid #e1e8f2; }
.ref-courses .ref-section-head { margin-bottom: 20px; }
.ref-course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ref-course-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid #d8e3f2; border-radius: 9px; background: rgb(255 255 255 / 76%); box-shadow: 0 8px 30px rgb(44 80 130 / 4%); }
.ref-course-code { color: #5685c7; font-size: 11px; letter-spacing: .1em; line-height: 1.5; margin-bottom: 15px; }
.ref-course-card h3 { color: #1b2d48; font: 400 25px/1.25 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; margin-bottom: 16px; overflow-wrap: anywhere; }
.ref-course-meta { display: flex; flex-wrap: wrap; gap: 7px 20px; color: #6b7e99; font-size: 11px; line-height: 1.7; margin-bottom: 13px; }
.ref-course-card > p { color: #657993; font-size: 12px; line-height: 1.8; margin-bottom: 22px; white-space: pre-line; overflow-wrap: anywhere; }
.ref-course-card > p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ref-course-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); column-gap: 32px; align-content: start; }
.ref-course-image { grid-column: 1; grid-row: 1 / 7; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 6px; align-self: center; }
.ref-course-featured > :not(img) { grid-column: 2; }
.ref-course-details { color: #486a98; font-size: 12px; margin-top: 13px; }
.ref-course-details:hover { color: #245cb8; }
.ref-course-details:focus-visible { outline: 2px solid #397bff; outline-offset: 4px; }
.ref-course-card > a.course-link { color: #397bff; font-size: 12px; line-height: 1.6; margin-top: auto; padding-block: 5px; }
.ref-course-card > a.course-link:hover { color: #245cb8; }
.ref-course-card > a.course-link:focus-visible { outline: 2px solid #397bff; outline-offset: 5px; border-radius: 2px; }
@media (max-width: 700px) {
  .ref-courses { padding-block: 26px 34px; }
  .ref-course-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ref-course-card { padding: 23px; }
  .ref-course-card h3 { font-size: 23px; }
  .ref-course-featured { display: flex; }
  .ref-course-image { max-height: 190px; aspect-ratio: 5 / 3; margin-bottom: 22px; }
}
.footer { padding: 27px 0 16px; background: #eaf0f8; }
.footer-content { gap: 36px; grid-template-columns: 1.5fr 1fr; }
.footer-brand h3 { font: 400 28px/1.2 Georgia,serif; }
.footer-brand p { font-size: 10px; }
.footer-links h4 { margin-bottom: 10px; }
.footer-links ul { gap: 7px 16px; }
.footer-links ul li a { font-size: 10px; }
.footer-bottom { margin-top: 23px; padding-top: 13px; font-size: 9px; }
@media (min-width: 1101px) and (max-width: 1250px) { .nav-links li a { padding-inline: 10px; } }
@media (max-width: 1100px) { .nav-links { max-width: none; justify-content: flex-start; flex: initial; } }
@media (max-width: 1150px) {
  #page-about .research-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
  #page-about .research-card { padding: 16px 13px; }
  #page-about .research-card h3 { font-size: 14px; min-height: 73px; }
  #page-about .research-card p { font-size: 10px; }
  .ref-updates-grid { grid-template-columns: 1.2fr .95fr; gap: 22px; }
  .ref-publications { padding-right: 22px; }
}
@media (max-width: 900px) {
  .navbar .container, #page-about .container, .footer .container { padding-inline: 28px; }
  #page-about > .hero.ref-hero { padding-top: 125px; min-height: 600px; background-position: 55% center; }
  #page-about .ref-hero .tagline { max-width: 460px; font-size: 52px; }
  .ref-hero-lead { max-width: 430px; font-size: 13px; }
  #page-about .research-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #page-about .research-card h3 { font-size: 17px; min-height: 44px; }
  #page-about .research-card p { font-size: 12px; }
  .ref-updates-grid { grid-template-columns: 1fr; }
  .ref-publications { border: 0; padding-right: 0; }
  .ref-news { padding-top: 15px; }
  .ref-project-copy h3 { font-size: 17px; }
  .ref-project-copy p { max-width: 100%; }
  .ref-project-copy a::after { width: 25px; height: 25px; font-size: 18px; right: 10px; bottom: 10px; }
}
@media (max-width: 600px) {
  :root { --nav-height: 76px; }
  .nav-logo { font-size: 25px; padding-bottom: 12px; min-width: 0; }
  .nav-logo::after { font-size: 7px; left: 45px; }
  .nav-logo-icon { width: 32px; height: 34px; font-size: 0; }
  .navbar .container, #page-about .container, .footer .container { padding-inline: 23px; }
  #page-about > .hero.ref-hero { min-height: 620px; padding: 122px 0 45px; background-position: 48% center; background-image: linear-gradient(90deg,rgb(7 19 33 / 80%),rgb(7 19 33 / 58%)),url('/img/design-20261019/hero-clean.png'); }
  #page-about .ref-hero h1 { font-size: 10px; margin-bottom: 16px; }
  #page-about .ref-hero .tagline { font-size: 45px; line-height: 1.05; margin-bottom: 24px; max-width: 355px; }
  .ref-hero-lead { font-size: 13px; line-height: 1.7; margin-bottom: 25px; }
  .ref-hero-actions { gap: 12px; }
  .ref-button, .ref-button-outline { min-width: 0; flex: 1; min-height: 43px; padding-inline: 10px; gap: 12px; font-size: 12px; }
  .ref-play { height: 25px; width: 25px; font-size: 13px; }
  #page-about .home-research { padding-block: 26px; }
  #page-about .section-title,.ref-section-head h2 { font-size: 29px; }
  #page-about .research-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  #page-about .research-card { min-height: 0; padding: 18px 13px; }
  #page-about .research-card h3 { font-size: 15px; min-height: 60px; }
  #page-about .research-card p { font-size: 10px; line-height: 1.6; }
  #page-about .research-card-icon { width: 30px; height: 30px; margin-bottom: 13px; }
  .ref-updates { padding-top: 18px; }
  .ref-pub-row { grid-template-columns: 62px minmax(0,1fr); gap: 11px; }
  .ref-pub-row>img { width: 62px; height: 42px; }
  .ref-pub-copy h3 { font-size: 11px; }
  .ref-news-row { grid-template-columns: 82px minmax(0,1fr); gap: 13px; }
  .ref-news-row>img { width: 82px; height: 52px; }
  #home-project-grid { grid-template-columns: 1fr; }
  .ref-project-card { min-height: 145px; }
  .ref-project-image { background-size: 100% auto; background-position: center -27px; }
  .ref-project-copy { padding-top: 62px; }
  .ref-project-copy h3 { font-size: 19px; }
  .ref-project-copy p { max-width: 85%; }
  .ref-project-copy a::after { right: 16px; bottom: 18px; width: 32px; height: 32px; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { #page-about .research-card { transition: none !important; } }

/* The source grid remains a fallback, not a second visible team presentation. */
#team-container[hidden] { display: none; }
.team-carousel {
  --tc-paper: #f4f3ee;
  --tc-muted: #b6b7b1;
  --tc-card-width: min(70vw, 1360px);
  --tc-gap: clamp(20px, 2.4vw, 42px);
  margin: 0;
  padding: clamp(36px, 4.6vw, 76px) 0 24px;
  color: var(--tc-paper);
  background: #151614;
  overflow: hidden;
  isolation: isolate;
  color-scheme: dark;
}
.team-carousel[hidden] { display: none; }
.team-carousel *, .team-carousel *::before, .team-carousel *::after { box-sizing: border-box; }
.team-carousel .tc-header {
  width: var(--tc-card-width);
  margin: 0 auto clamp(24px, 3vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.team-carousel .tc-heading { max-width: 760px; }
.team-carousel.tc-with-page-heading { padding-top: 28px; }
.team-carousel.tc-with-page-heading .tc-header { justify-content: flex-end; }
@media (min-width: 1101px) { .team-carousel .tc-header { width: min(56vw, 1440px); } }
.team-carousel .tc-title {
  color: var(--tc-paper);
  font: 500 clamp(26px, 2.3vw, 38px)/1.15 Georgia, 'Times New Roman', serif;
  letter-spacing: -.025em;
  margin: 0 0 10px;
}
.team-carousel .tc-subtitle {
  color: var(--tc-muted);
  font: 400 14px/1.6 var(--font-sans, Arial, sans-serif);
  margin: 0;
}
.team-carousel .tc-controls { display: flex; gap: 10px; flex-shrink: 0; }
.team-carousel .tc-control {
  width: 50px;
  height: 50px;
  border-radius: 17px;
  border: 1px solid #4b4c46;
  background: transparent;
  color: var(--tc-paper);
  font: 400 24px/1 Arial, sans-serif;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s, border-color .2s;
}
.team-carousel .tc-pause { font-size: 17px; }
.team-carousel .tc-control:hover { background: #35362f; border-color: #898b80; }
.team-carousel .tc-control:disabled { opacity: .35; cursor: default; }
.team-carousel :is(button, a):focus-visible { outline: 2px solid #c9dcff; outline-offset: 5px; }
.team-carousel .tc-viewport {
  --tc-stage-height: max(520px, var(--tc-copy-height, 0px));
  height: calc(var(--tc-stage-height) + 24px);
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.team-carousel .tc-track { height: 100%; position: relative; }
.team-carousel .tc-card {
  position: absolute;
  inset-block: 12px;
  left: 50%;
  width: calc(var(--tc-card-width) * var(--tc-width-factor));
  border-radius: 26px;
  background: #343630;
  overflow: hidden;
  display: block;
  transform: translateX(calc(var(--tc-card-width) * var(--tc-anchor) + var(--tc-gap) * var(--tc-gap-offset))) translateX(var(--tc-pointer-x, 0px)) skewX(var(--tc-pointer-skew, 0deg)) scaleX(var(--tc-pointer-stretch, 1));
  scale: 1;
  transform-origin: center;
  transition: scale .45s cubic-bezier(.2, .7, .3, 1);
  opacity: .42;
  contain: layout;
}
.team-carousel .tc-card[data-active='true'] { opacity: 1; }
.team-carousel .tc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background: linear-gradient(128deg, transparent 36%, #77796b 36.2%, #77796b 36.5%, transparent 36.7%), linear-gradient(24deg, transparent 51%, #77796b 51.2%, #77796b 51.5%, transparent 51.7%);
}
.team-carousel .tc-moving .tc-card {
  transition: width .8s cubic-bezier(.77, 0, .175, 1), transform .8s cubic-bezier(.77, 0, .175, 1), opacity .8s, scale .45s;
  animation: tc-slide-rebound .8s both;
}
@keyframes tc-slide-rebound {
  0% { scale: 1 1; }
  30% { scale: 1.025 .986; }
  65% { scale: .994 1.008; }
  100% { scale: 1 1; }
}
@media (hover: hover) and (pointer: fine) {
  .team-carousel .tc-card:is([data-offset='-1'], [data-offset='0'], [data-offset='1']):hover { scale: 1.028; z-index: 2; }
}
.team-carousel .tc-copy {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: calc(var(--tc-card-width) * .55);
  z-index: 1;
  padding: clamp(32px, 4.2vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  gap: 0;
  opacity: 0;
  transition: opacity .45s;
}
.team-carousel .tc-card[data-active='true'] .tc-copy { opacity: 1; }
.team-carousel .tc-category {
  font: 500 12px/1.5 var(--font-sans, Arial, sans-serif);
  color: #d0d3c7;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin: 0 0 40px;
}
.team-carousel .tc-name {
  font: 400 clamp(38px, 4.5vw, 76px)/1.02 Georgia, 'Times New Roman', serif;
  letter-spacing: -.04em;
  color: var(--tc-paper);
  overflow-wrap: anywhere;
  margin: 0 0 22px;
}
.team-carousel .tc-role {
  font: 500 clamp(15px, 1.35vw, 21px)/1.5 var(--font-sans, Arial, sans-serif);
  color: #e6e6de;
  margin: 0 0 24px;
}
.team-carousel .tc-interest {
  font: 400 clamp(14px, 1.2vw, 18px)/1.65 var(--font-sans, Arial, sans-serif);
  color: #c1c4b9;
  max-width: 560px;
  margin: 0;
  overflow-wrap: anywhere;
}
.team-carousel .tc-photo {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: clamp(24px, 3vw, 54px);
  background: linear-gradient(150deg, #40463d, #242a25 80%);
  transition: width .8s cubic-bezier(.77, 0, .175, 1), height .8s cubic-bezier(.77, 0, .175, 1);
}
.team-carousel .tc-card[data-active='true'] .tc-photo { width: 45%; }
.team-carousel .tc-portrait {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 420px;
  max-height: 470px;
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
  filter: saturate(.82);
}
.team-carousel .tc-card-action {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}
.team-carousel .tc-card-action:focus-visible { outline-offset: -7px; }
.team-carousel .tc-card[data-offset='-2'], .team-carousel .tc-card[data-offset='2'] { pointer-events: none; }
.team-carousel .tc-counter {
  width: var(--tc-card-width);
  margin: 20px auto 0;
  color: #aeb0a5;
  font: 400 12px/1.5 var(--font-sans, Arial, sans-serif);
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}
.team-carousel .tc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.team-carousel .tc-dialog {
  width: min(900px, calc(100vw - 40px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid #65695d;
  border-radius: 24px;
  color: var(--tc-paper);
  background: #30332d;
  overflow: auto;
  box-shadow: 0 30px 100px #0008;
}
.team-carousel .tc-dialog::backdrop { background: #070b0ae0; backdrop-filter: blur(7px); }
.team-carousel .tc-dialog-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid #7d8377;
  border-radius: 50%;
  background: #20251ee6;
  color: var(--tc-paper);
  cursor: pointer;
  font: 28px/1 Arial, sans-serif;
}
.team-carousel .tc-dialog-content { display: grid; grid-template-columns: 40% 60%; }
.team-carousel .tc-detail-photo { display: grid; place-items: center; padding: 34px; background: #242a25; overflow: hidden; }
.team-carousel .tc-detail-image { display: block; width: 100%; max-height: 420px; object-fit: contain; }
.team-carousel .tc-detail-copy { padding: 64px 42px 48px; }
.team-carousel .tc-detail-copy .tc-category { margin-bottom: 22px; }
.team-carousel .tc-detail-name { color: var(--tc-paper); font: 400 clamp(32px, 4vw, 48px)/1.1 Georgia, 'Times New Roman', serif; letter-spacing: -.03em; margin: 0 0 20px; }
.team-carousel .tc-detail-role { color: #e4e6dc; font: 500 16px/1.5 var(--font-sans, Arial, sans-serif); margin: 0 0 20px; }
.team-carousel .tc-detail-interest { color: #c1c4b9; font: 400 16px/1.7 var(--font-sans, Arial, sans-serif); margin: 0; }
.team-carousel .tc-site-link { display: inline-block; color: #e0e8d5; font: 500 14px/1.5 var(--font-sans, Arial, sans-serif); text-decoration: underline; text-underline-offset: 5px; margin-top: 28px; }
@media (min-width: 1800px) {
  .team-carousel { --tc-card-width: min(70vw, 1800px); }
  .team-carousel .tc-viewport { --tc-stage-height: max(640px, var(--tc-copy-height, 0px)); }
  .team-carousel .tc-portrait { max-height: 540px; max-width: 490px; }
}
@media (max-width: 800px) {
  .team-carousel { --tc-card-width: 88vw; --tc-gap: 16px; padding-top: 34px; }
  .team-carousel .tc-header { align-items: flex-start; flex-wrap: wrap; gap: 20px; }
  .team-carousel .tc-heading { max-width: 100%; }
  .team-carousel .tc-title { font-size: 30px; }
  .team-carousel .tc-subtitle { font-size: 13px; }
  .team-carousel .tc-controls { margin-left: auto; }
  .team-carousel .tc-control { width: 43px; height: 43px; border-radius: 14px; }
  .team-carousel .tc-viewport { --tc-stage-height: max(660px, calc(var(--tc-copy-height, 330px) + 270px)); }
  .team-carousel .tc-card { border-radius: 22px; }
  .team-carousel .tc-photo { top: 0; bottom: auto; height: 100%; padding: 24px; }
  .team-carousel .tc-card[data-active='true'] .tc-photo { width: 100%; height: 270px; }
  .team-carousel .tc-portrait { max-height: 240px; width: auto; max-width: 100%; }
  .team-carousel .tc-copy { top: 270px; width: var(--tc-card-width); padding: 30px 28px 34px; justify-content: flex-start; }
  .team-carousel .tc-category { margin-bottom: 22px; font-size: 11px; }
  .team-carousel .tc-name { font-size: clamp(37px, 8vw, 52px); margin-bottom: 16px; }
  .team-carousel .tc-role { font-size: 16px; margin-bottom: 18px; }
  .team-carousel .tc-interest { font-size: 14px; line-height: 1.65; }
  .team-carousel .tc-dialog-content { grid-template-columns: 1fr; }
  .team-carousel .tc-detail-photo { max-height: 280px; padding: 24px; }
  .team-carousel .tc-detail-image { max-height: 232px; width: auto; max-width: 100%; }
  .team-carousel .tc-detail-copy { padding: 34px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .team-carousel .tc-moving .tc-card, .team-carousel .tc-control { transition: none; }
  .team-carousel .tc-card, .team-carousel .tc-moving .tc-card { scale: 1 !important; animation: none; transition: none; }
  .team-carousel .tc-photo, .team-carousel .tc-copy { transition: none; }
}

/* Project exhibition: editorial source cards remain intact behind this enhancement. */
#home-project-grid { display: block; grid-template-columns: none; }
#project-container.ps-source-enhanced { display: none; }
.ref-projects { padding-bottom: 42px; }
#project-page-showcase { padding-bottom: 64px; }
.ps-exhibition { --ps-ink: #071726; --ps-line: #dce4ed; --ps-blue: #397bff; color: #15263b; min-width: 0; }
.ps-exhibition *, .ps-exhibition *::before, .ps-exhibition *::after { box-sizing: border-box; }
.ps-exhibition button, .ps-exhibition a { -webkit-tap-highlight-color: transparent; }
.ps-exhibition button { font-family: var(--font-sans, Arial, sans-serif); cursor: pointer; }
.ps-exhibition [hidden] { display: none !important; }
.ps-exhibition button:focus-visible, .ps-exhibition a:focus-visible, .ps-media-panel:focus-visible { outline: 3px solid #84adff; outline-offset: 5px; }
.ps-masthead { display: flex; align-items: center; justify-content: space-between; padding: 0 0 19px; gap: 24px; }
.ps-masthead-copy { display: flex; align-items: center; gap: 20px; }
.ps-kicker, .ps-project-count, .ps-directory-label { font: 500 10px/1.5 var(--font-sans, Arial, sans-serif); letter-spacing: .16em; }
.ps-kicker { color: #3c5d91; }
.ps-masthead-copy p { margin: 0; color: #79879a; font-size: 11px; letter-spacing: .08em; }
.ps-project-count { color: #526884; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ps-stage { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); min-height: 540px; overflow: hidden; border: 1px solid #203b57; border-radius: 12px; background: #071726; box-shadow: 0 18px 40px rgb(28 46 74 / 8%); }
.ps-stage::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 75% 0, rgb(57 123 255 / 17%), transparent 58%), linear-gradient(110deg, transparent 48%, rgb(181 209 255 / 3%) 48.1%, transparent 48.3%); }
.ps-stage::after { content: ''; position: absolute; z-index: -1; width: 480px; height: 480px; border: 1px solid rgb(164 197 242 / 6%); border-radius: 50%; left: -240px; bottom: -280px; box-shadow: 0 0 0 58px rgb(164 197 242 / 3%), 0 0 0 116px rgb(164 197 242 / 2%); pointer-events: none; }
.ps-project-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 42px 36px 38px; color: #d1ddec; }
.ps-project-eyebrow { display: flex; gap: 13px; align-items: center; margin-bottom: 33px; font: 11px/1.6 var(--font-sans, Arial, sans-serif); letter-spacing: .06em; color: #9ab1ce; }
.ps-project-number { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; color: #9fc3ff; border: 1px solid #38526d; border-radius: 50%; font-size: 10px; font-variant-numeric: tabular-nums; }
.ps-project-copy .ps-project-title { color: #fff; font: 400 clamp(32px,3.7vw,53px)/1.05 Georgia, 'Times New Roman', serif; letter-spacing: -.045em; margin: 0 0 22px; overflow-wrap: anywhere; }
.ps-project-copy > p { color: #b4c5da; font: 400 13px/1.85 var(--font-sans, Arial, sans-serif); margin: 0 0 24px; max-width: 43em; }
.ps-project-copy > .project-authors { margin-bottom: 25px; color: #7f98b5; font-size: 10px; line-height: 1.9; }
.ps-project-copy > .project-authors strong { color: #9bb1cd; font-weight: 500; }
.ps-exhibition .ps-project-link { display: inline-flex; align-items: center; justify-content: center; width: auto; margin: auto 0 0; padding: 12px 18px; color: #fff; background: #397bff; border: 1px solid #538cff; border-radius: 5px; font: 500 12px/1.5 var(--font-sans, Arial, sans-serif); text-decoration: none; box-shadow: none; transition: background .2s, border-color .2s, transform .2s; }
.ps-exhibition .ps-project-link:hover { color: #fff; background: #4b88ff; border-color: #7ca8ff; transform: translateY(-2px); }
.ps-media-window { min-width: 0; margin: 26px 26px 26px 0; background: rgb(11 31 51 / 90%); border: 1px solid #2b435e; border-radius: 8px; overflow: hidden; box-shadow: 0 16px 40px rgb(0 0 0 / 12%); }
.ps-media-tabs { display: flex; align-items: stretch; min-height: 49px; padding: 0 20px; gap: 23px; border-bottom: 1px solid #263e59; background: rgb(15 38 62 / 80%); }
.ps-media-tab { position: relative; padding: 15px 0; color: #8fa7c3; background: none; border: 0; border-radius: 0; font-size: 11px; line-height: 1.6; }
.ps-media-tab[aria-selected='true'] { color: #fff; }
.ps-media-tab[aria-selected='true']::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #6a9eff; }
.ps-media-tab:hover { color: #fff; }
.ps-media-body { min-height: 390px; padding: 16px; }
.ps-media-panel { min-width: 0; color: #c1d0e3; }
.ps-media-panel figure { margin: 0; }
.ps-cover { overflow: hidden; background: #f8fafc; border: 1px solid #c8d5e5; border-radius: 4px; }
.ps-cover img { display: block; width: 100%; height: 248px; object-fit: contain; padding: 10px 12px 2px; background: #fff; }
.ps-cover figcaption { text-align: center; padding: 6px 8px; color: #63778f; font: 9px/1.4 var(--font-sans, Arial, sans-serif); border-top: 1px solid #e5ebf1; }
.ps-sample-strip { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; padding-top: 12px; }
.ps-sample { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 11px; min-width: 0; border: 1px solid #29415d; border-radius: 4px; background: #0a192a; padding: 7px; }
.ps-sample img { display: block; width: 70px; height: 70px; object-fit: contain; border-radius: 2px; background: #000; }
.ps-sample figcaption { color: #91a8c4; font: 10px/1.65 var(--font-sans, Arial, sans-serif); overflow-wrap: anywhere; }
.ps-empty { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 358px; padding: 30px; border: 1px dashed #29435e; border-radius: 4px; text-align: center; background: linear-gradient(135deg, rgb(110 153 210 / 3%), transparent); }
.ps-empty-motif { display: grid; place-items: center; width: 50px; height: 50px; color: #6785aa; border: 1px solid #2d4866; border-radius: 12px; font: 30px/1 Georgia,serif; margin-bottom: 18px; }
.ps-empty h4, .ps-example h4 { color: #e3ecf9; font-size: 19px; font-weight: 500; margin: 0 0 12px; }
.ps-empty p, .ps-example > p { margin: 0; color: #91a8c4; font-size: 12px; line-height: 1.9; max-width: 29em; }
.ps-example { min-height: 358px; padding: 23px 13px; }
.ps-example h4 { font-family: Georgia, 'Times New Roman', serif; font-size: 26px; }
.ps-example > p { max-width: 34em; }
.ps-example-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 25px; }
.ps-exhibition .ps-open-example { border: 1px solid #4275b5; border-radius: 4px; color: #e7f0ff; background: #183b63; padding: 10px 14px; font-size: 11px; line-height: 1.5; text-decoration: none; }
.ps-exhibition .ps-open-example:hover { color: #fff; background: #235087; }
.ps-exhibition .ps-secondary-link { display: inline-block; color: #a6c5ff; font-size: 11px; text-decoration: none; padding: 6px 0; border-bottom: 1px solid #3b577c; }
.ps-empty .ps-secondary-link { margin-top: 24px; }
.ps-exhibition .ps-secondary-link:hover { color: #fff; border-color: #a6c5ff; }
.ps-example-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-top: 24px; }
.ps-example-image { min-width: 0; padding: 9px; border: 1px solid #29415d; border-radius: 4px; background: #071321; }
.ps-example-image img { display: block; width: 100%; max-height: 180px; object-fit: contain; background: #000; }
.ps-example-image figcaption { color: #8ea7c5; font-size: 9px; line-height: 1.6; padding-top: 8px; text-align: center; }
.ps-video-block + .ps-video-block { margin-top: 20px; }
.ps-video { display: block; width: 100%; min-height: 230px; max-height: 440px; background: #020912; border-radius: 4px; }
.ps-video-block figcaption { color: #a5bad4; padding-top: 12px; font-size: 11px; line-height: 1.7; }
.ps-directory { display: flex; align-items: flex-start; gap: 24px; padding: 20px 0 22px; border-bottom: 1px solid var(--ps-line); }
.ps-directory-label { color: #8191a7; padding-top: 10px; flex: 0 0 120px; }
.ps-project-options { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; flex: 1; }
.ps-project-option { display: inline-flex; align-items: center; justify-content: space-between; gap: 13px; min-width: 210px; max-width: 100%; padding: 10px 14px; background: #f2f5f9; border: 1px solid #d9e2ec; border-radius: 4px; color: #63768e; text-align: left; font-size: 11px; line-height: 1.6; transition: border-color .2s, background .2s; }
.ps-project-option[aria-selected='true'] { background: #eaf1ff; border-color: #acc7f5; color: #214a82; }
.ps-project-option:hover { background: #eaf1ff; border-color: #88afea; }
.ps-option-index { color: #6683a9; font-size: 9px; font-variant-numeric: tabular-nums; }
.ps-option-arrow { font-size: 17px; margin-left: auto; }
.ps-ai-entry { display: flex; align-items: center; gap: 19px; margin-top: 21px; padding: 19px 22px; background: #f0f4fa; border: 1px solid #dce5f0; border-radius: 6px; }
.ps-ai-icon { width: 37px; height: 37px; display: grid; place-items: center; background: #e5edfb; color: #3f6da6; border: 1px solid #d1dff3; border-radius: 50%; font: 22px/1 Georgia,serif; flex: 0 0 auto; }
.ps-ai-copy { flex: 1; min-width: 0; }
.ps-ai-copy h3 { font: 500 15px/1.4 var(--font-sans, Arial, sans-serif); margin: 0 0 3px; color: #25466d; }
.ps-ai-copy p { font: 11px/1.7 var(--font-sans, Arial, sans-serif); color: #6c7e94; margin: 0; }
.ps-exhibition .ps-ai-link { white-space: nowrap; color: #3b6398; background: none; border: 0; border-bottom: 1px solid #a2b8d8; border-radius: 0; font-size: 11px; line-height: 1.7; padding: 6px 0; margin: 0; text-decoration: none; box-shadow: none; }
.ps-exhibition .ps-ai-link:hover { color: #195ac0; border-color: #397bff; transform: none; background: transparent; }
.ps-generative-art { height: 300px; position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid #254463; border-radius: 4px; background: radial-gradient(ellipse at center, #1b3c66, #081929 65%); }
.ps-generative-art span { position: absolute; width: 58%; height: 48%; border: 1px solid rgb(126 177 245 / 30%); border-radius: 50%; transform: rotate(calc(var(--ps-art-angle, 0) * 1deg)); }
.ps-generative-art span:nth-child(2) { transform: rotate(30deg); }
.ps-generative-art span:nth-child(3) { transform: rotate(60deg); }
.ps-generative-art span:nth-child(4) { transform: rotate(90deg); }
.ps-generative-art span:nth-child(5) { transform: rotate(120deg); }
.ps-generative-art span:nth-child(6) { transform: rotate(150deg); }
.ps-art-caption { font-size: 11px; color: #7e98b7; text-align: center; margin: 15px 0 0; }
@media (min-width: 1500px) {
  .ps-stage { min-height: 580px; }
  .ps-project-copy { padding: 48px 48px 42px; }
  .ps-project-copy > p { font-size: 14px; }
  .ps-project-copy > .project-authors { font-size: 11px; }
  .ps-project-copy .ps-project-title { font-size: 58px; }
  .ps-cover img { height: 285px; }
}
@media (max-width: 1000px) {
  .ps-stage { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); }
  .ps-project-copy { padding: 28px 24px; }
  .ps-project-copy > p { font-size: 12px; line-height: 1.8; }
  .ps-project-copy .ps-project-title { font-size: 35px; }
  .ps-project-eyebrow { margin-bottom: 26px; font-size: 9px; }
  .ps-media-window { margin: 18px 18px 18px 0; }
  .ps-cover img { height: 225px; padding: 8px 5px 0; }
  .ps-sample { display: flex; flex-direction: column; gap: 7px; text-align: center; }
  .ps-sample img { width: 64px; height: 64px; }
  .ps-media-body { padding: 12px; }
  .ps-ai-entry { padding: 17px; }
}
@media (max-width: 700px) {
  .ref-projects { padding-bottom: 28px; }
  .ps-masthead { padding-bottom: 16px; }
  .ps-masthead-copy { display: block; }
  .ps-masthead-copy p { margin-top: 3px; font-size: 10px; }
  .ps-kicker, .ps-project-count { font-size: 9px; }
  .ps-stage { display: block; border-radius: 8px; min-height: 0; }
  .ps-project-copy { padding: 26px 24px 28px; }
  .ps-project-eyebrow { margin-bottom: 24px; font-size: 10px; }
  .ps-project-copy .ps-project-title { font-size: 43px; margin-bottom: 20px; }
  .ps-project-copy > p { font-size: 12px; line-height: 1.9; margin-bottom: 19px; }
  .ps-project-copy > .project-authors { font-size: 10px; line-height: 1.85; }
  .ps-exhibition .ps-project-link { font-size: 11px; padding: 10px 15px; }
  .ps-media-window { margin: 0 14px 14px; }
  .ps-media-tabs { gap: 26px; padding: 0 16px; }
  .ps-media-tab { font-size: 11px; }
  .ps-media-body { min-height: 0; padding: 12px; }
  .ps-cover img { height: auto; min-height: 0; width: 100%; aspect-ratio: 1.44; }
  .ps-cover figcaption { font-size: 8px; }
  .ps-sample { flex-direction: row; padding: 6px; gap: 7px; text-align: left; }
  .ps-sample img { width: 52px; height: 52px; }
  .ps-sample figcaption { font-size: 9px; line-height: 1.5; }
  .ps-sample-strip { gap: 8px; }
  .ps-empty { min-height: 270px; padding: 25px; }
  .ps-empty h4 { font-size: 18px; }
  .ps-empty p { font-size: 11px; }
  .ps-example { min-height: 270px; padding: 22px 8px; }
  .ps-example h4 { font-size: 24px; }
  .ps-example > p { font-size: 11px; }
  .ps-example-actions { gap: 14px; }
  .ps-example-gallery { gap: 10px; margin-top: 20px; }
  .ps-directory { display: block; padding-top: 17px; }
  .ps-directory-label { display: block; padding: 0; margin-bottom: 11px; font-size: 9px; }
  .ps-project-options { gap: 8px; }
  .ps-project-option { min-width: 0; flex: 1 1 180px; }
  .ps-ai-entry { flex-wrap: wrap; gap: 12px; padding: 17px 15px; margin-top: 17px; }
  .ps-ai-icon { width: 31px; height: 31px; font-size: 20px; }
  .ps-ai-copy { flex: 1 1 calc(100% - 50px); }
  .ps-ai-copy p { font-size: 10px; }
  .ps-exhibition .ps-ai-link { margin-left: 43px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-exhibition *, .ps-exhibition *::before, .ps-exhibition *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* The original #news-container stays intact as the no-script fallback. */
.nt-source-enhanced { display: none !important; }
.nt-experience { --nt-ink: #192b36; --nt-muted: #849194; --nt-paper: #e7c6b2; color: #f4f5ee; max-width: 1440px; margin: 10px auto 70px; padding: 30px 48px 48px; background: #242824; border-radius: 10px; overflow: hidden; font-family: var(--font-sans, Arial, sans-serif); }
.nt-experience *, .nt-experience *::before, .nt-experience *::after { box-sizing: border-box; }
.nt-experience [hidden] { display: none !important; }
.nt-topline { display: flex; align-items: center; gap: 22px; margin-bottom: 50px; color: #d3dbd2; }
.nt-brand { font: 400 23px/1.2 Georgia, 'Times New Roman', serif; letter-spacing: -.04em; }
.nt-topline-rule { flex: 1; height: 1px; background: #515a50; }
.nt-topline-label { font-size: 9px; letter-spacing: .14em; color: #a7b1a4; }
.nt-layout { display: grid; grid-template-columns: minmax(160px, .23fr) minmax(0, 1fr); gap: clamp(28px, 4.6vw, 70px); align-items: stretch; }
.nt-rail { min-width: 0; display: flex; flex-direction: column; }
.nt-rail-heading { margin: 4px 0 34px; color: #aab5a8; font-size: 11px; font-weight: 400; letter-spacing: .12em; }
.nt-date-list { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; list-style: none; margin: 0 0 28px 7px; min-height: 460px; padding: 14px 0 56px 0; background: repeating-linear-gradient(to bottom, transparent 0 28px, #434d42 28px 29px, transparent 29px 42px) 0 0 / 13px 100% no-repeat; }
.nt-date-list::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: #52614e; }
.nt-date-list::after { content: ''; position: absolute; width: 5px; height: 5px; bottom: 0; left: -2px; border-radius: 50%; background: #647260; }
.nt-date-item { position: relative; min-width: 0; margin: 0; padding: 0; }
.nt-date { position: relative; width: 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; min-height: 44px; margin: 0; padding: 5px 0 5px 25px; color: #9eaa9b; background: transparent; border: 0; text-align: left; font: 12px/1.4 var(--font-sans, Arial, sans-serif); font-variant-numeric: tabular-nums; cursor: pointer; }
.nt-date time { transition: color .2s, transform .2s; }
.nt-date-dot { width: 8px; height: 8px; position: absolute; left: -3.5px; top: 18px; border-radius: 50%; background: #596551; box-shadow: 0 0 0 5px #242824; transition: background .2s, box-shadow .2s; }
.nt-date-index { font-size: 8px; letter-spacing: .08em; color: #7f8d7b; }
.nt-date[aria-current='true'] { color: #fffdf0; }
.nt-date[aria-current='true'] .nt-date-dot { background: #e6edda; box-shadow: 0 0 0 5px #242824, 0 0 0 6px #77846b; }
.nt-date:hover time { color: #fffdf0; transform: translateX(3px); }
.nt-rail-footer { display: flex; flex-direction: column; gap: 10px; padding-left: 0; margin-bottom: 10px; }
.nt-rail-year { font: 400 48px/1 Georgia, 'Times New Roman', serif; letter-spacing: -.06em; color: #77866f; }
.nt-rail-hint { color: #a4afa0; font-size: 10px; line-height: 1.5; }
.nt-book-area { min-width: 0; padding-top: 28px; }
.nt-book { position: relative; width: 100%; height: clamp(510px, 47vw, 640px); isolation: isolate; perspective: 1800px; scroll-margin-top: 108px; }
.nt-stack { position: absolute; inset: 0; border-radius: 12px 12px 8px 8px; pointer-events: none; box-shadow: 0 -1px 0 rgb(255 255 255 / 10%); }
.nt-stack-one { background: #c1bfd0; transform: translateY(-14px) scaleX(.965); }
.nt-stack-two { background: #b8cdc3; transform: translateY(-28px) scaleX(.925); }
.nt-sheet { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(0); transition: transform 780ms cubic-bezier(.3,.02,.18,1); will-change: transform; z-index: 1; }
.nt-experience[data-phase='article'] .nt-sheet { transform: rotateY(-180deg); }
.nt-face { position: absolute; inset: 0; display: flex; flex-direction: column; min-width: 0; padding: clamp(28px, 4.1vw, 58px); border-radius: 9px; color: var(--nt-ink); backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; box-shadow: 0 24px 44px rgb(3 12 7 / 16%); border: 1px solid rgb(255 255 255 / 22%); }
.nt-front { background: var(--nt-paper); transform: translateZ(.5px); }
.nt-front::after { content: ''; pointer-events: none; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgb(85 52 34 / 12%), transparent 1.2%, transparent 98%, rgb(255 255 255 / 15%)); }
.nt-cover-art { position: absolute; width: 110%; height: 92%; right: -17%; top: -15%; opacity: .35; pointer-events: none; transform: rotate(-14deg); }
.nt-cover-art path { fill: none; stroke: #fbf2df; stroke-width: 1.25; }
.nt-face-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; z-index: 1; }
.nt-cover-date, .nt-article-date { font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.nt-paper-label { font-size: 8px; letter-spacing: .16em; }
.nt-cover-title { position: relative; z-index: 1; max-width: 92%; margin: auto 0 36px; color: var(--nt-ink); font: 400 clamp(36px, 4.1vw, 62px)/1.09 Georgia, 'Times New Roman', serif; letter-spacing: -.045em; overflow-wrap: anywhere; }
.nt-face-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; position: relative; z-index: 1; padding-top: 23px; border-top: 1px solid rgb(39 57 54 / 22%); }
.nt-open, .nt-return { display: inline-flex; align-items: center; justify-content: center; gap: 35px; min-height: 43px; border: 1px solid #31443d; border-radius: 5px; background: #293d35; color: #f7f5ec; padding: 11px 18px; font: 12px/1.4 var(--font-sans, Arial, sans-serif); cursor: pointer; transition: background .2s, color .2s; }
.nt-open:hover, .nt-return:hover { background: #162b23; }
.nt-button-arrow { font-size: 19px; line-height: 1; }
.nt-cover-hint { color: #5f695e; font-size: 10px; }
.nt-article { transform: rotateY(180deg) translateZ(.5px); background: #f1f1e9; }
.nt-article-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; margin: 36px -12px 22px 0; padding-right: 12px; flex: 1; scrollbar-width: thin; scrollbar-color: #bbc4b6 transparent; }
.nt-article-title { margin: 0 0 28px; color: var(--nt-ink); font: 400 clamp(25px, 3vw, 42px)/1.15 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; }
.nt-article-copy { color: #526058; font: 15px/1.9 var(--font-sans, Arial, sans-serif); }
.nt-article-copy p { margin: 0 0 1em; font: inherit; color: inherit; }
.nt-article-copy a { color: #2858a3; text-decoration: underline; text-underline-offset: 3px; }
.nt-return { color: #3c5144; background: transparent; border-color: #acb7a8; gap: 10px; }
.nt-return:hover { color: #f7f5ec; }
.nt-article-end { color: #73806c; font: 400 19px/1 Georgia, 'Times New Roman', serif; letter-spacing: -.04em; }
.nt-controls { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 24px; }
.nt-counter-group { display: flex; align-items: center; gap: 13px; }
.nt-counter { color: #e2e8d9; font-size: 10px; letter-spacing: .09em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nt-counter-divider { color: #63705c; font-size: 10px; }
.nt-page-label { color: #a6b39f; font-size: 10px; white-space: nowrap; }
.nt-key-hint { color: #8f9e87; font-size: 10px; }
.nt-paging { display: flex; gap: 7px; }
.nt-paging button { width: 38px; height: 38px; display: grid; place-items: center; margin: 0; padding: 0; border: 1px solid #62705c; color: #f1f3e8; background: transparent; border-radius: 50%; font: 18px/1 Arial, sans-serif; cursor: pointer; }
.nt-paging button:hover:not(:disabled) { background: #46513e; border-color: #a2b197; }
.nt-paging button:disabled { color: #65715e; border-color: #3e4838; cursor: default; }
/* A single article still opens and flips back; article paging appears when needed. */
.nt-experience[data-count='1'] .nt-paging,
.nt-experience[data-count='1'] .nt-counter,
.nt-experience[data-count='1'] .nt-counter-divider,
.nt-experience[data-count='1'] .nt-key-hint { display: none; }
.nt-open:disabled, .nt-return:disabled { cursor: wait; }
.nt-experience button:focus-visible, .nt-cover-title:focus-visible, .nt-article-title:focus-visible, .nt-article-copy a:focus-visible { outline: 3px solid #6b9df1; outline-offset: 5px; }
.nt-status { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nt-outgoing { position: absolute; inset: 0; z-index: 4; transform-style: preserve-3d; pointer-events: none; transform-origin: left center; animation: nt-turn-forward 780ms cubic-bezier(.3,.02,.18,1) both; }
.nt-outgoing-face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: clamp(28px, 4.1vw, 58px); background: var(--nt-paper); color: var(--nt-ink); border-radius: 9px; backface-visibility: hidden; overflow: hidden; box-shadow: 8px 10px 30px rgb(1 12 5 / 24%); }
.nt-experience[data-direction='backward'] .nt-outgoing { transform-origin: right center; animation-name: nt-turn-backward; }
.nt-changing-news .nt-sheet { transition: none; animation: nt-uncover 780ms ease both; }
@keyframes nt-turn-forward { 0% { transform: rotateY(0); opacity: 1; } 55% { opacity: 1; } 100% { transform: rotateY(-105deg); opacity: 0; } }
@keyframes nt-turn-backward { 0% { transform: rotateY(0); opacity: 1; } 55% { opacity: 1; } 100% { transform: rotateY(105deg); opacity: 0; } }
@keyframes nt-uncover { from { filter: brightness(.78); } to { filter: brightness(1); } }
@media (min-width: 1540px) { .nt-experience { padding-inline: 66px; } }
@media (max-width: 1488px) { .nt-experience { margin-inline: 24px; } }
@media (max-width: 900px) {
  .nt-experience { padding: 26px 28px 34px; }
  .nt-topline { margin-bottom: 43px; }
  .nt-layout { grid-template-columns: 134px minmax(0,1fr); gap: 25px; }
  .nt-date { font-size: 10px; padding-left: 20px; gap: 6px; }
  .nt-date-index { display: none; }
  .nt-book { height: 530px; }
  .nt-cover-title { font-size: 39px; max-width: 100%; }
  .nt-cover-hint, .nt-key-hint { display: none; }
  .nt-face, .nt-outgoing-face { padding: 28px; }
  .nt-article-copy { font-size: 14px; }
}
@media (max-width: 620px) {
  .nt-experience { margin: 4px 12px 42px; padding: 23px 18px 24px; border-radius: 8px; }
  .nt-topline { gap: 13px; margin-bottom: 27px; }
  .nt-brand { font-size: 21px; }
  .nt-topline-label { font-size: 8px; letter-spacing: .08em; }
  .nt-layout { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .nt-rail { overflow: hidden; }
  .nt-rail-heading { font-size: 10px; margin-bottom: 8px; }
  .nt-date-list { min-height: 70px; flex: 0 0 auto; margin: 0 0 0 2px; padding: 11px 4px 15px; flex-direction: row; justify-content: flex-start; gap: 24px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #68765f transparent; background: repeating-linear-gradient(to right, transparent 0 26px, #434d42 26px 27px, transparent 27px 40px) 0 50px / 100% 9px no-repeat; }
  .nt-date-list::before { top: auto; bottom: 17px; left: 0; right: 0; width: auto; height: 1px; }
  .nt-date-list::after { display: none; }
  .nt-date-item { flex: 0 0 auto; }
  .nt-date { min-width: 100px; min-height: 39px; padding: 0 0 10px 4px; font-size: 11px; }
  .nt-date-dot { left: 4px; top: auto; bottom: -1px; width: 6px; height: 6px; }
  .nt-date[aria-current='true'] .nt-date-dot { box-shadow: 0 0 0 4px #242824, 0 0 0 5px #77846b; }
  .nt-rail-footer { display: none; }
  .nt-book-area { padding-top: 0; }
  .nt-book { height: 510px; perspective: 1100px; }
  .nt-stack-one { transform: translateY(-12px) scaleX(.95); }
  .nt-stack-two { transform: translateY(-24px) scaleX(.9); }
  .nt-face, .nt-outgoing-face { padding: 25px 23px; border-radius: 7px; }
  .nt-cover-title { font-size: clamp(33px, 9vw, 45px); line-height: 1.08; margin-bottom: 34px; }
  .nt-paper-label { font-size: 6px; letter-spacing: .1em; }
  .nt-cover-date, .nt-article-date { font-size: 10px; }
  .nt-cover-art { width: 150%; height: 72%; right: -42%; top: -8%; opacity: .42; }
  .nt-face-foot { padding-top: 19px; }
  .nt-open, .nt-return { min-height: 44px; padding: 11px 15px; font-size: 11px; }
  .nt-article-scroll { margin-top: 27px; margin-bottom: 18px; }
  .nt-article-title { font-size: 27px; margin-bottom: 23px; }
  .nt-article-copy { font-size: 13px; line-height: 1.85; }
  .nt-article-end { font-size: 17px; }
  .nt-controls { padding-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .nt-experience *, .nt-experience *::before, .nt-experience *::after { animation: none !important; transition: none !important; }
}

/* Publication-only visual layer. The untouched renderer is the fallback. */
#page-publications.ps-page {
  --ps-ink: #112344;
  --ps-copy: #405675;
  --ps-muted: #8093b3;
  --ps-blue: #2867e8;
  --ps-line: #dce5f1;
  background: linear-gradient(180deg, #f5f8fd 0%, #f4f7fc 50%, #f7f9fc 100%);
  color: var(--ps-ink);
  padding-bottom: 50px;
}

#page-publications .ps-source-enhanced { display: none; }
#page-publications.ps-page > .container { max-width: 1536px; padding-inline: clamp(24px, 5.55vw, 86px); }

#page-publications.ps-page .ps-header {
  position: relative;
  isolation: isolate;
  padding-block: calc(var(--nav-height) + 35px) 26px;
  min-height: 318px;
  border: 0;
  background: #f4f7fc;
  overflow: hidden;
}
#page-publications .ps-header::before {
  content: '';
  position: absolute;
  inset: 88px 0 0 35%;
  z-index: -1;
  background-image: linear-gradient(90deg, #f4f7fc 0%, rgb(244 247 252 / 96%) 7%, rgb(244 247 252 / 30%) 30%, rgb(244 247 252 / 0%) 50%),
    url('/img/publications-20261019/01_banner/math_architecture_banner_crop.png');
  background-position: center, right center;
  background-repeat: no-repeat;
  background-size: 100% 100%, cover;
}
#page-publications .ps-header > .container { max-width: 1536px; padding-inline: clamp(24px, 5.55vw, 86px); }
#page-publications .ps-header > .container::before {
  content: 'MATHONAI / RESEARCH OUTPUT';
  display: block;
  margin-bottom: 10px;
  color: #2e4c7b;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .19em;
}
#page-publications .ps-header h1 {
  margin: 0 0 12px;
  max-width: 70%;
  color: var(--ps-ink);
  font-family: var(--font-serif);
  font-size: clamp(42px, 4.8vw, 66px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -.045em;
}
#page-publications .ps-header p {
  max-width: 580px;
  color: var(--ps-copy);
  font-size: 14px;
  line-height: 1.75;
}

.ps-showcase { padding-block: 20px 22px; }
.ps-showcase [hidden] { display: none !important; }
.ps-showcase button, .ps-showcase input { font: inherit; }
.ps-showcase button { cursor: pointer; }
.ps-showcase button:focus-visible, .ps-showcase input:focus-visible, .ps-showcase a:focus-visible {
  outline: 3px solid #749cff;
  outline-offset: 4px;
}
.ps-showcase .ps-toolbar{ display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.ps-showcase .ps-filters{ display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.ps-showcase .ps-filter{
  min-height: 35px;
  padding: 7px 16px;
  border: 1px solid #d6e2f2;
  border-radius: 30px;
  background: rgb(247 250 255 / 60%);
  color: var(--ps-ink);
  font-size: 11px !important;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.ps-showcase .ps-filter:hover{ background: #e8f0ff; border-color: #aac5f3; }
.ps-showcase .ps-filter[aria-pressed='true']{ background: #2867ef; border-color: #2867ef; color: #fff; }
.ps-showcase .ps-search-wrap{ flex: 0 1 288px; position: relative; min-width: 210px; }
.ps-showcase .ps-search-icon{ position: absolute; top: 10px; left: 13px; width: 15px; height: 15px; opacity: .55; pointer-events: none; }
.ps-showcase .ps-search{
  width: 100%;
  min-height: 35px;
  padding: 7px 36px 7px 36px;
  border: 1px solid #d6e2f2;
  border-radius: 30px;
  background: rgb(246 249 254 / 70%);
  color: var(--ps-ink);
  font-size: 11px !important;
  line-height: 1.4;
  appearance: none;
}
.ps-showcase .ps-search::-webkit-search-cancel-button{ display: none; }
.ps-showcase .ps-search::placeholder{ color: #91a5c5; opacity: 1; }
.ps-showcase .ps-search:focus{ background: #fff; border-color: #89acee; }
.ps-showcase .ps-clear{ position: absolute; top: 3px; right: 5px; width: 29px; height: 29px; border: 0; border-radius: 50%; color: #5b7297; background: transparent; font-size: 19px !important; line-height: 1; }
.ps-showcase .ps-clear:hover{ background: #e7effc; }
.ps-showcase .ps-summary{ display: flex; justify-content: flex-end; min-height: 28px; padding-top: 6px; }
.ps-showcase .ps-status{ color: #7890b1; font-size: 10px; line-height: 1.5; }
.ps-showcase .ps-group + .ps-group{ margin-top: 32px; }
.ps-showcase .ps-group-title{
  margin: 0;
  padding: 12px 0 10px;
  color: #667fa4;
  border-bottom: 1px solid var(--ps-line);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .17em;
}
.ps-showcase .ps-row{
  display: grid;
  grid-template-columns: 52px 102px minmax(0, 1fr) 205px;
  align-items: start;
  column-gap: 26px;
  padding: 13px 0;
  min-height: 126px;
}
.ps-showcase .ps-number{ padding-top: 12px; color: #28456f; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.ps-showcase .ps-number::after{ content: ''; display: block; width: 15px; height: 1px; margin-top: 9px; background: #b5c9e8; }
.ps-showcase .ps-thumbnail{ width: 100%; aspect-ratio: 3 / 4.4; background: transparent; }
.ps-showcase .ps-image{ width: 100%; min-height: 0; height: 100%; object-fit: contain; }
.ps-journal-visual { width: 100%; height: 100%; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 5px; }
.ps-journal-cover .ps-image { flex: 1; width: 100%; min-height: 0; object-fit: contain; }
.ps-cover-caption { flex: 0 0 auto; color: #8797b1; font: 9px/1.4 Arial,sans-serif; text-align: center; }
.ps-journal-online, .ps-journal-preprint, .ps-journal-identity { padding: 13px 10px; border: 1px solid #dce5f0; border-radius: 2px; background: #fff; box-shadow: 0 4px 13px rgb(25 49 82 / 5%); }
.ps-journal-online .ps-image, .ps-journal-preprint .ps-image { flex: 0 1 45%; max-height: 45%; width: 100%; object-fit: contain; }
.ps-journal-name { color: #294361; font: 500 12px/1.35 Georgia,serif; text-align: center; overflow-wrap: anywhere; }
.ps-journal-kind { color: #8698b1; font: 8px/1.4 Arial,sans-serif; letter-spacing: .08em; text-align: center; }
.ps-journal-preprint { background: #2b2927; border-color: #2b2927; justify-content: center; gap: 15px; }
.ps-journal-preprint .ps-journal-name { display: none; }
.ps-journal-preprint .ps-journal-kind { color: #cfc6bb; }
.ps-journal-online { justify-content: center; gap: 14px; }
.ps-journal-online .ps-image { flex: 0 1 auto; max-height: 68%; }
.ps-journal-online .ps-journal-name { display: none; }
#home-pub-list .ps-home-journal { width: 100%; height: 82px; justify-content: center; padding: 0; box-shadow: none; border: 0; border-radius: 3px; }
#home-pub-list .ps-home-journal .ps-image { width: 60px; max-width: 100%; height: 82px; max-height: none; flex: 0 1 auto; object-fit: contain; }
#home-pub-list .ps-home-journal .ps-cover-caption { display: none; }
#home-pub-list .ps-home-journal.ps-journal-online { gap: 2px; background: #edf3fd; }
#home-pub-list .ps-home-journal.ps-journal-online .ps-image { height: 33px; width: 88px; }
#home-pub-list .ps-home-journal .ps-journal-name { font-size: 9px; max-width: 110px; }
#home-pub-list .ps-home-journal .ps-journal-kind { font-size: 6px; }
.ps-showcase .ps-copy{ min-width: 0; padding-top: 5px; padding-bottom: 11px; border-bottom: 1px solid var(--ps-line); align-self: stretch; }
.ps-showcase .ps-title{ margin: 0 0 6px; color: var(--ps-ink); font-family: var(--font-serif); font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; line-height: 1.22; letter-spacing: -.027em; overflow-wrap: break-word; }
.ps-showcase .ps-authors{ margin: 0 0 10px; color: #7e92b2; font-size: 12px; font-weight: 400; line-height: 1.5; overflow-wrap: break-word; }
.ps-showcase .ps-tags{ display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ps-showcase .ps-tag{ display: inline-block; padding: 2px 11px; color: #4a658d; border: 1px solid #dce6f4; border-radius: 25px; background: rgb(237 243 253 / 55%); font-size: 10px; line-height: 1.5; }
.ps-showcase .ps-year{ color: #354f7b; }
.ps-showcase .ps-aside{ align-self: stretch; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding-top: 9px; padding-bottom: 11px; border-bottom: 1px solid var(--ps-line); }
.ps-showcase .ps-venue{ margin: 0; color: #526e98; font-size: 11px; line-height: 1.5; overflow-wrap: break-word; }
.ps-showcase .ps-links{ display: flex; flex-wrap: wrap; align-items: center; gap: 7px 18px; }
.ps-showcase .ps-links .ps-link{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #2867e8;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.65;
  white-space: nowrap;
}
.ps-showcase .ps-links .ps-link:hover{ color: #174fc2; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.ps-showcase .ps-link::after{ content: ''; width: 11px; height: 11px; background: currentColor; mask: url('/img/publications-20261019/03_ui_icons/icon-arrow-up-right.svg') center / contain no-repeat; -webkit-mask: url('/img/publications-20261019/03_ui_icons/icon-arrow-up-right.svg') center / contain no-repeat; opacity: .75; }
.ps-showcase .ps-link-icon{ width: 14px; height: 14px; filter: invert(30%) sepia(92%) saturate(1900%) hue-rotate(215deg) brightness(91%) contrast(104%); }
.ps-showcase .ps-featured{
  position: relative;
  grid-template-columns: 72px 150px minmax(0, 1fr) 205px;
  margin-inline: -32px;
  padding: 20px 32px;
  background: linear-gradient(115deg, #edf4ff, rgb(233 241 254 / 55%));
  column-gap: 25px;
  min-height: 206px;
}
.ps-showcase .ps-featured .ps-number{ padding-top: 10px; }
.ps-showcase .ps-featured .ps-thumbnail{ aspect-ratio: 3 / 4.4; min-height: 0; }
.ps-showcase .ps-featured .ps-copy, .ps-showcase .ps-featured .ps-aside{ border: 0; }
.ps-showcase .ps-featured .ps-title{ font-size: clamp(21px, 1.8vw, 25px); }
.ps-showcase .ps-featured .ps-aside{ justify-content: space-between; padding-block: 10px 15px; }
.ps-showcase .ps-empty{ display: block; min-height: 0; margin-top: 30px; padding: 65px 24px; border: 1px dashed #c7d7ee; border-radius: 8px; text-align: center; background: rgb(255 255 255 / 40%); }
.ps-showcase .ps-empty h2{ margin-bottom: 10px; color: var(--ps-ink); font-size: 22px; font-weight: 500; }
.ps-showcase .ps-empty p{ max-width: none; margin: 0 0 20px; color: #7386a4; font-size: 13px; }
.ps-showcase .ps-reset{ padding: 9px 20px; border: 1px solid #2867ef; border-radius: 25px; background: #2867ef; color: #fff; font-size: 13px !important; }
.ps-showcase .ps-reset:hover{ background: #2158cf; }

@media (min-width: 1550px) {
  .ps-showcase .ps-row{ grid-template-columns: 72px 102px minmax(0, 1fr) 235px; column-gap: 27px; }
  .ps-showcase .ps-featured{ grid-template-columns: 72px 150px minmax(0, 1fr) 218px; }
}
@media (max-width: 1150px) {
  #page-publications.ps-page > .container, #page-publications .ps-header > .container { padding-inline: 40px; }
  .ps-showcase .ps-toolbar{ align-items: flex-start; flex-wrap: wrap; gap: 14px; }
  .ps-showcase .ps-filters{ flex: 1 1 100%; }
  .ps-showcase .ps-search-wrap{ flex-basis: 330px; margin-left: auto; }
  .ps-showcase .ps-row{ grid-template-columns: 35px 96px minmax(0, 1fr) 175px; column-gap: 20px; }
  .ps-showcase .ps-featured{ grid-template-columns: 35px 128px minmax(0, 1fr) 175px; margin-inline: -20px; padding-inline: 20px; column-gap: 20px; }
  .ps-showcase .ps-title{ font-size: 20px; }
  .ps-showcase .ps-featured .ps-title{ font-size: 22px; }
}
@media (max-width: 900px) {
  #page-publications .ps-header::before { inset-inline-start: 25%; opacity: .72; }
  #page-publications .ps-header h1 { max-width: 90%; }
  #page-publications .ps-header p { max-width: 480px; }
  .ps-showcase .ps-row, .ps-showcase .ps-featured{ grid-template-columns: 28px 102px minmax(0, 1fr); gap: 0 18px; padding-block: 18px; }
  .ps-showcase .ps-featured{ margin-inline: -16px; padding-inline: 16px; }
  .ps-showcase .ps-number{ grid-column: 1; grid-row: 1 / 3; }
  .ps-showcase .ps-thumbnail{ grid-column: 2; grid-row: 1 / 3; align-self: start; }
  .ps-showcase .ps-copy{ grid-column: 3; grid-row: 1; border: 0; padding: 0; }
  .ps-showcase .ps-aside{ grid-column: 3; grid-row: 2; padding: 12px 0 0; border: 0; gap: 8px; }
  .ps-showcase .ps-row + .ps-row{ border-top: 1px solid var(--ps-line); }
  .ps-showcase .ps-featured .ps-thumbnail{ min-height: 0; aspect-ratio: 3 / 4.4; }
  .ps-showcase .ps-featured .ps-aside{ padding: 12px 0 0; }
  .ps-showcase .ps-authors{ font-size: 11px; }
  .ps-showcase .ps-venue{ font-size: 10px; }
}
@media (max-width: 620px) {
  #page-publications.ps-page > .container, #page-publications .ps-header > .container { padding-inline: 22px; }
  #page-publications.ps-page .ps-header { min-height: 303px; padding-block: calc(var(--nav-height) + 32px) 24px; }
  #page-publications .ps-header::before { inset: 72px 0 0 0; opacity: .45; background-position: center, 63% center; }
  #page-publications .ps-header > .container::before { font-size: 9px; letter-spacing: .16em; margin-bottom: 12px; }
  #page-publications .ps-header h1 { max-width: none; font-size: 43px; margin-bottom: 14px; }
  #page-publications .ps-header p { font-size: 12px; max-width: 345px; line-height: 1.8; }
  .ps-showcase { padding-top: 18px; }
  .ps-showcase .ps-toolbar{ gap: 16px; }
  .ps-showcase .ps-filters{ gap: 7px; }
  .ps-showcase .ps-filter{ padding: 7px 11px; min-height: 34px; font-size: 10px !important; }
  .ps-showcase .ps-search-wrap{ min-width: 0; flex: 1 1 100%; }
  .ps-showcase .ps-search{ min-height: 40px; font-size: 12px !important; }
  .ps-showcase .ps-search-icon{ top: 13px; }
  .ps-showcase .ps-clear{ top: 5px; }
  .ps-showcase .ps-summary{ min-height: 29px; }
  .ps-showcase .ps-group-title{ padding-top: 8px; font-size: 9px; }
  .ps-showcase .ps-row, .ps-showcase .ps-featured{ grid-template-columns: 22px 92px minmax(0, 1fr); gap: 0 12px; padding-block: 20px; }
  .ps-showcase .ps-number{ padding-top: 2px; font-size: 10px; grid-row: 1 / 4; }
  .ps-showcase .ps-thumbnail{ align-self: start; grid-row: 1; margin-top: 2px; aspect-ratio: 3 / 4.4; }
  .ps-showcase .ps-copy{ grid-column: 3; grid-row: 1; }
  .ps-showcase .ps-title{ font-size: 18px; line-height: 1.22; margin-bottom: 8px; }
  .ps-showcase .ps-authors{ font-size: 10px; margin-bottom: 9px; line-height: 1.6; }
  .ps-showcase .ps-tags{ gap: 5px; }
  .ps-showcase .ps-tag{ font-size: 9px; padding: 1px 7px; }
  .ps-showcase .ps-aside{ grid-column: 3; grid-row: 2; gap: 9px; padding-top: 10px; }
  .ps-showcase .ps-venue{ font-size: 10px; }
  .ps-showcase .ps-links{ gap: 7px 13px; }
  .ps-showcase .ps-links .ps-link{ font-size: 11px; min-height: 28px; }
  .ps-showcase .ps-featured{ margin-inline: -12px; padding-inline: 12px; grid-template-columns: 22px 92px minmax(0, 1fr); gap: 0 12px; }
  .ps-showcase .ps-featured .ps-number{ grid-column: 1; grid-row: 1 / 4; padding-top: 0; }
  .ps-showcase .ps-featured .ps-thumbnail{ grid-column: 2; grid-row: 1; aspect-ratio: 3 / 4.4; min-height: 0; margin: 0; }
  .ps-showcase .ps-featured .ps-copy{ grid-column: 3; grid-row: 1; }
  .ps-showcase .ps-featured .ps-title{ font-size: 20px; }
  .ps-showcase .ps-featured .ps-aside{ grid-column: 3; grid-row: 2; padding-top: 10px; }
  .ps-journal-name { font-size: 11px; }
  #home-pub-list .ps-home-journal { width: 100%; height: 72px; }
  #home-pub-list .ps-home-journal .ps-image { width: 52px; height: 72px; }
  #home-pub-list .ps-home-journal.ps-journal-online .ps-image { width: 72px; height: 28px; }
  #home-pub-list .ps-home-journal .ps-journal-name { font-size: 8px; max-width: 78px; }
  .ps-showcase .ps-group + .ps-group{ margin-top: 20px; }
  .ps-showcase .ps-empty{ padding: 38px 18px; }
  .ps-showcase .ps-empty h2{ font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-showcase *, .ps-showcase *::before, .ps-showcase *::after { transition: none !important; }
}



[hidden] { display: none !important; }
.nav-links li:has(> a[hidden]), .footer-links li:has(> a[hidden]) { display: none; }
.site-content-loading .page { visibility: hidden; }
.site-unavailable { padding-block: 160px 80px; color: #65758c; }
.site-unavailable a { display: inline-block; margin-left: 20px; }
#page-about > .hero.ref-hero { background-image: linear-gradient(90deg, rgb(7 19 33 / 18%), transparent 65%), var(--site-hero-image, url('/img/design-20261019/hero-clean.png')); }
.site-editorial { padding-block: 50px; }
.site-editorial h2 { font: 400 34px/1.2 Georgia, serif; margin-bottom: 20px; }
.site-editorial p { max-width: 900px; line-height: 1.9; white-space: pre-line; margin-bottom: 20px; }
.site-editorial img { display: block; width: 100%; max-height: 460px; object-fit: cover; margin-block: 25px; border-radius: 8px; }
.site-editorial-subtitle { color: #657d9d; font-size: 12px; letter-spacing: .07em; }
.ref-updates-grid.site-single-column { grid-template-columns: minmax(0,1fr); }
.site-single-column .ref-publications { border-right: 0; padding-right: 0; }
.site-document-group { padding-block: 25px 40px; }
.site-document-group > h2 { font: 400 30px/1.3 Georgia, serif; margin-bottom: 24px; }
.site-document-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.site-document { min-width: 0; padding: 26px; border: 1px solid #dce4ef; border-radius: 8px; background: #fff; }
.site-document h3 { font: 400 23px/1.3 Georgia, serif; margin-bottom: 16px; overflow-wrap: anywhere; }
.site-document p { margin-bottom: 20px; white-space: pre-line; }
.site-document a { color: #2861d9; }
.site-empty { padding-block: 45px 70px; color: #687d99; }
.news-content > p, .course-card > p, .project-card > p, .team-interest { white-space: pre-line; }
.site-news-image { display: block; width: 100%; max-width: 420px; max-height: 240px; object-fit: cover; margin-block: 18px; }
.course-card-detailed { grid-column: 1 / -1; }
.course-overview { margin-bottom: 22px; }
.course-card-detailed .course-overview { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: 32px; align-items: start; }
.course-card-detailed .course-overview:not(:has(.course-image)) .course-intro { grid-column: 1 / -1; }
.course-image { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 7px; }
.course-intro { min-width: 0; }
.course-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; margin: 24px 0 0; }
.course-stats dt { color: #71849d; font-size: 12px; margin-bottom: 4px; }
.course-stats dd { margin: 0; color: #1d3658; font-size: 19px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.course-description-heading { font-size: 17px; color: #253e60; margin: 25px 0 12px; }
.course-card .course-description { line-height: 1.95; }
.course-source-note { border-top: 1px solid #e1e8f2; margin-top: 26px; padding-top: 18px; color: #687d97; font-size: 12px; line-height: 1.8; }
.course-source-note summary { width: fit-content; cursor: pointer; color: #486a98; }
.course-source-note summary:focus-visible { outline: 2px solid #397bff; outline-offset: 4px; }
.course-source-note > p { margin: 15px 0 6px; }
.course-source-note blockquote { margin: 0; padding-left: 16px; border-left: 2px solid #cddcf0; white-space: pre-line; }
@media (max-width: 700px) {
  .course-card-detailed .course-overview { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .course-image { max-height: 240px; aspect-ratio: 5 / 3; }
  .course-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 800px) { .site-document-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { #page-about > .hero.ref-hero { background-image: linear-gradient(90deg,rgb(7 19 33 / 80%),rgb(7 19 33 / 58%)),var(--site-hero-image, url('/img/design-20261019/hero-clean.png')); } }

/* mathonai-hero-webp-v1 */
#page-about > .hero.ref-hero { background-image: url("data:image/webp;base64,UklGRrwWAABXRUJQVlA4ILAWAACwjACdASqAAmgBPrVUpFAnJCMqIlBJGUAWiWluhbyEPotH6N9rXeUqKFKGxX9+Sdyr6D5OqRmBntpzxb1LiffTvYA/kv965UmoT0txH9DNoaFLjxiAehm0NClwlF82vSmX8y/m6WG3EKX/1haLr1QvPPHwitM0M6Etwy/mfOrqUiB2uTPdhWqK7T96w4TXi5aqFxKCqr7KtvZLVKFMv86+NbNXHPAYr01uH62qPyX399eQ6B9mrzALZlU7PdAeZ6g3kYAEr43p753E4ofY90vWZyKrNpmkiVmw23x57m3xLqx8kEWB1TR5e73Cs7yhaNxLccK4TQ0Ckc3njTc1vPUKcx/X+IXRdk2nlsrh4epxmMmo6JvaHqHlP0jfBKjXW6UguwlEThSXpjPbT2o80lguvSmfk368YgQJdTSaJgEpfxVhGH5A57og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ypxfMeLU4Mkk2S/h3X4u23tLYVa+bEIOo/qyjyRSXKlj48v9gLwZCPsi3D0XjlLKoxLhdfZotQj/VzWGv9AIrZufpX90o7es4+a4zMcYb9Jo1vmSFU3r+CBtQhdHic0UTMwn8GTMIQT5SgsFlldwn//ZKI9/ZrPrVY3+FODnj7fFzBVK3PzLalUITGsACJu0CoXN2IcWcSXWOYwoVnNGPy8hp+nxYsQIBUPpJeVOH5OA2dEus6dfCB+j8GS4Myu0wUvODvLEy4LoUfC277kpYrtHURn4IKQe/4io18E0VcJHT8qF9tBYkeYNltZosEEcDMXu5syBu6RDrMjJRti6VyCOmhTEl/n9nXQP5mxe/D+ZjrO83CQPQ0ktKF7MqwU5fH4leIL9jV7AqiuLC6zu0P3o3v9vcHkPUiEsyy5hOalDfWFlR/kOPxU2OPjZe1X//9yG18A11wAdZmJszmjEltKK4y5jl+N15AwwG9xXXQgCz1TIHeeak/r2HuUlxYjixkqituuBSr2VYDkQoA27ALsB2v3SFvfIhR+c4mlK3QILGJAB6QwsApbuZgeR5L3GA0sg958FOObthrvC4bYL4XePsinvYE/VKfZmS3/Yf+MKsCeA/ougnOJ3Z26aS9jFGcFZEct96CdprwqYcLBWz7s+KuNVM+UfrHCNnzxrpE1w41jVJbh8Gqg4jsuDTDB2D7MawFfELcnGZYBjy4Yb1rE3zt6t9tJjwMXZULciYECTf5Um5Aw0oooYl62foXybauq/hb93dywEcUjudtO/C8KQglQHR4vplVyDoAhYcm8+aEasOCQAAAA="); }
/* Cosmic research hero; the right-hand manifold remains a live WebGL exhibit. */
#page-about > .hero.ref-hero.cy-model-mounted {
  isolation: isolate;
  overflow: hidden;
  min-height: max(760px, 100svh);
  padding: clamp(150px, 21vh, 230px) 0 80px;
  background: radial-gradient(ellipse at 75% 43%, #0c253e 0%, #061321 39%, #030d18 76%);
  border-bottom: 1px solid #183048;
}
.cy-cosmos { display: none; }
.cy-model-mounted .cy-cosmos {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  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CeA/ougnOJ3Z26aS9jFGcFZEct96CdprwqYcLBWz7s+KuNVM+UfrHCNnzxrpE1w41jVJbh8Gqg4jsuDTDB2D7MawFfELcnGZYBjy4Yb1rE3zt6t9tJjwMXZULciYECTf5Um5Aw0oooYl62foXybauq/hb93dywEcUjudtO/C8KQglQHR4vplVyDoAhYcm8+aEasOCQAAAA=') center / cover no-repeat;
  pointer-events: none;
  user-select: none;
}
#page-about .cy-model-mounted .hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: 0;
  align-items: start;
  max-width: 1820px;
  padding-inline: clamp(28px, 5.9vw, 112px);
}
.cy-model-copy { position: relative; z-index: 2; min-width: 0; padding-top: 7px; }
#page-about .cy-model-mounted h1 {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-bottom: 27px;
  color: #a7cff4;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
}
#page-about .cy-model-mounted h1::after { content: ''; height: 1px; width: 70px; background: #31516c; }
#page-about .cy-model-mounted .tagline {
  max-width: none;
  margin-bottom: 29px;
  color: #f7f9fc;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(54px, 5.1vw, 96px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.043em;
  text-wrap: initial;
}
.cy-title-line { display: block; }
.cy-title-accent {
  display: block;
  width: max-content;
  max-width: 135%;
  color: #9ccff7;
  background: linear-gradient(100deg, #b6dffb, #8dbcf0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
#page-about .cy-model-mounted .ref-hero-lead {
  max-width: 650px;
  color: #adbbcd;
  font-size: clamp(15px, 1.18vw, 20px);
  line-height: 1.55;
  margin-bottom: 32px;
}
.cy-model-mounted .ref-hero-actions { gap: 24px; }
.cy-model-mounted .ref-button {
  min-height: 58px;
  min-width: 200px;
  padding-inline: 25px;
  gap: 15px;
  border-color: #508cff;
  border-radius: 5px;
  background: #2479fa;
  font-size: 16px;
  box-shadow: 0 7px 28px #0963d51a;
}
.cy-model-mounted .ref-button:hover { background: #438dff; }
.cy-model-mounted .ref-button-outline { min-width: 225px; background: #04111e66; border-color: #b3c4d5; box-shadow: none; }
.cy-model-mounted .ref-button-outline:hover { background: #294b6a55; }
.cy-model-mounted .ref-play { width: 34px; height: 34px; border-color: #dce7f3; }
.cy-model {
  display: none;
  position: relative;
  z-index: 1;
  min-width: 0;
  pointer-events: none;
  user-select: none;
}
.cy-model-mounted .cy-model {
  display: block;
  width: calc(100% + 160px);
  height: clamp(530px, 47vw, 800px);
  margin: -74px -95px -70px -65px;
}
.cy-model canvas {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 130%;
  max-width: none;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 25px #3988d51f);
}
.navbar.cy-nav { --nav-height: 94px; height: var(--nav-height); border-bottom: 1px solid #20374b66; }
.navbar.cy-nav .container { max-width: 1820px; padding-inline: clamp(28px, 5.9vw, 112px); gap: 24px; }
.navbar.cy-nav .nav-logo { min-width: 230px; padding-bottom: 0; gap: 16px; }
.navbar.cy-nav .nav-logo::after { content: none; }
.navbar.cy-nav .nav-logo > span { font: 500 17px/1.2 var(--font-sans); letter-spacing: .27em; text-transform: uppercase; }
.navbar.cy-nav .nav-logo-icon { width: 64px; height: 36px; flex-shrink: 0; background: url('/img/mathonai-infinity.svg?v=7adde9fe9d9f') center / contain no-repeat; }
.navbar.cy-nav .nav-links { max-width: none; gap: 4px; justify-content: space-evenly; }
.navbar.cy-nav .nav-links li a { position: relative; padding: 10px 8px; border: 0; border-radius: 0; color: #aab9cb; background: transparent; text-shadow: none; font-size: 13px; letter-spacing: 0; }
.navbar.cy-nav .nav-links li a:hover { color: #e1efff; background: transparent; }
.navbar.cy-nav .nav-links li a.active { color: #c2e1ff; background: transparent; }
.navbar.cy-nav .nav-links li a.active::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: -9px; height: 2px; background: #edf6ff; border-radius: 2px; }
body:has(#page-about.active .cy-model-mounted) .navbar.cy-nav:not(.scrolled) { background: #061320a8; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: #20374b66; }
.cy-contact { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 23px; color: #bdcada; border: 1px solid #65778b; border-radius: 6px; font-size: 13px; }
.cy-contact:hover { color: #f6faff; border-color: #bfd5ec; background: #8dbcf00a; }
@media (max-width: 1300px) {
  .navbar.cy-nav .container { padding-inline: 38px; gap: 15px; }
  .navbar.cy-nav .nav-logo { min-width: 205px; gap: 10px; }
  .navbar.cy-nav .nav-logo > span { font-size: 15px; }
  .navbar.cy-nav .nav-links li a { font-size: 12px; padding-inline: 6px; }
  .cy-contact { padding-inline: 16px; }
  .cy-model-mounted .ref-button { min-width: 170px; }
  .cy-model-mounted .ref-button-outline { min-width: 190px; }
}
@media (max-width: 1100px) {
  .cy-contact { display: none; }
  .navbar.cy-nav { --nav-height: 82px; }
  .navbar.cy-nav .nav-links { background: #081a2bef; }
  .navbar.cy-nav .nav-links li a.active::after { bottom: 0; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  #page-about > .hero.ref-hero.cy-model-mounted { min-height: 760px; padding-top: 156px; padding-bottom: 80px; }
  #page-about .cy-model-mounted .hero-content { padding-inline: 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
  #page-about .cy-model-mounted .tagline { font-size: clamp(43px, 5.1vw, 52px); }
  #page-about .cy-model-mounted .ref-hero-lead { font-size: 14px; line-height: 1.6; }
  .cy-model-mounted .cy-model { width: calc(100% + 90px); height: 560px; margin: -40px -60px -50px -30px; }
  .cy-model-mounted .ref-hero-actions { gap: 13px; }
  .cy-model-mounted .ref-button { min-width: 145px; min-height: 50px; font-size: 14px; padding-inline: 17px; }
  .cy-model-mounted .ref-button-outline { min-width: 160px; }
}
@media (max-width: 760px) {
  #page-about > .hero.ref-hero.cy-model-mounted { min-height: 0; padding: 128px 0 25px; }
  #page-about .cy-model-mounted .hero-content { grid-template-columns: minmax(0, 1fr); gap: 0; padding-inline: 27px; }
  .cy-model-copy { padding-top: 0; }
  #page-about .cy-model-mounted h1 { margin-bottom: 23px; font-size: 11px; }
  #page-about .cy-model-mounted .tagline { font-size: clamp(39px, 7.6vw, 58px); max-width: 100%; }
  .cy-title-accent { max-width: 100%; white-space: normal; }
  #page-about .cy-model-mounted .ref-hero-lead { max-width: 570px; font-size: 14px; line-height: 1.7; }
  .cy-model-mounted .ref-hero-actions { gap: 13px; }
  .cy-model-mounted .ref-button { min-width: 140px; min-height: 51px; padding-inline: 17px; font-size: 14px; }
  .cy-model-mounted .ref-button-outline { min-width: 158px; }
  .cy-model-mounted .cy-model { order: 0; width: calc(100% + 35px); height: clamp(360px, 85vw, 540px); margin: 0 -18px -30px; }
  .cy-model canvas { width: 114%; height: 114%; }
  .navbar.cy-nav .container { padding-inline: 25px; }
  .navbar.cy-nav .nav-logo { min-width: 0; gap: 11px; }
  .navbar.cy-nav .nav-logo-icon { width: 48px; height: 29px; }
  .navbar.cy-nav .nav-logo > span { font-size: 14px; letter-spacing: .23em; }
}

/* Reference-style single-line header, retaining the site's existing navy palette. */
.navbar.cy-nav.mn-navigation { --nav-height: 78px; }
.navbar.cy-nav.mn-navigation .container { gap: 24px; }
.navbar.cy-nav.mn-navigation .nav-links { flex: 1; justify-content: flex-start; gap: clamp(8px, 1.1vw, 22px); }
.navbar.cy-nav.mn-navigation .nav-links > li > a,
.mn-more-toggle { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 0; font: 400 15px/1.4 var(--font-sans); color: #aab9cb; white-space: nowrap; }
.navbar.cy-nav.mn-navigation .nav-links > li > a.active::after { left: 0; right: 0; bottom: -10px; }
.mn-more { position: relative; }
.mn-more-toggle { gap: 4px; list-style: none; cursor: pointer; }
.mn-more-toggle::-webkit-details-marker { display: none; }
.mn-more-toggle svg { width: 16px; height: 16px; transition: transform .2s; }
.mn-more-details[open] .mn-more-toggle svg { transform: rotate(180deg); }
.mn-more-toggle:hover, .mn-more-toggle.active, .mn-more-details[open] .mn-more-toggle { color: #e1efff; }
.mn-more-list { position: absolute; top: calc(100% + 14px); right: -22px; width: 180px; padding: 9px; margin: 0; list-style: none; border: 1px solid #30465c; border-radius: 8px; background: #0a1a2cf5; box-shadow: 0 18px 50px #0005; }
.navbar.cy-nav.mn-navigation .mn-more-list li a { display: block; padding: 11px 14px; border-radius: 4px; font-size: 13px; }
.navbar.cy-nav.mn-navigation .mn-more-list li a:hover,
.navbar.cy-nav.mn-navigation .mn-more-list li a.active { background: #a6d4ff10; }
.navbar.cy-nav.mn-navigation .mn-more-list li a.active::after { content: none; }
.mn-nav-actions { display: flex; align-items: center; gap: 19px; flex-shrink: 0; }
.mn-search-toggle { display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; width: 38px; height: 42px; border: 0; background: transparent; color: #b9cadd; cursor: pointer; border-radius: 5px; }
.mn-search-toggle svg { width: 23px; height: 23px; }
.mn-search-toggle:hover { color: #f2f8ff; background: #9dcaff10; }
.mn-navigation .cy-contact { display: inline-flex; gap: 9px; min-height: 40px; padding-inline: 19px; color: #d6e4f5; background: #0d2a43; border-color: #39516a; border-radius: 8px; white-space: nowrap; }
.mn-navigation .cy-contact:hover { background: #153a59; }
.mn-navigation a:focus-visible, .mn-navigation button:focus-visible, .mn-more-toggle:focus-visible { outline: 2px solid #b4d9ff; outline-offset: 5px; }
#research, .home-research .section-title, .ps-title, .course-card h3, .nt-cover-title, .nt-article-title, .ps-project-title, .site-document h3 { scroll-margin-top: 112px; }
.mn-search-dialog { width: min(720px, calc(100vw - 32px)); max-height: min(760px, calc(100dvh - 72px)); margin: 36px auto auto; padding: 26px; overflow-y: auto; border: 1px solid #34526f; border-radius: 14px; background: #0b1b2b; color: #e5edf7; box-shadow: 0 30px 100px #0008; }
.mn-search-dialog::backdrop { background: #020b16ba; backdrop-filter: blur(6px); }
.mn-search-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.mn-search-head h2 { margin: 0; font: 500 23px/1.3 var(--font-sans); color: #eff6ff; }
.mn-search-close { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #38506b; border-radius: 5px; background: transparent; color: #bdcde0; font: 26px/1 var(--font-sans); cursor: pointer; }
.mn-search-close:hover { background: #b6d8ff12; color: #fff; }
.mn-search-label { display: block; margin-bottom: 10px; color: #adc1d8; font-size: 13px; }
.mn-search-input { box-sizing: border-box; width: 100%; padding: 14px 15px; font: 15px/1.4 var(--font-sans); border: 1px solid #47617c; border-radius: 7px; background: #061321; color: #eef6ff; }
.mn-search-input::placeholder { color: #7e96b0; }
.mn-search-input:focus-visible { outline: 2px solid #9dccf7; outline-offset: 2px; }
.mn-search-status { margin: 15px 0 10px; min-height: 20px; font-size: 12px; color: #99afc8; }
.mn-search-results { margin: 0; padding: 0; list-style: none; }
.mn-search-results li + li { border-top: 1px solid #31485f80; }
.mn-search-result { display: flex; flex-direction: column; gap: 6px; padding: 16px 12px; border-radius: 6px; color: #dfeaff; }
.mn-search-result:hover, .mn-search-result:focus-visible { background: #b6d8ff0c; color: #fff; }
.mn-search-result:focus-visible { outline: 2px solid #9dccf7; outline-offset: -2px; }
.mn-search-result strong { font-size: 15px; line-height: 1.5; font-weight: 500; }
.mn-search-category { font-size: 11px; color: #89bdf4; letter-spacing: .05em; }
.mn-search-excerpt { color: #91a7bf; font-size: 12px; line-height: 1.7; }
@media (min-width: 1101px) and (max-width: 1400px) {
  .navbar.cy-nav.mn-navigation .container { gap: 19px; }
  .navbar.cy-nav.mn-navigation .nav-links { gap: 21px; }
  .navbar.cy-nav.mn-navigation .nav-links > li > a, .mn-more-toggle { font-size: 15px; }
  .mn-nav-actions { gap: 12px; }
  .mn-navigation .cy-contact { padding-inline: 14px; font-size: 12px; }
}
@media (max-width: 1100px) {
  .navbar.cy-nav.mn-navigation .nav-links { gap: 0; align-items: stretch; max-height: calc(100dvh - 78px); }
  .navbar.cy-nav.mn-navigation .nav-links > li > a { display: flex; padding: 12px 16px; font-size: 14px; }
  .navbar.cy-nav.mn-navigation .nav-links > li > a.active::after { left: 16px; right: auto; bottom: 3px; width: 32px; }
  .navbar.cy-nav.mn-navigation .nav-toggle { order: 3; }
  .mn-nav-actions { order: 2; margin-left: auto; gap: 12px; }
  .mn-more-toggle { display: flex; justify-content: space-between; padding: 12px 16px; }
  .mn-more-list { position: static; width: auto; margin: 0 12px 8px; border-color: #30465c66; box-shadow: none; }
  .navbar.cy-nav.mn-navigation .mn-more-list li a { padding: 12px 15px; }
  .mn-more-details[open] { border-top: 1px solid #30465c66; }
}
@media (max-width: 620px) {
  .navbar.cy-nav.mn-navigation .container { gap: 8px; padding-inline: 20px; }
  .mn-navigation .cy-contact { display: none; }
  .mn-nav-actions { gap: 0; }
  .mn-search-dialog { margin-top: 16px; max-height: calc(100dvh - 32px); padding: 20px; }
  .mn-search-head h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .mn-more-toggle svg { transition: none; }
}

/* Text enters once; layout, links and existing 3D transforms stay intact. */
#page-about .text-reveal {
  transition: opacity 780ms cubic-bezier(.22, 1, .36, 1),
    transform 780ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--text-reveal-delay, 0ms);
}
#page-about .text-reveal[data-reveal-state="waiting"] {
  opacity: 0;
  transform: translateY(22px);
}
#page-about .text-reveal[data-reveal-state="shown"] {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  #page-about .text-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
@media print {
  #page-about .text-reveal { opacity: 1 !important; transform: none !important; }
}

/* Unified account screen. Every rule is limited to the active account page. */
body:has(#page-login.active) {
  color-scheme: dark;
  color: #edf2fa;
  background: #030811 url('/img/auth/mathonai-login-scene.webp') center top / cover fixed no-repeat;
}
body:has(#page-login.active) .navbar {
  background: linear-gradient(180deg, #030911e8, #03091194);
  border-bottom-color: #99b8de12;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body:has(#page-login.active) .navbar .nav-logo { color: #f2f5fc; }
body:has(#page-login.active) .navbar .nav-links li a,
body:has(#page-login.active) .mn-more-toggle { color: #bdcbe0; }
body:has(#page-login.active) .navbar .nav-links li a:hover,
body:has(#page-login.active) .navbar .nav-links li a.active { color: #f5f8ff; }
body:has(#page-login.active) .navbar .nav-links li a.active { background: transparent; }
body:has(#page-login.active) .nav-toggle span { background: #d3e3f8; }
#page-login { color: #edf2fa; }
#page-login.active { animation: none; }
#page-login .auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 72px);
  max-width: 1480px;
  min-height: calc(100svh - 72px);
  padding: 126px clamp(28px, 5.7vw, 82px) 50px;
}
#page-login .auth-card {
  position: relative;
  order: 2;
  width: 100%;
  max-width: 600px;
  margin: 0 0 0 auto;
  padding: clamp(32px, 3.6vw, 52px) clamp(28px, 3.5vw, 50px) 32px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: linear-gradient(155deg, #101b2beb, #060d18ed 48%, #101622e8) padding-box,
    linear-gradient(132deg, #6c8bb2b3, #b8cce044 39%, #b297737d 67%, #9cacc17d) border-box;
  box-shadow: 0 24px 64px #0005, inset 0 1px 1px #dceaff0a;
}
#page-login .login-card-brand {
  text-align: center;
  margin: 0 auto 30px;
  user-select: none;
}
#page-login .login-wordmark {
  display: block;
  width: fit-content;
  margin: 0 auto;
  font: 400 clamp(29px, 3.1vw, 45px)/1.2 var(--font-sans);
  letter-spacing: .16em;
  text-indent: .16em;
  color: #edf3ff;
  background: linear-gradient(105deg, #d9bea1 0%, #f4f5fb 42%, #e5edff 68%, #83bbf7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#page-login .login-brand-caption {
  display: block;
  margin-top: 11px;
  color: #bec9dc;
  font: 400 8px/1.7 var(--font-sans);
  letter-spacing: .22em;
}
#page-login .page-header {
  margin: 0 0 27px;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
}
#page-login .page-header .container { padding: 0; }
#page-login .page-header h1 {
  margin: 0 0 12px;
  color: #f2f4fa;
  font: 400 clamp(28px, 2.6vw, 38px)/1.4 var(--font-serif);
  letter-spacing: .02em;
}
#page-login .page-header p {
  max-width: 370px;
  margin: 0 auto;
  color: #adbbd1;
  font-size: 14px;
  line-height: 1.8;
}
#page-login .auth-form-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
#page-login .auth-entry-lead {
  padding-top: 22px;
  border-top: 1px solid #9fb6d32b;
  color: #c5d1e3;
  text-align: center;
  font-size: 14px;
  line-height: 1.85;
}
#page-login .account-actions { gap: 12px; margin-top: 25px; }
#page-login .auth-submit,
#page-login .auth-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: .025em;
  transition: background .18s, border-color .18s, color .18s;
}
#page-login .auth-submit {
  color: #fff;
  border: 1px solid #579eff;
  background: linear-gradient(110deg, #2389ff, #1255e4 65%, #347ef2);
  box-shadow: 0 5px 22px #126deb2e, inset 0 1px 0 #c5e4ff6b;
}
#page-login .auth-submit:hover {
  color: #fff;
  background: linear-gradient(110deg, #3e99ff, #2464ef 65%, #488ffb);
  border-color: #9acbff;
  transform: none;
}
#page-login .auth-secondary {
  color: #cddcf0;
  background: #13213835;
  border: 1px solid #697b965e;
}
#page-login .auth-secondary:hover { color: #f5f8ff; background: #9ac9ff0c; border-color: #90afcf; }
#page-login .auth-identity-note { color: #a0b0c7; text-align: center; font-size: 12px; line-height: 1.9; }
#page-login .auth-legacy { color: #9caec6; border-color: #8ca8c22b; margin-top: 23px; padding-top: 20px; font-size: 12px; }
#page-login .auth-legacy a { color: #81caff; white-space: nowrap; }
#page-login .auth-legacy a:hover { color: #cfedff; }
#page-login .auth-back { display: block; width: fit-content; margin: 23px auto 0; color: #b8c9df; font-size: 12px; }
#page-login .auth-back:hover { color: #eef6ff; }
#page-login .auth-status { background: #16283e; color: #d3e1f5; border: 1px solid #6b8aae45; }
#page-login .auth-status.error { background: #321a25; border-color: #bf6d7c5e; color: #ffd8df; }
#page-login .auth-status.success { background: #102d2b; border-color: #69c1b151; color: #c5f3e9; }
#page-login .account-avatar {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border: 1px solid #7aa4dc66;
  background: #86b8ff10;
  color: #cfe7ff;
}
#page-login .account-panel { text-align: center; }
#page-login .account-panel h3 { color: #e5efff; font-size: 19px; }
#page-login .account-panel p { color: #a4b5cd; }
#page-login .account-panel .auth-legacy { font-size: 12px; line-height: 1.9; }
#page-login .auth-logout { color: #acbbd0; }
#page-login .auth-logout:hover { color: #eef7ff; }
#page-login .auth-aside {
  order: 1;
  align-self: center;
  max-width: 230px;
  margin: 0;
  padding: 0 0 110px;
  text-shadow: 0 2px 15px #030811;
}
#page-login .auth-aside .auth-eyebrow { color: #b6c8e1; text-transform: uppercase; letter-spacing: .2em; font-size: 10px; }
#page-login .auth-aside h2 { color: #dce7f6; font: 400 clamp(24px, 2vw, 30px)/1.5 var(--font-serif); letter-spacing: .03em; }
#page-login .auth-aside-rule { height: 1px; width: 42px; margin: 27px 0; background: #c6ae8e; }
#page-login .auth-aside p { color: #adbed6; font-size: 12px; line-height: 1.95; }
#page-login .auth-aside-link { margin-top: 12px; color: #b7d6fa; font-size: 12px; }
#page-login .auth-aside-link:hover { color: #fff; }
#page-login a:focus-visible,
#page-login button:focus-visible { outline: 2px solid #aedaff; outline-offset: 5px; }
body:has(#page-login.active) .footer { margin-top: 0; padding: 23px 0; background: #030812ab; border-top: 1px solid #7389a321; }
body:has(#page-login.active) .footer .footer-content { display: none; }
body:has(#page-login.active) .footer-bottom { margin: 0; padding: 0; border: 0; color: #95a9c3; text-align: left; font-size: 11px; }
@media (min-width: 769px) and (max-width: 1100px) {
  #page-login .auth-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; padding-inline: 34px; }
  #page-login .auth-card { padding-inline: 29px; }
  #page-login .auth-aside { max-width: 185px; }
}
@media (max-width: 768px) {
  body:has(#page-login.active) { background-size: auto 1000px; background-position: 29% top; background-attachment: scroll; }
  #page-login .auth-layout { grid-template-columns: minmax(0, 1fr); min-height: calc(100svh - 60px); gap: 30px; padding: 112px 23px 38px; }
  #page-login .auth-card { order: 1; max-width: 520px; margin: 0 auto; padding: 33px 29px 27px; background: linear-gradient(155deg, #101b2bf2, #060d18f5 48%, #101622f2) padding-box, linear-gradient(132deg, #6c8bb2b3, #b8cce044 39%, #b297737d 67%, #9cacc17d) border-box; }
  #page-login .login-card-brand { margin-bottom: 25px; }
  #page-login .login-wordmark { font-size: clamp(27px, 6vw, 35px); }
  #page-login .login-brand-caption { font-size: 7px; letter-spacing: .12em; }
  #page-login .page-header h1 { font-size: 29px; }
  #page-login .auth-aside { order: 2; max-width: 520px; width: 100%; margin: 0 auto; padding: 0 10px; }
  #page-login .auth-aside .auth-eyebrow,
  #page-login .auth-aside-rule { display: none; }
  #page-login .auth-aside h2 { font-size: 21px; margin-bottom: 12px; }
  #page-login .auth-aside h2 br { display: none; }
  #page-login .auth-aside p { font-size: 12px; margin-bottom: 6px; }
  #page-login .auth-aside-link { margin-top: 7px; }
  body:has(#page-login.active) .footer-bottom { text-align: center; }
}
@media (max-width: 390px) {
  #page-login .auth-layout { padding-inline: 17px; }
  #page-login .auth-card { padding-inline: 22px; }
  #page-login .login-brand-caption { font-size: 6px; }
  #page-login .page-header p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  #page-login a, #page-login button { transition: none; }
}

.mn-language{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #40566b;border-radius:8px;background:#102337;flex-shrink:0}
#page-about .ref-hero .ref-hero-actions{display:none!important}
.mn-language button{border:0;border-radius:5px;background:transparent;color:#b5c5d9;font:500 13px/1.3 var(--font-sans,sans-serif);min-height:32px;min-width:37px;padding:6px 8px;cursor:pointer;white-space:nowrap}
.mn-language button[aria-pressed="true"]{color:#f2f7ff;background:#294b6c}
.mn-language button:hover{background:#23415e;color:#fff}
.mn-language button:focus-visible{outline:2px solid #a9d3ff;outline-offset:2px}
#home-course-grid .ref-course-code,#course-container .course-code{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.mn-course-school{font-size:12px;font-weight:400;letter-spacing:.015em;line-height:1.6;text-transform:none;color:#6b85a7}
html[lang="zh-CN"] .cy-model-copy .tagline{line-height:1.3;letter-spacing:.015em}
html[lang="zh-CN"] .ref-hero-lead{line-height:1.9}
#page-about .cy-model-mounted .tagline.mn-localized-title{font-size:clamp(36px,3.5vw,64px);line-height:1.2;letter-spacing:-.02em;text-wrap:balance;max-width:760px}
#page-about .cy-model-mounted .ref-hero-lead{line-height:1.8}
@media(max-width:620px){#page-about .cy-model-mounted .tagline.mn-localized-title{font-size:34px;line-height:1.3}#page-about .cy-model-mounted .ref-hero-lead{font-size:14px;line-height:1.85}}
@media(min-width:1101px) and (max-width:1450px){.navbar.cy-nav.mn-navigation .container{gap:14px}.navbar.cy-nav.mn-navigation .nav-links{gap:14px}.mn-nav-actions{gap:8px}.mn-navigation .cy-contact{padding-inline:10px}}
@media(max-width:620px){.navbar.cy-nav.mn-navigation .container{padding-inline:12px;gap:6px}.navbar.cy-nav.mn-navigation .nav-logo{min-width:0;gap:7px}.navbar.cy-nav.mn-navigation .nav-logo>span{font-size:16px}.mn-language button{min-width:34px;padding-inline:6px}.mn-nav-actions{gap:4px}}
@media(max-width:360px){.navbar.cy-nav.mn-navigation .nav-logo>span{display:none}.navbar.cy-nav.mn-navigation .nav-toggle{flex-shrink:0}.mn-language button{min-height:36px}}

/* Scoped adaptation of the supplied folder cards. */
.mt-targets{padding-block:88px 100px;background:#f7f9fd;scroll-margin-top:100px}
.mt-heading{margin-bottom:48px}.mt-heading .section-subtitle{margin-bottom:0}
.mt-folders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;max-width:1170px;margin-inline:auto}
.mt-folder{--ink:#eff4ff;--surface:linear-gradient(180deg,#202054,#131f39);--rim:#ced5e4;position:relative;display:flex;flex-direction:column;width:100%;border:0;padding:0;border-radius:20px;background:var(--surface);color:var(--ink);overflow:hidden;isolation:isolate;cursor:pointer;box-shadow:0 0 0 5px var(--rim),0 16px 40px #10284412;container-type:inline-size;text-align:left;user-select:none;-webkit-tap-highlight-color:transparent;outline-offset:10px;font-family:inherit}
.mt-folder[data-theme=goal]{--surface:linear-gradient(180deg,#142839,#091b2c);--rim:#b6c8d9}
.mt-folder[data-theme=community]{--ink:#102a40;--surface:linear-gradient(180deg,#f2f5f9,#e4ebf3);--rim:#ced8e4}
.mt-folder:focus-visible{outline:3px solid #2873dd}
.mt-artwork{position:relative;display:block;flex:none;aspect-ratio:338/245;width:100%;overflow:hidden;isolation:isolate;background:#0d2133}
.mt-back{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.mt-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;opacity:0;transform:translateY(35px);transition:transform .65s cubic-bezier(.22,1,.36,1),opacity .32s ease;pointer-events:none}
.mt-cover{position:absolute;z-index:2;top:40%;left:0;width:100%;height:100%;background:var(--surface);transform:translateY(0);transition:transform .65s cubic-bezier(.22,1,.36,1);pointer-events:none;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 338 468' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 0H192C204 0 207 7 210 19C212 29 216 34 230 34H338V468H0Z'/%3E%3C/svg%3E");mask-size:100% 100%;mask-repeat:no-repeat}
.mt-cover-title{position:absolute;left:8.28%;right:20%;top:8cqw;font-size:clamp(20px,7.2cqw,28px);line-height:1.2;font-weight:500;letter-spacing:-.035em;white-space:nowrap}
.mt-arrow{position:absolute;right:8.28%;top:9cqw;font-size:22px;line-height:1}
.mt-copy{position:relative;z-index:3;display:flex;flex-direction:column;flex:1;padding:24px 8.28% 7cqw;font-size:14px;font-size:4.1cqw;line-height:1.6;pointer-events:none;background:var(--surface)}
.mt-card-title{display:block;font-size:20px;font-size:5.9cqw;line-height:1.4;font-weight:550;margin-bottom:12px;letter-spacing:-.025em;text-wrap:balance}
.mt-summary{display:block;opacity:.72}.mt-read{display:block;font-size:12px;margin-top:auto;padding-top:16px;opacity:.85}
.mt-folder.is-open .mt-cover{transform:translateY(26%)}.mt-folder.is-open .mt-art{opacity:1;transform:translateY(0)}
body.mt-reading{overflow:hidden}
.mt-detail{--paper:#101d35;--text:#f1f5ff;--muted:#b5c4d8;--accent:#aacbff;width:min(820px,calc(100vw - 40px));max-height:90svh;margin:auto;padding:0;border:1px solid #ffffff26;border-radius:22px;background:var(--paper);color:var(--text);box-shadow:0 32px 120px #0009;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;font-family:inherit}
.mt-detail::backdrop{background:#071524b8;backdrop-filter:blur(8px)}
.mt-detail[data-theme=community]{--paper:#f1f5f9;--text:#102a40;--muted:#405c71;--accent:#295f98}
.mt-detail[data-theme=goal]{--paper:#0d2133;--accent:#94c3e8}
.mt-detail-top{position:sticky;top:0;z-index:1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;padding:26px 80px 26px 42px;background:linear-gradient(115deg,#283968,#132642);color:#fff;border-bottom:1px solid #ffffff18}
.mt-detail[data-theme=community] .mt-detail-top{background:linear-gradient(115deg,#b36179,#6b4168)}
.mt-detail[data-theme=goal] .mt-detail-top{background:linear-gradient(115deg,#537da0,#19374e)}
.mt-detail-index{font-size:26px;font-weight:500;line-height:1.2;letter-spacing:-.025em}.mt-detail-category{font-size:11px;letter-spacing:2px;opacity:.85}
.mt-detail-close{position:absolute;right:22px;top:22px;width:40px;height:40px;border:1px solid #ffffff50;border-radius:50%;background:#0002;color:#fff;font:28px/1 Arial;cursor:pointer}
.mt-detail-body{padding:36px 42px 28px}.mt-detail-eyebrow{margin:0 0 12px;color:var(--accent);font-size:13px;letter-spacing:.04em}
.mt-detail h2{margin:0 0 24px;color:var(--text);font-size:clamp(25px,4vw,36px);line-height:1.4;letter-spacing:-.03em;font-weight:550}
.mt-detail-text{font-size:16px;line-height:1.95;color:var(--muted);margin:0;white-space:pre-line}
.mt-detail-footer{margin-top:32px;padding-top:22px;border-top:1px solid color-mix(in srgb,var(--text) 15%,transparent);display:flex;justify-content:flex-end}
.mt-detail-done{border:1px solid color-mix(in srgb,var(--text) 30%,transparent);border-radius:99px;padding:12px 20px;background:transparent;color:var(--text);cursor:pointer;font:inherit;font-size:14px}
.mt-detail button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(max-width:900px){.mt-folders{gap:24px}.mt-targets{padding-block:60px 72px}.mt-copy{font-size:4.4cqw}.mt-read{font-size:11px}}
@media(max-width:700px){.mt-folders{grid-template-columns:minmax(0,360px);justify-content:center;gap:34px}.mt-heading{margin-bottom:34px}.mt-detail{width:calc(100vw - 24px);max-height:92svh}.mt-detail-top{padding:24px 76px 24px 24px}.mt-detail-body{padding:26px 24px}.mt-detail-index{font-size:24px}.mt-detail-close{right:16px;top:16px}.mt-detail h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){.mt-art,.mt-cover{transition:none}}

/* Unprovided founder biography fields stay empty without adding blank spacing. */
.team-carousel .tc-role:empty,
.team-carousel .tc-interest:empty,
.team-carousel .tc-detail-role:empty,
.team-carousel .tc-detail-interest:empty { display: none; }

/* The supplied poster appears on both the homepage and the news article. */
#home-news-list .site-news-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 300px; object-fit: contain; border-radius: 5px; background: #fff; }
.mn-news-image-link { display: block; width: fit-content; max-width: 100%; margin-top: 15px; }
.mn-news-image-link:focus-visible { outline: 2px solid #397bff; outline-offset: 4px; }
.nt-front.mn-news-has-image .nt-cover-art { display: none; }
.nt-front .mn-news-cover-photo { display: block; width: 100%; flex: 1 1 0; min-height: 0; max-height: 46%; object-fit: contain; margin: 18px 0 8px; }
.nt-front.mn-news-has-image .nt-cover-title { max-width: 100%; font-size: clamp(22px, 2.7vw, 38px); line-height: 1.22; margin: 12px 0 20px; }
.nt-article-copy .site-news-image { display: block; width: 100%; height: auto; max-width: 100%; max-height: none; border-radius: 4px; }

/* The phone header occupies its own row; hero copy cannot start beneath it. */
@media (max-width: 760px) {
  body:has(#page-about.active) { overflow-anchor: none; }
  body:has(#page-about.active) #navbar.navbar {
    position: sticky;
    top: 0;
    --nav-height: 70px;
    height: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    box-sizing: border-box;
    background: #081a2b;
    border-bottom: 1px solid #20374b66;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  #page-about > .hero.ref-hero,
  #page-about > .hero.ref-hero.cy-model-mounted {
    min-height: 0;
    padding: 26px 0 24px;
    height: auto;
  }
  #page-about .ref-hero .hero-content,
  #page-about .cy-model-mounted .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px));
    text-align: start;
  }
  #page-about .cy-model-copy { min-width: 0; padding-top: 0; }
  #page-about .ref-hero h1,
  #page-about .cy-model-mounted h1 { margin-bottom: 14px; font-size: 11px; }
  #page-about .ref-hero .tagline,
  #page-about .cy-model-mounted .tagline.mn-localized-title {
    max-width: 100%;
    font-size: clamp(26px, 7.2vw, 32px);
    line-height: 1.3;
    letter-spacing: -.01em;
    margin: 0 0 18px;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }
  #page-about .ref-hero .ref-hero-lead,
  #page-about .cy-model-mounted .ref-hero-lead {
    max-width: none;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
  }
  #page-about .cy-model-mounted .cy-model {
    order: 1;
    width: 100%;
    max-width: 380px;
    height: clamp(200px, 54vw, 260px);
    margin: 0 auto;
    min-width: 0;
    overflow: hidden;
  }
  #page-about .cy-model-mounted .cy-model canvas { inset: 0; transform: none; width: 100%; height: 100%; }
  #page-about :is(#home-targets, #research, .ref-updates, .ref-projects, #home-courses, #home-team-showcase) { scroll-margin-top: 86px; }
}

#page-about .cy-model-mounted .hero-content{display:block;max-width:1300px}#page-about .cy-model-mounted .tagline.mn-localized-title{max-width:1100px}#page-about .cy-model-mounted .ref-hero-lead{max-width:1000px}#page-about>.hero.ref-hero.cy-model-mounted{min-height:0;padding:150px 0 90px}.research-gate{padding-block:26px!important}.research-switch-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #dce5ee;padding-bottom:16px}#research-label{font:24px Georgia,serif}#research-toggle{display:flex;gap:10px;align-items:center;border:1px solid #a4b5c7;border-radius:24px;padding:9px 15px;color:#41566e;background:#e8eef5;cursor:pointer}#research-toggle[aria-checked="true"]{background:#145fe5;color:white}.switch-dot{width:14px;height:14px;background:currentColor;border-radius:50%}#research-panel[hidden]{display:none!important}#research-panel iframe{display:block;border:0;width:100%;min-height:600px;margin-top:16px}#research-toggle:focus-visible{outline:3px solid #448cff;outline-offset:3px}@media(max-width:620px){#page-about>.hero.ref-hero.cy-model-mounted{padding:116px 0 48px}#page-about .cy-model-mounted .hero-content{padding-inline:24px}#page-about .cy-model-mounted .tagline.mn-localized-title{font-size:32px}#research-label{font-size:20px}}
#page-about .cy-model-mounted .hero-content{max-width:1820px}#page-about .cy-model-mounted .tagline.mn-localized-title,#page-about .cy-model-mounted .ref-hero-lead{max-width:56%}#page-about .cy-model-mounted .tagline.mn-localized-title{font-size:clamp(32px,3.4vw,60px)}.cy-model-mounted .cy-cosmos:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,12,24,.88),rgba(2,12,24,.70) 52%,rgba(2,12,24,.15) 70%,transparent 85%)}@media(max-width:900px){#page-about .cy-model-mounted .tagline.mn-localized-title,#page-about .cy-model-mounted .ref-hero-lead{max-width:100%}.cy-model-mounted .cy-cosmos:after{background:rgba(2,12,24,.76)}.cy-model-mounted .cy-cosmos{background-position:62% center}}
:root{--mathonai-header-height:78px}.navbar.cy-nav.mn-navigation{height:var(--mathonai-header-height)}#page-about>.hero.ref-hero.cy-model-mounted{display:grid;grid-template-columns:minmax(0,1fr);margin-top:var(--mathonai-header-height);padding:0!important;min-height:0;background:#03101e;background-image:none}#page-about>.hero.ref-hero.cy-model-mounted .cy-cosmos{position:relative;inset:auto;grid-area:1/1;align-self:start;width:100%;height:auto;min-height:0;aspect-ratio:1672/941;background-size:100% 100%;background-position:center top;background-repeat:no-repeat}#page-about>.hero.ref-hero.cy-model-mounted .hero-content{grid-area:1/1;align-self:start;width:100%;max-width:none;padding:clamp(28px,4vw,74px) clamp(24px,5.9vw,112px);margin:0}#page-about>.hero.ref-hero.cy-model-mounted .ref-hero-lead{margin-bottom:0}@media(max-width:900px){#page-about>.hero.ref-hero.cy-model-mounted .hero-content{grid-area:2/1;padding:30px 24px 48px}#page-about>.hero.ref-hero.cy-model-mounted .cy-cosmos:after{background:none}#page-about>.hero.ref-hero.cy-model-mounted .tagline.mn-localized-title,#page-about>.hero.ref-hero.cy-model-mounted .ref-hero-lead{max-width:100%}}
#mathonai-home-content{display:contents}.boot-en{display:none}html[lang="en"] .boot-en{display:inline}html[lang="en"] .boot-zh{display:none}html[data-mathonai-entry-intro] #mathonai-home-content{display:none!important}html[data-mathonai-entry-intro],html[data-mathonai-entry-intro] body{overflow:hidden}
.navbar.cy-nav.mn-navigation{background:#071b2c}
@media(max-width:760px){#page-about>.hero.ref-hero.cy-model-mounted{margin-top:0}}
#page-about>.hero.ref-hero.cy-model-mounted .cy-cosmos:after{content:none;background:none;display:none}#page-about>.hero.ref-hero.cy-model-mounted .hero-introduction{grid-area:2/1;position:relative;z-index:1;width:100%;padding:36px clamp(24px,5.9vw,112px) 56px;background:#03101e}#page-about>.hero.ref-hero.cy-model-mounted .hero-introduction .ref-hero-lead{max-width:1280px;width:100%;margin:0 auto;font-size:clamp(16px,1.1vw,20px);line-height:1.9}#page-about>.hero.ref-hero.cy-model-mounted .tagline.mn-localized-title{max-width:44%}@media(max-width:900px){#page-about>.hero.ref-hero.cy-model-mounted .hero-content{padding-bottom:0}#page-about>.hero.ref-hero.cy-model-mounted .hero-introduction{grid-area:3/1;padding:24px 24px 42px}#page-about>.hero.ref-hero.cy-model-mounted .hero-introduction .ref-hero-lead{font-size:15px}#page-about>.hero.ref-hero.cy-model-mounted .tagline.mn-localized-title{max-width:100%}}
#navbar.navbar.cy-nav.mn-navigation{background:#071b2c!important}#page-about>.hero.ref-hero.cy-model-mounted .hero-content{padding-left:clamp(20px,3vw,56px);padding-right:clamp(20px,3vw,56px)}#page-about>.hero.ref-hero.cy-model-mounted .tagline.mn-localized-title{max-width:40%}#page-about>.hero.ref-hero.cy-model-mounted .hero-introduction{padding-inline:clamp(20px,3vw,56px)}@media(max-width:900px){#page-about>.hero.ref-hero.cy-model-mounted .tagline.mn-localized-title{max-width:100%}}
#page-about>.hero.ref-hero.cy-model-mounted .hero-content{grid-area:1/1;position:relative;isolation:isolate;width:44%;max-width:44%;padding:clamp(28px,4vw,74px) 2vw 30px clamp(20px,3vw,56px);background:none}#page-about>.hero.ref-hero.cy-model-mounted .hero-content:before{content:"";position:absolute;inset:clamp(12px,2vw,34px) 0 10px clamp(10px,1.5vw,28px);z-index:-1;pointer-events:none;border:1px solid rgba(193,218,242,.32);border-radius:18px;background:linear-gradient(115deg,rgba(156,194,224,.34),rgba(84,129,168,.20) 65%,rgba(64,108,146,.10));box-shadow:0 8px 32px rgba(0,8,20,.12)}#page-about>.hero.ref-hero.cy-model-mounted .tagline.mn-localized-title{max-width:100%}#page-about>.hero.ref-hero.cy-model-mounted .ref-hero-lead{max-width:100%;width:100%;margin:clamp(20px,2vw,36px) 0 0;font-size:clamp(13px,1.05vw,20px);line-height:1.75}@media(max-width:900px){#page-about>.hero.ref-hero.cy-model-mounted .hero-content{grid-area:2/1;width:100%;max-width:100%;padding:30px 24px 42px}#page-about>.hero.ref-hero.cy-model-mounted .ref-hero-lead{font-size:15px;line-height:1.8}}
#page-about>.hero.ref-hero.cy-model-mounted{display:block;margin-top:78px;padding:70px 0 65px!important;min-height:calc(100svh - 78px);background:#03101e}
#page-about>.hero.ref-hero.cy-model-mounted .cy-cosmos{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;background-size:cover;background-position:center}
#page-about>.hero.ref-hero.cy-model-mounted .cy-cosmos:after{display:none;content:none}
#page-about>.hero.ref-hero.cy-model-mounted .hero-content{display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);width:100%;max-width:1820px;margin:0 auto;padding:0 clamp(28px,5.9vw,112px);isolation:auto}
#page-about>.hero.ref-hero.cy-model-mounted .hero-content:before{display:none;content:none}
#page-about>.hero.ref-hero.cy-model-mounted .tagline.mn-localized-title{max-width:100%;font-size:clamp(32px,3.4vw,60px);line-height:1.2;margin:0 0 29px}
#page-about>.hero.ref-hero.cy-model-mounted .ref-hero-lead{width:100%;max-width:650px;font-size:clamp(14px,1.18vw,20px);line-height:1.85;margin:0}
#page-about>.hero.ref-hero.cy-model-mounted .cy-model{width:calc(100% + 120px);height:clamp(480px,44vw,740px);margin:-45px -75px -45px -45px}
@media(max-width:760px){#page-about>.hero.ref-hero.cy-model-mounted{margin-top:0;padding:32px 0 25px!important;min-height:0}#page-about>.hero.ref-hero.cy-model-mounted .hero-content{grid-template-columns:minmax(0,1fr);padding:0 24px}#page-about>.hero.ref-hero.cy-model-mounted .cy-model{width:100%;height:clamp(320px,85vw,500px);margin:15px 0 0}#page-about>.hero.ref-hero.cy-model-mounted .ref-hero-lead{font-size:14px}}
