:root {
  --ink: #292d31;
  --muted: #5e666e;
  --line: #d9e1e8;
  --paper: #f7fafc;
  --white: #ffffff;
  --brand: #247ec1;
  --brand-dark: #15598a;
  --accent: #f0b84a;
  --cool: #d9edf8;
  --green: #1f7a63;
  --shadow: 0 20px 60px rgb(21 23 25 / 0.14);
  --radius: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgb(255 255 255 / 0.92);
  border-bottom: 1px solid rgb(217 225 232 / 0.8);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: var(--header-height);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
}

.brand img {
  width: 300px;
  height: auto;
}

.site-menu {
  display: none;
}

.site-menu a,
.nav-cta,
.button,
.menu-button {
  min-height: 44px;
}

.menu-button {
  width: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-button__line {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.site-menu.is-open {
  display: grid;
  position: fixed;
  left: 16px;
  right: 16px;
  top: calc(var(--header-height) + 12px);
  gap: 6px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-menu.is-open a {
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 800;
}

.site-menu.is-open a:hover {
  background: var(--paper);
}

.nav-cta {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: -2;
  transform: scale(1.04);
}

.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(9 18 28 / 0.82), rgb(9 18 28 / 0.42) 52%, rgb(9 18 28 / 0.82)),
    linear-gradient(180deg, rgb(9 18 28 / 0.3), rgb(9 18 28 / 0.84));
}

.hero__content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 136px 0 190px;
}

.eyebrow {
  color: var(--brand-dark);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
}

.eyebrowcard {
  
  font-size: 0.78rem;
  text-align: left;
}

.hero .eyebrow,
.section--dark .eyebrow {
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  max-width: 850px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 3.25rem;
}

h2 {
  margin-bottom: 24px;
  font-size: 2.4rem;
}

h3 {
  margin-bottom: 10px;
  line-height: 1.08;
  font-size: 1.3rem;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgb(255 255 255 / 0.88);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 13px 18px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--accent);
  color: var(--ink);
}

.button--secondary {
  border-color: rgb(255 255 255 / 0.44);
  color: var(--white);
  background: rgb(255 255 255 / 0.08);
}

.hero-proof {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgb(255 255 255 / 0.12);
  backdrop-filter: blur(18px);
}

.hero-proof div {
  padding: 18px;
  background: rgb(7 13 21 / 0.42);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: 1.35rem;
}

.hero-proof span {
  color: rgb(255 255 255 / 0.72);
  font-size: 0.92rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section--tint,
.section--dark {
  width: 100%;
  margin: 0;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
}

.section--tint {
  background: var(--paper);
}

.section--dark {
  background: var(--ink);
  color: var(--white);
}

.section__heading {
  display: grid;
  gap: 8px;
  margin-bottom: 0px;
}

.section__heading p:not(.eyebrow) {
  max-width: 1100px;
  color: var(--muted);
  font-size: 1.06rem;
}

.section--dark .section__heading p:not(.eyebrow) {
  color: rgb(255 255 255 / 0.76);
}

.intro {
  display: grid;
  gap: 0px;
}

.intro__heading {
  max-width: 760px;
  margin-bottom: 0;
}

.intro__copy {
  max-width: 1100px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.05rem;
  text-align: center;
}

.intro__image {
  width: 100%;
  margin: 20px 0 0;
  transform: none;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.intro__image img {
  width: 100%;
  max-height: 500px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.service-grid,
.team-grid {
  display: grid;
  gap: 18px;
}

.service-card,
.person {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgb(21 23 25 / 0.08);
}

.service-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  margin: 0;
  padding: 18px 24px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
}

.process-list p,
.person span {
  color: var(--muted);
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.process-list li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--white), var(--paper));
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: var(--cool);
  color: var(--brand-dark);
  font-weight: 900;
}

.projects__title {
  margin: 0;
  max-width: none;
  color: var(--white);
  text-align: center;
  font-size: 2rem;
}

.project-row {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.project-copy,
.project-figure {
  width: 100%;
}

.project-copy h3 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 900;
}

.project-list {
  margin-top: 16px;
  color: rgb(255 255 255 / 0.86);
  font-size: 1rem;
  line-height: 1.5;
}

.project-list > div + div {
  margin-top: 16px;
}

.project-list p {
  margin-bottom: 8px;
  color: var(--white);
  font-weight: 900;
}

.project-list ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style-position: outside;
}

.project-list li + li {
  margin-top: 4px;
}

.project-figure {
  margin: 0;
}

.project-figure img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgb(0 0 0 / 0.28);
  display: block;
}

.project-figure figcaption {
  margin-top: 12px;
  color: rgb(255 255 255 / 0.78);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
}

@media (min-width: 920px) {

  .project-row,
  .project-row--reverse {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 56px;
    align-items: center;
    margin-top: 64px;
  }

  .project-row--reverse {
    grid-template-columns: 1.6fr 1fr;
  }

  .project-figure img {
    height: 30rem;
  }
}

.person img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  object-position: top center;
  transition: transform 300ms ease;
}

.person:hover img {
  transform: scale(1.04);
}

.person div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.person p {
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgb(21 23 25 / 0.2);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.person h3 {
  margin-top: 2px;
  margin-bottom: 12px;
  color: var(--ink);
}

.person span {
  display: block;
  font-size: 0.9rem;
  line-height: 1.6;
}

.person span + span {
  margin-top: 14px;
}

.team__heading {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.team__heading h2 {
  max-width: none;
  margin-bottom: 16px;
  font-size: 2rem;
}

.team__heading p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.contact {
  padding: 100px 0 72px;
}

.contact__panel {
  display: grid;
  gap: 32px;
  padding: 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgb(36 126 193 / 0.16), transparent 48%),
    var(--paper);
  border: 1px solid var(--line);
}

.contact__panel p:not(.eyebrow) {
  color: var(--muted);
  max-width: 700px;
}

.contact__panel h2 {
  max-width: 780px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: 3rem;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  font-style: normal;
}

.contact-list a,
.contact-list p {
  margin: 0;
  display: grid;
  gap: 2px;
  min-height: 58px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

@media (min-width: 680px) {
  .contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-list a {
  color: var(--brand-dark);
  font-weight: 900;
}

.contact-list span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-dark);
  font-weight: 900;
}

@media (min-width: 680px) {
  h1 {
    font-size: 4.75rem;
  }

  h2 {
    font-size: 3.25rem;
  }

  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-grid,
  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card--wide {
    grid-column: auto;
  }
}

@media (min-width: 680px) and (max-width: 919px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card--wide {
    grid-column: 1 / -1;
  }

  .projects__title {
    font-size: 2.35rem;
  }
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .person--featured {
    grid-column: 1 / -1;
    max-width: 32rem;
    margin-inline: auto;
  }
}

@media (max-width: 679px) {
  .hero {
    display: block;
    min-height: auto;
  }

  .hero__content {
    padding: 268px 0 28px;
  }

  .hero__lead {
    margin-bottom: 22px;
  }

  .hero-proof {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 0 auto 24px;
  }
}

@media (min-width: 920px) {
  .menu-button {
    display: none;
  }

  .site-menu,
  .site-menu.is-open {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-menu a,
  .site-menu.is-open a {
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-weight: 850;
  }

  .site-menu a:hover {
    background: var(--paper);
  }

  .site-menu .nav-cta {
    margin-left: 8px;
    padding-inline: 16px;
    color: var(--white);
  }

  .project-row,
  .project-row--reverse {
    margin-top: 64px;
    flex-direction: row;
    gap: 48px;
  }

  .project-figure img {
    height: 30rem;
  }

  .projects__title {
    font-size: 3rem;
  }
}

@media (min-width: 1120px) {
  h1 {
    font-size: 6rem;
  }

  h2 {
    font-size: 3rem;
    text-align: center
  }

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

  .person--featured {
    grid-column: auto;
    max-width: none;
  }

  .team__heading h2 {
    font-size: 3rem;
  }
}

@media (max-width: 420px) {
  :root {
    --header-height: 70px;
  }

  .nav-shell,
  .section,
  .hero__content,
  .hero-proof,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .brand img {
    width: 190px;
  }

  h1 {
    max-width: 10ch;
    font-size: 2.2rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__content {
    padding-bottom: 240px;
  }
}

@media (max-width: 520px) {
  h1 {
    max-width: 100%;
    font-size: 2.35rem;
    line-height: 1.04;
  }

  .hero__content {
    padding-top: 230px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
