/* ==========================================================================
   Spencer Lab — site stylesheet

   Deep University of Lethbridge blue for the banners and footer, warm paper
   and white for reading, gold for small marks. Headings are Source Serif 4,
   text is Inter, and technical labels use JetBrains Mono. The recurring
   motifs are the white-light interferogram of the logo and faint two-source
   interference rings.

   Contents
     1. Tokens            7. Home: hero          13. Publications
     2. Base              8. Home: sections      14. Opportunities
     3. Layout            9. Cards & buttons     15. Contact
     4. Header & nav     10. Figures & lists     16. Footer
     5. Page banner      11. Research            17. Motion & print
     6. Eyebrows         12. People
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --white: #ffffff;
  --paper: #f6f4ef;          /* warm reading background for alternate bands */
  --paper-2: #ece8df;
  --ink: #0e1a2b;
  --ink-2: #3a4757;
  --muted: #5b6676;          /* 5.3:1 on --paper */
  --line: #e2ded5;
  --line-2: #cfc9bd;

  --navy-950: #041325;
  --navy-900: #071d39;
  --navy-800: #0b2c55;
  --navy: #003c77;           /* University of Lethbridge blue */
  --blue: #1d5c9f;
  --sky: #9cc3ea;            /* text on navy: 8.9:1 on --navy-900 */
  --sky-2: #cfe1f4;
  --sky-soft: #e8f0f8;
  --gold: #ffcf01;           /* University of Lethbridge gold: marks only, never text on light */
  --gold-2: #ffe27a;
  --gold-ink: #7a5d00;       /* gold-toned text on light backgrounds, 6.4:1 */

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 76rem;
  --measure: 42rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-s: 8px;
  --header-h: 4.5rem;
  --shadow-s: 0 1px 2px rgba(7, 29, 57, .06), 0 2px 8px -2px rgba(7, 29, 57, .08);
  --shadow-m: 0 2px 4px rgba(7, 29, 57, .04), 0 12px 32px -12px rgba(7, 29, 57, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Two-source interference rings */
  --rings: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' fill='none' stroke='%239cc3ea' stroke-width='1'%3E%3Ccircle cx='230' cy='200' r='40'/%3E%3Ccircle cx='230' cy='200' r='80'/%3E%3Ccircle cx='230' cy='200' r='120'/%3E%3Ccircle cx='230' cy='200' r='160'/%3E%3Ccircle cx='230' cy='200' r='200'/%3E%3Ccircle cx='230' cy='200' r='240'/%3E%3Ccircle cx='230' cy='200' r='280'/%3E%3Ccircle cx='370' cy='200' r='40'/%3E%3Ccircle cx='370' cy='200' r='80'/%3E%3Ccircle cx='370' cy='200' r='120'/%3E%3Ccircle cx='370' cy='200' r='160'/%3E%3Ccircle cx='370' cy='200' r='200'/%3E%3Ccircle cx='370' cy='200' r='240'/%3E%3Ccircle cx='370' cy='200' r='280'/%3E%3C/svg%3E");
  --rings-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' fill='none' stroke='%23003c77' stroke-width='1'%3E%3Ccircle cx='230' cy='200' r='40'/%3E%3Ccircle cx='230' cy='200' r='80'/%3E%3Ccircle cx='230' cy='200' r='120'/%3E%3Ccircle cx='230' cy='200' r='160'/%3E%3Ccircle cx='230' cy='200' r='200'/%3E%3Ccircle cx='230' cy='200' r='240'/%3E%3Ccircle cx='230' cy='200' r='280'/%3E%3Ccircle cx='370' cy='200' r='40'/%3E%3Ccircle cx='370' cy='200' r='80'/%3E%3Ccircle cx='370' cy='200' r='120'/%3E%3Ccircle cx='370' cy='200' r='160'/%3E%3Ccircle cx='370' cy='200' r='200'/%3E%3Ccircle cx='370' cy='200' r='240'/%3E%3Ccircle cx='370' cy='200' r='280'/%3E%3C/svg%3E");

  color-scheme: light;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img, svg { height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--ink); margin: 0; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.3; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
p + p { margin-top: 1em; }
a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: rgba(0, 60, 119, .3); transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--blue); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
strong, b { font-weight: 600; }
::selection { background: var(--gold-2); color: var(--ink); }
.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: 1rem; top: -3rem; z-index: 100; padding: 0.5rem 0.875rem; background: var(--gold); color: var(--ink); border-radius: 6px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 1rem; color: var(--ink); }
.muted { color: var(--muted); }
.mt-xs { margin-top: 0.5rem; } .mt-s { margin-top: 0.875rem; } .mt-m { margin-top: 1.5rem; } .mt-l { margin-top: 2.5rem; }
address { font-style: normal; }

/* 3. Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + * { margin-top: 0.625rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.375rem; }
.prose li::marker { color: var(--blue); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-head { display: grid; gap: 1rem 4rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
@media (min-width: 960px) { .section-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } }
.section-head p { color: var(--ink-2); max-width: var(--measure); }
.section-head__more { justify-self: start; }
@media (min-width: 960px) { .section-head__more { justify-self: end; } }
.cols { display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 900px) { .cols--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .cols--narrow-wide { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.cols > *, .hero__inner > *, .with-toc > * { min-width: 0; }
main { display: block; }

/* 4. Header & nav ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(14, 26, 43, .08);
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.site-header::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gold); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 100%; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); line-height: 1.15; }
.brand:hover { color: var(--ink); }
.brand img { width: 2.5rem; height: 2.5rem; flex-shrink: 0; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg); }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
.brand__sub { font-size: 0.75rem; font-weight: 500; color: var(--muted); letter-spacing: 0.01em; }

.nav ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; padding: 0; margin: 0; }
.nav a { position: relative; display: inline-block; padding: 0.5rem 0.875rem; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a::after { content: ""; position: absolute; left: 0.875rem; right: 0.875rem; bottom: 0.3rem; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--navy); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav .nav__cta { margin-left: 0.5rem; padding-inline: 1.125rem; background: var(--navy); color: #fff; font-weight: 600; }
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover, .nav .nav__cta[aria-current="page"] { background: var(--navy-800); color: #fff; }
.nav .nav__cta[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); }
.nav-toggle { display: none; }

/* Home: transparent header over the banner, solid once the page scrolls */
.home .site-header { position: fixed; inset: 0 0 auto; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home .site-header:not(.is-solid) .brand, .home .site-header:not(.is-solid) .nav a:not(.nav__cta) { color: #fff; }
.home .site-header:not(.is-solid) .brand__sub { color: var(--sky); }
.home .site-header:not(.is-solid) .nav .nav__cta { background: var(--gold); color: var(--ink); }
.home .site-header:not(.is-solid) .nav .nav__cta:hover { background: var(--gold-2); }
.home .site-header:not(.is-solid) .nav-toggle { color: #fff; border-color: rgba(255, 255, 255, .35); }
.home .site-header.is-solid { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom-color: rgba(14, 26, 43, .08); box-shadow: var(--shadow-s); }
/* Without JavaScript the home header simply scrolls away with the banner */
html:not(.js) .home .site-header { position: absolute; }

@media (max-width: 960px) {
  .brand__sub { display: none; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; height: 2.5rem; padding: 0 0.875rem;
    font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--ink); background: transparent;
    border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer;
  }
  .nav-toggle__bars { position: relative; width: 1rem; height: 0.625rem; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
  .nav-toggle__bars::before { top: 0; } .nav-toggle__bars::after { top: calc(100% - 2px); }
  .nav-open .nav-toggle__bars::before { top: calc(50% - 1px); transform: rotate(45deg); }
  .nav-open .nav-toggle__bars::after { top: calc(50% - 1px); transform: rotate(-45deg); }
  .js .nav {
    position: fixed; inset: var(--header-h) 0 auto; padding: 1rem var(--gutter) 1.5rem;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-m);
    opacity: 0; visibility: hidden; transform: translateY(-0.5rem); transition: opacity .25s, transform .3s var(--ease), visibility .3s;
  }
  .js .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .js .nav ul { flex-direction: column; align-items: stretch; gap: 0.125rem; }
  .js .nav a, .js .home .site-header .nav a:not(.nav__cta) { display: block; padding: 0.75rem 0.5rem; font-size: 1.0625rem; color: var(--ink); border-radius: 8px; }
  .js .nav a::after { display: none; }
  .js .nav a[aria-current="page"] { background: var(--sky-soft); padding-left: 0.875rem; }
  .js .nav .nav__cta, .js .home .site-header .nav .nav__cta { margin: 0.75rem 0 0; text-align: center; background: var(--navy); color: #fff; }
  .nav-open.site-header, .home .nav-open.site-header { background: #fff; }
  .home .nav-open.site-header .brand { color: var(--ink); }
  .home .nav-open.site-header .nav-toggle { color: var(--ink); border-color: var(--line-2); }
  html:not(.js) .site-header { height: auto; position: relative; }
  html:not(.js) .site-header__inner { flex-direction: column; align-items: flex-start; padding-block: 1rem; gap: 0.5rem; }
  html:not(.js) .nav ul { flex-wrap: wrap; }
}

/* 5. Page banner (inner pages) ---------------------------------------------- */
.banner {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(60rem 30rem at 85% 0%, rgba(29, 92, 159, .55), transparent 70%),
    radial-gradient(40rem 24rem at 0% 120%, rgba(0, 60, 119, .7), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
}
.banner::before {
  content: ""; position: absolute; z-index: -1; right: -8rem; top: 50%; width: 52rem; height: 34rem; translate: 0 -50%;
  background: var(--rings) center / contain no-repeat; opacity: .16;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent); mask-image: radial-gradient(closest-side, #000 40%, transparent);
}
.banner::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.7), transparent), radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,.5), transparent), radial-gradient(1.2px 1.2px at 40% 70%, rgba(255,255,255,.55), transparent), radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,.45), transparent), radial-gradient(1px 1px at 10% 85%, rgba(255,255,255,.4), transparent), radial-gradient(1.2px 1.2px at 58% 45%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 92% 40%, rgba(255,255,255,.6), transparent), radial-gradient(1px 1px at 30% 10%, rgba(255,255,255,.4), transparent); }
.banner h1 { color: #fff; max-width: 18ch; }
.banner .lede { margin-top: 1.25rem; max-width: 40rem; font-size: clamp(1.0625rem, 1.6vw, 1.2rem); line-height: 1.65; color: var(--sky-2); }
.banner .lede a { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.banner .lede a:hover { text-decoration-color: #fff; }
.banner__wave { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; width: 100%; height: 5rem; opacity: .5; pointer-events: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; list-style: none; padding: 0; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sky); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: rgba(156, 195, 234, .5); }
.crumbs a { color: var(--sky); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.banner__stats { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(156, 195, 234, .22); list-style: none; padding-left: 0; }
.banner__stats li { display: flex; flex-direction: column; }
.banner__stats b { font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1.1; color: #fff; }
.banner__stats span { font-size: 0.8125rem; color: var(--sky); }

/* 6. Eyebrows & small labels ------------------------------------------------ */
.eyebrow { display: inline-flex; align-items: center; gap: 0.625rem; margin-bottom: 1rem; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; border-radius: 2px; background: var(--gold); }
.banner .eyebrow, .hero .eyebrow, .on-dark .eyebrow { color: var(--sky); }
.tag { display: inline-flex; align-items: center; padding: 0.125rem 0.5rem; font-family: var(--mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); background: var(--sky-soft); border-radius: 4px; white-space: nowrap; }
.tag--gold { color: var(--gold-ink); background: #fff4c4; }

/* 7. Home: hero ------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  min-height: min(56rem, 100svh);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--header-h);
  background:
    radial-gradient(70rem 40rem at 80% 30%, rgba(29, 92, 159, .55), transparent 65%),
    radial-gradient(50rem 30rem at 10% 110%, rgba(0, 60, 119, .8), transparent 70%),
    linear-gradient(170deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
}
.hero__field { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__rings { position: absolute; z-index: -2; right: -12rem; top: 45%; width: 70rem; height: 46rem; translate: 0 -50%; background: var(--rings) center / contain no-repeat; opacity: .14; -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent); }
.js .hero__rings { display: none; }
.hero__inner { position: relative; display: grid; gap: 3rem; align-items: center; padding-block: clamp(3rem, 8vw, 6rem) clamp(7rem, 12vw, 9rem); }
@media (min-width: 1040px) { .hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); } }
.hero h1 { color: #fff; font-size: clamp(3.25rem, 9vw, 6.5rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.035em; }
.hero__statement { margin-top: 1.25rem; max-width: 30ch; font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); font-style: italic; font-weight: 400; line-height: 1.3; color: var(--sky-2); }
.hero__lede { margin-top: 1.5rem; max-width: 38rem; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.7; color: rgba(222, 234, 247, .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero__mark { justify-self: center; position: relative; width: min(22rem, 70vw); aspect-ratio: 1; }
.hero__mark img { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); }
.hero__mark::before { content: ""; position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(156, 195, 234, .28), transparent 70%); }
.hero__mark::after { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 1px solid rgba(156, 195, 234, .25); }
@media (max-width: 1039px) { .hero__mark { display: none; } }
.hero__trace { position: absolute; left: 0; right: 0; bottom: 3.25rem; height: 7rem; width: 100%; pointer-events: none; }
.hero__trace path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hero__trace .glow { stroke: rgba(156, 195, 234, .35); stroke-width: 6; filter: blur(4px); }
.hero__trace .line { stroke: rgba(255, 255, 255, .85); stroke-width: 1.5; }
.hero__trace .base { stroke: var(--gold); stroke-width: 1.5; opacity: .7; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.25rem; translate: -50% 0; display: inline-flex; flex-direction: column; align-items: center; gap: 0.375rem; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); text-decoration: none; }
.hero__scroll::after { content: ""; width: 1px; height: 1.75rem; background: linear-gradient(var(--sky), transparent); }
.hero__scroll:hover { color: #fff; }
@media (max-height: 700px), (max-width: 600px) { .hero__scroll { display: none; } .hero__trace { bottom: 1rem; height: 5rem; } }

/* Collaborations strip under the hero */
.heritage { border-bottom: 1px solid var(--line); background: var(--white); }
.heritage__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; padding-block: 1.75rem; }
.heritage__label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.heritage ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2.25rem; list-style: none; padding: 0; }
.heritage li { font-family: var(--serif); font-size: 1.125rem; font-weight: 500; color: var(--ink-2); letter-spacing: -0.005em; white-space: nowrap; }
.heritage li span { font-family: var(--sans); font-size: 0.8125rem; font-weight: 400; color: var(--muted); margin-left: 0.375rem; }

/* 8. Home: sections ------------------------------------------------------------ */
/* Research area cards with illustrated plates */
.areas { display: grid; gap: 1.25rem; list-style: none; padding: 0; }
@media (min-width: 700px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .areas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.area { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--line-2); }
.area__plate { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(circle at 70% 20%, #1d5c9f 0%, var(--navy-800) 45%, var(--navy-900) 100%); }
.area__plate svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.area:hover .area__plate svg { transform: scale(1.04); }
.area__num { position: absolute; left: 1rem; top: 0.875rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--sky); }
.area__body { display: flex; flex-direction: column; flex: 1; padding: 1.375rem 1.5rem 1.5rem; }
.area h3 { font-size: 1.2rem; }
.area h3 a { color: var(--ink); text-decoration: none; }
.area h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.area p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }
.area__more { margin-top: auto; padding-top: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.area__more::after { content: " →"; display: inline-block; transition: transform .3s var(--ease); }
.area:hover .area__more::after { transform: translateX(4px); }
@supports selector(:has(*)) { .area:has(a:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; } .area a:focus-visible { outline: none; } }
.plate .p-line { fill: none; stroke: var(--sky-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.plate .p-faint { fill: none; stroke: var(--sky); stroke-width: 1; opacity: .35; }
.plate .p-gold { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; }
.plate .p-dot { fill: var(--gold); }
.plate .p-fill { fill: rgba(156, 195, 234, .14); stroke: var(--sky); stroke-width: 1; }
.plate .p-hot { fill: var(--gold); }
.plate .p-star { fill: #fff; }

/* Interactive FTS explainer */
.explainer { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 1000px) { .explainer { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.explainer__text p { color: var(--ink-2); }
.explainer__text .eq { margin-top: 1.5rem; padding: 1rem 1.25rem; font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--ink); background: var(--white); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.explainer__text .eq span { font-style: normal; }
.lab { position: relative; padding: 1.25rem; border-radius: var(--radius); background: var(--navy-900); color: var(--sky-2); box-shadow: var(--shadow-m); }
.lab__panel + .lab__panel { margin-top: 1rem; }
.lab__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.5rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sky); }
.lab__head output { color: var(--gold); text-transform: none; letter-spacing: 0; }
.lab canvas { width: 100%; height: 11rem; border-radius: var(--radius-s); background: rgba(255, 255, 255, .035); touch-action: none; }
.lab canvas[data-fts-spectrum] { cursor: ew-resize; }
.lab__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.lab__controls span { margin-right: 0.25rem; font-size: 0.8125rem; color: var(--sky); }
.chip { display: inline-flex; align-items: center; gap: 0.375rem; height: 2.125rem; padding: 0 0.875rem; font: inherit; font-size: 0.8125rem; font-weight: 500; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.lab .chip { color: var(--sky-2); background: transparent; border: 1px solid rgba(156, 195, 234, .3); }
.lab .chip:hover { border-color: var(--sky); color: #fff; }
.lab .chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.lab__hint { margin-top: 0.875rem; font-size: 0.8125rem; color: var(--sky); }
.lab :focus-visible, .banner :focus-visible, .hero :focus-visible, .cta-mail :focus-visible, .contact-card--mail :focus-visible { outline-color: var(--gold); }
.lab__fallback { padding: 1rem; background: #fff; border-radius: var(--radius-s); }
.js .lab__fallback { display: none; }
html:not(.js) .lab__live { display: none; }

/* Heritage timeline */
.timeline { position: relative; display: grid; gap: 2rem; list-style: none; padding: 0; counter-reset: tl; }
.timeline::before { content: ""; position: absolute; left: 0.4375rem; top: 0.5rem; bottom: 0.5rem; width: 1px; background: linear-gradient(var(--line-2), var(--line-2) 85%, transparent); }
.timeline li { position: relative; padding-left: 2.25rem; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0.375rem; width: 0.9375rem; height: 0.9375rem; border-radius: 50%; background: var(--white); border: 2px solid var(--navy); box-shadow: 0 0 0 4px var(--white); }
.timeline li.is-now::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px var(--white), 0 0 0 7px rgba(255, 207, 1, .35); }
.timeline time { display: block; font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em; color: var(--blue); }
.timeline h3 { margin-top: 0.25rem; font-size: 1.15rem; }
.timeline p { margin-top: 0.375rem; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }
@media (min-width: 1000px) {
  .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
  .timeline::before { left: 0; right: 0; top: 0.4375rem; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--line-2) 90%, transparent); }
  .timeline li { padding-left: 0; padding-top: 2rem; }
}

/* PI feature */
.pi { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .pi { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.pi__quote { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.125rem); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.pi__quote em { color: var(--navy); }
.pi__text { margin-top: 1.5rem; color: var(--ink-2); max-width: var(--measure); }
.pi__card { position: relative; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-m); }
.pi__card::before { content: ""; position: absolute; right: -9rem; top: -6rem; width: 26rem; height: 18rem; background: var(--rings-dark) center / contain no-repeat; opacity: .08; pointer-events: none; }
.pi__who { display: flex; align-items: center; gap: 1rem; }
.monogram { display: grid; place-items: center; flex-shrink: 0; width: 4.5rem; height: 4.5rem; border-radius: 50%; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: #fff; background: radial-gradient(circle at 30% 25%, var(--blue), var(--navy-900)); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .15), 0 0 0 3px var(--gold); }
.pi__who h3 { font-size: 1.35rem; }
.pi__who p { font-size: 0.875rem; color: var(--muted); line-height: 1.45; margin-top: 0.125rem; }
.pi__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); list-style: none; padding-left: 0; }
.pi__facts b { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.15; color: var(--navy); }
.pi__facts span { font-size: 0.8125rem; line-height: 1.45; color: var(--muted); }
.pi__links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }

/* Publication cards (home) */
.pub-cards { display: grid; gap: 1.25rem; list-style: none; padding: 0; }
@media (min-width: 800px) { .pub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pub-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pub-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.5rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.pub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.pub-card__meta { display: flex; align-items: center; gap: 0.625rem; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.pub-card h3 { margin-top: 0.875rem; font-size: 1.125rem; line-height: 1.35; }
.pub-card h3 a { color: var(--ink); text-decoration: none; }
.pub-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.pub-card h3 a:hover { color: var(--navy); }
.pub-card__authors { margin-top: 0.625rem; font-size: 0.875rem; line-height: 1.55; color: var(--ink-2); }
.pub-card__authors b { color: var(--ink); }
.pub-card__venue { margin-top: auto; padding-top: 1rem; font-size: 0.8125rem; font-style: italic; color: var(--muted); }
@supports selector(:has(*)) { .pub-card:has(a:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; } .pub-card a:focus-visible { outline: none; } }

/* Join panel */
.join { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); border-radius: calc(var(--radius) + 6px); background: linear-gradient(135deg, #fffaf0 0%, var(--sky-soft) 100%); border: 1px solid var(--line); }
.join::before { content: ""; position: absolute; z-index: -1; right: -14rem; bottom: -14rem; width: 48rem; height: 32rem; background: var(--rings-dark) center / contain no-repeat; opacity: .1; }
@media (min-width: 960px) { .join { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.join h2 { max-width: 16ch; }
.join__text { margin-top: 1rem; color: var(--ink-2); max-width: 34rem; }
.join__paths { display: grid; gap: 0.75rem; list-style: none; padding: 0; }
.join__paths a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius-s); background: rgba(255, 255, 255, .8); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .3s var(--ease), background-color .2s; }
.join__paths a:hover { border-color: var(--navy); background: #fff; transform: translateX(4px); }
.join__paths b { display: block; font-weight: 600; }
.join__paths span { display: block; font-size: 0.875rem; color: var(--muted); }
.join__paths a::after { content: "→"; color: var(--navy); font-size: 1.125rem; }

/* 9. Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0.5rem 1.375rem;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--white);
  font-size: 0.9375rem; font-weight: 600; line-height: 1.2; color: var(--navy); text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .3s var(--ease), box-shadow .3s;
}
.btn:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow-s); }
.btn--primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); }
.btn--ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }
.btn--sm { min-height: 2.375rem; padding: 0.375rem 1rem; font-size: 0.875rem; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; display: inline-block; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* 10. Figures & lists ---------------------------------------------------------- */
.figure { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.figure svg { width: 100%; margin-inline: auto; }
.figure figcaption { margin-top: 1.125rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.875rem; line-height: 1.6; color: var(--ink-2); }
.figure figcaption b { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); margin-right: 0.375rem; }
@media (max-width: 600px) { .figure { padding: 1rem; } .figure__art { overflow-x: auto; } .figure__art svg { min-width: 30rem; } }
.fig text { font-family: var(--sans); font-size: 12px; fill: var(--ink-2); }
.fig .lbl-sm { font-size: 11px; fill: var(--muted); }
.fig .optic { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.fig .beam { fill: none; stroke: var(--navy); stroke-width: 1.75; }
.fig .beam-2 { fill: none; stroke: #b07a00; stroke-width: 1.75; }
.fig .thin { fill: none; stroke: var(--muted); stroke-width: 1; }
.fig .axis { fill: none; stroke: var(--ink-2); stroke-width: 1; }
.fig .trace { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linejoin: round; }
.fig .box { fill: #fff; stroke: var(--ink-2); stroke-width: 1.2; }
.fig .det { fill: var(--ink); }

dl.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.625rem 1.5rem; }
dl.facts dt { font-weight: 600; color: var(--ink); }
dl.facts dd { margin: 0; color: var(--ink-2); }
@media (max-width: 520px) { dl.facts { grid-template-columns: minmax(0, 1fr); gap: 0.125rem; } dl.facts dd + dt { margin-top: 0.75rem; } }

.cite { font-size: 0.975rem; line-height: 1.6; color: var(--ink-2); }
.cite b { font-weight: 600; color: var(--ink); }
.cite__title { color: var(--ink); }
.cite__venue { font-style: italic; }
.cite__doi { font-family: var(--mono); font-size: 0.8125rem; overflow-wrap: anywhere; }
.cite__type { display: inline-flex; margin-left: 0.25rem; padding: 0 0.4375rem; font-family: var(--mono); font-size: 0.6875rem; font-style: normal; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.7; color: var(--navy); background: var(--sky-soft); border-radius: 4px; vertical-align: 0.1em; white-space: nowrap; }
.cite__type--x { color: var(--gold-ink); background: #fff4c4; }

/* 11. Research ------------------------------------------------------------------ */
.with-toc { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 5rem); }
@media (min-width: 1040px) { .with-toc { grid-template-columns: 15rem minmax(0, 1fr); gap: 5rem; } }
.toc { font-size: 0.9375rem; }
.toc p { margin-bottom: 0.875rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc li a { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); padding: 0.4375rem 0.5rem; margin-inline: -0.5rem; border-radius: 6px; color: var(--ink-2); text-decoration: none; line-height: 1.4; transition: background-color .2s, color .2s; }
.toc li a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 0.75rem; padding-top: 0.15rem; color: var(--muted); }
.toc li a:hover { color: var(--navy); background: var(--paper); }
.toc li a.is-active { color: var(--navy); font-weight: 600; background: var(--sky-soft); }
.toc li a.is-active::before { color: var(--navy); }
@media (min-width: 1040px) { .toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
@media (max-width: 1039px) { .toc { padding: 1.25rem 1.5rem; background: var(--paper); border-radius: var(--radius); } }
.topic + .topic { margin-top: clamp(3.5rem, 7vw, 5.5rem); padding-top: clamp(3.5rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.topic__head { display: grid; gap: 1.5rem 2.5rem; margin-bottom: 1.5rem; }
@media (min-width: 760px) { .topic__head--plate { grid-template-columns: minmax(0, 1fr) 13rem; align-items: start; } }
.topic__num { display: block; margin-bottom: 0.625rem; font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; color: var(--blue); }
.topic__plate { overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: radial-gradient(circle at 70% 20%, #1d5c9f 0%, var(--navy-800) 45%, var(--navy-900) 100%); }
.topic__plate svg { width: 100%; height: 100%; }
@media (max-width: 759px) { .topic__plate { display: none; } }
.topic .figure { margin-block: 2rem; max-width: 46rem; }
.refs { margin-top: 2rem; max-width: 46rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--paper); }
.refs:has(ul:empty) { display: none; }
.refs h3 { margin-bottom: 0.75rem; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.refs ul { list-style: none; padding: 0; }
.refs li { padding-left: 1rem; border-left: 2px solid var(--line-2); }
.refs li + li { margin-top: 0.875rem; }
.refs .cite { font-size: 0.9rem; }
.collabs { display: grid; gap: 0.75rem; list-style: none; padding: 0; margin-top: 1.25rem; }
@media (min-width: 640px) { .collabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.collabs li { padding: 1rem 1.25rem; border-radius: var(--radius-s); background: var(--paper); }
.collabs b { display: block; font-family: var(--serif); font-size: 1.0625rem; font-weight: 600; }
.collabs span { display: block; font-size: 0.875rem; color: var(--muted); }

/* 12. People -------------------------------------------------------------------- */
.profile { display: grid; gap: 2.5rem 5rem; align-items: start; }
@media (min-width: 960px) { .profile { grid-template-columns: 20rem minmax(0, 1fr); } .profile__card { position: sticky; top: calc(var(--header-h) + 2rem); } }
.profile__card { overflow: hidden; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-m); }
.profile__portrait { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(circle at 70% 15%, #1d5c9f 0%, var(--navy-800) 50%, var(--navy-900) 100%); }
.profile__portrait::before { content: ""; position: absolute; inset: -20%; background: var(--rings) center / contain no-repeat; opacity: .22; }
.profile__portrait .monogram { position: relative; width: 6.5rem; height: 6.5rem; font-size: 2.4rem; }
.profile__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.profile__card .facts { padding: 1.5rem; }
dl.facts--stack { grid-template-columns: minmax(0, 1fr); gap: 0.125rem; font-size: 0.9375rem; }
dl.facts--stack dt { font-family: var(--mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
dl.facts--stack dd + dt { margin-top: 1rem; }
.profile__links { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.375rem; }
.profile__links a { display: inline-flex; padding: 0.25rem 0.625rem; font-size: 0.8125rem; font-weight: 500; text-decoration: none; border: 1px solid var(--line-2); border-radius: 999px; }
.profile__links a:hover { border-color: var(--navy); background: var(--sky-soft); }
.profile h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.profile__role { margin-top: 0.625rem; font-size: 1.0625rem; color: var(--ink-2); }
.profile .prose { margin-top: 2rem; }
.cv { position: relative; list-style: none; padding: 0; margin-top: 1rem; }
.cv li { position: relative; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding-block: 0.875rem; border-top: 1px solid var(--line); }
.cv li:first-child { border-top: 0; }
.cv time { font-family: var(--mono); font-size: 0.8125rem; color: var(--blue); padding-top: 0.15rem; }
.cv b { display: block; font-weight: 600; color: var(--ink); }
.cv span { display: block; font-size: 0.9375rem; color: var(--muted); }
@media (max-width: 520px) { .cv li { grid-template-columns: minmax(0, 1fr); gap: 0.125rem; } }
.roster { list-style: none; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 700px) { .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.roster li { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.roster .monogram { width: 3rem; height: 3rem; font-size: 1.1rem; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); }
.roster b { display: block; font-weight: 600; }
.roster span { display: block; font-size: 0.875rem; color: var(--muted); }
.invite { display: grid; gap: 1.5rem 3rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); background: var(--white); border: 1px dashed var(--line-2); }
@media (min-width: 860px) { .invite { grid-template-columns: minmax(0, 1fr) auto; } }
.invite p { color: var(--ink-2); max-width: 40rem; }
.invite h3 { margin-bottom: 0.375rem; }
.themes { display: grid; gap: 1rem; list-style: none; padding: 0; margin-bottom: 2.5rem; }
@media (min-width: 760px) { .themes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.themes li { padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.themes b { display: block; font-family: var(--serif); font-size: 1.125rem; font-weight: 600; }
.themes span { display: block; margin-top: 0.25rem; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.55; }

/* 13. Publications ---------------------------------------------------------------- */
.pub-chart { margin-top: 2.25rem; max-width: 44rem; }
.pub-chart__bars { display: flex; align-items: flex-end; gap: 3px; height: 5.5rem; }
.pub-chart__bars button { flex: 1; min-width: 0; height: var(--h); padding: 0; border: 0; border-radius: 2px 2px 0 0; background: rgba(156, 195, 234, .55); cursor: pointer; transition: background-color .2s; }
.pub-chart__bars button:hover, .pub-chart__bars button:focus-visible { background: #fff; }
.pub-chart__bars button[aria-pressed="true"] { background: var(--gold); }
.pub-chart__axis { display: flex; justify-content: space-between; margin-top: 0.5rem; font-family: var(--mono); font-size: 0.6875rem; color: var(--sky); }
.pub-chart__tip { margin-top: 0.25rem; min-height: 1.4em; font-size: 0.8125rem; color: var(--sky-2); }

.pub-tools { position: sticky; top: var(--header-h); z-index: 5; margin-inline: calc(var(--gutter) * -1); padding: 1rem var(--gutter); background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.pub-tools__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.chips .chip { color: var(--ink-2); background: var(--white); border: 1px solid var(--line-2); }
.chips .chip:hover { border-color: var(--navy); color: var(--navy); }
.chips .chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip small { font-family: var(--mono); font-size: 0.6875rem; opacity: .7; }
.search { position: relative; margin-left: auto; }
.search svg { position: absolute; left: 0.875rem; top: 50%; width: 1rem; height: 1rem; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.search input { width: min(20rem, 100%); height: 2.5rem; padding: 0 1rem 0 2.5rem; font: inherit; font-size: 0.9375rem; color: var(--ink); background: var(--paper); border: 1px solid transparent; border-radius: 999px; transition: border-color .2s, background-color .2s; }
.search input:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px var(--sky-soft); }
.pub-status { margin-top: 1.25rem; font-size: 0.8125rem; color: var(--muted); }
.pub-status button { margin-left: 0.5rem; padding: 0; font: inherit; color: var(--navy); background: none; border: 0; text-decoration: underline; cursor: pointer; }
@media (max-width: 760px) { .pub-tools { position: static; } .search { margin-left: 0; flex: 1 1 100%; } .search input { width: 100%; } }
.pub-noscript { display: none; }
html:not(.js) .pub-tools { display: none; }

.pub-years { margin-top: 1rem; }
.pub-year { display: grid; gap: 0.5rem 2.5rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.pub-year:first-child { border-top: 0; }
@media (min-width: 860px) { .pub-year { grid-template-columns: 8rem minmax(0, 1fr); } .pub-year h2 { position: sticky; top: calc(var(--header-h) + 6rem); align-self: start; } }
.pub-year h2 { font-size: 2.25rem; font-weight: 400; color: var(--navy); line-height: 1; }
.pub-year h2 small { display: block; margin-top: 0.5rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--muted); }
.pub-list { list-style: none; padding: 0; }
.pub-list li { padding-block: 1rem; border-top: 1px solid var(--line); }
.pub-list li:first-child { border-top: 0; padding-top: 0; }
.pub-empty { padding-block: 3rem; text-align: center; color: var(--muted); }
.pub-note { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); max-width: var(--measure); }

/* 14. Opportunities ----------------------------------------------------------------- */
.paths { display: grid; gap: 1.25rem; list-style: none; padding: 0; }
@media (min-width: 900px) { .paths { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.path { position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem 1.75rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.path::before { content: ""; position: absolute; left: 1.75rem; top: 0; width: 3rem; height: 3px; background: var(--gold); border-radius: 0 0 3px 3px; }
.path__icon { width: 3rem; height: 3rem; margin-bottom: 1.25rem; }
.path h2 { font-size: 1.5rem; }
.path p { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--ink-2); }
.path__meta { margin-top: auto; padding-top: 1.25rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--muted); }
.skills { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin-top: 1.5rem; }
.skills li { padding: 0.5rem 1rem; font-size: 0.9375rem; font-weight: 500; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.steps { display: grid; gap: 1rem; list-style: none; padding: 0; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.steps li { counter-increment: step; position: relative; padding: 1.25rem 1.25rem 1.25rem 4rem; border-radius: var(--radius-s); background: var(--paper); }
.steps li::before { content: counter(step); position: absolute; left: 1.25rem; top: 1.125rem; display: grid; place-items: center; width: 1.875rem; height: 1.875rem; border-radius: 50%; font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; color: #fff; background: var(--navy); }
.steps b { display: block; font-weight: 600; }
.steps span { display: block; font-size: 0.9375rem; color: var(--ink-2); }
.cta-mail { display: grid; gap: 1.5rem; align-items: center; margin-top: 2rem; padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--radius); color: #fff; background: radial-gradient(40rem 20rem at 100% 0%, rgba(29, 92, 159, .7), transparent 70%), var(--navy-900); }
@media (min-width: 860px) { .cta-mail { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-mail h3 { color: #fff; }
.cta-mail p { margin-top: 0.375rem; color: var(--sky-2); }
.faq { max-width: 50rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.25rem; font-family: var(--serif); font-size: 1.1875rem; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; font-family: var(--sans); font-size: 1.25rem; font-weight: 400; color: var(--navy); background: var(--sky-soft); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--navy); }
.faq details > div { padding-bottom: 1.5rem; color: var(--ink-2); max-width: var(--measure); }

/* 15. Contact --------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-card { padding: 1.75rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.contact-card h2 { font-size: 1.375rem; }
.contact-card .eyebrow { margin-bottom: 0.75rem; }
.contact-card p, .contact-card address { margin-top: 0.75rem; color: var(--ink-2); }
.contact-card--mail { color: #fff; background: radial-gradient(30rem 16rem at 100% 0%, rgba(29, 92, 159, .7), transparent 70%), var(--navy-900); border-color: var(--navy-900); }
.contact-card--mail h2 { color: #fff; }
.contact-card--mail p { color: var(--sky-2); }
.contact-card--mail .eyebrow { color: var(--sky); }
.contact-card__email { display: inline-block; margin-top: 1rem; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); color: #fff; text-decoration-color: var(--gold); text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.contact-card__email:hover { color: var(--gold-2); }
.map { position: relative; overflow: hidden; margin-top: 1.25rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); aspect-ratio: 21 / 9; min-height: 18rem; }
.map::before { content: "Map of the University of Lethbridge campus"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.875rem; color: var(--muted); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map__credit { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--muted); }

/* 16. Footer ------------------------------------------------------------------------ */
.site-footer { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; font-size: 0.9375rem; color: var(--sky-2); background: radial-gradient(50rem 24rem at 100% 0%, rgba(0, 60, 119, .6), transparent 70%), var(--navy-950); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gold); }
.site-footer::after { content: ""; position: absolute; z-index: -1; right: -16rem; bottom: -14rem; width: 56rem; height: 36rem; background: var(--rings) center / contain no-repeat; opacity: .07; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .3); }
.site-footer a:hover { color: var(--gold-2); text-decoration-color: currentColor; }
.site-footer :focus-visible { outline-color: var(--gold); }
.footer-top { display: grid; gap: 2.5rem 3rem; }
@media (min-width: 900px) { .footer-top { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); } }
.footer-brand { display: flex; align-items: center; gap: 0.875rem; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; color: #fff; letter-spacing: -0.01em; }
.footer-brand img { width: 3rem; height: 3rem; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.footer-blurb { margin-top: 1rem; max-width: 24rem; color: var(--sky); line-height: 1.6; }
.site-footer address { margin-top: 1rem; color: var(--sky); line-height: 1.6; }
.footer-title { margin-bottom: 0.875rem; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li + li { margin-top: 0.5rem; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(156, 195, 234, .18); font-size: 0.8125rem; color: var(--sky); }
.footer-base p { max-width: 40rem; }

/* 17. Motion & print ------------------------------------------------------------------ */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.hero__copy > * { animation: rise 1s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; } .hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; } .hero__copy > :nth-child(5) { animation-delay: .32s; }
.hero__mark { animation: rise 1.4s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero__trace .line, .hero__trace .glow { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__trace .line, .hero__trace .glow { stroke-dashoffset: 0; }
}
@media print {
  .site-header, .skip-link, .pub-tools, .toc, .hero__field, .hero__trace, .hero__scroll, .banner::before, .banner::after, .site-footer::after, .lab, .map, .pub-chart { display: none !important; }
  body { font-size: 11pt; }
  a { color: inherit; text-decoration: none; }
  .hero, .banner, .site-footer, .cta-mail, .contact-card--mail { background: none !important; color: #000 !important; min-height: 0; padding-top: 1rem; }
  .hero h1, .banner h1, .hero__statement, .hero__lede, .banner .lede, .site-footer *, .cta-mail *, .contact-card--mail * { color: #000 !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .figure, .area, .pub-card { break-inside: avoid; box-shadow: none; }
}
