@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-VariableItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --color-bg: #0e0d0a;
  --color-title: #fffefe;
  --color-text: #c9c7c2;
  --color-border: rgba(255, 254, 254, 0.12);
  --header-height: 4.5rem;
  --title-glow:
    0 0 1px rgba(255, 254, 254, 0.18),
    0 0 16px rgba(255, 254, 254, 0.08);
}

*,
::after,
::before {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
  border-radius: 2px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: "Satoshi", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(14, 13, 10, 0.92);
  backdrop-filter: blur(10px);
}

.site-header__menu-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-bottom: 1px solid transparent;
  transition:
    max-height 280ms ease,
    opacity 180ms ease,
    border-color 180ms ease;
}

.site-header__menu-nav {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.5rem 0.9rem;
}

.site-header__menu-link {
  color: var(--color-title);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.28rem 0;
}

.site-header.is-menu-open .site-header__menu-panel {
  max-height: 18rem;
  opacity: 1;
  border-bottom-color: var(--color-border);
}

.site-header__inner {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  min-height: var(--header-height);
  padding: 0 1.5rem;
}

.site-header__brand {
  display: inline-grid;
  grid-template-columns: 1.8rem auto;
  align-items: stretch;
  column-gap: 0.12rem;
  color: var(--color-title);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  justify-self: start;
}

.site-header__avatar {
  display: block;
  width: 1.8rem;
  height: 2.5rem;
  overflow: hidden;
  border-radius: 999px 2px 2px 999px;
  background-color: #9fd4ff;
}

.site-header__brand-text {
  display: flex;
  align-items: center;
  height: 2.5rem;
  font-size: 2.5rem;
  line-height: 1;
}

.site-header__brand-text > span {
  display: block;
}

.site-header__nav {
  display: none;
  position: relative;
  align-items: center;
  gap: 1.4rem;
  justify-self: center;
}

.site-header__bracket {
  position: absolute;
  top: 50%;
  color: var(--color-title);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
  transform: translate(0, -50%);
  transition: transform 280ms ease;
}

.site-header__link {
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 160ms ease;
}

.site-header__link:hover,
.site-header__link:focus-visible {
  color: var(--color-title);
}

.site-header__link.is-active {
  color: var(--color-title);
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.65rem;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  padding: 0.72rem 1.1rem;
  border: 1px solid rgba(255, 254, 254, 0.72);
  border-radius: 999px;
  background-color: transparent;
  box-shadow:
    0 0 0 1px rgba(255, 254, 254, 0.08),
    0 0 16px rgba(255, 254, 254, 0.08);
  color: var(--color-title);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    background-color 160ms ease;
}

.site-header__cta--icon {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  line-height: 0;
  overflow: hidden;
}

.site-header__cta--message {
  min-width: 2.45rem;
  height: 2.45rem;
  padding-top: 0;
  padding-bottom: 0;
}

.site-header__cta--menu {
  display: none;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
}

.site-header__cta-message-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.32rem;
  height: 1.32rem;
  flex: 0 0 auto;
  line-height: 0;
}

.site-header__cta-message-icon svg {
  display: block;
  width: 1.32rem;
  height: 1.32rem;
  transform: translateY(1px);
}

.site-header__cta-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  line-height: 0;
}

.site-header__cta-menu-icon svg {
  display: block;
  width: 1.6rem;
  height: 1.6rem;
}

.site-header__icon-scroll {
  display: grid;
  place-items: center;
  width: calc(100% + 2px);
  height: 100%;
  margin-left: -1px;
  overflow: hidden;
  border-radius: 999px;
}

.site-header__icon-track {
  display: flex;
  flex-direction: column;
  width: 100%;
  animation: header-icon-scroll 5.6s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.site-header__icon-frame {
  display: grid;
  place-items: center;
  width: 100%;
  height: 2.45rem;
  flex: 0 0 2.45rem;
}

.site-header__icon-glyph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  transform: translate(1px, -1px);
}

.site-header__icon-frame img {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  filter: brightness(0) saturate(100%) invert(100%) sepia(7%) saturate(160%) hue-rotate(240deg) brightness(104%) contrast(100%);
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  border-color: rgba(255, 254, 254, 0.92);
  background-color: rgba(255, 254, 254, 0.04);
  box-shadow:
    0 0 0 1px rgba(255, 254, 254, 0.14),
    0 0 22px rgba(255, 254, 254, 0.14);
}

.section-shell {
  position: relative;
  min-height: 100svh;
  border-bottom: 1px solid var(--color-border);
  padding-top: var(--header-height);
}

.hero-shell {
  display: grid;
  min-height: 100svh;
  height: 100svh;
  grid-template-rows: 66svh calc(100svh - 66svh);
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}

.hero-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.hero-media__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
}

.hero-copy {
  display: grid;
  gap: 0.9rem;
}

.hero-title {
  margin: 0;
  color: var(--color-title);
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.84;
  text-shadow: var(--title-glow);
}

.hero-quote {
  margin: 0;
  color: rgba(201, 199, 194, 0.88);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 500;
  line-height: 1;
}

.section-block {
  padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
}

.section-heading {
  margin: 0;
  color: var(--color-title);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-shadow: var(--title-glow);
}

.section-heading--centered {
  text-align: center;
}

.about-shell {
  display: grid;
  align-items: stretch;
  gap: 2rem;
}

.about-shell__media-column {
  display: grid;
  gap: 1.5rem;
}

.about-shell__image-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: rgba(255, 254, 254, 0.04);
}

.about-shell__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-shell__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.about-shell__item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  align-items: center;
  gap: 1rem;
}

.about-shell__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-title);
}

.about-shell__item-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.about-shell__item-copy {
  display: grid;
  align-content: center;
  min-height: 2.5rem;
}

.about-shell__eyebrow,
.about-shell__label {
  margin: 0;
}

.about-shell__eyebrow {
  color: rgba(201, 199, 194, 0.72);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-shell__label {
  color: var(--color-title);
  font-size: 1.25rem;
  line-height: 1.05;
  text-shadow: var(--title-glow);
}

.about-shell__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.about-shell__cta {
  align-self: flex-start;
}

.about-shell__socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.about-shell__social img {
  display: block;
  width: 1rem;
  height: 1rem;
  filter: brightness(0) saturate(100%) invert(100%) sepia(7%) saturate(160%) hue-rotate(240deg) brightness(104%) contrast(100%);
}

.projects-shell {
  display: grid;
  gap: 2rem;
}

.projects-shell > .section-heading {
  align-self: end;
}

.projects-shell__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: rgba(255, 254, 254, 0.04);
}

.project-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(14, 13, 10, 0.92), rgba(14, 13, 10, 0));
}

.project-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.project-card__label {
  color: var(--color-title);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1;
  text-shadow: var(--title-glow);
}

.project-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--color-title);
  flex: 0 0 auto;
}

.project-card__arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.offers-shell {
  display: grid;
  gap: 1.5rem;
}

.offers-shell__layout {
  display: grid;
  gap: 1.5rem;
}

.offers-shell__sidebar {
  display: grid;
  align-content: start;
}

.offers-shell__rows {
  display: grid;
  gap: 0;
}

.offer-card {
  display: grid;
  min-height: 100svh;
  align-items: center;
  gap: 1.75rem;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
}

.offer-card--intro {
  min-height: auto;
  border-top: 0;
  align-items: start;
  padding: 0 0 2rem;
}

.offer-card__content {
  display: grid;
  align-content: center;
  gap: 1.2rem;
  max-width: none;
}

.offer-card__content--intro {
  height: 100%;
  align-content: start;
  max-width: none;
}

.offer-card__intro {
  display: grid;
  gap: 0.45rem;
}

.offer-card__brand-logo {
  display: block;
  width: auto;
  max-width: 8rem;
  max-height: 2.75rem;
  height: auto;
  object-fit: contain;
}

.offer-card__title {
  margin: 0;
  color: var(--color-title);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-shadow: var(--title-glow);
}

.offer-card__description {
  margin: 0;
  max-width: none;
  color: rgba(201, 199, 194, 0.9);
  font-size: 0.98rem;
  line-height: 1.35;
}

.offer-card__lead {
  margin: 0;
  color: var(--color-title);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-shadow: var(--title-glow);
}

.offer-card__lead-attribution {
  margin: 0;
  color: rgba(201, 199, 194, 0.88);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 500;
  line-height: 1;
}

.offer-card__terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.offer-card__term {
  display: grid;
  gap: 0.25rem;
}

.offer-card__term-label {
  color: rgba(201, 199, 194, 0.72);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-card__term-value {
  color: var(--color-title);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}

.offer-card__calculator {
  display: grid;
  gap: 0.9rem;
}

.offer-card__calculator-label {
  color: rgba(201, 199, 194, 0.72);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-card__calculator-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.offer-card__adjust {
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  font-size: 1.3rem;
  flex: 0 0 auto;
}

.offer-card__input {
  width: 100%;
  min-width: 0;
  height: 2.9rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 254, 254, 0.72);
  border-radius: 999px;
  background-color: transparent;
  box-shadow:
    0 0 0 1px rgba(255, 254, 254, 0.08),
    0 0 16px rgba(255, 254, 254, 0.08);
  color: var(--color-title);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    background-color 160ms ease;
}

.offer-card__input::-webkit-outer-spin-button,
.offer-card__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.offer-card__input[type="number"] {
  -moz-appearance: textfield;
}

.offer-card__input:hover,
.offer-card__input:focus {
  border-color: rgba(255, 254, 254, 0.92);
  background-color: rgba(255, 254, 254, 0.04);
  box-shadow:
    0 0 0 1px rgba(255, 254, 254, 0.14),
    0 0 22px rgba(255, 254, 254, 0.14);
}

.offer-card__result {
  margin: 0;
  color: var(--color-title);
  font-size: 1rem;
  line-height: 1.3;
}

.offer-card__cta {
  align-self: flex-start;
}

.section-shell:last-child {
  border-bottom: 0;
}

.section-title {
  margin: 0;
  text-align: center;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-shadow: var(--title-glow);
}

.contact-shell {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
}

.contact-shell__email {
  margin: 0;
  color: rgba(201, 199, 194, 0.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  line-height: 1;
}

@keyframes header-icon-scroll {
  0%,
  18% {
    transform: translateY(0);
  }

  26%,
  44% {
    transform: translateY(-2.45rem);
  }

  52%,
  70% {
    transform: translateY(-4.9rem);
  }

  78%,
  96% {
    transform: translateY(-7.35rem);
  }

  100% {
    transform: translateY(-7.35rem);
  }
}

@media (min-width: 768px) {
  .site-header__menu-panel {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 2rem;
  }

  .hero-content {
    padding: 2rem;
  }

  .section-block {
    padding: calc(var(--header-height) + 2.5rem) 2rem 2.5rem;
  }

  .about-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
  }

  .projects-shell__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .offers-shell__layout {
    grid-template-columns: 33vw minmax(0, 1fr);
    gap: 0;
    align-items: start;
  }

  .offers-shell__sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2.5rem);
    width: 33vw;
    max-width: 33vw;
    min-width: 33vw;
    min-height: calc(100svh - var(--header-height) - 2.5rem);
  }

  .offer-card {
    min-height: calc(100svh - var(--header-height));
    gap: 2.5rem;
    padding: 2.5rem 0;
  }

  .offer-card--intro {
    min-height: auto;
    padding-top: 0;
  }

  .offer-card:not(.offer-card--intro) .offer-card__content {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1rem;
    align-items: start;
    width: 33vw;
    max-width: 33vw;
    min-width: 33vw;
  }

  .offer-card:not(.offer-card--intro) .offer-card__intro,
  .offer-card:not(.offer-card--intro) .offer-card__terms {
    grid-column: 1;
  }

  .offer-card:not(.offer-card--intro) .offer-card__calculator {
    grid-column: 1;
    grid-row: auto;
    align-self: start;
  }

  .offer-card__calculator {
    gap: 1rem;
  }

  .offers-shell__rows {
    gap: 0;
  }

  .site-header__nav {
    display: flex;
  }
}

@media (max-width: 767px) {
  .offer-card__cta {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .about-shell__actions {
    align-items: stretch;
  }

  .about-shell__cta {
    align-self: stretch;
    width: 100%;
  }

  .about-shell__socials {
    justify-content: center;
    width: 100%;
  }

  .offer-card__terms {
    gap: 0.5rem;
  }

  .offer-card__term-value {
    font-size: 1.05rem;
  }

  .offer-card__calculator-row {
    gap: 0.5rem;
  }

  .site-header__cta--message {
    width: 2.45rem;
    height: 2.45rem;
    padding: 0;
  }

  .site-header__cta--message .site-header__cta-label {
    display: none;
  }

  .site-header__cta--menu {
    display: inline-flex;
  }
}
