:root {
  --bg: #25272d;
  --white: #f4f4ef;
  --line: #6f7278;
  --muted: #e2e2dc;
  --grad-a: #08a8ce;
  --grad-b: #68d764;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

.slide {
  min-height: 112dvh;
  display: grid;
  place-items: center;
  overflow: visible;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding: 2rem 0;
}

.slide-inner {
  width: min(100%, 1400px);
  min-height: calc(112dvh - 4rem);
  margin: 0 auto;
}

.cover-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: auto;
  font-weight: 700;
  font-size: clamp(0.92rem, 1.2vw, 2rem);
}

.slide-cover .slide-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6% 13% 9%;
  position: relative;
}

.cover-brand {
  margin-top: 4vh;
  margin-bottom: 12vh;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  font-size: clamp(0.75rem, 1.1vw, 1rem);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  animation: fadeUp 700ms ease both;
}

.logo-orb,
.pill-orb,
.contact-orb {
  width: 0.95rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  box-shadow:
    -0.85rem 0.25rem 0 -0.42rem rgba(104, 215, 100, 0.9),
    0.78rem -0.4rem 0 -0.5rem rgba(8, 168, 206, 0.85),
    0.64rem 0.82rem 0 -0.52rem rgba(104, 215, 100, 0.8);
}

.cover-title {
  text-align: center;
  font-size: clamp(3.2rem, 11vw, 10.5rem);
  letter-spacing: 0.01em;
  line-height: 0.88;
  font-weight: 800;
  animation: titleIn 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.slide-services-nav {
  position: relative;
  display: flex;
  align-items: center;
}

.vertical-label {
  position: absolute;
  left: 1%;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: clamp(5.5rem, 11vw, 10rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--white);
  pointer-events: none;
}

.services-nav-inner {
  min-height: 100%;
  display: grid;
  place-items: center;
}

.chips-grid {
  width: min(640px, 74%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 0.9rem;
}

.pill {
  min-height: 3.1rem;
  border-radius: 999px;
  background: var(--white);
  color: #292c31;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: clamp(1.1rem, 1.55vw, 1.55rem);
  font-weight: 800;
  padding: 0 1rem;
}

.slide-intro .intro-inner {
  min-height: calc(112dvh - 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8% 12% 9%;
}

.intro-inner h2 {
  font-size: clamp(3rem, 7.2vw, 7.3rem);
  line-height: 0.88;
  margin-bottom: 11%;
  text-transform: uppercase;
  font-weight: 800;
}

.intro-gradient {
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--grad-a), var(--grad-b));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 8%;
}

.intro-text {
  font-size: clamp(1.15rem, 1.8vw, 1.9rem);
  line-height: 1.25;
  color: var(--muted);
}

.slide-service .service-inner {
  min-height: calc(112dvh - 4rem);
  padding: 2.2% 1.8% 3.2%;
}

.service-title {
  text-align: center;
  font-size: clamp(4rem, 8.2vw, 8.8rem);
  line-height: 0.86;
  text-transform: uppercase;
  margin-top: 0;
  font-weight: 800;
}

.service-subtitle {
  margin-top: 0.9%;
  text-align: center;
  font-size: clamp(1.05rem, 1.7vw, 1.95rem);
  line-height: 1.2;
  color: var(--muted);
}

.service-grid {
  margin-top: 2.8%;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 1.4%;
  align-items: stretch;
}

.service-left {
  display: flex;
  flex-direction: column;
}

.service-copy {
  font-size: clamp(1rem, 1.45vw, 1.7rem);
  line-height: 1.15;
  color: var(--muted);
}

.service-copy + .service-copy {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(104, 215, 100, 0.32);
}

.tag-row {
  display: flex;
  gap: 0.65rem;
  margin: 1rem 0 0.95rem;
  flex-wrap: wrap;
}

.tag-row span {
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  min-width: 7.5rem;
  padding: 0.4rem 0.65rem;
  text-align: center;
  font-size: clamp(0.95rem, 1.2vw, 1.35rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, var(--grad-a), var(--grad-b));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.benefits-box {
  margin-top: auto;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 1.1rem;
  padding: 0.8rem 1rem 0.75rem;
}

.benefits-box h3 {
  font-size: clamp(1.5rem, 2.2vw, 2.6rem);
  line-height: 1;
  margin-bottom: 0.65rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--grad-a), var(--grad-b));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.benefits-box ul {
  list-style: disc;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.1rem;
}

.benefits-box li {
  font-size: clamp(0.95rem, 1.35vw, 1.55rem);
  color: var(--muted);
  line-height: 1.25;
}

.service-photo {
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.06rem;
  padding: 0.58rem;
  display: flex;
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.8rem;
}

.slide-projects {
  position: relative;
}

.slide-contact .contact-inner {
  min-height: calc(112dvh - 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem 4.5rem;
}

.contact-orb {
  margin-bottom: 2.4rem;
}

.slide-contact h2 {
  font-size: clamp(3.7rem, 9vw, 10rem);
  line-height: 0.9;
  margin-bottom: 8.5rem;
}

.contact-cols {
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.contact-cols strong {
  display: block;
  font-size: clamp(1.1rem, 1.45vw, 1.6rem);
  line-height: 1;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.contact-cols span {
  color: var(--muted);
  font-size: clamp(1.2rem, 1.32vw, 1.55rem);
}

@keyframes titleIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (max-width: 1040px) {
  .chips-grid {
    grid-template-columns: 1fr;
  }

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

  .service-title {
    margin-top: 0;
  }

  .benefits-box {
    margin-top: 1.3rem;
  }

  .service-photo {
    min-height: 420px;
  }

  .vertical-label {
    left: 1%;
    opacity: 0.35;
  }
}

@media (max-width: 760px) {
  .slide {
    min-height: 122dvh;
    padding: 1.5rem 0;
  }

  .slide-inner {
    width: 100%;
    min-height: calc(122dvh - 3rem);
  }

  .vertical-label {
    display: none;
  }

  .cover-brand {
    margin-top: 0;
    margin-bottom: 9vh;
  }

  .cover-title {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .cover-meta {
    font-size: 0.86rem;
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }

  .intro-inner h2 {
    font-size: clamp(2.3rem, 12vw, 4rem);
  }

  .intro-gradient {
    font-size: 1.45rem;
  }

  .intro-text {
    font-size: 1.24rem;
    line-height: 1.25;
  }

  .service-title {
    font-size: clamp(2.6rem, 11vw, 5rem);
    margin-top: 0;
    line-height: 0.92;
  }

  .service-subtitle {
    margin-top: 1rem;
    font-size: 1.15rem;
    line-height: 1.35;
  }

  .service-copy {
    font-size: 1.08rem;
    line-height: 1.3;
  }

  .tag-row {
    margin: 1.1rem 0;
  }

  .tag-row span {
    min-width: auto;
    flex: 1;
    font-size: 1rem;
  }

  .benefits-box h3 {
    font-size: 1.8rem;
  }

  .benefits-box li {
    font-size: 1.02rem;
    line-height: 1.3;
  }

  .service-photo {
    min-height: 320px;
  }

  .slide-contact h2 {
    margin-bottom: 3.2rem;
  }

  .contact-cols {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cover-brand,
  .cover-title,
  .reveal,
  .pill,
  .service-photo img {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.pill {
  transition: transform 200ms ease, box-shadow 220ms ease;
}

.pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-photo img {
  transition: transform 700ms ease;
}

.slide-service.in-view .service-photo img {
  transform: scale(1.03);
}

.cover-logo { width: 72px; height: 48px; object-fit: contain; }
