/* ============================================================
   cyclopeptides.com — Global Styles
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-deep:    #0a1628;
  --blue-mid:     #102244;
  --blue-accent:  #1a56db;
  --blue-light:   #3b82f6;
  --teal:         #0d9488;
  --teal-light:   #14b8a6;
  --white:        #ffffff;
  --off-white:    #f8fafc;
  --gray-100:     #f1f5f9;
  --gray-200:     #e2e8f0;
  --gray-400:     #94a3b8;
  --gray-600:     #475569;
  --gray-800:     #1e293b;
  --text:         #1e293b;
  --text-muted:   #64748b;

  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;

  --max-width: 1160px;
  --section-pad: 80px 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--blue-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad);
}

.section--alt {
  background: var(--off-white);
}

.section--dark {
  background: var(--blue-deep);
  color: var(--white);
}

/* ============================================================
   NAV
   ============================================================ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-deep);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--teal-light);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 6px;
  transition: background 0.15s !important;
}

.nav-cta:hover {
  background: var(--teal-light) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 60%, #0f2d5e 100%);
  color: var(--white);
  padding: 100px 24px 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 50%, rgba(20, 184, 166, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal-light);
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
  text-decoration: none !important;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
}

/* Molecule SVG decoration */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.molecule-ring {
  width: 340px;
  height: 340px;
  position: relative;
}

/* ============================================================
   STAT BAR
   ============================================================ */

.stat-bar {
  background: var(--blue-mid);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 28px 24px;
}

.stat-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.stat {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--teal-light);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   INTRO SECTION
   ============================================================ */

.intro {
  padding: 80px 24px;
}

.intro-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--blue-deep);
}

.intro p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.intro-visual {
  padding-top: 8px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(13, 148, 136, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.feature-text strong {
  display: block;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 2px;
}

.feature-text span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   TOPIC CARDS
   ============================================================ */

.topics {
  padding: 80px 24px;
  background: var(--off-white);
}

.topics-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue-deep);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.1);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.card-icon--blue   { background: rgba(26, 86, 219, 0.1); }
.card-icon--teal   { background: rgba(13, 148, 136, 0.1); }
.card-icon--green  { background: rgba(22, 163, 74, 0.1); }
.card-icon--purple { background: rgba(124, 58, 237, 0.1); }
.card-icon--amber  { background: rgba(217, 119, 6, 0.1); }
.card-icon--rose   { background: rgba(225, 29, 72, 0.1); }

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link:hover { text-decoration: none; gap: 8px; }

/* ============================================================
   DIGESTION / ORAL BIO FEATURE SECTION
   ============================================================ */

.oral-bio {
  padding: 80px 24px;
  background: var(--blue-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.oral-bio::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 500px at 70% 50%, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.oral-bio-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.oral-bio .section-label { color: var(--teal-light); }

.oral-bio h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.oral-bio p {
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 16px;
}

.oral-bio .btn-primary { margin-top: 8px; }

.comparison-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.comparison-col {
  padding: 24px 28px;
}

.comparison-col:first-child {
  border-right: 1px solid rgba(255,255,255,0.1);
}

.comparison-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  opacity: 0.5;
}

.comparison-col.col-bad h4  { color: #f87171; }
.comparison-col.col-good h4 { color: var(--teal-light); }

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.comp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.col-bad  .comp-dot { background: #f87171; }
.col-good .comp-dot { background: var(--teal-light); }

.comparison-footer {
  padding: 16px 28px;
  background: rgba(20, 184, 166, 0.1);
  border-top: 1px solid rgba(20, 184, 166, 0.2);
  font-size: 0.8rem;
  color: var(--teal-light);
  font-weight: 600;
}

/* ============================================================
   RESEARCH SECTION (Craik / UQ)
   ============================================================ */

.research {
  padding: 80px 24px;
}

.research-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.research-card {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 40px;
}

.research-card .section-label { color: var(--teal-light); }

.research-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.research-card p {
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  font-size: 0.925rem;
  margin-bottom: 20px;
}

.research-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-light);
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.25);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 8px;
  margin-right: 6px;
}

.research-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-light);
}

.research-link:hover { color: var(--white); text-decoration: none; gap: 10px; }

.research-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue-deep);
  margin-bottom: 16px;
}

.research-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.timeline {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

.timeline-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
}

.timeline-year {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}

.timeline-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   PHYLLOME / COMPANIES SECTION
   ============================================================ */

.industry {
  padding: 80px 24px;
  background: var(--off-white);
}

.industry-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.company-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.company-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.company-card--featured {
  border-color: var(--teal);
  border-width: 2px;
  position: relative;
}

.company-featured-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.company-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-deep);
}

.company-location {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.company-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.company-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--gray-100);
  color: var(--gray-600);
  margin-right: 4px;
  margin-top: 4px;
}

.company-tag--teal {
  background: rgba(13, 148, 136, 0.1);
  color: var(--teal);
}

.company-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.company-link:hover { text-decoration: none; gap: 8px; }

.companies-more {
  text-align: center;
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.companies-more a { font-weight: 600; }

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0f2d5e 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 100%, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.6);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.footer-brand {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand span { color: var(--teal-light); }

.footer-about {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   RESEARCHERS SECTION
   ============================================================ */

.researchers {
  padding: 80px 24px;
  background: var(--off-white);
}

.researcher-grid-featured {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 24px;
  margin-bottom: 24px;
}

.researcher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.researcher-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.researcher-card:hover {
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.09);
  transform: translateY(-2px);
}

.researcher-card--featured {
  border-color: var(--teal);
  border-width: 2px;
  background: linear-gradient(160deg, #fafffe 0%, var(--white) 100%);
}

.researcher-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}

.researcher-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  color: var(--white);
  overflow: hidden;
}

.researcher-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Country-coded avatar colours */
.researcher-avatar--au { background: linear-gradient(135deg, #1a56db, #0d9488); }  /* Australia */
.researcher-avatar--no { background: linear-gradient(135deg, #c0392b, #e74c3c); }  /* Norway */
.researcher-avatar--at { background: linear-gradient(135deg, #7c3aed, #a855f7); }  /* Austria */
.researcher-avatar--se { background: linear-gradient(135deg, #1d4ed8, #facc15); }  /* Sweden */
.researcher-avatar--sg { background: linear-gradient(135deg, #c2410c, #f97316); }  /* Singapore */
.researcher-avatar--us { background: linear-gradient(135deg, #1e3a5f, #3b82f6); }  /* USA */

.researcher-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 0;
  line-height: 1.3;
}

.researcher-affil {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 2px 0 0;
  line-height: 1.4;
}

.researcher-role-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.researcher-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.researcher-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

@media (max-width: 1000px) {
  .researcher-grid-featured {
    grid-template-columns: 1fr;
  }
  .researcher-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .researcher-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   INNER PAGE HERO
   ============================================================ */

.page-hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 64px 24px 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 300px at 80% 50%, rgba(20,184,166,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container { position: relative; max-width: var(--max-width); margin: 0 auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--white); text-decoration: none; }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current { color: rgba(255,255,255,0.8); }

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--teal-light);
}

.page-hero .lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  max-width: 680px;
}

/* ============================================================
   PROSE LAYOUT (main content + sidebar)
   ============================================================ */

.prose-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
}

.prose-layout--wide {
  grid-template-columns: 1fr;
  max-width: 800px;
}

/* Prose rich text */
.prose h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--blue-deep);
  margin: 40px 0 14px;
  line-height: 1.25;
  padding-top: 8px;
  border-top: 2px solid var(--teal);
}

.prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }

.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 28px 0 10px;
}

.prose p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.prose p strong { color: var(--gray-800); }

.prose ul, .prose ol {
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 20px;
  margin-bottom: 16px;
}

.prose li { margin-bottom: 6px; }

.prose blockquote {
  border-left: 3px solid var(--teal);
  padding: 12px 20px;
  margin: 24px 0;
  background: rgba(13,148,136,0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--gray-600);
}

.prose a { color: var(--blue-accent); }
.prose a:hover { text-decoration: underline; }

/* Highlighted callout block */
.callout {
  background: rgba(26,86,219,0.06);
  border: 1px solid rgba(26,86,219,0.15);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
}

.callout--teal {
  background: rgba(13,148,136,0.07);
  border-color: rgba(13,148,136,0.2);
}

.callout-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 6px;
}

.callout p { margin: 0; font-size: 0.925rem; }

.disclaimer-bar {
  background: #f8f7f2;
  border: 1px solid #e2ddd0;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.8rem;
  color: #6b6455;
  text-align: center;
  margin-bottom: 32px;
}

/* ============================================================
   SIDEBAR COMPONENTS
   ============================================================ */

.sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
}

.sidebar-box h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.sidebar-box--teal {
  background: linear-gradient(135deg, rgba(13,148,136,0.08) 0%, rgba(13,148,136,0.03) 100%);
  border-color: rgba(13,148,136,0.25);
}

.sidebar-box--dark {
  background: var(--blue-deep);
  border-color: transparent;
  color: var(--white);
}

.sidebar-box--dark h4 { color: rgba(255,255,255,0.5); }
.sidebar-box--dark p  { color: rgba(255,255,255,0.75); font-size:0.875rem; line-height:1.6; }

.key-stat {
  text-align: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 12px;
}

.key-stat:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.key-stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 3px;
}

.key-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.sidebar-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link-list a {
  font-size: 0.875rem;
  color: var(--blue-accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-link-list a::before { content: '→'; font-size: 0.8em; }

/* ============================================================
   DISEASE / APPLICATION CARDS
   ============================================================ */

.disease-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.disease-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s;
}

.disease-card:hover { box-shadow: 0 6px 24px rgba(10,22,40,0.09); }

.disease-card--highlight {
  border-color: var(--teal);
  border-width: 2px;
}

.disease-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.disease-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 0;
}

.disease-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.disease-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 100px;
}

.status--trial   { background: rgba(13,148,136,0.12); color: var(--teal); }
.status--research{ background: rgba(26,86,219,0.1);   color: var(--blue-accent); }
.status--approved{ background: rgba(22,163,74,0.12);  color: #16a34a; }
.status--commercial{ background: rgba(217,119,6,0.12); color: #d97706; }

/* ============================================================
   STEP LIST (plant production process)
   ============================================================ */

.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0;
}

.step-item {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}

.step-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 8px 0 6px;
}

.step-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   COMPANY PROFILE CARDS (companies page)
   ============================================================ */

.company-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
}

.company-profile {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
  transition: box-shadow 0.2s;
}

.company-profile:hover { box-shadow: 0 6px 24px rgba(10,22,40,0.08); }

.company-profile--featured {
  border-color: var(--teal);
  border-width: 2px;
  background: linear-gradient(160deg, rgba(13,148,136,0.03) 0%, var(--white) 100%);
}

.company-meta { display: flex; flex-direction: column; gap: 8px; }

.company-meta-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.2;
}

.company-meta-loc {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.company-meta-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--gray-100);
  color: var(--gray-600);
}

.tag--teal   { background: rgba(13,148,136,0.1);  color: var(--teal); }
.tag--blue   { background: rgba(26,86,219,0.1);   color: var(--blue-accent); }
.tag--green  { background: rgba(22,163,74,0.1);   color: #16a34a; }
.tag--amber  { background: rgba(217,119,6,0.1);   color: #d97706; }
.tag--purple { background: rgba(124,58,237,0.1);  color: #7c3aed; }

.company-body h3 { font-size: 1rem; font-weight: 700; color: var(--blue-deep); margin-bottom: 8px; }
.company-body p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.company-body p:last-child { margin-bottom: 0; }
.company-body a  { font-weight: 600; }

/* ============================================================
   FAQ
   ============================================================ */

.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 24px 0;
}

.faq-item:first-child { border-top: 1px solid var(--gray-200); }

.faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 12px;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-q::before {
  content: 'Q';
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 34px;
}

.faq-a p { margin-bottom: 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a strong { color: var(--gray-800); }

/* ============================================================
   GLOSSARY
   ============================================================ */

.glossary-alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 40px;
  padding: 16px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--gray-200);
}

.glossary-alpha-nav a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-accent);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.15s;
  text-decoration: none;
}

.glossary-alpha-nav a:hover { background: var(--gray-100); }

.glossary-section { margin-bottom: 40px; }

.glossary-letter {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 20px;
}

.glossary-entry {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}

.glossary-entry:last-child { border-bottom: none; }

.glossary-term-word {
  font-weight: 700;
  color: var(--blue-deep);
  font-size: 0.95rem;
}

.glossary-term-also {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 2px;
}

.glossary-definition {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.glossary-definition strong { color: var(--gray-800); }

/* ============================================================
   CITATION / REFERENCE BOX
   ============================================================ */

.cite-box {
  background: var(--gray-100);
  border-left: 3px solid var(--gray-400);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 20px 0;
}

.cite-box strong { color: var(--gray-800); }
.cite-box a { color: var(--blue-accent); }

/* ============================================================
   RESEARCHER PROFILE PAGE
   ============================================================ */

.profile-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.profile-sidebar { display: flex; flex-direction: column; gap: 20px; }

.profile-id-card {
  background: var(--blue-deep);
  color: var(--white);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
}

.profile-avatar-lg {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 16px;
  overflow: hidden;
}

.profile-avatar-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-id-name {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 4px;
}

.profile-id-title {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-bottom: 16px;
}

.profile-id-inst {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-light);
}

.profile-body h2 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--blue-deep);
  margin: 36px 0 12px;
  padding-top: 8px;
  border-top: 2px solid var(--teal);
}

.profile-body h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }

.profile-body p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.profile-body p strong { color: var(--gray-800); }

.profile-body ul {
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 20px;
  margin-bottom: 14px;
}

.profile-body li { margin-bottom: 5px; }

.publication-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.publication-item {
  padding: 14px 16px;
  background: var(--off-white);
  border-radius: 8px;
  border-left: 3px solid var(--teal);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.publication-item strong { color: var(--gray-800); display: block; margin-bottom: 2px; }
.publication-item em { color: var(--blue-accent); font-style: normal; }

/* ============================================================
   MOLECULE SVG ANIMATION
   ============================================================ */

@keyframes orbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes orbit-reverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

.ring-outer {
  animation: orbit 22s linear infinite;
  transform-origin: 50% 50%;
}

.ring-inner {
  animation: orbit-reverse 14s linear infinite;
  transform-origin: 50% 50%;
}

.core-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--blue-deep);
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .hero-inner,
  .intro-inner,
  .oral-bio-inner,
  .research-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual { order: -1; }
  .molecule-ring { width: 220px; height: 220px; }

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

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .prose-layout { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px; }
  .profile-layout { grid-template-columns: 1fr; gap: 32px; }
  .disease-grid { grid-template-columns: repeat(2, 1fr); }
  .company-profile { grid-template-columns: 1fr; gap: 16px; }
  .glossary-entry { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 560px) {
  :root { --section-pad: 56px 20px; }

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

  .stat-bar-inner {
    gap: 16px;
  }

  .stat-number { font-size: 1.4rem; }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
