/* Shared mesh guide and service-page recommendations. */
.mesh-intro { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; gap:7%; background:#fff1ff; overflow:hidden; }
.mesh-page .mesh-intro h1 { font-size:clamp(3.5rem,5.4vw,7rem); line-height:1.04; margin:22px 0 26px; }
.mesh-intro h1 em { display:inline-block; background:var(--pink); padding:0 .1em .06em; margin-left:-.1em; border-radius:7px; transform:rotate(-1.5deg); }
.mesh-intro p { max-width:42ch; font-size:1.25rem; margin-bottom:28px; }
.mesh-hero-art { position:relative; min-height:390px; max-width:640px; width:100%; justify-self:center; }
.mesh-hero-sample { position:absolute; width:43%; padding:10px; background:white; border:2px solid #111; border-radius:13px; box-shadow:7px 7px 0 #111; }
.mesh-hero-sample img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:5px; }
.mesh-hero-sample>span { display:block; padding:12px 2px 5px; font-weight:700; font-size:1rem; }
.mesh-hero-sample.sample-1 { left:0; top:10px; transform:rotate(-9deg); z-index:2; }
.mesh-hero-sample.sample-2 { left:28%; top:75px; transform:rotate(8deg); z-index:3; }
.mesh-hero-sample.sample-3 { right:0; top:0; transform:rotate(12deg); }
.mesh-hero-stamp { position:absolute; right:0; bottom:0; font-size:.8rem; font-weight:700; letter-spacing:.07em; padding:18px; border:2px solid #111; border-radius:14px; background:var(--pink); transform:rotate(-5deg); z-index:4; }
.mesh-hero-stamp strong { display:block; font-size:1.65rem; line-height:1.08; letter-spacing:-.045em; margin-top:8px; }
.mesh-selector { scroll-margin-top:15px; }
.mesh-selector-heading,.mesh-service-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; }
.mesh-selector-heading .eyebrow,.mesh-service-heading .eyebrow { margin-bottom:16px; }
.mesh-page .mesh-selector h2 { font-size:clamp(2rem,3vw,3.6rem); }
.mesh-help-link { display:inline-flex; align-items:center; gap:12px; min-height:48px; flex-shrink:0; font-size:1.125rem; font-weight:700; text-decoration:underline; text-underline-offset:5px; }
.mesh-filter-desktop { display:flex; flex-wrap:wrap; gap:10px; margin-top:30px; padding-bottom:32px; border-bottom:1px solid #ccc; }
.mesh-filter-desktop button { display:flex; gap:12px; align-items:center; justify-content:center; border:1.5px solid #b4b4b4; border-radius:40px; min-height:52px; padding:12px 20px; font-size:1.0625rem; font-weight:600; background:#fff; color:#111; transition:background .18s,border-color .18s; }
.mesh-filter-desktop button:hover { background:#fff1ff; border-color:#111; }
.mesh-filter-desktop button[aria-pressed="true"] { background:var(--pink); border-color:#111; box-shadow:3px 3px 0 #111; font-weight:700; }
.mesh-filter-desktop button span { display:grid; place-items:center; min-width:24px; height:24px; border-radius:50%; background:#111; color:#fff; font-size:.875rem; }
.mesh-filter-mobile { display:none; }
.mesh-results-heading { display:flex; justify-content:space-between; align-items:baseline; gap:16px; margin-top:32px; }
.mesh-results-heading h3 { font-size:1.75rem; line-height:1.2; }
.mesh-results-heading p { color:#555; font-size:1rem; flex-shrink:0; }
.mesh-filter-note { max-width:90ch; margin:14px 0 28px; font-size:1.125rem; color:#444; }
.mesh-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; align-items:stretch; }
.mesh-card { min-width:0; border:2px solid #111; border-radius:18px; background:#fff; box-shadow:6px 6px 0 #111; scroll-margin-top:24px; display:flex; flex-direction:column; }
.mesh-card:target { outline:4px solid var(--pink); outline-offset:6px; }
.mesh-swatch-trigger { position:relative; display:block; width:100%; text-align:left; padding:0; border-radius:15px 15px 0 0; background:#eee; overflow:hidden; color:white; }
.mesh-swatch-trigger>img { width:100%; aspect-ratio:1.7; height:auto; object-fit:cover; }
.mesh-swatch-trigger>img.mesh-system-photo { object-fit:contain; background:#eee; padding:18px; }
.mesh-swatch-cue { position:absolute; right:16px; bottom:16px; display:flex; align-items:center; gap:12px; border:1px solid #111; border-radius:30px; padding:9px 14px; background:#fff; color:#111; font-size:1rem; font-weight:700; }
.mesh-swatch-cue b { font-size:1.4rem; line-height:1; font-weight:400; }
.mesh-hover-apps { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; gap:9px; padding:24px; color:white; background:#111e; opacity:0; transition:opacity .2s; }
.mesh-hover-apps strong { color:var(--pink); font-size:1.2rem; }
.mesh-hover-apps>span { line-height:1.45; font-size:1.0625rem; }
.mesh-hover-apps small { color:#ddd; font-size:.875rem; line-height:1.4; }
.mesh-swatch-trigger:focus-visible .mesh-hover-apps { opacity:1; }
.mesh-swatch-trigger:focus-visible .mesh-swatch-cue { opacity:0; }
@media(hover:hover) { .mesh-swatch-trigger:hover .mesh-hover-apps { opacity:1; } .mesh-swatch-trigger:hover .mesh-swatch-cue { opacity:0; } }
.mesh-card-copy { padding:24px; display:flex; flex-direction:column; flex:1; align-items:flex-start; }
.mesh-brand { display:block; font-size:.875rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#750075; }
.mesh-card h3 { font-size:clamp(1.55rem,2vw,2rem); letter-spacing:-.045em; line-height:1.12; margin:10px 0 12px; }
.mesh-purpose { display:block; font-size:1.0625rem; font-weight:700; line-height:1.4; }
.mesh-card-copy>p:not(.mesh-match-note) { font-size:1.0625rem; color:#454545; line-height:1.6; margin:14px 0 22px; }
.mesh-match-note { font-size:1rem; line-height:1.5; background:#fff1ff; padding:12px 14px; border-left:3px solid var(--pink); margin:0 0 20px; }
.mesh-match-note strong { display:block; margin-bottom:4px; }
.mesh-detail-link { display:inline-flex; align-items:center; justify-content:space-between; gap:12px; width:100%; margin-top:auto; padding:15px 0 0; min-height:52px; border-top:1px solid #ccc; color:#111; background:transparent; text-align:left; font-size:1.0625rem; font-weight:700; }
.mesh-detail-link:hover { color:#750075; }
.mesh-detail-link .ui-icon { flex-shrink:0; }
.mesh-swatch-note { margin-top:28px; font-size:1rem; color:#555; max-width:90ch; }
.mesh-guidance { display:grid; grid-template-columns:1fr 1fr; gap:8%; background:#fff1ff; }
.mesh-guidance h2 { margin:20px 0 24px; }
.mesh-guidance>div>p { font-size:1.125rem; max-width:45ch; margin-bottom:28px; }
.mesh-guidance-list { display:flex; flex-direction:column; justify-content:center; }
.mesh-guidance-list article { display:flex; gap:20px; padding:24px 0; border-bottom:1px solid #bcb0bc; }
.mesh-guidance-list article:first-child { border-top:1px solid #bcb0bc; }
.mesh-guidance-list article>span { flex-shrink:0; display:grid; place-items:center; width:44px; height:44px; font-weight:700; border-radius:50%; background:var(--pink); }
.mesh-guidance-list h3 { font-size:1.5rem; line-height:1.2; margin:4px 0 10px; }
.mesh-guidance-list p { font-size:1.125rem; color:#444; }
.refreshed .mesh-dialog { max-width:820px; padding:28px; border-radius:22px; width:calc(100% - 32px); margin:auto; max-height:calc(100dvh - 32px); overflow:auto; }
.mesh-dialog-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:20px; }
.mesh-dialog .dialog-close { position:static; background:#f1f1f1; border-radius:50%; color:#111; }
.mesh-dialog-layout { display:grid; grid-template-columns:200px 1fr; gap:28px; align-items:start; }
.mesh-dialog-photo { width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:12px; }
.mesh-dialog-photo.mesh-system-photo { object-fit:contain; background:#eee; padding:12px; }
.refreshed .mesh-dialog h2 { font-size:2.25rem; margin:0 0 12px; }
.mesh-dialog-layout p:not(.mesh-purpose) { margin-top:16px; font-size:1.0625rem; }
.mesh-material { margin:18px 0 0; }
.mesh-material dt { font-size:.875rem; font-weight:700; color:#555; }
.mesh-material dd { margin:0; font-size:1rem; }
.mesh-dialog-apps { margin-top:24px; padding-top:24px; border-top:1px solid #ccc; }
.mesh-dialog-apps h3 { font-size:1.5rem; }
.mesh-application-list { padding:0; margin:14px 0 0; list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:8px 24px; }
.mesh-application-list li { padding:10px 0; border-bottom:1px solid #eee; line-height:1.35; font-size:1.0625rem; }
.mesh-application-list a { display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:4px; font-weight:600; }
.mesh-application-list small { display:block; color:#750075; font-size:.875rem; margin-top:2px; }
.mesh-consideration { margin-top:22px; padding:18px; background:#fff1ff; border-radius:10px; font-size:1rem; }
.mesh-dialog-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:22px; }
.service-mesh { border-top:1px solid #dedede; }
.mesh-service-intro { font-size:1.125rem; max-width:85ch; margin:24px 0 30px; }
.mesh-tile-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.mesh-tile { display:flex; align-items:center; gap:16px; padding:16px; border:1.5px solid #111; border-radius:14px; min-width:0; background:#fff; box-shadow:4px 4px 0 #111; }
.mesh-tile:hover { background:#fff1ff; }
.mesh-tile>img { flex:0 0 76px; width:76px; height:88px; object-fit:cover; border-radius:6px; }
.mesh-tile>span { flex:1; }
.mesh-tile strong { display:block; font-size:1.125rem; line-height:1.25; }
.mesh-tile-purpose { display:block; font-size:1rem; line-height:1.4; margin-top:7px; color:#444; }
.mesh-tile-status { display:block; color:#750075; font-size:.875rem; margin-top:7px; line-height:1.4; font-weight:600; }
.mesh-tile .ui-icon { width:20px; flex:0 0 20px; }
.mesh-tile[href*="#mesh-meshtec"]>img { object-fit:contain; background:#eee; }
.mesh-tile-grid.single-mesh { grid-template-columns:minmax(0,560px); }
.mesh-service-footnote { margin-top:26px; color:#555; font-size:1rem; }
.home-mesh-guide { display:flex; align-items:center; justify-content:space-between; gap:40px; background:#fff1ff; }
.home-mesh-guide h2 { margin:18px 0 20px; }
.home-mesh-guide p { font-size:1.125rem; max-width:70ch; }
.home-mesh-guide>.button { flex-shrink:0; }
.mesh-nojs article { padding:24px 0; border-bottom:1px solid #ccc; }
/* Keep the extra guide link comfortable at narrow desktop widths. */
@media(min-width:1101px) and (max-width:1279px) {
 .client-version .site-header { padding-inline:24px; }
 .client-version .site-header nav .nav-call { font-size:0; gap:0; width:52px; padding-inline:12px; }
}
@media(min-width:1400px) and (max-width:1599px) {
 .client-version .site-header nav { gap:14px; }
}
@media(min-width:1800px) { .mesh-hero-art { min-height:450px; } }
@media(max-width:1199px) {
 .mesh-grid { gap:22px; }
 .mesh-card-copy { padding:20px; }
 .mesh-tile-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .mesh-hero-art { min-height:340px; }
 .mesh-hero-sample>span { font-size:.875rem; }
 .mesh-hover-apps { padding:16px; gap:6px; }
 .mesh-hover-apps>span { font-size:.9375rem; }
 .mesh-hover-apps small { font-size:.8125rem; }
 .mesh-selector-heading { align-items:start; }
}
@media(max-width:900px) {
 .mesh-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .mesh-intro { gap:4%; }
 .mesh-page .mesh-intro h1 { font-size:3.7rem; }
 .mesh-hero-art { min-height:300px; }
 .mesh-hero-stamp { font-size:.65rem; padding:14px; }
 .mesh-hero-stamp strong { font-size:1.35rem; }
 .mesh-hover-apps { padding:20px; }
 .mesh-hover-apps>span { font-size:1rem; }
 .home-mesh-guide { align-items:start; flex-direction:column; gap:28px; }
 .mesh-guidance { gap:5%; }
}
@media(max-width:650px) {
 .mesh-intro { grid-template-columns:1fr; padding-bottom:40px!important; }
 .mesh-page .mesh-intro h1 { font-size:clamp(2.9rem,11vw,4rem); margin:20px 0 24px; }
 .mesh-intro p { font-size:1.125rem; margin-bottom:24px; }
 .mesh-hero-art { display:none; }
 .mesh-selector-heading,.mesh-service-heading { flex-direction:column; align-items:start; gap:14px; }
 .mesh-page .mesh-selector h2 { font-size:2.25rem; }
 .mesh-filter-desktop { display:none; }
 .mesh-filter-mobile { display:block; margin-top:22px; }
 .mesh-filter-mobile label { display:block; font-weight:700; margin-bottom:10px; font-size:1rem; }
 .mesh-filter-mobile select { width:100%; min-height:58px; background:white; color:#111; border:2px solid #111; border-radius:10px; padding:12px; font-size:1.125rem; }
 .mesh-results-heading { flex-direction:column; align-items:start; gap:6px; margin-top:28px; }
 .mesh-results-heading h3 { font-size:1.5rem; }
 .mesh-filter-note { font-size:1.0625rem; margin-top:16px; }
 .mesh-grid { grid-template-columns:minmax(0,1fr); gap:26px; }
 .mesh-card-copy { padding:24px; }
 .mesh-card h3 { font-size:1.8rem; }
 .mesh-swatch-trigger>img { aspect-ratio:1.65; }
 .mesh-hover-apps { padding:24px; }
 .mesh-hover-apps>span { font-size:1.0625rem; }
 .mesh-guidance { grid-template-columns:1fr; gap:30px; }
 .mesh-guidance-list article { gap:16px; }
 .mesh-tile-grid { grid-template-columns:minmax(0,1fr); }
 .mesh-tile>img { width:72px; flex-basis:72px; height:82px; }
 .mesh-tile { padding:14px; gap:12px; }
 .refreshed .mesh-dialog { padding:20px; border-radius:18px; max-height:calc(100dvh - 24px); width:calc(100% - 24px); }
 .mesh-dialog-heading { position:sticky; top:-20px; z-index:2; background:#fff; padding-bottom:12px; margin-bottom:8px; }
 .mesh-dialog-layout { grid-template-columns:1fr; gap:22px; }
 .mesh-dialog-photo { max-height:160px; aspect-ratio:2; }
 .mesh-dialog-layout .mesh-system-photo { aspect-ratio:2; }
 .refreshed .mesh-dialog h2 { font-size:2rem; }
 .mesh-application-list { grid-template-columns:1fr; gap:0; }
 .mesh-dialog-actions { flex-direction:column; }
 .mesh-dialog-actions .button { width:100%; }
 .home-mesh-guide>.button { width:100%; }
}
