:root {
  --ink: #0b2429;
  --ink-soft: #345057;
  --paper: #f3f3ee;
  --paper-cool: #e5eae7;
  --night: #06191d;
  --night-soft: #0c2429;
  --line: rgba(11, 36, 41, 0.2);
  --line-light: rgba(240, 244, 240, 0.2);
  --accent: #6ef0c2;
  --accent-dark: #00a978;
  --white: #f8faf6;
  --shell: min(100% - 32px, 1360px);
  --header-height: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--accent);
  color: var(--night);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--night);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-pad {
  padding-block: 88px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 50%;
  display: flex;
  width: min(calc(100% - 32px), 1328px);
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(5, 22, 26, 0.88);
  color: var(--white);
  transform: translateX(-50%);
  transition: background 250ms ease, box-shadow 250ms ease;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(5, 22, 26, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: var(--accent);
  cursor: pointer;
  place-content: center;
  gap: 6px;
}

.menu-toggle > span:not(.sr-only) {
  width: 19px;
  height: 1px;
  background: var(--night);
  transition: transform 200ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: -17px -17px auto -17px;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 28px 40px;
  background: var(--night);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.site-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.site-nav > a {
  width: 100%;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: clamp(28px, 8vw, 42px);
  letter-spacing: -0.05em;
}

.site-nav .nav-cta {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding: 17px 20px;
  border: 0;
  border-radius: 5px;
  background: var(--accent);
  color: var(--night);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  transform: scale(1.025);
  animation: hero-in 1.4s var(--ease) forwards;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(3, 18, 21, 0.36), rgba(3, 18, 21, 0.04) 42%, rgba(3, 18, 21, 0.65)),
    linear-gradient(90deg, rgba(3, 18, 21, 0.32), transparent 68%);
}

.hero-content {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 128px;
  padding-bottom: 30px;
}

.hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(42px, 11vw, 132px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-wrap: balance;
}


.display-title {
  margin: 0;
  font-size: clamp(39px, 7.8vw, 112px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.intro-grid {
  display: grid;
  gap: 38px;
}

.intro-copy {
  max-width: 620px;
}

.intro-copy p,
.partner-copy p {
  margin: 0 0 20px;
}

.intro-copy .display-title {
  margin-bottom: 32px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.partner-story {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.partner-image-wrap,
.services-image,
.person-image {
  position: relative;
  overflow: hidden;
}

.partner-image-wrap {
  aspect-ratio: 4 / 3;
}

.partner-image-wrap img,
.services-image img,
.person-image img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.68);
}


.partner-copy {
  max-width: 900px;
  align-self: end;
  color: var(--ink-soft);
}


.services {
  overflow: clip;
  background: var(--night);
  color: var(--white);
}

.services-heading {
  display: grid;
  gap: 30px;
}


.services-heading > p {
  max-width: 470px;
  margin: 0;
  color: rgba(248, 250, 246, 0.68);
}

.services-layout {
  display: grid;
  gap: 46px;
  margin-top: 70px;
}

.services-image {
  aspect-ratio: 4 / 5;
  max-height: 680px;
}


.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.service-list li {
  padding: 23px 0;
  border-bottom: 1px solid var(--line-light);
}

.service-list h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.service-list p {
  max-width: 650px;
  margin: 0;
  color: rgba(248, 250, 246, 0.62);
  font-size: 13px;
}


.services-detail-image {
  position: relative;
  aspect-ratio: 16 / 7;
  margin-top: 100px;
  overflow: hidden;
  border: 1px solid var(--line-light);
}

.services-detail-image img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
}


.team-intro {
  display: grid;
  gap: 30px;
}

.team-intro > p {
  max-width: 510px;
  margin: 0;
  color: var(--ink-soft);
}


.team-grid {
  display: grid;
  gap: 72px;
  margin-top: 48px;
}

.person-image {
  display: block;
  aspect-ratio: 4 / 5;
  background: #c4cac5;
}


.person-heading {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.person-heading h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.person-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.person-bio {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.contact {
  padding: 0 8px 8px;
  background: var(--paper);
  color: var(--white);
}

.contact-panel {
  width: 100%;
  padding: 64px 16px 26px;
  border-radius: 8px;
  background: var(--night);
}

.contact-image {
  position: relative;
  height: 220px;
  margin: -64px -16px 64px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.contact-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 25, 29, 0.08), rgba(6, 25, 29, 0.72));
  content: "";
}

.contact-image img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.contact-grid {
  display: grid;
  gap: 58px;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(52px, 12vw, 146px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.83;
}

.contact-copy > p {
  max-width: 520px;
  margin: 36px 0 0;
  color: rgba(248, 250, 246, 0.7);
}


.contact-form {
  padding: 24px 18px;
  border: 1px solid var(--line-light);
  border-radius: 5px;
  background: var(--night-soft);
}

.field-row {
  display: grid;
}

.contact-form label {
  display: block;
  margin-bottom: 24px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(248, 250, 246, 0.75);
  font-size: 13px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(248, 250, 246, 0.38);
  border-radius: 0;
  outline: 0;
  background: transparent;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.submit-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding: 16px 18px;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: var(--night);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  background: var(--white);
  transform: translateY(-2px);
}


.site-footer {
  display: grid;
  gap: 18px;
  margin-top: 78px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  color: rgba(248, 250, 246, 0.7);
  font-size: 12px;
}

.brand--footer {
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-transform: none;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-in {
  to {
    transform: scale(1);
  }
}

@media (min-width: 700px) {
  :root {
    --shell: min(100% - 64px, 1360px);
  }

  .section-pad {
    padding-block: 130px;
  }

  .hero-content {
    padding-bottom: 46px;
  }


  .team-intro,
  .services-heading {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
    align-items: end;
  }

  .intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 5vw;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4vw;
  }

  .contact-panel {
    padding: 90px 6vw 32px;
  }

  .contact-image {
    height: 310px;
    margin: -90px -6vw 90px;
  }

  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 960px) {
  :root {
    --header-height: 60px;
  }

  .site-header {
    top: 20px;
    padding: 7px 7px 7px 18px;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    min-height: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav > a {
    width: auto;
    padding: 10px 14px;
    border: 0;
    color: rgba(248, 250, 246, 0.7);
    font-size: 12px;
    font-weight: 600;
    transition: color 180ms ease;
  }

  .site-nav > a:hover,
  .site-nav > a:focus-visible,
  .site-nav > a.is-active {
    color: var(--white);
  }

  .site-nav > a.nav-cta,
  .site-nav > a.nav-cta:hover,
  .site-nav > a.nav-cta:focus-visible,
  .site-nav > a.nav-cta.is-active {
    color: var(--night);
  }

  .site-nav .nav-cta {
    margin: 0 0 0 12px;
    padding: 14px 18px;
    color: var(--night);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
  }

  .hero-content {
    padding-bottom: 58px;
  }

  .hero h1 {
    max-width: 1220px;
  }

  .services-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 7vw;
    margin-top: 100px;
  }

  .services-image {
    position: sticky;
    top: 105px;
    max-height: min(680px, calc(100svh - 130px));
  }

  .service-list li {
    padding: 27px 0;
  }

  .service-list h3 {
    font-size: 25px;
  }

  .service-list p {
    font-size: 14px;
  }

  .team-grid {
    max-width: 1120px;
    margin-top: 56px;
    margin-left: auto;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(430px, 0.85fr);
    align-items: end;
    gap: 7vw;
  }

  .contact-panel {
    padding-top: 110px;
  }

  .contact-copy h2 {
    font-size: clamp(84px, 9.5vw, 145px);
  }

  .contact-form {
    padding: 32px;
  }
}

@media (min-width: 1400px) {
  .section-pad {
    padding-block: 170px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
