/* EnJEL website styles. Colours and type follow CLAUDE.md ("Look"). */
:root {
  --accent: #C2410C;
  --link: #9a3412;
  --text: #1f1f1f;
  --text-2: #444444;
  --text-3: #555555;
  --border: #e3e3e3;
  --rule: #ececec;
  --rule-2: #d6d6d6;
  --input: #bdbdbd;
  --soft: #f7f5f2;
  --ph: #e9e5df;
  --dark: #1f1f1f;
  --tag-bg: #fff1e8;
  --on-dark: #cfcfcf;
  --on-dark-link: #ffb58a;
  --radius: 4px;
  --pad: 32px;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: #ffffff;
}
img { max-width: 100%; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--link); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
button, input, select { font-family: inherit; }
[hidden] { display: none !important; }

.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--dark); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
@media (max-width: 600px) { :root { --pad: 20px; } }

/* Section spacing (top / bottom) */
.s-88 { padding-top: 88px; padding-bottom: 88px; }
.s-88-72 { padding-top: 88px; padding-bottom: 72px; }
.s-80 { padding-top: 80px; padding-bottom: 80px; }
.s-72 { padding-top: 72px; padding-bottom: 72px; }
.s-64 { padding-top: 64px; padding-bottom: 64px; }
@media (max-width: 700px) {
  .s-88, .s-88-72, .s-80 { padding-top: 56px; padding-bottom: 56px; }
  .s-72, .s-64 { padding-top: 48px; padding-bottom: 48px; }
}
.band { background: var(--soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.dark { background: var(--dark); color: #f2f2f2; }

/* Grids: columns reflow, never wider than the screen */
.grid { display: grid; gap: 28px; }
.g-200 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.g-220 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.g-240 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.g-260 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.g-280 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.g-300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.g-340 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.g-380 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-48 { gap: 48px; }

/* Type */
.eyebrow { font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; color: var(--link); margin-bottom: 10px; }
.hero .eyebrow, .page-hero .eyebrow { margin-bottom: 16px; }
.h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 6vw, 50px);
  line-height: 1.12; letter-spacing: -0.6px; margin-bottom: 20px; max-width: 820px;
}
.h2 { font-family: var(--serif); font-size: clamp(28px, 4.4vw, 38px); font-weight: 600; letter-spacing: -0.4px; line-height: 1.2; }
.h2-sm { font-family: var(--serif); font-size: clamp(26px, 4vw, 34px); font-weight: 600; letter-spacing: -0.4px; line-height: 1.2; }
.lede { font-size: 19px; color: var(--text-2); max-width: 660px; }
@media (max-width: 600px) { .lede { font-size: 17px; } }
.muted { color: var(--text-2); }
.more-link { font-weight: 600; color: var(--link); }
.mb-12 { margin-bottom: 12px; } .mb-24 { margin-bottom: 24px; } .mb-28 { margin-bottom: 28px; }
.mb-32 { margin-bottom: 32px; } .mb-36 { margin-bottom: 36px; } .mb-40 { margin-bottom: 40px; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  background: var(--accent); color: #fff; padding: 12px 20px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; border: 0; cursor: pointer; text-decoration: none;
}
.btn:hover { color: #fff; background: #a8380a; text-decoration: none; }
.btn-lg { padding: 14px 24px; font-size: 16px; }

/* Utility bar */
.utility { background: var(--dark); color: #e6e6e6; font-size: 13px; }
.utility .wrap { padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.utility nav, .utility .util-right { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.utility a { color: #e6e6e6; }
.utility a:hover { color: #fff; }
@media (max-width: 600px) { .utility .util-tagline { display: none; } }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: #fff; }
.header-row { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; color: var(--text); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 26px; font-weight: 700; letter-spacing: -0.3px; }
.brand-sub { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-3); }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 15px; font-weight: 500; }
.main-nav a[aria-current="page"] { color: var(--link); }
.main-nav .nav-cta { display: none; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.icon-btn {
  width: 44px; height: 44px; border: 1px solid #d0d0d0; background: #fff; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text);
}
.icon-btn:hover { border-color: var(--text); }
.menu-toggle { display: none; }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 0;
    border-top: 1px solid var(--border); margin: 0 calc(-1 * var(--pad)); padding: 8px var(--pad) 0;
    font-size: 17px;
  }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .main-nav a:last-child { border-bottom: 0; }
  .site-header.nav-open .main-nav { display: flex; }
  .no-js .main-nav { display: flex; }
  .no-js .menu-toggle { display: none; }
}
@media (max-width: 460px) {
  .header-row { column-gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .header-actions { gap: 8px; }
  .brand { gap: 10px; }
  .brand-name { font-size: 24px; }
  .brand-sub { font-size: 10px; letter-spacing: 1px; }
  .header-actions .btn { display: none; }
  .main-nav .nav-cta { display: block; font-weight: 600; color: var(--link); }
}

/* Heroes */
.hero { background: var(--soft); border-bottom: 1px solid var(--border); }
.hero-inner { padding-top: 72px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-main { flex: 999 1 560px; min-width: 0; }
.hero .h1 { font-size: clamp(36px, 6.4vw, 52px); max-width: 760px; }
.hero .lede { max-width: 640px; margin-bottom: 32px; }
@media (max-width: 700px) { .hero-inner { padding-top: 48px; padding-bottom: 56px; } }

.page-hero { background: var(--soft); border-bottom: 1px solid var(--border); }
.page-hero .wrap { padding-top: 28px; padding-bottom: 64px; }
.page-hero .lede { margin-bottom: 32px; }
.page-hero .lede:last-child { margin-bottom: 0; }
.breadcrumb { font-size: 13px; color: var(--text-3); margin-bottom: 40px; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > .split-main { flex: 999 1 520px; min-width: 0; }
.split > .split-side { flex: 1 1 380px; min-width: 0; }
@media (max-width: 440px) { .split > .split-side, .hero-feature { flex-basis: 100%; } }

/* Search bar */
.searchbar { display: flex; flex-wrap: wrap; max-width: 680px; background: #fff; border: 1px solid var(--input); border-radius: var(--radius); }
.searchbar.wide { max-width: 760px; }
.searchbar:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.searchbar input { flex: 1 1 240px; min-width: 0; border: 0; padding: 16px 18px; font-size: 16px; background: transparent; outline: none; }
.searchbar button {
  flex: 0 0 auto; border: 0; background: var(--dark); color: #fff; padding: 0 26px; min-height: 52px;
  font-size: 15px; font-weight: 600; cursor: pointer; border-radius: 0 3px 3px 0;
}
.searchbar button:hover { background: #000; }
@media (max-width: 420px) { .searchbar button { flex: 1 1 100%; border-radius: 0 0 3px 3px; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; font-size: 14px; }
.chip { border: 1px solid #cfcfcf; border-radius: 999px; padding: 6px 14px; background: #fff; }
.chip-lg { min-height: 40px; padding: 0 18px; display: inline-flex; align-items: center; border: 1px solid var(--input); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; }

/* Hero featured publication */
.hero-feature { flex: 1 1 340px; min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.hero-feature-body { padding: 26px 28px 28px; }
.kicker { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; color: var(--text-3); }
.accent-rule { height: 3px; width: 48px; background: var(--accent); margin: 6px 0 16px; }
.venue { font-size: 13px; color: var(--link); font-weight: 600; margin-bottom: 8px; }
.hero-feature h2 { font-family: var(--serif); font-size: 22px; line-height: 1.3; font-weight: 600; margin-bottom: 12px; }
.hero-feature p.summary { font-size: 15px; color: var(--text-2); margin-bottom: 16px; }
.meta-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-3); border-top: 1px solid var(--rule); padding-top: 14px; overflow-wrap: anywhere; }

/* Media + placeholders */
.media { display: block; width: 100%; object-fit: cover; background: var(--ph); }
.r-16-9 { aspect-ratio: 16 / 9; } .r-16-10 { aspect-ratio: 16 / 10; } .r-4-3 { aspect-ratio: 4 / 3; }
picture { display: block; }
.ph {
  background: var(--ph); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--text-3); font-size: 13px; text-align: center; padding: 12px; width: 100%;
}
.rounded { border-radius: var(--radius); overflow: hidden; }

/* Animated logo (About page, in place of a team photo) */
.logo-motion { background: var(--dark); width: 100%; }
.logo-motion svg { display: block; width: 100%; height: 100%; }
.lm-dot { fill: #2e2e2e; }
.lm-orbit { fill: none; stroke: #3a3a3a; stroke-width: 1.5; stroke-dasharray: 4 10; transform-origin: 200px 152px; animation: lm-spin 40s linear infinite; }
.lm-orbit-2 { stroke: #2f2f2f; stroke-dasharray: 2 14; animation-duration: 60s; animation-direction: reverse; }
.lm-edge { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: lm-draw .7s cubic-bezier(.6,0,.3,1) forwards; }
.e1 { animation-delay: .7s; } .e2 { animation-delay: .9s; } .e3 { animation-delay: 1.1s; }
.lm-node { fill: none; stroke: var(--accent); stroke-width: 8; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: lm-pop .6s cubic-bezier(.3,1.5,.5,1) forwards, lm-breathe 4s ease-in-out 2.4s infinite; }
.n1 { animation-delay: .1s, 2.4s; } .n2 { animation-delay: .3s, 3.7s; } .n3 { animation-delay: .5s, 5s; }
.lm-pulse { fill: var(--on-dark-link); opacity: 0; offset-rotate: 0deg; animation: lm-travel 3.6s ease-in-out infinite; }
.p-e1 { animation-delay: 2s; } .p-e2 { animation-delay: 3.2s; } .p-e3 { animation-delay: 4.4s; }
.lm-word { font-family: var(--serif); font-weight: 700; font-size: 30px; fill: #ffffff; opacity: 0; animation: lm-fade .8s ease 1.5s forwards; }
.lm-sub { font-family: var(--sans); font-size: 10px; letter-spacing: 2.4px; fill: var(--on-dark); opacity: 0; animation: lm-fade .8s ease 1.8s forwards; }
@keyframes lm-draw { to { stroke-dashoffset: 0; } }
@keyframes lm-pop { to { transform: scale(1); } }
@keyframes lm-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes lm-travel { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 45% { offset-distance: 100%; opacity: 1; } 55%, 100% { offset-distance: 100%; opacity: 0; } }
@keyframes lm-fade { to { opacity: 1; } }
@keyframes lm-spin { to { transform: rotate(360deg); } }
.lm-wait .logo-motion:not(.is-playing) * { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .logo-motion * { animation: none !important; }
  .lm-edge { stroke-dashoffset: 0; }
  .lm-node { transform: none; }
  .lm-word, .lm-sub { opacity: 1; }
  .lm-pulse { display: none; }
}

/* Pillars (home) */
.pillar { border-top: 4px solid var(--dark); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.pillar h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.pillar ul { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.pillar li { border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
.rule-top { border-top: 4px solid var(--dark); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.rule-top h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.rule-top p { font-size: 15px; color: var(--text-2); }

/* Cards */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-family: var(--serif); font-size: 20px; line-height: 1.32; font-weight: 600; }
.card .card-text { font-size: 14px; color: var(--text-2); }
.card-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; align-items: center; }
.tag { background: var(--tag-bg); color: var(--link); padding: 4px 10px; border-radius: 3px; font-weight: 500; }
.card-foot .note { color: var(--text-3); }

.proj-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; color: var(--text); }
a.proj-card:hover { text-decoration: none; color: var(--text); border-color: #bdbdbd; }
a.proj-card:hover .proj-title { color: var(--link); text-decoration: underline; }
.proj-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.proj-label { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; color: var(--link); }
.proj-title { font-family: var(--serif); font-size: 20px; line-height: 1.3; font-weight: 600; }
.proj-text { font-size: 15px; color: var(--text-2); }

/* Projects page */
.filter-bar { border-bottom: 1px solid var(--border); }
.filter-bar .wrap { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-bar .label { font-size: 14px; font-weight: 600; margin-right: 6px; }
.filter-btn { min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; background: #fff; color: var(--text); border: 1px solid var(--input); }
.filter-btn[aria-pressed="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.filter-btn:hover { border-color: var(--dark); }
.filter-count { margin-left: auto; font-size: 14px; color: var(--text-3); }

.featured { display: flex; flex-wrap: wrap; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.featured-media { flex: 1 1 520px; min-width: 0; }
.featured-media .ph, .featured-media .media { height: 100%; }
.featured-body { flex: 1 1 420px; min-width: 0; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 600px) { .featured-body { padding: 24px; } .featured-media, .featured-body { flex-basis: 100%; } }
.featured-body h2 { font-family: var(--serif); font-size: clamp(26px, 4vw, 34px); line-height: 1.2; font-weight: 600; }
.stats { margin-top: 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; border-top: 1px solid var(--rule); padding-top: 20px; }
.stats dt { font-size: 13px; color: var(--text-3); }
.stats dd { margin-top: 4px; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.stats dd.small { font-family: var(--sans); font-size: 16px; }
.period { margin-top: auto; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-3); }

.pcard { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; scroll-margin-top: 24px; }
.pcard-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; align-items: center; }
.pcard-tags .tag { padding: 3px 10px; font-weight: 600; }
.pcard-tags .status { color: var(--text-3); font-weight: 500; }
.pcard h3 { font-family: var(--serif); font-size: 21px; line-height: 1.3; font-weight: 600; }
.pcard .partner { font-size: 13px; font-weight: 600; color: var(--text-3); }
.pcard .summary { font-size: 15px; color: var(--text-2); }
.pcard .period { padding-top: 12px; border-top: 1px solid var(--rule); }

.stat-band { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.stat-band .big { font-family: var(--serif); font-size: 64px; font-weight: 600; color: var(--accent); line-height: 1; }
.stat-band h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin-bottom: 8px; }

/* Credentials */
.creds { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.creds ul { list-style: none; padding: 36px 0; display: flex; flex-wrap: wrap; gap: 16px 36px; align-items: center; font-size: 14px; color: var(--text-2); }

/* Team */
.person { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.portrait { flex: 0 0 auto; width: 140px; height: 168px; border-radius: var(--radius); overflow: hidden; }
.portrait .ph { height: 100%; font-size: 12px; gap: 6px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; }
.person h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.person .role { font-size: 14px; font-weight: 600; color: var(--link); }
.person .bio { font-size: 15px; color: var(--text-2); }
.person .li-link { font-size: 14px; font-weight: 600; color: var(--link); margin-top: auto; padding-top: 4px; }
@media (max-width: 440px) { .person { padding: 20px; } }

.person-lg { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-wrap: wrap; gap: 32px; }
.person-lg .portrait { flex: 0 0 220px; width: 220px; height: 270px; }
.person-lg .portrait .ph { font-size: 13px; }
.person-lg .person-body { flex: 1 1 420px; min-width: 0; gap: 14px; }
.person-lg h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; }
.person-lg .role { margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--link); }
.person-lg .bio { font-size: 16px; color: #333333; }
.person-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; font-size: 14px; color: var(--text-2); }
.person-facts h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--text); }
@media (max-width: 600px) { .person-lg { padding: 20px; gap: 20px; } .person-lg .person-body { flex-basis: 100%; } }

/* Partner CTA (home) */
.partner-col { border-top: 2px solid var(--accent); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.partner-col h3 { font-size: 20px; font-weight: 600; color: #fff; }
.partner-col p { font-size: 15px; color: var(--on-dark); }
.dark a.on-dark { color: var(--on-dark-link); font-weight: 600; }
.dark a.on-dark:hover { color: #ffd2b8; }
.dark .h2, .dark .h2-sm { color: #fff; }
.dark .intro { font-size: 18px; color: var(--on-dark); max-width: 640px; }

.cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta > div { max-width: 640px; }
.cta h2 { font-family: var(--serif); font-size: clamp(26px, 4vw, 34px); font-weight: 600; color: #fff; margin-bottom: 10px; }
.cta p { font-size: 17px; color: var(--on-dark); }

/* About */
.statement { border-top: 4px solid var(--dark); padding-top: 24px; }
.statement .eyebrow { margin-bottom: 12px; }
.statement p.big { font-family: var(--serif); font-size: clamp(22px, 3vw, 26px); line-height: 1.4; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step .num { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--accent); line-height: 1; }
.step h3 { font-size: 20px; font-weight: 600; }
.step p { font-size: 15px; color: var(--text-2); }
.timeline { padding: 0; list-style: none; border-top: 1px solid var(--rule-2); }
.timeline li { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 22px 0; border-bottom: 1px solid var(--rule-2); }
.timeline .when { flex: 0 0 140px; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--link); }
.timeline .what { flex: 1 1 480px; color: #333333; }
.logo-tile { height: 96px; border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-3); padding: 12px; text-align: center; }
.logo-tile { gap: 10px; }
.logo-tile img { max-height: 56px; max-width: 100%; object-fit: contain; }
.logo-caption { font-size: 18px; font-weight: 600; color: var(--text); letter-spacing: 0.2px; }

/* Research page */
.listing { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.filters { flex: 1 1 240px; max-width: 300px; display: flex; flex-direction: column; gap: 28px; font-size: 14px; }
@media (max-width: 860px) { .filters { max-width: none; flex-basis: 100%; } }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head h2 { font-size: 18px; font-weight: 600; }
.text-btn { border: 0; background: transparent; color: var(--link); font-weight: 600; font-size: 14px; cursor: pointer; min-height: 44px; padding: 0 4px; }
.text-btn:hover { text-decoration: underline; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.filters legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.check { display: flex; align-items: center; gap: 10px; min-height: 32px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.check label { flex: 1; cursor: pointer; }
.check .count { color: var(--text-3); }
@media (max-width: 860px) {
  .filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px 32px; }
  .filters-head { grid-column: 1 / -1; }
}
.results { flex: 999 1 560px; min-width: 0; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--dark); font-size: 14px; }
.results-bar .sort { display: flex; align-items: center; gap: 10px; }
.results-bar select { min-height: 40px; padding: 0 12px; border: 1px solid var(--input); border-radius: var(--radius); font-size: 14px; background: #fff; }
.pub { padding: 24px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 24px; }
.pub-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; align-items: center; }
.pub-meta .ptype { font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 1.1px; font-size: 12px; }
.pub-meta .tag { padding: 3px 10px; }
.pub-meta .status { color: var(--text-3); }
.pub h3 { font-family: var(--serif); font-size: 21px; line-height: 1.32; font-weight: 600; }
.pub .authors { font-size: 14px; color: var(--text-2); }
.pub .venue-line { font-size: 14px; color: var(--text-3); font-style: italic; overflow-wrap: anywhere; }
.pub-actions { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; font-weight: 600; margin-top: 2px; align-items: center; }
.pub-actions a, .pub-actions .text-btn { color: var(--link); padding: 0; min-height: 32px; display: inline-flex; align-items: center; }
.pub details summary { cursor: pointer; color: var(--link); min-height: 32px; display: inline-flex; align-items: center; list-style: none; }
.pub details summary::-webkit-details-marker { display: none; }
.pub details p { font-weight: 400; color: var(--text-2); margin-top: 6px; }
.pub .copied { font-weight: 500; color: var(--text-3); }
.no-results { padding: 32px 0; color: var(--text-2); }
.support-link { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-top: 32px; padding: 24px; background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); }
.support-link:hover { text-decoration: none; color: var(--text); border-color: #bdbdbd; }
.support-link .t { font-family: var(--serif); font-size: 20px; font-weight: 600; display: block; }
.support-link .s { font-size: 14px; color: var(--text-2); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; font-size: 14px; }
.pagination button { min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--input); border-radius: var(--radius); background: #fff; cursor: pointer; font-size: 14px; }
.pagination button[aria-current="page"] { background: var(--dark); color: #fff; border-color: var(--dark); }

/* Research support page */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 24px; max-width: 900px; }
.figures dt { font-size: 14px; color: var(--text-3); }
.figures dd { margin-top: 6px; font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1.1; }
.help-item { border-top: 4px solid var(--dark); padding-top: 18px; }
.help-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.help-item p { font-size: 15px; color: var(--text-2); }
.field { display: flex; flex-wrap: wrap; gap: 16px 48px; padding: 40px 0; border-top: 2px solid var(--dark); }
.field h3 { flex: 1 1 220px; max-width: 280px; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.field ul { flex: 999 1 560px; min-width: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.field li { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.field .kind { flex: 0 0 170px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--link); padding-top: 3px; }
.field .topic { flex: 1 1 420px; display: flex; flex-direction: column; gap: 4px; }
.field .topic strong { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.35; }
.field .topic span { font-size: 14px; color: var(--text-3); }
.principle h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.principle p { font-size: 15px; color: var(--text-2); }

/* Solutions page */
.service { border-bottom: 1px solid var(--border); scroll-margin-top: 0; }
.service.band { border-top: 0; }
.service-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.service-intro { flex: 1 1 340px; min-width: 0; max-width: 440px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 800px) { .service-intro { max-width: none; } }
.service-intro .eyebrow { margin: 0; }
.service-intro h2 { line-height: 1.15; }
.service-intro p { font-size: 17px; color: var(--text-2); }
.service-list { flex: 999 1 520px; min-width: 0; padding: 0; list-style: none; border-top: 2px solid var(--dark); }
.service-list li { padding: 24px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.service-list h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.service-list p { font-size: 15px; color: var(--text-2); }
.service-list p.deliv { font-size: 13px; color: var(--text-3); }
.service-list p.deliv b { font-weight: 600; color: var(--text); }
.step-sm { padding: 26px; }
.step-sm .num { font-size: 36px; }
.step-sm h3 { font-size: 19px; }
ol.grid { list-style: none; padding: 0; }

/* Search page */
.search-results { list-style: none; padding: 0; border-top: 2px solid var(--dark); }
.search-results li { padding: 22px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.search-results .rtype { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; color: var(--text-3); }
.search-results a { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.3; }
.search-results p { font-size: 15px; color: var(--text-2); }
.search-results mark { background: var(--tag-bg); color: inherit; padding: 0 2px; }

/* Footer */
.site-footer { background: var(--soft); border-top: 1px solid var(--border); font-size: 14px; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 32px; }
.footer-grid { gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--rule-2); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .fname { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.footer-col .fhead { font-weight: 600; }
.footer-col span.muted { color: var(--text-2); }
.footer-col nav { display: contents; }
.newsletter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter-row input { flex: 1 1 140px; min-width: 0; padding: 12px; border: 1px solid var(--input); border-radius: var(--radius); font-size: 14px; }
.newsletter-row button { min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--radius); background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; font-size: 14px; }
.newsletter-row button:hover { background: #a8380a; }
.form-status { font-size: 13px; color: var(--text-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; color: var(--text-3); font-size: 13px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: var(--text-3); }
