.support-page {
  --support-ivory: var(--mist-gray);
  --support-pale: #f6f5f2;
}

.support-dark {
  background: var(--graphite-surface);
  color: var(--support-pale);
}

.contact-hero {
  --graphite-lines-inset: 5% 0 5% auto;
  background: linear-gradient(100deg, #101114 5%, #141518 50%, #24262a);
}

.support-tint {
  background: var(--support-ivory);
}

.support-hero,
.support-two {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
}

.support-hero {
  padding-block: clamp(2rem, 5vw, 5rem);
}

.support-lead h1 {
  margin-block: 0.25em 0.3em;
  font-size: clamp(2.8rem, 5.15vw, 6.4rem);
  text-wrap: balance;
}

.support-lead p:not(.caption),
.support-section p:not(.caption) {
  max-width: 49ch;
}

.support-lead p:not(.caption) {
  color: #d4d4d8;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.support-lead .caption {
  color: #d4d4d8;
}

.support-lead .showroom-hours {
  margin-block-start: 1.5rem;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}

.support-image img {
  aspect-ratio: 1.13;
  object-fit: cover;
  object-position: 32% 58%;
}

.support-image figcaption {
  margin-top: 0.6rem;
  color: #d4d4d8;
  font-size: 0.8rem;
}

.support-hero-library {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.65fr);
}

.support-hero-library .support-image img {
  max-height: 23rem;
}

.support-section {
  padding-block: clamp(3rem, 6vw, 6rem);
}

.support-section h2 {
  margin-block: 0.18em 0.4em;
  text-wrap: balance;
}

.support-section:not(.support-dark *) .caption { color: #981922; }

.support-two {
  align-items: start;
}

.support-address {
  padding-left: clamp(1rem, 3vw, 3rem);
  border-left: 1px solid var(--rule);
}

.support-address address {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-style: normal;
  line-height: 1.3;
}

.support-address dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem 1rem;
  margin-block: 1.25rem;
}

.support-address dt {
  font-weight: 650;
}

.support-address dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.support-stories,
.support-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(1rem, 5vw, 5rem);
}

.support-stories article,
.support-doc-grid article {
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
}

.support-stories h3,
.support-doc-grid h3 {
  margin-bottom: 0.5rem;
}

.support-stories a {
  display: inline-block;
  margin-top: 1rem;
}

.support-library {
  padding-top: 2rem;
}

.support-jumps {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--rule);
}

.support-docs {
  padding-top: clamp(2rem, 4vw, 4rem);
}

.support-doc-grid ul {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0;
}

.support-doc-grid li + li {
  border-top: 1px solid var(--rule);
}

.support-doc-grid li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

.support-doc-grid li span {
  color: var(--muted);
  white-space: nowrap;
  font-size: 0.8rem;
}

@media (max-width: 740px) {
  .support-hero,
  .support-two,
  .support-stories,
  .support-doc-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-image img {
    max-height: 24rem;
  }
}

@media (min-width: 821px) and (max-height: 720px) {
  .support-hero { padding-block: 1.55rem; }
  .support-hero h1 { font-size: clamp(2.7rem, 5vw, 5.4rem); }
  .support-hero figure img { max-height: 45vh; }
}

@media (min-width: 601px) and (max-width: 820px) {
  .support-hero,
  .support-two { gap: 1.5rem; }

  .support-lead h1 { font-size: clamp(2.65rem, 5.7vw, 4.4rem); }
  .support-hero .support-image img { max-height: 19rem; }
  .support-actions { gap: .65rem 1rem; }
  .support-doc-grid li a { gap: .6rem; }
}

.support-contact { display: grid; gap: .65rem; justify-items: start; padding: clamp(1.15rem, 4vw, 3rem); border: 1px solid #ffffff36; background: #ffffff0b; overflow-wrap: anywhere; }
.support-contact .contact-number { font-size: clamp(1.65rem, 3.25vw, 3.2rem); }
.support-contact > p:not(.caption) { margin-top: .55rem; }
.support-prose { display: grid; gap: 1rem; justify-items: start; }

/* Resource navigation stays quiet; document names retain their familiar underline. */
.resources-page .support-jumps a,
.resources-page .support-doc-grid a { text-decoration: none; }
.resources-page .support-jumps { display: flex; flex-wrap: wrap; gap: .8rem 2rem; }
.resources-page .support-jumps a { padding-block: .5rem; font-weight: 600; }
.resources-page .support-jumps a:hover,
.resources-page .support-doc-grid li a:hover,
.resources-page .resource-label { text-decoration: underline; text-underline-offset: .2em; }
.resources-page .support-doc-grid .resource-label { color: inherit; white-space: normal; font-size: inherit; }
.resources-page .supplier-home { margin: .4rem 0 1.1rem; }
.resources-page .support-doc-grid li a { align-items: baseline; }
.resources-page .support-doc-grid li span:not(.resource-label) { text-align: right; }
.resource-hero { position: relative; isolation: isolate; color: #fafafa; background: #121316; min-height: clamp(30rem, 70svh, 44rem); display: grid; align-items: end; }
.resource-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; z-index: -2; }
.resource-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #121316df, #12131699 34%, #12131626 65%, transparent); }
.resource-hero-copy { width: 100%; padding-block: clamp(3rem, 6vw, 6rem); }
.resource-hero-copy h1 { font-size: clamp(3rem, 5.5vw, 6.25rem); margin-block: .6rem 1rem; }
.resource-hero-copy > p:not(.caption) { max-width: 34ch; }
@media (max-width: 740px) {
  .resource-hero { min-height:0; grid-template-rows:20rem auto; }
  .resource-hero > img { height:22rem; object-position:60% center; mask-image:linear-gradient(#000 78%,transparent); }
  .resource-hero-copy { grid-row:2; margin-block:0; align-self:end; padding-block:1rem 1.5rem; }
  .resource-hero::after { background: linear-gradient(0deg, #121316f2, #121316b3 38%, #1213161a 80%); }
  .resources-page .support-doc-grid li a { flex-wrap: wrap; gap: .25rem .75rem; }
  .resources-page .support-doc-grid li span:not(.resource-label) { font-size: .75rem; }
}

.about-hero { min-height: clamp(34rem, 76svh, 48rem); }
.about-hero .resource-hero-copy h1 { max-width: 16ch; font-size: clamp(2.6rem, 4.5vw, 5.5rem); line-height: 1.08; }
.about-hero > img { object-position: center 54%; }
@media(max-width:740px) { .about-hero > img { object-position:65% center; } }

.showroom-map-section { background:var(--mist-gray); }
#showroom-map { height:clamp(18rem,32vw,26rem); isolation:isolate; z-index:0; }
#showroom-map-status { padding:1rem var(--pad); }
.showroom-map-pin { width:22px; height:22px; border:3px solid #fff; border-radius:50%; background:#b21629; box-shadow:0 2px 6px #0006; }
.showroom-map-section .leaflet-popup-content { line-height:1.5; }

/* Soften only the base tiles, keeping pins and labels in the popup crisp. */
#showroom-map .leaflet-tile-pane { filter:saturate(.25) sepia(.12) contrast(.94); }
#showroom-map { background:#e8e5df; font-family:"Instrument Sans",sans-serif; }
#showroom-map .leaflet-popup-content-wrapper,
#showroom-map .leaflet-popup-tip { background:#f8f5ef; color:#27272a; }
#showroom-map .leaflet-popup-content-wrapper { border-radius:6px; box-shadow:0 3px 18px #27272a26; }
#showroom-map .leaflet-popup-content { margin:20px 24px 20px 20px; font-size:14px; line-height:1.5; }
#showroom-map .showroom-popup p { margin:0 0 10px; color:#595650; }
#showroom-map .showroom-popup a { color:#a71927; font-weight:600; text-underline-offset:3px; }
#showroom-map .leaflet-popup-close-button { color:#67635e; width:28px; height:28px; font-size:20px; }
#showroom-map .leaflet-bar { border:1px solid #27272a26; box-shadow:0 2px 8px #27272a15; }
#showroom-map .leaflet-bar a { background:#f8f5ef; color:#27272a; border-color:#27272a20; }

.resources-page .support-library { padding-top:clamp(2rem,4vw,3.5rem); }
.resources-page .support-docs { padding-top:0; }
.resources-page .support-docs + .support-docs { margin-top:3rem; }
.resources-page .support-docs > p { max-width:66ch; margin:.75rem 0 1.75rem; }
.resources-page .support-doc-grid { gap:2rem clamp(2rem,5vw,5rem); }
.resource-brand-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; width:100%; margin-bottom:.75rem; }
.resources-page .resource-brand-heading h3 { margin:0; font-size:clamp(1.6rem,2.4vw,2.3rem); }
.resources-page .supplier-home { flex:none; margin:0; padding:.5rem 0 .5rem .5rem; font-size:.8rem; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.resources-page .support-doc-grid article { padding-top:1rem; }
.resources-page .support-doc-grid ul { margin:0; }
.resources-page .support-doc-grid li a { display:flex; flex-wrap:nowrap; align-items:center; gap:1rem; min-height:3rem; padding-block:.75rem; }
.resources-page .support-doc-grid .resource-label { flex:1; min-width:0; font-size:.95rem; line-height:1.4; }
.resources-page .support-doc-grid .resource-kind { display:inline-flex; flex:none; align-items:center; gap:.3rem; color:#8f1c28; }
.resources-page .support-doc-grid .resource-kind > span:not(.visually-hidden) { font-size:.6rem; font-weight:600; color:inherit; }
.resource-kind svg { flex:none; }
@media(max-width:450px) {
 .resource-brand-heading { gap:.5rem; }
 .resources-page .resource-brand-heading h3 { font-size:1.55rem; }
}

.resources-page .support-doc-grid .resource-kind > span.resource-size { color:#666269; font-size:.7rem; font-weight:400; margin-right:.2rem; }

.support-paper { background:var(--paper); }

@media(max-width:720px) {
  #showroom-map { height:28rem; }
  #showroom-map .leaflet-popup-content { margin:16px 24px 16px 16px; }
}

.about-evidence blockquote { max-width:44rem; margin:1rem auto 3rem; padding:0; border:0; }
.about-evidence blockquote p { font-size:clamp(1.3rem,2vw,1.8rem); line-height:1.45; }
.about-evidence blockquote footer { margin-top:1rem; font-size:.85rem; color:#625e59; }

.about-testimonial { text-align:center; }
.about-testimonial :is(p,footer) { margin-inline:auto; }


.testimonial-slides { display:block; }
.about-evidence .testimonial-item { display:none; margin-bottom:.5rem; }
.about-evidence .testimonial-item.is-active { display:block; }
.testimonial-controls { display:flex; justify-content:center; margin:0 0 3rem; }
.testimonial-controls[hidden] { display:none; }
.testimonial-controls button { display:grid; place-items:center; width:28px; height:44px; padding:0; border:0; background:transparent; cursor:pointer; }
.testimonial-controls button::before { content:''; width:8px; height:8px; border-radius:50%; background:#99918a; }
.testimonial-controls button[aria-pressed=true]::before { background:#a51821; }

.about-mosaic { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); grid-template-rows:repeat(4,clamp(20rem,25vw,26rem)); gap:clamp(1.5rem,2.5vw,2.5rem); padding-bottom:var(--section-space); }
.about-mosaic figure { display:grid; grid-template-rows:minmax(0,1fr) auto; min-width:0; min-height:0; }
.about-mosaic figure > a { display:block; min-height:0; overflow:hidden; }
.about-mosaic img { width:100%; height:100%; object-fit:cover; }
.about-mosaic figcaption { padding-top:.65rem; font-size:.82rem; }
.about-mosaic-copy { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:clamp(1rem,2.5vw,2.5rem); }
.about-mosaic-copy h2 { font-size:clamp(2rem,3vw,3.2rem); line-height:1.12; text-wrap:balance; }
.about-mosaic-copy h3 { font-size:clamp(1.5rem,2vw,2.2rem); margin-bottom:.75rem; }
.about-mosaic-copy p:not(.caption) { font-size:1rem; line-height:1.6; margin-bottom:1rem; }
.about-mosaic-copy > a { font-size:.9rem; }
.about-mosaic-intro { grid-column:8 / 13; grid-row:1; }
.about-mosaic-spartherm { grid-column:1 / 8; grid-row:1 / 3; }
.about-mosaic-spartherm img { object-position:30% center; }
.about-mosaic-brunner { grid-column:8 / 13; grid-row:2; }
.about-mosaic-brunner img { object-position:center 72%; }
.about-mosaic-home { grid-column:1 / 5; grid-row:3; background:var(--mist-gray); }
.about-mosaic-wamsler { grid-column:5 / 9; grid-row:3 / 5; }
.about-mosaic-wamsler img { object-position:72% center; }
.about-mosaic-maxblank { grid-column:9 / 13; grid-row:3; }
.about-mosaic-fm { grid-column:1 / 5; grid-row:4; }
.about-mosaic-fm img { object-position:75% center; }
.about-mosaic-project { grid-column:9 / 13; grid-row:4; background:var(--mist-gray); }
@media(max-width:900px) {
  .about-mosaic { grid-template-columns:1fr; grid-template-rows:none; gap:2rem; }
  .about-mosaic > * { grid-column:auto; grid-row:auto; }
  .about-mosaic figure > a { aspect-ratio:4 / 3; }
  .about-mosaic-copy { padding:1.5rem; }
  .about-mosaic-intro { padding:0; }
}
