/* The invitation lives in the same world as the three preceding chapters. */
:is(.home-unified, .about-page, .service-horizontal-page) section.home-contact {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  max-width: 1600px;
  width: 100%;
  margin-inline: auto;
  padding: 122px var(--pad) 54px;
  gap: 40px;
  scroll-margin-top: -120px;
  pointer-events: auto;
}
.home-contact-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.home-contact-top .hu-caption,
.home-contact-signature {
  font: 400 10px/1.5 var(--body);
  color: #a4b5aa;
  letter-spacing: .13em;
}
.home-contact-signature { color: #87988e; }
.home-contact-invitation {
  text-align: center;
  padding-block: 12px 20px;
}
:is(.home-unified, .about-page, .service-horizontal-page) .home-contact h2 {
  font-size: clamp(76px, 8.3vw, 120px);
  line-height: .99;
  letter-spacing: -.045em;
}
.home-contact h2 em {
  color: #b7dfd2;
}
:is(.home-unified, .about-page, .service-horizontal-page) .home-contact-invitation p {
  margin: 27px auto 0;
  color: #b1bfb6;
  font-size: 16px;
  line-height: 1.8;
  max-width: 440px;
}
.home-contact-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 9vw, 130px);
  width: min(100%, 1080px);
  margin-inline: auto;
}
.home-contact-channel {
  --channel-colour: #f6ba9f;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  align-content: start;
  gap: 13px 20px;
  padding-block: 20px 24px;
  border-top: 1px solid #a9c2b444;
  isolation: isolate;
}
.home-contact-telegram { --channel-colour: #a8e2d6; }
.home-contact-channel::before {
  content: '';
  position: absolute;
  inset: 0 -20px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 45% 0, color-mix(in srgb, var(--channel-colour), transparent 94%), transparent 72%);
  opacity: 0;
  transition: opacity .5s;
}
.home-contact-kind {
  color: var(--channel-colour);
  font: 400 11px/1.5 var(--body);
  letter-spacing: .13em;
}
.home-contact-address {
  grid-column: 1 / -1;
  font: 400 clamp(25px, 3vw, 43px)/1.25 var(--body);
  color: #e3eae3;
  letter-spacing: -.04em;
  transition: color .3s;
}
.home-contact-hint {
  grid-column: 1 / -1;
  color: #a1b0a7;
  font: 400 14px/1.7 var(--body);
}
.home-contact-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #a9c2b43b;
  border-radius: 50%;
  color: var(--channel-colour);
  font: 400 23px/1 var(--body);
  transition: transform .4s, border-color .4s, background .4s;
}
.home-contact-channel:hover,
.home-contact-channel:focus-visible { border-color: var(--channel-colour); }
.home-contact-channel:hover::before,
.home-contact-channel:focus-visible::before { opacity: 1; }
.home-contact-channel:hover .home-contact-address,
.home-contact-channel:focus-visible .home-contact-address { color: var(--channel-colour); }
.home-contact-channel:hover .home-contact-arrow,
.home-contact-channel:focus-visible .home-contact-arrow {
  transform: translate(2px, -2px);
  border-color: var(--channel-colour);
  background: color-mix(in srgb, var(--channel-colour), transparent 94%);
}
.home-contact-channel:focus-visible { outline-color: var(--channel-colour); }
.home-contact-calls {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 30px;
}
.home-contact-calls > span {
  color: #8fa598;
  font-size: 10px;
  letter-spacing: .1em;
}
.home-contact-calls > div { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.home-contact-calls a {
  color: #c0cec4;
  font-size: 15px;
  padding-block: 8px;
  white-space: nowrap;
}
.home-contact-calls a:hover { color: #d5b7f4; }
.home-continuation[data-act="3"] .continuation-shade {
  background: radial-gradient(ellipse at 50% 25%, #1316159c, transparent 75%), linear-gradient(#131615, transparent 18%, #13161582 68%, #131615);
}
.home-continuation[data-act="3"] .continuation-atmosphere {
  background: radial-gradient(ellipse at 48% 56%, #9ecbc512, transparent 64%), radial-gradient(ellipse at 80% 42%, #c5a4d20d, transparent 60%);
}
html[data-motion-static] .home-contact *,
html[data-motion-static] .home-contact *::before { transition: none; }
@media (min-width: 901px) and (max-height: 800px) {
  :is(.home-unified, .about-page, .service-horizontal-page) section.home-contact { padding-block: 108px 38px; gap: 26px; }
  :is(.home-unified, .about-page, .service-horizontal-page) .home-contact h2 { font-size: clamp(72px, 7.2vw, 96px); }
  .home-contact-invitation { padding-block: 0 8px; }
  .home-contact-channel { padding-block: 16px 20px; gap: 11px 20px; }
  .home-contact-address { font-size: clamp(25px, 2.8vw, 36px); }
}
@media (max-width: 900px) {
  :is(.home-unified, .about-page, .service-horizontal-page) section.home-contact { padding-block: 132px 48px; }
  .home-contact-signature { display: none; }
  :is(.home-unified, .about-page, .service-horizontal-page) .home-contact h2 { font-size: clamp(65px, 9vw, 85px); }
  .home-contact-channels { gap: 40px; }
}
@media (max-width: 600px) {
  :is(.home-unified, .about-page, .service-horizontal-page) section.home-contact {
    min-height: 100svh;
    padding-block: 130px 42px;
    gap: 30px;
    scroll-margin-top: -80px;
  }
  .home-contact-top { justify-content: center; }
  .home-contact-top .hu-caption { font-size: 9px; }
  :is(.home-unified, .about-page, .service-horizontal-page) .home-contact h2 { font-size: clamp(46px, 12vw, 66px); }
  .home-contact-invitation { padding-block: 10px; }
  :is(.home-unified, .about-page, .service-horizontal-page) .home-contact-invitation p { font-size: 16px; margin-top: 24px; }
  .home-contact-invitation p br { display: none; }
  .home-contact-channels { grid-template-columns: 1fr; gap: 0; }
  .home-contact-channel { padding-block: 16px 23px; gap: 11px 16px; }
  .home-contact-address { font-size: clamp(25px, 7.2vw, 35px); }
  .home-contact-hint { font-size: 14px; }
  .home-contact-arrow { width: 38px; height: 38px; font-size: 21px; }
  .home-contact-calls { justify-content: flex-start; gap: 12px; }
  .home-contact-calls > div { gap: 0 24px; }
  .home-contact-calls a { font-size: 15px; }
}
@media (max-width: 360px) {
  :is(.home-unified, .about-page, .service-horizontal-page) .home-contact h2 { font-size: 42px; }
  .home-contact-address { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-contact *, .home-contact *::before { transition: none; }
}
