/* Contact */
.contact-page {
  --contact-rule: #D8D2C8;
  --contact-sage: #829077;
}
.contact-page [hidden] { display: none !important; }

/* Contacts */
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(42px, 5vw, 82px);
  row-gap: 0;
  min-height: 690px;
  padding-top: clamp(42px, 4.3vw, 70px);
  padding-bottom: clamp(74px, 6vw, 108px);
}
.contact-topline {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: clamp(50px, 5vw, 78px);
}
.contact-topline .eyebrow { flex-shrink: 0; margin: 0; }
.contact-top-rule { height: 1px; flex: 1; background: var(--contact-rule); }
.contact-introduction {
  position: relative;
  z-index: 0;
  min-width: 0;
  padding: 6px 0 40px clamp(0px, 1.1vw, 16px);
}
.contact-introduction > :not(.contact-artwork) { position: relative; z-index: 1; }
.contact-intro-label {
  margin: 0 0 19px;
  color: #75816E;
}
.contact-introduction h1 {
  margin: 0 0 27px;
  font-family: var(--font-display);
  font-size: clamp(90px, 7.4vw, 124px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .85;
}
.contact-introduction h1 em {
  display: block;
  margin-top: .14em;
  color: var(--accent);
  font-weight: 400;
}
.contact-intro-description {
  max-width: 38ch;
  margin: 0 0 34px;
  color: #55534D;
  font: 500 18px/1.68 var(--font-reading);
}

.contact-short-rule {
  position: relative;
  display: block;
  width: 112px;
  height: var(--accent-line-thickness);
}
.contact-short-rule::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(.13);
  transform-origin: left center;
  transition: transform var(--underline-motion);
}

.contact-intro-description:hover + .contact-short-rule::before,
.contact-short-rule:hover::before {
  transform: scaleX(1);
}


.contact-artwork {
  position: absolute;
  inset: 15% -14% -17% 0;
  pointer-events: none;
  overflow: hidden;
  opacity: .62;
  z-index: 0;
}
.contact-artwork svg { display: block; width: 100%; height: 100%; }
.contact-stroke {
  fill: none;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 180 750;
  stroke-linecap: round;
  animation: contact-drift 21s ease-in-out infinite alternate;
}
.contact-stroke--sage { stroke: rgba(103, 129, 97, .42); }
.contact-stroke--clay { stroke: rgba(180, 119, 87, .43); animation-delay: -8s; animation-duration: 25s; }
.contact-orbit {
  fill: var(--accent);
  opacity: .5;
  animation: contact-glimmer 9s ease-in-out infinite alternate;
}
.contact-orbit--two { fill: #7A9973; animation-delay: -4s; animation-duration: 11s; }
.contact-orbit--three { animation-delay: -7s; animation-duration: 13s; }
@keyframes contact-drift {
  0% { stroke-dashoffset: 0; opacity: .25; }
  50% { opacity: .78; }
  100% { stroke-dashoffset: -450; opacity: .45; }
}
@keyframes contact-glimmer {
  0%, 100% { opacity: .16; transform: translateY(0); }
  50% { opacity: .75; transform: translateY(-13px); }
}


.contact-methods { min-width: 0; position: relative; z-index: 1; }
.contact-methods-heading { margin: 0 0 24px; }
.contact-methods-heading .eyebrow { margin: 0 0 9px; }
.contact-methods-heading h2 {
  margin: 0;
  font: 500 clamp(46px, 4vw, 64px)/1.05 var(--font-display);
  letter-spacing: -.035em;
}
.contact-methods-heading h2 em { color: var(--accent); font-weight: 400; }
.contact-channel { 
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 16px;
  padding: clamp(22px, 2.2vw, 34px) 0;
  border-top: 1px solid var(--contact-rule);
  min-width: 0;
}
.contact-channel:last-child { border-bottom: 1px solid var(--contact-rule); }
.contact-channel-index {
  margin-top: 8px;
  color: var(--accent-ink);
  font: 600 11px/1.4 var(--font-ui);
  letter-spacing: .12em;
}
.contact-channel-content { min-width: 0; }
.contact-channel h3 {
  margin: 0 0 6px;
  font: 500 clamp(31px, 2.6vw, 39px)/1.1 var(--font-display);
}
.contact-channel-description {
  margin: 0 0 13px;
  color: #67635B;
  font: 400 16px/1.6 var(--font-reading);
}
.contact-channel-link,
.contact-channel-handle {
  overflow-wrap: anywhere;
  font: 600 12px/1.5 var(--font-ui);
  letter-spacing: .03em;
}
.contact-channel-link { color: var(--accent-ink); text-decoration: none; border-bottom: 1px solid currentColor; }
.contact-channel-link:hover { color: var(--text); }
.contact-channel-handle { color: var(--accent-ink); }
.contact-status,
.contact-copy {
  margin-top: 11px;
  color: #928B80;
  font: 600 10px/1.4 var(--font-ui);
  letter-spacing: .09em;
  white-space: nowrap;
}
.contact-copy {
  padding: 5px 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--accent);
  text-align: right;
}
.contact-copy:disabled { opacity: .42; cursor: not-allowed; }
.contact-copy:not(:disabled):hover { color: var(--text); }
.contact-copy:focus-visible,
.contact-channel-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.contact-feedback { display: block; color: #6F8267; min-height: 0; font: 500 12px/1.5 var(--font-ui); }
.contact-feedback:empty { display: none; }
.contact-note { margin: 18px 0 0 54px; color: #8F897D; font: 400 12px/1.6 var(--font-ui); }

/* Navigation */
.contact-continue {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #E9EDE3 0%, #EFF0E8 55%, #F2EBE2 100%);
  border-top: 1px solid var(--contact-rule);
}
.contact-continue-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 4.2vw, 70px);
  align-items: center;
  padding-top: clamp(65px, 6vw, 94px);
  padding-bottom: clamp(65px, 6vw, 94px);
}
.contact-continue-heading { align-self: center; }
.contact-continue .eyebrow { margin: 0 0 18px; }
.contact-continue h2 {
  max-width: 8ch;
  margin: 0;
  font: 500 clamp(51px, 4.6vw, 76px)/1.04 var(--font-display);
  letter-spacing: -.04em;
}
.contact-continue h2 em { font-weight: 400; color: var(--accent); }
.contact-continue-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 23px);
  min-width: 0;
}
.contact-route {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 272px;
  padding: clamp(22px, 2vw, 34px);
  border: 1px solid rgba(112, 126, 106, .30);
  background: rgba(252, 251, 248, .74);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, background-color .35s ease;
}
.contact-route--about { background: rgba(247, 238, 229, .75); }
.contact-route::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -65px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(180, 119, 87, .24);
  border-radius: 50%;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.contact-route--about::before {
  border-color: rgba(114, 139, 105, .28);
}
.contact-route:hover,
.contact-route:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(180, 119, 87, .65);
  background: #FCFBF8;
}
.contact-route:hover::before,
.contact-route:focus-visible::before { transform: translate(-18px, 15px) scale(1.15); }
.contact-route:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.contact-route-index {
  position: relative;
  font: 600 10px/1.5 var(--font-ui);
  letter-spacing: .16em;
  color: #80786C;
}
.contact-route-title {
  position: relative;
  display: block;
  margin: 22px 0 11px;
  font: 500 clamp(32px, 2.8vw, 44px)/1.06 var(--font-display);
  letter-spacing: -.035em;
}
.contact-route-title em { color: var(--accent); font-weight: 400; }
.contact-route-note {
  position: relative;
  display: block;
  max-width: 30ch;
  margin-bottom: 26px;
  color: #68635B;
  font: 400 15px/1.55 var(--font-reading);
}
.contact-route-action {
  position: relative;
  display: inline-block;
  margin-top: auto;
  padding-bottom: 9px;
  color: var(--accent);
  font: 700 11px/1.3 var(--font-ui);
  letter-spacing: .11em;
  white-space: nowrap;
}
.contact-route-action::after {
  content: "";
  position: absolute;
  width: 100%;
  height: var(--accent-line-thickness);
  left: 0;
  bottom: 0;
  background: currentColor;
  transform: scaleX(.13);
  transform-origin: left center;
  transition: transform var(--underline-motion);
}
.contact-route:hover .contact-route-action::after,
.contact-route:focus-visible .contact-route-action::after { transform: scaleX(1); }

@media (max-width: 1100px) {
  .contact-hero { gap: clamp(25px, 3.4vw, 44px); }
  .contact-continue-inner { gap: 28px; }
  .contact-route { padding: 22px; min-height: 250px; }
  .contact-route-title { font-size: clamp(31px, 3vw, 40px); }
  .contact-introduction h1 { font-size: clamp(76px, 8.7vw, 108px); }
  .contact-channel { grid-template-columns: 27px minmax(0,1fr); }
  .contact-status, .contact-copy { grid-column: 2; margin-top: 12px; justify-self: start; }
  .contact-methods-heading h2 { font-size: 50px; }
}
@media (max-width: 820px) {
  .contact-hero, .contact-continue-inner { grid-template-columns: minmax(0,1fr); }
  .contact-hero { padding-top: 42px; padding-bottom: 70px; min-height: auto; }
  .contact-topline { margin-bottom: 22px; }
  .contact-introduction { padding: 12px 0 45px; }
  .contact-introduction h1 { font-size: clamp(80px, 11vw, 103px); }
  .contact-intro-description { max-width: 48ch; }
  .contact-artwork { inset: 7% 0 -8% 10%; }
  .contact-continue-inner { gap: 26px; }
  .contact-continue h2 { max-width: none; }
}
@media (max-width: 600px) {
  .contact-hero { padding-top: 30px; padding-bottom: 56px; }
  .contact-introduction h1 { font-size: clamp(68px, 15vw, 90px); }
  .contact-intro-description { font-size: 16px; }
  .contact-methods-heading h2 { font-size: 45px; }
  .contact-channel h3 { font-size: 32px; }
  .contact-channel { padding: 22px 0; }
  .contact-channel-description { font-size: 15px; }
  .contact-note { margin-left: 0; }
  .contact-artwork { opacity: .35; }
  .contact-continue-inner { padding-top: 57px; padding-bottom: 57px; }
  .contact-continue h2 { font-size: 49px; }
  .contact-continue-links { grid-template-columns: minmax(0, 1fr); }
  .contact-route { min-height: 220px; }
  .contact-route-title { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-stroke, .contact-orbit { animation: none; }
  .contact-short-rule::before,
  .contact-route,
  .contact-route::before,
  .contact-route-action::after { transition: none; }
}


html[lang="ru"] .contact-introduction h1 em {
  font-size: clamp(50px, 5.3vw, 79px);
  letter-spacing: -.065em;
}
@media (max-width: 650px) {
  html[lang="ru"] .contact-introduction h1 em {
    font-size: clamp(36px, 9.8vw, 56px);
    letter-spacing: -.075em;
  }
}
