:root {
  color-scheme: light;
  --paqo-accent: #e7ef8a;
  --paqo-ink: #14251f;
  --hero-gutter: clamp(32px, 12.5vw, 320px);
}

* {
  box-sizing: border-box;
}

body {
  background: var(--paqo-ink);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  padding: 112px var(--hero-gutter) 68px;
  color: #fff;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgb(10 17 29 / 55%), transparent 30%),
    linear-gradient(90deg, rgb(10 17 29 / 42%), rgb(10 17 29 / 16%) 58%, rgb(10 17 29 / 5%));
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: clamp(36px, 5.3vw, 90px);
  width: 100%;
  padding: 22px 28px;
}

.site-logo {
  display: block;
  flex: 0 0 auto;
  width: 104px;
  height: 35px;
  object-fit: contain;
  color: #fbfcef;
  /* Center the logo's o, excluding the descending p and q. */
  transform: translateY(4.2px);
}

.site-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px clamp(22px, 2.6vw, 42px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.mobile-menu-icon {
  display: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: min(760px, 100%);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.7px;
}

.hero-copy h1 span {
  display: block;
}

.hero-description {
  margin: 0;
  max-width: 680px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 320px;
  min-height: 60px;
  padding: 16px 26px;
  border-radius: 17px;
  background: var(--paqo-accent);
  color: var(--paqo-ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.project-cta svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1000px) {
  :root {
    --hero-gutter: 8vw;
  }

  .site-header {
    gap: 32px;
    padding: 22px 24px;
  }

  .site-nav ul {
    gap: 12px 22px;
  }

  .site-nav li {
    font-size: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 7vw, 68px);
  }

  .hero-description {
    max-width: 560px;
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  :root {
    --hero-gutter: 26px;
  }

  .hero {
    padding-top: 104px;
    padding-bottom: 40px;
  }

  .hero-image,
  .hero-shade {
    top: 72px;
    height: calc(100% - 72px);
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgb(10 17 29 / 72%), rgb(10 17 29 / 20%) 38%, rgb(10 17 29 / 44%));
  }

  .site-header {
    height: 72px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 18px var(--hero-gutter);
    background: var(--paqo-ink);
    color: #fbfcef;
  }

  .site-logo {
    width: 87px;
    height: 30px;
    color: #fbfcef;
    transform: translateY(3.52px);
  }

  .site-nav {
    display: none;
  }

  .mobile-menu-icon,
  .mobile-menu-icon svg {
    display: block;
    width: 26px;
    height: 26px;
  }

  .hero-copy {
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(29px, 9.1vw, 44px);
    line-height: 1.08;
    letter-spacing: -1px;
  }

  .hero-description {
    max-width: 340px;
    font-size: 16px;
    line-height: 1.55;
  }

  .project-cta {
    width: min(100%, 320px);
    min-height: 56px;
    padding: 14px 20px;
    font-size: 16px;
  }
}

@media (max-height: 650px) and (min-width: 768px) {
  .hero {
    padding-top: 112px;
    padding-bottom: 28px;
  }

  .hero-copy {
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 10svh, 64px);
  }
}

@media (max-width: 767px) and (max-height: 650px) {
  .hero {
    padding-top: 96px;
    padding-bottom: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(29px, 9.1vw, 40px);
  }

  .hero-copy {
    gap: 20px;
  }

  .hero-description {
    line-height: 1.45;
  }
}

@media (max-height: 480px) and (min-width: 768px) {
  .site-header {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-logo {
    width: 87px;
    height: 30px;
    transform: translateY(3.52px);
  }

  .hero {
    padding-top: 88px;
    padding-bottom: 20px;
  }

  .hero-copy {
    gap: 18px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-description {
    font-size: 16px;
  }

  .project-cta {
    min-height: 50px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
