:root {
  --teal: #1497ac;
  --lime: #b7ce2f;
  --bg: #041225;
  --ink: #ffffff;
  --muted: #9bb0c8;
  --panel: #0f1f36;
  --line: #2a4561;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 10%, #1497ac1f 0%, transparent 28%),
    radial-gradient(circle at 10% 22%, #b7ce2f2e 0%, transparent 26%),
    linear-gradient(140deg, #071830 0%, var(--bg) 55%, #020a17 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(#122 0.4px, transparent 0.4px);
  background-size: 3px 3px;
  opacity: 0.06;
  z-index: 1;
}

.menu-trigger {
  position: fixed;
  right: 1.1rem;
  top: 1rem;
  z-index: 30;
  overflow: visible;
  border: 1px solid #00000014;
  background: linear-gradient(140deg, #ffffffcf 0%, #f3ffdcde 100%);
  color: #000000;
  backdrop-filter: blur(8px);
  height: 2.95rem;
  min-width: 8.1rem;
  padding: 0 3.45rem 0 1.2rem;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}

.brand-chip {
  position: fixed;
  left: 1.1rem;
  top: 0.45rem;
  z-index: 30;
  display: block;
  line-height: 0;
}

.brand-chip img {
  width: 6.8rem;
  height: 6.8rem;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px #11313a47);
}

.menu-trigger__icon {
  width: 2.55rem;
  height: 2.55rem;
  background: linear-gradient(135deg, var(--teal) 0%, var(--lime) 100%);
  position: absolute;
  right: 0.45rem;
  bottom: -0.66rem;
  box-shadow: 0 10px 18px #11313a3b;
}

.menu-trigger__icon::before,
.menu-trigger__icon::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  width: 1rem;
  height: 2px;
  background: #fff;
}

.menu-trigger__icon::before {
  top: 0.94rem;
}

.menu-trigger__icon::after {
  top: 1.34rem;
}

.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 15% 20%, #b7ce2f33 0%, transparent 44%),
    radial-gradient(circle at 90% 80%, #1497ac33 0%, transparent 40%),
    linear-gradient(
      90deg,
      #0411242e 0%,
      #0b274477 26%,
      #12365dd9 50%,
      #0b274477 74%,
      #0411242e 100%
    ),
    linear-gradient(155deg, #081a30e8 0%, #0e2e53e3 100%);
  transform: scale(1.04);
  opacity: 0;
  pointer-events: none;
  transition: 300ms ease;
}

.overlay-menu.is-open {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.talk-trigger {
  position: fixed;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 35;
  border: 1px solid #99af2a;
  background: linear-gradient(130deg, var(--lime) 0%, #d8eb6f 60%, #ffffff 100%);
  color: #102226;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 0.95rem;
  cursor: pointer;
  box-shadow: 0 14px 24px #00000038;
}

.talk-overlay {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: #03101f78;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.talk-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.talk-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(92vw, 420px);
  z-index: 45;
  background:
    radial-gradient(circle at 90% 10%, #1497ac26 0%, transparent 42%),
    radial-gradient(circle at 12% 82%, #b7ce2f26 0%, transparent 48%),
    linear-gradient(155deg, #0b1f22f7 0%, #102d32f5 100%);
  border-left: 1px solid #ffffff33;
  box-shadow: -20px 0 36px #0000006b;
  padding: 1.1rem 1rem 1.25rem;
  transform: translateX(104%);
  opacity: 0;
  pointer-events: none;
  transition: transform 320ms ease, opacity 220ms ease;
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.talk-panel.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.talk-panel h3 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.talk-panel p {
  margin: 0;
  color: #d9ece9;
  font-size: 0.95rem;
}

.talk-panel__close {
  justify-self: end;
  border: 1px solid #ffffff59;
  background: transparent;
  color: #fff;
  padding: 0.44rem 0.8rem;
  cursor: pointer;
}

.talk-form {
  display: grid;
  gap: 0.58rem;
}

.talk-form label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #eef7f5;
}

.talk-form input,
.talk-form textarea {
  width: 100%;
  border: 1px solid #ffffff40;
  background: #0a1619bf;
  color: #fff;
  padding: 0.64rem 0.72rem;
  font: inherit;
}

.talk-form input:focus,
.talk-form textarea:focus {
  outline: 2px solid #1497ac;
  outline-offset: 1px;
}

.talk-form__submit {
  margin-top: 0.35rem;
  border: 1px solid #99af2a;
  background: linear-gradient(130deg, var(--lime) 0%, #d8eb6f 60%, #ffffff 100%);
  color: #102226;
  font-weight: 700;
  padding: 0.72rem 0.9rem;
  cursor: pointer;
}

.overlay-menu__close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  border: 1px solid #ffffff4f;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.overlay-menu__nav {
  display: grid;
  gap: 0.8rem;
  text-align: center;
}

.overlay-menu__link {
  color: #f4f9f8;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 7vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0.01em;
  transition: 180ms ease;
}

.overlay-menu__link:hover {
  color: var(--lime);
  transform: translateX(5px);
}

main {
  position: relative;
  z-index: 2;
}

.hero {
  position: relative;
  min-height: clamp(760px, 88vh, 920px);
  padding: 2.1rem min(6vw, 4rem) 0.45rem;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr minmax(280px, 42vw);
  gap: clamp(1rem, 2.4vw, 2rem);
}

.hero__left {
  max-width: 760px;
  position: relative;
  padding: clamp(1.1rem, 2vw, 2rem);
  transform: translateY(-3.6rem);
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2rem, 6.5vw, 5.2rem);
}

.hero h1 span {
  display: block;
  background: linear-gradient(120deg, var(--teal), #2cbbc2 40%, var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0.5rem 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
}

.hero__cta {
  position: relative;
  display: block;
  width: fit-content;
  margin: 1.35rem auto 0;
  text-decoration: none;
  color: #eaf7f3;
  background-image: linear-gradient(130deg, var(--lime) 0%, #d8eb6f 58%, #ffffff 100%);
  background-repeat: no-repeat;
  background-size: 0 100%;
  background-position: left top;
  border: 1px solid #4ac3d4;
  border-radius: 10px;
  padding: 0.92rem 1.6rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  overflow: visible;
  transition: color 260ms ease, border-color 260ms ease, background-size 300ms ease;
  z-index: 0;
}

.hero__cta::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% + 0.95rem);
  width: 5.1rem;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #4ac3d4 0%, #84dbff 100%);
  opacity: 0.95;
}

.hero__cta::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 0.95rem);
  width: 5.1rem;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #84dbff 0%, #4ac3d4 100%);
  opacity: 0.95;
}

.hero__cta:hover {
  color: #102226;
  border-color: #99af2a;
  background-size: 100% 100%;
}

.hero-pills {
  margin: 1.25rem auto 0;
  width: min(100%, 760px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.58rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.56rem 0.86rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e7f1ff;
  border: 1px solid #2f5e9a;
  border-radius: 8px;
  background: linear-gradient(120deg, #0a2248 0%, #123468 52%, #1a4583 100%);
  box-shadow: inset 0 1px 0 #9cc2ff2b;
}

.hero__right {
  position: relative;
  min-height: clamp(360px, 46vw, 640px);
  display: grid;
  place-items: center;
  perspective: 1200px;
  overflow: visible;
  margin-top: -3.4rem;
}

.hero-hover-preview {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(8px);
  width: clamp(620px, 46vw, 840px);
  height: clamp(380px, 30vw, 560px);
  border: 1px solid #2a4561d8;
  background: #091a30f0;
  box-shadow: 0 16px 36px #01081270;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms ease;
  z-index: 4;
}

.hero-hover-preview.is-active {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.hero-hover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-tilt-wall {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(128%, 860px);
  display: flex;
  gap: 0.42rem;
  transform: translate(-50%, -46%) rotate(13deg);
  transform-origin: center;
  filter: drop-shadow(0 20px 46px #020a1770);
}

.hero-column {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}

.hero-column__track {
  display: grid;
  grid-auto-rows: 112px;
  gap: 0.42rem;
  --float-range: 16px;
  animation: heroFloat 5.8s ease-in-out infinite alternate;
}

.hero-column:nth-child(even) .hero-column__track {
  animation-direction: alternate-reverse;
}

.hero-column:nth-child(1) .hero-column__track {
  --float-range: 12px;
  animation-duration: 5.2s;
}

.hero-column:nth-child(2) .hero-column__track {
  --float-range: 18px;
  animation-duration: 6.4s;
}

.hero-column:nth-child(3) .hero-column__track {
  --float-range: 10px;
  animation-duration: 4.9s;
}

.hero-column:nth-child(4) .hero-column__track {
  --float-range: 14px;
  animation-duration: 6.8s;
}

.hero-tile {
  overflow: hidden;
  border: 1px solid #2a4561cf;
  background: #10233d;
  height: 112px;
  min-height: 112px;
  max-height: 112px;
}

.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 420ms ease, filter 420ms ease;
  filter: saturate(1.04) contrast(1.03);
}

.hero-tile:hover img {
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.08);
}

@keyframes heroFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-1 * var(--float-range)));
  }
}

.about-section {
  position: relative;
  z-index: 3;
  background: var(--bg);
  padding: clamp(2.3rem, 5vw, 4.4rem) min(6vw, 4rem) clamp(2.4rem, 5vw, 4.6rem);
}

.about-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2rem;
}

.about-head {
  margin: 0;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .about-header-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-capabilities {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .about-mission,
  .about-approach,
  .about-expertise {
    padding: 1.2rem;
  }

  #about .about-story-grid,
  #about .about-details-grid {
    grid-template-columns: 1fr;
  }

  #about .about-capabilities,
  #about .about-expertise-list,
  #about .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #about .about-story-grid,
  #about .about-capabilities,
  #about .about-expertise-list,
  #about .about-stats {
    grid-template-columns: 1fr;
  }
}

.about-capabilities {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.about-right-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.about-mission,
.about-approach,
.about-expertise {
  border: 1px solid #2a4561c7;
  background: linear-gradient(130deg, #0a1f3ebd 0%, #132f57b8 100%);
  padding: 1.5rem;
  border-radius: 12px;
}

.about-mission h4,
.about-approach h4,
.about-expertise h4 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #e8f5ff;
}

.about-mission p,
.about-approach p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.about-expertise ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-expertise li {
  margin: 0.5rem 0;
  padding: 0.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
  position: relative;
  padding-left: 1.5rem;
}

.about-expertise li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}

.about-head {
  margin-bottom: 1.1rem;
}

.about-head .eyebrow {
  font-size: clamp(0.96rem, 1.35vw, 1.22rem);
  letter-spacing: 0.16em;
}

.about-head h2 {
  font-size: clamp(2.35rem, 6.2vw, 5.2rem);
  max-width: 16ch;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.about-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.66rem 1.08rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 8px;
  border: 1px solid #2f5e9a;
  color: #e7f1ff;
}

.about-btn--primary {
  background: linear-gradient(120deg, #0a2248 0%, #123468 52%, #1a4583 100%);
}

.about-btn--ghost {
  background: transparent;
  border-color: #4ac3d4;
}

.about-capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.about-cap {
  border: 1px solid #2a4561c7;
  background: linear-gradient(130deg, #0a1f3ebd 0%, #132f57b8 100%);
  padding: 0.9rem 0.86rem;
  min-height: 142px;
}

.about-cap h3 {
  margin: 0 0 0.48rem;
  font-size: 1.03rem;
}

.about-cap p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.about-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.about-stat {
  border: 1px solid #2a4561c7;
  background: #081a30b8;
  padding: 0.7rem 0.75rem;
  display: grid;
  gap: 0.15rem;
}

.about-stat strong {
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  color: #e8f5ff;
}

.about-stat span {
  font-size: 0.83rem;
  color: var(--muted);
}

#about {
  overflow: hidden;
}

#about .about-shell {
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.8rem);
}

#about .about-header-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  margin-bottom: 0;
}

#about .about-head {
  margin-bottom: 0;
  min-width: 0;
}

#about .about-story-panel {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  min-width: 0;
}

#about .about-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

#about .about-story-card,
#about .about-expertise-panel {
  border: 1px solid #2a4561c7;
  background: linear-gradient(130deg, #0a1f3ebd 0%, #132f57b8 100%);
  border-radius: 14px;
  padding: 1rem 1.05rem;
}

#about .about-story-label {
  margin: 0 0 0.42rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--teal);
}

#about .about-story-card p:last-child,
#about .about-expertise-head > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

#about .about-actions,
#about .about-stats {
  margin-top: 0;
  margin-bottom: 0;
}

#about .about-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(290px, 0.88fr);
  gap: 1rem;
  align-items: start;
}

#about .about-capabilities {
  gap: 1rem;
}

#about .about-cap--compact {
  min-height: 0;
  padding: 0.95rem;
  border-radius: 14px;
}

#about .about-cap-index {
  display: inline-flex;
  margin-bottom: 0.68rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--teal);
}

#about .about-cap--compact h3 {
  margin: 0 0 0.45rem;
  font-size: 0.99rem;
  line-height: 1.16;
}

#about .about-cap--compact p {
  font-size: 0.88rem;
  line-height: 1.42;
}

#about .about-expertise-head {
  display: grid;
  gap: 0.48rem;
  margin-bottom: 0.9rem;
}

#about .about-expertise-head h4 {
  margin: 0;
  font-size: 1.2rem;
  color: #e8f5ff;
}

#about .about-expertise-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.58rem 0.85rem;
}

#about .about-expertise-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.35;
}

#about .about-expertise-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--lime));
  box-shadow: 0 0 0 3px #1e49602c;
}

.services-section {
  padding: 0;
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.horizontal-scroll-container {
  display: flex;
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.horizontal-scroll-container::-webkit-scrollbar {
  display: none;
}

.service-slide {
  min-width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
}

.slide-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.slide-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--ink);
  max-width: 800px;
  padding: 2rem;
  background: linear-gradient(
    125deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  border: 1px solid #333333d8;
  backdrop-filter: blur(12px) saturate(1.18);
}

.slide-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0 0 1.5rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  background: linear-gradient(120deg, var(--teal), #2cbbc2 40%, var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.slide-content p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin: 0 0 2rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 600px;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  text-align: left;
  display: inline-block;
}

.benefits-list li {
  margin: 0.5rem 0;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--ink);
  position: relative;
  padding-left: 1.5rem;
}

.benefits-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}

.slide-content .hero__cta {
  margin-top: 1.5rem;
  font-size: 1rem;
  padding: 0.8rem 2rem;
}

.services-cta {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(
    125deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  border: 1px solid #333333d8;
  backdrop-filter: blur(12px) saturate(1.18);
}

@media (max-width: 768px) {
  .slide-content {
    padding: 1.5rem;
    max-width: 90%;
  }
  
  .slide-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  
  .slide-content p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
  }
  
  .benefits-list {
    margin: 0 0 2rem;
  }
  
  .benefits-list li {
    font-size: clamp(0.9rem, 1.3vw, 1rem);
  }
}

.section-separator {
  display: none;
}

.section-separator::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--teal) 75%, transparent) 24%,
    color-mix(in srgb, var(--lime) 78%, transparent) 50%,
    color-mix(in srgb, var(--teal) 75%, transparent) 76%,
    transparent 100%
  );
}

.section-separator::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(58%, 620px);
  top: calc(50% - 10px);
  height: 20px;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      color-mix(in srgb, var(--teal) 55%, transparent) 20%,
      color-mix(in srgb, var(--lime) 62%, transparent) 50%,
      color-mix(in srgb, var(--teal) 55%, transparent) 80%,
      transparent 100%
    );
  filter: blur(7px);
}

.hero,
.about-section,
.faded-services-section {
  position: relative;
}

.hero::after,
.about-section::after,
.faded-services-section::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.35rem;
  width: min(72%, 980px);
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--teal) 75%, transparent) 24%,
    color-mix(in srgb, var(--lime) 78%, transparent) 50%,
    color-mix(in srgb, var(--teal) 75%, transparent) 76%,
    transparent 100%
  );
  filter: drop-shadow(0 0 8px #7ccfe461);
  pointer-events: none;
}

.section-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.section-head .eyebrow {
  font-size: clamp(0.96rem, 1.35vw, 1.22rem);
  letter-spacing: 0.16em;
}

.section-head h2 {
  font-size: clamp(2.35rem, 6.2vw, 5.2rem);
  max-width: 16ch;
}

.lab-lead {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
}

.layout-block {
  margin-top: 1.6rem;
}

.layout-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.74rem;
}

.layout-title {
  margin: 0.35rem 0 1rem;
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
}

.project-tile {
  margin: 0;
  background: var(--panel);
  border: 1px solid #ffffff;
  overflow: hidden;
  box-shadow: 0 14px 34px #1f474f1e;
  transition: 240ms ease;
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.03);
}

.project-tile h4 {
  margin: 0;
  padding: 0.78rem 0.85rem 0.86rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.24rem);
}

.project-tile:hover {
  transform: translateY(-6px) rotate(-0.3deg);
  box-shadow: 0 26px 54px #1f474f2f;
}

.timeline-grid {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline-grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--teal), var(--lime), transparent);
  opacity: 0.45;
}

.timeline-item {
  display: flex;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: 54%;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: 54%;
}

.timeline-item .project-tile img {
  height: 230px;
}

.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid #2a4561;
  margin: 0 min(6vw, 4rem) 1.2rem;
  padding: 1.35rem 0 0.8rem;
  color: var(--muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
}

.footer__kicker {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-weight: 700;
}

.footer__brand h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.footer__brand p {
  margin: 0;
  max-width: 42ch;
  line-height: 1.5;
}

.footer__col {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer__title {
  margin: 0 0 0.2rem;
  color: #d9ecff;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}

.footer__col a {
  color: var(--muted);
  text-decoration: none;
}

.footer__col a:hover {
  color: #e8f5ff;
}

.footer__col p {
  margin: 0;
  line-height: 1.45;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer__socials img {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
}

.footer__bottom {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #2a4561;
}

.footer__bottom p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 4.4rem 0.45rem 0.25rem;
  }

  .hero__left {
    max-width: none;
    transform: translateY(-1.4rem);
  }

  .hero__right {
    min-height: 420px;
    margin-top: -1.2rem;
    overflow: hidden;
  }

  .hero-hover-preview {
    display: none;
  }

  .hero-tilt-wall {
    width: min(132vw, 700px);
    transform: translate(-52%, -40%) rotate(7deg);
    gap: 0.32rem;
  }

  .hero-column__track {
    grid-auto-rows: 94px;
    gap: 0.32rem;
  }

  .hero-tile {
    height: 94px;
    min-height: 94px;
    max-height: 94px;
  }

  .hero-pills {
    margin-top: 1rem;
    justify-content: flex-start;
  }

  .hero-pill {
    font-size: 0.88rem;
    padding: 0.5rem 0.74rem;
  }

  .timeline-grid::before {
    left: 0;
    transform: none;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 1rem;
    padding-right: 0;
    justify-content: flex-start;
  }

  .faded-services-section,
  .alternative-services-section,
  .new-services-section,
  .gallery-section,
  .contact-section,
  .about-section {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .about-actions {
    margin-bottom: 1rem;
  }

  .about-capabilities {
    grid-template-columns: 1fr 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  #about .about-actions {
    margin-bottom: 0;
  }

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

  .section-separator {
    margin-inline: 0.45rem;
  }

  .footer {
    margin: 0 0.45rem 0.8rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

@media (max-width: 640px) {
  #about .about-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #about {
    padding-top: 2rem;
    padding-bottom: 2.1rem;
  }

  #about .about-shell {
    gap: 0.95rem;
  }

  #about .about-header-grid {
    grid-template-columns: 1fr;
  }

  #about .about-story-grid,
  #about .about-details-grid,
  #about .about-capabilities,
  #about .about-expertise-list,
  #about .about-stats {
    grid-template-columns: 1fr;
  }

  #about .about-header-grid,
  #about .about-details-grid {
    gap: 0.9rem;
  }

  #about .about-head h2 {
    font-size: clamp(1.95rem, 9.6vw, 2.8rem);
    max-width: 11ch;
    overflow-wrap: anywhere;
  }

  #about .about-head .section-lead {
    max-width: none;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  #about .about-story-card,
  #about .about-expertise-panel,
  #about .about-cap--compact {
    padding: 0.9rem;
    border-radius: 12px;
  }

  #about .about-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  #about .about-btn {
    width: 100%;
    min-height: 46px;
    padding: 0.78rem 1rem;
  }

  #about .about-stat {
    padding: 0.8rem 0.75rem;
    text-align: center;
    justify-items: center;
  }

  #about .about-expertise-head {
    gap: 0.36rem;
    margin-bottom: 0.7rem;
  }

  #about .about-expertise-head h4 {
    font-size: 1.05rem;
  }

  #about .about-expertise-list {
    gap: 0.48rem 0.7rem;
  }

  #about .about-expertise-list li {
    font-size: 0.88rem;
  }

  #about .about-cap--compact h3 {
    font-size: 0.95rem;
  }
}

@media (max-width: 520px) {
  #about {
    padding-top: 1.75rem;
    padding-bottom: 1.85rem;
  }

  #about .about-head {
    gap: 0.55rem;
  }

  #about .about-head .eyebrow,
  #about .about-story-label,
  #about .about-cap-index {
    letter-spacing: 0.12em;
  }

  #about .about-head h2 {
    font-size: clamp(1.72rem, 10.2vw, 2.15rem);
    max-width: 10ch;
  }

  #about .about-story-panel {
    gap: 0.7rem;
  }

  #about .about-head .section-lead,
  #about .about-story-card p:last-child,
  #about .about-expertise-head > p:last-child,
  #about .about-cap--compact p,
  #about .about-expertise-list li {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  #about .about-story-grid,
  #about .about-capabilities,
  #about .about-expertise-list,
  #about .about-stats {
    gap: 0.7rem;
  }

  #about .about-story-card,
  #about .about-expertise-panel,
  #about .about-cap--compact,
  #about .about-stat {
    padding: 0.82rem 0.78rem;
  }
}

/* Alternative Services Section */
.alternative-services-section {
  padding: 4rem min(6vw, 4rem);
  background: var(--bg);
  position: relative;
}

.alternative-scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 2rem;
  padding: 2rem 0;
  scrollbar-width: thin;
  scrollbar-color: #333333 transparent;
}

.alternative-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.alternative-scroll-container::-webkit-scrollbar-track {
  background: transparent;
}

.alternative-scroll-container::-webkit-scrollbar-thumb {
  background: #333333;
  border: 1px solid #555555;
}

.alt-service-slide {
  min-width: 400px;
  height: 600px;
  position: relative;
  scroll-snap-align: center;
  border: 2px solid #333333;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alt-service-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.alt-slide-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.alt-slide-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.1);
}

.alt-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  color: var(--ink);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.alt-slide-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin: 0 0 1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.alt-slide-content .tagline {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  margin: 0 0 1.5rem;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.alt-slide-content .description {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.5;
  flex-grow: 1;
}

.alt-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.alt-benefits-list li {
  margin: 0.3rem 0;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  color: var(--ink);
  position: relative;
  padding-left: 1.2rem;
}

.alt-benefits-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: bold;
}

.social-integration {
  border-top: 1px solid #333333;
  padding-top: 1rem;
  margin-top: auto;
}

.profile-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.company-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
}

.social-stats .stat {
  font-size: 0.8rem;
  color: var(--muted);
}

.slide-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.indicator {
  width: 8px;
  height: 8px;
  border: 1px solid #333333;
  background: transparent;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--teal);
  border-color: var(--teal);
}

@media (max-width: 768px) {
  .alternative-scroll-container {
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .alt-service-slide {
    min-width: 300px;
    height: 500px;
  }
  
  .alt-slide-content {
    padding: 1.5rem;
  }
  
  .alt-slide-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
  }
  
  .alt-slide-content .tagline {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  }
  
  .alt-slide-content .description {
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .alt-service-slide {
    min-width: 350px;
    height: 550px;
  }
}

/* Faded Ends Services Section */
.faded-services-section {
  padding: 4rem min(6vw, 4rem);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.faded-scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: -200px;
  padding: 2rem 0;
  position: relative;
  scrollbar-width: none;
  -ms-overflow-style: none;
  perspective: 1000px;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.faded-scroll-container::-webkit-scrollbar {
  display: none;
}

/* Faded edges effect */
.faded-scroll-container::before,
.faded-scroll-container::after {
  content: '';
  position: sticky;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 10;
  pointer-events: none;
  height: 100%;
}

.faded-scroll-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.faded-scroll-container::after {
  right: 0;
  background: linear-gradient(90deg, transparent 0%, var(--bg) 100%);
}

.faded-service-slide {
  min-width: 450px;
  height: 550px;
  position: relative;
  scroll-snap-align: center;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  flex-shrink: 0;
}

.faded-slide-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.faded-slide-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(1.1);
  transition: filter 0.4s ease;
}

.faded-service-slide:hover .faded-slide-background img {
  filter: brightness(0.4) saturate(1.2);
}

.faded-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  color: var(--ink);
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
  backdrop-filter: blur(8px);
}

.faded-slide-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  margin: 0 0 1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  background: linear-gradient(120deg, var(--teal), #2cbbc2 40%, var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.faded-slide-content .tagline {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  margin: 0 0 1.5rem;
  color: var(--lime);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.faded-slide-content .description {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  margin: 0 0 2rem;
  color: var(--muted);
  line-height: 1.6;
  flex-grow: 1;
}

.faded-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.faded-benefits-list li {
  margin: 0.5rem 0;
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  color: var(--ink);
  position: relative;
  padding-left: 1.5rem;
}

.faded-benefits-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
  font-size: 1.1rem;
}

.faded-cta {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(130deg, var(--lime) 0%, #d8eb6f 60%, #ffffff 100%);
  border: 1px solid #99af2a;
  padding: 0.8rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.faded-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(183, 206, 46, 0.3);
}

.faded-slide-indicators {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 3rem;
}

.faded-indicator {
  width: 12px;
  height: 12px;
  border: 2px solid #333333;
  background: transparent;
  transition: all 0.4s ease;
  cursor: pointer;
}

.faded-indicator.active {
  background: var(--teal);
  border-color: var(--teal);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .faded-scroll-container {
    gap: 1.5rem;
    padding: 1rem 0;
  }
  
  .faded-scroll-container::before,
  .faded-scroll-container::after {
    width: 80px;
  }
  
  .faded-service-slide {
    min-width: 320px;
    height: 480px;
  }
  
  .faded-slide-content {
    padding: 2rem;
  }
  
  .faded-slide-content h2 {
    font-size: clamp(1.6rem, 2.8vw, 2rem);
  }
  
  .faded-slide-content .tagline {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
  }
  
  .faded-slide-content .description {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .faded-service-slide {
    min-width: 380px;
    height: 520px;
  }
}

/* Redesigned Faded Carousel Overrides */
.faded-services-section {
  --faded-motion-duration: 780ms;
  --faded-motion-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  padding: 4rem min(6vw, 4rem);
  background:
    radial-gradient(circle at 85% 14%, #1497ac1f 0%, transparent 28%),
    radial-gradient(circle at 13% 80%, #b7ce2f24 0%, transparent 34%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

.faded-carousel-shell {
  position: relative;
  margin-top: 2rem;
}

.faded-scroll-container {
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 1.2rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  isolation: isolate;
}

.faded-scroll-container::-webkit-scrollbar {
  display: none;
}

.faded-scroll-container::before,
.faded-scroll-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(10vw, 120px);
  pointer-events: none;
  z-index: 10;
}

.faded-scroll-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 8%, transparent 100%);
}

.faded-scroll-container::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 8%, transparent 100%);
}

.faded-track {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.6rem);
  padding-inline: clamp(1.2rem, 3.2vw, 2.5rem);
}

.faded-service-slide {
  min-width: clamp(290px, 46vw, 540px);
  width: clamp(290px, 46vw, 540px);
  height: clamp(420px, 62vh, 620px);
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: center;
  border: 1px solid #333333d2;
  overflow: hidden;
  background: #0d0d0d;
  box-shadow: 0 22px 55px #00000052;
  transition:
    transform var(--faded-motion-duration) var(--faded-motion-ease),
    opacity calc(var(--faded-motion-duration) * 0.82) ease-out,
    filter calc(var(--faded-motion-duration) * 0.9) ease-out;
  transform: scale(0.88);
  opacity: 0.35;
  filter: saturate(0.7);
  transform-origin: center center;
  backface-visibility: hidden;
}

.faded-service-slide.is-near {
  transform: scale(0.93);
  opacity: 0.68;
  filter: saturate(0.85);
}

.faded-service-slide.is-active {
  transform: scale(1);
  opacity: 1;
  filter: saturate(1);
}

.faded-slide-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.faded-slide-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.32) saturate(1.05);
  transition:
    transform calc(var(--faded-motion-duration) * 1.08) var(--faded-motion-ease),
    filter calc(var(--faded-motion-duration) * 0.84) ease-out;
  transform-origin: center center;
}

.faded-service-slide.is-active .faded-slide-background img {
  transform: scale(1.04);
  filter: brightness(0.42) saturate(1.15);
}

.faded-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.6vw, 2.5rem);
  color: var(--ink);
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.56) 46%,
    rgba(0, 0, 0, 0.92) 100%
  );
  backdrop-filter: blur(6px);
}

.faded-slide-content h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  margin: 0 0 0.75rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  background: linear-gradient(120deg, var(--teal), #2cbbc2 40%, var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.faded-slide-content .tagline {
  font-size: clamp(0.84rem, 1.2vw, 1.06rem);
  margin: 0 0 1.15rem;
  color: var(--lime);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.faded-slide-content .description {
  font-size: clamp(0.93rem, 1.18vw, 1.04rem);
  margin: 0 0 1.3rem;
  color: var(--muted);
  line-height: 1.45;
  flex-grow: 1;
}

.faded-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
}

.faded-benefits-list li {
  margin: 0.4rem 0;
  font-size: clamp(0.84rem, 1.04vw, 0.98rem);
  color: var(--ink);
  position: relative;
  padding-left: 1.25rem;
}

.faded-benefits-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.faded-cta {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(130deg, var(--lime) 0%, #d8eb6f 60%, #ffffff 100%);
  border: 1px solid #99af2a;
  padding: 0.8rem 2rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  margin-top: auto;
}

.faded-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #b7ce2e4d;
}

.faded-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid #ffffff59;
  background: #0c1a2fbf;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.faded-nav:hover {
  transform: translateY(-50%) scale(1.05);
  border-color: #b7ce2f;
  background: #112543e6;
}

.faded-nav--prev {
  left: 0.25rem;
}

.faded-nav--next {
  right: 0.25rem;
}

.faded-slide-indicators {
  display: flex;
  justify-content: center;
  gap: 0.58rem;
  margin-top: 1.55rem;
}

.faded-indicator {
  width: 0.62rem;
  height: 0.62rem;
  border: 1px solid #2a4561;
  background: #0b1a30;
  transition: transform 240ms ease, background-color 240ms ease, border-color 240ms ease;
  cursor: pointer;
  border-radius: 999px;
}

.faded-indicator.active {
  background: var(--teal);
  border-color: var(--teal);
  transform: scale(1.22);
}

@media (max-width: 768px) {
  .talk-trigger {
    right: 0.55rem;
    font-size: 0.84rem;
    padding: 0.65rem 0.75rem;
  }

  .talk-panel {
    width: min(96vw, 360px);
  }

  .faded-scroll-container::before,
  .faded-scroll-container::after {
    width: 32px;
  }

  .faded-track {
    gap: 0.8rem;
    padding-inline: 0.8rem;
  }

  .faded-service-slide {
    min-width: 84vw;
    width: 84vw;
    height: 72vh;
    max-height: 560px;
  }

  .faded-nav {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .faded-service-slide {
    min-width: 58vw;
    width: 58vw;
    height: 66vh;
    max-height: 590px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faded-service-slide,
  .faded-slide-background img,
  .faded-nav,
  .faded-indicator {
    transition: none;
  }

  .hero-column__track {
    animation: none;
  }
}

/* Overlap stack tuning */
.faded-services-section .faded-track {
  gap: 0;
  padding-inline: clamp(3.2rem, 9vw, 8rem);
}

.faded-services-section .faded-service-slide {
  margin-inline: -8.4rem;
  transform: translateX(var(--stack-shift, 0px)) scale(var(--stack-scale, 0.88));
  opacity: var(--stack-opacity, 0.35);
  will-change: transform, opacity;
}

@media (max-width: 1200px) {
  .faded-services-section .faded-service-slide {
    margin-inline: -6.2rem;
  }
}

@media (max-width: 768px) {
  .faded-services-section .faded-track {
    gap: 0.8rem;
    padding-inline: 0.8rem;
  }

  .faded-services-section .faded-service-slide {
    margin-inline: 0;
    transform: scale(var(--stack-scale, 0.88));
  }
}

/* Infinite stacked carousel sizing + layout */
.faded-services-section .faded-scroll-container {
  overflow: hidden;
  height: clamp(540px, 78vh, 780px);
  padding: 0;
  display: block;
  touch-action: pan-y;
}

.faded-services-section .faded-scroll-container::before,
.faded-services-section .faded-scroll-container::after {
  width: min(14vw, 180px);
}

.faded-services-section .faded-track {
  position: relative;
  height: 100%;
  width: 100%;
  gap: 0;
  padding-inline: 0;
}

.faded-services-section .faded-track.no-motion .faded-service-slide {
  transition: none;
}

.faded-services-section .faded-service-slide {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: clamp(420px, 58vw, 760px);
  width: clamp(420px, 58vw, 760px);
  height: clamp(520px, 74vh, 820px);
  margin-inline: 0;
  transform: translate(-50%, -50%) translateX(var(--stack-shift, 0px)) scale(var(--stack-scale, 0.88));
  opacity: var(--stack-opacity, 0.35);
  filter: blur(var(--stack-blur, 0px)) brightness(var(--stack-brightness, 1));
  will-change: transform, opacity, filter;
}

@media (max-width: 1200px) {
  .faded-services-section .faded-service-slide {
    min-width: clamp(380px, 62vw, 680px);
    width: clamp(380px, 62vw, 680px);
    height: clamp(480px, 70vh, 760px);
  }
}

@media (max-width: 768px) {
  .faded-services-section .faded-scroll-container {
    height: clamp(460px, 72vh, 620px);
  }

  .faded-services-section .faded-service-slide {
    min-width: 88vw;
    width: 88vw;
    height: 68vh;
    max-height: 600px;
  }
}

.contact-section {
  position: relative;
  z-index: 2;
  padding: clamp(2.4rem, 6vw, 5.4rem) min(6vw, 4rem) clamp(2.8rem, 6vw, 5.2rem);
}

.contact-head {
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(1rem, 2.2vw, 1.5rem);
  align-items: stretch;
}

.contact-card {
  border: 1px solid #2a4561d8;
  background:
    linear-gradient(125deg, #0f1f36de 0%, #1c3352ba 36%, #2b47678c 70%, #07122566 100%),
    radial-gradient(circle at 14% 14%, #244166b8 0%, transparent 55%);
  backdrop-filter: blur(10px) saturate(1.14);
  padding: clamp(1rem, 2.1vw, 1.4rem);
  box-shadow: 0 24px 52px #00000045, inset 0 1px 0 #355678d6;
}

.contact-card h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.15;
}

.contact-card p {
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.55vw, 1.2rem);
  line-height: 1.48;
}

.contact-meta {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid #ffffff2f;
}

.contact-meta a {
  color: var(--lime);
  text-decoration: none;
  font-weight: 600;
}

.contact-meta a:hover {
  text-decoration: underline;
}

.contact-socials {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid #ffffff2a;
}

.contact-socials__label {
  margin: 0 0 0.75rem;
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d9ece9;
  font-weight: 600;
}

.contact-socials__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.contact-socials__list a {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  transition: transform 180ms ease;
}

.contact-socials__list a:hover {
  transform: translateY(-2px) scale(1.04);
}

.contact-socials__list img {
  width: 2.4rem;
  height: 2.4rem;
  display: block;
}

.contact-map-wrap {
  border: 1px solid #2a4561d8;
  min-height: clamp(320px, 54vh, 520px);
  box-shadow: 0 24px 52px #00000036;
  overflow: hidden;
  background: #0d1d33;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 54vh, 520px);
  display: block;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-wrap {
    margin-inline: -0.45rem;
    min-height: 360px;
  }

  .contact-map-wrap iframe {
    min-height: 360px;
  }
}

@media (min-width: 901px) {
  html {
    scroll-snap-type: y mandatory;
  }

  main > section,
  .footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .hero,
  .about-section,
  .faded-services-section,
  .contact-section {
    min-height: 100svh;
  }

  .about-section,
  .contact-section {
    display: grid;
    align-content: center;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .about-cap {
    min-height: 118px;
    padding: 0.72rem 0.74rem;
  }

  .about-stats {
    margin-top: 0.7rem;
  }

  #about .about-cap--compact {
    min-height: 0;
    padding: 0.95rem;
  }

  #about .about-stats {
    margin-top: 0;
  }


  .contact-grid {
    gap: 0.8rem;
  }

  .contact-map-wrap {
    min-height: clamp(260px, 45vh, 420px);
  }

  .contact-map-wrap iframe {
    min-height: clamp(260px, 45vh, 420px);
  }

  .faded-services-section {
    padding-top: 1.2rem;
    padding-bottom: 1.1rem;
  }

  .faded-services-section .faded-scroll-container {
    height: clamp(420px, 60vh, 620px);
  }

  .faded-services-section .faded-service-slide {
    height: clamp(380px, 54vh, 580px);
  }
}

/* Simplified services carousel runtime overrides */
.faded-services-section [data-faded-viewport] {
  overflow: hidden !important;
  overflow-x: hidden !important;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  touch-action: pan-y;
}

.faded-services-section [data-faded-track] {
  position: relative;
  width: 100%;
  height: 100%;
  gap: 0 !important;
  padding-inline: 0 !important;
}

.faded-services-section .faded-service-slide {
  transition:
    transform 760ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 620ms ease-out,
    filter 680ms ease-out !important;
  transform-origin: center center;
  backface-visibility: hidden;
}

/* Home projects masonry */
.gallery-section {
  position: relative;
  z-index: 2;
  padding: clamp(2.4rem, 6vw, 5.4rem) min(6vw, 4rem) clamp(2.6rem, 6vw, 5.2rem);
}

.project-masonry {
  column-count: 4;
  column-fill: balance;
  column-gap: clamp(0.6rem, 1.6vw, 1rem);
  margin-top: clamp(1rem, 2.4vw, 1.6rem);
  padding-bottom: 0.25rem;
}

.project-masonry__item {
  width: 100%;
  display: block;
  margin: 0 0 clamp(0.6rem, 1.6vw, 1rem);
  padding: 0;
  border: 1px solid #2a4561d8;
  background: #10223adb;
  box-shadow: 0 20px 42px #00000045;
  overflow: hidden;
  break-inside: avoid;
  position: relative;
  cursor: pointer;
  text-align: left;
}

.project-masonry__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 360ms ease;
  filter: saturate(0.96);
}

.project-masonry__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(180deg, transparent 0%, #020710d1 100%);
  pointer-events: none;
}

.project-masonry__label {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.project-masonry__item:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.gallery-section__actions {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
  padding-top: clamp(1rem, 2.4vw, 1.4rem);
}

.gallery-section__actions::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--teal) 75%, transparent) 24%,
    color-mix(in srgb, var(--lime) 78%, transparent) 50%,
    color-mix(in srgb, var(--teal) 75%, transparent) 76%,
    transparent 100%
  );
}

.gallery-section__actions::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(58%, 620px);
  top: -10px;
  height: 20px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--teal) 55%, transparent) 20%,
    color-mix(in srgb, var(--lime) 62%, transparent) 50%,
    color-mix(in srgb, var(--teal) 55%, transparent) 80%,
    transparent 100%
  );
  filter: blur(7px);
}

/* Simple lightbox */
.project-lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(0.8rem, 2.2vw, 1.6rem);
  background: #020710db;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 1200;
}

.project-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.project-lightbox__panel {
  position: relative;
  width: min(94vw, 1100px);
  max-height: 92vh;
}

.project-lightbox__panel img {
  width: 100%;
  max-height: calc(92vh - 2.4rem);
  object-fit: contain;
  display: block;
  border: 1px solid #2f4e6ddd;
  background: #08172b;
  box-shadow: 0 30px 65px #00000085;
}

.project-lightbox__close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 3;
  border: 1px solid #ffffff66;
  background: #071325d9;
  color: #fff;
  padding: 0.42rem 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.project-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #ffffff66;
  background: #071325d9;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.project-lightbox__nav--prev {
  left: 0.45rem;
}

.project-lightbox__nav--next {
  right: 0.45rem;
}

.project-lightbox__caption {
  margin: 0.55rem 0 0;
  color: #dce6f2;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 1080px) {
  .project-masonry {
    column-count: 3;
  }
}

@media (max-width: 760px) {
  .project-masonry {
    column-count: 2;
  }
}

@media (max-width: 520px) {
  .project-masonry {
    column-count: 1;
  }
}

/* Projects page */
.projects-hero {
  padding: clamp(6.2rem, 11vh, 8rem) min(6vw, 4rem) clamp(1.2rem, 3.5vh, 2rem);
}

.projects-head {
  max-width: 920px;
  margin: 0 auto;
}

.projects-view-nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0 min(6vw, 4rem) clamp(0.7rem, 2.2vw, 1.2rem);
}

.projects-view-nav__btn {
  border: 1px solid #2e4d6ad6;
  background: #0a1a30;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.58rem 0.95rem;
  cursor: pointer;
}

.projects-view-nav__btn.is-active {
  border-color: #9fc03f;
  background: linear-gradient(130deg, #b7ce2f 0%, #d8eb6f 70%, #ffffff 100%);
  color: #132235;
}

[data-project-view-panel][hidden] {
  display: none !important;
}

.projects-panel-head {
  margin-bottom: 1rem;
}

.projects-panel-head--grid {
  grid-column: 1 / -1;
}

.projects-panel-head__eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fc03f;
}

.projects-panel-head h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.projects-panel-head p:last-child {
  margin: 0.35rem 0 0;
  max-width: 680px;
  color: rgba(236, 244, 255, 0.78);
}

.projects-grid-section {
  padding: 0 min(6vw, 4rem) clamp(2.2rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.15vw, 0.82rem);
}

.projects-categories-panel {
  padding: 0 min(6vw, 4rem) clamp(2.2rem, 6vw, 4.5rem);
}

.projects-categories-head {
  max-width: 860px;
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}

.projects-categories-browser {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

.projects-categories-sidebar {
  min-width: 0;
  border: 1px solid rgba(46, 77, 106, 0.64);
  background:
    linear-gradient(180deg, rgba(9, 19, 34, 0.92) 0%, rgba(7, 15, 28, 0.98) 100%);
  padding: 0.85rem;
}

.projects-categories-sidebar__head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(46, 77, 106, 0.54);
}

.projects-categories-sidebar__eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fc03f;
}

.projects-categories-sidebar__head h3 {
  margin: 0;
  font-size: 1rem;
}

.projects-categories-sidebar__head p:last-child {
  margin: 0.32rem 0 0;
  color: rgba(236, 244, 255, 0.76);
  font-size: 0.8rem;
  line-height: 1.4;
}

.projects-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.project-category-card {
  border: 1px solid rgba(46, 77, 106, 0.84);
  background:
    linear-gradient(180deg, rgba(21, 43, 67, 0.94) 0%, rgba(8, 18, 31, 0.98) 100%);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.project-category-card:hover,
.project-category-card:focus-visible,
.project-category-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(159, 192, 63, 0.92);
  box-shadow: 0 16px 38px rgba(2, 10, 20, 0.32);
}

.project-category-card__media {
  aspect-ratio: 1 / 0.42;
  background: rgba(10, 26, 48, 0.72);
  overflow: hidden;
}

.project-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-category-card__body {
  padding: 0.62rem 0.7rem 0.68rem;
}

.project-category-card__eyebrow {
  margin: 0 0 0.34rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fc03f;
}

.project-category-card__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.45rem;
  margin-bottom: 0.24rem;
}

.project-category-card__head h3 {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.16;
}

.project-category-card__head span {
  color: #d9ffff;
  font-size: 0.6rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: right;
}

.project-category-card p {
  margin: 0;
  color: rgba(236, 244, 255, 0.82);
}

.project-category-card__count {
  margin-top: 0.22rem !important;
  color: rgba(217, 255, 255, 0.9) !important;
  font-size: 0.72rem;
  line-height: 1.25;
}

.projects-categories-empty {
  margin: 0;
  border: 1px dashed rgba(46, 77, 106, 0.84);
  background: rgba(10, 26, 48, 0.48);
  color: rgba(236, 244, 255, 0.82);
  padding: 1rem 1.05rem;
}

.project-category-viewer {
  margin-top: 0;
  min-height: min(70vh, 860px);
  border: 1px solid rgba(46, 77, 106, 0.84);
  background:
    linear-gradient(180deg, rgba(21, 43, 67, 0.94) 0%, rgba(8, 18, 31, 0.98) 100%);
  padding: 1rem;
  position: sticky;
  top: 6.2rem;
}

.project-category-viewer__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.project-category-viewer__eyebrow {
  margin: 0 0 0.32rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fc03f;
}

.project-category-viewer__head h3 {
  margin: 0;
}

.project-category-viewer__meta {
  margin: 0;
  color: rgba(217, 255, 255, 0.9);
  font-size: 0.88rem;
}

.project-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.project-category-filters__btn {
  border: 1px solid rgba(46, 77, 106, 0.84);
  background: rgba(10, 26, 48, 0.78);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.78rem;
  cursor: pointer;
}

.project-category-filters__btn.is-active {
  border-color: rgba(159, 192, 63, 0.92);
  color: #132235;
  background: linear-gradient(130deg, #b7ce2f 0%, #d8eb6f 70%, #ffffff 100%);
}

@media (max-width: 959px) {
  .projects-categories-browser {
    grid-template-columns: 1fr;
  }

  .projects-categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }

  .project-category-viewer {
    margin-top: 1rem;
    min-height: 0;
    position: static;
    top: auto;
  }
}

.projects-gallery-panel {
  padding: 0 min(6vw, 4rem) clamp(2.2rem, 6vw, 4.5rem);
}

.projects-gallery-controls {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.projects-gallery-filter {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: min(100%, 330px);
}

.projects-gallery-filter span {
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.projects-gallery-filter select {
  border: 1px solid #2e4d6ad6;
  background: #0a1a30;
  color: var(--ink);
  padding: 0.56rem 0.66rem;
}

.projects-gallery-sort {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.projects-gallery-sort__btn {
  border: 1px solid #2e4d6ad6;
  background: #0a1a30;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
}

.projects-gallery-sort__btn.is-active {
  border-color: #28b4bf;
  color: #d9ffff;
}

.project-masonry--gallery {
  columns: 4 260px;
  column-gap: clamp(0.55rem, 1.15vw, 0.82rem);
  margin-top: 0;
  column-fill: balance;
}

.project-masonry--gallery .project-gallery__item {
  display: inline-block;
  width: 100%;
  margin: 0 0 clamp(0.55rem, 1.15vw, 0.82rem);
  break-inside: avoid;
}

.project-masonry--gallery .project-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
}

.project-card {
  border: 1px solid #2a4561d8;
  background:
    linear-gradient(125deg, #0f1f36de 0%, #1c3352ba 36%, #2b47678c 70%, #07122566 100%),
    radial-gradient(circle at 14% 14%, #244166b8 0%, transparent 55%);
  box-shadow: 0 20px 40px #01071270, inset 0 1px 0 #355678d6;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: clamp(120px, 16vh, 180px);
  object-fit: cover;
  display: block;
}

.project-card__body {
  padding: clamp(0.6rem, 1.1vw, 0.85rem);
}

.project-card__meta {
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}

.project-card h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(0.94rem, 1.2vw, 1.08rem);
  line-height: 1.2;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
  font-size: 0.84rem;
}

@media (max-width: 1600px) {
  .projects-grid-section {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .project-masonry--gallery {
    columns: 4 240px;
  }
}

@media (max-width: 1280px) {
  .projects-grid-section {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .project-masonry--gallery {
    columns: 3 220px;
  }
}

@media (max-width: 900px) {
  .projects-grid-section {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-masonry--gallery {
    columns: 2 180px;
  }
}

@media (max-width: 640px) {
  .projects-grid-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-masonry--gallery {
    columns: 2 150px;
  }
}

@media (max-width: 460px) {
  .projects-grid-section {
    grid-template-columns: 1fr;
  }

  .project-masonry--gallery {
    columns: 1 100%;
  }

  .project-lightbox__nav {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }
}

/* Light theme polish: white/grey-first visual system */
body.light-theme {
  --bg: #f6f7f9;
  --ink: #121722;
  --muted: #616c7a;
  --panel: #ffffff;
  --line: #d7dde6;
  background:
    radial-gradient(circle at 88% 8%, #cde8ee 0%, transparent 24%),
    radial-gradient(circle at 11% 21%, #edf4ce 0%, transparent 28%),
    linear-gradient(150deg, #ffffff 0%, #f7f9fc 56%, #f1f4f8 100%);
}

body.light-theme .noise {
  background-image: radial-gradient(#c9d2df 0.45px, transparent 0.45px);
  opacity: 0.16;
}

body.light-theme .overlay-menu {
  background:
    radial-gradient(circle at 12% 14%, #dff1f7 0%, transparent 36%),
    radial-gradient(circle at 86% 83%, #eef7cf 0%, transparent 40%),
    linear-gradient(155deg, #ffffff 0%, #f3f6fa 100%);
}

body.light-theme .talk-overlay {
  background: #e7edf5b8;
}

body.light-theme .talk-panel {
  background:
    radial-gradient(circle at 90% 10%, #dceff6 0%, transparent 45%),
    radial-gradient(circle at 12% 82%, #eef7d2 0%, transparent 46%),
    linear-gradient(160deg, #ffffff 0%, #f2f5f9 100%);
  border-left: 1px solid #d7dde6;
  box-shadow: -16px 0 28px #9ba9bd36;
}

body.light-theme .theme-toggle-menu {
  border-color: #d0d9e5;
  background: #ffffff;
  color: #0f1826;
}

body.light-theme .theme-toggle-menu:hover {
  border-color: #8bb8c4;
  background: #f4f8fc;
}

body.light-theme .hero,
body.light-theme .about-section,
body.light-theme .faded-services-section,
body.light-theme .gallery-section,
body.light-theme .contact-section,
body.light-theme .projects-hero,
body.light-theme .projects-grid-section,
body.light-theme .projects-gallery-panel {
  background:
    radial-gradient(circle at 88% 10%, #d8ebf2 0%, transparent 28%),
    radial-gradient(circle at 12% 80%, #eef5d7 0%, transparent 34%),
    linear-gradient(155deg, #ffffff 0%, #f4f6fa 100%);
}

body.light-theme .about-cap,
body.light-theme .contact-card,
body.light-theme .project-card,
body.light-theme .project-masonry__item {
  background:
    linear-gradient(140deg, #ffffff 0%, #f7f9fc 100%),
    radial-gradient(circle at 14% 14%, #eef2f8 0%, transparent 58%);
  border-color: #d7dde6;
  box-shadow: 0 14px 28px #98a6ba26, inset 0 1px 0 #ffffff;
}

body.light-theme #about .about-story-card,
body.light-theme #about .about-expertise-panel,
body.light-theme #about .about-stat {
  background:
    linear-gradient(140deg, #ffffff 0%, #f7f9fc 100%),
    radial-gradient(circle at 14% 14%, #eef2f8 0%, transparent 58%);
  border-color: #d7dde6;
  box-shadow: 0 14px 28px #98a6ba26, inset 0 1px 0 #ffffff;
}

body.light-theme #about .about-story-label,
body.light-theme #about .about-cap-index {
  color: #2f7592;
}

body.light-theme #about .about-expertise-head h4,
body.light-theme #about .about-stat strong {
  color: #17304a;
}

body.light-theme #about .about-story-card p:last-child,
body.light-theme #about .about-expertise-head > p:last-child,
body.light-theme #about .about-expertise-list li,
body.light-theme #about .about-stat span {
  color: #587087;
}

body.light-theme .project-masonry__item::after {
  background: linear-gradient(180deg, transparent 0%, #f1f4f9da 100%);
}

body.light-theme .project-masonry__label {
  color: #17202e;
}

body.light-theme .about-btn {
  color: #17304a;
  border-color: #7cb3cc;
  background: #ffffff;
}

body.light-theme .about-btn--primary {
  color: #17304a;
  border-color: #7cb3cc;
  background: linear-gradient(135deg, #ffffff 0%, #edf5ff 100%);
}

body.light-theme .about-btn--ghost {
  color: #1f3f5f;
  border-color: #8ec3d8;
  background: #f8fcff;
}

body.light-theme .hero__cta,
body.light-theme .faded-cta,
body.light-theme .talk-form__submit {
  color: #16304a;
  border-color: #7fb2c8;
  background: linear-gradient(130deg, #f6fbff 0%, #eaf5ff 100%);
}

/* Careers Page Styles */
.vacancies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.vacancy-card {
  border: 1px solid #2a4561c7;
  background: linear-gradient(130deg, #0a1f3ebd 0%, #132f57b8 100%);
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vacancy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(20, 97, 172, 0.2);
}

.vacancy-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #2a4561;
}

.vacancy-header h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #e8f5ff;
  font-weight: 600;
}

.vacancy-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.vacancy-department,
.vacancy-type,
.vacancy-location {
  font-size: 0.85rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 500;
}

.vacancy-department {
  background: var(--teal);
  color: white;
}

.vacancy-type {
  background: var(--lime);
  color: #102226;
}

.vacancy-location {
  background: #2a4561;
  color: var(--muted);
}

.vacancy-description {
  margin-bottom: 1rem;
}

.vacancy-description p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.vacancy-requirements h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #e8f5ff;
  font-weight: 600;
}

.vacancy-requirements ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vacancy-requirements li {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.4;
}

.vacancy-requirements li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: bold;
}

.vacancy-apply-btn {
  margin-top: 1rem;
  width: 100%;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--lime);
  background: linear-gradient(130deg, var(--lime) 0%, #d8eb6f 60%, #ffffff 100%);
  color: #102226;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vacancy-apply-btn:hover {
  background: linear-gradient(130deg, #a0c639 0%, #c8dc5f 60%, #f0f8e8 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(183, 206, 47, 0.3);
}

.careers-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.careers-form {
  display: grid;
  gap: 1.5rem;
  background: linear-gradient(130deg, #0a1f3ebd 0%, #132f57b8 100%);
  border: 1px solid #2a4561c7;
  padding: 2rem;
  border-radius: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

.careers-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #eef7f5;
}

.careers-form input,
.careers-form select,
.careers-form textarea {
  width: 100%;
  border: 1px solid #ffffff40;
  background: #0a1619bf;
  color: #fff;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.careers-form input:focus,
.careers-form select:focus,
.careers-form textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.careers-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  margin-top: 1rem;
}

.careers-form__submit {
  padding: 0.9rem 2rem;
  border: 1px solid var(--lime);
  background: linear-gradient(130deg, var(--lime) 0%, #d8eb6f 60%, #ffffff 100%);
  color: #102226;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.careers-form__submit:hover {
  background: linear-gradient(130deg, #a0c639 0%, #c8dc5f 60%, #f0f8e8 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(183, 206, 47, 0.3);
}

@media (max-width: 768px) {
  .vacancies-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .careers-form {
    padding: 1.5rem;
  }
  
  .vacancy-meta {
    flex-direction: column;
    gap: 0.3rem;
  }
  
  .vacancy-department,
  .vacancy-type,
  .vacancy-location {
    display: inline-block;
    width: fit-content;
  }
}

