.contact-page {
  --ink: #17191c;
  --muted: #53575c;
  --red: #b51f32;
  --silver: #e9ebed;
  --line: #cdd1d5;
}

.contact-page * {
  box-sizing: border-box;
}

:is([class~="contact-page"]) {
  margin: 0;
  background: var(--silver);
  color: var(--ink);
  font-family: Arial,"Segoe UI",sans-serif;
}

.contact-page a {
  color: inherit;
  text-decoration: none;
}

.contact-page button,.contact-page input,.contact-page textarea {
  font: inherit;
}

.contact-page .banner {
  height: clamp(360px,33.333vw,560px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #292d30;
  color: #fff;
}

.contact-page .banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../images/contact-banner-v5-desktop-v039.webp') center 82px/100vw auto no-repeat fixed;
}

.contact-page .banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,#11161b62,#11161b83);
}

.contact-page .banner-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-page .banner h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(50px,4.8vw,72px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.04;
  text-shadow: 0 3px 18px #0005;
}

.contact-page .crumbs {
  display: flex;
  gap: 13px;
  align-items: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
}

.contact-page .crumbs a {
  color: #ef8794;
}

.contact-page .crumbs b {
  font-weight: 400;
  color: #ccc;
}

.contact-page .main {
  background: var(--silver);
}

.contact-page .intro {
  width: min(1200px,calc(100% - 80px));
  margin: auto;
  padding: 48px 0 36px;
  display: grid;
  grid-template-columns: 1fr .8fr;
  column-gap: 12%;
  align-items: end;
  border-bottom: 1px solid #c9cdd1;
}

.contact-page .kicker {
  display: block;
  color: var(--red);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.contact-page .intro h2 {
  margin: 16px 0 0;
  font-size: clamp(44px,4.5vw,60px);
  line-height: 1.07;
  letter-spacing: -.052em;
  font-weight: 650;
}

.contact-page .intro p {
  margin: 0 0 4px;
  max-width: 430px;
  color: #4e5358;
  font-size: 17px;
  line-height: 1.65;
}

.contact-page .stage {
  width: min(1200px,calc(100% - 80px));
  margin: 32px auto 64px;
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: stretch;
}

.contact-page .contact-side {
  min-width: 0;
  background: #202429;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.contact-page .contact-photo {
  height: 176px;
  position: relative;
  overflow: hidden;
  background: #34383d;
}

.contact-page .contact-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/contact-get-in-touch-v4.webp') center 61%/cover no-repeat;
  filter: saturate(.76);
}

.contact-page .contact-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#11161b4d,transparent 65%);
}

.contact-page .contact-content {
  padding: 28px;
  flex: 1;
}

.contact-page .contact-content .kicker {
  color: #e98593;
}

.contact-page .contact-content h3 {
  margin: 13px 0 28px;
  font-size: 42px;
  line-height: 1.07;
  letter-spacing: -.04em;
  font-weight: 650;
}

.contact-page .contact-row {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid #ffffff3d;
}

.contact-page .contact-icon {
  color: #e86679;
  font-size: 22px;
  line-height: 1.2;
}

.contact-page .contact-row small {
  display: block;
  margin-bottom: 8px;
  color: #b8c0c5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
}

.contact-page .contact-row a,.contact-page .contact-row address {
  font-size: 16px;
  line-height: 1.55;
  font-style: normal;
  overflow-wrap: anywhere;
}

.contact-page .contact-row a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-page .map {
  height: 190px;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--red);
  background: #dce3e3;
  color: var(--ink);
}

.contact-page .map::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: repeating-linear-gradient(22deg,transparent 0 54px,#fff 56px 66px,transparent 68px 126px),repeating-linear-gradient(112deg,transparent 0 66px,#fff 68px 78px,transparent 80px 140px);
  opacity: .86;
}

.contact-page .map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,#d2dbd971,transparent 65%);
}

.contact-page .map-badge {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 20px;
  padding: 7px 9px;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  box-shadow: 0 2px 9px #0002;
}

.contact-page .map-link {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 20px;
  padding: 12px 15px;
  background: #fff;
  border-left: 3px solid var(--red);
  box-shadow: 0 5px 17px #0003;
  font-size: 12px;
  font-weight: 700;
}

.contact-page .form-side {
  min-width: 0;
  background: #f8f9f9;
  padding: 32px;
  border-top: 4px solid var(--red);
}

.contact-page .form-side h3 {
  margin: 13px 0 14px;
  font-size: clamp(42px,3.7vw,54px);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 650;
}

.contact-page .form-side .lead {
  margin: 0 0 34px;
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.contact-page form {
  display: grid;
  gap: 22px;
}

.contact-page .pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-page label {
  display: block;
  color: #353a3f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .025em;
}

.contact-page label em {
  color: var(--red);
  font-style: normal;
}

.contact-page input,.contact-page textarea {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid #b8bec3;
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

.contact-page input {
  height: 52px;
}

.contact-page textarea {
  height: 166px;
  resize: vertical;
}

.contact-page input:focus,.contact-page textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px #b51f3222;
}

.contact-page button {
  width: 240px;
  max-width: 100%;
  height: 52px;
  margin-top: 1px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.contact-page button:hover {
  background: #941729;
}

.contact-page button span {
  font-size: 19px;
  font-weight: 400;
}

@media(width <=1100px) {
  .contact-page .intro,.contact-page .stage {
    width: calc(100% - 80px);
  }

  .contact-page .intro {
    column-gap: 7%;
  }

  .contact-page .contact-content {
    padding: 28px;
  }

  .contact-page .form-side {
    padding: 32px;
  }
}

@media(width <=900px) {
  .contact-page .banner {
    height: clamp(278px,40vw,360px);
  }

  .contact-page .banner::before {
    background-image: url('../images/contact-banner-v5-mobile-v039.webp');
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
  }

  .contact-page .banner::after {
    background: linear-gradient(180deg,#10151b19 15%,#10151bc9 100%);
  }

  .contact-page .banner-inner {
    justify-content: flex-end;
    padding-bottom: 28px;
  }

  .contact-page .banner h1 {
    font-size: 44px;
    margin-bottom: 9px;
  }

  .contact-page .intro {
    width: calc(100% - 42px);
    display: block;
    padding: 52px 0 36px;
  }

  .contact-page .intro h2 {
    font-size: clamp(39px,10vw,54px);
  }

  .contact-page .intro p {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.65;
  }

  .contact-page .stage {
    width: calc(100% - 24px);
    margin: 25px auto 75px;
    display: block;
  }

  .contact-page .contact-photo {
    height: 178px;
  }

  .contact-page .contact-content {
    padding: 37px 27px 34px;
  }

  .contact-page .contact-content h3 {
    font-size: 38px;
    margin-bottom: 24px;
  }

  .contact-page .contact-row {
    padding: 17px 0;
  }

  .contact-page .contact-row a,.contact-page .contact-row address {
    font-size: 15px;
  }

  .contact-page .map {
    height: 245px;
  }

  .contact-page .form-side {
    padding: 43px 27px 49px;
  }

  .contact-page .form-side h3 {
    font-size: 41px;
  }

  .contact-page .form-side .lead {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .contact-page .pair {
    display: block;
  }

  .contact-page .pair label+label {
    margin-top: 20px;
  }

  .contact-page form {
    gap: 20px;
  }

  .contact-page button {
    width: 100%;
    margin-top: 2px;
  }
}

@media(width <=380px) {
  .contact-page .banner {
    height: 260px;
  }

  .contact-page .banner h1 {
    font-size: 40px;
  }

  .contact-page .intro h2 {
    font-size: 38px;
  }

  .contact-page .contact-content,.contact-page .form-side {
    padding-left: 22px;
    padding-right: 22px;
  }
}

[class~="contact-page"] {
  display: flow-root;
}

.contact-page :is(h1,h2,h3,p) {
  margin: 0;
}

[class~="contact-page"] .intro h2 {
  margin: 16px 0 0;
}

[class~="contact-page"] .intro p {
  margin: 0 0 4px;
}

[class~="contact-page"] .contact-content h3 {
  margin: 13px 0 28px;
  color: #fff;
}

[class~="contact-page"] .form-side h3 {
  margin: 13px 0 14px;
}

[class~="contact-page"] .form-side .lead {
  margin: 0 0 34px;
}

[class~="contact-page"] .banner h1 {
  margin: 0 0 18px;
}

[class~="contact-page"] .banner::before {
  background-position: center var(--header-offset,88px);
}

.contact-page .banner .crumbs {
  margin: 0;
}

.contact-page .contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-page .contact-form-status {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-left: 3px solid #b51f32;
  background: #e9ebed;
  font-size: 15px;
  line-height: 1.6;
}

.contact-page #contact-form {
  scroll-margin-top: calc(var(--header-offset,88px) + 24px);
}

.contact-page .map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-page .map::before,.contact-page .map::after {
  display: none;
}

[class~="contact-page"] .map-link {
  bottom: 12px;
  left: 12px;
  padding: 9px 12px;
  font-size: 11px;
}

[class~="contact-page"] .map-badge {
  display: none;
}

.contact-page .contact-extra-content {
  width: min(1200px,calc(100% - 80px));
  margin: 0 auto 70px;
}

@media(width <=900px) {
  .contact-page .intro p {
    margin-top: 20px;
  }

  .contact-page .banner::before {
    background-position: center top;
  }

  .contact-page .banner h1 {
    margin-bottom: 9px;
  }

  .contact-page .contact-content h3 {
    margin-bottom: 24px;
  }

  .contact-page .form-side .lead {
    margin-bottom: 28px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .contact-page .banner::before {
    background-attachment: scroll;
    background-position: center center;
  }
}

/* English upload presentation; transparent native input retains keyboard and touch access. */

.contact-page .contact-upload-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding: 10px;
  background: #fff;
  border: 1px solid #c9cfd5;
  min-height: 64px;
}

.contact-page .contact-upload-control.upload-enhanced input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.contact-page .contact-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--ink,#191c1f);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.contact-page .contact-upload-status {
  min-width: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted,#626970);
  overflow-wrap: anywhere;
}

.contact-page .contact-upload-control:focus-within {
  outline: 2px solid var(--red,#c62032);
  outline-offset: 3px;
}

@media(hover:hover) {
  .contact-page .contact-upload-control:hover .contact-upload-button {
    background: var(--red,#c62032);
  }
}

@media(width <=420px) {
  .contact-page .contact-upload-control {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .contact-page .contact-upload-button {
    width: 100%;
  }
}

.contact-page .contact-upload small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.contact-page .contact-upload-control:not(.upload-enhanced)>span {
  display: none;
}

.contact-page .contact-upload .attachment-box {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0,1fr);
  grid-template-rows: auto auto;
  gap: 0 14px;
  padding: 8px 10px;
  border: 1px solid #c9cfd5;
  background: #fff;
  margin-top: 6px;
  height: auto;
}

.contact-page .contact-upload .attachment-box .contact-upload-control {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  display: flex;
  align-items: center;
  flex-direction: row;
  min-height: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  gap: 0;
  position: relative;
}

.contact-page .contact-upload .attachment-box .contact-upload-button {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  gap: 8px;
  font-size: 12px;
  background: #b51f32;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.contact-page .contact-upload .attachment-box .contact-upload-status {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: 12px;
  color: #616870;
}

.contact-page .contact-upload .attachment-tools {
  position: absolute;
  right: 0;
  top: -14px;
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.contact-page .contact-upload .attachment-box .attachment-tools {
  position: static;
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  justify-content: flex-start;
}

.contact-page .contact-upload .attachment-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  border-bottom: 1px solid #cdd1d5;
  height: 88px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.contact-page .contact-upload .attachment-box .attachment-list {
  grid-column: 2;
  grid-row: 1 / span 2;
  height: auto;
  margin: 0;
  border-bottom: 0;
}

.contact-page .contact-upload .attachment-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-top: 1px solid #cdd1d5;
  height: 44px;
  min-height: 44px;
}

.contact-page .contact-upload .attachment-box .attachment-list li {
  border: 0;
  min-height: 34px;
  height: 34px;
}

.contact-page .contact-upload button.attachment-name {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 32px;
  min-height: 32px;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  color: #353a3f;
  font-size: 13px;
  font-weight: 400;
  line-height: 32px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.contact-page .contact-upload .attachment-box button.attachment-name {
  font-size: 11px;
  color: #616870;
  min-height: 32px;
  height: 32px;
  line-height: 32px;
}

.contact-page .contact-upload .attachment-info small {
  margin: 0;
  font-size: 11px;
  color: #616870;
  flex-shrink: 0;
}

.contact-page .contact-upload .attachment-box .attachment-info small {
  display: none;
}

.contact-page .contact-upload .attachment-box .attachment-remove {
  min-width: 32px;
  width: 32px;
  min-height: 32px;
  height: 32px;
  padding: 0;
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  color: #747b81;
}

.contact-page .contact-upload .attachment-box .attachment-clear {
  min-height: 44px;
  height: 44px;
  line-height: 44px;
  padding: 0;
  justify-content: flex-start;
  color: #747b81;
  font-weight: 400;
  font-size: 11px;
}

.contact-page .contact-upload .attachment-box .attachment-hint {
  grid-column: 1/-1;
  grid-row: 2;
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: #616870;
  align-self: center;
}

.contact-page .contact-upload .attachment-feedback {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #53575c;
}

.contact-page .contact-upload .attachment-box .attachment-feedback {
  position: absolute;
  left: 152px;
  right: 10px;
  bottom: 8px;
  max-height: 34px;
  overflow: auto;
  height: auto;
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  background: white;
}

.contact-page .contact-upload .attachment-box .attachment-feedback[data-error="false"],.contact-page .contact-upload .attachment-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-page .contact-upload .attachment-box[data-error="true"] .attachment-hint {
  visibility: hidden;
}

.contact-page .contact-upload > small[hidden] {
  display: none;
}

@media(width <=900px) {
  .contact-page .contact-upload .attachment-box {
    grid-template-columns: 102px minmax(0,1fr);
    height: 106px;
    grid-template-rows: 88px;
    gap: 0 8px;
  }

  .contact-page .contact-upload .attachment-box .attachment-list {
    height: 88px;
  }

  .contact-page .contact-upload .attachment-box .attachment-list li {
    height: 44px;
    min-height: 44px;
  }

  .contact-page .contact-upload .attachment-box button.attachment-name {
    height: 44px;
    min-height: 44px;
    line-height: 44px;
  }

  .contact-page .contact-upload .attachment-box .attachment-clear,.contact-page .contact-upload .attachment-box .attachment-remove {
    height: 44px;
    min-height: 44px;
  }

  .contact-page .contact-upload .attachment-box .attachment-remove {
    width: 44px;
    min-width: 44px;
  }

  .contact-page .contact-upload .attachment-box .attachment-feedback {
    left: 120px;
    max-height: 44px;
  }
}

.contact-page .contact-upload {
  min-width: 0;
  max-width: 100%;
}

[class~="contact-page"] .contact-upload {
  position: relative;
}

.contact-page .contact-upload .attachment-tools[hidden],.contact-page .contact-upload .attachment-list[hidden],.contact-page .contact-upload .attachment-feedback[hidden] {
  display: none;
}

.contact-page .contact-upload .attachment-info {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-page .contact-upload button.attachment-name:hover {
  background: none;
  color: #a71d2e;
}

.contact-page .contact-upload button.attachment-name:focus-visible {
  outline: 2px solid #b51f32;
  outline-offset: -2px;
}

.contact-page .contact-upload :is(.attachment-clear,.attachment-remove) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  min-width: 64px;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: #a71d2e;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.contact-page .contact-upload :is(.attachment-clear,.attachment-remove):hover {
  background: #b51f320c;
  color: #821324;
}

.contact-page .contact-upload :is(.attachment-clear,.attachment-remove):focus-visible {
  outline: 2px solid #b51f32;
  outline-offset: 1px;
}

.contact-page .contact-upload .attachment-feedback[data-error="true"] {
  color: #a71d2e;
}

.contact-page .contact-upload dialog.attachment-filename-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  transform: none;
  width: min(440px,calc(100vw - 40px));
  height: fit-content;
  max-height: calc(100dvh - 48px);
  padding: 24px;
  border: 1px solid #cdd1d5;
  background: #f8f9f9;
  color: #353a3f;
  box-shadow: 0 20px 70px #0005;
  overflow: auto;
}

.contact-page .contact-upload dialog.attachment-filename-dialog::backdrop {
  background: #15171999;
}

.contact-page .contact-upload dialog.attachment-filename-dialog p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.contact-page .contact-upload .attachment-dialog-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  border: 0;
  background: #17191c;
  color: white;
  font-size: 13px;
  cursor: pointer;
}

@media(width <=900px) {
  .contact-page .contact-upload button.attachment-name {
    height: 44px;
    min-height: 44px;
    line-height: 44px;
  }
}

/* Fixed desktop composition: the map fills the left remainder, never the dark information block. */

@media(width >=901px) {
  .contact-page .stage {
    height: 760px;
    align-items: stretch;
  }

  .contact-page .contact-side {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: 152px auto minmax(210px,1fr);
  }

  .contact-page .contact-photo {
    height: 152px;
  }

  .contact-page .contact-content {
    padding: 30px 36px 26px;
  }

  .contact-page .contact-content h3 {
    font-size: 36px;
    margin: 10px 0 22px;
  }

  .contact-page .contact-row {
    padding: 14px 0;
    gap: 12px;
    grid-template-columns: 24px 1fr;
  }

  .contact-page .contact-row a,.contact-page .contact-row address {
    font-size: 15px;
    line-height: 1.5;
  }

  [class~="contact-page"] .contact-content {
    flex: none;
  }

  .contact-page .map {
    height: 100%;
    min-height: 0;
  }

  .contact-page .form-side {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 30px 40px;
    overflow-y: auto;
    scrollbar-gutter: stable;
  }

  .contact-page .form-side h3 {
    font-size: 38px;
    margin: 10px 0 12px;
  }

  .contact-page .form-side .lead {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .contact-page input {
    height: 46px;
    padding: 10px 12px;
  }

  .contact-page textarea {
    height: 104px;
    padding: 10px 12px;
  }

  .contact-page #contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    min-height: min-content;
  }

  .contact-page .pair {
    gap: 18px;
  }

  .contact-page #contact-form>button[type="submit"] {
    margin-top: auto;
    flex-shrink: 0;
  }
}

[class~="contact-page"] .contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 1;
}

.contact-page .contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media(width <=900px) {
  .contact-page .form-side {
    padding: 30px 24px calc(28px + env(safe-area-inset-bottom,0px));
  }

  .contact-page .form-side h3 {
    font-size: 34px;
    margin: 10px 0 12px;
  }

  .contact-page .form-side .lead {
    margin-bottom: 24px;
  }

  .contact-page form {
    gap: 16px;
  }

  .contact-page .pair label+label {
    margin-top: 16px;
  }

  .contact-page input {
    height: 48px;
  }

  .contact-page textarea {
    height: 120px;
  }

  .contact-page #contact-form>button[type="submit"] {
    margin-top: 4px;
  }
}

/* Maximum three attachments: show every file without a nested scrolling list. */

[class~="contact-page"] .contact-upload .attachment-box .attachment-list {
  overflow: visible;
  scrollbar-gutter: auto;
}

[class~="contact-page"] .contact-upload .attachment-box .attachment-list li {
  height: 44px;
  min-height: 44px;
}

.contact-page .contact-upload .attachment-box .attachment-list button.attachment-name {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  font-size: 11px;
  font-weight: 400;
  height: 44px;
  min-height: 44px;
  line-height: 44px;
}

.contact-page .contact-upload .attachment-box .attachment-list .attachment-remove {
  height: 44px;
  min-height: 44px;
  width: 44px;
  min-width: 44px;
  line-height: 44px;
}

@media(width <=900px) {
  .contact-page .contact-upload .attachment-box {
    height: auto;
    grid-template-rows: auto auto;
  }

  .contact-page .contact-upload .attachment-box .attachment-list {
    height: auto;
  }

  .contact-page .contact-upload .attachment-box .attachment-list li {
    height: 44px;
    min-height: 44px;
  }

  .contact-page .contact-upload .attachment-box .attachment-list button.attachment-name {
    height: 44px;
    min-height: 44px;
    line-height: 44px;
  }

  .contact-page .contact-upload .attachment-box .attachment-list .attachment-remove {
    height: 44px;
    min-height: 44px;
    width: 44px;
    min-width: 44px;
    line-height: 44px;
  }

  .contact-page .contact-upload .attachment-box .attachment-tools {
    align-self: end;
    margin-top: 0;
  }
}

.contact-page .intro > div {
  padding-right: 36px;
}

.contact-page .contact-upload .attachment-box .attachment-feedback[data-error="true"] {
  position: static;
  grid-column: 1 / -1;
  grid-row: 3;
  width: auto;
  max-height: none;
  margin-top: 4px;
}

.contact-page .contact-upload .attachment-stem {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.contact-page .contact-upload .attachment-extension {
  flex: none;
}

.contact-page .contact-upload .attachment-name > span {
  font: inherit;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .contact-upload .attachment-box .attachment-list :is(li,button.attachment-name,.attachment-remove) {
    height: 22px;
    min-height: 22px;
    line-height: 22px;
  }

  .contact-page .contact-upload .attachment-box .attachment-clear {
    height: 24px;
    min-height: 24px;
    line-height: 24px;
  }
}

@media (width <= 1000px) {
  .contact-page > .main > :is(.intro,.stage),
  .contact-page > .contact-extra-content {
    width: calc(100% - 64px);
  }
}

@media (width <= 900px) {
  .contact-page > .main > .intro {
    padding: 36px 0 28px;
  }

  .contact-page .intro > div {
    padding-right: 0;
  }

  .contact-page .intro h2 {
    font-size: clamp(38px,6.5vw,52px);
  }

  .contact-page > .main > .stage {
    margin: 28px auto 64px;
  }
}

@media (width <= 620px) {
  .contact-page > .main > :is(.intro,.stage),
  .contact-page > .contact-extra-content {
    width: calc(100% - 40px);
  }

  .contact-page > .main > .intro {
    padding: 32px 0 28px;
  }

  .contact-page > .main > .stage {
    margin-bottom: 48px;
  }

  .contact-page .intro h2 {
    font-size: clamp(36px,10vw,42px);
  }

  .contact-page .stage .contact-content {
    padding: 28px 24px;
  }

  .contact-page .stage .form-side {
    padding: 28px 16px;
  }
}
