:root {
  --tm-cyan: #16bde3;
  --tm-cyan-dark: #08a9ce;
  --tm-ink: #0f1724;
  --tm-black: #0a0a0a;
  --tm-muted: #667085;
  --tm-panel: #f4f7fb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  color: var(--tm-ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

main,
header,
footer,
section {
  max-width: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

body.page-transition {
  animation: pageFade 420ms ease both;
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-link {
  position: relative;
  color: #d7dee8;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.is-active {
  color: var(--tm-cyan);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  background: var(--tm-cyan);
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.site-logo {
  display: block;
  width: auto;
  height: clamp(1.45rem, 3vw, 2.2rem);
  max-width: min(40vw, 7rem);
  object-fit: contain;
  object-position: center;
}

.footer-logo {
  display: block;
  width: auto;
  height: clamp(3rem, 6vw, 4.25rem);
  max-width: min(100%, 8.5rem);
  object-fit: contain;
  object-position: left center;
}

.mobile-nav-link.is-active {
  color: var(--tm-cyan);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 260ms ease, padding-top 260ms ease, padding-bottom 260ms ease;
}

.mobile-menu.is-open {
  max-height: 420px;
  padding-top: 1rem;
  padding-bottom: 1.25rem;
}

.accent-line {
  width: 90px;
  height: 5px;
  background: var(--tm-cyan);
}

.section-kicker {
  color: var(--tm-cyan-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.page-band {
  border-left: 8px solid var(--tm-cyan);
  background: var(--tm-ink);
  color: #ffffff;
}

.dot-grid {
  background-image: radial-gradient(var(--tm-cyan) 1.2px, transparent 1.2px);
  background-size: 13px 13px;
  opacity: 0.9;
}

.corner-wedge::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 90px solid transparent;
  border-bottom: 120px solid var(--tm-cyan);
}

.panel-card {
  min-width: 0;
  background: var(--tm-panel);
  border-top: 4px solid var(--tm-cyan);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.panel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgb(15 23 36 / 12%);
  border-color: var(--tm-cyan-dark);
}

.dark-card {
  background: var(--tm-ink);
  color: #ffffff;
}

.cyan-card {
  background: var(--tm-cyan);
  color: #06111a;
}

.cta-band {
  background: linear-gradient(135deg, var(--tm-cyan), var(--tm-cyan-dark));
  color: #06111a;
}

.reveal,
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms cubic-bezier(0.22, 1, 0.36, 1), transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1), transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1), transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active,
.fade-up.is-visible,
.fade-up.active,
.fade-left.is-visible,
.fade-left.active,
.fade-right.is-visible,
.fade-right.active,
.stagger-item.is-visible,
.stagger-item.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-left.is-visible,
.fade-left.active,
.fade-right.is-visible,
.fade-right.active {
  transform: translateX(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1), transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.image-reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1), transform 760ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
}

.image-reveal.is-visible,
.image-reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hover-lift {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.hover-lift:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 22px 48px rgb(15 23 36 / 14%);
}

.accent-line.reveal-line {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.accent-line.reveal-line.is-visible,
.accent-line.reveal-line.active {
  transform: scaleX(1);
}

.about-hero {
  animation: aboutHeroIntro 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes aboutHeroIntro {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-timeline .stagger-item {
  position: relative;
}

.about-timeline .stagger-item::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0;
  width: 2.5rem;
  height: 4px;
  background: var(--tm-cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-timeline .stagger-item.is-visible::before,
.about-timeline .stagger-item.active::before {
  transform: scaleX(1);
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.responsive-shell {
  width: min(100%, 80rem);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.25rem);
}

.hero-title {
  font-size: clamp(2.25rem, 10vw, 4.5rem);
  line-height: 0.98;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  line-height: 1.05;
}

.hero-section {
  min-height: clamp(34rem, 72vh, 45rem);
  isolation: isolate;
}

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

.hero-bg-image {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  opacity: 0.72;
}

.hero-bg-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 98%) 0%, rgb(255 255 255 / 94%) 34%, rgb(255 255 255 / 68%) 56%, rgb(255 255 255 / 14%) 100%),
    linear-gradient(180deg, rgb(255 255 255 / 82%) 0%, rgb(255 255 255 / 18%) 46%, rgb(255 255 255 / 90%) 100%),
    radial-gradient(circle at 78% 48%, rgb(22 189 227 / 24%), transparent 38%);
}

.hero-content {
  min-height: inherit;
  align-items: center;
}

.about-overview-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.about-image-frame {
  padding: 0.6rem;
  background: linear-gradient(135deg, rgb(22 189 227 / 18%), rgb(244 247 251 / 92%));
  border: 1px solid rgb(22 189 227 / 20%);
  border-radius: 1.15rem;
  box-shadow: 0 22px 46px rgb(15 23 36 / 12%);
}

.about-overview-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 0.8rem;
}

.about-overview-copy {
  max-width: 46rem;
}

.team-role-image {
  aspect-ratio: 1 / 1;
  width: 11rem;
  height: auto;
  margin-inline: auto;
  border: 4px solid #000;
  background: #f4f7fb;
  object-fit: cover;
  object-position: center top;
}

.team-role-card {
  display: flex;
  min-height: 26rem;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem;
  text-align: center;
}

.team-role-card h2 {
  line-height: 1.15;
}

.team-role-card p {
  max-width: 17rem;
}

.team-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 58rem;
  margin-inline: auto;
}

.team-profile-card {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border-top: 4px solid var(--tm-cyan);
  border-radius: 0.85rem;
  box-shadow: 0 18px 42px rgb(15 23 36 / 10%);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.team-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgb(15 23 36 / 14%);
}

.team-profile-image {
  width: 100%;
  height: clamp(12.5rem, 25vw, 17rem);
  object-fit: contain;
  object-position: center bottom;
  background: var(--tm-panel);
  border: 0.8rem solid #ffffff;
  border-radius: 1.25rem;
}

.team-profile-content {
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

.team-profile-role {
  color: var(--tm-cyan-dark);
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-profile-content h2 {
  margin-top: 0.45rem;
  color: var(--tm-ink);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 900;
  line-height: 1.1;
}

.team-profile-content p:not(.team-profile-role) {
  margin-top: 0.85rem;
  color: #475569;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .team-role-image {
    width: 10.5rem;
  }
}

@media (min-width: 1024px) {
  .about-overview-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  }
}

@media (max-width: 767px) {
  body {
    min-width: 0;
  }

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

  .page-band {
    padding: 1.25rem;
  }

  .cta-band {
    padding: 1.25rem;
  }

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

  .about-image-frame {
    padding: 0.45rem;
    border-radius: 0.9rem;
  }

  .about-overview-image {
    border-radius: 0.65rem;
  }

  .fade-left,
  .fade-right {
    transform: translateY(22px);
  }

  .hero-section {
    min-height: auto;
  }

  .hero-bg-image {
    object-position: 62% center;
    opacity: 0.45;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(90deg, rgb(255 255 255 / 98%) 0%, rgb(255 255 255 / 90%) 70%, rgb(255 255 255 / 70%) 100%),
      linear-gradient(180deg, rgb(255 255 255 / 88%) 0%, rgb(255 255 255 / 62%) 100%);
  }

}

.form-input {
  width: 100%;
  border: 1px solid #d0d7e2;
  background: #ffffff;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-input:focus {
  border-color: var(--tm-cyan);
  box-shadow: 0 0 0 4px rgb(22 189 227 / 18%);
}

.form-error {
  min-height: 1.25rem;
  color: #b42318;
  font-size: 0.875rem;
}

.form-success {
  min-height: 1.5rem;
  color: #027a48;
  font-weight: 700;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: var(--tm-cyan);
  color: #06111a;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 14px 34px rgb(0 0 0 / 22%);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #ffffff;
  color: var(--tm-black);
  outline: 3px solid rgb(22 189 227 / 35%);
  outline-offset: 3px;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
  }
}

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

  .reveal,
  .fade-up,
  .fade-left,
  .fade-right,
  .stagger-item,
  .image-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
