html:has(.contact-one-screen), body.contact-one-screen { width: 100%; height: 100%; overflow: hidden; }
.contact-one-screen { --contact-panel: hsl(220 10% 8% / .9); --contact-line: hsl(210 32% 29% / .55); background: #080b0e; }
.contact-one-screen .navbar, .contact-one-screen .navbar.scrolled { position: fixed; background: hsl(220 10% 5% / .9); border-bottom: 1px solid hsl(210 25% 24% / .48); backdrop-filter: blur(16px); }
.contact-one-screen .nav-inner { min-height: 72px; }
.contact-one-screen .logo img { height: 78px; }
.contact-one-screen .nav-links a[href="contact.html"] { color: var(--foreground); }

.contact-screen { position: relative; height: 100vh; height: 100dvh; overflow: hidden; isolation: isolate; }
.contact-screen-bg { position: absolute; z-index: -2; inset: 0; overflow: hidden; background: linear-gradient(180deg, #090c10 0%, #07090c 58%, #05070a 100%); }
.contact-screen-bg::before { display: none; }
.contact-screen-bg::after { content: ''; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(hsl(210 72% 57% / .2) 1px, transparent 1px), linear-gradient(90deg, hsl(210 72% 57% / .2) 1px, transparent 1px); background-size: 54px 54px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 72%); mask-image: linear-gradient(180deg, #000, transparent 72%); }
.contact-screen-inner { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(10px, 1.4vh, 16px); padding-top: clamp(80px, 9.5vh, 94px); padding-bottom: clamp(10px, 1.7vh, 18px); }

.contact-intro { display: grid; grid-template-columns: 1fr; justify-items: center; gap: clamp(8px, 1.2vh, 12px); }
.contact-intro-copy { text-align: center; }
.contact-eyebrow, .contact-person-role { margin: 0; color: var(--primary); font-size: 11px; font-weight: 800; line-height: 1; letter-spacing: .24em; text-transform: uppercase; }
.contact-eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; }
.contact-eyebrow span { width: 24px; height: 1px; background: currentColor; }
.contact-intro h1 { max-width: none; margin: 6px 0 3px; font-size: clamp(38px, 4.8vh, 56px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; }
.contact-intro-copy > p:last-child { max-width: 680px; margin: 0 auto; color: hsl(210 12% 70%); font-size: clamp(12px, 1.45vh, 14px); line-height: 1.35; }

.contact-dispatch { position: relative; width: min(900px, 100%); min-height: clamp(92px, 11.5vh, 112px); display: grid; grid-template-columns: auto minmax(180px, .72fr) minmax(300px, 1.28fr); align-items: center; gap: clamp(16px, 2.3vw, 28px); padding: 14px clamp(20px, 3vw, 36px); overflow: hidden; border: 2px solid hsl(210 80% 63% / .92); border-radius: 10px; background: linear-gradient(112deg, hsl(210 72% 57% / .48), hsl(216 42% 18% / .96) 43%, hsl(220 10% 7% / .98)); box-shadow: 0 22px 58px rgba(0, 0, 0, .42), 0 0 48px hsl(210 72% 57% / .2); transition: transform .2s ease, border-color .2s ease, filter .2s ease; }
.contact-dispatch:hover { transform: translateY(-2px); border-color: hsl(210 90% 72%); filter: brightness(1.06); }
.contact-dispatch-icon { flex: 0 0 auto; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: var(--primary-foreground); background: var(--primary); box-shadow: 0 0 0 8px hsl(210 72% 57% / .13); }
.contact-dispatch-icon .phone-svg { width: 27px; height: 27px; }
.contact-dispatch small { display: block; color: hsl(210 22% 80%); font-size: 10px; font-style: normal; font-weight: 800; line-height: 1; letter-spacing: .16em; text-transform: uppercase; }
.contact-dispatch-person { min-width: 0; }
.contact-dispatch-person strong { display: block; margin-top: 2px; color: #fff; font-family: 'Big Shoulders Display', Arial, sans-serif; font-size: clamp(36px, 4.7vh, 52px); font-weight: 900; line-height: .86; text-transform: uppercase; }
.contact-dispatch-person em { display: block; margin-top: 4px; color: hsl(210 16% 78%); font-size: 12px; font-style: normal; line-height: 1; }
.contact-dispatch-action { min-width: 0; padding-left: clamp(16px, 2.5vw, 30px); border-left: 1px solid hsl(210 72% 70% / .36); text-align: center; }
.contact-dispatch-action strong { display: block; margin-top: 3px; font-family: 'Big Shoulders Display', Arial, sans-serif; font-size: clamp(28px, 3.7vh, 40px); font-weight: 900; line-height: .9; text-transform: uppercase; }
.contact-dispatch-action b { display: block; margin-top: 4px; color: hsl(210 92% 72%); font-size: clamp(16px, 2.1vh, 20px); line-height: 1; letter-spacing: .03em; white-space: nowrap; }

.contact-team { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 9px; }
.contact-team-label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center; }
.contact-team-label span { color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; }
.contact-team-label h2 { margin: 0; font-size: clamp(26px, 3.5vh, 38px); line-height: 1; text-transform: uppercase; }
.contact-team-grid { min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 20px); }
.contact-person { position: relative; min-height: 0; display: grid; grid-template-rows: clamp(192px, 26vh, 230px) 84px 82px; align-content: center; border: 0; background: transparent; box-shadow: none; }
.contact-person + .contact-person::before { content: ''; position: absolute; top: 12%; bottom: 12%; left: calc(clamp(12px, 1.5vw, 20px) / -2); width: 1px; background: linear-gradient(180deg, transparent, hsl(210 72% 57% / .24) 24%, hsl(210 72% 57% / .24) 76%, transparent); }
.contact-person-photo { position: relative; align-self: end; width: clamp(154px, 22vh, 192px); aspect-ratio: 4 / 5; overflow: hidden; margin: 0 auto; border: 1px solid hsl(210 72% 57% / .48); border-radius: 48% 48% 8px 8px / 31% 31% 8px 8px; background: hsl(220 16% 10%); box-shadow: 0 0 0 6px hsl(210 72% 57% / .035), 0 18px 38px rgba(0, 0, 0, .34), 0 0 34px hsl(210 72% 57% / .12); }
.contact-person-photo::after { content: ''; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(0deg, hsl(220 10% 7%), transparent); }
.contact-person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 19%; filter: brightness(1.08) saturate(1.08); transition: transform .5s ease, filter .3s ease; }
.contact-person:hover .contact-person-photo img { transform: scale(1.035); filter: brightness(1.13) saturate(1.1); }
.contact-person-info { position: relative; z-index: 1; display: grid; grid-template-rows: 16px 42px 22px; align-content: start; margin: 0; padding: 6px clamp(14px, 1.6vw, 22px) 0; text-align: center; }
.contact-person-info h3 { align-self: start; margin: 0; color: var(--primary); font-family: 'Big Shoulders Display', Arial, sans-serif; font-size: 38px; font-weight: 800; line-height: .98; text-transform: uppercase; }
.contact-person-title { margin: 0; color: hsl(210 12% 69%); font-size: 13px; line-height: 1.2; }
.contact-person-actions { display: grid; grid-template-rows: 42px 16px 16px; gap: 4px; padding: 0 clamp(14px, 1.6vw, 22px); text-align: center; }
.contact-person-actions > a:not(.contact-person-primary) { overflow: hidden; color: hsl(210 72% 70%); font-size: 11px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.contact-person-primary { width: 100%; height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 0 12px; border-radius: 4px; background: var(--primary); color: var(--primary-foreground); font-family: 'Big Shoulders Display', Arial, sans-serif; font-size: 20px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.contact-person-primary:hover { filter: brightness(1.08); }
.contact-person-primary .phone-svg { width: 17px; height: 17px; }

.contact-meta { min-height: 27px; display: grid; grid-template-columns: auto auto auto; justify-content: center; align-items: center; gap: clamp(16px, 4vw, 54px); color: hsl(210 10% 58%); font-size: 11px; }
.contact-meta > span { display: flex; align-items: center; gap: 8px; color: hsl(140 68% 65%); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(74, 222, 128, .08); }
.contact-meta p { margin: 0; text-align: right; }
.contact-meta a:hover { color: var(--foreground); }

@media (max-width: 820px) {
  .contact-screen-inner { gap: 8px; padding-top: 74px; padding-bottom: 8px; }
  .contact-intro { grid-template-columns: 1fr; gap: 7px; }
  .contact-intro h1 { font-size: clamp(34px, 5.2vh, 48px); }
  .contact-intro-copy > p:last-child { display: none; }
  .contact-dispatch { width: min(660px, 100%); min-height: 58px; padding: 8px 14px; gap: 10px; }
  .contact-dispatch-icon { width: 38px; height: 38px; }
  .contact-dispatch > span:last-child { grid-template-columns: 1fr auto; }
  .contact-team-grid { grid-template-columns: 1fr; gap: 7px; }
  .contact-person { grid-template-columns: clamp(94px, 14vw, 106px) minmax(110px, .8fr) minmax(178px, 1.2fr); grid-template-rows: 1fr; align-items: center; }
  .contact-person-photo { grid-column: 1; width: clamp(82px, 12vw, 94px); height: auto; aspect-ratio: 4 / 5; margin: auto 0 auto 7px; border: 1px solid hsl(210 72% 57% / .48); border-radius: 48% 48% 7px 7px / 31% 31% 7px 7px; box-shadow: 0 0 0 4px hsl(210 72% 57% / .035), 0 12px 28px rgba(0, 0, 0, .32), 0 0 24px hsl(210 72% 57% / .12); }
  .contact-person + .contact-person::before { top: -4px; right: 0; bottom: auto; left: 0; width: auto; height: 1px; background: linear-gradient(90deg, transparent, hsl(210 72% 57% / .22) 20%, hsl(210 72% 57% / .22) 80%, transparent); }
  .contact-person-info { align-self: center; margin: 0; padding: 8px 10px; }
  .contact-person-info h3 { font-size: clamp(26px, 4.4vh, 36px); }
  .contact-person-actions { align-content: center; padding: 8px 10px 8px 0; }
  .contact-person-primary { min-height: 33px; }
  .contact-meta { grid-template-columns: auto auto; }
  .contact-meta p { display: none; }
}

@media (max-width: 560px) {
  .contact-one-screen .nav-inner { min-height: 64px; }
  .contact-one-screen .logo img { height: 64px; }
  .contact-one-screen .phone-link { min-height: 38px; padding: 0 11px; font-size: 16px; }
  .contact-screen-inner { width: min(100% - 20px, 1280px); padding-top: 69px; }
  .contact-intro h1 { margin-top: 5px; font-size: clamp(30px, 5.5vh, 41px); }
  .contact-dispatch { min-height: 55px; }
  .contact-dispatch-icon { width: 34px; height: 34px; }
  .contact-dispatch small { font-size: 9px; }
  .contact-dispatch strong { font-size: 20px; }
  .contact-dispatch b { font-size: 14px; }
  .contact-team-label h2 { font-size: 25px; }
  .contact-person { grid-template-columns: 76px minmax(90px, .72fr) minmax(142px, 1.28fr); }
  .contact-person-photo { width: 66px; margin-left: 4px; }
  .contact-person-info { padding: 6px 7px; }
  .contact-person-role { font-size: 8px; letter-spacing: .13em; }
  .contact-person-info h3 { font-size: clamp(23px, 4vh, 30px); }
  .contact-person-title { font-size: 10px; }
  .contact-person-actions { gap: 3px; padding: 6px 6px 6px 0; }
  .contact-person-primary { min-height: 30px; padding: 0 6px; font-size: 15px; }
  .contact-person-primary .phone-svg { display: none; }
  .contact-person-actions > a:not(.contact-person-primary) { font-size: 9px; }
  .contact-meta { gap: 8px; font-size: 9px; }
}

@media (max-height: 720px) {
  .contact-screen-inner { padding-top: 82px; padding-bottom: 6px; gap: 7px; }
  .contact-intro h1 { font-size: 38px; }
  .contact-intro-copy > p:last-child { display: none; }
  .contact-dispatch { min-height: 60px; }
  .contact-team-label h2 { font-size: 26px; }
  .contact-person-info h3 { font-size: 29px; }
  .contact-person-title { font-size: 11px; }
  .contact-person-primary { min-height: 31px; font-size: 16px; }
  .contact-person-actions > a:not(.contact-person-primary) { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) { .contact-dispatch, .contact-person-photo img { transition: none; } }
