/* ============================================================
   HOME PAGE STYLES
   See DESIGN.md for the type scale, spacing scale, and utilities.
   Layout: hero → clients → services → lumen → work → vp-land → cta
   ============================================================ */

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--space-7) var(--space-8);
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Subtle red radial halo above the video, beneath the dark overlay.
   Anchored bottom-right so it pools around the headline area. */
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 55% at 40% 75%,
    rgba(196, 1, 1, 0.18) 0%,
    transparent 65%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 13, 16, 1) 0%,
    rgba(10, 13, 16, 0.65) 35%,
    rgba(10, 13, 16, 0.15) 65%,
    transparent 100%
  );
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
}
.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--red);
}
.hero-headline {
  /* Display Mega — DESIGN.md §4 */
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(80px, 11vw, 172px);
  font-weight: 400;
  line-height: 0.90;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: var(--space-6);
}
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
}
.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}

/* ─── CLIENTS ─── */
.clients {
  padding: var(--space-8) var(--space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.clients-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: var(--space-6);
  text-align: center;
}
.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-7);
  flex-wrap: wrap;
}
.client-logo {
  height: 64px;
  width: auto;
  opacity: 0.32;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
  object-fit: contain;
}
.client-logo:hover { opacity: 0.7; }

/* ─── SERVICES ─── */
.services {
  padding: var(--space-9) var(--space-7);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 1280px;
  margin: 0 auto;
}
.services-header {
  text-align: center;
  margin-bottom: var(--space-9);
}
.services-header .section-label {
  justify-content: center;
}
.services-title {
  /* Section Display */
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 7vw, 108px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: var(--space-3);
}
.services-lead {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}
.service-row {
  padding: var(--space-7) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.service-row:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.service-row-header {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-5);
  align-items: baseline;
  margin-bottom: var(--space-6);
}
.service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--red);
  line-height: 1;
}
.service-row-titles {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.service-row-title {
  /* Section Heading */
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 0.03em;
  color: var(--white);
}
.service-row-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.85);
}
.service-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-left: calc(80px + var(--space-5));
}
.service-item h4 {
  /* Feature Heading */
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: var(--space-3);
}
.service-item p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
}

/* ─── LUMEN ─── */
.lumen {
  padding: var(--space-9) var(--space-7);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.012);
}
.lumen-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.lumen-header {
  text-align: center;
  margin-bottom: var(--space-9);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.lumen-header .section-label {
  justify-content: center;
}
.lumen-title {
  /* Section Display, with the dot suffix already in the text */
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 7vw, 108px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: var(--space-3);
}
.lumen-subtitle {
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-5);
}
.lumen-body {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.6);
  max-width: 760px;
  margin: 0 auto;
}
.lumen-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7);
}
.lumen-pillar {
  padding: var(--space-6) var(--space-5);
}
.lumen-pillar-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--red);
  line-height: 1;
  margin-bottom: var(--space-4);
}
.lumen-pillar-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: var(--space-3);
}
.lumen-pillar p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
}

/* ─── WORK ─── */
.work {
  padding: var(--space-9) var(--space-7);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 1400px;
  margin: 0 auto;
}
.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-7);
}
.work-title {
  /* Section Display */
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 7vw, 108px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
}
.work-view-all {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.work-view-all:hover { color: var(--white); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.work-card {
  position: relative;
  overflow: hidden;
  background: #0d1014;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.work-card-media {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}
.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: opacity 0.5s ease, transform 0.7s ease;
}
.work-card:hover .work-card-img {
  opacity: 1;
  transform: scale(1.04);
}
.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 13, 16, 0.97) 0%,
    rgba(10, 13, 16, 0.35) 55%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
  transition: background 0.4s;
}
.work-card:hover .work-card-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 13, 16, 0.99) 0%,
    rgba(10, 13, 16, 0.55) 60%,
    rgba(10, 13, 16, 0.1) 100%
  );
}
.work-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-2);
}
.work-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-3);
  transition: letter-spacing 0.3s;
}
.work-card:hover .work-card-title { letter-spacing: 0.05em; }
.work-desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 380px;
}
.work-arrow {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.45);
  opacity: 0;
  transform: translate(8px, -8px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.3s, color 0.3s;
  background: rgba(10, 13, 16, 0.6);
  backdrop-filter: blur(4px);
}
.work-card:hover .work-arrow {
  opacity: 1;
  transform: translate(0, 0);
  border-color: var(--red);
  color: var(--white);
}

/* ─── VP LAND ─── */
.vp-land {
  padding: var(--space-8) var(--space-7);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
}
.vp-land-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.vp-land-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 7vw, 108px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: var(--space-5);
}
.vp-land-body {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.85;
  margin-bottom: var(--space-5);
  max-width: 520px;
}
.vp-land-cta {
  margin-top: var(--space-3);
}
.vp-land-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.vp-land-banner-img {
  max-width: 100%;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.4s;
}
.vp-land:hover .vp-land-banner-img { opacity: 1; }

/* ============================================================
   RESPONSIVE — 3-tier 640 / 1024
   See DESIGN.md §9
   ============================================================ */

/* Tablet (640–1023px) */
@media (max-width: 1023px) {
  .hero { padding: 0 var(--space-6) var(--space-7); }
  .hero-bottom { gap: var(--space-5); }
  .services,
  .lumen,
  .work,
  .vp-land { padding-left: var(--space-6); padding-right: var(--space-6); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .lumen-pillars { grid-template-columns: 1fr; gap: var(--space-5); }
  .service-items {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    margin-left: 0;
  }
  .service-row-header { grid-template-columns: 60px 1fr; gap: var(--space-4); }
  .vp-land-inner { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* Mobile (<640px) */
@media (max-width: 639px) {
  .hero { padding: 0 var(--space-4) var(--space-6); min-height: 640px; }
  .hero-headline { font-size: clamp(56px, 14vw, 88px); line-height: 0.92; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: var(--space-5); }
  .hero-sub { max-width: 100%; font-size: 16px; }
  .hero-actions { flex-direction: column; width: 100%; gap: var(--space-3); }
  .hero-actions a { justify-content: center; width: 100%; }

  .clients { padding: var(--space-7) var(--space-4); }
  .clients-logos { gap: var(--space-5); }
  .client-logo { height: 44px; }

  .services,
  .lumen,
  .work,
  .vp-land {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
  .services { padding-top: var(--space-8); padding-bottom: var(--space-8); }
  .services-header { margin-bottom: var(--space-7); }

  .service-row-header { grid-template-columns: 1fr; gap: var(--space-3); margin-bottom: var(--space-5); }
  .service-num { font-size: 22px; }
  .service-items { grid-template-columns: 1fr; gap: var(--space-5); margin-left: 0; }
  .service-item h4 { font-size: 19px; }

  .lumen { padding-top: var(--space-8); padding-bottom: var(--space-8); }
  .lumen-header { margin-bottom: var(--space-7); }
  .lumen-pillars { gap: var(--space-5); }
  .lumen-pillar { padding: var(--space-5) 0; }
  .lumen-pillar-title { font-size: 36px; }

  .work { padding-top: var(--space-8); padding-bottom: var(--space-8); }
  .work-header { flex-direction: column; align-items: flex-start; gap: var(--space-4); margin-bottom: var(--space-6); }
  .work-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .work-card-media { aspect-ratio: 16/10; }
  .work-card-overlay { padding: var(--space-4); }
  .work-card-title { font-size: 30px; }

  .vp-land { padding-top: var(--space-7); padding-bottom: var(--space-7); }
  .vp-land-logo-wrap { display: none; }
  .vp-land-body { font-size: 16px; }
}
