:root {
  color-scheme: dark;
  --bg: #050712;
  --bg-soft: #0a0f20;
  --panel: rgba(15, 21, 38, 0.72);
  --panel-strong: rgba(18, 25, 45, 0.92);
  --line: rgba(168, 190, 255, 0.16);
  --line-strong: rgba(168, 190, 255, 0.28);
  --text: #f4f7ff;
  --muted: #aab4c9;
  --dim: #747f98;
  --cyan: #64e7ff;
  --blue: #6e8dff;
  --violet: #a88cff;
  --amber: #ffb86c;
  --green: #72f6d1;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(100, 231, 255, 0.12), transparent 34rem),
    radial-gradient(circle at 78% 18%, rgba(168, 140, 255, 0.12), transparent 34rem),
    linear-gradient(180deg, #050712 0%, #080b17 42%, #050712 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  background: #fff;
  color: #06101f;
  border-radius: 6px;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, padding 220ms ease;
}

.site-header.scrolled,
.site-header.open {
  background: rgba(5, 7, 18, 0.78);
  border-color: var(--line);
  backdrop-filter: blur(18px);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand strong {
  display: block;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 231, 255, 0.18), rgba(10, 15, 32, 0.65));
  box-shadow: 0 0 36px rgba(100, 231, 255, 0.16);
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
}

.brand-mark circle:first-child {
  fill: rgba(100, 231, 255, 0.24);
  stroke: rgba(255, 255, 255, 0.72);
}

.brand-mark path {
  stroke: var(--cyan);
  stroke-width: 3.4;
  stroke-linecap: round;
}

.brand-mark path + path {
  stroke: var(--violet);
  opacity: 0.75;
  stroke-width: 2.4;
}

.brand-mark circle:last-child {
  fill: #fff;
  stroke: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 11, 23, 0.4);
}

.site-nav a {
  color: var(--muted);
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.84rem;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 13px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 5vw, 70px) 56px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -4% 0 0;
  width: 100%;
  height: 108%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 18, 0.92) 0%, rgba(5, 7, 18, 0.58) 42%, rgba(5, 7, 18, 0.18) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 38%),
    radial-gradient(circle at 72% 34%, transparent 0, rgba(5, 7, 18, 0.38) 48%, rgba(5, 7, 18, 0.82) 100%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(5rem, 18vw, 15rem);
  letter-spacing: -0.08em;
  line-height: 0.78;
  font-weight: 800;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.55);
}

.hero-tagline {
  margin: 26px 0 0;
  font-size: clamp(1.7rem, 4vw, 4.4rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.05em;
  max-width: 850px;
}

.hero-copy {
  color: #d7deec;
  max-width: 660px;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: transform 180ms var(--ease), background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
}

.button.primary {
  color: #06101f;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-color: transparent;
}

.button.ghost {
  background: rgba(5, 7, 18, 0.38);
}

.hero-panel {
  justify-self: end;
  width: min(360px, 100%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 10, 20, 0.58);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.hero-panel span,
.resource-grid span,
.feature-grid span {
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.hero-panel p {
  color: var(--muted);
  margin: 8px 0 0;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(76px, 10vw, 132px) 0;
}

.section-heading {
  max-width: 820px;
}

.section-heading h2,
.intro h2,
.team-card h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.section-heading p,
.intro-copy,
.team-card p,
.contact-grid p {
  color: var(--muted);
  font-size: 1rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.intro-copy p:first-child {
  margin-top: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.stats-grid article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
}

.stats-grid span {
  display: block;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, var(--text), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats-grid small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.scale-explorer {
  margin-top: 38px;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(circle at 24% 18%, rgba(100, 231, 255, 0.13), transparent 26rem),
    rgba(255, 255, 255, 0.035);
  padding: 18px;
  overflow: hidden;
}

.scale-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(10px, 2vw, 24px);
}

.scale-copy h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.scale-copy p:not(.eyebrow) {
  color: var(--muted);
}

.scale-readout {
  margin-top: 18px;
  display: inline-grid;
  gap: 10px;
}

.scale-readout span {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  color: var(--cyan);
}

.scale-readout small {
  color: var(--dim);
}

.scale-stage {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #070b17;
}

.scale-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 240ms ease, transform 520ms var(--ease), filter 240ms ease;
}

.scale-stage.loading img {
  opacity: 0.2;
  filter: blur(8px) saturate(0.75);
  transform: scale(1.02);
}

.scale-stage.loading::after {
  content: attr(data-loading);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(5, 7, 18, 0.48);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scale-controls {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scale-controls button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
}

.scale-controls button.active,
.scale-controls button:hover {
  color: #06101f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.highlight-stack {
  display: grid;
  gap: 76px;
  margin-top: 46px;
}

.highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.highlight.reverse {
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
}

.highlight.reverse img {
  order: 2;
}

.highlight img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.highlight h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.highlight p:not(.eyebrow) {
  color: var(--muted);
}

.highlight a,
.team-card a,
.contact-grid a,
.data-code .section-heading a {
  color: var(--cyan);
  font-weight: 650;
}

.capabilities,
.gallery-section,
.timeline,
.publications,
.data-code,
.team {
  border-top: 1px solid var(--line);
}

.feature-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.feature-grid article,
.resource-grid article,
.publication-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  padding: 18px;
}

.feature-grid article {
  min-height: 210px;
}

.feature-grid p,
.resource-grid p,
.publication-card p {
  color: var(--muted);
}

.feature-grid p {
  margin-bottom: 0;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 24px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  -webkit-tap-highlight-color: transparent;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
}

.chip.active,
.chip:hover {
  color: #06101f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.gallery-masonry {
  columns: 3 280px;
  column-gap: 14px;
}

.gallery-item {
  width: 100%;
  display: inline-block;
  margin: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  color: inherit;
  break-inside: avoid;
}

.gallery-open {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.gallery-open img {
  width: 100%;
  height: auto;
  background: #111827;
  transition: transform 360ms var(--ease), filter 360ms ease;
}

.gallery-item:hover .gallery-open img {
  transform: scale(1.03);
  filter: saturate(1.08);
}

.gallery-item figcaption {
  padding: 13px 14px 15px;
}

.gallery-item strong {
  display: block;
  font-size: 0.98rem;
}

.gallery-item span {
  display: block;
  color: var(--dim);
  font-size: 0.8rem;
  margin-top: 4px;
}

.gallery-source-links,
.lightbox-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
}

.gallery-source-links a,
.lightbox-links a {
  color: var(--cyan);
  font-weight: 650;
  font-size: 0.82rem;
}

.lightbox-links {
  padding: 8px 0 0;
}

.pub-pending {
  color: var(--dim);
  font-style: italic;
  font-size: 0.82rem;
}

.timeline {
  width: min(var(--max), calc(100% - 40px));
  max-width: none;
  padding-inline: 0;
  background: linear-gradient(180deg, transparent, rgba(100, 231, 255, 0.05), transparent);
}

.timeline .section-heading,
.timeline .section-kicker {
  width: auto;
  margin-inline: 0;
}

.timeline-track {
  width: 100%;
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(210px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.timeline-track article {
  min-height: 230px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 11, 23, 0.66);
}

.timeline-track time {
  color: var(--amber);
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.timeline-track h3,
.resource-grid h3,
.publication-card h3,
.contact-grid h3 {
  margin: 12px 0 8px;
  letter-spacing: -0.03em;
}

.timeline-track p {
  color: var(--muted);
}

.pub-tools {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 12px;
  margin: 34px 0 18px;
}

.pub-tools label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
}

.pub-tools input,
.pub-tools select {
  width: 100%;
  min-height: 44px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  font: inherit;
}

.pub-tools select {
  background-color: rgba(255, 255, 255, 0.06);
  -webkit-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.pub-tools select option,
.pub-tools select optgroup {
  background-color: var(--bg-soft);
  color: var(--text);
}

.pub-tools select:focus,
.pub-tools input:focus {
  outline: none;
  border-color: var(--line-strong);
}

.publication-list {
  display: grid;
  gap: 12px;
}

.publication-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}

.publication-card h3 {
  margin-top: 0;
}

.pub-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 0.78rem;
}

.pub-meta a {
  color: var(--cyan);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 7px;
  text-decoration: none;
}

.pub-meta a:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.pub-meta span {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 7px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.tag-row span {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.78rem;
}
.pub-year {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: var(--green);
  font-size: 1.2rem;
}

.resource-grid article {
  min-height: 230px;
}

.team-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding: clamp(18px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 10%, rgba(100, 231, 255, 0.15), transparent 28rem),
    var(--panel);
}

.team-card + .team-card,
.team-members {
  margin-top: 16px;
}

.team-card img {
  width: 260px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
}

.team-members {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.team-members h3 {
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}

.member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.member-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.contact {
  padding-top: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 44px;
}

.footer-brand {
  margin-bottom: 18px;
}

.contact-grid a {
  display: block;
  margin-top: 8px;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 44px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--dim);
  font-size: 0.86rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  flex-direction: column;
  padding: clamp(14px, 3vw, 42px);
  background: rgba(1, 3, 10, 0.88);
  backdrop-filter: blur(16px);
  overflow-y: auto;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox.open {
  display: flex;
}

.lightbox figure {
  width: min(1180px, 100%);
  margin: auto;
  display: grid;
  gap: 14px;
}

.lightbox img {
  max-height: 76svh;
  width: 100%;
  object-fit: contain;
  background: #070b17;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.lightbox figcaption {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.lightbox figcaption span,
.lightbox figcaption em {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-style: normal;
}

.lightbox-close {
  position: sticky;
  top: 0;
  align-self: flex-end;
  z-index: 2;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 70px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius);
    background: rgba(5, 7, 18, 0.94);
    backdrop-filter: blur(18px);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .intro-grid,
  .highlight,
  .highlight.reverse,
  .scale-explorer,
  .team-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .highlight.reverse img {
    order: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .member-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pub-tools {
    grid-template-columns: 1fr 1fr;
  }

  .hero-panel {
    justify-self: start;
    margin-top: 34px;
  }

  .scale-stage {
    min-height: 330px;
  }

  .hero {
    align-items: center;
  }
}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .site-header {
    padding-inline: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }

  .hero h1 {
    font-size: clamp(4rem, 28vw, 7rem);
  }

  .hero-actions,
  .pub-tools,
  .publication-card,
  .stats-grid,
  .feature-grid,
  .resource-grid,
  .member-list {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .stats-grid {
    display: grid;
  }

  .team-card img {
    width: 100%;
    max-width: 260px;
  }

  .gallery-masonry {
    columns: 1;
  }
}
