/* Contact uses the same restrained type scale as the service catalogue. */
.contact-page { color: var(--ink); background: #f7f6f2; }
.contact-page .site-header { background: #f7f6f2; }
.contact-page.menu-open .site-header { background: var(--ink); color: var(--white); }
.contact-page :is(h1, h2, h3) { font-family: inherit; font-weight: 500; letter-spacing: -.035em; }
.contact-page .contact-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: end; gap: 32px 64px; min-height: 0; padding: calc(var(--header-h) + clamp(48px, 6vw, 88px)) var(--content-gutter) clamp(48px, 5vw, 80px); color: var(--ink); background: #f7f6f2; border-bottom: 1px solid #d9d9cf; }
.contact-page .contact-hero h1 { max-width: 22ch; margin: 22px 0 0; font-size: clamp(38px, 4.6vw, 68px); line-height: 1.12; }
.contact-page .contact-hero-meta { display: block; width: auto; margin: 0; padding: 0; border: 0; }
.contact-hero-meta > p { max-width: 39ch; color: #5c5e55; font-size: 16px; line-height: 1.8; }
.contact-direct-email { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; margin-top: 12px; color: var(--ink); font-size: 16px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 5px; }
.contact-response { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; margin-top: 24px; padding-top: 18px; border-top: 1px solid #d9d9cf; }
.contact-response span { color: #5c5e55; font: inherit; font-size: 12px; text-transform: none; }
.contact-response strong { font-size: 13px; font-weight: 600; }
.contact-page .contact-form-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 112px); padding: clamp(48px, 6vw, 88px) var(--content-gutter); background: #f7f6f2; }
.contact-page .contact-form-intro { position: static; margin: 0; }
.contact-page .contact-form-intro h2 { margin: 20px 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.17; }
.contact-form-intro > p:not(.content-label) { max-width: 35ch; color: #5c5e55; font-size: 15px; line-height: 1.8; }
.contact-guidance { max-width: 35ch; margin-top: 32px; padding-top: 22px; border-top: 1px solid #d9d9cf; }
.contact-guidance h3 { font-size: 15px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.contact-guidance ul { margin: 12px 0 0; padding-left: 18px; color: #5c5e55; font-size: 14px; line-height: 1.8; }
.contact-guidance li + li { margin-top: 6px; }
.contact-form-intro .text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; margin-top: 24px; font-size: 13px; }
.contact-page .project-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 28px 20px; }
.contact-page .project-form > label, .contact-page .project-form fieldset { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-page .project-form > .contact-field-half { grid-column: auto; }
.contact-page .project-form > label > span, .contact-page .project-form legend { margin: 0 0 10px; padding: 0; color: #34362f; font: 600 13px/1.5 "Manrope", Arial, sans-serif; letter-spacing: 0; text-transform: none; }
.contact-page .project-form input:not([type='checkbox']), .contact-page .project-form textarea, .contact-page .project-form select { display: block; width: 100%; min-width: 0; min-height: 52px; padding: 14px 16px; border: 1px solid #bfc2b5; border-radius: 3px; background: #fdfcf8; color: var(--ink); font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.5; letter-spacing: 0; }
.contact-page .project-form textarea { min-height: 156px; resize: vertical; }
.contact-page .project-form input::placeholder, .contact-page .project-form textarea::placeholder { color: #6b6e61; opacity: 1; }
.contact-page .project-form :is(input, textarea, select):focus-visible { border-color: #8a691c; outline: 2px solid #8a691c; outline-offset: 3px; }
.contact-page .choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.contact-page .choice-grid label { position: relative; display: block; margin: 0; padding: 0; border: 0; }
.contact-page .choice-grid input { width: 1px; height: 1px; margin: 0; }
.contact-page .choice-grid span { gap: 10px; min-height: 52px; margin: 0; padding: 14px 16px; border-color: #bfc2b5; border-radius: 3px; font-size: 13px; font-weight: 500; line-height: 1.5; }
.contact-page .choice-grid span::after { flex: 0 0 auto; }
.contact-page .choice-grid label:hover span { border-color: #6b6e61; }
.contact-page .choice-grid input:checked + span { border-color: #8a691c; background: #f3e5bd; }
.contact-page .choice-grid input:focus-visible + span { outline-color: #8a691c; }
.contact-page .form-submit { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 0; }
.contact-page .form-submit .button { justify-content: space-between; gap: 32px; min-height: 52px; padding: 14px 22px; font-size: 14px; }
.contact-page .form-submit p { color: #5c5e55; font: 12px/1.7 "Manrope", Arial, sans-serif; }
.contact-page .form-submit p.success { color: #33653e; }
.contact-page .contact-bottom { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 48px; min-height: 0; padding: clamp(48px, 5vw, 80px) var(--content-gutter); text-align: left; }
.contact-page .contact-bottom > div { flex: 1 1 360px; }
.contact-page .contact-bottom h2 { margin: 16px 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.18; }
.contact-bottom p:not(.content-label) { color: #c8c9bf; font-size: 15px; line-height: 1.8; }
.contact-page .contact-bottom .button { justify-content: space-between; gap: 32px; min-height: 52px; font-size: 14px; }
@media (max-width: 1000px) {
  .contact-page .contact-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .contact-hero-meta > p { max-width: 56ch; }
  .contact-page .contact-hero-meta { max-width: 540px; }
  .contact-page .contact-form-section { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 36px; }
}
@media (max-width: 760px) {
  .contact-page .contact-form-section { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .contact-guidance { display: none; }
  .contact-page .contact-form-intro h2 br { display: none; }
  .contact-form-intro > p:not(.content-label) { max-width: 52ch; }
  .contact-form-intro .text-link { margin-top: 12px; }
}
@media (max-width: 480px) {
  .contact-page .contact-hero h1 { font-size: clamp(34px, 9vw, 43px); }
  .contact-page .contact-hero h1 br { display: none; }
  .contact-page .project-form { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .contact-page .choice-grid span { padding-inline: 12px; }
  .contact-page .form-submit .button, .contact-page .contact-bottom .button { width: 100%; }
}
 .contact-page .project-form .form-trap { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
 .contact-page .form-privacy { grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 1.7; color: #606258; }
 .contact-page [data-form-status][data-error='true'] { color: #972f24; }
 .contact-page button:disabled { opacity: .55; cursor: not-allowed; }

.enquiry-success { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: clamp(24px, 5vw, 40px); overflow-y: auto; border: 0; border-radius: 24px; color: var(--ink); background: #f7f6f2; box-shadow: 0 24px 80px #11130f33; }
.enquiry-success::backdrop { background: #11130f99; }
.enquiry-success[open] { animation: enquiry-success-enter .2s ease-out; }
.enquiry-success-mark { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50%; background: #f3e5bd; color: #795b18; }
.enquiry-success-mark svg { width: 32px; height: 32px; }
.enquiry-success .content-label { font-size: 10px; line-height: 1.6; }
.contact-page .enquiry-success h2 { margin: 16px 0; font-size: clamp(28px, 6vw, 36px); line-height: 1.15; }
.enquiry-success > p:last-of-type { margin: 0; color: #5c5e55; font-size: 16px; line-height: 1.75; }
.enquiry-success form { margin-top: 28px; }
.enquiry-success .button { display: flex; justify-content: space-between; width: 100%; min-height: 48px; padding: 14px 20px; font-size: 14px; }
.enquiry-success .button:focus-visible { outline: 2px solid #8a691c; outline-offset: 4px; }
html:has(.enquiry-success[open]) { overflow: hidden; }
@keyframes enquiry-success-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .enquiry-success[open] { animation: none; } }
