:root {
  --lcw-pink: #c55490;
  --lcw-blue: #3691c0;
  --ink: #111722;
  --white: #ffffff;
  --page-gutter: clamp(16px, 5vw, 96px);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--lcw-blue);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(to bottom left, var(--lcw-pink) 0%, #8d72a8 48%, var(--lcw-blue) 100%);
  background-attachment: fixed;
}

button,
a {
  color: inherit;
}

.site-shell {
  width: 100%;
  padding: clamp(32px, 4vw, 72px) var(--page-gutter);
}

.hero {
  display: grid;
  grid-template-columns: 28.6% repeat(3, 23.8%);
  /* 1980 × 1115 Photoshop canvas displayed at roughly two-thirds scale. */
  width: min(100%, 1320px);
  aspect-ratio: 1980 / 1115;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 36px;
  background: var(--ink);
  box-shadow: -1px 2px 34px 11px rgba(0, 0, 0, 0.27);
}

.hero__control {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  --control-pad: clamp(22px, 2.6vw, 34px);
  min-width: 0;
  padding: 0 var(--control-pad) clamp(26px, 2.6vw, 36px);
  background: var(--ink);
}

.hero__brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% + (var(--control-pad) * 2));
  aspect-ratio: 568 / 122;
  margin-inline: calc(var(--control-pad) * -1);
  padding-inline: var(--control-pad);
  gap: 14px;
  --brandbar-offset: clamp(8px, 1.2vw, 16px);
  transform: translateY(var(--brandbar-offset));
  background: url("../images/logo-base.png") center / 100% 100% no-repeat;
}

.hero__brand-lockup {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) 1px minmax(0, 1fr);
  align-items: center;
  width: min(70%, 214px);
  gap: clamp(9px, 0.8vw, 15px);
}

.hero__logo {
  display: block;
  width: 100%;
  height: auto;
}

.hero__brand-divider {
  width: 1px;
  height: 72%;
  min-height: 34px;
  background: rgba(255, 255, 255, 0.42);
}

.menu-button {
  flex: 0 0 auto;
  width: clamp(42px, 3.8vw, 50px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-button img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__statement {
  margin: clamp(56px, 5vw, 92px) 0 auto;
  font-size: 35.733px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.hero__statement span,
.hero__statement strong,
.hero__statement small {
  display: block;
}

.hero__statement strong {
  font-weight: 500;
}

.hero__statement small {
  margin-top: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  font-size: 21.44px;
  font-weight: 100;
  line-height: 1.28;
}

.hero__accent {
  width: 58%;
  height: 10px;
  margin-bottom: clamp(70px, 8vw, 105px);
  background: linear-gradient(90deg, #65a8ed, #aa74d1 52%, #df3193);
}

.service-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  background: #071326;
}

.service-panel::before {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 15px;
  content: "";
  pointer-events: none;
  background: url("../images/hero/hero-shadow.png") left top / 100% 100% no-repeat;
}

.service-panel::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(3, 10, 22, 0.18) 0%, transparent 45%, rgba(3, 10, 22, 0.82) 100%);
}

.service-panel picture,
.service-panel picture img {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
}

.service-panel picture img {
  object-fit: cover;
}

.service-panel h2 {
  position: absolute;
  z-index: 2;
  top: 50px;
  left: clamp(26px, 2.5vw, 52px);
  right: 24px;
  margin: 0;
  font-size: 21.44px;
  font-weight: 600;
  line-height: 1.1;
}

.service-panel__number {
  position: absolute;
  z-index: 1;
  top: 21%;
  left: 0;
  width: auto;
  height: 43%;
  max-width: none;
  pointer-events: none;
  object-fit: contain;
  transform: translateX(-18%);
}

.service-panel__number--1 {
  top: 22.5%;
  left: 0;
  height: 39%;
  transform: translateX(-18%);
}

.service-panel p {
  position: absolute;
  z-index: 2;
  top: 79%;
  right: clamp(24px, 2vw, 44px);
  bottom: auto;
  left: clamp(26px, 2.5vw, 52px);
  margin: 0;
  font-size: 12.507px;
  font-weight: 400;
  line-height: 1.38;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.7);
}

@media (max-width: 1050px) {

  .site-shell {
    padding: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    min-height: 0;
  }

  .hero__control,
  .service-panel {
    min-height: min(76vh, 720px);
  }

  .hero__statement {
    font-size: clamp(38px, 7vw, 66px);
  }

  

.service-panel h2 {
    font-size: clamp(28px, 5vw, 44px);
  }

  .service-panel__number {
  position: absolute;
  z-index: 1;
  top: 21%;
  left: 0;
  width: auto;
  height: 43%;
  max-width: none;
  pointer-events: none;
  object-fit: contain;
  transform: translateX(-18%);
}

  .service-panel__number--1 {
  top: 22.5%;
  left: 0;
  height: 39%;
  transform: translateX(-18%);
}

.service-panel p {
    max-width: 34rem;
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    padding: 12px;
  }

  .hero {
    border-radius: 22px;
  }

  .hero__control,
  .service-panel {
    min-height: 620px;
  }

  .hero__control {
    --control-pad: 28px;
    padding: 0 var(--control-pad) 28px;
  }

  .hero__brand-lockup {
    width: min(76%, 270px);
  }

  .hero__accent {
    height: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

/* LCW hero number interaction */
.service-panel__number {
  transform-origin: center;
  transition:
    transform 1200ms ease-out,
    filter 700ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-panel:hover .service-panel__number {
    transform: translateX(-18%) scale(1.08);
    transition-duration: 6000ms, 700ms;
    transition-timing-function: cubic-bezier(0.42, 0, 0.75, 1), ease;
    filter:
      brightness(0) invert(1)
      drop-shadow(0 0 5px rgba(255, 255, 255, 0.95))
      drop-shadow(0 0 14px rgba(255, 255, 255, 0.72));
  }
}

.service-panel:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: -4px;
}

.service-panel:focus-visible .service-panel__number {
  transform: translateX(-18%) scale(1.08);
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 5px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.72));
}

@media (prefers-reduced-motion: reduce) {
  .service-panel__number {
    transition: none;
  }

  .service-panel:hover .service-panel__number,
  .service-panel:focus-visible .service-panel__number {
    transform: translateX(-18%);
  }
}