@font-face {
  font-family: "Inter:Semi Bold";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: "Poppins:Bold";
  src: url("https://static.figma.com/font/Poppins-Bold_6") format("woff2");
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: "Poppins:Regular";
  src: url("https://static.figma.com/font/Poppins-Regular_6") format("woff2");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Poppins:SemiBold";
  src: url("https://static.figma.com/font/Poppins-SemiBold_6") format("woff2");
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: "Righteous:Regular";
  src: url("https://static.figma.com/font/Righteous-Regular_1") format("woff2");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Roboto:Regular";
  src: url("https://static.figma.com/font/Roboto_wdth_wght__3") format("woff2");
  font-style: normal;
  font-weight: 400;
}

:root {
  --orange: #ff3300;
  --black: #000;
  --charcoal: #191919;
  --white: #fff;
  --container: 1280px;
  --section-pad: clamp(5rem, 8vw, 7rem);
  --h1-size: clamp(2.5rem, 5vw, 3.5rem);
  --h1-line-height: 1.1;
  --h2-size: clamp(2rem, 4vw, 3rem);
  --h2-line-height: 1.15;
  --h3-size: clamp(1.5rem, 3vw, 2rem);
  --h3-line-height: 1.25;
  --h4-size: 1.5rem;
  --h4-line-height: 1.3;
  --h5-size: 1.25rem;
  --h5-line-height: 1.4;
  --h6-size: 1.125rem;
  --h6-line-height: 1.45;
  --body1-size: 1rem;
  --body1-line-height: 1.6;
  --body2-size: 1.125rem;
  --body2-line-height: 1.6;
  --body3-size: 1.25rem;
  --body3-line-height: 1.6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Poppins:Regular", Arial, sans-serif;
  font-size: var(--body1-size);
  line-height: var(--body1-line-height);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

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

h1,
h2 {
  font-family: "Righteous:Regular", Impact, sans-serif;
  font-weight: 400;
}

h1 { font-size: var(--h1-size); line-height: var(--h1-line-height); }
h2 { font-size: var(--h2-size); line-height: var(--h2-line-height); }
h3 {
  font-family: "Righteous:Regular", Impact, sans-serif;
  font-size: var(--h3-size);
  line-height: var(--h3-line-height);
  font-weight: 400;
}
h4, h5, h6 {
  font-family: "Righteous:Regular", Impact, sans-serif;
  font-weight: 400;
}
h4 { font-size: var(--h4-size); line-height: var(--h4-line-height); }
h5 { font-size: var(--h5-size); line-height: var(--h5-line-height); }
h6 { font-size: var(--h6-size); line-height: var(--h6-line-height); }

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

.hero {
  position: relative;
  min-height: 896px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("./assets/96c81.png") center / cover no-repeat;
}

.nav {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(17, 17, 17, 0.2);
  transition: background 250ms ease, backdrop-filter 250ms ease;
}

.nav.is-scrolled {
  position: fixed;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
}

.nav__inner,
.nav__menu,
.brand,
.actions,
.values li,
.reviewer,
.footer__bottom,
.footer__socials {
  display: flex;
  align-items: center;
}

.nav__inner {
  justify-content: space-between;
}

.brand {
  gap: 3px;
  color: var(--white);
}

.brand__type {
  display: grid;
  text-align: center;
}

.brand__type strong {
  font: 700 24.906px/29.887px "Poppins:Bold", sans-serif;
}

.brand__type small {
  font: 600 8px/8px "Poppins:SemiBold", sans-serif;
  letter-spacing: 0.8px;
}

.nav__menu {
  gap: 32px;
  font-size: 16px;
}

.nav__menu > a:not(.button) {
  position: relative;
  padding: 5px;
}

.nav__menu > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 0;
  left: 5px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.nav__menu > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: white;
  transition: transform 250ms ease, opacity 250ms ease;
}

.hero__content {
  max-width: 768px;
  text-align: center;
}

.hero h1 {
  font-size: var(--h1-size);
  line-height: var(--h1-line-height);
}

.hero__content > p {
  margin-top: 24px;
  font-size: 18px;
  line-height: 28px;
}

.actions {
  gap: 16px;
  margin-top: 32px;
}

.hero .actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid var(--orange);
  border-radius: 10px;
  background: var(--orange);
  color: var(--white);
  font-family: "Poppins:SemiBold", sans-serif;
  line-height: 24px;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 25px rgba(255, 51, 0, 0.24);
}

.button--outline {
  border-radius: 5px;
  background: transparent;
}

.button--outline:hover {
  background: var(--orange);
}

.button--small {
  padding: 9px 20px;
}

.button--pill {
  border-radius: 20px;
}

.section {
  padding-block: var(--section-pad);
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 600px);
  gap: 80px;
  align-items: center;
}

.split__copy {
  max-width: 600px;
}

.split h2 {
  font-size: var(--h2-size);
  line-height: var(--h2-line-height);
}

.split__copy > p {
  margin-top: 24px;
  font-size: 18px;
  line-height: 28px;
}

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

.values li {
  gap: 16px;
}

.values img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.image-frame {
  overflow: hidden;
  border-radius: 20px;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.image-frame:hover img {
  transform: scale(1.025);
}

.split__image {
  height: 640px;
}

.section-title {
  width: min(768px, 100%);
  margin: 0 auto 80px;
  font-size: var(--h2-size);
  line-height: var(--h2-line-height);
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.feature-card {
  min-height: 298px;
  padding: 18px;
  border: 6px solid var(--black);
  border-radius: 10px;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 10px 12px 0 var(--orange);
}

.feature-card > img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.feature-card h3 {
  margin-top: 32px;
  font: 400 var(--h5-size)/var(--h5-line-height) "Righteous:Regular", sans-serif;
}

.feature-card p {
  margin-top: 32px;
}

.team__layout {
  display: grid;
  grid-template-columns: 356px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.team__intro {
  position: sticky;
  top: 112px;
}

.eyebrow {
  font-family: "Poppins:SemiBold", sans-serif;
}

.team__intro h2,
.testimonials h2,
.gallery h2,
.cta h2 {
  margin-top: 16px;
  font-size: var(--h2-size);
  line-height: var(--h2-line-height);
}

.team__intro p {
  margin-top: 24px;
  font-size: 18px;
  line-height: 28px;
}

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

.person__photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 550ms ease, filter 550ms ease;
}

.person:hover .person__photo img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.person h3 {
  margin-top: 24px;
  font: 600 20px/1.5 "Poppins:SemiBold", sans-serif;
}

.person > span {
  font-size: 18px;
}

.person > p {
  margin-top: 16px;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.socials img {
  width: 24px;
  height: 24px;
  transition: transform 200ms ease;
}

.socials a:hover img {
  transform: translateY(-3px);
}

.testimonials {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: #0a0406;
}

.testimonials::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(rgba(10, 4, 6, 0.45), rgba(10, 4, 6, 0.45)),
    url("./assets/a5164.png") center / cover no-repeat;
  opacity: 0.86;
}

.testimonials__heading,
.gallery__heading {
  width: min(768px, 100%);
  margin-inline: auto;
  text-align: center;
}

.testimonials__heading h2,
.gallery__heading h2 {
  margin-top: 0;
}

.testimonials__heading p,
.gallery__heading p {
  margin-top: 24px;
  font-size: 18px;
  line-height: 28px;
}

.testimonial-viewport {
  overflow: hidden;
  margin-top: 80px;
}

.testimonial-track {
  display: flex;
  gap: 32px;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial {
  flex: 0 0 calc((100% - 64px) / 3);
  min-height: 235px;
  padding: 32px;
  border: 2px solid var(--white);
  border-radius: 32px;
  background: rgba(10, 4, 6, 0.6);
}

.stars {
  width: 116px;
  height: 19px;
}

.testimonial blockquote {
  min-height: 56px;
  margin: 24px 0;
  font-size: 18px;
  line-height: 28px;
}

.reviewer {
  gap: 16px;
}

.reviewer > img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.reviewer p {
  display: grid;
}

.reviewer strong {
  font-family: "Poppins:SemiBold", sans-serif;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 30px;
}

.slider-button {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 12px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: opacity 200ms ease, transform 200ms ease;
}

.slider-button:hover {
  opacity: 1;
  transform: scale(1.08);
}

.slider-button img {
  width: 24px;
  height: 24px;
}

.slider-button--prev img {
  transform: rotate(180deg);
}

.gallery__heading h2 {
  background: linear-gradient(#ff3300, #000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gallery__image {
  height: min(51.25vw, 738px);
  min-height: 430px;
  margin-top: 80px;
}

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

.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.cta h2 {
  margin-top: 0;
}

.cta__grid > div > p {
  font-size: 18px;
  line-height: 28px;
}

.footer {
  padding-block: 80px;
  background: var(--charcoal);
  color: var(--white);
}

.footer__top {
  display: grid;
  grid-template-columns: 170px minmax(500px, 1fr) minmax(300px, 360px);
  gap: 56px;
  align-items: start;
}

.brand--footer {
  align-items: flex-start;
}

.brand--footer .brand__type small {
  font: 600 14.943px/19.925px "Inter:Semi Bold", sans-serif;
  letter-spacing: 1.49px;
}

.footer__links {
  display: grid;
  grid-template-columns: 0.7fr 1fr 2.3fr;
  gap: 24px;
}

.footer__links div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer h3 {
  margin: 0;
  font: 600 12px/20px "Poppins:SemiBold", sans-serif;
}

.footer__links a {
  font-size: 14px;
  transition: color 180ms ease;
}

.footer__links a:hover {
  color: var(--orange);
}

.newsletter label {
  display: block;
  margin-bottom: 14px;
  font-family: "Poppins:SemiBold", sans-serif;
}

.newsletter > div {
  display: flex;
  padding: 4px;
  border: 1px solid var(--orange);
  border-radius: 10px;
  background: var(--white);
}

.newsletter input {
  min-width: 0;
  flex: 1;
  padding: 10px 12px;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.newsletter button {
  padding: 8px 14px;
  border: 1px solid var(--orange);
  border-radius: 5px;
  background: var(--white);
  cursor: pointer;
}

.form-message {
  display: block;
  min-height: 20px;
  margin-top: 8px;
  color: #ddd;
  font-size: 12px;
}

.footer__bottom {
  justify-content: space-between;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.footer__bottom p {
  font: 400 14px/1.5 "Roboto:Regular", sans-serif;
  font-variation-settings: "wdth" 100;
}

.footer__socials {
  gap: 40px;
}

.footer__socials img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--right {
  transform: translateX(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0);
}

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

  .split,
  .team__layout {
    gap: 48px;
  }

  .team__layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .feature-grid {
    gap: 24px;
  }

  .footer__top {
    grid-template-columns: 160px 1fr;
  }

  .newsletter {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  :root {
    --section-pad: 5rem;
  }

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

  .hero {
    min-height: 760px;
  }

  .nav__toggle {
    display: block;
    cursor: pointer;
  }

  .nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav__menu {
    position: fixed;
    inset: 72px 0 auto;
    display: grid;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    background: rgba(10, 10, 10, 0.97);
    text-align: center;
    opacity: 0;
    transition: max-height 300ms ease, padding 300ms ease, opacity 200ms ease;
  }

  .nav__menu.is-open {
    max-height: 360px;
    padding-block: 32px;
    opacity: 1;
  }

  .hero h1 {
    font-size: var(--h1-size);
    line-height: var(--h1-line-height);
  }

  .split,
  .team__layout,
  .cta__grid {
    grid-template-columns: 1fr;
  }

  .split__copy {
    max-width: none;
  }

  .split__image {
    height: min(90vw, 560px);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .team__intro {
    position: static;
    max-width: 560px;
  }

  .testimonial {
    flex-basis: calc((100% - 32px) / 2);
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

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

  .newsletter {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 700px;
    background-position: 58% center;
  }

  .hero__content > p,
  .split__copy > p,
  .team__intro p,
  .testimonials__heading p,
  .gallery__heading p,
  .cta__grid > div > p {
    font-size: 16px;
    line-height: 25px;
  }

  .actions {
    flex-wrap: wrap;
  }

  .section-title,
  .split h2 {
    font-size: var(--h2-size);
    line-height: var(--h2-line-height);
  }

  .section-title {
    margin-bottom: 48px;
  }

  .team__intro h2,
  .testimonials h2,
  .gallery h2,
  .cta h2 {
    font-size: var(--h2-size);
    line-height: var(--h2-line-height);
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .testimonial-viewport,
  .gallery__image {
    margin-top: 48px;
  }

  .testimonial {
    flex-basis: 100%;
    padding: 26px;
  }

  .gallery__image {
    min-height: 340px;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .newsletter > div {
    flex-direction: column;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
}

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