/* One closing panel, with three type levels: heading, body and supporting text. */
.contact.wrap,
.footer {
  --closing-body: 16px;
  --closing-detail: 14px;
  font-size: var(--closing-body);
}
.contact.wrap {
  --contact-line: rgba(245, 240, 231, .27);
  --contact-muted: #b6c8d1;
  position: relative;
  isolation: isolate;
  width: min(1280px, calc(100% - 96px));
  max-width: none;
  margin: 64px auto 0;
  padding: 56px 56px 48px;
  border: 0;
  border-radius: 28px 28px 0 0;
  color: var(--paper);
  background: var(--night);
}

.contact .contact-heading {
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
  padding: 0;
  border: 0;
}

.contact .contact-heading h2 {
  color: var(--paper);
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.contact .contact-heading > a {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  color: var(--paper);
  background: transparent;
  border: 1px solid var(--contact-line);
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.contact .contact-heading > a:hover {
  color: var(--night);
  background: var(--paper);
  border-color: var(--paper);
}

.contact .contact-heading > a .arrow {
  width: 28px;
  height: 28px;
  transition: transform .35s ease;
}

.contact .contact-heading > a:hover .arrow { transform: rotate(-35deg) translate(2px, -2px); }

.contact .contact-layout {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: start;
}

.contact .contact-info { min-width: 0; padding: 0; }

.contact .contact-info .eyebrow {
  margin-bottom: 16px;
  color: var(--contact-muted);
  font-size: var(--closing-detail);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.contact .contact-info address {
  margin-bottom: 16px;
  color: var(--paper);
  font-size: var(--closing-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -.015em;
}

.contact .phones {
  gap: 0;
  margin-bottom: 24px;
  color: var(--contact-muted);
  font-size: var(--closing-body);
  line-height: 1.5;
}

.contact .phones a { display: inline-flex; align-items: center; min-height: 40px; }

.contact .contact-info .email {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--contact-line);
  color: var(--paper);
  font-size: var(--closing-body);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  transition: border-color .25s ease;
}

.contact .contact-info a:hover { color: var(--paper); border-color: var(--paper); }

.contact .phones a:hover,
.contact .socials a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact .socials { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 20px; }

.contact .socials a {
  min-height: 44px;
  padding: 8px 0;
  gap: 6px;
  border: 0;
  border-radius: 0;
  color: var(--contact-muted);
  background: transparent;
  font-size: var(--closing-body);
  line-height: 1.5;
}

.contact .socials .arrow { width: 14px; height: 14px; }

.contact .contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 26px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--paper);
  background: transparent;
  color-scheme: dark;
}

.contact .field label {
  margin-bottom: 5px;
  color: var(--contact-muted);
  font-size: var(--closing-body);
  font-weight: 400;
  line-height: 1.5;
  transition: color .2s ease;
}

.contact .field input,
.contact .field textarea {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 10px 0 13px;
  border: 0;
  border-bottom: 1px solid var(--contact-line);
  border-radius: 0;
  color: var(--paper);
  background: transparent;
  font-size: var(--closing-body);
  font-weight: 400;
  line-height: 1.5;
  caret-color: var(--paper);
  box-shadow: none;
  transition: border-color .25s ease, background .25s ease;
}

.contact .field textarea { min-height: 108px; max-height: 400px; resize: vertical; }
.contact .field:focus-within label { color: var(--paper); }
.contact .field input:hover,
.contact .field textarea:hover { border-color: rgba(245, 240, 231, .65); }

.contact .field input:focus,
.contact .field textarea:focus {
  outline: 1px solid rgba(245, 240, 231, .65);
  outline-offset: 6px;
  border-color: var(--paper);
  background: rgba(245, 240, 231, .025);
}

.contact .field input:-webkit-autofill,
.contact .field input:-webkit-autofill:hover,
.contact .field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--paper);
  -webkit-box-shadow: 0 0 0 100px var(--night) inset;
  caret-color: var(--paper);
}

.contact .form-submit { align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 4px; }

.contact .submit-btn {
  justify-content: space-between;
  gap: 40px;
  min-width: 164px;
  min-height: 58px;
  padding: 12px 20px;
  border: 1px solid var(--paper);
  border-radius: 100px;
  color: var(--night);
  background: var(--paper);
  font-size: var(--closing-body);
  font-weight: 500;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.contact .submit-btn .arrow { width: 25px; height: 25px; transition: transform .25s ease; }
.contact .submit-btn:hover { border-color: var(--blue); color: var(--paper); background: var(--blue); }
.contact .submit-btn:hover .arrow { transform: translateX(3px); }

.contact .form-help {
  flex: 1 1 130px;
  max-width: 210px;
  margin: 0;
  color: var(--contact-muted);
  font-size: var(--closing-detail);
  line-height: 1.6;
}

.contact .form-status { margin: 0; color: var(--paper); font-size: var(--closing-detail); line-height: 1.65; }
.contact a:focus-visible,
.contact button:focus-visible { outline: 2px solid var(--paper); outline-offset: 6px; }

/* A considered signature within the same continuous dark surface. */
.footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-rows: auto auto 1fr auto;
  gap: 0 clamp(44px, 6vw, 88px);
  width: min(1280px, calc(100% - 96px));
  margin: 0 auto 36px;
  padding: 44px 56px 24px;
  border: 0;
  border-radius: 0 0 28px 28px;
  color: var(--paper);
  background: radial-gradient(ellipse at 14% 115%, rgba(1, 105, 156, .14), transparent 54%), var(--night);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 56px;
  right: 56px;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 240, 231, .22), rgba(245, 240, 231, .08));
}

.footer .footer-top { display: contents; }
.footer .footer-top > a { grid-column: 1; grid-row: 1; justify-self: start; align-self: start; padding: 4px 0 0; }
.footer .footer-top img { width: 156px; filter: brightness(0) invert(1); opacity: .94; }

.footer .footer-links {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 28px;
  width: 100%;
  max-width: none;
  align-content: start;
}

.footer .footer-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(245, 240, 231, .1);
  color: #c1d0d7;
  font-size: var(--closing-body);
  line-height: 1.5;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.footer .footer-links a:hover {
  color: var(--paper);
  border-color: rgba(245, 240, 231, .4);
  text-decoration: none;
}

.footer .footer-statement {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  max-width: 230px;
  margin: 18px 0 0;
  color: #b6c8d1;
  font-size: var(--closing-detail);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.01em;
}

.footer .footer-statement span { color: inherit; }
.footer .footer-ethics {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  align-self: start;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 44px;
  margin-top: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(245, 240, 231, .1);
  color: #c1d0d7;
  font-size: var(--closing-body);
  line-height: 1.5;
  transition: color .2s ease, border-color .2s ease;
}
.footer .footer-ethics:hover { color: var(--paper); border-color: rgba(245, 240, 231, .4); }
.footer .footer-bottom {
  grid-column: 1 / -1;
  grid-row: 4;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  padding-top: 18px;
  border-color: rgba(245, 240, 231, .12);
  color: #a9bec9;
  font-size: var(--closing-detail);
  line-height: 1.5;
}
.footer .back-top { flex-shrink: 0; gap: 10px; min-height: 40px; color: var(--paper); }
.footer .back-top .arrow {
  width: 32px;
  height: 32px;
  padding: 7px;
  border: 1px solid rgba(245, 240, 231, .22);
  border-radius: 50%;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.footer .back-top:hover .arrow { color: var(--night); background: var(--paper); border-color: var(--paper); }
.footer a:focus-visible { outline: 2px solid var(--paper); outline-offset: 5px; }

@media (max-width: 1180px) {
  .contact.wrap, .footer { width: calc(100% - 64px); padding-inline: 40px; }
  .contact .contact-layout, .footer { column-gap: 44px; }
  .contact .contact-form { column-gap: 22px; }
  .footer::before { left: 40px; right: 40px; }
  .footer .footer-links { column-gap: 20px; }
}

@media (max-width: 900px) {
  .contact.wrap { margin-top: 48px; padding-block: 44px 40px; }
  .contact .contact-heading { margin-bottom: 36px; }
  .contact .contact-heading > a { flex-basis: 54px; width: 54px; height: 54px; }
  .contact .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .contact .contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .contact .contact-info .eyebrow { grid-column: 1 / -1; }
  .contact .contact-info address { margin-bottom: 18px; }
  .contact .phones { margin-bottom: 18px; }
  .contact .contact-info .email { grid-column: 1 / -1; justify-self: start; }
  .contact .socials { grid-column: 1 / -1; margin-top: 16px; }
  .contact .contact-form { gap: 26px 26px; }
  .footer { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 28px; padding-top: 36px; }
  .footer .footer-top img { width: 144px; }
  .footer .footer-links { column-gap: 18px; }
  .footer .footer-statement { max-width: 190px; font-size: var(--closing-detail); }
}

@media (max-width: 760px) {
  .contact.wrap, .footer { width: calc(100% - 32px); }
}

@media (max-width: 600px) {
  .contact.wrap, .footer { width: calc(100% - 32px); padding-inline: 24px; }
  .contact.wrap { margin-top: 40px; padding-top: 34px; padding-bottom: 34px; border-radius: 24px 24px 0 0; }
  .contact .contact-heading { gap: 14px; margin-bottom: 30px; }
  .contact .contact-heading > a { flex-basis: 44px; width: 44px; height: 44px; }
  .contact .contact-heading > a .arrow { width: 23px; height: 23px; }
  .contact .contact-layout { gap: 32px; }
  .contact .contact-info { display: block; }
  .contact .contact-info .eyebrow { margin-bottom: 10px; }
  .contact .contact-info address { margin-bottom: 12px; }
  .contact .phones { margin-bottom: 18px; }
  .contact .phones a { min-height: 40px; }
  .contact .socials { gap: 0 18px; margin-top: 13px; }
  .contact .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  .contact .contact-form .field:not(.full) { grid-column: auto; }
  .contact .field input, .contact .field textarea { min-height: 50px; }
  .contact .field textarea { min-height: 100px; }
  .contact .form-submit { align-items: center; gap: 14px 18px; }
  .contact .submit-btn { min-width: 128px; min-height: 50px; gap: 24px; padding-inline: 16px; }
  .contact .form-help { flex-basis: 105px; max-width: 180px; }
  .footer { grid-template-columns: 1fr; grid-template-rows: none; padding-top: 32px; padding-bottom: 20px; margin-bottom: 24px; border-radius: 0 0 24px 24px; }
  .footer::before { left: 24px; right: 24px; }
  .footer .footer-top > a { grid-column: 1; grid-row: 1; }
  .footer .footer-top img { width: 144px; }
  .footer .footer-statement { grid-column: 1; grid-row: 2; margin-top: 14px; font-size: var(--closing-detail); max-width: none; }
  .footer .footer-links { grid-column: 1; grid-row: 4; width: 100%; gap: 6px 20px; margin-top: 28px; }
  .footer .footer-links a { min-height: 48px; padding-block: 11px; }
  .footer .footer-bottom { grid-column: 1; grid-row: 5; align-items: flex-start; flex-wrap: wrap; gap: 12px 20px; margin-top: 28px; padding-top: 16px; }
  .footer .footer-bottom > span { flex: 1 1 200px; max-width: none; }
  .footer .back-top { min-height: 36px; gap: 7px; }
}

@media (max-width: 360px) {
  .contact.wrap, .footer { padding-inline: 20px; }
  .contact .contact-heading { gap: 10px; }
  .contact .socials { gap: 0 14px; }
  .contact .form-submit { align-items: flex-start; }
  .contact .form-help { flex-basis: 100%; max-width: none; }
  .footer::before { left: 20px; right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact a,
  .contact button,
  .contact .arrow,
  .contact .field label,
  .contact .field input,
  .contact .field textarea { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .footer .footer-links a,
  .footer .footer-ethics,
  .footer .back-top .arrow { transition: none; }
}
