:root {
  color-scheme: light;
  --ink: #121722;
  --navy: #08182d;
  --blue: #2547a0;
  --yellow: #f6c423;
  --hover-duration: .5s;
  --hover-scale: 1.04;
  --heading: "Poppins", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.65 var(--body);
}

h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid #2a71de;
  outline-offset: 5px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: clamp(36rem, 83svh, 49rem);
  overflow: hidden;
  border-radius: 0 0 clamp(2.25rem, 5vw, 5.25rem) clamp(2.25rem, 5vw, 5.25rem);
  background: var(--navy) url("assets/home/home-poster.jpg") center / cover no-repeat;
  color: #fff;
}

.hero::after, .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-video { z-index: -2; object-fit: cover; }

.hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgb(4 13 28 / 76%), rgb(4 15 36 / 58%) 52%, rgb(4 15 36 / 55%));
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  width: min(100%, 100rem);
  margin-inline: auto;
  padding: clamp(1.35rem, 3vw, 2.5rem) clamp(1.4rem, 5vw, 5rem);
  font: 600 clamp(1rem, 2.1vw, 1.5rem)/1.2 var(--heading);
}

.brand {
  font-weight: 700;
  letter-spacing: -.045em;
  text-decoration: none;
}

.brand span { font-weight: 600; }
.site-header nav a {
  text-decoration: none;
  transition: opacity .2s ease;
}

.hero-content {
  position: relative;
  justify-self: center;
  align-self: start;
  width: min(100%, 76rem);
  padding: clamp(5rem, 13svh, 9rem) 1.5rem 6rem;
  text-align: center;
}

.hero-kicker {
  font: 600 clamp(1rem, 2vw, 1.625rem)/1.4 var(--heading);
  margin-bottom: .65rem;
}

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(2.15rem, 4.25vw, 4rem);
  line-height: 1.07;
  text-transform: uppercase;
  text-wrap: balance;
}

.contact {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: .95rem 2.2rem;
  min-height: 3.65rem;
  border: 0;
  border-radius: 100vw;
  background: var(--yellow);
  color: #141923;
  font: 700 .95rem/1.3 var(--heading);
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--hover-duration) ease, transform var(--hover-duration) ease;
}

@media (hover: hover) {
  .site-header nav a:hover { opacity: .2; }
  .contact:hover {
    background: #ffda54;
  }

  .contact:hover, .client-logos img:hover {
    transform: scale(var(--hover-scale));
  }
}

.hero :focus-visible { outline-color: #fff; }

.intro {
  display: grid;
  grid-template-columns: 1fr .94fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  width: min(100%, 86rem);
  margin-inline: auto;
  padding: clamp(3.5rem, 7vw, 6.75rem) clamp(1.4rem, 5vw, 4.5rem);
}

.intro-copy {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: clamp(24rem, 35vw, 33rem);
}

.intro-flower {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .32;
  z-index: -1;
}

.intro-text { width: min(76%, 26rem); }

h2 {
  font-size: clamp(2rem, 3.35vw, 3.25rem);
  line-height: 1.09;
}

h2 em { color: var(--blue); }

.intro-text p, .feature p {
  color: #263244;
  font: 600 1.125rem/1.5 var(--body);
}

.intro-text p {
  margin-top: 1.15rem;
  max-width: 34ch;
}

.features {
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.45rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: clamp(.9rem, 1.5vw, 1.35rem);
}

.feature-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: clamp(3rem, 4.35vw, 4rem);
  aspect-ratio: 1;
  border: 4px solid var(--blue);
  border-radius: 50%;
  background: #172b63;
  box-shadow: 0 0 10px 1px #1a7cef, 0 0 20px 6px rgb(26 124 239 / 35%);
  color: #fff;
}

.feature-icon svg {
  width: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  line-height: 1.2;
}

.feature p {
  max-width: 41ch;
  margin-top: .35rem;
}

@media (max-width: 48rem) {
  .hero { min-height: clamp(32rem, 78svh, 42rem); }
  .hero-content { align-self: center; padding-top: 2rem; }
  .intro { grid-template-columns: 1fr; max-width: 39rem; gap: 2rem; }
  .intro-copy { min-height: clamp(19rem, 75vw, 27rem); }
}

.clients {
  width: min(100%, 90rem);
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.4rem, 5vw, 4.5rem);
  text-align: center;
}

.clients h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  text-wrap: balance;
}

.clients-accent {
  position: relative;
  display: inline-block;
}

.clients-accent::after {
  position: absolute;
  inset: auto 0 -.18em;
  height: .23em;
  border-top: .09em solid var(--blue);
  border-radius: 50%;
  transform: rotate(-3deg);
  content: "";
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: clamp(.75rem, 3vw, 3.25rem);
  margin: clamp(1.8rem, 4vw, 3.25rem) 0;
  padding: 0;
  list-style: none;
}

.client-logos li {
  display: grid;
  place-items: center;
  min-width: 0;
}

.client-logos img {
  display: block;
  width: min(100%, 14rem);
  height: auto;
  transition: transform var(--hover-duration) ease;
}

.client-logo-portrait img { width: min(82%, 10rem); }

.clients p {
  color: #263244;
  font: 600 clamp(1.125rem, 2vw, 1.5rem)/1.5 var(--body);
  text-wrap: balance;
}

.clients strong { color: var(--blue); }

@media (max-width: 40rem) {
  .client-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 26rem;
    margin-inline: auto;
  }

  .client-logos li:nth-child(3) { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header nav a, .contact, .client-logos img { transition: none; }
  .contact:hover, .client-logos img:hover { transform: none; }
}

.services {
  --service-accent: #f4c542;
  background: var(--blue);
  color: #fff;
  padding: clamp(3.5rem, 6vw, 4.5rem) clamp(1.4rem, 4vw, 3rem) clamp(3.75rem, 7vw, 5rem);
}

.services-inner {
  max-width: 68.75rem;
  margin-inline: auto;
}

.services-label {
  color: var(--service-accent);
  font: 700 .75rem/1.5 var(--heading);
  letter-spacing: .23em;
  text-align: center;
  text-transform: uppercase;
}

.services h2 {
  margin-top: 1rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -.02em;
  text-align: center;
}

.services-description {
  max-width: 35rem;
  margin: .9rem auto clamp(2rem, 5vw, 3.25rem);
  color: #e0e8ff;
  font: 600 1.125rem/1.5 var(--body);
  text-align: center;
  text-wrap: balance;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card {
  padding: 2rem clamp(1.25rem, 2vw, 1.625rem) 1.75rem;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 1rem;
  background: rgb(255 255 255 / 6%);
  transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.375rem;
  border: 1px solid rgb(244 197 66 / 40%);
  border-radius: .75rem;
  background: rgb(244 197 66 / 15%);
  color: var(--service-accent);
}

.service-icon svg {
  width: 1.625rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.service-card h3::after {
  display: block;
  width: 1.75rem;
  height: 2px;
  margin: .625rem 0 .875rem;
  border-radius: 2px;
  background: var(--service-accent);
  content: "";
}

.service-card p {
  color: #e0e8ff;
  font: 600 1rem/1.5 var(--body);
}

.site-footer {
  background: #141414;
  color: #f5f5f5;
}

.footer-inner {
  width: min(100%, 104rem);
  margin-inline: auto;
  padding: clamp(3rem, 5vw, 4.5rem) clamp(1.4rem, 5vw, 4.5rem) 1.4rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
}

.site-footer h2 { font-size: clamp(1.4rem, 2vw, 1.875rem); }

.footer-description {
  max-width: 31rem;
  margin-top: .9rem;
  color: #d1d1d1;
  font: 600 1.125rem/1.5 var(--body);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #666;
  border-radius: 50%;
  transition: color .22s ease, background-color .22s ease, border-color .22s ease;
}

.footer-socials svg { width: 1.3rem; height: 1.3rem; }
.footer-socials a:focus-visible { outline-color: var(--yellow); }

.footer-copyright {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid #666;
  color: #bcbcbc;
  font-size: .9rem;
}

@media (hover: hover) {
  .service-card:hover {
    border-color: rgb(244 197 66 / 50%);
    background: rgb(244 197 66 / 10%);
    transform: translateY(-4px);
  }

  .footer-socials a:hover {
    border-color: var(--yellow);
    background: var(--yellow);
    color: #141414;
  }
}

@media (max-width: 57.5rem) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 34rem) {
  .services-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card, .footer-socials a { transition: none; }
  .service-card:hover { transform: none; }
}
