
/* ==========================================
   GAITMATE — GLOBAL STYLES
   ========================================== */

:root {
  --black: #050509;
  --navy: #0d0718;
  --dark-purple: #180a2c;

  --pink: #e93291;
  --magenta: #d71983;
  --purple: #9146ff;
  --violet: #6548ee;

  --text: #191722;
  --gray: #686574;
  --light-gray: #f7f5f9;
  --lavender: #f7f3fc;
  --border: #e9e3ed;
  --white: #ffffff;

  --gradient: linear-gradient(
    90deg,
    #e93291 0%,
    #a63fe5 50%,
    #6548ee 100%
  );

  --shadow: 0 12px 38px rgba(38, 14, 58, 0.07);
  --radius: 18px;
  --content-width: 1120px;
}


/* ==========================================
   RESET & TYPOGRAPHY
   ========================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);

  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.85;

  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 750;
}

p {
  margin-bottom: 1.4rem;
}

.wrap {
  width: min(var(--content-width), calc(100% - 64px));
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--magenta);

  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.85;
  font-weight: 500;
}


/* ==========================================
   SECTION LAYOUTS
   ========================================== */

.section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section > p,
.section > h2 {
  max-width: 880px;
}

.section-tint {
  background: var(--lavender);
}

.section-tint .wrap > p,
.section-tint .wrap > h2 {
  max-width: 900px;
}

.section h2 {
  margin-bottom: 30px;
}

.section p {
  color: var(--gray);
}

.section .eyebrow {
  color: var(--magenta);
}

.page-intro {
  padding-top: 105px;
  padding-bottom: 95px;
}

.page-intro h1 {
  max-width: 950px;
  margin-bottom: 32px;
}

.page-intro > p:not(.eyebrow) {
  max-width: 900px;
  color: var(--gray);
}

.page-intro .lead {
  color: var(--text) !important;
}


/* ==========================================
   NAVIGATION
   ========================================== */

.site-header {
  background: var(--black);
  position: relative;
  z-index: 20;
}

.nav {
  min-height: 88px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex-shrink: 0;

  color: var(--white);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.2;
  text-decoration: none;
}

.brand span {
  color: var(--pink);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 25px;
}

.nav-links a {
  color: #e6dfea;

  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;

  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #ff72c1;
}

.nav-links a:focus-visible,
.button:focus-visible,
.inline-link:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 5px;
  border-radius: 3px;
}


/* ==========================================
   BUTTONS & LINKS
   ========================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 15px 30px;
  border-radius: 9px;

  background: var(--gradient);
  color: var(--white);

  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;

  box-shadow: 0 8px 26px rgba(174, 52, 193, 0.22);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(174, 52, 193, 0.3);
}

.inline-link {
  display: inline-block;

  color: var(--magenta);
  font-weight: 750;
  text-decoration: none;

  border-bottom: 1px solid currentColor;
  line-height: 1.7;

  transition: color 0.2s ease;
}

.inline-link:hover {
  color: var(--violet);
}


/* ==========================================
   HOME HERO
   ========================================== */

.hero {
  position: relative;
  overflow: hidden;

  padding: 115px 0 125px;

  background:
    radial-gradient(
      circle at 80% 25%,
      rgba(145, 70, 255, 0.22),
      transparent 42%
    ),
    radial-gradient(
      circle at 15% 85%,
      rgba(233, 50, 145, 0.18),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      #050509 0%,
      #180a2c 100%
    );

  color: var(--white);
}

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

.hero .eyebrow {
  color: #f5a4d5;
}

.hero h1 {
  margin-bottom: 25px;

  font-size: clamp(4rem, 10vw, 7rem);
  letter-spacing: -0.075em;
  line-height: 1;
}

.hero h1 span {
  color: var(--pink);
}

.hero h2 {
  max-width: 1000px;
  margin-bottom: 34px;

  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.35;
  font-weight: 700;
}

.hero p:not(.eyebrow) {
  max-width: 890px;

  color: #e1d9e8;
  font-size: 1.05rem;
}

.hero .button {
  margin-top: 15px;
}

.hero .micro {
  margin-top: 15px;

  color: #bdb0c8 !important;
  font-size: 0.77rem !important;
}


/* ==========================================
   HOME TECHNOLOGY LAYOUT
   ========================================== */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;

  gap: 55px;
  margin-top: 40px;
}


/* ==========================================
   SENSOR ARCHITECTURE IMAGE
   ========================================== */

.diagram {
  margin: 0;
  padding: 30px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--white);
  box-shadow: var(--shadow);
}

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

.diagram figcaption {
  margin-top: 22px;

  color: var(--gray);
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}

.tech-diagram {
  max-width: 680px;
  margin: 55px auto 0;
}


/* ==========================================
   TECHNOLOGY & RESEARCH CARDS
   ========================================== */

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

  gap: 24px;
  margin-top: 42px;
}

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

.tech-card {
  min-width: 0;
  padding: 32px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--white);
  box-shadow: var(--shadow);

  transition: transform 0.2s ease;
}

.tech-card:hover {
  transform: translateY(-3px);
}

.tech-number {
  display: inline-block;
  margin-bottom: 18px;

  color: var(--magenta);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.tech-card h3 {
  margin-bottom: 17px;
}

.tech-card p {
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.8;
}

.tech-card p:last-child {
  margin-bottom: 0;
}

.tech-note {
  max-width: 880px;
  margin-top: 35px;

  font-size: 0.92rem;
  font-style: italic;
}


/* ==========================================
   COLOR-CODED STRAIN SCALE
   ========================================== */

.strain-scale {
  display: grid;
  gap: 9px;
  margin: 22px 0;
}

.strain-scale > div {
  padding: 10px 14px;
  border-radius: 8px;

  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.5;
}

.strain-low {
  color: #17613c;
  background: #ddf5e6;
}

.strain-medium {
  color: #805700;
  background: #fff1bf;
}

.strain-high {
  color: #a32335;
  background: #ffe1e5;
}


/* ==========================================
   OUTREACH — HORIZONTAL EVENT ROWS
   ========================================== */

.outreach-list {
  display: grid;
  gap: 24px;
  margin-top: 45px;
}

.outreach-entry {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);

  gap: 35px;
  padding: 35px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--white);
  box-shadow: var(--shadow);
}

.outreach-entry-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  padding: 16px 10px;
  border-radius: 12px;

  background: var(--lavender);
  color: var(--magenta);

  line-height: 1.5;
  text-align: center;
}

.outreach-month {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.outreach-entry-date strong {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
}

.outreach-entry-date > span:last-child {
  font-size: 0.82rem;
  font-weight: 700;
}

.outreach-entry-content h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.outreach-meta {
  margin-bottom: 10px;
  color: var(--gray);
  font-size: 0.9rem;
}

.outreach-role {
  color: var(--magenta) !important;
  font-weight: 750;
}

.outreach-pending {
  display: inline-block;
  margin-top: 5px;

  color: var(--gray);
  font-size: 0.88rem;
  font-style: italic;
}


/* ==========================================
   OUTREACH — SYMPOSIUM POSTER
   ========================================== */

.outreach-poster {
  max-width: 700px;
  margin: 24px 0 0;
}

.outreach-poster a {
  display: block;
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: var(--white);
  box-shadow: var(--shadow);
}

.outreach-poster img {
  display: block;
  width: 100%;
  height: auto;

  transition: transform 0.2s ease;
}

.outreach-poster a:hover img {
  transform: scale(1.015);
}

.outreach-poster figcaption {
  margin-top: 12px;

  color: var(--gray);
  font-size: 0.82rem;
  line-height: 1.6;
}


/* ==========================================
   OUTREACH — RECOGNITION
   ========================================== */

.outreach-award {
  display: grid;
  grid-template-columns: 1fr 230px;
  align-items: center;

  gap: 35px;
  margin-top: 40px;
  padding: 38px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--white);
  box-shadow: var(--shadow);
}

.outreach-award h3 {
  font-size: 1.45rem;
}

.outreach-award-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 160px;
  padding: 25px;

  border-radius: 13px;
  background: linear-gradient(135deg, #e93291, #6548ee);

  color: var(--white);
  text-align: center;
}

.outreach-award-result span {
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.outreach-award-result strong {
  font-size: 1.55rem;
  line-height: 1.3;
}


/* ==========================================
   TEAM
   ========================================== */

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

  gap: 24px;
  margin-top: 42px;
}

.team-leadership {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 780px;
}

.team-member {
  min-width: 0;
  padding: 32px 24px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: var(--white);
  box-shadow: var(--shadow);
}

.team-avatar {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 66px;
  height: 66px;
  margin-bottom: 25px;

  border-radius: 50%;
  background: linear-gradient(135deg, #fbe0f0, #e9ddff);

  color: var(--magenta);
  font-size: 1.2rem;
  font-weight: 800;
}

.team-member h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.team-title {
  margin-bottom: 8px;

  color: var(--magenta) !important;
  font-size: 0.88rem;
  font-weight: 750;
}

.team-specialty {
  margin-bottom: 0;

  color: var(--gray);
  font-size: 0.86rem;
  line-height: 1.7;
}


/* ==========================================
   CONTACT
   ========================================== */

.contact-page {
  min-height: 55vh;
}

.contact-page h1 {
  margin-bottom: 35px;
}

.contact-page > p {
  max-width: 850px;
}


/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
  padding-top: 70px;
  background: var(--black);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;

  gap: 60px;
  padding-bottom: 60px;
}

.site-footer .brand {
  display: inline-block;
  margin-bottom: 20px;
}

.site-footer p {
  max-width: 350px;

  color: #b9b0c4;
  font-size: 0.9rem;
  line-height: 1.8;
}

.site-footer h3 {
  margin-bottom: 23px;

  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0;
}

.footer-grid > div:not(:first-child) a {
  display: block;

  width: fit-content;
  max-width: 100%;
  margin-bottom: 13px;

  color: #c9c1d2;
  font-size: 0.88rem;
  line-height: 1.7;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: #ff80c8;
}

.copyright {
  padding: 24px 0;
  border-top: 1px solid #2c2135;

  color: #9e92aa;
  font-size: 0.78rem;
  text-align: center;
}


/* ==========================================
   RESPONSIVE — TABLET
   ========================================== */

@media (max-width: 900px) {

  .nav {
    flex-direction: column;
    justify-content: center;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .nav-links {
    justify-content: center;
    gap: 14px 22px;
  }

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

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

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

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .outreach-award {
    grid-template-columns: 1fr;
  }

  .outreach-award-result {
    min-height: 125px;
  }

}


/* ==========================================
   RESPONSIVE — MOBILE
   ========================================== */

@media (max-width: 600px) {

  body {
    font-size: 15px;
  }

  .wrap {
    width: calc(100% - 36px);
  }

  .nav {
    min-height: auto;
  }

  .nav-links {
    gap: 10px 16px;
  }

  .nav-links a {
    font-size: 0.79rem;
  }

  .hero {
    padding: 85px 0 95px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 15vw, 5.3rem);
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .hero p:not(.eyebrow) {
    font-size: 0.96rem;
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .page-intro {
    padding-top: 75px;
    padding-bottom: 65px;
  }

  .tech-grid,
  .tech-grid-three,
  .team-grid,
  .team-leadership {
    grid-template-columns: 1fr;
  }

  .tech-card,
  .team-member {
    padding: 26px;
  }

  .diagram {
    padding: 18px;
  }

  .outreach-entry {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 25px;
  }

  .outreach-entry-date {
    width: 105px;
  }

  .outreach-award {
    padding: 26px;
  }

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

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .site-footer {
    padding-top: 55px;
  }

}


/* ==========================================
   ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

}
