/* jacksonburzynski.com — Carbon Design System (white theme)
   Tokens come from Carbon's themes.css (cds-theme-zone-white on <body>).
   Layout: Carbon 2x-grid style — 99rem (1584px) max container, wide content,
   section heading rail on the left at desktop widths. */

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

html {
  font-size: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cds-background, #ffffff);
  color: var(--cds-text-primary, #161616);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 66rem) {
  body {
    font-size: 1.125rem; /* 18px */
    line-height: 1.5;
  }
}

code,
.mono {
  font-family: 'IBM Plex Mono', 'Menlo', 'Consolas', monospace;
}

a {
  color: var(--cds-link-primary, #0f62fe);
  text-decoration: none;
}

a:hover {
  color: var(--cds-link-primary-hover, #0043ce);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cds-focus, #0f62fe);
  outline-offset: -2px;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- Container ---------- */

.container {
  max-width: 99rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 42rem) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 66rem) {
  .container {
    padding: 0 2.5rem;
  }
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--cds-background-inverse, #393939);
  color: var(--cds-text-inverse, #ffffff);
}

.skip-link:focus {
  left: 0;
}

/* ---------- Header (Carbon UI shell style) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cds-background, #ffffff);
  border-bottom: 1px solid var(--cds-border-subtle-01, #c6c6c6);
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: 3rem;
}

.site-header__name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1px;
  color: var(--cds-text-primary, #161616);
  white-space: nowrap;
  padding-right: 1rem;
}

.site-header__name:hover {
  color: var(--cds-text-primary, #161616);
  text-decoration: none;
}

.site-header__nav {
  margin-left: auto;
  display: flex;
  height: 100%;
}

.site-header__nav a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
  font-size: 1rem;
  color: var(--cds-text-secondary, #525252);
  border-bottom: 3px solid transparent;
  border-top: 3px solid transparent;
}

.site-header__nav a:hover {
  background: var(--cds-background-hover, rgba(141, 141, 141, 0.12));
  color: var(--cds-text-primary, #161616);
  text-decoration: none;
}

.site-header__nav a[aria-current='page'] {
  color: var(--cds-text-primary, #161616);
  border-bottom-color: var(--cds-border-interactive, #0f62fe);
}

/* Narrow screens: name + toggle on the first row, nav on its own
   scrollable row so all items stay reachable */
@media (max-width: 41.98rem) {
  .site-header__inner {
    flex-wrap: wrap;
    height: auto;
  }

  .site-header__name {
    display: flex;
    align-items: center;
    height: 2.75rem;
    order: 1;
  }

  button.theme-toggle {
    order: 2;
    margin-left: auto;
    height: 2.75rem;
  }

  .site-header__nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    height: 2.75rem;
    overflow-x: auto;
  }

  .site-header__nav a {
    padding: 0 0.75rem;
    white-space: nowrap;
  }
}

/* Overlay header (home page): transparent over the video hero,
   solid again once the page is scrolled */
.site-header--overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header--overlay:not(.is-scrolled) .site-header__name,
.site-header--overlay:not(.is-scrolled) .site-header__nav a,
.site-header--overlay:not(.is-scrolled) .theme-toggle {
  color: #f4f4f4;
}

.site-header--overlay:not(.is-scrolled) .site-header__nav a:hover,
.site-header--overlay:not(.is-scrolled) .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.site-header--overlay:not(.is-scrolled) .site-header__nav a[aria-current='page'] {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.site-header--overlay.is-scrolled {
  background: var(--cds-background, #ffffff);
  border-bottom-color: var(--cds-border-subtle-01, #c6c6c6);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-left: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cds-icon-primary, #161616);
}

.theme-toggle:hover {
  background: var(--cds-background-hover, rgba(141, 141, 141, 0.12));
}

.theme-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.theme-toggle .icon-sun {
  display: none;
}

.cds-theme-zone-g100 .theme-toggle .icon-moon {
  display: none;
}

.cds-theme-zone-g100 .theme-toggle .icon-sun {
  display: block;
}

/* ---------- Main ---------- */

main {
  flex: 1 0 auto;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

@media (min-width: 66rem) {
  main {
    padding-top: 3rem;
    padding-bottom: 6rem;
  }
}

/* ---------- Type ---------- */

.page-title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.25rem, 1.5rem + 3.5vw, 4.25rem);
  line-height: 1.15;
  font-weight: 300;
}

.page-subtitle {
  margin: 0 0 1rem;
  max-width: 46rem;
  font-size: clamp(1.375rem, 1rem + 1.25vw, 2rem);
  line-height: 1.4;
  font-weight: 300;
  color: var(--cds-text-secondary, #525252);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.625rem, 1.25rem + 1.25vw, 2.25rem);
  line-height: 1.3;
  font-weight: 400;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  max-width: 46rem;
}

/* ---------- Page head (title block) ---------- */

.page-head {
  margin-bottom: 3rem;
}

@media (min-width: 66rem) {
  .page-head {
    margin-bottom: 4rem;
  }
}

/* ---------- Section: heading rail left, content right ---------- */

.section {
  margin: 0 0 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cds-border-subtle-00, #e0e0e0);
}

.section__body > :last-child {
  margin-bottom: 0;
}

@media (min-width: 66rem) {
  .section {
    display: grid;
    grid-template-columns: minmax(14rem, 20rem) minmax(0, 1fr);
    gap: 2rem 4rem;
    margin-bottom: 4rem;
  }

  .section > h2,
  .section > h3 {
    grid-column: 1;
  }

  .section__body {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

/* Figure that lives in the heading rail (e.g. portrait on the home page).
   Below the grid breakpoint it stacks between heading and text, so give it
   breathing room; the grid gap handles spacing on wide screens. */
figure.section__rail-figure {
  margin: 0.5rem 0 2rem;
}

@media (min-width: 66rem) {
  figure.section__rail-figure {
    margin: 0;
  }

  .section__rail-figure {
    grid-column: 1;
    align-self: start;
  }

  .section__rail-figure.hero__photo {
    justify-content: flex-start;
  }

  .section__rail-figure img {
    width: min(100%, 16rem);
  }
}

/* ---------- Video hero (home) ---------- */

.video-hero {
  position: relative;
  overflow: hidden;
  background: #161616;
}

.video-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Legibility gradient over the footage */
.video-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(22, 22, 22, 0.88) 0%,
    rgba(22, 22, 22, 0.35) 45%,
    rgba(22, 22, 22, 0.15) 100%
  );
}

.video-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(22rem, 60vh, 36rem);
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

.video-hero .hero__eyebrow {
  color: #c6c6c6;
}

.video-hero .page-title {
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.video-hero .page-subtitle {
  color: #c6c6c6;
  margin-bottom: 0;
}

.video-hero__credit {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.32px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Home hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (min-width: 42rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 26rem);
    gap: 3rem;
  }
}

@media (min-width: 66rem) {
  .hero {
    gap: 6rem;
    margin-bottom: 4rem;
  }
}

.hero__photo {
  margin: 0;
  display: flex;
  justify-content: center;
}

.hero__photo img {
  display: block;
  width: min(100%, 24rem);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

.hero__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  letter-spacing: 0.16px;
  color: var(--cds-text-secondary, #525252);
}

@media (min-width: 66rem) {
  .hero__eyebrow {
    font-size: 1.125rem;
  }
}

/* ---------- Buttons (Carbon primary/tertiary) ---------- */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: calc(0.875rem - 3px) 3.75rem calc(0.875rem - 3px) 0.9375rem;
  font-size: 1rem;
  line-height: 1.29;
  letter-spacing: 0.16px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--cds-button-primary, #0f62fe);
  color: var(--cds-text-on-color, #ffffff);
}

.btn--primary:hover {
  background: var(--cds-button-primary-hover, #0050e6);
  color: var(--cds-text-on-color, #ffffff);
  text-decoration: none;
}

.btn--tertiary {
  background: transparent;
  color: var(--cds-button-tertiary, #0f62fe);
  border-color: var(--cds-button-tertiary, #0f62fe);
}

.btn--tertiary:hover {
  background: var(--cds-button-tertiary-hover, #0050e6);
  border-color: var(--cds-button-tertiary-hover, #0050e6);
  color: var(--cds-text-on-color, #ffffff);
  text-decoration: none;
}

/* ---------- Research intro (lede text + logo column) ---------- */

.research-intro-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
  align-items: center;
}

@media (min-width: 66rem) {
  .research-intro-wrap {
    grid-template-columns: minmax(0, 1fr) 34rem;
    gap: 4rem;
  }

  /* CERN + ATLAS side by side, IMCC centered below */
  .research-intro-wrap .logo-row--column {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    align-items: center;
    gap: 2.5rem 3rem;
    padding: 0;
  }

  .research-intro-wrap .logo-row--column a:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .logo-row--column a img {
    height: 8.5rem;
  }

  /* ATLAS wordmark reads smaller than the marks beside it */
  .logo-row--column a:nth-child(2) img {
    height: 10.625rem;
  }

  .logo-row--column a:nth-child(3) img {
    height: 12rem;
  }
}

.research-intro-wrap .research-intro {
  margin-bottom: 0;
}

.research-intro {
  max-width: 48rem;
  margin: 0 0 4rem;
}

.research-intro p {
  max-width: none;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  line-height: 1.5;
  font-weight: 300;
}

/* ---------- Logo strip (home) ---------- */

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3.5rem;
  padding: 1.5rem 0 2.5rem;
}

.logo-row a {
  display: flex;
  align-items: center;
}

.logo-row img {
  display: block;
  height: 3.25rem;
  width: auto;
}

/* Transparent logo variants per theme */
.logo-row .logo--dark {
  display: none;
}

.cds-theme-zone-g100 .logo-row .logo--light {
  display: none;
}

.cds-theme-zone-g100 .logo-row .logo--dark {
  display: block;
}

/* ---------- Projects grid (research page) ---------- */

.centered-heading {
  text-align: center;
  margin: 0 0 2.5rem;
  border-top: 1px solid var(--cds-border-subtle-00, #e0e0e0);
  padding-top: 2rem;
}

/* ---------- Group members ---------- */

.member-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2rem;
}

.member-group h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.member-group p {
  margin: 0 0 0.25rem;
}

.member-note {
  color: var(--cds-text-secondary, #525252);
  font-style: italic;
}

.member-meetings {
  margin: 2rem 0 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 66rem) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem 4rem;
  }
}

.project__figure {
  margin: 0 auto 1.5rem;
  max-width: 15rem;
}

.project__figure svg {
  display: block;
  width: 100%;
  height: auto;
}

.project h3 {
  font-weight: 400;
  margin: 0 0 0.75rem;
}

.project p {
  max-width: none;
}

.project > :last-child {
  margin-bottom: 0;
}

/* ---------- Research: figure + text inside a section body ---------- */

.figure-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 42rem) {
  .figure-text {
    grid-template-columns: minmax(14rem, 24rem) minmax(0, 1fr);
    gap: 3rem;
  }
}

.figure-text__figure {
  margin: 0;
}

.figure-text__figure img,
.figure-text__figure svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Research graphics: inline SVGs colored with Carbon tokens so they
   adapt to the light and dark themes automatically */
.rs-subtle {
  stroke: var(--cds-border-subtle-01, #c6c6c6);
}

.rs-struct {
  stroke: var(--cds-icon-secondary, #525252);
}

.rs-accent {
  stroke: var(--cds-link-primary, #0f62fe);
}

.rs-accent-fill {
  fill: var(--cds-link-primary, #0f62fe);
}

.rs-subtle-fill {
  fill: var(--cds-border-subtle-01, #c6c6c6);
}

.rs-struct-fill {
  fill: var(--cds-icon-secondary, #525252);
}

.rs-magenta {
  stroke: #d02670;
}

.rs-magenta-fill {
  fill: #d02670;
}

.cds-theme-zone-g100 .rs-magenta {
  stroke: #ff7eb6;
}

.cds-theme-zone-g100 .rs-magenta-fill {
  fill: #ff7eb6;
}

.rs-text {
  fill: var(--cds-text-secondary, #525252);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
}

.rs-text--accent {
  fill: var(--cds-link-primary, #0f62fe);
}

.rs-text--magenta {
  fill: #d02670;
}

.cds-theme-zone-g100 .rs-text--magenta {
  fill: #ff7eb6;
}

/* ---------- Tiles (Carbon tile) ---------- */

.tile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}

@media (min-width: 42rem) {
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 66rem) {
  .tile-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tile {
  background: var(--cds-layer-01, #f4f4f4);
  padding: 1.5rem;
  min-height: 10rem;
  display: flex;
  flex-direction: column;
}

.tile h3 {
  margin: 0 0 0.5rem;
}

.tile p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--cds-text-secondary, #525252);
}

/* ---------- Social / profile icon links ---------- */

.social-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
  color: var(--cds-link-primary, #0f62fe);
}

.social-list a:hover {
  background: var(--cds-background-hover, rgba(141, 141, 141, 0.12));
  text-decoration: none;
  color: var(--cds-link-primary-hover, #0043ce);
}

.social-list svg {
  width: 1.375rem;
  height: 1.375rem;
  fill: currentColor;
  flex: none;
}

/* ---------- Structured list (Links page) ---------- */

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--cds-border-subtle-00, #e0e0e0);
}

.link-list li:last-child {
  border-bottom: 1px solid var(--cds-border-subtle-00, #e0e0e0);
}

.link-list .label {
  color: var(--cds-text-secondary, #525252);
}

@media (max-width: 41.98rem) {
  .link-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* ---------- Publication list ---------- */

.pub-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pub-list li {
  padding: 1.25rem 0;
  border-top: 1px solid var(--cds-border-subtle-00, #e0e0e0);
  max-width: 60rem;
}

.pub-list li:last-child {
  border-bottom: 1px solid var(--cds-border-subtle-00, #e0e0e0);
}

/* ---------- Teaching accordion ---------- */

/* Avoid a flash of unstyled slotted content before the web component upgrades */
cds-accordion:not(:defined) {
  visibility: hidden;
}

cds-accordion {
  display: block;
  --cds-body-compact-01-font-size: 1.125rem;
  --cds-body-01-font-size: 1.125rem;
  --cds-heading-compact-01-font-size: 1.125rem;
}

.course {
  margin: 0 0 1rem;
}

.course__code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  color: var(--cds-text-secondary, #525252);
}

.course__section-title {
  margin: 2rem 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.375;
}

.lecture-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 60rem;
}

.lecture-list li {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--cds-border-subtle-00, #e0e0e0);
}

.lecture-list li:last-child {
  border-bottom: 1px solid var(--cds-border-subtle-00, #e0e0e0);
}

.lecture-list .label {
  color: var(--cds-text-secondary, #525252);
  font-size: 1rem;
  align-self: center;
}

@media (max-width: 41.98rem) {
  .lecture-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* ---------- Tags (Carbon tag styles for news items) ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  height: 1.5rem;
  padding: 0 0.625rem;
  margin-right: 0.5rem;
  border-radius: 0.9375rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.32px;
  white-space: nowrap;
  vertical-align: middle;
  position: relative;
  top: -0.0625rem;
}

.tag--conference {
  background: #d0e2ff;
  color: #0043ce;
}

.tag--publication {
  background: #a7f0ba;
  color: #0e6027;
}

.tag--award {
  background: #e8daff;
  color: #6929c4;
}

.tag--featured {
  background: #bae6ff;
  color: #00539a;
}

.cds-theme-zone-g100 .tag--conference {
  background: #0043ce;
  color: #d0e2ff;
}

.cds-theme-zone-g100 .tag--publication {
  background: #0e6027;
  color: #a7f0ba;
}

.cds-theme-zone-g100 .tag--award {
  background: #6929c4;
  color: #e8daff;
}

.cds-theme-zone-g100 .tag--featured {
  background: #003a6d;
  color: #82cfff;
}

.tag--seminar {
  background: #9ef0f0;
  color: #004144;
}

.tag--team {
  background: #ffd6e8;
  color: #9f1853;
}

.cds-theme-zone-g100 .tag--seminar {
  background: #004144;
  color: #3ddbd9;
}

.cds-theme-zone-g100 .tag--team {
  background: #9f1853;
  color: #ffd6e8;
}

/* ---------- Media figure ---------- */

.media-figure {
  margin: 0;
  max-width: 60rem;
}

.media-figure video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--cds-background-inverse, #161616);
}

.media-figure figcaption {
  padding-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--cds-text-secondary, #525252);
}

/* ---------- Potential research projects ---------- */

.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  max-width: 60rem;
}

.project-card {
  background: var(--cds-layer-01, #f4f4f4);
  padding: 1.5rem;
}

.project-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.project-card p {
  margin: 0;
  max-width: 52rem;
}

.proj-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.125rem 0.625rem;
  border-radius: 0.9375rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.32px;
  white-space: nowrap;
}

.proj-badge svg {
  width: 0.9375rem;
  height: 0.9375rem;
  fill: currentColor;
}

.proj-badge--phd {
  background: #d0e2ff;
  color: #0043ce;
}

.proj-badge--capstone {
  background: #a7f0ba;
  color: #0e6027;
}

.cds-theme-zone-g100 .proj-badge--phd {
  background: #0043ce;
  color: #d0e2ff;
}

.cds-theme-zone-g100 .proj-badge--capstone {
  background: #0e6027;
  color: #a7f0ba;
}

.proj-title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.625rem;
}

.proj-desc {
  max-width: 52rem;
  margin: 0 0 0.5rem;
}

.proj-refs {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.9375rem;
}

.proj-refs li {
  margin: 0.25rem 0;
  padding-left: 1.125rem;
  position: relative;
}

.proj-refs li::before {
  content: '↗';
  position: absolute;
  left: 0;
  color: var(--cds-text-secondary, #525252);
}

/* ---------- Meetings page (wrapped indicomb output) ---------- */

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin: 0;
  font-size: 1.125rem;
}

.page-links a {
  white-space: nowrap;
}

.meetings-embed {
  max-width: 60rem;
}

.meetings-embed h5 {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--cds-text-secondary, #525252);
}

.meetings-embed center {
  text-align: left;
}

.meetings-embed > a,
.meetings-embed b > a {
  font-size: 1.125rem;
}

.meetings-embed ul {
  margin: 0.25rem 0 1.5rem;
  padding-left: 1.5rem;
}

.meetings-embed ul ul {
  margin-bottom: 0.25rem;
}

.meetings-embed li {
  margin: 0.25rem 0;
}

.meetings-embed hr {
  border: none;
  border-top: 1px solid var(--cds-border-subtle-00, #e0e0e0);
  margin: 2rem 0;
}

.meetings-embed font {
  color: var(--cds-text-secondary, #525252);
}

/* ---------- Doc pages (markdown-style, e.g. getting started) ---------- */

.doc section {
  border-top: 1px solid var(--cds-border-subtle-00, #e0e0e0);
  padding-top: 2rem;
  margin-bottom: 3.5rem;
}

.doc h2 {
  margin-bottom: 1.5rem;
}

.doc h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}

.doc p,
.doc ol,
.doc ul {
  max-width: 60rem;
}

.doc ol,
.doc ul {
  margin: 0 0 1rem;
  padding-left: 1.75rem;
}

.doc li {
  margin: 0.375rem 0;
}

.doc pre {
  max-width: 60rem;
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--cds-layer-01, #f4f4f4);
  overflow-x: auto;
}

.doc pre code {
  font-size: 0.9375rem;
  line-height: 1.6;
  background: none;
  padding: 0;
}

.doc p code,
.doc li code {
  background: var(--cds-layer-01, #f4f4f4);
  padding: 0.125em 0.375em;
  font-size: 0.9em;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--cds-border-subtle-00, #e0e0e0);
  background: var(--cds-layer-01, #f4f4f4);
}

.site-footer__inner {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.16px;
  color: var(--cds-text-secondary, #525252);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
}
