/* =========================================================
   TRITON GLASS — ANIMATION / VISUAL POLISH V3
   ========================================================= */

:root {
  --ink: #182127;
  --ink-2: #2e3a41;
  --muted: #6c7880;
  --line: #dfe7ea;
  --paper: #f6f9fa;
  --white: #ffffff;
  --blue: #35b9df;
  --blue-dark: #137eaa;
  --dark: #11191e;
  --shadow: 0 20px 60px rgba(18, 31, 38, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
.container {
  width: min(1160px, 92%);
  margin: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 231, 234, 0.85);
  transition:
    box-shadow 0.35s ease,
    background 0.35s ease;
}
.site-header.scrolled {
  box-shadow: 0 8px 35px rgba(18, 31, 38, 0.1);
  background: rgba(255, 255, 255, 0.97);
}
.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand img {
  width: 135px;
  height: auto;
  transition: transform 0.35s var(--ease);
}
.brand:hover img {
  transform: scale(1.04);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.9rem;
  font-weight: 600;
}
.site-nav a {
  color: #455159;
  position: relative;
  transition:
    color 0.25s ease,
    transform 0.25s var(--ease);
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.site-nav a:hover {
  color: var(--blue-dark);
  transform: translateY(-1px);
}
.site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.site-nav .nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 3px;
  overflow: hidden;
}
.site-nav .nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateX(-105%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.site-nav .nav-cta:hover {
  color: #0e1b20;
}
.site-nav .nav-cta:hover::before {
  transform: translateX(0);
}
.nav-toggle {
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 3px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease,
    background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  top: -80%;
  left: -35%;
  width: 28%;
  height: 260%;
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(20deg) translateX(-220%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::after {
  transform: rotate(20deg) translateX(650%);
}
.btn-primary {
  background: var(--blue);
  color: #0e1b20;
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(53, 185, 223, 0.28);
}
.btn-ghost {
  border-color: #6d7d84;
  color: #fff;
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background: linear-gradient(120deg, #10191e 0%, #1a2930 56%, #213e49 100%);
  color: #fff;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      circle at 72% 35%,
      rgba(53, 185, 223, 0.16),
      transparent 22%
    ),
    radial-gradient(
      circle at 90% 85%,
      rgba(255, 255, 255, 0.07),
      transparent 18%
    );
  animation: heroAtmosphere 12s ease-in-out infinite alternate;
}
@keyframes heroAtmosphere {
  from {
    transform: translate3d(-2%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3%, -2%, 0) scale(1.05);
  }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 105px 0 125px;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #7bd5ed;
  margin-bottom: 17px;
}
.eyebrow.dark {
  color: var(--blue-dark);
}
.hero .eyebrow {
  animation: fadeUp 0.9s 0.15s both;
}
.hero h1 {
  font-family: Montserrat, Inter, sans-serif;
  letter-spacing: -0.045em;
  line-height: 1.05;
  font-size: clamp(3rem, 7vw, 6.2rem);
  max-width: 900px;
  animation: fadeUp 1s 0.28s both;
}
.hero h1 span {
  color: var(--blue);
}
.hero-copy {
  max-width: 640px;
  color: #d1dde1;
  font-size: 1.1rem;
  margin: 28px 0 35px;
  animation: fadeUp 1s 0.43s both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.58s both;
}
.hero-stats {
  display: flex;
  gap: 50px;
  margin-top: 72px;
  animation: fadeUp 1s 0.72s both;
}
.hero-stats div {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-family: Montserrat;
  font-size: 1.35rem;
}
.hero-stats span {
  font-size: 0.78rem;
  color: #aebdc3;
}
.hero-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  right: -150px;
  top: 20px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(53, 185, 223, 0.22),
    transparent 65%
  );
  animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}
.hero-panel {
  position: absolute;
  right: 5%;
  top: 8%;
  width: 430px;
  height: 620px;
  opacity: 0.75;
  transform: skewY(-10deg);
  animation: panelFloat 8s ease-in-out infinite;
}
@keyframes panelFloat {
  0%,
  100% {
    transform: skewY(-10deg) translate3d(0, 0, 0);
  }
  50% {
    transform: skewY(-10deg) translate3d(-12px, -18px, 0);
  }
}
.glass-shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(
    135deg,
    rgba(122, 218, 242, 0.28),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.06);
  clip-path: polygon(0 0, 72% 0, 100% 24%, 100% 100%, 28% 100%, 0 76%);
}
.glass-shape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 25%,
    rgba(255, 255, 255, 0.35) 48%,
    transparent 68%
  );
  transform: translateX(-130%);
  animation: glassShine 5s ease-in-out infinite;
}
@keyframes glassShine {
  0%,
  25% {
    transform: translateX(-130%);
  }
  55%,
  100% {
    transform: translateX(130%);
  }
}
.glass-one {
  width: 230px;
  height: 430px;
  right: 80px;
  top: 60px;
}
.glass-two {
  width: 175px;
  height: 330px;
  right: 250px;
  top: 190px;
  opacity: 0.65;
}
.glass-three {
  width: 120px;
  height: 250px;
  right: 10px;
  top: 260px;
  opacity: 0.45;
}

/* ---------- Global sections ---------- */
.section {
  padding: 105px 0;
}
.section-light {
  background: var(--paper);
}
.section h2 {
  font-family: Montserrat, Inter, sans-serif;
  letter-spacing: -0.045em;
  line-height: 1.05;
  font-size: clamp(2.4rem, 4.5vw, 4.3rem);
  max-width: 680px;
}
.section h2 span {
  color: var(--blue);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
  align-items: start;
}
.section-copy {
  max-width: 620px;
  color: #5e6b72;
  font-size: 1.02rem;
}
.section-copy p + p {
  margin-top: 18px;
}
.text-link,
.job-link,
.teams-link {
  display: inline-flex;
  gap: 10px;
  color: var(--blue-dark);
  font-weight: 800;
  margin-top: 25px;
  transition:
    gap 0.3s var(--ease),
    color 0.25s ease;
}
.text-link:hover,
.job-link:hover,
.teams-link:hover {
  gap: 16px;
  color: #075d80;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 55px;
}
.section-heading > p {
  max-width: 430px;
  color: var(--muted);
}

/* ---------- Services ---------- */
.services-section {
  background: #fff;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  min-height: 280px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s ease,
    background 0.35s ease;
  background: #fff;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #8ce7fa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  right: -60px;
  top: -60px;
  background: rgba(53, 185, 223, 0.1);
  transition: transform 0.5s var(--ease);
}
.service-card:hover {
  background: #f3fafc;
  transform: translateY(-9px);
  box-shadow: 0 18px 40px rgba(18, 31, 38, 0.1);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover::after {
  transform: scale(2);
}
.service-number {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 45px;
}
.service-card h3 {
  font-family: Montserrat;
  font-size: 1.15rem;
  line-height: 1.2;
  margin-bottom: 14px;
}
.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
}
.card-arrow {
  position: absolute;
  right: 28px;
  bottom: 26px;
  font-size: 1.2rem;
  color: #9aa8ae;
  transition:
    transform 0.35s var(--ease),
    color 0.25s ease;
}
.service-card:hover .card-arrow {
  transform: translate(5px, -5px);
  color: var(--blue-dark);
}

/* ---------- Projects ---------- */
.project-section {
  background: var(--paper);
}
.project-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 20px;
}
.project-card {
  background: #fff;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s ease;
}
.project-placeholder {
  position: relative;
  overflow: hidden;
}

.project-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-card:hover .project-placeholder img {
  transform: scale(1.06);
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.project-placeholder {
  height: 280px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dfeef2, #8ea9b2);
  color: #fff;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  font-weight: 800;
  position: relative;
  overflow: hidden;
}
.project-placeholder::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(
    110deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 60%
  );
  transform: translateX(-70%) rotate(8deg);
  transition: transform 0.9s var(--ease);
}
.project-card:hover .project-placeholder::before {
  transform: translateX(70%) rotate(8deg);
}
.project-large .project-placeholder {
  height: 390px;
}
.project-meta {
  padding: 20px;
}
.project-meta span {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--blue-dark);
  font-weight: 800;
}
.project-meta h3 {
  font-family: Montserrat;
  margin-top: 4px;
}

/* ---------- Careers ---------- */
.careers-section {
  background: #fff;
}
.careers-banner {
  background: var(--dark);
  color: #fff;
  padding: 58px 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  margin-bottom: 85px;
  position: relative;
  overflow: hidden;
}
.careers-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(53, 185, 223, 0.08),
    transparent
  );
  transform: translateX(-100%);
  animation: bannerSweep 6s ease-in-out infinite;
}
@keyframes bannerSweep {
  0%,
  20% {
    transform: translateX(-100%);
  }
  70%,
  100% {
    transform: translateX(100%);
  }
}
.careers-banner:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -130px;
  top: -170px;
  border: 1px solid rgba(53, 185, 223, 0.35);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(53, 185, 223, 0.04),
    0 0 0 120px rgba(53, 185, 223, 0.025);
  animation: orbit 9s linear infinite;
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
.careers-banner > div {
  position: relative;
  z-index: 1;
}
.careers-banner h2 {
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}
.careers-banner > div > p:last-child {
  max-width: 650px;
  color: #b8c7cc;
  margin-top: 14px;
}
.careers-banner .btn {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}
.careers-intro {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}
.careers-intro > p:last-child {
  color: var(--muted);
  max-width: 650px;
}
.job-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.job-card {
  border: 1px solid var(--line);
  padding: 34px;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s ease,
    border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.job-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
}
.job-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-7px);
  border-color: #cbdfe5;
}
.job-card:hover::before {
  transform: scaleY(1);
}
.job-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}
.job-status,
.job-type {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.job-status {
  color: #148a62;
}
.job-type {
  color: var(--muted);
}
.job-card h3 {
  font-family: Montserrat;
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.job-card > p {
  color: var(--muted);
  font-size: 0.86rem;
}
.job-card ul {
  margin: 22px 0 0 18px;
  color: #5d6a70;
  font-size: 0.9rem;
}
.job-card li + li {
  margin-top: 7px;
}
.hiring-process,
.team-section {
  margin-top: 100px;
}
.process-heading {
  margin-bottom: 38px;
}
.process-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}
.muted {
  color: var(--muted);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.process-step {
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 210px;
  transition:
    background 0.35s ease,
    transform 0.4s var(--ease),
    box-shadow 0.4s ease;
}
.process-step:hover {
  background: #f3fafc;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(18, 31, 38, 0.07);
}
.process-step span {
  font-family: Montserrat;
  color: var(--blue-dark);
  font-weight: 800;
}
.process-step h3 {
  font-family: Montserrat;
  margin: 30px 0 8px;
}
.process-step p {
  font-size: 0.87rem;
  color: var(--muted);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.team-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s ease;
}
.team-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}
.team-card img {
  width: 180px;
  height: 210px;
  object-fit: cover;
  transition:
    transform 0.7s var(--ease),
    filter 0.5s ease;
}
.team-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}
.team-info {
  padding: 25px;
}
.team-info > span {
  font-size: 0.61rem;
  letter-spacing: 0.1em;
  color: var(--blue-dark);
  font-weight: 800;
}
.team-info h3 {
  font-family: Montserrat;
  font-size: 1.25rem;
  margin-top: 10px;
}
.team-info p {
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------- Contact ---------- */
.contact-section {
  background: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.contact-copy {
  color: var(--muted);
  max-width: 540px;
  margin: 25px 0 35px;
}
.contact-details {
  display: grid;
  gap: 22px;
}
.contact-details a,
.contact-details div {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease);
}
.contact-details a:hover {
  transform: translateX(6px);
}
.contact-details small {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--blue-dark);
  font-weight: 800;
}
.contact-form {
  background: #fff;
  padding: 38px;
  box-shadow: var(--shadow);
}
.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  padding: 13px 14px;
  font: inherit;
  outline: none;
  background: #fbfcfc;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(53, 185, 223, 0.1);
  transform: translateY(-1px);
}
.form-note {
  font-size: 0.7rem;
  color: #8a969b;
  margin-top: 14px;
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #c7d2d6;
}
.footer-top {
  padding: 55px 0 40px;
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 45px;
  align-items: center;
}
.footer-top .brand img {
  width: 135px;
  background: #fff;
}
.footer-top p {
  font-size: 0.85rem;
  max-width: 580px;
}
.back-top {
  font-size: 0.8rem;
  font-weight: 800;
  color: #7bd5ed;
  transition: transform 0.3s var(--ease);
}
.back-top:hover {
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid #2e3a40;
  padding: 18px 0 25px;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #87959a;
}

/* =========================================================
   SCROLL REVEAL SYSTEM
   JavaScript adds .is-visible when elements enter viewport.
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 0.8s ease,
    transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-left {
  transform: translateX(-55px);
}
.reveal-right {
  transform: translateX(55px);
}
.reveal-scale {
  transform: scale(0.9);
}
.reveal.is-visible.reveal-left,
.reveal.is-visible.reveal-right,
.reveal.is-visible.reveal-scale {
  transform: none;
}

/* Cards receive a gentle stagger from JS */
.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.65s ease,
    transform 0.75s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.stagger-item.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .site-nav {
    gap: 18px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-large {
    grid-column: 1/-1;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-panel {
    right: -170px;
    opacity: 0.45;
  }
}
@media (max-width: 760px) {
  .nav-wrap {
    height: 70px;
  }
  .nav-toggle {
    display: block;
    z-index: 1002;
  }
  .nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--ink);
    margin: 5px;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 4% 20px;
    box-shadow: 0 20px 30px rgba(18, 31, 38, 0.08);
  }
  .site-nav.open {
    display: flex;
    animation: menuDrop 0.35s var(--ease) both;
  }
  @keyframes menuDrop {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  .site-nav a {
    padding: 13px 0;
  }
  .site-nav .nav-cta {
    text-align: center;
    margin-top: 8px;
  }
  .hero {
    min-height: 680px;
  }
  .hero-content {
    padding: 90px 0;
  }
  .hero-stats {
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 55px;
  }
  .split,
  .contact-grid,
  .careers-intro {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .section {
    padding: 80px 0;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 20px;
  }
  .careers-banner {
    padding: 40px 30px;
    display: block;
  }
  .careers-banner .btn {
    margin-top: 25px;
  }
  .job-list,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-card {
    grid-template-columns: 130px 1fr;
  }
  .team-card img {
    width: 130px;
    height: 180px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span + span {
    display: block;
    margin-top: 7px;
  }
}
@media (max-width: 520px) {
  .service-grid,
  .process-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-large {
    grid-column: auto;
  }
  .project-large .project-placeholder,
  .project-placeholder {
    height: 260px;
  }
  .team-card {
    grid-template-columns: 1fr;
  }
  .team-card img {
    width: 100%;
    height: 250px;
  }
  .contact-form {
    padding: 25px;
  }
}

/* Accessibility: respect users who request reduced motion. */
@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,
  .stagger-item {
    opacity: 1 !important;
    transform: none !important;
  }
}
