:root {
  --ebl-ink: #17262b;
  --ebl-muted: #5e6b70;
  --ebl-teal: #0f4c5c;
  --ebl-teal-2: #166b78;
  --ebl-moss: #4f6f44;
  --ebl-copper: #b85f35;
  --ebl-gold: #d9a441;
  --ebl-cream: #f8f3ea;
  --ebl-sand: #efe4d4;
  --ebl-cloud: #fbfaf7;
  --ebl-white: #ffffff;
  --ebl-line: rgba(23, 38, 43, 0.14);
  --ebl-shadow: 0 20px 55px rgba(15, 76, 92, 0.14);
  --ebl-radius: 22px;
  --ebl-radius-sm: 14px;
  --ebl-max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ebl-cloud);
  color: var(--ebl-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: var(--ebl-teal); }
a:hover { color: var(--ebl-copper); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid rgba(217,164,65,.7); outline-offset: 3px; }
.ebl-skip-link { position: absolute; left: -999px; top: 10px; z-index: 9999; background: var(--ebl-ink); color: #fff; padding: 0.65rem 1rem; border-radius: 999px; }
.ebl-skip-link:focus { left: 10px; }
.ebl-container { width: min(calc(100% - 40px), var(--ebl-max)); margin-inline: auto; }
.ebl-shell { min-height: 100vh; display: flex; flex-direction: column; }
.ebl-main { flex: 1; }

/* Header */
.ebl-site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 243, 234, 0.94); border-bottom: 1px solid var(--ebl-line); backdrop-filter: blur(16px); }
.ebl-site-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.ebl-brand-block { min-width: 240px; }
.ebl-logo-wrap { color: var(--ebl-ink); text-decoration: none; font-weight: 850; letter-spacing: -0.035em; line-height: 1.05; font-size: clamp(1.25rem, 2vw, 1.65rem); display: inline-block; }
.ebl-logo-wrap:hover { color: var(--ebl-teal); }
.ebl-brand-subtitle { color: var(--ebl-muted); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.25rem; }
.ebl-main-nav ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.3rem; margin: 0; padding: 0; list-style: none; }
.ebl-main-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0.45rem 0.78rem; border-radius: 999px; color: var(--ebl-ink); text-decoration: none; font-size: 0.9rem; font-weight: 760; letter-spacing: 0.02em; transition: background 160ms ease, color 160ms ease, transform 160ms ease; }
.ebl-main-nav a:hover, .ebl-main-nav a[aria-current="page"] { background: rgba(15, 76, 92, 0.1); color: var(--ebl-teal); transform: translateY(-1px); }

/* Hero areas */
.ebl-hero, .ebl-page-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 10% 15%, rgba(217, 164, 65, 0.23), transparent 32rem), radial-gradient(circle at 85% 30%, rgba(15, 76, 92, 0.22), transparent 34rem), linear-gradient(135deg, #f8f3ea 0%, #efe4d4 100%); border-bottom: 1px solid var(--ebl-line); }
.ebl-hero::after, .ebl-page-hero::after { content: ""; position: absolute; inset: auto -8rem -10rem auto; width: 34rem; height: 34rem; border-radius: 50%; background: repeating-linear-gradient(45deg, rgba(184,95,53,.11), rgba(184,95,53,.11) 2px, transparent 2px, transparent 12px); pointer-events: none; }
.ebl-hero--landing { padding: clamp(4rem, 7vw, 7.5rem) 0; }
.ebl-hero__grid, .ebl-page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; position: relative; z-index: 1; }
.ebl-eyebrow, .ebl-overline { color: var(--ebl-copper); font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem; margin: 0 0 0.8rem; }
.ebl-hero h1, .ebl-page-hero h1, .ebl-main h1, .ebl-main h2, .ebl-main h3 { color: var(--ebl-ink); line-height: 1.06; letter-spacing: -0.035em; }
.ebl-hero h1 { font-size: clamp(2.8rem, 6vw, 6rem); max-width: 10.8ch; margin: 0 0 1rem; }
.ebl-hero__lede, .ebl-page-hero__lede { max-width: 64ch; color: #304247; font-size: clamp(1.08rem, 1.5vw, 1.28rem); }
.ebl-hero__visual, .ebl-page-hero__image { min-height: 280px; border-radius: calc(var(--ebl-radius) + 8px); background: linear-gradient(135deg, rgba(15,76,92,.14), rgba(184,95,53,.14)), var(--ebl-white); box-shadow: var(--ebl-shadow); border: 1px solid rgba(255,255,255,.8); overflow: hidden; display: grid; place-items: center; }
.ebl-hero__visual img, .ebl-page-hero__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ebl-page-hero--tall { padding: clamp(3.2rem, 6vw, 5.8rem) 0; }
.ebl-page-hero--short { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.ebl-page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); margin: 0 0 1rem; }

/* Content sections */
.ebl-section { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.ebl-section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.ebl-section--cream { background: var(--ebl-cream); border-block: 1px solid var(--ebl-line); }
.ebl-section--dark { background: var(--ebl-ink); color: #f8f3ea; }
.ebl-section--dark h2, .ebl-section--dark h3 { color: #fff; }
.ebl-section--dark p { color: rgba(248,243,234,.84); }
.ebl-section-heading { max-width: 780px; margin-bottom: 2rem; }
.ebl-section-heading h2, .ebl-main h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 0 0 0.8rem; }
.ebl-section-heading p { color: var(--ebl-muted); font-size: 1.08rem; }
.ebl-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.ebl-lede { font-size: 1.18rem; color: #34484e; max-width: 72ch; }
.ebl-card-grid { display: grid; gap: 1.25rem; }
.ebl-card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ebl-card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ebl-card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ebl-card, .ebl-research-card, .ebl-person-card, .ebl-pub-card, .ebl-callout { background: var(--ebl-white); border: 1px solid var(--ebl-line); border-radius: var(--ebl-radius); padding: clamp(1.15rem, 2.2vw, 1.75rem); box-shadow: 0 12px 34px rgba(23, 38, 43, 0.055); }
.ebl-research-card { position: relative; overflow: hidden; min-height: 260px; display: flex; flex-direction: column; }
.ebl-research-card::before { content: ""; width: 3rem; height: 0.35rem; border-radius: 999px; background: linear-gradient(90deg, var(--ebl-teal), var(--ebl-copper)); margin-bottom: 1.2rem; }
.ebl-research-card h3, .ebl-person-card h3, .ebl-pub-card h3, .ebl-callout h3 { margin: 0 0 0.7rem; font-size: 1.32rem; letter-spacing: -0.025em; }
.ebl-research-card p, .ebl-card p, .ebl-person-card p, .ebl-pub-card p { color: var(--ebl-muted); }
.ebl-card-link { margin-top: auto; font-weight: 850; text-decoration: none; }
.ebl-card-link::after { content: " →"; }
.ebl-feature-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.ebl-feature-list li { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: 0.75rem; align-items: start; }
.ebl-feature-list li::before { content: ""; width: 1.1rem; height: 1.1rem; margin-top: 0.35rem; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--ebl-gold), var(--ebl-copper)); box-shadow: 0 0 0 0.35rem rgba(184,95,53,.12); }
.ebl-stat-card { background: var(--ebl-ink); color: #fff; border-radius: var(--ebl-radius); padding: 1.5rem; box-shadow: var(--ebl-shadow); }
.ebl-stat-card strong { display: block; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1; color: var(--ebl-gold); }
.ebl-stat-card span { color: rgba(255,255,255,.78); }
.ebl-tag-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.25rem; }
.ebl-tag { display: inline-flex; align-items: center; border: 1px solid rgba(15,76,92,.17); background: rgba(15,76,92,.08); color: var(--ebl-teal); border-radius: 999px; padding: .35rem .68rem; font-size: .86rem; font-weight: 750; }
.ebl-stat-card .ebl-tag { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18); color: #fff; }

/* Research page */
.ebl-anchor-section { scroll-margin-top: 110px; border-top: 1px solid var(--ebl-line); padding-top: clamp(2.5rem, 4vw, 4rem); margin-top: clamp(2.5rem, 4vw, 4rem); }
.ebl-research-detail { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.ebl-research-label { position: sticky; top: 110px; border-radius: var(--ebl-radius); border: 1px solid var(--ebl-line); background: var(--ebl-cream); padding: 1.35rem; }
.ebl-research-label h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; }
.ebl-question-list { padding-left: 1.2rem; }
.ebl-question-list li { margin-bottom: .55rem; }
.ebl-process-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; margin-top: 2rem; }
.ebl-process-step { background: rgba(255,255,255,.72); border: 1px solid var(--ebl-line); border-radius: var(--ebl-radius-sm); padding: 1rem; font-weight: 800; color: var(--ebl-teal); }

/* People */
.ebl-person-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.ebl-avatar { width: 110px; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, rgba(15,76,92,.18), rgba(184,95,53,.22)); display: grid; place-items: center; color: var(--ebl-teal); font-weight: 900; font-size: 1.7rem; border: 1px solid rgba(255,255,255,.8); }
.ebl-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ebl-role { color: var(--ebl-copper); font-weight: 850; margin: 0 0 .45rem; }
.ebl-meta { color: var(--ebl-muted); font-size: .96rem; }

/* Publications */
.ebl-pub-list { display: grid; gap: .85rem; margin-top: 1rem; }
.ebl-pub-item { background: #fff; border: 1px solid var(--ebl-line); border-radius: var(--ebl-radius-sm); padding: 1rem 1.1rem; }
.ebl-pub-item strong { color: var(--ebl-ink); }
.ebl-pub-item span { color: var(--ebl-muted); font-size: .95rem; }
.ebl-pub-year { display: inline-flex; align-items: center; justify-content: center; min-width: 3.5rem; margin-right: .5rem; padding: .12rem .45rem; border-radius: 999px; background: rgba(217,164,65,.18); color: #7c4f00; font-weight: 850; font-size: .82rem; }
.ebl-archive { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--ebl-radius); overflow: hidden; box-shadow: 0 12px 34px rgba(23, 38, 43, 0.055); }
.ebl-archive th, .ebl-archive td { text-align: left; border-bottom: 1px solid var(--ebl-line); padding: .78rem .9rem; vertical-align: top; }
.ebl-archive th { background: var(--ebl-cream); color: var(--ebl-ink); font-size: .84rem; text-transform: uppercase; letter-spacing: .08em; }
.ebl-archive td { color: var(--ebl-muted); font-size: .94rem; }
.ebl-archive td:first-child { color: var(--ebl-ink); font-weight: 850; }

/* Callouts and utilities */
.ebl-callout { background: linear-gradient(135deg, rgba(15,76,92,.08), rgba(217,164,65,.13)); }
.ebl-callout--strong { background: var(--ebl-teal); color: #fff; border-color: var(--ebl-teal); }
.ebl-callout--strong h2, .ebl-callout--strong h3 { color: #fff; }
.ebl-callout--strong p { color: rgba(255,255,255,.86); }
.ebl-button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.ebl-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: .75rem 1.05rem; font-weight: 850; text-decoration: none; border: 1px solid var(--ebl-teal); background: var(--ebl-teal); color: #fff; }
.ebl-button:hover { background: var(--ebl-copper); border-color: var(--ebl-copper); color: #fff; }
.ebl-button--ghost { background: transparent; color: var(--ebl-teal); }
.ebl-button--ghost:hover { color: #fff; }
.ebl-kicker-note { color: var(--ebl-muted); font-size: .95rem; }
.ebl-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.ebl-contact-card strong { display: block; color: var(--ebl-ink); }
.ebl-footer { background: var(--ebl-ink); color: rgba(248,243,234,.82); border-top: 1px solid rgba(255,255,255,.08); }
.ebl-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.6rem 0; }
.ebl-footer strong { display: block; color: #fff; letter-spacing: -0.02em; }
.ebl-footer span { display: block; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(248,243,234,.66); }
.ebl-footer a { color: #fff; }
.ebl-muted { color: var(--ebl-muted); }

@media (max-width: 980px) {
  .ebl-site-header { position: static; }
  .ebl-site-header__inner { align-items: flex-start; flex-direction: column; gap: .9rem; padding: 1rem 0; }
  .ebl-main-nav ul { justify-content: flex-start; }
  .ebl-hero__grid, .ebl-page-hero__grid, .ebl-split, .ebl-research-detail, .ebl-contact-grid { grid-template-columns: 1fr; }
  .ebl-card-grid--4, .ebl-card-grid--3, .ebl-card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ebl-research-label { position: relative; top: auto; }
  .ebl-process-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .ebl-container { width: min(calc(100% - 28px), var(--ebl-max)); }
  .ebl-card-grid--4, .ebl-card-grid--3, .ebl-card-grid--2, .ebl-process-strip { grid-template-columns: 1fr; }
  .ebl-person-card { grid-template-columns: 1fr; }
  .ebl-avatar { width: 96px; border-radius: 20px; }
  .ebl-hero--landing { padding: 3rem 0; }
  .ebl-hero h1 { max-width: none; font-size: clamp(2.65rem, 15vw, 4.5rem); }
  .ebl-footer__inner { align-items: flex-start; flex-direction: column; }
  .ebl-archive { display: block; overflow-x: auto; }
}
