:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
}

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

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

.site-header {
  background: rgba(26,24,34,.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header__inner {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  margin: 0 auto;
  max-width: 1240px;
  padding: 14px 24px;
  width: 100%;
}

.site-logo {
  align-items: center;
  color: #eae6dd;
  display: inline-flex;
  font-family: 'Bodoni Moda', serif;
  font-size: 22px;
  gap: 10px;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}

.site-logo__mark {
  display: inline-block;
  flex: 0 0 auto;
  height: 22px;
  position: relative;
  width: 22px;
}

.site-logo__mark::before {
  background: #e8aa56;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(232,170,86,.7);
  content: "";
  inset: 0;
  position: absolute;
}

.site-logo__mark::after {
  background: #1a1822;
  border-radius: 50%;
  content: "";
  inset: 0;
  left: 5px;
  position: absolute;
}

.site-logo__pr {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: .28em;
  margin-left: 3px;
  opacity: .55;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: center;
}

.site-nav__link {
  color: #b6b2ab;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: #eae6dd;
}

.site-header__actions {
  display: flex;
  justify-content: flex-end;
}

.site-header__cta {
  align-items: center;
  background: #eae6dd;
  border-radius: 999px;
  color: #1a1822;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  padding: 11px 20px;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
  white-space: nowrap;
}

.site-header__cta:hover {
  box-shadow: 0 12px 30px -8px rgba(232,170,86,.6);
  transform: translateY(-2px);
}

.site-footer {
  background: #141220;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 72px 24px 40px;
}

.site-footer__inner {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  margin: 0 auto;
  max-width: 1200px;
}

.site-footer__brand {
  font-family: 'Bodoni Moda', serif;
  font-size: 22px;
  margin-bottom: 16px;
}

.site-footer__brand span {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: .3em;
  margin-left: 3px;
  opacity: .5;
}

.site-footer__copy {
  color: #8f8b84;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}

.site-footer__eyebrow {
  color: #6f6b64;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .18em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.site-footer__links {
  color: #b6b2ab;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  gap: 11px;
}

.site-footer__links a {
  color: #b6b2ab;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #eae6dd;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  color: #6f6b64;
  font-size: 13px;
  margin: 44px auto 0;
  max-width: 1200px;
  padding-top: 24px;
}

.image-frame {
  background: #232030;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  overflow: hidden;
  position: relative;
}

.image-frame::after {
  background: linear-gradient(180deg, rgba(26,24,34,0) 45%, rgba(26,24,34,.34));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.image-frame img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.service-chip {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  position: relative;
  user-select: none;
}

.service-chip input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.service-chip:has(input:checked),
.service-chip.is-checked {
  border-color: #e8aa56 !important;
  color: #eae6dd !important;
  box-shadow: inset 0 0 0 1px rgba(232,170,86,.35);
}

#lead-form.is-submitting button[type="submit"] {
  cursor: wait !important;
  opacity: .72;
}

#lead-form [name="website"] {
  pointer-events: none;
}

@media (max-width: 1000px) {
  [style*="repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 820px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 18px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  header:not(.site-header) {
    gap: 18px !important;
  }

  header:not(.site-header) > a:first-child,
  header:not(.site-header) > div:first-child {
    min-width: 0;
  }

  [style*="display:flex; justify-content:space-between"],
  [style*="align-items:flex-end"] {
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
  }

  [style*="display:flex; gap:16px"] {
    flex-wrap: wrap !important;
  }

  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:1.3fr .9fr"],
  [style*="grid-template-columns:1.6fr 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .site-header {
    position: relative;
  }

  .site-header__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 18px;
  }

  .site-header__actions {
    justify-content: center;
  }

  .site-nav {
    gap: 16px;
    justify-content: center;
    order: 3;
    width: 100%;
  }

  .site-footer {
    padding: 56px 18px 34px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  [style*="font-size:80px"] {
    font-size: 46px !important;
  }

  [style*="font-size:68px"],
  [style*="font-size:60px"] {
    font-size: 40px !important;
  }

  [style*="font-size:56px"],
  [style*="font-size:54px"],
  [style*="font-size:52px"] {
    font-size: 34px !important;
    line-height: 1.12 !important;
  }

  [style*="font-size:46px"],
  [style*="font-size:44px"],
  [style*="font-size:42px"],
  [style*="font-size:40px"] {
    font-size: 30px !important;
  }

  [style*="font-size:36px"],
  [style*="font-size:32px"] {
    font-size: 26px !important;
  }

  [style*="font-size:19px"] {
    font-size: 17px !important;
  }

  [style*="gap:48px"] {
    flex-direction: column !important;
    gap: 22px !important;
  }

  [style*="padding:40px"] {
    padding: 24px !important;
  }

  [style*="padding:34px"] {
    padding: 24px !important;
  }

  [style*="padding:18px 40px"],
  [style*="padding:16px 30px"] {
    padding: 15px 22px !important;
  }

  .image-frame {
    height: 285px !important;
  }
}

@media (max-width: 420px) {
  [style*="font-size:38px"] {
    font-size: 32px !important;
  }

  [style*="display:flex; gap:52px"] {
    gap: 22px !important;
  }

  [style*="font-size:22px"] {
    overflow-wrap: anywhere;
  }

  .image-frame {
    height: 245px !important;
  }
}
