﻿:root {
  color-scheme: light;
  --white: #ffffff;
  --black: #000000;
  --ink: #111111;
  --muted: #555555;
  --line: #d9d9d9;
  --soft: #f7f7f7;
  --accent: #111111;
  --gold: #ffc400;
  --radius-sm: 6px;
  --radius-video: 28px;
  --max: 1480px;
  --narrow: 1040px;
}

* {
  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;
}

.intro-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(58px, 5.5vw, 104px) clamp(22px, 5vw, 96px) clamp(34px, 4vw, 70px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.4fr);
  gap: clamp(38px, 8vw, 150px);
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.intro-copy {
  padding-top: 24px;
}

.intro-copy h1,
.portfolio-band h2,
.help-section h2 {
  margin: 0;
  color: inherit;
  letter-spacing: 0;
  line-height: 1.02;
}

.intro-copy h1 {
  font-size: clamp(44px, 4.6vw, 60px);
  font-weight: 950;
}

.intro-kicker {
  margin: 6px 0 0;
  max-width: 600px;
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 900;
  line-height: 1.05;
}

.intro-copy p:not(.intro-kicker) {
  max-width: 600px;
  margin: 14px 0 0;
  color: #242424;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.48;
}

.portfolio-link {
  display: inline-block;
  margin-top: 14px;
  color: #004a9f;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

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

.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 {
  display: block;
  width: 100%;
  height: 100%;
  background: #0b0b0b;
  object-fit: cover;
}

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

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 30px;
  max-width: 1180px;
  margin: clamp(48px, 6vw, 88px) auto 0;
}

.quote-grid span {
  display: grid;
  min-height: 34px;
  place-items: center;
  padding: 7px 10px;
  border: 2px solid #222;
  color: #242424;
  text-align: center;
  font-size: clamp(11px, 0.86vw, 14px);
  font-weight: 760;
  line-height: 1.15;
}

.proof-strip {
  max-width: 960px;
  margin: 34px auto 0;
}

.proof-strip img {
  display: block;
  width: 100%;
  height: auto;
}

.featured-proof-row {
  max-width: 1180px;
  margin: clamp(42px, 5vw, 72px) auto 0;
}

.featured-proof-row img {
  display: block;
  width: 100%;
  height: auto;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1380px;
  margin: clamp(42px, 5vw, 74px) auto 0;
  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-band {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 5.2vw, 88px) clamp(22px, 4vw, 76px);
}

.portfolio-band::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 / 110px 100%,
    radial-gradient(circle at 20% 16%, 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%);
}

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

.portfolio-band h2 {
  text-align: center;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 950;
}

.band-subtitle {
  margin: 20px 0 0;
  text-align: center;
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 950;
}

.video-mosaic {
  display: grid;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin-top: clamp(34px, 4vw, 58px);
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(135px, 172px));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(145px, 190px));
}

.grid-centered {
  grid-template-columns: repeat(3, minmax(145px, 190px));
}

.grid-centered .video-tile:nth-child(1):nth-last-child(2) {
  grid-column: 1;
}

.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-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;
}

.help-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.35fr);
  gap: clamp(32px, 5vw, 80px);
  max-width: 1180px;
  align-items: center;
  margin: 0 auto;
  padding: clamp(42px, 5vw, 78px) clamp(22px, 5vw, 96px);
}

.help-section h2 {
  text-align: center;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 950;
}

.help-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.help-lists ul {
  margin: 0;
  padding-left: 18px;
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 800;
  line-height: 1.35;
}

.help-lists li + li {
  margin-top: 4px;
}

.help-copy .button {
  margin-top: 34px;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 18px;
}

.email-link {
  display: block;
  margin-top: 22px;
  color: #3e3e3e;
  font-size: 18px;
  font-weight: 800;
  text-decoration: underline;
}

.headshot-card {
  overflow: hidden;
  width: min(100%, 310px);
  aspect-ratio: 1;
  margin: 0;
  justify-self: center;
  border-radius: 50%;
}

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

.footer-strip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  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) {
  .intro-grid,
  .help-section {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    padding-top: 0;
  }

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

  .grid-4,
  .grid-3,
  .grid-centered {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

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

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

  .help-lists {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 680px) {
  .intro-section {
    padding: 34px 18px 36px;
  }

  .intro-grid {
    gap: 28px;
  }

  .intro-copy h1 {
    font-size: 44px;
  }

  .intro-kicker {
    font-size: 20px;
  }

  .quote-grid {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .proof-strip {
    margin-top: 26px;
  }

  .service-strip {
    grid-template-columns: 1fr;
    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;
  }

  .grid-4,
  .grid-3,
  .grid-centered {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-band {
    padding: 38px 18px;
  }

  .video-mosaic {
    gap: 18px;
  }

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

  .help-section {
    padding: 38px 18px 44px;
  }

  .help-lists {
    grid-template-columns: 1fr;
  }

  .footer-strip {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .grid-4,
  .grid-3,
  .grid-centered {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .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;
  }
}
