.page--contact {
  --contact-lime: #e5ff17;
  --contact-red: var(--brand-red, #d80b22);
  --contact-ink: #161616;
  --contact-paper: #f2f0ef;
}

.page--contact .contact-main {
  overflow: clip;
  padding: 0;
}

.contact-hero {
  position: relative;
  isolation: isolate;
  min-height: max(720px, 100svh);
  overflow: hidden;
  border-radius: 0 0 26px 26px;
  background: #111;
  color: #fff;
}

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

.contact-hero__media {
  z-index: -2;
}

.contact-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  filter: grayscale(1) contrast(1.04) brightness(0.78);
  transform: scale(1.01);
}

.contact-hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 7, 7, 0.94) 0%, rgba(5, 7, 7, 0.76) 37%, rgba(5, 7, 7, 0.22) 72%, rgba(5, 7, 7, 0.42) 100%),
    linear-gradient(180deg, rgba(4, 6, 6, 0.38) 0%, transparent 32%, rgba(4, 6, 6, 0.78) 100%);
}

.contact-hero__content {
  position: absolute;
  left: clamp(32px, 5.2vw, 80px);
  bottom: clamp(168px, 20vh, 216px);
  width: min(760px, calc(100% - 64px));
}

.contact-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--contact-lime);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-kicker::before {
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.contact-kicker--red {
  color: var(--contact-red);
}

.contact-kicker--lime {
  color: var(--contact-lime);
}

.contact-hero h1,
.contact-section-heading h2,
.contact-brief__intro h2,
.contact-handoff h2 {
  margin: 0;
  font-family: "CHEDROS", "Sora", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

.contact-hero h1 {
  max-width: 13.5ch;
  color: #fff;
  font-size: clamp(3.7rem, 6.2vw, 6.8rem);
  line-height: 0.88;
}

.contact-hero__content > p:not(.contact-kicker) {
  max-width: 60ch;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.65;
}

.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.contact-button span {
  font-size: 1.3rem;
  line-height: 1;
}

.contact-button--lime {
  background: var(--contact-lime);
  color: #111;
  box-shadow: 0 18px 42px rgba(229, 255, 23, 0.16);
}

.contact-button--glass {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-button--dark {
  min-width: 244px;
  border: 0;
  background: #171717;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}

.contact-button:focus-visible {
  outline: 3px solid var(--contact-lime);
  outline-offset: 4px;
}

.contact-hero__ledger {
  position: absolute;
  right: clamp(32px, 5.2vw, 80px);
  bottom: 28px;
  left: clamp(32px, 5.2vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(9, 11, 11, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.contact-hero__ledger > div {
  display: grid;
  min-height: 108px;
  grid-template-columns: auto 1fr;
  align-content: center;
  gap: 4px 18px;
  padding: 20px clamp(20px, 2.5vw, 38px);
}

.contact-hero__ledger > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-hero__ledger span {
  grid-row: 1 / 3;
  align-self: start;
  color: var(--contact-lime);
  font-size: 0.76rem;
  font-weight: 700;
}

.contact-hero__ledger strong {
  color: #fff;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  line-height: 1.25;
}

.contact-hero__ledger small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.77rem;
  line-height: 1.35;
}

.contact-route,
.contact-handoff {
  width: min(100% - 64px, 1320px);
  margin-inline: auto;
}

.contact-route {
  padding: clamp(92px, 10vw, 148px) 0 clamp(86px, 9vw, 128px);
}

.contact-section-heading {
  max-width: 920px;
  margin: 0 auto clamp(56px, 6vw, 84px);
  text-align: center;
}

.contact-section-heading .contact-kicker {
  justify-content: center;
  color: #494542;
}

.contact-section-heading h2 {
  max-width: 12ch;
  margin-inline: auto;
  color: var(--contact-ink);
  font-size: clamp(3.2rem, 6.2vw, 6.8rem);
  line-height: 0.88;
}

.contact-section-heading > p:last-child {
  max-width: 62ch;
  margin: 28px auto 0;
  color: #686360;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.7;
}

.contact-route__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(22, 22, 22, 0.2);
  border-bottom: 1px solid rgba(22, 22, 22, 0.2);
  list-style: none;
}

.contact-route__steps li {
  min-height: 260px;
  padding: 32px clamp(24px, 3vw, 42px) 36px;
}

.contact-route__steps li + li {
  border-left: 1px solid rgba(22, 22, 22, 0.2);
}

.contact-route__steps span {
  display: block;
  margin-bottom: 56px;
  color: #494542;
  font-size: 0.76rem;
  font-weight: 700;
}

.contact-route__steps h3 {
  max-width: 17ch;
  margin: 0 0 14px;
  color: var(--contact-ink);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
}

.contact-route__steps p {
  max-width: 36ch;
  margin: 0;
  color: #6a6562;
  font-size: 0.96rem;
  line-height: 1.65;
}

.contact-brief {
  padding: clamp(88px, 9vw, 132px) max(32px, calc((100vw - 1320px) / 2));
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #151515;
  background-size: 96px 96px;
  color: #fff;
}

.contact-brief__shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.34fr);
  gap: clamp(54px, 7vw, 104px);
  align-items: start;
}

.contact-brief__intro {
  position: sticky;
  top: 130px;
}

.contact-brief__intro h2 {
  max-width: 10ch;
  color: #fff;
  font-size: clamp(3.15rem, 4.8vw, 5.5rem);
  line-height: 0.9;
}

.contact-brief__intro > p:not(.contact-kicker):not(.contact-brief__note) {
  max-width: 48ch;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.contact-direct {
  margin-top: clamp(42px, 5vw, 68px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-direct a {
  display: grid;
  gap: 7px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  transition: padding-left 180ms ease, color 180ms ease;
}

.contact-direct span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-direct strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.35;
}

.contact-brief__note {
  max-width: 46ch;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.82rem;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 3.5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  color: var(--contact-ink);
}

.contact-form .wide {
  grid-column: 1 / -1;
}

.contact-form__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(22, 22, 22, 0.14);
}

.contact-form__head span {
  color: #494542;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form__head strong {
  color: var(--contact-ink);
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: #393634;
  font-size: 0.79rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(22, 22, 22, 0.16);
  border-radius: 6px;
  background: #f6f5f3;
  color: #171717;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.contact-form input,
.contact-form select {
  min-height: 56px;
  padding: 0 16px;
}

.contact-form textarea {
  min-height: 142px;
  padding: 16px;
  line-height: 1.55;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #908b87;
  opacity: 1;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #171717;
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(229, 255, 23, 0.55);
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 4px;
  padding-top: 24px;
  border-top: 1px solid rgba(22, 22, 22, 0.14);
}

.contact-form__footer > div {
  min-width: 0;
}

.contact-form .form-helper,
.contact-form .form-status {
  margin: 0;
  color: #77716d;
  font-size: 0.78rem;
  line-height: 1.5;
}

.contact-form .form-status {
  min-height: 1.5em;
  margin-top: 6px;
  color: #1f533e;
  font-weight: 700;
}

.contact-handoff {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 8vw, 118px);
  padding: clamp(92px, 10vw, 148px) 0;
}

.contact-handoff__copy h2 {
  max-width: 9.5ch;
  color: var(--contact-ink);
  font-size: clamp(3.2rem, 5vw, 5.8rem);
  line-height: 0.9;
}

.contact-handoff__list {
  border-top: 1px solid rgba(22, 22, 22, 0.2);
}

.contact-handoff__list > div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  align-items: start;
  min-height: 112px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(22, 22, 22, 0.2);
}

.contact-handoff__list span {
  color: #494542;
  font-size: 0.76rem;
  font-weight: 700;
}

.contact-handoff .contact-kicker {
  color: #494542;
}

.contact-handoff__list strong {
  max-width: 28ch;
  color: var(--contact-ink);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.25;
}

@media (hover: hover) and (pointer: fine) {
  .contact-button:hover {
    transform: translateY(-3px);
  }

  .contact-button--lime:hover {
    background: #f0ff62;
    box-shadow: 0 22px 52px rgba(229, 255, 23, 0.24);
  }

  .contact-button--glass:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.14);
  }

  .contact-button--dark:hover {
    background: var(--contact-red);
  }

  .contact-direct a:hover {
    padding-left: 8px;
    color: var(--contact-lime);
  }
}

@media (min-width: 981px) and (max-height: 800px) {
  .contact-hero__content {
    bottom: 148px;
  }

  .contact-hero h1 {
    font-size: clamp(3.7rem, 5.6vw, 5.7rem);
  }

  .contact-hero__ledger {
    bottom: 18px;
  }
}

@media (max-width: 980px) {
  .contact-hero {
    min-height: 820px;
  }

  .contact-hero__content {
    bottom: 176px;
    width: min(700px, calc(100% - 64px));
  }

  .contact-hero h1 {
    font-size: clamp(3.5rem, 8.8vw, 5.8rem);
  }

  .contact-hero__ledger {
    right: 28px;
    left: 28px;
  }

  .contact-hero__ledger > div {
    padding-inline: 20px;
  }

  .contact-route__steps {
    grid-template-columns: 1fr;
  }

  .contact-route__steps li {
    min-height: 0;
  }

  .contact-route__steps li + li {
    border-top: 1px solid rgba(22, 22, 22, 0.2);
    border-left: 0;
  }

  .contact-route__steps span {
    margin-bottom: 30px;
  }

  .contact-brief__shell,
  .contact-handoff {
    grid-template-columns: 1fr;
  }

  .contact-brief__intro {
    position: static;
  }

  .contact-brief__intro h2 {
    max-width: 12ch;
  }
}

@media (max-width: 700px) {
  .contact-hero {
    min-height: 940px;
    border-radius: 0 0 18px 18px;
  }

  .contact-hero__media img {
    object-position: 58% center;
  }

  .contact-hero__shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 7, 0.88), rgba(5, 7, 7, 0.38)),
      linear-gradient(180deg, rgba(4, 6, 6, 0.36) 0%, rgba(4, 6, 6, 0.48) 36%, rgba(4, 6, 6, 0.92) 78%);
  }

  .contact-hero__content {
    right: 24px;
    bottom: 222px;
    left: 24px;
    width: auto;
  }

  .contact-hero h1 {
    max-width: 11ch;
    font-size: clamp(3.25rem, 14.5vw, 4.6rem);
  }

  .contact-hero__content > p:not(.contact-kicker) {
    margin-top: 22px;
    font-size: 0.96rem;
  }

  .contact-hero__actions {
    display: grid;
  }

  .contact-button {
    width: 100%;
  }

  .contact-hero__ledger {
    right: 16px;
    bottom: 16px;
    left: 16px;
    grid-template-columns: 1fr;
  }

  .contact-hero__ledger > div {
    min-height: 58px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 2px 10px;
    padding: 10px 14px;
  }

  .contact-hero__ledger > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .contact-hero__ledger span {
    align-self: center;
  }

  .contact-route,
  .contact-handoff {
    width: min(100% - 40px, 1320px);
  }

  .contact-route {
    padding-block: 82px 72px;
  }

  .contact-section-heading {
    margin-bottom: 42px;
  }

  .contact-section-heading h2,
  .contact-brief__intro h2,
  .contact-handoff__copy h2 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .contact-route__steps li {
    padding: 28px 4px 30px;
  }

  .contact-brief {
    padding: 78px 20px;
  }

  .contact-brief__shell {
    gap: 48px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }

  .contact-form > *,
  .contact-form .wide {
    grid-column: 1;
  }

  .contact-form__head,
  .contact-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form__head {
    gap: 10px;
  }

  .contact-button--dark {
    min-width: 0;
  }

  .contact-handoff {
    gap: 42px;
    padding-block: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-button,
  .contact-direct a {
    transition: none;
  }

  .contact-hero__media img {
    transform: none;
  }
}
