/* ==========================================================================
   Plant Stress Lab — homepage sections (index.html only)
   Self-contained: every rule is scoped to .psl-* so the Elementor-generated
   stylesheets and the shared header/footer are untouched.
   Offline-safe: no @import, no remote fonts, no external assets.
   ========================================================================== */

:root {
  /* botanical palette — brand green #18AD5A retained as the light accent */
  --psl-ink: #14261C;
  --psl-green: #1B4332;
  --psl-green-mid: #2D6A4F;
  --psl-brand: #18AD5A;
  --psl-accent: #D97706;
  --psl-accent-soft: #FDF1E0;
  --psl-cream: #FAF8F4;
  --psl-cream-deep: #F3EFE7;
  --psl-line: #E4DFD5;
  --psl-body: #3B3B38;
  --psl-muted: #6E6E67;

  --psl-max: 1140px;
  --psl-pad: clamp(1.25rem, 4vw, 2.5rem);
  /* The platform's own UI font — no webfont is loaded anywhere on this site.
     The Korean faces at the end only catch characters the Latin ones lack. */
  --psl-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Malgun Gothic",
    "Noto Sans KR", sans-serif;
  --psl-radius: 14px;
  --psl-shadow: 0 1px 2px rgba(20, 38, 28, .05), 0 8px 24px rgba(20, 38, 28, .06);
  --psl-shadow-lift: 0 2px 4px rgba(20, 38, 28, .07), 0 18px 40px rgba(20, 38, 28, .12);
}

/* ==========================================================================
   Base — replaces hello-elementor's reset.css / theme.css, which used to load
   ahead of this file. Only what the pages actually rely on.
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--psl-body);
  font-family: var(--psl-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin-block: .5rem 1rem;
  color: inherit;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { margin-block: 0 .9rem; }

a { color: inherit; text-decoration: none; background-color: transparent; }

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

button { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; }

b, strong { font-weight: bolder; }
small { font-size: 80%; }
sub, sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; }
sup { top: -.5em; }
sub { bottom: -.25em; }

[hidden] { display: none; }

.psl-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* ---------- shared shell ---------------------------------------------- */

.psl {
  font-family: var(--psl-sans);
  color: var(--psl-body);
  background: var(--psl-cream);
  -webkit-font-smoothing: antialiased;
}

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

.psl-wrap {
  max-width: var(--psl-max);
  margin-inline: auto;
  padding-inline: var(--psl-pad);
}

.psl-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.psl-section--tint { background: var(--psl-cream-deep); }

.psl-eyebrow {
  margin: 0 0 .6rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--psl-accent);
}

.psl-h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--psl-green);
}

.psl-lede {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(1rem, 1.4vw, 1.075rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--psl-body);
}

.psl-section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- buttons ---------------------------------------------------- */

.psl-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--psl-sans);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease,
              transform .2s ease, box-shadow .2s ease;
}

.psl-btn:hover { transform: translateY(-2px); }
.psl-btn:focus-visible { outline: 3px solid var(--psl-accent); outline-offset: 3px; }

.psl-btn--primary {
  background: var(--psl-accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(217, 119, 6, .3);
}
.psl-btn--primary:hover { background: #c26805; box-shadow: 0 10px 26px rgba(217, 119, 6, .38); }

.psl-btn--ghost {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.psl-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--psl-green); }

.psl-btn--outline {
  background: transparent;
  border-color: var(--psl-green-mid);
  color: var(--psl-green);
}
.psl-btn--outline:hover { background: var(--psl-green); border-color: var(--psl-green); color: #fff; }

.psl-btn--light {
  background: #fff;
  color: var(--psl-green);
}
.psl-btn--light:hover { background: var(--psl-accent-soft); }

/* text link with arrow */
.psl-more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--psl-green-mid);
  text-decoration: none !important;
  transition: gap .2s ease, color .2s ease;
}
.psl-more::after { content: "\2192"; transition: transform .2s ease; }
.psl-more:hover { color: var(--psl-accent); }
.psl-more:hover::after { transform: translateX(4px); }
.psl-more:focus-visible { outline: 3px solid var(--psl-accent); outline-offset: 3px; border-radius: 4px; }

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

.psl-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 120px;
  padding-block: clamp(16px, 2vw, 24px);
  background: var(--psl-green);
  overflow: hidden;
}

/* the source image is a 2x2 collage; object-position keeps the two
   stress-phenotype leaves (top row) in frame at every viewport size */
.psl-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.psl-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}

.psl-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(15, 41, 28, .93) 0%, rgba(20, 56, 38, .82) 45%,
                    rgba(20, 56, 38, .42) 100%);
}

.psl-hero__inner { max-width: 44rem; }

.psl-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.25rem;
  padding: .4rem .9rem .4rem .75rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #E8F3EC;
}

.psl-hero__kicker::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--psl-brand);
  box-shadow: 0 0 0 3px rgba(24, 173, 90, .3);
}

.psl-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.025em;
  color: #fff;
}

.psl-hero__ko {
  display: block;
  margin-top: .5rem;
  font-size: clamp(1rem, 2vw, 1.375rem);
  font-weight: 300;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .78);
}

.psl-hero__tagline {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
}

.psl-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .9rem;
  margin: 1.75rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: .875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, .8);
}

.psl-hero__meta span { display: inline-flex; align-items: center; gap: .9rem; }
.psl-hero__meta span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
}

.psl-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.25rem;
}

/* ---------- at a glance ----------------------------------------------- */

.psl-glance {
  background: #fff;
  border-bottom: 1px solid var(--psl-line);
}

.psl-glance__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--psl-line);
  border-inline: 1px solid var(--psl-line);
}

.psl-glance__item {
  padding: clamp(1.5rem, 3vw, 2.25rem) 1.25rem;
  background: #fff;
  text-align: center;
}

.psl-glance__num {
  display: block;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--psl-green-mid);
}

.psl-glance__label {
  display: block;
  margin-top: .4rem;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--psl-muted);
}

/* ---------- research cards -------------------------------------------- */

.psl-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.psl-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--psl-line);
  border-radius: var(--psl-radius);
  overflow: hidden;
  box-shadow: var(--psl-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.psl-card:hover,
.psl-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(45, 106, 79, .35);
  box-shadow: var(--psl-shadow-lift);
}

/* research figures are white-background schematics — contain, never crop */
.psl-card__fig {
  aspect-ratio: 4 / 3;
  padding: .75rem;
  background: var(--psl-cream);
  border-bottom: 1px solid var(--psl-line);
}

.psl-card__fig img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.psl-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.25rem 1.4rem;
}.psl-card__title {
  margin: 0 0 .55rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--psl-green);
}

.psl-card__title a {
  color: inherit;
  text-decoration: none !important;
}
.psl-card__title a:focus-visible { outline: 3px solid var(--psl-accent); outline-offset: 3px; }

.psl-card__text {
  margin: 0 0 1.1rem;
  font-size: .9375rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--psl-body);
}

.psl-card__text i, .psl-card__title i { font-style: italic; }.psl-section__foot {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
}

/* ---------- mission --------------------------------------------------- */

.psl-mission__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.psl-mission__body p {
  margin: 0 0 1.1rem;
  font-size: clamp(1rem, 1.35vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--psl-body);
}

.psl-mission__body p:last-child { margin-bottom: 0; }

.psl-mission__pull {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--psl-accent);
  font-size: clamp(1.125rem, 2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--psl-green);
}

.psl-mission__aside { text-align: center; }

.psl-mission__portrait {
  width: 100%;
  max-width: 20rem;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--psl-radius);
  box-shadow: var(--psl-shadow-lift);
  display: block;
}

.psl-mission__caption {
  margin: 1rem 0 0;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--psl-muted);
}

.psl-mission__caption strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--psl-green);
}/* ---------- join / contact band --------------------------------------- */

.psl-join {
  background: var(--psl-green);
  color: rgba(255, 255, 255, .88);
}

.psl-join__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.psl-join .psl-eyebrow { color: var(--psl-brand); }

.psl-join h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: #fff;
}

.psl-join p {
  margin: 0 0 1.5rem;
  max-width: 46ch;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, .85);
}

.psl-join__card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--psl-radius);
  background: rgba(255, 255, 255, .06);
}

.psl-join__card h3 {
  margin: 0 0 1.1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--psl-brand);
}

.psl-address {
  margin: 0;
  font-size: .9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, .88);
}

.psl-address dt {
  margin-top: 1rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.psl-address dt:first-child { margin-top: 0; }
.psl-address dd { margin: .3rem 0 0; }

.psl-address a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .45);
  text-underline-offset: 3px;
}
.psl-address a:hover { text-decoration-color: var(--psl-brand); }

/* ---------- scroll reveal --------------------------------------------- */

.psl-js .psl-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.psl-js .psl-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .psl-js .psl-reveal,
  .psl-js .psl-reveal.is-visible { opacity: 1; transform: none; transition: none; }
  .psl-btn, .psl-card, .psl-more, .psl-more::after { transition: none; }
  .psl-btn:hover, .psl-card:hover { transform: none; }
}

/* ---------- responsive ------------------------------------------------ */

@media (max-width: 1024px) {
  .psl-cards { grid-template-columns: repeat(2, 1fr); }  .psl-glance__grid { grid-template-columns: repeat(2, 1fr); }
  .psl-mission__grid,
  .psl-join__grid { grid-template-columns: 1fr; }
  .psl-mission__aside { justify-self: start; text-align: left; }
  .psl-mission__portrait { margin-inline: 0; }
}

@media (max-width: 640px) {
  .psl-hero { min-height: 0; }
  .psl-hero__media img { object-position: 50% 18%; }
  .psl-cards { grid-template-columns: 1fr; }  .psl-hero__ctas .psl-btn { flex: 1 1 100%; justify-content: center; }
}

/* ==========================================================================
   Shared page components — used by every page except index.html
   ========================================================================== */

/* ---------- page header band ------------------------------------------ */

.psl-page-head {
  position: relative;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  background: var(--psl-green);
  color: #fff;
  overflow: hidden;
}

/* faint botanical vein motif, drawn in CSS — no image request */
.psl-page-head::after {
  content: "";
  position: absolute;
  inset-block: -40%;
  inset-inline-end: -6rem;
  width: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 40%, rgba(24, 173, 90, .22), transparent 62%);
  pointer-events: none;
}

.psl-page-head__inner { position: relative; z-index: 1; }

.psl-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .65);
}

.psl-breadcrumb li { display: flex; align-items: center; gap: .5rem; }
.psl-breadcrumb li + li::before { content: "\2215"; color: rgba(255, 255, 255, .4); }

.psl-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: rgba(255, 255, 255, .82);
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.psl-breadcrumb a:hover { color: #fff; border-color: rgba(255, 255, 255, .6); }
.psl-breadcrumb [aria-current="page"] { color: #fff; }

.psl-page-head h1 {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: #fff;
}

.psl-page-head h1 i { font-style: italic; }

.psl-page-head__ko {
  display: block;
  margin-top: .45rem;
  font-size: clamp(.9375rem, 1.7vw, 1.125rem);
  font-weight: 300;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .72);
}

.psl-page-head__lede {
  margin: 1.25rem 0 0;
  max-width: 60ch;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
}

.psl-page-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.5rem 0 0;
}

.psl-chip {
  display: inline-flex;
  align-items: center;
  padding: .35rem .8rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
}

/* ---------- long-form article prose ----------------------------------- */

.psl-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.psl-prose { max-width: 68ch; }

.psl-prose > p {
  margin: 0 0 1.35rem;
  font-size: clamp(1rem, 1.35vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--psl-body);
}

.psl-prose > p:last-child { margin-bottom: 0; }
.psl-prose i, .psl-prose em { font-style: italic; }
.psl-prose strong { font-weight: 600; color: var(--psl-green); }

/* opening paragraph gets a slightly larger measure */
.psl-prose > p.psl-prose__intro {
  font-size: clamp(1.0625rem, 1.7vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--psl-green);
}

.psl-prose h2 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--psl-green);
}

.psl-prose h2:first-child { margin-top: 0; }

/* ---------- figures --------------------------------------------------- */

.psl-figure {
  margin: 0 0 2rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--psl-line);
  border-radius: var(--psl-radius);
  box-shadow: var(--psl-shadow);
}

.psl-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--psl-radius) - 6px);
}

.psl-figure figcaption {
  margin-top: .9rem;
  padding-top: .8rem;
  border-top: 1px solid var(--psl-line);
  font-size: .8125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--psl-muted);
}

.psl-figure figcaption b {
  font-weight: 600;
  color: var(--psl-green-mid);
}

/* ---------- sidebar rail ---------------------------------------------- */

.psl-rail {
  position: sticky;
  top: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--psl-line);
  border-radius: var(--psl-radius);
  box-shadow: var(--psl-shadow);
}

.psl-rail h2 {
  margin: 0 0 1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--psl-accent);
}

.psl-rail ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.psl-rail li + li {
  margin-top: .5rem;
  padding-top: .5rem;
  border-top: 1px solid var(--psl-line);
}

.psl-rail a {
  display: block;
  padding: .35rem 0;
  font-size: .9375rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--psl-body);
  text-decoration: none !important;
  transition: color .2s ease, padding-inline-start .2s ease;
}

.psl-rail a:hover { color: var(--psl-accent); padding-inline-start: .35rem; }
.psl-rail a[aria-current="page"] { font-weight: 600; color: var(--psl-green); }

/* ---------- alternating feature rows (research index) ----------------- */

.psl-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3rem);
}

.psl-feature + .psl-feature { border-top: 1px solid var(--psl-line); }
.psl-feature:nth-child(even) .psl-feature__media { order: 2; }

.psl-feature__media {
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--psl-line);
  border-radius: var(--psl-radius);
  box-shadow: var(--psl-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.psl-feature:hover .psl-feature__media {
  transform: translateY(-4px);
  box-shadow: var(--psl-shadow-lift);
}

.psl-feature__media img {
  width: 100%;
  height: auto;
  display: block;
}

.psl-feature__index {
  display: block;
  margin: 0 0 .6rem;
  font-family: var(--psl-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--psl-accent);
}

.psl-feature h2 {
  margin: 0 0 .9rem;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.28;
  color: var(--psl-green);
}

.psl-feature h2 a { color: inherit; text-decoration: none !important; }
.psl-feature h2 a:hover { color: var(--psl-green-mid); }
.psl-feature h2 i { font-style: italic; }

.psl-feature p {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--psl-body);
}

.psl-feature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}

.psl-tag {
  display: inline-flex;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: var(--psl-accent-soft);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #92500a;
}

/* ---------- prev / next pager ----------------------------------------- */

.psl-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--psl-line);
}

.psl-pager a {
  display: block;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--psl-line);
  border-radius: var(--psl-radius);
  text-decoration: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.psl-pager a:hover {
  border-color: rgba(45, 106, 79, .4);
  box-shadow: var(--psl-shadow);
  transform: translateY(-2px);
}

.psl-pager__dir {
  display: block;
  margin-bottom: .3rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--psl-accent);
}

.psl-pager__title {
  display: block;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--psl-green);
}

.psl-pager__title i { font-style: italic; }
.psl-pager__next { text-align: right; }

/* ---------- people ---------------------------------------------------- */

.psl-pi {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--psl-line);
  border-radius: var(--psl-radius);
  box-shadow: var(--psl-shadow);
}

.psl-pi__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(var(--psl-radius) - 4px);
  display: block;
}

.psl-pi__role {
  margin: 0 0 .4rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--psl-accent);
}

.psl-pi h2 {
  margin: 0 0 .25rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--psl-green);
}

.psl-pi__ko {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 300;
  color: var(--psl-muted);
}

.psl-cv {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.psl-cv li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .55rem;
  font-size: .9375rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--psl-body);
}

.psl-cv li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  border: 2px solid var(--psl-brand);
}

.psl-cv li:last-child { margin-bottom: 0; }

.psl-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}

.psl-member {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--psl-line);
  border-radius: var(--psl-radius);
  box-shadow: var(--psl-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.psl-member:hover,
.psl-member:focus-within {
  transform: translateY(-5px);
  border-color: rgba(45, 106, 79, .35);
  box-shadow: var(--psl-shadow-lift);
}

.psl-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: calc(var(--psl-radius) - 6px);
  margin-bottom: 1rem;
  display: block;
}

.psl-member__role {
  margin: 0 0 .35rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--psl-accent);
}

.psl-member h3 {
  margin: 0 0 .1rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--psl-green);
}

.psl-member__ko {
  margin: 0 0 .75rem;
  font-size: .875rem;
  font-weight: 300;
  color: var(--psl-muted);
}

.psl-member__edu {
  margin: 0 0 1rem;
  font-size: .8125rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--psl-body);
}.psl-mail {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--psl-green-mid);
  text-decoration: none !important;
  word-break: break-all;
}

.psl-mail::before { content: "\2709"; font-size: 1em; }
.psl-mail:hover { color: var(--psl-accent); }
.psl-mail:focus-visible { outline: 3px solid var(--psl-accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- publications --------------------------------------------- */

.psl-pubs { display: grid; gap: clamp(2rem, 4vw, 3rem); }

.psl-pubyear {
  display: grid;
  grid-template-columns: minmax(0, 7rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
}

.psl-pubyear__label {
  position: sticky;
  top: 1.5rem;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--psl-green);
}

.psl-pubyear__label small {
  display: block;
  margin-top: .4rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--psl-muted);
}

.psl-publist {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.psl-publist li {
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--psl-line);
  border-radius: var(--psl-radius);
  font-size: .9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--psl-body);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.psl-publist li + li { margin-top: .75rem; }
.psl-publist li:hover { border-color: rgba(45, 106, 79, .35); box-shadow: var(--psl-shadow); }

.psl-publist b { font-weight: 700; color: var(--psl-green); }
.psl-publist i { font-style: italic; }


.psl-note {
  display: inline-block;
  margin-left: .4rem;
  padding: .15rem .5rem;
  border-radius: 4px;
  background: var(--psl-accent-soft);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: #92500a;
  white-space: nowrap;
}/* ---------- photo gallery -------------------------------------------- */

.psl-albums { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }

.psl-album__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--psl-line);
}

.psl-album__date {
  flex: none;
  padding: .3rem .7rem;
  border-radius: 6px;
  background: var(--psl-green);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: #fff;
}

.psl-album__head h2 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--psl-green);
}

.psl-album__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.25rem);
}

.psl-shot {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--psl-line);
  border-radius: var(--psl-radius);
  box-shadow: var(--psl-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.psl-shot:hover { transform: translateY(-4px); box-shadow: var(--psl-shadow-lift); }

.psl-shot a { display: block; }

.psl-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ---------- contact --------------------------------------------------- */

.psl-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.psl-infocard {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--psl-line);
  border-radius: var(--psl-radius);
  box-shadow: var(--psl-shadow);
}

.psl-infocard + .psl-infocard { margin-top: 1.25rem; }

.psl-infocard h2 {
  margin: 0 0 1.25rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--psl-accent);
}

.psl-deflist { margin: 0; font-size: .9375rem; line-height: 1.7; }

.psl-deflist dt {
  margin-top: 1.15rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--psl-muted);
}

.psl-deflist dt:first-child { margin-top: 0; }

.psl-deflist dd {
  margin: .35rem 0 0;
  font-weight: 300;
  color: var(--psl-body);
}

.psl-contact__aside { text-align: center; }

.psl-contact__logo {
  width: 100%;
  max-width: 11rem;
  height: auto;
  margin-inline: auto;
  display: block;
}

/* ---------- responsive ----------------------------------------------- */

@media (max-width: 1024px) {
  .psl-article,
  .psl-contact { grid-template-columns: 1fr; }
  .psl-rail { position: static; }
  .psl-pi { grid-template-columns: 1fr; }
  .psl-pi__photo { max-width: 16rem; }
  .psl-feature { grid-template-columns: 1fr; }
  .psl-feature:nth-child(even) .psl-feature__media { order: 0; }
  .psl-contact__aside { text-align: left; }
  .psl-contact__logo { margin-inline: 0; }
}

@media (max-width: 640px) {
  .psl-pubyear { grid-template-columns: 1fr; gap: .85rem; }
  .psl-pubyear__label { position: static; }
  .psl-pager { grid-template-columns: 1fr; }
  .psl-pager__next { text-align: left; }
  .psl-album__grid { grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
}

/* ==========================================================================
   Shared header and footer — present on every page
   ========================================================================== */

/* ---------- site header ------------------------------------------------
   Hand-written, replacing the hello-plus Elementor header widget. The values
   below reproduce what that widget rendered: an 84px bar over a 130deg green
   gradient, an 84px white logo tile inset 32px, and the menu centred on the
   viewport (not on the space left of the logo — hence the 1fr auto 1fr grid).
   ---------------------------------------------------------------------- */

.psl-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(130deg, #18AD5A 0%, #C1FDD2 100%);
  border-bottom: 1px solid var(--psl-line);
  font-family: var(--psl-sans);
}

.psl-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  padding-inline: 32px;
}

.psl-header__logo {
  grid-column: 1;
  justify-self: start;
  display: block;
  width: 84px;
  height: 84px;
  background: #fff;
  overflow: hidden;
}

.psl-header__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .25s ease;
}

.psl-header__logo:hover img { transform: scale(1.05); }

.psl-header__nav { grid-column: 2; }

.psl-header__nav ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.psl-header__nav a {
  position: relative;
  display: block;
  padding-block: 6px;
  color: #26332B;
  font-family: var(--psl-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .03em;
  transition: color .2s ease;
}

.psl-header__nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--psl-accent);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.psl-header__nav a:hover { color: var(--psl-accent); }
.psl-header__nav a:hover::after { transform: scaleX(1); }
.psl-header__nav a.is-active { color: var(--psl-green); }

.psl-header__nav a:focus-visible {
  outline: 3px solid var(--psl-accent);
  outline-offset: 4px;
  border-radius: 3px;
}

.psl-header__toggle {
  grid-column: 1;
  justify-self: start;
  display: none;
  align-items: center;
  justify-content: center;
  /* the icon is 22px; the padding takes the hit area to 44x44 (WCAG 2.5.8) */
  width: 44px;
  height: 44px;
  margin-inline-start: -11px;
  cursor: pointer;
  color: var(--psl-green);
}

.psl-header__toggle:focus-visible {
  outline: 3px solid var(--psl-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.psl-header__toggle svg { display: block; width: 22px; height: 22px; fill: currentColor; }
.psl-header__toggle .psl-header__icon--close { display: none; }
.psl-header__toggle[aria-expanded="true"] { color: var(--psl-accent); }
.psl-header__toggle[aria-expanded="true"] .psl-header__icon--open { display: none; }
.psl-header__toggle[aria-expanded="true"] .psl-header__icon--close { display: block; }

@media (max-width: 1024px) {
  .psl-header__toggle { display: flex; }
  .psl-header__logo { grid-column: 2; justify-self: center; }

  /* the bar sits over page content, so the dropdown needs its own solid ground */
  .psl-header__nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    display: none;
    background: var(--psl-cream);
    border-bottom: 1px solid var(--psl-line);
  }

  .psl-header__nav.is-open { display: block; }

  .psl-header__nav ul {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  .psl-header__nav a { padding: .9rem 1rem; }
  .psl-header__nav a::after { display: none; }
}

/* ---------- footer ---------------------------------------------------- */

.psl-footer {
  padding: 0;
  background: #14261C;
  color: rgba(255, 255, 255, .78);
  font-family: var(--psl-sans);
}

.psl-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.psl-footer h2 {
  margin: 0 0 1.1rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #18AD5A;
}

.psl-footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.psl-footer__logo img {
  width: 52px;
  height: 52px;
  display: block;
}

.psl-footer__name {
  margin: 0 0 .6rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.psl-footer__name span {
  display: block;
  margin-top: .2rem;
  font-size: .875rem;
  font-weight: 300;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .6);
}

.psl-footer__inst,
.psl-footer__addr {
  margin: 0;
  font-size: .875rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
}

.psl-footer__addr + .psl-footer__addr { margin-top: .75rem; }

.psl-footer a:focus-visible {
  outline: 3px solid #D97706;
  outline-offset: 3px;
  border-radius: 3px;
}

.psl-footer .psl-mail {
  color: rgba(255, 255, 255, .9);
  font-weight: 400;
}
.psl-footer .psl-mail:hover { color: #18AD5A; }

.psl-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.psl-footer__bar p {
  margin: 0;
  font-size: .8125rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .55);
}

.psl-footer__top {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  gap: .4rem;
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
  text-decoration: none !important;
  transition: color .2s ease;
}

.psl-footer__top::after { content: "\2191"; }
.psl-footer__top:hover { color: #18AD5A; }

@media (max-width: 560px) {
  .psl-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .psl-footer__bar { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .psl-header__logo img,
  .psl-header__logo:hover img { transform: none; transition: none; }
  .psl-header__nav a::after { transition: none; }
}

/* ---------- publication DOI links ------------------------------------- */

.psl-doi {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: .35rem;
  padding: .1rem .5rem;
  border: 1px solid var(--psl-green-mid);
  border-radius: 4px;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--psl-green-mid);
  text-decoration: none !important;
  vertical-align: 1px;
  transition: background-color .2s ease, color .2s ease;
}

.psl-doi:hover { background: var(--psl-green-mid); color: #fff; }
.psl-doi:focus-visible { outline: 3px solid var(--psl-accent); outline-offset: 2px; }

/* ---------- news -------------------------------------------------------- */

.psl-news {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .75rem;
}

.psl-news li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: .9rem 1.1rem;
  background: #fff;
  border: 1px solid var(--psl-line);
  border-radius: var(--psl-radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.psl-news li:hover { border-color: rgba(45, 106, 79, .35); box-shadow: var(--psl-shadow); }

.psl-news time {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--psl-accent);
  white-space: nowrap;
}

.psl-news p {
  margin: 0;
  font-size: .9375rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--psl-body);
}

.psl-news p i { font-style: italic; }
.psl-news a { color: var(--psl-green-mid); font-weight: 500; }

@media (max-width: 560px) {
  .psl-news li { grid-template-columns: 1fr; gap: .3rem; }
}

/* ---------- openings ---------------------------------------------------- */

.psl-openings { margin-top: 1.25rem; }

.psl-openings ol {
  margin: 0;
  padding-left: 1.3rem;
  font-size: .9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--psl-body);
}

.psl-openings li { margin-bottom: .45rem; }
.psl-openings li::marker { color: var(--psl-accent); font-weight: 600; }

/* Inline links that are their own tap target need to clear 24x24 (WCAG 2.5.8);
   in flowing prose they otherwise inherit the line box and come out ~20px. */
.psl-mail,
.psl-openings a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
