:root {
  --ink-0: #07111f;
  --ink-1: #10271f;
  --ink-2: #214331;
  --sun-0: #87a52a;
  --sun-1: #cfe77a;
  --aqua-0: #35a9bd;
  --aqua-1: #c9eef0;
  --mist: #f1f7ed;
  --card: rgba(255, 255, 255, 0.92);
  --line: rgba(8, 19, 33, 0.12);
  --line-strong: rgba(8, 19, 33, 0.22);
  --text: #12253c;
  --text-soft: rgba(18, 37, 60, 0.74);
  --ok: #2cb287;
  --shadow-soft: 0 12px 28px rgba(8, 19, 33, 0.08);
  --shadow-strong: 0 28px 70px rgba(8, 19, 33, 0.22);
  --focus-ring: 0 0 0 3px rgba(135, 165, 42, 0.28);
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Sora', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body.video-page {
  background:
    linear-gradient(135deg, rgba(135, 165, 42, 0.09), rgba(53, 169, 189, 0.06));
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.video-page .page-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 2rem 0;
}

.video-page .video-wrap {
  width: min(960px, 100%);
}

.video-page .video-wrap video {
  border-radius: 8px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(135, 165, 42, 0.14) 0 12%, transparent 12% 100%),
    linear-gradient(180deg, #fbfdf8 0%, var(--mist) 46%, #f8fbf5 100%);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.36) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.36) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.28;
  z-index: -1;
}

a {
  color: inherit;
}

.page-shell {
  flex-grow: 1;
}

.container {
  width: min(1180px, calc(100% - clamp(1.2rem, 5vw, 2.8rem)));
  margin: 0 auto;
}

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(135deg, var(--sun-0), #acc84c);
  color: var(--ink-0);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 700;
}

.ticker-track {
  display: inline-flex;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0.56rem 1.8rem;
}

.ticker-item::after {
  content: '/';
  margin-left: 1.8rem;
  opacity: 0.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 253, 248, 0.96);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line-strong);
  box-shadow: 0 12px 30px rgba(8, 19, 33, 0.12);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  flex-shrink: 0;
}

.brand-mark {
  width: clamp(50px, 5vw, 62px);
  height: 52px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  place-items: center;
  overflow: visible;
  padding: 0.18rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  display: grid;
  gap: 0.06rem;
  min-width: 0;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--ink-1);
  overflow-wrap: anywhere;
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-soft);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  border-radius: 8px;
  min-width: 48px;
  min-height: 42px;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.72rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  transform: translateY(-6px);
}

.nav-toggle-icon::after {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: rotate(-90deg);
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.site-nav a {
  text-decoration: none;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(18, 37, 60, 0.78);
  border-radius: 8px;
  padding: 0.55rem 0.84rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink-1);
  background: rgba(135, 165, 42, 0.23);
  outline: none;
  transform: translateY(-1px);
}

.site-nav a.active {
  color: var(--ink-1);
  background: rgba(135, 165, 42, 0.28);
  box-shadow: inset 0 0 0 1px rgba(8, 19, 33, 0.14);
}

.nav-cta {
  margin-left: 0.15rem;
  border: 1px solid rgba(8, 19, 33, 0.23);
  background: #fff;
}

main {
  padding: 2.4rem 0 3.2rem;
}

.hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(126deg, rgba(10, 29, 48, 0.97), rgba(16, 45, 74, 0.96));
  color: #f7fbff;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.22);
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -40% -30%;
  background:
    radial-gradient(circle at 20% 30%, rgba(207, 231, 122, 0.36), transparent 36%),
    radial-gradient(circle at 80% 20%, rgba(106, 180, 255, 0.36), transparent 38%),
    radial-gradient(circle at 55% 75%, rgba(68, 144, 212, 0.24), transparent 42%);
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.34;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2.2rem, 5vw, 4.2rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  margin-bottom: 1rem;
  padding: 0.26rem 0.64rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--sun-1);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.06;
  max-width: 17ch;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-text {
  margin-top: 1rem;
  max-width: 56ch;
  color: rgba(247, 251, 255, 0.89);
  font-size: clamp(0.98rem, 1.6vw, 1.14rem);
}

.hero-actions {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.76rem 1.1rem;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(145deg, var(--sun-1), var(--sun-0));
  color: var(--ink-0);
  box-shadow: 0 10px 24px rgba(135, 165, 42, 0.38);
}

.button.primary:hover,
.button.primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(135, 165, 42, 0.48);
  outline: none;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.48);
  color: #f7fbff;
  background: rgba(255, 255, 255, 0.04);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  color: var(--sun-1);
  border-color: var(--sun-1);
  outline: none;
  transform: translateY(-2px);
}

.hero-panel {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 1.2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 20px 40px rgba(7, 17, 29, 0.35);
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  right: -40px;
  top: -46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-panel h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.hero-panel ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.hero-panel li {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.66rem 0.7rem;
  font-size: 0.92rem;
  color: rgba(247, 251, 255, 0.92);
  background: rgba(255, 255, 255, 0.03);
}

.hero-panel strong {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.66rem;
  color: var(--sun-1);
  margin-bottom: 0.18rem;
}

.hero-photo {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 0.8rem;
  box-shadow: 0 10px 24px rgba(7, 17, 29, 0.34);
}

.hero-photo-caption {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
  color: rgba(247, 251, 255, 0.84);
  margin-bottom: 0.8rem;
}

.section {
  padding: 4.8rem 0 0;
}

.section-top {
  max-width: 760px;
  margin-bottom: 1.4rem;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: rgba(18, 37, 60, 0.66);
  margin-bottom: 0.62rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.14;
  margin-bottom: 0.56rem;
  color: var(--ink-1);
  overflow-wrap: break-word;
}

.section-text {
  color: var(--text-soft);
  max-width: 65ch;
}

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: clamp(1rem, 2vw, 1.25rem);
  box-shadow: var(--shadow-soft);
  min-height: 100%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card h3,
.card h4 {
  font-family: var(--font-display);
  color: var(--ink-1);
  line-height: 1.2;
}

.card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.card + .card {
  margin-top: 0;
}

.card.pop {
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.card.pop:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 30px rgba(8, 19, 33, 0.12);
}

.member-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 0.65rem;
  background: #e6edf6;
}

.team-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(1rem, 3vw, 1.6rem);
  align-items: center;
}

.team-group-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #e6edf6;
}

.team-photo-grid .card {
  padding: 0.72rem;
}

.team-photo-grid h3 {
  font-family: var(--font-display);
  color: var(--ink-1);
}

.member-bio {
  margin-top: 0.52rem;
  font-size: 0.86rem;
  line-height: 1.5;
}

.media-grid {
  display: grid;
  gap: 0.85rem;
}

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

.media-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-card {
  border-radius: 8px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  position: relative;
}

.media-card.is-gallery-item,
.team-gallery-card.is-gallery-item {
  cursor: zoom-in;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px rgba(8, 19, 33, 0.15);
  border-color: rgba(135, 165, 42, 0.62);
}

.media-card.is-gallery-item:focus-visible,
.team-gallery-card.is-gallery-item:focus-visible {
  outline: none;
  border-color: rgba(135, 165, 42, 0.82);
  box-shadow: var(--focus-ring), 0 20px 35px rgba(8, 19, 33, 0.15);
}

.media-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.4s ease;
  background: #dbe6f3;
}

.media-card:hover img {
  transform: scale(1.04);
}

.media-card figcaption {
  padding: 0.72rem 0.84rem 0.86rem;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.competition-media .media-card img {
  height: clamp(310px, 42vw, 520px);
}

.competition-media .media-card:first-child img {
  object-position: 50% 55%;
}

.robot-gallery-section {
  padding-top: 3.4rem;
}

.robot-gallery {
  align-items: stretch;
}

.robot-media img {
  height: clamp(250px, 32vw, 430px);
}

.robot-media:nth-child(2) img {
  object-position: 50% 42%;
}

.robot-media:nth-child(3) img {
  object-position: 50% 68%;
}

.robot-media:nth-child(4) img {
  object-position: 50% 48%;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.logo-tile {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.78rem;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  align-content: center;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.logo-tile img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.logo-tile span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(18, 37, 60, 0.78);
}

.metric {
  display: grid;
  gap: 0.36rem;
}

.metric-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(18, 37, 60, 0.66);
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--ink-2);
  line-height: 1.08;
}

.metric-note {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.badge-line {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.26rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(8, 19, 33, 0.18);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(18, 37, 60, 0.72);
}

.timeline {
  display: grid;
  gap: 0.7rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 7px;
  bottom: 7px;
  width: 2px;
  background: linear-gradient(rgba(18, 37, 60, 0.16), rgba(18, 37, 60, 0.06));
}

.timeline-item {
  padding-left: 2.1rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  left: 5px;
  top: 5px;
  background: var(--sun-0);
  box-shadow: 0 0 0 4px rgba(135, 165, 42, 0.2);
}

.timeline-item h4 {
  margin-bottom: 0.16rem;
  font-size: 1.03rem;
}

.timeline-item p {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.check-list {
  display: grid;
  gap: 0.8rem;
}

.check-item {
  border-left: 3px solid rgba(135, 165, 42, 0.72);
  padding-left: 0.88rem;
}

.check-item h4 {
  margin-bottom: 0.16rem;
}

.check-item p {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
}

.pill {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.33rem 0.65rem;
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(18, 37, 60, 0.84);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pill:hover {
  border-color: rgba(135, 165, 42, 0.8);
  color: var(--ink-1);
}

.progress-list {
  display: grid;
  gap: 0.7rem;
}

.progress-item {
  display: grid;
  gap: 0.28rem;
}

.progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.progress-head strong {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.71rem;
  color: var(--ink-2);
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(8, 19, 33, 0.11);
  overflow: hidden;
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sun-0), #ddefa2);
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-hero {
  position: relative;
  padding: 2.4rem 0 0.6rem;
  max-width: 850px;
}

.page-hero::after {
  content: '';
  display: block;
  width: 74px;
  height: 3px;
  margin-top: 1.15rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sun-0), var(--aqua-0));
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  color: var(--ink-1);
  margin-bottom: 0.72rem;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.page-intro {
  color: var(--text-soft);
  max-width: 68ch;
}

.report-callout {
  max-width: 860px;
}

.report-reader-section {
  padding-top: 3.4rem;
}

.report-reader {
  --report-zoom: 1;
  --report-text-scale: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.report-reader-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(135, 165, 42, 0.12), rgba(255, 255, 255, 0.86));
}

.report-reader-toolbar .section-title {
  margin-bottom: 0;
}

.report-reader-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.report-reader-controls button {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-1);
  min-height: 38px;
  padding: 0.5rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.report-reader-controls button:hover,
.report-reader-controls button:focus-visible {
  outline: none;
  border-color: rgba(135, 165, 42, 0.82);
  background: rgba(135, 165, 42, 0.12);
  transform: translateY(-1px);
}

.report-reader-shell {
  height: min(72vh, 780px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(0.9rem, 2.6vw, 1.5rem);
  background:
    linear-gradient(rgba(8, 19, 33, 0.03) 1px, transparent 1px),
    #e9eee5;
  background-size: 18px 18px;
}

.report-document {
  width: min(8.5in, 100%);
  margin: 0 auto;
  color: #1f2933;
  font-family: "Times New Roman", Times, serif;
  font-size: calc(0.94rem * var(--report-text-scale));
  line-height: 1.32;
  zoom: var(--report-zoom);
  max-width: 100%;
  overflow-wrap: break-word;
}

.report-document:focus-visible {
  outline: none;
}

.report-page {
  min-height: 11in;
  margin: 0 auto 1.15rem;
  padding: 0.68in 0.64in;
  background: #fff;
  border: 1px solid rgba(8, 19, 33, 0.12);
  box-shadow: 0 18px 46px rgba(8, 19, 33, 0.16);
}

.report-page:last-child {
  margin-bottom: 0;
}

.report-page:focus-within {
  box-shadow: var(--focus-ring), 0 18px 46px rgba(8, 19, 33, 0.16);
}

.report-document-header {
  text-align: center;
  margin-bottom: 0.34in;
}

.report-authors {
  max-width: none;
  margin: 0.13in auto 0;
  font-size: 0.83em;
  line-height: 1.22;
}

.report-page-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.58in;
  align-items: start;
}

.report-column {
  min-width: 0;
}

.report-label {
  font-weight: 400;
}

.report-document h1,
.report-document h2,
.report-document h3 {
  color: #111827;
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
}

.report-document h1 {
  text-align: center;
  font-size: 2.05em;
  line-height: 1.22;
  margin-bottom: 0;
}

.report-document h2 {
  break-after: avoid;
  margin: 0.26in 0 0.08in;
  text-align: center;
  font-size: 1.04em;
  font-weight: 400;
  text-transform: none;
}

.report-document h3 {
  break-after: avoid;
  margin: 0.2in 0 0.04in;
  text-align: center;
  font-size: 1em;
  font-weight: 400;
}

.report-document p,
.report-document li {
  font-size: 1em;
}

.report-document p + p {
  margin-top: 0.08in;
}

.report-document ol {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.24rem;
}

.report-document code {
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.report-page-references {
  min-height: auto;
}

.report-page-references h2 {
  margin-top: 0;
  text-transform: none;
}

.report-reader:fullscreen {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  border-radius: 0;
  border: 0;
  background: #f4f7ef;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none;
}

.report-reader.report-reader-expanded {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  z-index: 1000;
  border-radius: 0;
  border: 0;
  background: #f4f7ef;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none;
}

.report-reader:fullscreen .report-reader-toolbar,
.report-reader.report-reader-expanded .report-reader-toolbar {
  flex: 0 0 auto;
}

.report-reader:fullscreen .report-reader-shell {
  height: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.report-reader.report-reader-expanded .report-reader-shell {
  height: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.report-reader:fullscreen .report-document {
  min-height: 11in;
}

.reference-list {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.callout {
  border-radius: 8px;
  border: 1px solid rgba(44, 178, 135, 0.36);
  background: linear-gradient(145deg, rgba(44, 178, 135, 0.1), rgba(44, 178, 135, 0.04));
  padding: 1rem;
  color: #155d49;
}

.callout h3 {
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.contact-grid .card {
  min-height: 220px;
}

.contact-link {
  text-decoration: none;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  font-weight: 700;
}

.contact-link:hover {
  text-decoration: underline;
}

.form-grid {
  display: grid;
  gap: 0.72rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
}

input,
textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  padding: 0.72rem 0.78rem;
  font: inherit;
  color: var(--ink-1);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
  min-height: 130px;
}

input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: rgba(135, 165, 42, 0.8);
  box-shadow: var(--focus-ring);
}

.hidden {
  display: none !important;
}

body.lightbox-open {
  overflow: hidden;
}

body.report-reader-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(7, 17, 31, 0.88);
  backdrop-filter: blur(16px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-frame {
  width: min(1160px, 100%);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 0.75rem;
}

.lightbox-media {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(0.55rem, 1.6vw, 0.9rem);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  touch-action: pan-y;
}

.lightbox-image-wrap {
  position: relative;
}

.lightbox-image {
  display: block;
  width: 100%;
  max-height: min(78vh, 860px);
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-swipe-hint {
  position: absolute;
  left: 50%;
  bottom: 0.72rem;
  width: 58px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.52);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lightbox-swipe-hint span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

.lightbox-caption {
  margin-top: 0.7rem;
  color: rgba(247, 251, 255, 0.9);
  text-align: center;
  font-size: 0.94rem;
}

.lightbox-counter {
  margin-top: 0.3rem;
  color: rgba(247, 251, 255, 0.58);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.lightbox-button,
.lightbox-close {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  font: inherit;
  font-family: var(--font-display);
  font-size: 1.7rem;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.lightbox-button:hover,
.lightbox-button:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(207, 231, 122, 0.72);
  background: rgba(135, 165, 42, 0.22);
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1;
}

@media (hover: none), (pointer: coarse) {
  .lightbox.is-swipeable .lightbox-swipe-hint {
    display: flex;
  }

  .lightbox.show-swipe-hint .lightbox-swipe-hint {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .lightbox.show-swipe-hint .lightbox-swipe-hint span {
    animation: swipe-hint-nudge 1.2s ease-in-out 2;
  }
}

@keyframes swipe-hint-nudge {
  0%,
  100% {
    transform: translateX(0);
  }

  24% {
    transform: translateX(-15px);
  }

  72% {
    transform: translateX(15px);
  }
}

.site-footer {
  margin-top: 4.2rem;
  border-top: 1px solid var(--line);
  padding: 1.1rem 0 1.7rem;
}

.footer-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.87rem;
  color: rgba(18, 37, 60, 0.72);
}

.social-row {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.social-row a {
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.26rem 0.66rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(18, 37, 60, 0.8);
  background: rgba(255, 255, 255, 0.75);
}

.social-row a:hover {
  border-color: rgba(135, 165, 42, 0.8);
  color: var(--ink-1);
}

.js [data-reveal] {
  transform: translateY(30px) scale(0.97);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.js [data-reveal].in-view {
  transform: translateY(0) scale(1);
}

/* Home page */
body.home-page {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.58)),
    url("assets/robot-pool.jpg") center right / cover no-repeat,
    var(--ink-0);
}

body.home-page::before {
  display: none;
}

body.home-page main {
  padding: 0;
}

.home-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  color: #f7fbff;
  background: var(--ink-0);
}

.home-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.95) 0%, rgba(7, 17, 31, 0.74) 43%, rgba(7, 17, 31, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.18), rgba(7, 17, 31, 0.88)),
    url("assets/robot-pool.jpg") center right / cover no-repeat;
  transform: scale(1.02);
}



.home-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - clamp(1.2rem, 5vw, 5rem)));
  min-height: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  max-width: 980px;
}

.home-content > * {
  opacity: 0;
  transform: translateY(24px) scale(0.95);
  animation: homeFadeUp 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.home-content > *:nth-child(1) { animation-delay: 0.05s; }
.home-content > *:nth-child(2) { animation-delay: 0.20s; }
.home-content > *:nth-child(3) { animation-delay: 0.32s; }
.home-content > *:nth-child(4) { animation-delay: 0.44s; }
.home-content > *:nth-child(5) { animation-delay: 0.56s; }
.home-content > *:nth-child(6) { animation-delay: 0.68s; }

@keyframes homeFadeUp {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.home-logo-wrap {
  width: 218px;
  height: 218px;
  border-radius: 8px;
  background: rgba(207, 231, 122, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 0 0 8px rgba(135, 165, 42, 0.1),
    0 18px 44px rgba(135, 165, 42, 0.38);
  display: grid;
  place-items: center;
  overflow: visible;
  padding: 0.42rem;
  backdrop-filter: blur(10px);
}

.home-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.home-badge-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(135, 165, 42, 0.35);
  background: rgba(135, 165, 42, 0.08);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #cfe77a;
}

.home-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.home-sub {
  max-width: 58ch;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  color: rgba(247, 251, 255, 0.78);
  font-weight: 500;
}

.home-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.home-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: rgba(247, 251, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0.72rem 1.05rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.home-nav a:hover,
.home-nav a:focus-visible {
  background: rgba(135, 165, 42, 0.14);
  border-color: rgba(135, 165, 42, 0.65);
  color: #cfe77a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(135, 165, 42, 0.18);
  outline: none;
}

/* Donate pill on home nav */
.home-nav .home-nav-donate {
  background: rgba(135, 165, 42, 0.18);
  border-color: rgba(135, 165, 42, 0.55);
  color: #cfe77a;
}

.home-nav .home-nav-donate:hover,
.home-nav .home-nav-donate:focus-visible {
  background: rgba(135, 165, 42, 0.3);
  border-color: rgba(135, 165, 42, 0.85);
  color: #e5f4a4;
}

.home-stats {
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.75rem;
}

.home-stat {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0.78rem 0.9rem;
  background: rgba(7, 17, 31, 0.58);
  backdrop-filter: blur(14px);
}

.home-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.1;
  color: #ffffff;
}

.home-stat span {
  display: block;
  margin-top: 0.18rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: rgba(247, 251, 255, 0.58);
}

@media (prefers-reduced-motion: reduce) {
  .home-content > * {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* ── Partners donate CTA banner ── */
.partners-donate-cta {
  margin-top: 1rem;
}

.partners-donate-inner {
  background: linear-gradient(135deg, var(--ink-0) 0%, var(--ink-2) 100%);
  border-radius: 8px;
  padding: 3.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.partners-donate-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
}

.partners-donate-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 0;
}

.partners-donate-inner .btn-donate {
  align-self: center;
}

/* ── Donate page ── */
.donate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.donate-text {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.donate-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  justify-self: end;
}

.donate-preview-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  color: var(--text-soft);
}

.donate-screenshot {
  width: min(100%, 340px);
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--line);
  display: block;
}

.btn-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sun-0), #acc84c);
  color: var(--ink-0);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(135, 165, 42, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  align-self: flex-start;
}

.btn-donate:hover,
.btn-donate:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(135, 165, 42, 0.45);
  outline: none;
}

@media (max-width: 760px) {
  .donate-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .donate-preview {
    order: -1;
    justify-self: center;
  }

  .donate-screenshot {
    width: 100%;
    max-width: 300px;
  }
}

.nav-donate {
  background: linear-gradient(135deg, var(--sun-0), #acc84c) !important;
  color: var(--ink-0) !important;
  border-color: transparent !important;
}

.nav-donate:hover,
.nav-donate:focus-visible {
  background: linear-gradient(135deg, #acc84c, var(--sun-0)) !important;
}

/* ── Card content flow (removes need for inline margin styles) ── */
.badge-line + h3,
.badge-line + h2 {
  margin-top: 0.5rem;
}

.card h3 + p,
.card h2 + p {
  margin-top: 0.45rem;
}

.card .pill-wrap {
  margin-top: 0.85rem;
}

.logo-grid + .grid-3 {
  margin-top: 0.9rem;
}

/* Form label inside contact form */
.form-label-text {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: rgba(18, 37, 60, 0.66);
  margin-bottom: 0.32rem;
}

.video-wrap {
  width: 100%;
  max-width: min(960px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #000;
}

.video-wrap video {
  display: block;
  width: 100%;
  height: auto;
}

.card .contact-link {
  display: inline-block;
  margin-top: 0.7rem;
}

/* Contact page photo variants */
.photo-location {
  aspect-ratio: 16 / 10;
}

/* Form success state */
.form-success {
  display: none;
  border-radius: 8px;
  border: 1px solid rgba(44, 178, 135, 0.4);
  background: rgba(44, 178, 135, 0.08);
  padding: 1.1rem 1.2rem;
  color: #155d49;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-top: 0.8rem;
}

.form-success.visible {
  display: block;
}

@media (max-width: 1024px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .team-feature-card {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: 20ch;
  }

  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: grid;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 0.85rem 1.1rem 1rem;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 14px 30px rgba(8, 19, 33, 0.12);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.24s ease, transform 0.24s ease, max-height 0.24s ease;
  }

  .site-nav.open {
    gap: 0.4rem;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    max-height: 420px;
  }

  .site-nav a {
    border-radius: 8px;
    width: 100%;
    padding: 0.66rem 0.75rem;
  }

  .site-nav .nav-cta {
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 700px) {
  .container {
    width: min(1160px, calc(100% - 1.2rem));
  }

  .nav-shell {
    min-height: 72px;
  }

  .brand {
    max-width: calc(100% - 64px);
    gap: 0.56rem;
  }

  .brand-mark {
    width: 46px;
    height: 42px;
  }

  .brand-title {
    font-size: 0.92rem;
  }

  .brand-subtitle {
    font-size: 0.62rem;
  }

  main {
    padding-top: 1.1rem;
  }

  .page-title {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .section-title {
    font-size: clamp(1.45rem, 7.5vw, 2rem);
  }

  .hero {
    border-radius: 8px;
  }

  body.home-page {
    overflow: auto;
  }

  .home-shell {
    height: auto;
    min-height: 100svh;
  }

  .home-shell::before {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.88) 0%, rgba(7, 17, 31, 0.72) 48%, rgba(7, 17, 31, 0.94) 100%),
      url("assets/media/robot-irvine-pool.jpg") center / cover no-repeat;
  }

  .home-content {
    width: min(calc(100% - 1.4rem), 680px);
    min-height: 100svh;
    padding: 1.5rem 0 2rem;
  }

  .home-logo-wrap {
    width: 148px;
    height: 148px;
  }

  .home-title {
    font-size: clamp(3.2rem, 17vw, 5.2rem);
  }

  .home-sub {
    max-width: 100%;
  }

  .home-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .home-nav a {
    justify-content: center;
    text-align: center;
    padding: 0.7rem 0.38rem;
    font-size: 0.62rem;
    letter-spacing: 0.07em;
  }

  .home-stats {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 1.25rem;
    gap: 1.15rem;
  }

  .section {
    padding-top: 3rem;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .media-grid.cols-2,
  .media-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .media-card img {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .competition-media .media-card img {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .card {
    min-height: auto;
  }

  .team-photo-grid .member-photo {
    aspect-ratio: 3 / 2;
  }

  .report-reader-toolbar {
    display: grid;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .report-reader-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    width: 100%;
    gap: 0.38rem;
  }

  .report-reader-controls button {
    min-height: 40px;
    width: 100%;
    padding: 0.45rem 0.34rem;
    font-size: 0.56rem;
    letter-spacing: 0.04em;
  }

  .report-reader-shell {
    height: min(68svh, 620px);
    padding: 0.55rem;
    background-size: 14px 14px;
  }

  .report-document {
    width: 100%;
    min-width: 0;
    padding: 0;
    font-size: calc(0.92rem * var(--report-text-scale));
    line-height: 1.5;
  }

  .report-page {
    min-height: auto;
    margin-bottom: 0.65rem;
    padding: 1rem 0.9rem;
    box-shadow: 0 12px 28px rgba(8, 19, 33, 0.14);
  }

  .report-document-header {
    margin-bottom: 1rem;
  }

  .report-authors {
    margin-top: 0.55rem;
    font-size: 0.76em;
  }

  .report-page-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .report-document h1 {
    font-size: clamp(1.28em, 7vw, 1.72em);
    line-height: 1.18;
  }

  .report-document h2 {
    margin: 1.1rem 0 0.35rem;
    font-size: 1.02em;
  }

  .report-document h3 {
    margin: 0.9rem 0 0.2rem;
  }

  .report-document p + p {
    margin-top: 0.55rem;
  }

  .report-reader.report-reader-expanded,
  .report-reader:fullscreen {
    height: 100vh;
    height: 100dvh;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .report-reader.report-reader-expanded .report-reader-toolbar,
  .report-reader:fullscreen .report-reader-toolbar {
    max-height: 42svh;
    overflow: auto;
  }

  .report-reader.report-reader-expanded .report-reader-shell,
  .report-reader:fullscreen .report-reader-shell {
    height: auto;
    min-height: 0;
    flex: 1 1 auto;
  }

  .lightbox {
    padding: 0.75rem;
  }

  .lightbox-frame {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .lightbox-media {
    grid-column: 1 / -1;
    order: -1;
  }

  .lightbox-button {
    width: 100%;
  }

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

  .ticker {
    font-size: 0.62rem;
    letter-spacing: 0.13em;
  }

  .ticker-item {
    padding: 0.46rem 1.2rem;
  }

  .ticker-item::after {
    margin-left: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
