/* Contact uses the homepage's typography, original photography and metal accents. */
.contact-page .contact-page-hero {
  padding: 26px 0 84px;
  background: #151b1e;
}
.contact-page .contact-page-hero:before {
  background-image: url('/assets/images/contact-nailer-original.webp');
  background-position: 48% center;
  filter: saturate(.65) contrast(1.04);
}
.contact-page .contact-page-hero:after {
  background: linear-gradient(90deg, #101619e8 0%, #101619c4 32%, #10161985 55%, #101619b8 100%),
    linear-gradient(0deg, #101619b8, #10161900 65%);
}
.contact-page .contact-breadcrumb { margin-bottom: 40px; }
.contact-page .contact-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; color: #bdc3c6; font-size: .75rem; }
.contact-page .contact-breadcrumb li + li:before { content: "/"; margin-right: 10px; color: #aa9061; }
.contact-page .contact-breadcrumb a { text-underline-offset: 4px; }
.contact-page .contact-breadcrumb a:hover { color: var(--gold-bright); }
.contact-page .contact-page-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: clamp(32px, 6vw, 78px); }
.contact-page .contact-page-intro { padding: 12px 0 0 26px; position: relative; }
.contact-page .contact-page-intro:before { content: ""; position: absolute; width: 2px; top: 0; bottom: 0; left: 0; background: linear-gradient(#d4ad6000, #d4ad6099 12%, #d4ad6038 85%, #d4ad6000); }
.contact-page .contact-page-intro > * { animation: hero-text-arrive 850ms cubic-bezier(.2,.75,.2,1) both; }
.contact-page .contact-page-intro > :nth-child(2) { animation-delay: 100ms; }
.contact-page .contact-page-intro > :nth-child(3) { animation-delay: 180ms; }
.contact-page .contact-page-intro > :nth-child(4) { animation-delay: 260ms; }
.contact-page .contact-page-intro > :nth-child(5) { animation-delay: 340ms; }
.contact-page .contact-page-intro .eyebrow { font-size: .66rem; line-height: 1.7; letter-spacing: .15em; color: #b3ced8; }
.contact-page h1 { margin: 0 0 24px; max-width: 580px; color: #f5f2eb; font-family: var(--sans); font-size: clamp(2.6rem, 4.3vw, 4.25rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.08; text-wrap: balance; }
.contact-page h1 span { display: block; }
.contact-page .contact-page-lead { max-width: 490px; margin: 0 0 29px; color: #d3d7d8; font-size: 1rem; line-height: 1.8; }
.contact-page .contact-direct { display: grid; gap: 0; max-width: 470px; }
.contact-page .contact-direct-link { display: grid; position: relative; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 15px 0; border-top: 1px solid #b399605e; text-decoration: none; transition: color .25s ease, border-color .25s ease; }
.contact-page .contact-direct-link > span:first-child { grid-column: 1; color: #b5cbd4; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-page .contact-direct-link strong { grid-column: 1; color: #f3f0e8; font-size: 1.06rem; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; transition: color .25s ease; }
.contact-page .contact-direct-link:first-child strong { font-size: 1.5rem; letter-spacing: -.025em; }
.contact-page .contact-link-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #dcc18e; font-size: 1.35rem; transition: transform .25s ease; }
.contact-page .contact-direct-link:hover { border-color: var(--gold); }
.contact-page .contact-direct-link:hover strong { color: var(--gold-bright); }
.contact-page .contact-direct-link:hover .contact-link-arrow { transform: translate(2px, -2px); }
.contact-page .contact-area-note { margin-top: 24px; max-width: 470px; }
.contact-page .contact-area-note h2 { margin: 0 0 9px; color: #f3f0e8; font-size: 1rem; line-height: 1.4; letter-spacing: -.015em; }
.contact-page .contact-area-note p { margin: 0; color: #c2cbcf; font-size: .85rem; line-height: 1.75; }
.contact-page .contact-area-note strong { color: #ddc491; font-weight: 600; }
.contact-page .contact-hours { margin-top: 22px; }
.contact-page .contact-hours h2 { margin: 0 0 8px; color: #f3f0e8; font-size: 1rem; line-height: 1.4; letter-spacing: -.015em; }
.contact-page .contact-hours p { margin: 0; color: #c2cbcf; font-size: .85rem; line-height: 1.75; }
.contact-page .contact-hours span { color: #b5cbd4; font-size: .75rem; }
.contact-page .contact-page-form { padding: clamp(25px, 3.4vw, 43px); margin: 0; background: linear-gradient(135deg,#182125d6,#141c20e3); border-color: #b39960; }
.contact-page .contact-page-form h2 { margin: 0 0 8px; font-size: 1.5rem; color: #f5f2eb; letter-spacing: -.03em; }
.contact-page .contact-form-intro { margin: 0 0 28px; font-size: .78rem; color: #bcc7cc; }
.contact-page .contact-page-form .form-grid { gap: 0 22px; }
.contact-page .contact-page-form label { margin-bottom: 23px; font-size: .67rem; color: #e2ded5; }
.contact-page .contact-page-form input,
.contact-page .contact-page-form textarea { min-height: 49px; padding: 13px 12px; font-size: 1rem; background: #0d13164d; border-bottom-color: #b7a17380; }
.contact-page .contact-page-form input:focus,
.contact-page .contact-page-form textarea:focus { outline: 2px solid #ecc77d; outline-offset: 3px; border-color: #ecc77d; }
.contact-page .contact-page-form textarea { min-height: 140px; line-height: 1.6; }
.contact-page .contact-photo-note { margin: -9px 0 25px; color: #c1cacf; font-size: .78rem; line-height: 1.7; }
.contact-page .contact-photo-note a { color: #c5dde7; text-underline-offset: 4px; }
.contact-page .contact-photo-note a:hover { color: var(--gold-bright); }
.contact-page .contact-page-form .button { width: 100%; justify-content: center; }
.contact-page .contact-page-form .form-note { margin: 18px 0 0; color: #bdc7cc; font-size: .72rem; line-height: 1.7; }
.contact-page .contact-form-status:not([hidden]) { margin: 0 0 26px; padding: 18px; border: 1px solid #b39960; border-radius: 3px; background: #212a2e; color: #f5f2eb; font-size: .9rem; scroll-margin-top: 100px; }
.contact-page .contact-form-status[hidden] { display: none; }
.contact-page .contact-prep { padding: 85px 0 88px; }
.contact-page .contact-prep .section-head { gap: 48px; margin-bottom: 32px; grid-template-columns: 1.25fr .75fr; }
.contact-page .contact-prep .section-head h2 { font-size: clamp(1.95rem, 3vw, 2.75rem); line-height: 1.15; }
.contact-page .contact-prep .section-head > p { font-size: .9rem; color: #bfc3c7; }
.contact-page .contact-prep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-page .contact-prep-card { min-width: 0; padding: 29px 26px; border-color: #75623f; transition: border-color .25s ease, background-color .25s ease, transform .35s ease; }
.contact-page .contact-prep-card:hover { border-color: #d4ad60; background: #242725; }
.contact-page .contact-prep-card h3 { margin: 0 0 13px; color: #f1eee7; font-size: 1.05rem; line-height: 1.4; letter-spacing: -.025em; }
.contact-page .contact-prep-card p { margin: 0; color: #bdc2c6; font-size: .86rem; line-height: 1.75; }
.contact-page .contact-services-link { margin: 27px 0 0; color: #bfc6ca; font-size: .88rem; }
.contact-page .contact-services-link a { color: #d9e5ea; text-decoration-color: #a88b50; text-underline-offset: 6px; }
.contact-page .contact-services-link a:hover { color: var(--gold-bright); }
.contact-page .contact-scope-note { max-width: 780px; margin: 14px 0 0; color: #bfc6ca; font-size: .82rem; line-height: 1.75; }
@media (max-width: 1050px) {
  .contact-page .contact-page-layout { gap: 28px; }
  .contact-page .contact-page-intro { padding-left: 20px; }
  .contact-page .contact-page-form { padding: 28px 25px; }
  .contact-page .contact-email strong { font-size: .93rem; }
  .contact-page .contact-prep-grid { gap: 14px; }
  .contact-page .contact-prep-card { padding: 25px 20px; }
}
@media (max-width: 800px) {
  .contact-page .contact-page-layout { grid-template-columns: 1fr; gap: 42px; }
  .contact-page .contact-page-intro { max-width: 620px; }
  .contact-page .contact-page-hero:before { background-position: 48% center; background-size: cover; }
  .contact-page .contact-page-hero:after { background: linear-gradient(180deg,#101619be,#101619a6 40%,#101619f0 75%); }
  .contact-page .contact-prep .section-head { grid-template-columns: 1fr; gap: 20px; }
  .contact-page .contact-prep-grid { grid-template-columns: 1fr; }
  .contact-page .contact-prep-card { padding: 28px; }
}
@media (max-width: 640px) {
  .contact-page .contact-page-hero { padding: 20px 0 56px; }
  .contact-page .contact-breadcrumb { margin-bottom: 30px; }
  .contact-page h1 { font-size: clamp(2.5rem, 10.5vw, 3.4rem); }
  .contact-page .contact-page-intro .eyebrow { font-size: .61rem; letter-spacing: .12em; }
  .contact-page .contact-page-lead { font-size: .94rem; }
  .contact-page .contact-page-form { padding: 28px 22px; }
  .contact-page .contact-page-form .form-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-page .contact-prep { padding: 58px 0 62px; }
  .contact-page .contact-prep-card { padding: 25px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-page .contact-page-intro > * { animation: none; }
  .contact-page .contact-direct-link,
  .contact-page .contact-direct-link strong,
  .contact-page .contact-link-arrow,
  .contact-page .contact-prep-card { transition: none; transform: none !important; }
}

/* Match the more open nailer composition used in the homepage contact section. */
.contact-page .contact-page-hero:before{
  background-size:84% auto;
  background-position:right center;
  background-repeat:no-repeat;
  -webkit-mask-image:linear-gradient(90deg,transparent 16%,#000 29%,#000 91%,transparent 100%),linear-gradient(180deg,transparent 8%,#000 19%,#000 82%,transparent 94%);
  mask-image:linear-gradient(90deg,transparent 16%,#000 29%,#000 91%,transparent 100%),linear-gradient(180deg,transparent 8%,#000 19%,#000 82%,transparent 94%);
  -webkit-mask-composite:source-in;
  mask-composite:intersect;
}
@media(min-width:801px) and (max-width:1200px){.contact-page .contact-page-hero:before{background-size:auto 84%}}
@media(max-width:800px){
  .contact-page .contact-page-hero:before{
    background-size:auto 82%;
    background-position:52% center;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 92%,transparent),linear-gradient(180deg,transparent 9%,#000 22%,#000 78%,transparent 91%);
    mask-image:linear-gradient(90deg,transparent,#000 10%,#000 92%,transparent),linear-gradient(180deg,transparent 9%,#000 22%,#000 78%,transparent 91%);
  }
}
@media(max-width:640px){
  .contact-page .contact-page-hero:before{
    background-size:auto 78%;
    background-position:48% center;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 94%,transparent),linear-gradient(180deg,transparent 11%,#000 24%,#000 76%,transparent 89%);
    mask-image:linear-gradient(90deg,transparent,#000 8%,#000 94%,transparent),linear-gradient(180deg,transparent 11%,#000 24%,#000 76%,transparent 89%);
  }
}
