.contact-page {
  min-width: 0;
  width: 100%;
  background:
    radial-gradient(
      circle at 10% 5%,
      rgba(217, 173, 78, 0.14),
      transparent 30rem
    ),
    var(--kh-cream);
}

.contact-page--form {
  height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.thank-you-page {
  height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.contact-main {
  min-width: 0;
  min-height: 0;
  display: grid;
  padding: clamp(14px, 2.5svh, 28px) 24px;
}

.contact-shell {
  width: min(100%, var(--kh-content-width));
  height: 100%;
  min-height: 0;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(23, 53, 34, 0.14);
  border-radius: 26px;
  background: var(--kh-cream-light);
  box-shadow: var(--kh-shadow);
}

.contact-media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--kh-green-900);
}

.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(6, 19, 12, 0.78),
      transparent 38%
    );
}

.contact-media figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 25px;
  left: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-form-panel {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px 32px;
  background: var(--kh-cream-light);
}

.contact-introduction {
  max-width: 620px;
}

.contact-title,
.thank-you-title {
  margin: 0;
  color: var(--kh-green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.contact-introduction > p:last-child {
  max-width: 590px;
  margin: 14px 0 0;
  color: var(--kh-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-field {
  min-width: 0;
}

.contact-field label {
  display: block;
  margin: 0 0 8px;
  color: var(--kh-green-800);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--kh-line);
  border-radius: 10px;
  outline: none;
  background: var(--kh-white);
  color: var(--kh-ink);
  font: inherit;
  line-height: 1.45;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.contact-field textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--kh-gold-dark);
  box-shadow: 0 0 0 3px rgba(217, 173, 78, 0.22);
}

.contact-field__hint {
  margin: 7px 0 0;
  color: var(--kh-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.contact-form__required-note {
  margin: 0;
  color: var(--kh-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.contact-required {
  font-weight: 700;
  text-transform: none;
}

.contact-error-summary {
  padding: 14px 16px;
  border: 2px solid #8b2d2d;
  border-radius: 10px;
  background: #fff4f4;
  color: #561b1b;
}

.contact-error-summary:focus {
  outline: 3px solid var(--kh-gold-dark);
  outline-offset: 3px;
}

.contact-error-summary h2 {
  margin: 0;
  color: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

.contact-error-summary p,
.contact-error-summary ul {
  margin: 8px 0 0;
}

.contact-field__error {
  margin: 7px 0 0;
  color: #7d2020;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.contact-field [aria-invalid="true"] {
  border-color: #8b2d2d;
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.contact-actions,
.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-actions {
  margin-top: 3px;
}

.contact-submit {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.contact-button-outline {
  border-color: var(--kh-green-800);
  color: var(--kh-green-800);
}

.contact-button-outline:hover,
.contact-button-outline:focus-visible {
  background: var(--kh-green-800);
  color: var(--kh-white);
}

.contact-page .kh-button:focus-visible,
.contact-page .kh-site-header a:focus-visible,
.contact-page .kh-unified-footer a:focus-visible {
  outline: 3px solid var(--kh-gold-light);
  outline-offset: 4px;
}

.contact-page > .kh-unified-footer .kh-unified-footer__inner {
  padding: 10px
    max(24px, calc((100% - var(--kh-content-width)) / 2));
  gap: 8px 28px;
}

.contact-page > .kh-unified-footer
  .kh-unified-footer__identity strong {
  margin-bottom: 2px;
  font-size: 1.05rem;
}

.contact-page > .kh-unified-footer
  .kh-unified-footer__identity p {
  font-size: 0.76rem;
  line-height: 1.35;
}

.contact-page > .kh-unified-footer
  .kh-unified-footer__navigation {
  gap: 5px 16px;
}

.contact-page > .kh-unified-footer
  .kh-unified-footer__navigation a {
  font-size: 0.78rem;
}

.thank-you-main {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4svh, 44px) 24px;
  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(217, 173, 78, 0.18),
      transparent 31rem
    ),
    linear-gradient(
      145deg,
      var(--kh-green-900),
      var(--kh-green-1000)
    );
}

.thank-you-card {
  width: min(100%, 720px);
  max-height: 100%;
  padding: clamp(32px, 5svh, 58px);
  border: 1px solid rgba(217, 173, 78, 0.3);
  border-radius: 26px;
  background: var(--kh-cream-light);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.thank-you-card__mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--kh-gold);
  color: var(--kh-green-950);
  font-size: 1.8rem;
  font-weight: 900;
}

.thank-you-message {
  max-width: 570px;
  margin: 18px auto 0;
  color: var(--kh-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.thank-you-actions {
  justify-content: center;
  margin-top: 24px;
}

.thank-you-page .thank-you-actions .kh-button-gold {
  transition:
    background-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.thank-you-page .thank-you-actions .kh-button-gold:hover,
.thank-you-page .thank-you-actions .kh-button-gold:focus-visible {
  background: #bd8e38;
  color: var(--kh-green-950);
  box-shadow: 0 7px 16px rgba(9, 42, 34, 0.18);
  transform: translateY(-1px);
}

.thank-you-page .thank-you-actions .kh-button-gold:focus-visible {
  outline: 3px solid rgba(18, 60, 49, 0.72);
  outline-offset: 3px;
}

.thank-you-page .thank-you-actions .contact-button-outline {
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.thank-you-page .thank-you-actions .contact-button-outline:hover {
  border-color: var(--kh-green-800);
  background: #eee6d6;
  color: var(--kh-green-800);
}

.thank-you-page .thank-you-actions .contact-button-outline:focus-visible {
  border-color: var(--kh-green-800);
  background: #eee6d6;
  color: var(--kh-green-800);
  box-shadow: 0 0 0 3px rgba(23, 53, 34, 0.18);
  outline: 2px solid var(--kh-green-800);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .contact-main {
    padding: 8px 16px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: clamp(72px, 13svh, 110px) minmax(0, 1fr);
  }

  .contact-media {
    min-height: 0;
  }

  .contact-media img {
    height: 100%;
    object-position: center 42%;
  }

  .contact-form-panel {
    padding: 12px clamp(18px, 5vw, 34px);
  }

  .contact-title,
  .thank-you-title {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .contact-introduction > p:last-child {
    margin-top: 7px;
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .contact-form {
    gap: 8px;
    margin-top: 10px;
  }

  .contact-field label {
    margin-bottom: 4px;
    font-size: 0.67rem;
  }

  .contact-field input,
  .contact-field textarea {
    min-height: 44px;
    padding: 9px 11px;
  }

  .contact-field textarea {
    min-height: 72px;
  }

  .contact-field__hint {
    margin-top: 3px;
    font-size: 0.68rem;
  }

  .contact-page .kh-button {
    min-height: 44px;
    padding: 0 16px;
  }

  .contact-page > .kh-unified-footer .kh-unified-footer__inner {
    padding: 8px 16px;
    gap: 5px;
  }

  .contact-page > .kh-unified-footer
    .kh-unified-footer__identity p {
    max-width: none;
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .contact-page > .kh-unified-footer
    .kh-unified-footer__navigation {
    display: flex;
    justify-content: flex-start;
    gap: 4px 14px;
  }

  .contact-page > .kh-unified-footer
    .kh-unified-footer__navigation a {
    font-size: 0.72rem;
  }
}

@media (max-width: 900px) {
  .thank-you-page > .kh-site-header {
    flex-wrap: nowrap;
    gap: 12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .thank-you-page .kh-site-brand,
  .thank-you-page .kh-site-brand span,
  .thank-you-page .kh-site-brand strong,
  .thank-you-page .kh-site-nav-button {
    white-space: nowrap;
  }

  .thank-you-page .kh-site-nav {
    flex: 0 0 auto;
    gap: 0;
  }

  .thank-you-page
    .kh-site-nav a:not(.kh-site-nav-button) {
    display: none;
  }

  .thank-you-page .kh-site-nav .kh-site-nav-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    font-size: 0.7rem;
  }
}

@media (max-width: 600px) {
  .contact-main {
    padding: 6px 10px;
  }

  .contact-layout,
  .thank-you-card {
    border-radius: 18px;
  }

  .contact-media figcaption {
    right: 12px;
    bottom: 9px;
    left: 12px;
    font-size: 0.62rem;
  }

  .contact-form-panel {
    padding: 10px 14px;
  }

  .contact-field input,
  .contact-field textarea {
    min-height: 44px;
    font-size: 1rem;
  }

  .contact-field textarea {
    min-height: 68px;
  }

  .contact-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .thank-you-main {
    min-height: 0;
    padding: 12px;
  }

  .thank-you-card {
    padding: 24px 18px;
  }

  .thank-you-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 18px;
  }

  .thank-you-actions .kh-button {
    width: 100%;
  }

  .contact-page > .kh-unified-footer
    .kh-unified-footer__navigation {
    flex-wrap: wrap;
  }
}

@media (min-width: 901px) and (max-height: 800px) {
  .contact-main {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .contact-form-panel {
    padding: 12px 24px;
  }

  .contact-title,
  .thank-you-title {
    font-size: 2.6rem;
  }

  .contact-introduction > p:last-child {
    margin-top: 7px;
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .contact-form {
    gap: 8px;
    margin-top: 10px;
  }

  .contact-field label {
    margin-bottom: 4px;
    font-size: 0.67rem;
  }

  .contact-field input,
  .contact-field textarea {
    min-height: 44px;
    padding: 9px 11px;
  }

  .contact-field textarea {
    min-height: 72px;
  }

  .contact-field__hint {
    margin-top: 3px;
    font-size: 0.68rem;
  }

  .contact-page .kh-button {
    min-height: 44px;
  }

  .thank-you-main {
    padding: 14px 24px;
  }

  .thank-you-card {
    padding: 26px 40px;
  }

  .thank-you-card__mark {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }

  .thank-you-message {
    margin-top: 12px;
  }

  .thank-you-actions {
    margin-top: 16px;
  }

  .contact-page > .kh-unified-footer .kh-unified-footer__inner {
    padding-top: 7px;
    padding-bottom: 7px;
  }
}

@media (min-width: 901px) {
  .contact-page--form {
    --contact-footer-height: 60px;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    grid-template-rows:
      var(--kh-header-height)
      minmax(0, 1fr)
      var(--contact-footer-height);
    overflow: visible;
  }

  .contact-page--form.contact-page--error {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    grid-template-rows:
      var(--kh-header-height)
      auto
      var(--contact-footer-height);
    overflow-x: hidden;
    overflow-y: visible;
  }

  .contact-page--form.contact-page--error .contact-main {
    min-height: calc(
      100vh - var(--kh-header-height) - var(--contact-footer-height)
    );
    min-height: calc(
      100svh - var(--kh-header-height) - var(--contact-footer-height)
    );
    min-height: calc(
      100dvh - var(--kh-header-height) - var(--contact-footer-height)
    );
  }

  .contact-page--form.contact-page--error .contact-shell,
  .contact-page--form.contact-page--error .contact-layout {
    height: auto;
  }

  .contact-page--form.contact-page--error .contact-media {
    height: auto;
    min-height: 0;
    align-self: stretch;
  }

  .contact-page--form > .kh-site-header {
    position: relative;
    top: auto;
    height: var(--kh-header-height);
    min-height: 0;
  }

  .contact-page--form .contact-main {
    min-height: 0;
    padding: 14px 24px;
  }

  .contact-page--form .contact-shell,
  .contact-page--form .contact-layout {
    height: 100%;
    min-height: 0;
  }

  .contact-page--form .contact-layout {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  }

  .contact-page--form .contact-media {
    height: 100%;
    min-height: 0;
    border-radius: 26px 0 0 26px;
  }

  .contact-page--form .contact-form-panel {
    min-height: 0;
    justify-content: flex-start;
    padding: 24px 32px;
    border-radius: 0 26px 26px 0;
  }

  .contact-page--form .contact-field textarea {
    height: clamp(90px, 13svh, 120px);
    min-height: 90px;
  }

  .contact-page--form .contact-actions {
    flex-wrap: nowrap;
  }

  .contact-page--form > .kh-unified-footer {
    height: var(--contact-footer-height);
    min-height: 0;
    overflow: visible;
  }

  .contact-page--form > .kh-unified-footer
    .kh-unified-footer__inner {
    width: 100%;
    height: 100%;
    grid-template-columns: minmax(300px, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 6px 32px;
    overflow: visible;
  }

  .contact-page--form > .kh-unified-footer
    .kh-unified-footer__identity {
    align-self: center;
    min-width: 0;
  }

  .contact-page--form > .kh-unified-footer
    .kh-unified-footer__identity strong {
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
  }

  .contact-page--form > .kh-unified-footer
    .kh-unified-footer__identity p {
    display: none;
  }

  .contact-page--form > .kh-unified-footer
    .kh-unified-footer__navigation {
    align-self: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 5px 20px;
    white-space: nowrap;
  }
}

@media (min-width: 901px) and (max-width: 1366px) {
  .contact-page--form > .kh-unified-footer
    .kh-unified-footer__inner {
    padding-right: 24px;
    padding-left: 24px;
  }

  .contact-page--form > .kh-unified-footer
    .kh-unified-footer__navigation {
    gap: 5px 14px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .contact-page--form > .kh-unified-footer
    .kh-unified-footer__inner {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .contact-page--form .contact-main {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .contact-page--form .contact-form-panel {
    padding: 16px 26px;
  }

  .contact-page--form .contact-title {
    font-size: 2.8rem;
  }

  .contact-page--form .kh-eyebrow {
    margin-bottom: 7px;
  }

  .contact-page--form .contact-introduction > p:last-child {
    margin-top: 6px;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .contact-page--form .contact-form {
    gap: 9px;
    margin-top: 8px;
  }

  .contact-page--form .contact-field label {
    margin-bottom: 3px;
    font-size: 0.68rem;
  }

  .contact-page--form .contact-field input {
    min-height: 44px;
    padding: 9px 11px;
  }

  .contact-page--form .contact-field textarea {
    height: 82px;
    min-height: 82px;
    padding: 9px 11px;
  }

  .contact-page--form .contact-field__hint {
    margin-top: 2px;
    font-size: 0.68rem;
  }

  .contact-page--form .kh-button {
    min-height: 44px;
  }

}

@media (min-width: 901px) and (max-height: 740px) {
  .contact-page--form {
    --contact-footer-height: 60px;
  }

  .contact-page--form .contact-main {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .contact-page--form .contact-form-panel {
    padding: 12px 22px;
  }

  .contact-page--form .contact-title {
    font-size: 2.55rem;
  }

  .contact-page--form .kh-eyebrow {
    margin-bottom: 5px;
  }

  .contact-page--form .contact-introduction > p:last-child {
    margin-top: 4px;
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .contact-page--form .contact-form {
    gap: 7px;
    margin-top: 6px;
  }

  .contact-page--form .contact-field textarea {
    height: 78px;
    min-height: 78px;
  }

  .contact-page--form .contact-field__hint {
    line-height: 1.25;
  }

  .contact-page--form > .kh-unified-footer
    .kh-unified-footer__inner {
    padding-top: 4px;
    padding-bottom: 4px;
  }
}

@media (max-width: 900px) {
  .contact-page--form {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    grid-template-rows: none;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .contact-page--form > .kh-site-header {
    position: static;
    width: 100%;
    height: auto;
    min-height: 76px;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 10px 16px;
  }

  .contact-page--form .kh-site-brand,
  .contact-page--form .kh-site-brand span,
  .contact-page--form .kh-site-brand strong,
  .contact-page--form .kh-site-nav-button {
    white-space: nowrap;
  }

  .contact-page--form .kh-site-brand {
    min-width: 0;
  }

  .contact-page--form .kh-site-brand span {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }

  .contact-page--form .kh-site-brand strong {
    font-size: 1.12rem;
  }

  .contact-page--form .kh-site-nav {
    flex: 0 0 auto;
    gap: 0;
  }

  .contact-page--form
    .kh-site-nav a:not(.kh-site-nav-button) {
    display: none;
  }

  .contact-page--form .kh-site-nav .kh-site-nav-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    font-size: 0.7rem;
  }

  .contact-page--form .contact-main {
    width: 100%;
    height: auto;
    min-height: 0;
    display: block;
    flex: 0 0 auto;
    overflow: visible;
    padding: 10px 12px 24px;
  }

  .contact-page--form .contact-shell,
  .contact-page--form .contact-layout {
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .contact-page--form .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 165px auto;
    border-radius: 20px;
  }

  .contact-page--form .contact-media {
    height: 165px;
    min-height: 0;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
  }

  .contact-page--form .contact-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
  }

  .contact-page--form .contact-media figcaption {
    right: 16px;
    bottom: 12px;
    left: 16px;
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .contact-page--form .contact-form-panel {
    height: auto;
    min-height: 0;
    padding: 22px 18px 26px;
    overflow: visible;
    border-radius: 0 0 20px 20px;
  }

  .contact-page--form .contact-title {
    font-size: clamp(2.5rem, 7vw, 2.8rem);
    line-height: 0.98;
  }

  .contact-page--form .contact-introduction > p:last-child {
    margin-top: 12px;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .contact-page--form .contact-form {
    gap: 16px;
    margin-top: 20px;
  }

  .contact-page--form .contact-form__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .contact-page--form .contact-field label {
    margin-bottom: 6px;
    font-size: 0.72rem;
  }

  .contact-page--form .contact-field input,
  .contact-page--form .contact-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
  }

  .contact-page--form .contact-field textarea {
    height: auto;
    min-height: 160px;
  }

  .contact-page--form .contact-field__hint {
    margin-top: 6px;
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .contact-page--form .contact-actions {
    margin-top: 2px;
  }

  .contact-page--form .kh-button {
    min-height: 48px;
  }

  .contact-page--form > .kh-unified-footer {
    width: 100%;
    height: auto;
    min-height: 0;
    flex: 0 0 auto;
    overflow: visible;
  }

  .contact-page--form > .kh-unified-footer
    .kh-unified-footer__inner {
    width: 100%;
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 24px 20px;
    overflow: visible;
  }

  .contact-page--form > .kh-unified-footer
    .kh-unified-footer__identity p {
    display: block;
  }

  .contact-page--form > .kh-unified-footer
    .kh-unified-footer__navigation {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    justify-content: start;
    gap: 12px 18px;
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .contact-page--form > .kh-site-header {
    min-height: 74px;
  }

  .contact-page--form .contact-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    margin-bottom: 0;
  }

  .contact-page--form .contact-actions .kh-button {
    width: 100%;
  }
}

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


/* Privacy utility link */
.thank-you-privacy-link {
  position: fixed;
  right: 1rem;
  bottom: 0.75rem;
  z-index: 2;
  margin: 0;
}

.thank-you-privacy-link a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
  text-underline-offset: 0.25em;
}

.thank-you-privacy-link a:hover,
.thank-you-privacy-link a:focus-visible {
  color: #ffffff;
}

.thank-you-privacy-link a:focus-visible {
  outline: 2px solid var(--kh-gold);
  outline-offset: 3px;
}

/* Contact form Privacy utility link */
.contact-privacy-link {
  align-self: center;
  justify-self: center;
  color: var(--kh-green-800);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration-color: var(--kh-gold-dark);
  text-underline-offset: 0.25em;
}

.contact-privacy-link:hover,
.contact-privacy-link:focus-visible {
  color: var(--kh-gold-dark);
}

.contact-privacy-link:focus-visible {
  outline: 2px solid var(--kh-gold-dark);
  outline-offset: 3px;
}

@media (min-width: 901px) and (max-height: 599px) {
  .contact-page--form:not(.contact-page--error) {
    height: 100dvh;
    min-height: 0;
    grid-template-rows:
      var(--kh-header-height)
      minmax(0, 1fr)
      var(--contact-footer-height);
    overflow: hidden;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-main {
    min-height: 0;
    padding: 2px 24px;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-shell,
  .contact-page--form:not(.contact-page--error)
    .contact-layout {
    height: 100%;
    min-height: 0;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-media {
    height: 100%;
    min-height: 0;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-form-panel {
    padding: 6px 18px;
  }

  .contact-page--form:not(.contact-page--error)
    .kh-eyebrow {
    margin-bottom: 2px;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-introduction > p:last-child {
    margin-top: 2px;
    line-height: 1.2;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-form {
    gap: 3px;
    margin-top: 3px;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-field label {
    margin-bottom: 2px;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-field input {
    min-height: 40px;
    padding: 7px 10px;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-field textarea {
    height: 68px;
    min-height: 68px;
    padding: 7px 10px;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-field__hint {
    margin-top: 1px;
  }
}

@media
  (min-width: 901px)
  and (min-height: 560px)
  and (max-height: 599px) {
  .contact-page--form:not(.contact-page--error)
    .contact-main {
    padding-top: 3px;
    padding-bottom: 3px;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-form-panel {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .contact-page--form:not(.contact-page--error)
    .kh-eyebrow {
    margin-bottom: 3px;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-introduction > p:last-child {
    margin-top: 3px;
    line-height: 1.25;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-form {
    gap: 4px;
    margin-top: 4px;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-field label {
    margin-bottom: 3px;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-field input {
    min-height: 42px;
    padding: 8px 10px;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-field textarea {
    height: 72px;
    min-height: 72px;
    padding: 8px 10px;
  }

  .contact-page--form:not(.contact-page--error)
    .contact-field__hint {
    margin-top: 2px;
  }
}
