/* Match the map canvas to the site's main ink, keeping streets in grey. */
.contact-map-section .contact-map,
.contact-map-section .map-brand-marker{background:var(--ink)}
.contact-map-section .map-coordinates{background:#0d0f0fee}

/* The office/warehouse address is a readable destination, not a caption. */
.contact-locations .page-contact>h3{
 font-size:clamp(34px,3.1vw,48px);line-height:1.2;
 letter-spacing:-.04em;margin-bottom:20px;overflow-wrap:normal;
}
.contact-locations .page-contact>p:first-of-type{font-size:17px;line-height:1.7}
.contact-map-section #map-location-caption{font-size:18px;line-height:1.55;max-width:100%}

/* Two full-width contact panels share their middle border. Supporting
   information has its own quieter pair of framed blocks below them. */
body[data-page="/contacts/"] .contact-primary-grid{
 --contact-primary-size:clamp(36px,5.5vw,104px);
 grid-template-columns:minmax(0,1fr);gap:0;
}
/* Only the joined seam overrides the later English tablet prose-grid gap.
   Font-size tokens retain normal specificity so the mobile scale still wins. */
html[lang] body[data-page="/contacts/"] .page-grid.contact-primary-grid{gap:0}
body[data-page="/contacts/"] .contact-primary-grid>.page-title,
body[data-page="/contacts/"] .contact-primary-grid :is(.contact-primary-phone,.contact-primary-email){
 font-size:var(--contact-primary-size);font-weight:600;line-height:1.16;
 letter-spacing:-.035em;white-space:nowrap;max-width:100%;
}
body[data-page="/contacts/"] .contact-intro-copy{
 --contact-block-gap:40px;
 display:grid;grid-template-columns:minmax(0,1fr);gap:var(--contact-block-gap);
 min-width:0;width:100%;max-width:none;
}
body[data-page="/contacts/"] .contact-intro-copy>*{margin:0;min-width:0}
body[data-page="/contacts/"] .contact-primary-grid :is(.contact-primary-phone,.contact-primary-email){
 display:flex;align-items:center;justify-content:space-between;
 gap:.55em;width:100%;min-width:0;color:var(--ink);
 padding:clamp(22px,2.6vw,42px) clamp(14px,2vw,30px);
 border:1px solid var(--line);background:transparent;
 transition:color .28s ease,border-color .28s ease;
}
/* The email's top edge draws the one shared separator; alpha strokes must
   not overlap, otherwise this seam is darker than the outside frame. */
body[data-page="/contacts/"] .contact-primary-grid .contact-primary-phone{border-bottom:0}
body[data-page="/contacts/"] .contact-intro-copy .contact-primary-email{
 grid-column:1/-1;order:0;width:100%;margin:0;
}
body[data-page="/contacts/"] .contact-primary-arrow{
 display:block;flex:0 0 .55em;width:.55em;height:.55em;overflow:visible;
 fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;
 transition:transform .32s cubic-bezier(.22,.61,.36,1);
}
body[data-page="/contacts/"] .contact-primary-grid :is(.contact-primary-phone,.contact-primary-email):is(:hover,:focus-visible){color:var(--orange)}
body[data-page="/contacts/"] .contact-primary-grid :is(.contact-primary-phone,.contact-primary-email):is(:hover,:focus-visible)>.contact-primary-arrow{
 transform:translate(3px,-3px);
}
body[data-page="/contacts/"] .contact-details-notes{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;
 width:100%;min-width:0;
}
body[data-page="/contacts/"] .contact-details-notes>p{
 margin:0;width:100%;max-width:none;min-width:0;
 padding:22px clamp(14px,2vw,30px);border:1px solid var(--line);
 color:#626262;font-size:17px;line-height:1.75;text-align:start;
}
body[data-page="/contacts/"] .contact-details-notes>p+p{border-inline-start:0}
/* Match the upper panel gap to the visible specialist label below: the
   taller arrow centers that label14px below the link's border-box top. */
body[data-page="/contacts/"] .contact-intro-copy>.contact-details-notes{margin-top:14px}
body[data-page="/contacts/"] .contact-intro-copy .contact-specialists-link{
 grid-column:1/-1;justify-self:start;margin:0;padding-top:0;
}
/* Align the representative's address with the heading. The generic prose
   heading margins otherwise add27px above it and57px to the mobile gap. */
body[data-page="/contacts/"] .contact-representation .page-grid{
 grid-template-columns:repeat(2,minmax(0,1fr));column-gap:7%;row-gap:28px;
 align-items:start;
}
body[data-page="/contacts/"] .contact-representation .page-grid>*{min-width:0}
body[data-page="/contacts/"] .contact-representation .page-title{margin:0}
body[data-page="/contacts/"] .contact-representation .page-copy>h3:first-child{margin-top:0}
/* Align the visible capital tops, including the two optical heading lines,
   rather than only their differently sized font line boxes. */
@supports(text-box-trim:trim-start){
 body[data-page="/contacts/"] .contact-representation .page-title,
 body[data-page="/contacts/"] .contact-representation .page-copy>h3:first-child{
  text-box-trim:trim-start;text-box-edge:cap alphabetic;
 }
}
@media(max-width:900px){
 .contact-locations .page-contact>h3{font-size:30px}
 html[lang] body[data-page="/contacts/"] .contact-representation .page-grid{
  grid-template-columns:minmax(0,1fr);row-gap:28px;
 }
}
@media(max-width:650px){
 body[data-page="/contacts/"] .contact-primary-grid{--contact-primary-size:clamp(23px,7.7vw,50px);gap:0}
 body[data-page="/contacts/"] .contact-intro-copy{--contact-block-gap:32px;grid-template-columns:minmax(0,1fr)}
 body[data-page="/contacts/"] .contact-details-notes{grid-template-columns:minmax(0,1fr);gap:0}
 body[data-page="/contacts/"] .contact-details-notes>p{padding-block:18px;font-size:15px}
 body[data-page="/contacts/"] .contact-details-notes>p+p{border-inline-start:1px solid var(--line);border-block-start:0}
 .contact-locations{grid-template-columns:1fr}
 .contact-locations .page-contact>h3{font-size:32px}
 .contact-locations .page-contact>p:first-of-type{font-size:15px}
 .contact-map-section #map-location-caption{font-size:15px;line-height:1.55}
}
@media(prefers-reduced-motion:reduce){
 body[data-page="/contacts/"] .contact-primary-arrow{transition:none}
 body[data-page="/contacts/"] .contact-primary-grid :is(.contact-primary-phone,.contact-primary-email):is(:hover,:focus-visible)>.contact-primary-arrow{transform:none}
}
