﻿:root {
  color-scheme: light;
  --white: #ffffff;
  --black: #000000;
  --ink: #111111;
  --muted: #565656;
  --line: #d9d9d9;
  --radius-sm: 6px;
  --radius-video: 28px;
  --max: 1366px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
video {
  font: inherit;
}

.ve-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: clamp(42px, 9vw, 160px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 100px) clamp(24px, 5vw, 88px) clamp(44px, 6vw, 86px);
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(64px, 11vw, 150px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.9;
}

.role {
  margin: 22px 0 0;
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.05;
}

.hero-copy p:not(.role) {
  max-width: 790px;
  margin: 20px 0 0;
  color: #222222;
  font-size: clamp(16px, 1.35vw, 22px);
  font-weight: 650;
  line-height: 1.45;
}

.portfolio-link {
  display: inline-block;
  margin-top: 18px;
  color: #004a9f;
  font-size: clamp(17px, 1.45vw, 24px);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 850;
}

.button-dark {
  background: var(--black);
  color: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.media-card {
  position: relative;
  overflow: hidden;
  background: #0b0b0b;
}

.media-card video,
.media-card img {
  display: block;
  width: 100%;
  height: 100%;
  background: #0b0b0b;
  object-fit: cover;
}

.hero-phone {
  width: min(100%, 320px);
  aspect-ratio: 9 / 16;
  justify-self: center;
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: min(1380px, calc(100% - 48px));
  margin: 0 auto clamp(24px, 4vw, 52px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 248, 248, 0.96)),
    radial-gradient(circle at 50% 0, rgba(0, 0, 0, 0.05), transparent 42%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.06);
}

.service-item {
  position: relative;
  display: grid;
  min-height: 176px;
  align-content: center;
  justify-items: center;
  padding: 24px 20px 26px;
  text-align: center;
}

.service-item + .service-item::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 0;
  width: 2px;
  background: #ff2b2b;
  content: "";
}

.service-item svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--black);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-item h3 {
  margin: 16px 0 0;
  color: var(--black);
  font-size: clamp(16px, 1.25vw, 21px);
  font-weight: 950;
  line-height: 1.08;
}

.service-item p {
  max-width: 180px;
  margin: 8px 0 0;
  color: #242424;
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 620;
  line-height: 1.24;
}

.portfolio-section {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 88px) clamp(20px, 4vw, 76px);
}

.portfolio-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.band-dark {
  background: var(--black);
  color: var(--white);
}

.band-dark::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 112px 100%,
    radial-gradient(circle at 20% 18%, rgba(255, 43, 43, 0.13), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(255, 255, 255, 0.08), transparent 30%);
}

.band-light {
  background: var(--white);
  color: var(--ink);
}

.band-light::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px) 0 0 / 120px 100%,
    linear-gradient(180deg, rgba(0, 0, 0, 0.035), transparent 34%);
}

.section-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.portfolio-section h2,
.contact-strip h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.04;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(145px, 220px));
  gap: clamp(18px, 2.8vw, 34px);
  justify-content: center;
  align-items: start;
  margin-top: clamp(34px, 4.8vw, 70px);
}

.compact-grid {
  grid-template-columns: repeat(3, minmax(150px, 220px));
}

.two-up {
  grid-template-columns: repeat(2, minmax(180px, 240px));
}

.mixed-grid,
.ai-grid {
  grid-template-columns: repeat(2, minmax(160px, 220px));
}

.video-tile {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-video);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.band-light .video-tile {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.video-tile.is-square {
  aspect-ratio: 1;
}

.video-tile.is-wide {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  grid-column: 1 / -1;
  width: min(100%, 560px);
  justify-self: center;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: grid;
  width: 62px;
  height: 62px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.video-play-button::before {
  display: block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid var(--ink);
  content: "";
}

.video-play-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.video-play-button:hover {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.06);
}

.is-playing .video-play-button {
  opacity: 0;
  pointer-events: none;
}

.contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.35fr);
  gap: clamp(30px, 6vw, 90px);
  max-width: 1180px;
  align-items: center;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 100px) clamp(24px, 5vw, 88px);
}

.contact-strip h2 {
  text-align: left;
  font-size: clamp(42px, 7vw, 90px);
}

.contact-strip a {
  display: inline-flex;
  margin-top: 24px;
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.contact-strip img {
  display: block;
  width: min(100%, 320px);
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
  object-fit: cover;
}

.footer-strip {
  padding: 8px 14px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .ve-hero,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .hero-phone {
    width: min(100%, 300px);
  }

  .media-grid,
  .compact-grid {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }

  .mixed-grid,
  .ai-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-item:nth-child(4)::before {
    display: none;
  }
}

@media (max-width: 680px) {
  .ve-hero {
    gap: 20px;
    padding: 28px 18px 22px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .role {
    margin-top: 14px;
    font-size: 22px;
  }

  .hero-copy p:not(.role) {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.34;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    min-height: 42px;
  }

  .hero-phone {
    width: min(100%, 150px);
  }

  .service-strip {
    grid-template-columns: 1fr;
    max-width: calc(100% - 36px);
    margin-bottom: 20px;
    box-shadow: none;
  }

  .service-item {
    min-height: 0;
    grid-template-columns: 48px minmax(0, 1fr);
    justify-items: start;
    padding: 18px;
    text-align: left;
  }

  .service-item + .service-item::before {
    top: 0;
    right: 18px;
    bottom: auto;
    left: 18px;
    width: auto;
    height: 1px;
    background: rgba(255, 43, 43, 0.55);
  }

  .service-item h3,
  .service-item p {
    grid-column: 2;
  }

  .service-item h3 {
    margin-top: 0;
  }

  .service-item p {
    max-width: none;
  }

  .portfolio-section {
    padding: 42px 18px;
  }

  .media-grid,
  .compact-grid,
  .two-up,
  .mixed-grid,
  .ai-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-tile {
    border-radius: 20px;
  }

  .video-tile.is-wide {
    grid-column: 1 / -1;
    width: min(100%, 300px);
  }

  .contact-strip {
    padding: 46px 18px 52px;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    flex-direction: column;
  }

  .video-play-button {
    width: 48px;
    height: 48px;
  }

  .video-play-button::before {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
