/**
 * Tiragena — Proteros-derived design system (full visual reconstruction)
 * Reference: proteros.com visual language; Tiragena content + teal brand accent.
 * Loads after tir-menu-v2.css on all marketing pages.
 */

/* ===== DESIGN TOKENS ===== */
:root {
  --pr-font: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --pr-container: 1170px;
  --pr-gutter: 15px;
  --pr-ink: #1f1f1f;
  --pr-muted: #444444;
  --pr-line: #e5e5e5;
  --pr-white: #ffffff;
  --pr-band: #f5f5f5;
  --pr-footer: #1a1a1a;
  --pr-accent: #0d9488;
  --pr-accent-dark: #0f766e;
  --pr-hero-min: 550px;
  --pr-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --pr-header-h: 64px;
  --pr-header-compact: 56px;
}

/* ===== GLOBAL TYPOGRAPHY RESET (marketing shell) ===== */
html.tir-proteros-shell:not([data-theme="dark"]) body {
  font-family: var(--pr-font);
  font-size: 15px;
  line-height: 1.62;
  color: var(--pr-ink);
  background: var(--pr-white);
}

html.tir-proteros-shell:not([data-theme="dark"]) body::before,
html.tir-proteros-shell:not([data-theme="dark"]) body::after {
  display: none !important;
}

html.tir-proteros-shell h1,
html.tir-proteros-shell h2,
html.tir-proteros-shell h3,
html.tir-proteros-shell h4,
html.tir-proteros-shell h5,
html.tir-proteros-shell h6 {
  font-family: var(--pr-font);
  font-weight: 600;
  color: var(--pr-ink);
}

html.tir-proteros-shell .pr-kicker,
html.tir-proteros-shell .eyebrow {
  margin: 0 0 0.75rem;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.64;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pr-ink);
}

html.tir-proteros-shell .pr-display {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pr-white);
}

/* ===== CONTAINER ===== */
.pr-container {
  width: min(var(--pr-container), 100% - 2 * var(--pr-gutter));
  max-width: var(--pr-container);
  margin-inline: auto;
  padding-inline: var(--pr-gutter);
}

@media (min-width: 1200px) {
  .pr-container {
    padding-inline: 0;
  }
}

/* ===== UTILITY BAR — hidden (Proteros has none; links in nav/footer) ===== */
html.tir-proteros-shell .utility-bar {
  display: none !important;
}

/* ===== HEADER — overlay on hero, solid on scroll ===== */
html.tir-proteros-shell .tir-head {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  height: var(--pr-header-h) !important;
  min-height: var(--pr-header-h) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  z-index: 10000;
  transition: background-color 0.28s var(--pr-ease), box-shadow 0.28s var(--pr-ease);
}

html.tir-proteros-shell .tir-head::after {
  display: none !important;
}

html.tir-proteros-shell .tir-head.tir-head--solid {
  background: var(--pr-white) !important;
  box-shadow: 0 1px 0 var(--pr-line) !important;
}

html.tir-proteros-shell .tir-head__surface {
  max-width: var(--pr-container) !important;
  padding: 0 var(--pr-gutter) !important;
  height: 100%;
}

html.tir-proteros-shell .tir-head__brand-text {
  font-family: var(--pr-font) !important;
  font-size: 0 !important;
  max-width: 180px !important;
}

html.tir-proteros-shell .tir-head__logo-img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 0 !important;
}

/* Nav — overlay mode (on hero) */
html.tir-proteros-shell:not(.tir-header-solid) .tir-head:not(.tir-head--solid) .tir-head__link,
html.tir-proteros-shell:not(.tir-header-solid) .tir-head:not(.tir-head--solid) .tir-head__trigger,
html.tir-proteros-shell:not(.tir-header-solid) .tir-head:not(.tir-head--solid) .tir-head__login {
  font-family: var(--pr-font) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  color: var(--pr-white) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  border-radius: 0 !important;
  padding: 0 0 0 12px !important;
}

html.tir-proteros-shell:not(.tir-header-solid) .tir-head:not(.tir-head--solid) .tir-head__link:hover,
html.tir-proteros-shell:not(.tir-header-solid) .tir-head:not(.tir-head--solid) .tir-head__trigger:hover {
  color: rgba(255, 255, 255, 0.85) !important;
  background: transparent !important;
}

html.tir-proteros-shell:not(.tir-header-solid) .tir-head:not(.tir-head--solid) .tir-head__select,
html.tir-proteros-shell:not(.tir-header-solid) .tir-head:not(.tir-head--solid) .tir-head__tool label {
  color: var(--pr-white) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

html.tir-proteros-shell:not(.tir-header-solid) .tir-head:not(.tir-head--solid) .tir-head__burger {
  color: var(--pr-white) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Nav — solid mode */
html.tir-proteros-shell .tir-head--solid .tir-head__link,
html.tir-proteros-shell .tir-head--solid .tir-head__trigger,
html.tir-proteros-shell.tir-header-solid .tir-head__link,
html.tir-proteros-shell.tir-header-solid .tir-head__trigger {
  font-family: var(--pr-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  color: var(--pr-ink) !important;
}

html.tir-proteros-shell .tir-head--solid .tir-head__link:hover,
html.tir-proteros-shell .tir-head--solid .tir-head__trigger:hover,
html.tir-proteros-shell .tir-head__link[aria-current="page"] {
  color: var(--pr-accent) !important;
}

html.tir-proteros-shell .tir-head--solid .tir-head__login,
html.tir-proteros-shell.tir-header-solid .tir-head__login {
  border-radius: 0 !important;
  border: 1px solid var(--pr-line) !important;
  color: var(--pr-ink) !important;
}

/* Offset main for fixed header on inner pages */
html.tir-proteros-shell:not(.index-home) main {
  padding-top: var(--pr-header-h);
}

/* ===== HERO — full bleed ===== */
.pr-hero {
  position: relative;
  min-height: var(--pr-hero-min);
  display: grid;
  align-items: end;
  color: var(--pr-white);
  margin-top: 0;
}

.pr-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pr-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.pr-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.pr-hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--pr-header-h) + 2.5rem) var(--pr-gutter) 3.5rem;
  max-width: var(--pr-container);
  margin-inline: auto;
  width: 100%;
}

.pr-hero__content .pr-kicker {
  color: rgba(255, 255, 255, 0.92);
}

.pr-hero__content .pr-display {
  max-width: 18ch;
}

.pr-hero__lede {
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.pr-hero__lede p {
  margin: 0 0 1rem;
}

/* Legacy ix-hero mapped to proteros on homepage */
html.index-home.tir-proteros-shell .home-hero.pr-hero {
  min-height: var(--pr-hero-min);
  padding: 0;
  border: none;
  background: none;
}

html.index-home.tir-proteros-shell .home-hero .ix-hero__grid {
  display: none;
}

/* ===== QUICK LINKS (4-up tiles) ===== */
.pr-quicklinks {
  background: var(--pr-white);
  padding: 0;
}

.pr-quicklinks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--pr-container);
  margin-inline: auto;
}

.pr-quicklink {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--pr-white);
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.pr-quicklink:last-child {
  border-right: none;
}

.pr-quicklink__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pr-quicklink__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--pr-ease);
}

.pr-quicklink__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  transition: background 0.3s var(--pr-ease);
  z-index: 1;
}

.pr-quicklink:hover .pr-quicklink__media img,
.pr-quicklink:focus-visible .pr-quicklink__media img {
  transform: scale(1.04);
}

.pr-quicklink:hover .pr-quicklink__scrim,
.pr-quicklink:focus-visible .pr-quicklink__scrim {
  background: rgba(13, 148, 136, 0.55);
}

.pr-quicklink__body {
  position: relative;
  z-index: 2;
}

.pr-quicklink .pr-kicker {
  color: var(--pr-white);
  margin-bottom: 0.35rem;
}

.pr-quicklink__sub {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  text-transform: none;
  letter-spacing: normal;
}

/* ===== IMAGE + TEXT ROWS ===== */
.pr-split {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.pr-split--band {
  background: var(--pr-band);
}

.pr-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.pr-split__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pr-split__copy h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

.pr-split__copy .pr-lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--pr-muted);
  margin: 0 0 1rem;
}

/* ===== VALUE COLUMNS (3-up) ===== */
.pr-values {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: var(--pr-white);
}

.pr-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.pr-value {
  text-align: left;
}

.pr-value__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--pr-accent);
}

.pr-value h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 0.75rem;
  text-transform: none;
  letter-spacing: normal;
}

.pr-value p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--pr-muted);
}

/* ===== SERVICE GRID ===== */
.pr-services {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: var(--pr-band);
}

.pr-services__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pr-services__head h2 {
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
}

.pr-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pr-service {
  background: var(--pr-white);
  padding: 2rem 1.75rem;
  border: 1px solid var(--pr-line);
}

.pr-service h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.pr-service p {
  margin: 0 0 1.25rem;
  font-size: 15px;
  line-height: 1.65;
  color: var(--pr-muted);
}

.pr-service a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pr-accent);
  text-decoration: none;
}

.pr-service a:hover {
  color: var(--pr-accent-dark);
}

/* ===== NEWS LIST ===== */
.pr-news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--pr-line);
}

.pr-news-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--pr-line);
}

.pr-news-item__meta {
  margin: 0 0 0.35rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pr-muted);
}

.pr-news-item h3 {
  margin: 0 0 0.5rem;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}

.pr-news-item h3 a {
  color: var(--pr-ink);
  text-decoration: none;
}

.pr-news-item h3 a:hover {
  color: var(--pr-accent);
}

.pr-news-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--pr-muted);
}

html.index-home.tir-proteros-shell .ix-value-grid--secondary {
  grid-template-columns: repeat(2, 1fr);
  max-width: 56rem;
}

html.index-home.tir-proteros-shell .home-section {
  max-width: var(--pr-container);
  padding-inline: var(--pr-gutter);
  margin-inline: auto;
}

html.index-home.tir-proteros-shell .pr-contact .section-head h2,
html.index-home.tir-proteros-shell .pr-contact h2 {
  color: var(--pr-white);
}

html.index-home.tir-proteros-shell .pr-contact p,
html.index-home.tir-proteros-shell .pr-contact a {
  color: rgba(255, 255, 255, 0.88);
}

/* ===== BUTTONS ===== */
html.tir-proteros-shell .ix-btn,
html.tir-proteros-shell .btn {
  font-family: var(--pr-font);
  font-size: 15px;
  font-weight: 400;
  border-radius: 0 !important;
  padding: 19px 36px !important;
  letter-spacing: normal;
  text-transform: none;
  transition: background 0.25s var(--pr-ease), color 0.25s var(--pr-ease), border-color 0.25s var(--pr-ease);
}

html.tir-proteros-shell .ix-btn--primary,
html.tir-proteros-shell .btn-primary {
  background: var(--pr-accent) !important;
  border: 1px solid var(--pr-accent) !important;
  color: var(--pr-white) !important;
}

html.tir-proteros-shell .ix-btn--primary:hover,
html.tir-proteros-shell .btn-primary:hover {
  background: var(--pr-accent-dark) !important;
  border-color: var(--pr-accent-dark) !important;
}

html.tir-proteros-shell .ix-btn--ghost,
html.tir-proteros-shell .btn-ghost {
  background: transparent !important;
  border: 1px solid var(--pr-white) !important;
  color: var(--pr-white) !important;
}

html.tir-proteros-shell .tir-head--solid ~ main .ix-btn--ghost,
html.tir-proteros-shell:not(.index-home) .ix-btn--ghost {
  border-color: var(--pr-ink) !important;
  color: var(--pr-ink) !important;
}

/* ===== CONTACT BAND ===== */
.pr-contact {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: var(--pr-footer);
  color: var(--pr-white);
}

.pr-contact h2 {
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pr-white);
  margin: 0 0 1.5rem;
}

.pr-contact .tir-contact-box {
  background: transparent;
  border: none;
  padding: 0;
  max-width: 720px;
}

.pr-contact .tir-contact-form__input {
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--pr-white);
}

/* ===== FOOTER ===== */
html.tir-proteros-shell .site-footer,
html.tir-proteros-shell .ix-home-footer {
  background: var(--pr-footer) !important;
  color: rgba(255, 255, 255, 0.85);
  border-top: none;
  padding-top: 3rem;
}

html.tir-proteros-shell .site-footer h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pr-white);
}

html.tir-proteros-shell .site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

html.tir-proteros-shell .site-footer a:hover {
  color: var(--pr-white);
}

html.tir-proteros-shell .footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== INNER PAGE HERO ===== */
html.tir-proteros-shell .ix-hero {
  min-height: auto;
  padding: 3rem 0 2.5rem;
  background: var(--pr-band) !important;
  border-bottom: 1px solid var(--pr-line);
}

html.tir-proteros-shell .ix-hero h1 {
  font-size: clamp(1.5rem, 2.8vw, 2rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  color: var(--pr-ink) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

html.tir-proteros-shell .ix-hero .lede {
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: var(--pr-muted) !important;
  max-width: 58ch;
}

html.tir-proteros-shell .ix-hero__figure {
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 1px solid var(--pr-line);
}

/* ===== HOMEPAGE SECTION OVERRIDES ===== */
html.index-home.tir-proteros-shell .home-section {
  max-width: var(--pr-container);
  padding-inline: var(--pr-gutter);
}

html.index-home.tir-proteros-shell .home-section-head h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pr-ink);
}

html.index-home.tir-proteros-shell .ix-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

html.index-home.tir-proteros-shell .ix-value-card {
  background: transparent;
  border: none;
  border-top: 3px solid var(--pr-accent);
  padding: 1.5rem 0 0;
  border-radius: 0;
  box-shadow: none;
}

html.index-home.tir-proteros-shell .home-phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--pr-line);
}

html.index-home.tir-proteros-shell .ix-phase-card {
  border-radius: 0;
  box-shadow: none;
  border-right: 1px solid var(--pr-line);
  padding: 2rem 1.75rem;
}

html.index-home.tir-proteros-shell .ix-phase-card:last-child {
  border-right: none;
}

html.index-home.tir-proteros-shell .home-platform-band {
  background: var(--pr-footer) !important;
}

html.index-home.tir-proteros-shell .home-explore-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--pr-line);
}

html.index-home.tir-proteros-shell .home-explore-card {
  border-radius: 0;
  box-shadow: none;
  border-right: 1px solid var(--pr-line);
  padding: 2rem 1.75rem;
  background: var(--pr-white);
}

html.index-home.tir-proteros-shell .home-explore-card--accent {
  background: var(--pr-band);
}

/* Hide lab carousel on homepage (not Proteros pattern) */
html.index-home.tir-proteros-shell #lab-imagery {
  display: none;
}

/* ===== INNER PAGE HERO (image band below header) ===== */
.pr-inner-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: var(--pr-white);
  margin-top: calc(-1 * var(--pr-header-h));
  padding-top: var(--pr-header-h);
}

.pr-inner-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pr-inner-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.pr-inner-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.2) 100%);
}

.pr-inner-hero__content {
  position: relative;
  z-index: 1;
  padding: 2.5rem var(--pr-gutter) 2.75rem;
  max-width: var(--pr-container);
}

.pr-inner-hero__content .pr-kicker {
  color: rgba(255, 255, 255, 0.9);
}

.pr-inner-hero__title {
  margin: 0 0 1rem;
  max-width: 22ch;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pr-white);
}

.pr-inner-hero__lede {
  margin: 0 0 1rem;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.pr-inner-hero__links {
  margin: 0 0 1rem;
  font-size: 14px;
}

.pr-inner-hero__links a {
  color: rgba(255, 255, 255, 0.88);
}

.pr-inner-hero__links a:hover {
  color: var(--pr-white);
}

.pr-disclaimer {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  max-width: 62ch;
}

/* ===== SUBNAV (phase / section jump) ===== */
.pr-subnav {
  position: sticky;
  top: var(--pr-header-h);
  z-index: 900;
  background: var(--pr-white);
  border-bottom: 1px solid var(--pr-line);
}

.pr-subnav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.pr-subnav__link {
  display: inline-block;
  padding: 1rem 1.25rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pr-ink);
  border-bottom: 3px solid transparent;
  transition: color 0.2s var(--pr-ease), border-color 0.2s var(--pr-ease);
}

.pr-subnav__link:hover,
.pr-subnav__link:focus-visible {
  color: var(--pr-accent);
  border-bottom-color: var(--pr-accent);
}

.pr-inner-hero--compact {
  min-height: 260px;
}

.pr-inner-hero--compact .pr-inner-hero__title {
  max-width: 28ch;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
}

.pr-inner-hero__content .pr-inner-hero__lede a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Publications filter (Proteros catalog pattern) */
.science-publications-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--pr-line);
}

.science-publications-filter__chip {
  padding: 0.5rem 1rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--pr-line);
  color: var(--pr-ink);
  cursor: pointer;
  transition: background 0.2s var(--pr-ease), border-color 0.2s var(--pr-ease), color 0.2s var(--pr-ease);
}

.science-publications-filter__chip:hover,
.science-publications-filter__chip:focus-visible {
  border-color: var(--pr-accent);
  color: var(--pr-accent);
}

.science-publications-filter__chip.is-active {
  background: var(--pr-accent);
  border-color: var(--pr-accent);
  color: var(--pr-white);
}

.pr-inner-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* ===== PIPELINE / LONG-FORM CONTENT ===== */
.pr-pipeline-body,
.pr-longform-body {
  padding: clamp(2.5rem, 5vw, 4rem) var(--pr-gutter) 4rem;
  max-width: var(--pr-container);
  margin-inline: auto;
}

.pr-pipeline-body h2,
.pr-longform-body h2 {
  margin: 3rem 0 1.25rem;
  padding-top: 1.5rem;
  border-top: 3px solid var(--pr-accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.5;
}

.pr-pipeline-body > [data-lang-content] > h2:first-child,
.pr-pipeline-body h2:first-of-type,
.pr-longform-body > [data-lang-content] > h2:first-child,
.pr-longform-body h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.pr-pipeline-body h3,
.pr-longform-body h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--pr-ink);
}

.pr-pipeline-body p,
.pr-pipeline-body li,
.pr-longform-body p,
.pr-longform-body li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--pr-muted);
}

.pr-pipeline-body p strong,
.pr-longform-body p strong {
  color: var(--pr-ink);
  font-weight: 600;
}

.pr-pipeline-body ul,
.pr-longform-body ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.pr-pipeline-body .content-next,
.pr-longform-body .content-next {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--pr-band);
  border: 1px solid var(--pr-line);
}

.pr-pipeline-body .btn-row,
.pr-longform-body .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

html.tir-proteros-shell:not(.index-home) main {
  padding-top: 0;
}

html.tir-proteros-shell:not(.index-home) .tir-head {
  background: var(--pr-white) !important;
  box-shadow: 0 1px 0 var(--pr-line) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pr-quicklinks__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pr-values__grid,
  .pr-services__grid,
  .pr-split__grid {
    grid-template-columns: 1fr;
  }

  html.index-home.tir-proteros-shell .ix-value-grid,
  html.index-home.tir-proteros-shell .home-phase-grid,
  html.index-home.tir-proteros-shell .home-explore-cards__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --pr-hero-min: 480px;
    --pr-header-h: var(--pr-header-compact);
  }

  .pr-quicklinks__grid {
    grid-template-columns: 1fr;
  }

  .pr-quicklink {
    min-height: 180px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .pr-hero__content .pr-display {
    letter-spacing: 0.08em;
    font-size: 1.5rem;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html.tir-proteros-shell *,
  html.tir-proteros-shell *::before,
  html.tir-proteros-shell *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .pr-quicklink__media img {
    transform: none !important;
  }
}
