/* Site shell: consume the migrated BREATHE AI Lab design system. */
@import url("design-system/styles.css");

/* Jekyll-only navigation affordances. */
.skip-link {
  background: var(--ink);
  border-radius: var(--r-sm);
  color: #fff;
  left: 1rem;
  padding: .6rem .9rem;
  position: fixed;
  top: -4rem;
  transition: top var(--dur) var(--ease);
  z-index: 80;
}
.skip-link:focus { top: 1rem; }

.nav-toggle {
  align-items: center;
  background: transparent;
  border: var(--bw) solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 40px;
}
.nav-toggle-line {
  background: var(--ink);
  display: block;
  height: 1.5px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  width: 18px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:last-child { transform: translateY(-6.5px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-github-mobile { display: none; }

/* Keep static-page active state equivalent to the React preview aria-current state. */
.nav-link.is-active { color: var(--text-strong); }
.nav-link.is-active::after { transform: scaleX(1); }

/* Home wordmark override requested for the current BREATHE AI title. */
.group-name {
  color: #000;
  font-family: Optima, "Optima Regular", "Palatino Linotype", Palatino, serif;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__title.group-name {
  line-height: 1.1;
  margin-bottom: .75em;
}
.hero__lede {
  max-width: none;
  text-wrap: nowrap;
  white-space: nowrap;
}
.hero__expand {
  white-space: nowrap;
}
.recruiting__title {
  font-family: Optima, "Optima Regular", "Palatino Linotype", Palatino, serif;
  font-weight: 400;
  letter-spacing: .02em;
}
.recruiting__body {
  max-width: none;
  white-space: nowrap;
}
.site-footer__tagline {
  max-width: none;
  white-space: nowrap;
}

/* Align static Jekyll sections to the body grid at desktop widths. */
@media (min-width: 1321px) {
  .site-footer {
    max-width: var(--max-page);
    padding-left: 0;
    padding-right: 0;
  }

  .page-header--people {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Small compatibility hooks for Jekyll-generated content. */
.empty-state {
  border: var(--bw) dashed var(--border);
  border-radius: var(--r);
  color: var(--text-muted);
  font-size: var(--text-body-sm);
  padding: var(--space-5);
}
.divider {
  border: 0;
  border-top: var(--bw) solid var(--border);
  margin: 0;
}
.project-list {
  border-top: var(--bw-rule) solid var(--ink);
  display: grid;
}
.project-item {
  border-bottom: var(--bw) solid var(--border);
  padding: clamp(1.25rem, 2.4vw, 2rem) 0;
}
.project-status {
  color: var(--text-muted);
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  letter-spacing: .08em;
  margin-bottom: .55rem;
  text-transform: uppercase;
}
.project-item.is-active .project-status { color: var(--cobalt-deep); }
.project-item h3 { color: var(--ink); margin-bottom: .35rem; }
.project-item p { max-width: 70ch; }
.content-figure { margin: .85rem 0; }
.content-figure img {
  border: var(--bw) solid var(--border);
  border-radius: var(--r);
  width: 100%;
}
.content-figure figcaption {
  color: var(--text-muted);
  font-size: var(--text-caption);
  margin-top: .45rem;
}

/* Publication links in the current data model. */
.publication-meta {
  color: var(--text-muted);
  font-size: var(--text-body-sm);
  margin-bottom: .8rem;
}

/* Logo options page stays data-driven but uses the same tokens. */
.logo-options-header { max-width: 900px; }
.logo-option-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.logo-option-card {
  background: var(--surface);
  border: var(--bw) solid var(--border);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-height: 390px;
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
}
.logo-option-topline {
  align-items: center;
  border-bottom: var(--bw) solid var(--border);
  color: var(--text-muted);
  display: flex;
  font-family: var(--font-mono);
  font-size: var(--text-eyebrow);
  font-weight: var(--w-medium);
  justify-content: space-between;
  letter-spacing: .1em;
  padding-bottom: .8rem;
  text-transform: uppercase;
}
.logo-option-card code,
.logo-link-panel code {
  background: var(--paper-alt);
  border-radius: var(--r-xs);
  padding: 2px 6px;
}
.logo-option-header,
.logo-option-hero {
  align-items: center;
  border: var(--bw) solid var(--border);
  border-radius: var(--r);
  display: flex;
  gap: .9rem;
  padding: .9rem;
}
.logo-option-hero {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  padding: 1.2rem 0;
}
.logo-option-hero strong {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: var(--display-weight);
  line-height: var(--lh-tight);
}
.logo-option-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: auto;
}
.logo-link-panel {
  background: var(--ink);
  border-radius: var(--r);
  color: #fff;
  margin-top: var(--space-5);
  max-width: 920px;
  padding: clamp(1.4rem, 3vw, 2rem);
}
.logo-link-panel h3 { color: #fff; margin: .55rem 0 .7rem; }
.logo-link-panel p { color: rgba(255,255,255,.74); margin-top: .5rem; }
.logo-link-panel .eyebrow { color: var(--cobalt-soft); }
.logo-link-panel code {
  background: rgba(255,255,255,.08);
  color: #fff;
}

@media (max-width: 1080px) {
  .logo-option-grid { grid-template-columns: 1fr; }
  .logo-option-card { min-height: auto; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .hero__expand { white-space: normal; }
  .hero__lede { font-size: 1.1rem; }
  .recruiting__body { white-space: normal; }
  .site-footer__tagline { white-space: normal; }
}
