/* ==========================================================================
   NEXUS — Global Network for Implementation and Data Sciences
   Implements: NEXUS Design System (Brand Guidelines V1.0, July 2026)

   Palette  — Ink #10222E · Meridian Teal #2E7E8C · Slate #46617A
              Stone #DDE1DC · Bone #F4F3EF (default bg) · Card #FBFAF7
   Support  — Teal Lifted #57B3C0 (accents on Ink) · Teal Wash #E2ECEA
              Deep Teal #1E3D4A (hover on Ink)
   Type     — Hanken Grotesk (all text) · IBM Plex Mono (labels only)
   ========================================================================== */

:root {
  --ink: #10222E;
  --teal: #2E7E8C;
  --teal-lifted: #57B3C0;
  --teal-wash: #E2ECEA;
  --deep-teal: #1E3D4A;
  --slate: #46617A;
  --stone: #DDE1DC;
  --bone: #F4F3EF;
  --card: #FBFAF7;
  --body-text: #33454F;
  --muted: #46617A; /* legacy alias — same as Slate */
  --hairline: rgba(16, 34, 46, 0.1);
  --radius: 8px;
  --radius-btn: 6px;
  --shadow: 0 2px 12px rgba(16, 34, 46, 0.08);
  --shadow-lg: 0 4px 20px rgba(16, 34, 46, 0.14);
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", monospace;
  /* Dot field — the mark's grid extended as texture (Ink surfaces) */
  --dot-field-bone: radial-gradient(circle, rgba(244, 243, 239, 0.16) 1.7px, transparent 2.2px);
  --dot-field-ink: radial-gradient(circle, rgba(16, 34, 46, 0.14) 1.7px, transparent 2.2px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body-text);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--deep-teal);
}

h1, h2, h3, h4 {
  font-family: var(--font-body);
  color: var(--ink);
}

h1 {
  font-weight: 800;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

h2 {
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h3 {
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--deep-teal);
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

section {
  padding: 5.25rem 0;
}

.section-alt {
  background: #ECEDE7;
}

.section-intro {
  max-width: 640px;
  margin: 1rem 0 2.75rem;
  color: var(--slate);
  font-size: 1.05rem;
}

/* Label — IBM Plex Mono, caps, tracked. Mono is for labels only, never running text. */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.7rem;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Buttons — rectangular, 6px radius, no gradients
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: var(--bone);
}

.btn-primary:hover {
  background: var(--deep-teal);
  color: var(--bone);
}

/* On Ink surfaces the primary action goes Teal */
.hero .btn-primary,
.cta-band .btn-primary {
  background: var(--teal);
  color: #fff;
}

.hero .btn-primary:hover,
.cta-band .btn-primary:hover {
  background: var(--teal-lifted);
  color: var(--ink);
}

.btn-outline {
  border-color: rgba(244, 243, 239, 0.6);
  color: var(--bone);
}

.btn-outline:hover {
  border-color: var(--bone);
  background: rgba(244, 243, 239, 0.08);
  color: var(--bone);
}

.btn-outline-dark {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--bone);
}

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}

.brand:hover { color: var(--ink); }

.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1.1;
}

/* Wordmark: Hanken Grotesk ExtraBold, tracking +4% */
.brand-acronym {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-full {
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  list-style: none;
}

.nav-links a {
  color: var(--body-text);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.3rem 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-links a.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.nav-cta {
  background: var(--teal);
  color: #fff !important;
  font-weight: 700;
  padding: 0.55rem 1.1rem !important;
  border-radius: var(--radius-btn);
  border-bottom: none !important;
}

.nav-cta:hover {
  background: var(--deep-teal);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* --------------------------------------------------------------------------
   Hero — Ink surface, dot field texture (covers / dividers)
   -------------------------------------------------------------------------- */

.hero {
  background: var(--ink);
  color: var(--bone);
  padding: 6.25rem 0 5.75rem;
  position: relative;
  overflow: hidden;
}

.hero::after,
.page-hero::after,
.cta-band::after,
.stats-band::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(34%, 420px);
  background-image: var(--dot-field-bone);
  background-size: 21px 21px;
  background-position: 10px 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 45%);
  mask-image: linear-gradient(90deg, transparent, black 45%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

/* Animated dot-field banner (homepage) — replaces the static texture */
.hero.has-canvas::after {
  display: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero h1 {
  color: var(--bone);
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(244, 243, 239, 0.75);
  margin-bottom: 2.2rem;
  max-width: 620px;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--teal-lifted);
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* Page hero (interior pages) */
.page-hero {
  background: var(--ink);
  color: var(--bone);
  padding: 4.25rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 { color: var(--bone); }

.page-hero p {
  color: rgba(244, 243, 239, 0.75);
  max-width: 640px;
  margin-top: 0.9rem;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

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

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

.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 126, 140, 0.4);
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--slate);
  font-size: 0.94rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-btn);
  background: var(--teal-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.35rem;
}

/* --------------------------------------------------------------------------
   Stats band — Ink surface
   -------------------------------------------------------------------------- */

.stats-band {
  background: var(--ink);
  color: var(--bone);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-band .stats-grid {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats-grid > div {
  position: relative;
  padding: 0 1rem;
}

.stats-grid > div + div::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(244, 243, 239, 0.16);
}

.stat-number {
  font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: 0.02em;
  color: var(--teal-lifted);
  line-height: 1.15;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 243, 239, 0.6);
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   News & updates
   -------------------------------------------------------------------------- */

.news-card {
  display: flex;
  flex-direction: column;
}

.news-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  background: var(--teal-wash);
  color: var(--deep-teal);
  margin-bottom: 1rem;
}

.news-tag.tag-event {
  background: var(--stone);
  color: var(--ink);
}

.news-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--slate);
  margin-bottom: 0.5rem;
}

.news-card p {
  flex-grow: 1;
}

.read-more {
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 1.1rem;
}

/* --------------------------------------------------------------------------
   Timeline (launch roadmap)
   -------------------------------------------------------------------------- */

.event-row {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  padding: 1.7rem;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.event-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 126, 140, 0.4);
}

.event-row + .event-row {
  margin-top: 1.5rem;
}

.event-row + .event-row::before {
  content: "";
  position: absolute;
  left: 62px;
  top: -1.6rem;
  height: 1.5rem;
  width: 2px;
  background: var(--stone);
}

.event-date-box {
  flex-shrink: 0;
  width: 88px;
  text-align: center;
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--radius-btn);
  padding: 0.75rem 0.4rem;
}

.event-date-box .day {
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  display: block;
  color: var(--teal-lifted);
  line-height: 1.1;
}

.event-date-box .month {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(244, 243, 239, 0.65);
}

.event-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin: 0.35rem 0 0.6rem;
}

.event-row p:not(.event-meta) {
  color: var(--slate);
  font-size: 0.94rem;
}

/* --------------------------------------------------------------------------
   People & partners
   -------------------------------------------------------------------------- */

.member-card {
  text-align: center;
  padding-top: 2.2rem;
}

.member-avatar,
.member-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.1rem;
}

.member-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: var(--bone);
  background: var(--ink);
  box-shadow: 0 0 0 3px var(--card), 0 0 0 4.5px var(--stone);
}

.member-photo {
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--card), 0 0 0 4.5px var(--stone);
}

.member-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}

.member-role {
  font-family: var(--font-mono);
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0.4rem 0 0.3rem;
}

.member-affiliation {
  color: var(--slate);
  font-size: 0.88rem;
}

.member-bio {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--slate);
  text-align: left;
}

/* Flip cards — click a member card to reveal the bio */
.flip-card {
  perspective: 1200px;
  cursor: pointer;
  min-height: 340px;
}

.flip-card:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0.1, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 1.7rem 1.4rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.flip-card:hover .flip-front,
.flip-card:hover .flip-back {
  border-color: rgba(46, 126, 140, 0.4);
  box-shadow: var(--shadow-lg);
}

.flip-front {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flip-front .member-region {
  margin-top: 0.9rem;
  margin-bottom: 0;
}

.flip-front .flip-hint {
  margin-top: auto;
  padding-top: 0.8rem;
}

.flip-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
  padding-top: 1.6rem;
}

.flip-back h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.flip-back .member-bio {
  flex-grow: 1;
}

.profile-link {
  font-weight: 700;
  font-size: 0.85rem;
}

.flip-hint {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(70, 97, 122, 0.55);
  margin-top: 0.6rem;
}

.flip-front .member-avatar,
.flip-front .member-photo {
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .flip-inner {
    transition: none;
  }
}

.member-region {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--bone);
  border: 1px solid var(--stone);
  border-radius: 4px;
  padding: 0.25rem 0.55rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.partner-tile {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.6rem 1.1rem;
  text-align: center;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.partner-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 126, 140, 0.4);
}

.partner-tile small {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate) !important;
  margin-top: 0.3rem;
}

/* --------------------------------------------------------------------------
   CTA band — Ink surface with dot field
   -------------------------------------------------------------------------- */

.cta-band {
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--bone);
  margin-bottom: 0.8rem;
}

.cta-band p {
  color: rgba(244, 243, 239, 0.72);
  max-width: 580px;
  margin: 0 auto 2rem;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--stone);
  border-radius: var(--radius-btn);
  background: var(--card);
  color: var(--body-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-wash);
}

.form-note {
  font-size: 0.82rem;
  color: var(--slate);
  margin-top: 0.6rem;
}

/* --------------------------------------------------------------------------
   Contact info blocks
   -------------------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.info-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.info-item p {
  color: var(--slate);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.25rem;
  align-items: center;
}

.value-list {
  list-style: none;
  margin-top: 1.5rem;
}

.value-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--slate);
  font-size: 0.94rem;
}

.value-list li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.5rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
}

.value-list strong {
  color: var(--ink);
}

blockquote.pull-quote {
  border-left: 3px solid var(--teal);
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--ink);
  margin: 2rem 0;
}

/* --------------------------------------------------------------------------
   Footer — Ink surface
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: rgba(244, 243, 239, 0.7);
  padding: 3.75rem 0 1.6rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.site-footer h4 {
  font-family: var(--font-mono);
  color: var(--teal-lifted);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.55rem;
}

.site-footer a {
  color: rgba(244, 243, 239, 0.7);
}

.site-footer a:hover {
  color: var(--bone);
}

.footer-mark {
  width: 30px;
  height: 30px;
  margin-bottom: 0.8rem;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--bone);
  margin-bottom: 0.6rem;
}

.footer-bottom {
  border-top: 1px solid rgba(244, 243, 239, 0.14);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(244, 243, 239, 0.45);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .grid-3,
  .stats-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid > div:nth-child(odd)::before {
    display: none;
  }

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

  .two-col,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 4%;
    display: none;
    box-shadow: var(--shadow-lg);
  }

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

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--hairline);
  }

  .nav-links a.active {
    border-bottom-color: var(--hairline);
  }

  .nav-cta {
    margin: 0.75rem 0;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .grid-3,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .stats-grid > div::before {
    display: none !important;
  }

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

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

  .hero {
    padding: 4.25rem 0 3.75rem;
  }

  section {
    padding: 3.25rem 0;
  }

  .event-row {
    flex-direction: column;
  }

  .event-row + .event-row::before {
    display: none;
  }

  .hero::after,
  .page-hero::after,
  .cta-band::after,
  .stats-band::after {
    width: 50%;
    opacity: 0.6;
  }
}
