:root {
  --color-bg: #0a0a0a;
  --color-text: #f5f5f0;
  --color-text-dim: rgba(245, 245, 240, 0.72);
  --color-accent: #6be277;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.18) 20%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.95) 100%),
    radial-gradient(ellipse 70% 55% at 30% 48%, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 70%);
}

/* Nav */

.hero__nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 64px) 0;
}

.hero__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.hero__logo img {
  display: block;
  height: 28px;
  width: auto;
}

.hero__nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.hero__nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.hero__nav-links a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.hero__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3;
}

.hero__menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Content */

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 clamp(20px, 5vw, 64px);
  width: 100%;
  max-width: 1600px;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5.8vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-text);
  width: 100%;
}

.hero__sectors {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  margin-top: 40px;
}

.hero__sector {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 1 auto;
}

.hero__sector-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero__sector-detail {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-dim);
  line-height: 1.5;
  white-space: nowrap;
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn--primary:hover {
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(245, 245, 240, 0.4);
}

.btn--ghost:hover {
  border-color: var(--color-text);
  transform: translateY(-2px);
}

/* Scroll indicator */

.hero__scroll {
  position: relative;
  z-index: 2;
  align-self: center;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text-dim);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(245,245,240,0.9), rgba(245,245,240,0));
  animation: scrollLine 1.8s ease-in-out infinite;
}

.hero__scroll-text {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

main {
  background: var(--color-bg);
}

/* ---------- SERVICES ---------- */

.services {
  border-top: 2px solid var(--color-accent);
  padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 64px);
}

.services__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services__header {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.services__eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.services__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 60px);
  line-height: 1.15;
  color: var(--color-text);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: rgba(245, 245, 240, 0.04);
  border: 1px solid rgba(245, 245, 240, 0.1);
  border-radius: 24px;
  padding: clamp(32px, 3.5vw, 48px);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.service-card:hover {
  border-color: var(--color-accent);
  background: rgba(245, 245, 240, 0.06);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -16px rgba(107, 226, 119, 0.35);
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.service-card__index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--color-text-dim);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(107, 226, 119, 0.1);
  color: var(--color-accent);
  transition: background 0.3s ease;
}

.service-card:hover .service-card__icon {
  background: rgba(107, 226, 119, 0.2);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--color-text);
  margin-bottom: 14px;
}

.service-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-dim);
  margin-bottom: 24px;
}

.service-card__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-card__list li {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  background: rgba(245, 245, 240, 0.07);
  border-radius: 999px;
  padding: 8px 16px;
}

/* ---------- VALLEY BAND ---------- */

.valley-band {
  position: relative;
  width: 100%;
  height: clamp(280px, 42vw, 520px);
  overflow: hidden;
}

.valley-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- WORK ---------- */

.work {
  background: #f8fff8;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px) clamp(80px, 12vw, 160px);
}

.work__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.work__header {
  max-width: 640px;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.work__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-bg);
  background: var(--color-accent);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 20px;
}

.work__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--color-bg);
}

.work__subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
  margin: 0 0 20px;
}

.work__subtitle--web {
  margin-top: clamp(48px, 6vw, 72px);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work__grid--web {
  grid-template-columns: repeat(2, 1fr);
}

.work__web-item {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-bg);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work__web-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(10, 10, 10, 0.14);
}

.work__web-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: rgba(245, 245, 240, 0.06);
}

.work__web-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(245, 245, 240, 0.25);
}

.work__web-url {
  margin-left: 10px;
  font-size: 11px;
  color: rgba(245, 245, 240, 0.4);
}

.work__web-item img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: top;
}

.work__web-info {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.work__web-info .work__caption-title {
  color: var(--color-text);
}

.work__web-info .work__caption-tag {
  color: var(--color-accent);
}

.work__web-info .work__caption-tag--progress {
  color: #d99a3c;
}

.work__item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(245, 245, 240, 0.04);
}

.work__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.work__item:hover img {
  transform: scale(1.06);
}

.work__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
}

.work__caption-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
}

.work__caption-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ---------- TESTIMONIALS ---------- */

.testimonials {
  background: var(--color-bg);
  padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 64px);
}

.testimonials__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials__header {
  max-width: 640px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.testimonials__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--color-text);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-placeholder {
  aspect-ratio: 4 / 3;
  border: 2px dashed rgba(245, 245, 240, 0.15);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  color: var(--color-text-dim);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.testimonial-placeholder:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.testimonial-placeholder svg {
  width: 32px;
  height: 32px;
}

.testimonial-placeholder__label {
  font-size: 13px;
  font-weight: 500;
}

/* ---------- CONTACT ---------- */

.contact {
  background: var(--color-bg);
  border-top: 2px solid var(--color-accent);
  padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 64px);
  text-align: center;
}

.contact__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact__eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 28px;
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-bg);
  background: var(--color-accent);
  text-decoration: none;
  border-radius: 999px;
  padding: 16px 32px;
  transition: transform 0.2s ease;
}

.contact__email svg {
  width: 20px;
  height: 20px;
}

.contact__email:hover {
  transform: translateY(-2px);
}

.contact__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.contact__social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(245, 245, 240, 0.2);
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact__social svg {
  width: 18px;
  height: 18px;
}

.contact__social:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* ---------- FOOTER ---------- */

.footer {
  background: var(--color-bg);
  border-top: 2px solid var(--color-accent);
  padding: 28px clamp(20px, 5vw, 64px);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.footer__copy {
  font-size: 13px;
  color: var(--color-text-dim);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .work__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .hero__menu-btn {
    display: flex;
  }

  .hero__nav-links {
    position: fixed;
    inset: 0;
    z-index: 2;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    background: rgba(10, 10, 10, 0.97);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .hero__nav-links.is-open {
    transform: translateX(0);
  }

  .hero__nav-links a {
    font-size: 20px;
  }

  .hero__menu-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hero__menu-btn.is-open span:nth-child(2) {
    opacity: 0;
  }

  .hero__menu-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero__actions {
    width: 100%;
  }

  .btn {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
