:root {
  --ink: #07121f;
  --navy: #0b1f35;
  --slate: #43556a;
  --muted: #6a7b8d;
  --line: #d9e4ed;
  --panel: #ffffff;
  --soft: #f5f9fb;
  --cyan: #18b8d8;
  --mint: #49d7b1;
  --coral: #ff7b6b;
  --amber: #f5b84b;
  --shadow: 0 22px 70px rgba(8, 29, 48, 0.16);
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7fbfd;
  color: var(--ink);
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 36px rgba(13, 37, 61, 0.1);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-action {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.scrolled .brand-mark {
  border-color: rgba(24, 184, 216, 0.28);
  background: #eefbfe;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark svg {
  color: var(--mint);
}

.nav-links {
  gap: 24px;
  font-size: 14px;
  color: currentColor;
  opacity: 0.92;
}

.nav-links a {
  padding: 8px 0;
}

.header-action {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 700;
}

.scrolled .header-action {
  border-color: rgba(24, 184, 216, 0.3);
  background: #eafafe;
  color: #075b6e;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 110px clamp(20px, 5vw, 72px) 82px;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 18, 31, 0.95) 0%, rgba(6, 22, 37, 0.78) 42%, rgba(8, 29, 48, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 18, 31, 0.1), rgba(5, 18, 31, 0.76));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(690px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-button {
  gap: 10px;
  padding: 0 18px 0 22px;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  color: #052033;
}

.secondary-button {
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.hero-panel {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 5vw, 72px);
  bottom: 46px;
  width: min(380px, calc(100% - 40px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(7, 22, 36, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.panel-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.hero-panel strong {
  font-size: 24px;
}

.hero-panel p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.signal-row {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.signal-row span {
  height: 5px;
  flex: 1;
  border-radius: 999px;
  background: var(--mint);
}

.signal-row span:nth-child(2) {
  background: var(--cyan);
}

.signal-row span:nth-child(3) {
  background: var(--coral);
}

.metrics-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1120px, calc(100% - 40px));
  margin: -42px auto 0;
  overflow: hidden;
  border: 1px solid rgba(24, 184, 216, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.metrics-strip div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.metrics-strip div:last-child {
  border-right: 0;
}

.metrics-strip strong {
  display: block;
  color: #0c6174;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1;
}

.metrics-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  grid-column: 1 / -1;
  max-width: 760px;
}

.section-heading p:not(.eyebrow),
.impact-copy p,
.join-section p {
  color: var(--slate);
  font-size: 17px;
  line-height: 1.75;
}

.compact {
  margin-bottom: 32px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.timeline-item,
.school-grid article,
.opportunity-card,
.article-preview,
.impact-board,
.join-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 42px rgba(8, 29, 48, 0.06);
}

.feature-card {
  padding: 26px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #ecfbf8;
  color: #078a73;
}

.feature-card p,
.timeline-item p,
.school-grid p,
.opportunity-card p,
.article-preview p {
  color: var(--slate);
  line-height: 1.7;
}

.career-section,
.volunteer-section,
.insights-section {
  border-top: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline-item {
  position: relative;
  padding: 24px;
  overflow: hidden;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--mint));
}

.timeline-item span,
.opportunity-meta,
.article-preview .tag {
  color: #0d7890;
  font-size: 13px;
  font-weight: 900;
}

.school-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.school-grid article {
  padding: 24px;
  background: linear-gradient(180deg, #fff, #f3fbfd);
}

.tool-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.filter-tabs,
.article-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tabs button,
.article-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--slate);
  cursor: pointer;
}

.filter-tabs button.active,
.article-tabs button.active {
  border-color: rgba(24, 184, 216, 0.45);
  background: #e7fafd;
  color: #075b6e;
  font-weight: 800;
}

.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.opportunity-card {
  display: grid;
  min-height: 230px;
  padding: 24px;
}

.opportunity-card h3 {
  margin-top: 12px;
}

.opportunity-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  align-self: end;
  margin-top: 20px;
}

.opportunity-card small {
  color: var(--muted);
}

.opportunity-card button,
.join-form button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}

.article-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
}

.article-tabs {
  align-content: start;
}

.article-tabs button {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.article-preview {
  min-height: 330px;
  padding: clamp(24px, 4vw, 42px);
}

.article-preview h3 {
  margin-top: 14px;
  font-size: clamp(26px, 4vw, 40px);
}

.article-preview ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.article-preview li {
  display: flex;
  gap: 10px;
  color: var(--slate);
}

.article-preview li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--coral);
}

.impact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 36px;
  border-top: 1px solid var(--line);
}

.impact-board {
  overflow: hidden;
}

.impact-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.impact-row:last-child {
  border-bottom: 0;
}

.impact-row span {
  color: var(--muted);
  font-weight: 800;
}

.impact-row strong {
  font-size: 18px;
}

.join-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}

.join-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.join-form label {
  display: grid;
  gap: 8px;
  color: var(--slate);
  font-weight: 800;
}

.join-form input,
.join-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #0b6f5d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.form-status.error {
  color: #b13b2f;
}

.about-page {
  background: #f7fbfd;
}

.about-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 142px clamp(20px, 5vw, 72px) 72px;
  color: #fff;
}

.about-hero-image,
.about-hero-shade {
  position: absolute;
  inset: 0;
}

.about-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 18, 31, 0.94) 0%, rgba(7, 25, 42, 0.78) 48%, rgba(7, 25, 42, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 18, 31, 0.08), rgba(5, 18, 31, 0.72));
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.about-hero-content h1 {
  max-width: 14ch;
}

.about-hero-content p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about-fact,
.mission-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(8, 29, 48, 0.06);
}

.about-fact {
  padding: 28px;
}

.about-fact span {
  display: block;
  margin-bottom: 12px;
  color: #0d7890;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-fact strong {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
}

.about-fact p,
.founder-copy p,
.mission-list p {
  color: var(--slate);
  line-height: 1.75;
}

.founder-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  border-top: 1px solid var(--line);
}

.founder-copy {
  display: grid;
  gap: 18px;
  font-size: 17px;
}

.founder-copy p {
  margin: 0;
}

.mission-section {
  border-top: 1px solid var(--line);
}

.mission-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mission-list article {
  padding: 24px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 860px;
    align-items: start;
    padding-top: 118px;
  }

  .hero-panel {
    left: 20px;
    right: 20px;
    bottom: 34px;
    width: auto;
  }

  .metrics-strip,
  .intro-grid,
  .timeline,
  .school-grid,
  .opportunity-grid,
  .impact-section,
  .join-section,
  .about-grid,
  .founder-section,
  .mission-list {
    grid-template-columns: 1fr 1fr;
  }

  .tool-bar,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-tabs button {
    width: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 64px;
    padding-inline: 14px;
  }

  .brand span:last-child {
    max-width: 142px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-action {
    min-height: 36px;
    padding-inline: 12px;
  }

  .hero {
    min-height: 900px;
    padding-inline: 18px;
  }

  h1 {
    max-width: 10ch;
  }

  .metrics-strip,
  .intro-grid,
  .timeline,
  .school-grid,
  .opportunity-grid,
  .impact-section,
  .join-section,
  .about-grid,
  .founder-section,
  .mission-list {
    grid-template-columns: 1fr;
  }

  .about-hero {
    min-height: 720px;
    padding-inline: 18px;
  }

  .metrics-strip {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
  }

  .metrics-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 68px 0;
  }

  .tool-bar {
    gap: 12px;
  }

  .filter-tabs button,
  .article-tabs button {
    flex: 1 1 auto;
  }

  .impact-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    display: grid;
  }
}
