:root {
  --ink: #0b1220;
  --muted: #425066;
  --bg: #f6f8fb;
  --white: #ffffff;
  --line: rgba(11, 18, 32, 0.1);
  --blue: #2e6fae;
  --teal: #18a7b7;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.06vw, 18px);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
.btn:focus-visible,
.text-link:focus-visible {
  outline: 3px solid rgba(46, 111, 174, 0.35);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Sora", "Manrope", sans-serif;
  line-height: 1.12;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  font-weight: 600;
  margin-bottom: 1.35rem;
}

h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.hero-stack {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2rem;
  padding-block: 4.5rem;
}

.hero-logo {
  width: 100%;
  max-width: 240px;
  height: auto;
}

.hero-copy {
  max-width: 760px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0.72rem 1.2rem;
  background: linear-gradient(95deg, var(--blue), var(--teal));
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 140ms ease, filter 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.95);
  text-decoration: none;
}

.pitch-band {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background-image: url("vision.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  isolation: isolate;
}

.pitch-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.3);
  z-index: -1;
}

.pitch-content {
  max-width: 820px;
  padding-block: 4rem;
  text-align: center;
  margin-inline: auto;
}

.pitch-content h2,
.pitch-content p {
  color: #f3f8ff;
}

.pitch-content p {
  margin-bottom: 0;
}

.section {
  padding-block: 72px;
}

.services {
  padding-top: 64px;
  background: var(--teal);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem 1.6rem;
}

.service-item {
  padding-right: 0.4rem;
}

.service-item svg {
  width: 48px;
  height: 48px;
  margin-bottom: 0.9rem;
  stroke: #f3f8ff;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-item p {
  margin-bottom: 0;
  color: rgba(243, 248, 255, 0.9);
}

.service-item h3 {
  color: #f3f8ff;
}

.benefits {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.benefit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 2.25rem;
}

.benefit-row:last-child {
  margin-bottom: 0;
}

.benefit-row.reverse .benefit-image {
  order: 2;
}

.benefit-row.reverse .benefit-copy {
  order: 1;
}

.benefit-image {
  border-radius: 14px;
  overflow: hidden;
}

.benefit-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.benefit-copy p {
  margin-bottom: 0;
}

.benefit-copy h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

.contact {
  background: #000000;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-copy p {
  max-width: 62ch;
  margin-bottom: 0;
  color: rgba(243, 249, 255, 0.92);
}

.contact-email {
  margin: 0 0 1rem;
  font-weight: 500;
}

.contact h2,
.contact a,
.contact address {
  color: #f3f8ff;
}

.contact address {
  font-style: normal;
}

.contact-copyline {
  grid-column: 1 / -1;
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  text-align: center;
  color: #f3f8ff;
}

@supports (animation-timeline: view()) {
  .service-item,
  .benefit-row,
  .contact-copy,
  .contact-details {
    opacity: 0;
    animation: reveal-up both;
    animation-timeline: view();
    animation-range: entry 15% cover 35%;
  }

  .contact-copy {
    animation-name: reveal-left;
  }

  .contact-details {
    animation-name: reveal-right;
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-left {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes reveal-right {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1024px) {
  .benefit-row,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .benefit-row.reverse .benefit-image,
  .benefit-row.reverse .benefit-copy {
    order: initial;
  }

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

  .hero-stack {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 1.5rem));
  }

  .section {
    padding-block: 48px;
  }

  .hero-stack {
    padding-block: 3rem;
  }

  .pitch-band {
    min-height: 360px;
    background-attachment: scroll;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .hero-copy,
  .pitch-content,
  .service-item,
  .benefit-copy,
  .contact-copy,
  .contact-details {
    text-align: center;
  }

  .service-item svg {
    margin-inline: auto;
  }

  .contact-copy p {
    max-width: none;
  }

  .contact address {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }

  .service-item,
  .benefit-row,
  .contact-copy,
  .contact-details {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
