:root {
  color-scheme: light;
  --ink:#142d3b; --muted:#536874; --line:#d8e0e0; --mist:#f1f4f2; --paper:#fdfdfa;
  --green:#126658; --green-deep:#0c4c42; --bright:#b9e8d0; --navy:#102735;
  --width:1280px; --gap:clamp(20px,4vw,64px);
  font: 100%/1.55 "Avenir Next", Inter, "Segoe UI", Arial, sans-serif;
}
* { box-sizing:border-box }
html { scroll-behavior:smooth; scroll-padding-top:95px }
body { margin:0; background:var(--paper); color:var(--ink) }
a { color:inherit; text-decoration:none }
button,input,select,textarea { font:inherit }
button { cursor:pointer }
img { display:block; width:100%; height:auto }
:focus-visible { outline:3px solid #bd701a; outline-offset:4px }
[hidden] { display:none!important }
h1,h2,h3,p,figure { margin:0 }
h1,h2,h3 { line-height:1.10; letter-spacing:-.035em; font-weight:700 }
h1 { font-size:clamp(2.65rem,5.1vw,5.05rem) }
h2 { font-size:clamp(1.9rem,3.45vw,3.2rem) }
h3 { font-size:clamp(1.22rem,1.7vw,1.58rem) }
p { color:var(--muted) }
.wrap { width:min(var(--width),calc(100% - var(--gap)*2)); margin-inline:auto }
.skip { position:fixed; left:12px; top:12px; transform:translateY(-180%); z-index:20; padding:.65rem; background:#fff }
.skip:focus { transform:translateY(0) }
.preview-bar { background:#e7efe9; font-size:.81rem; color:#28574b; text-align:center; padding:6px 1rem; font-weight:650 }
.site-header { background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:9 }
.header-row { display:flex; align-items:center; gap:2rem; justify-content:space-between; min-height:77px }
.logo { flex:0 0 auto; display:inline-flex; align-items:center }
.logo img { width:clamp(151px,18vw,237px) }
.site-nav { display:flex; align-items:center; gap:clamp(1rem,2.5vw,2.5rem) }
.site-nav a { padding:12px 0; font-size:.94rem; font-weight:660; white-space:nowrap }
.site-nav a:is(:hover,[aria-current]) { color:var(--green); box-shadow:0 2px var(--green) }
.menu-toggle { display:none }
.btn { display:inline-flex; justify-content:center; align-items:center; gap:8px; min-height:48px; border:1px solid transparent; background:var(--green); border-radius:5px; font-weight:700; line-height:1.25; color:#fff; padding:.8rem 1.1rem; text-align:center }
.btn:hover { background:var(--green-deep) }
.btn-outline { background:transparent; border-color:#8aa39d; color:var(--green-deep) }
.btn-outline:hover { background:#e3f1ea }
.btn-light { background:var(--bright); color:#123c31 }
.btn-light:hover { background:#dbf5e8 }
.btn-glass { background:#142d3b30; color:#fff; border-color:#c2d8d78a }
.btn-glass:hover { background:#2b4a56 }
.eyebrow { display:flex; align-items:center; gap:11px; text-transform:uppercase; font-size:.875rem; letter-spacing:.115em; font-weight:730; color:var(--green); line-height:1.35 }
.eyebrow:before { content:""; flex:0 0 26px; height:2px; background:currentColor }
.hero { background:var(--navy); position:relative; isolation:isolate; color:#fff; overflow:hidden }
.hero-image { position:absolute; inset:0 0 0 auto; width:72%; height:100%; object-fit:cover; object-position:right center; z-index:-2 }
.hero:after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#102735 0%,#102735 24%,#102735f8 37%,#102735bd 51%,#10273536 69%,#10273500 91%); pointer-events:none }
.hero-inner { min-height:clamp(480px,42vw,615px); display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding-block:52px 68px }
.hero .eyebrow,.dark .eyebrow { color:var(--bright) }
.hero h1 { max-width:10.5ch; margin:18px 0 22px; letter-spacing:-.045em; text-wrap:balance }
.hero p:not(.eyebrow) { color:#e3edef; font-size:clamp(1rem,1.5vw,1.22rem); max-width:43ch }
.actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:25px }
.hero-note { position:absolute; right:var(--gap); bottom:14px; color:#fff; background:#102735c9; padding:3px 8px; border-radius:3px; font-size:.78rem }
.route-strip { background:#e8efeb; border-bottom:1px solid var(--line) }
.route-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) }
.route-list a { min-width:0; display:flex; align-items:center; gap:14px; padding:17px clamp(8px,2.2vw,33px); border-right:1px solid #cad8d2 }
.route-list a:first-child { padding-left:0 }
.route-list a:last-child { border-right:0 }
.route-list a:hover { background:#dceae2 }
.route-icon { display:grid; place-items:center; inline-size:36px; block-size:36px; border:1px solid #a5bcb2; color:var(--green-deep); border-radius:50%; flex:none; font-weight:740; font-size:.8rem }
.route-list strong { display:block; font-size:1rem; line-height:1.24 }
.route-list small { font-size:.875rem; color:#48645c }
.section { padding-block:clamp(42px,6.1vw,88px) }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:1.1rem; margin-bottom:24px }
.section-head h2,.section h2 { margin-top:10px }
.section-head p:not(.eyebrow) { margin-top:10px }
.section-head .btn { flex:none }
.series-grid,.application-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px }
.series-card { display:flex; flex-direction:column; min-width:0; border:1px solid var(--line); background:#fff; border-radius:8px; overflow:hidden; transition:box-shadow .2s, border-color .2s }
.series-card:hover { border-color:#8daea2; box-shadow:0 10px 24px #173b3211 }
.series-card figure { overflow:hidden; background:#edf1f0; aspect-ratio:1.69; display:grid; place-items:center }
.series-card img { height:100%; width:100%; object-fit:contain; transition:scale .25s }
.series-card figure.scene img { object-fit:cover }
.series-card:hover img { scale:1.035 }
.series-copy { display:flex; flex:1; flex-direction:column; gap:9px; padding:20px }
.tag { color:var(--green); text-transform:uppercase; font-size:.81rem; font-weight:750; letter-spacing:.085em }
.card-link { margin-top:auto; padding-top:7px; font-weight:730; color:var(--green); text-decoration:underline; text-underline-offset:4px }
.mist { background:var(--mist); border-block:1px solid var(--line) }
.application-grid a { display:grid; border:1px solid var(--line); border-radius:7px; overflow:hidden; background:white }
.application-grid figure { aspect-ratio:2; overflow:hidden }
.application-grid img { height:100%; object-fit:cover; transition:scale .25s }
.application-grid a:hover img { scale:1.03 }
.app-copy { padding:17px 18px }
.app-copy p { margin-top:8px; font-size:.94rem }
.factory-panel { display:grid; grid-template-columns:1fr 1fr; overflow:hidden; border-radius:8px; align-items:stretch; background:var(--navy); color:#fff }
.factory-panel figure { min-height:300px }
.factory-panel img { height:100%; object-fit:cover }
.factory-text { padding:clamp(22px,4vw,52px) }
.factory-text p:not(.eyebrow) { color:#d6e3e4; margin-top:14px }
.footer { border-top:1px solid var(--line); background:#eaf0ec; padding:30px 0; font-size:.9rem }
.footer-row { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap }
.footer p { max-width:42ch; margin-top:9px }
.footer .logo img { width:177px }
.footer-nav { display:flex; gap:18px; flex-wrap:wrap }
.footer-nav a:hover { text-decoration:underline }
.page-title { background:#eaf1ed; padding:32px 0 41px; border-bottom:1px solid var(--line) }
.page-title h1 { font-size:clamp(2.35rem,4.5vw,4.25rem); margin:10px 0 }
.page-title p:not(.eyebrow) { max-width:65ch }
.crumb { font-size:.88rem; margin-bottom:17px; color:#4d6764 }
.crumb a { text-decoration:underline; text-underline-offset:3px }
.crumb span { padding-inline:7px }
.catalog-layout { display:grid; grid-template-columns:minmax(180px,232px) minmax(0,1fr); gap:25px; padding-block:33px 70px }
.filter-panel { align-self:start; border:1px solid var(--line); border-radius:7px; background:#fff; padding:17px }
.filter-panel h2 { font-size:1.42rem; margin-bottom:15px }
.filter-panel label,.field-label { display:block; color:var(--ink); font-size:.93rem; font-weight:700; margin-bottom:6px }
.filter-panel input,.filter-panel select,.rfq-form input,.rfq-form select,.rfq-form textarea { width:100%; border:1px solid #aebfba; border-radius:4px; min-height:43px; padding:8px 9px; color:var(--ink); background:#fff }
select { appearance:none; padding-right:29px!important; background:#fff url("chevron.svg") right 10px center/12px no-repeat!important }
.filter-panel .field { margin-bottom:17px }
.filter-panel .reset { border:0; background:none; color:var(--green); padding:5px 0; text-decoration:underline; font-weight:690 }
.results-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:13px }
.results-head h2 { font-size:1.62rem }
.catalog-layout .series-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px }
.catalog-layout .series-copy { padding:15px }
.empty { border:1px dashed #9bb4ab; padding:28px; border-radius:7px; background:var(--mist) }
.empty p { margin:10px 0 18px }
.detail-wrap { padding-top:26px }
.detail-lead { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:clamp(20px,4vw,52px); align-items:start }
.product-image { display:grid; place-items:center; width:100%; aspect-ratio:1.28; padding:0; overflow:hidden; border:1px solid var(--line); border-radius:8px; background:#f5f6f4; position:relative }
.product-image img { width:100%; height:100%; object-fit:contain; min-height:0 }
.zoom-label { position:absolute; right:10px; bottom:10px; padding:5px 9px; color:#fff; background:#132d3ce8; border-radius:4px; font-size:.875rem }
.thumbs { display:flex; flex-wrap:wrap; gap:9px; margin-top:10px }
.thumb { inline-size:72px; block-size:60px; padding:2px; overflow:hidden; border:1px solid var(--line); background:#fff; border-radius:4px }
.thumb img { width:100%; height:100%; object-fit:contain }
.thumb[aria-pressed="true"] { border:2px solid var(--green) }
.image-caption { margin-top:9px; font-size:.85rem }
.detail-title { font-size:clamp(2.35rem,4vw,4.2rem); margin:9px 0 15px }
.detail-lead .intro { font-size:1.083rem }
.key-data { margin:21px 0 0; padding:0; display:grid; gap:8px }
.key-data div { display:grid; grid-template-columns:110px minmax(0,1fr); gap:12px; padding-top:10px; border-top:1px solid var(--line) }
.key-data dt { font-weight:700 }
.key-data dd { margin:0; color:var(--muted) }
.detail-body { margin-top:45px; padding-bottom:55px }
.detail-body h2 { font-size:clamp(1.65rem,3vw,2.6rem); margin-bottom:10px }
.table-group { margin-top:18px; border:1px solid var(--line); border-radius:7px; background:#fff; overflow:hidden }
.table-group summary { padding:13px 16px; font-weight:700; cursor:pointer; color:var(--green-deep); background:#eaf2ec }
.table-scroll { overflow-x:auto }
table { border-collapse:collapse; white-space:nowrap; width:100%; text-align:left; font-size:.94rem }
th,td { padding:10px 12px; border-bottom:1px solid #e5ece8 }
th { color:#173e37; background:#f2f6f3 }
td a { font-weight:710; color:var(--green); text-decoration:underline; text-underline-offset:3px }
.spec-note { font-size:.92rem; margin-top:12px }
.related { margin-top:30px }
.workflow { padding:20px; border:1px solid #c7dbd0; background:#edf5ef; border-radius:7px }
.workflow ul { margin:8px 0 0; padding-left:1.15em; color:var(--muted) }
.workflow li + li { margin-top:8px }
dialog { width:min(680px,92vw); padding:18px; border:1px solid var(--line); color:var(--ink); border-radius:9px }
dialog::backdrop { background:#112a3bb5 }
#image-dialog { width:min(940px,94vw); max-height:92vh }
#image-dialog img { object-fit:contain; max-height:73vh }
.dialog-head { display:flex; justify-content:space-between; align-items:start; gap:12px; margin-bottom:12px }
.dialog-head h2 { font-size:1.55rem }
.close { border:1px solid var(--line); color:var(--ink); font-weight:700; background:#fff; border-radius:4px; padding:4px 9px; min-height:38px }
.rfq-form label { display:block; margin-top:12px; font-weight:650 }
.rfq-form textarea { resize:vertical }
.rfq-form .actions { margin-top:14px }
.status { color:var(--green-deep); margin-top:10px; font-weight:650 }
@media(max-width:1050px) {
  .catalog-layout .series-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .hero-image { width:82% }
  .hero:after { background:linear-gradient(90deg,#102735 0%,#102735f4 35%,#102735ae 53%,#10273500 91%) }
}
@media(max-width:760px) {
  html { scroll-padding-top:70px }
  .header-row { min-height:61px; gap:12px }
  .menu-toggle { display:block; background:#fff; color:var(--green-deep); border:1px solid #a9bfb4; border-radius:4px; min-height:42px; padding:7px 14px; font-weight:700 }
  .site-nav { display:none; position:absolute; top:100%; inset-inline:0; padding:9px var(--gap) 15px; background:#fff; box-shadow:0 8px 15px #10273514; border-bottom:1px solid var(--line) }
  .site-nav.open { display:grid; gap:2px }
  .site-nav a { padding:10px 0; box-shadow:none!important }
  .header-row>.btn { display:none }
  .hero-image { inset:0; width:100%; object-position:63% 48% }
  .hero:after { background:linear-gradient(90deg,#102735f7,#102735bb 58%,#10273552) }
  .hero-inner { min-height:465px; padding-block:42px 52px }
  .hero h1 { font-size:clamp(2.65rem,8vw,3.7rem); margin:15px 0 }
  .hero-note { bottom:8px; right:12px }
  .route-list a { gap:7px; padding-block:13px; padding-inline:7px }
  .route-list a:first-child { padding-left:0 }
  .route-icon { display:none }
  .route-list strong { font-size:.87rem }
  .route-list small { display:none }
  .section-head { align-items:start; flex-direction:column }
  .series-grid,.application-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .factory-panel { grid-template-columns:1fr }
  .factory-panel figure { min-height:0; aspect-ratio:1.84 }
  .catalog-layout,.detail-lead { grid-template-columns:1fr }
  .filter-panel { display:grid; grid-template-columns:1fr 1fr; gap:12px }
  .filter-panel h2,.filter-panel .search-field { grid-column:1/-1; margin:0 }
  .filter-panel .field { margin:0 }
  .filter-panel .reset { justify-self:start }
  .detail-lead .gallery { grid-row:2 }
  .detail-title { margin:6px 0 10px }
  .detail-body { margin-top:30px }
}
@media(max-width:450px) {
  .series-grid,.application-grid,.catalog-layout .series-grid { grid-template-columns:1fr }
  .actions .btn { width:100% }
  .hero .actions .btn { width:auto }
  .hero .actions { gap:8px }
  .hero h1 { max-width:11ch }
  .hero p:not(.eyebrow) { max-width:35ch }
  .results-head h2 { font-size:1.28rem }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; transition:none!important }
}

.reference-card { min-height: 168px; border-top:3px solid #7ba797 }
.reference-card h3 { font-size:1.13rem; line-height:1.35; overflow-wrap:anywhere }
.catalog-pages { display:flex; gap:14px; align-items:center; justify-content:center; margin-top:22px }
.catalog-pages .btn:disabled { opacity:.45; cursor:default }

.utility-row { display:flex; align-items:center; justify-content:space-between; gap:12px }
.utility-row a { text-decoration:underline; text-underline-offset:3px }
.header-row { gap:clamp(12px,2vw,28px) }
.site-nav { gap:clamp(12px,1.65vw,25px) }
.site-nav .nav-menu { position:relative }
.nav-menu summary { display:flex; gap:6px; align-items:center; cursor:pointer; font-size:.94rem; font-weight:660; padding:12px 0; list-style:none }
.nav-menu summary::-webkit-details-marker { display:none }
.nav-menu summary::after { content:""; width:6px; height:6px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg) translateY(-2px) }
.nav-menu[open] summary { color:var(--green) }
.nav-popover { position:absolute; inset:100% auto auto 0; background:#fff; border:1px solid var(--line); box-shadow:0 12px 24px #10273523; border-radius:6px; min-width:230px; padding:6px }
.nav-popover a { white-space:normal; display:block; padding:7px 10px; line-height:1.36; border-radius:3px }
.nav-popover a:hover { background:var(--mist); box-shadow:none }
.hero h1 { max-width:12ch }
.category-grid { grid-template-columns:repeat(4,minmax(0,1fr)) }
.category-grid .series-copy { padding:15px }
.category-grid h3 { font-size:clamp(1.1rem,1.7vw,1.36rem) }
.tile figure { background:#f3f6f5 }
.industry-grid figure { min-width:0 }
.quick-ranges { display:flex; flex-wrap:wrap; gap:8px; margin-top:20px }
.quick-ranges a { border:1px solid #a9bdb5; border-radius:4px; padding:7px 12px; color:var(--green-deep); font-weight:640 }
.quick-ranges a:hover { background:var(--mist) }
.factory-panel figure { position:relative }
.factory-panel figcaption { position:absolute; left:10px; bottom:10px; background:#102735d9; border-radius:3px; padding:2px 7px; font-size:.78rem }
.quote-band { background:var(--navy); color:#fff; padding:38px 0 }
.quote-band-row { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap }
.quote-band p { color:#d6e3e4; margin-top:8px }
.reference-card { border-top:1px solid var(--line) }
.reference-card figure { background:#f4f7f6; aspect-ratio:1.34 }
.reference-card img { padding:8px }
.detail-lead.without-gallery { grid-template-columns:minmax(0,760px) }
.detail-lead:has(.image-caption) .detail-title { font-size:clamp(2.06rem,3.6vw,3.5rem) }
.technical-docs { margin-top:34px }
.technical-docs ul { padding-left:22px; margin-bottom:0 }
.technical-docs li+li { margin-top:8px }
.related-products { padding-bottom:54px }
.hub-grid .tile { min-height:148px }
@media(max-width:1040px) {
  .site-nav { gap:10px }
  .logo img { width:clamp(135px,16vw,175px) }
  .site-nav a,.nav-menu summary { font-size:.88rem }
}
@media(max-width:900px) {
  .site-header .header-row { position:relative; gap:10px; min-height:65px }
  .menu-toggle { display:block; background:#fff; color:var(--green-deep); border:1px solid #a9bfb4; border-radius:4px; min-height:42px; padding:7px 14px; font-weight:700 }
  .site-nav { display:none; position:absolute; top:100%; inset-inline:0; padding:9px 12px; background:#fff; box-shadow:0 8px 15px #10273524; border-bottom:1px solid var(--line); max-height:70vh; overflow:auto }
  .site-nav.open { display:grid; gap:2px }
  .site-nav a { padding:9px 4px; box-shadow:none!important }
  .nav-menu summary { padding:9px 4px }
  .nav-popover { position:static; box-shadow:none; margin-left:5px; padding:3px 6px; min-width:0 }
  .header-row>.btn { display:none }
  .category-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media(max-width:450px) {
  .utility-row span { display:none }
  .utility-row { justify-content:flex-end }
  .category-grid .series-copy { padding:12px }
  .category-grid { gap:8px }
}
.factory-tour-cover { display:block; width:100%; height:100% }
.factory-tour-cover span { position:absolute; left:12px; bottom:12px; border-radius:4px; background:#102735df; padding:6px 10px; color:#fff; font-weight:700 }
.factory-tour-cover:hover span { background:var(--green-deep) }
.factory-tour video { display:block; width:min(100%,860px); aspect-ratio:16/9; object-fit:contain; background:var(--navy); border-radius:8px }

/* Homepage design and module rhythm. */
body[data-page="home"] { --green:#418ed1; --green-deep:#1766a5; --line:#dce4eb; --mist:#f3f5fa; --paper:#fff; --width:1420px; --gap:13.25vw; font-family:Arial, "Segoe UI", sans-serif }
body[data-page="home"] .preview-bar { background:#418ed1; color:#fff; padding:0 }
.utility-row { min-height:39px }
.utility-row>div { display:flex; align-items:center; gap:clamp(9px,2vw,26px) }
.utility-row a { text-decoration:none }
.utility-row a:hover { text-decoration:underline }
.language-menu { position:relative }
.language-menu summary { cursor:pointer }
.language-menu>div { position:absolute; min-width:116px; z-index:12; right:0; background:white; color:var(--ink); padding:8px 12px; border:1px solid var(--line); text-align:left }
.language-menu>div a { display:block; margin:4px 0 }
body[data-page="home"] #header { position:absolute; z-index:10; top:0; width:100% }
body[data-page="home"] .site-header { position:relative; color:#fff; background:#24324128; border-color:#ffffff35 }
body[data-page="home"] .site-nav a:is(:hover,[aria-current]) { color:inherit; box-shadow:none }
body[data-page="home"] .header-row { min-height:61px }
body[data-page="home"] .logo img { width:clamp(112px,13.3vw,220px) }
body[data-page="home"] .site-nav a,body[data-page="home"] .nav-menu summary { font-size:clamp(.74rem,.9vw,.95rem); letter-spacing:.02em; white-space:nowrap }
body[data-page="home"] .site-nav .nav-popover { color:var(--ink) }
body[data-page="home"] .header-row>.btn { border-radius:100px; min-height:34px; padding:7px 14px; font-size:.83rem; white-space:nowrap }
.reference-hero { position:relative; display:grid; align-items:center; min-height:clamp(510px,54.2vw,990px); isolation:isolate; color:#fff; background:#4b555e url("https://microdrilltools.com/wp-content/themes/trade-showcase/assets/factory-showcase-01.webp") center/cover no-repeat }
.reference-hero::after { position:absolute; inset:0; background:#0a18216b; content:""; z-index:-1 }
.reference-hero-media { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2 }
.reference-hero-content { padding-block:115px 60px; text-align:center }
.reference-hero h1 { font-size:clamp(2rem,3.9vw,5rem); font-weight:400; letter-spacing:0 }
.reference-hero .reference-hero-subtitle { margin-top:10px; font-size:clamp(1rem,1.65vw,2rem); color:#fff }
.reference-hero ul { list-style:none; padding:0; margin:8px 0 14px; font-size:clamp(.8rem,.96vw,1.1rem); line-height:1.85 }
.reference-hero .btn { min-height:34px; padding:7px 20px; font-size:.84rem }
.hero-page-line { position:absolute; bottom:18px; left:calc(50% - 7px); width:14px; height:2px; background:#418ed1 }
.reference-categories,.reference-cases,.reference-visits,.reference-strengths { text-align:center }
.reference-categories h2,.reference-cases h2,.reference-visits h2,.reference-strengths h2 { font-weight:600 }
.reference-categories>p,.reference-cases>p { margin:8px 0 25px }
.reference-categories .series-card { border-radius:10px; text-align:left; background:#f4f6f9; box-shadow:0 6px 21px #14344b0e }
.reference-categories .series-card figure { aspect-ratio:1.14; background:#fff; padding:7px }
.reference-categories .series-copy { padding:14px 11px }
.reference-categories .card-link { align-self:start; border-radius:3px; padding:5px 9px; font-size:.8rem; color:#fff; background:#418ed1; text-decoration:none }
.reference-industry-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px }
.reference-industry-intro { grid-column:span 2; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:0 18px 12px 0 }
.reference-industry-intro p { margin:12px 0 }
.reference-industry-intro .card-link { margin-top:8px }
.reference-industry-card { position:relative; overflow:hidden; aspect-ratio:.98; background:#20303b }
.reference-industry-card img { width:100%; height:100%; object-fit:cover; transition:scale .25s }
.reference-industry-card:is(:hover,:focus-visible) img { scale:1.05 }
.reference-industry-card span { position:absolute; inset:auto 0 0; min-height:38%; padding:10px; color:#fff; background:linear-gradient(transparent,#102735e8); display:flex; flex-direction:column; justify-content:end }
.reference-industry-card small { display:none }
.reference-industry-card:is(:hover,:focus-visible) small { display:block }
.reference-company { background:#418ed1; color:#fff }
.reference-company-main { display:grid; grid-template-columns:.75fr 1.25fr; gap:clamp(16px,4vw,50px); align-items:center }
.reference-company-main p { color:#fff; margin:15px 0 23px }
.reference-company-main .btn { background:#fff; color:#1766a5 }
.reference-company-media { position:relative; display:block; overflow:hidden; border-radius:0 24px 0 24px; aspect-ratio:1.64 }
.reference-company-media img { height:100%; object-fit:cover }
.reference-company-media span { position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); border-radius:50%; display:grid; place-items:center; background:#2f79c1; width:48px; height:48px }
.reference-company-links,.reference-strength-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:28px }
.reference-company-links a { min-height:107px; display:grid; align-content:center; text-align:center; border-radius:4px; background:#ffffff22; padding:9px }
.reference-company-links strong { font-size:clamp(1.2rem,2.1vw,2.5rem) }
.reference-cases-grid,.reference-visits-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:25px }
.reference-cases-grid a { display:grid; align-content:center; min-height:80px; border:1px solid var(--line); padding:8px }
.reference-cases-grid a:hover { border-color:#418ed1 }
.reference-cases-grid span { color:var(--muted); font-size:.87rem }
.reference-visits-grid .series-card:first-child,.reference-visits-grid .series-card:last-child { transform:scale(.95); opacity:.8 }
.reference-news-grid { display:grid; grid-auto-columns:calc((100% - 24px)/3); grid-auto-flow:column; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:7px }
.reference-news-grid>a { scroll-snap-align:start }
.reference-news-navigation { margin-top:13px; display:flex; justify-content:center; gap:8px }
.reference-news-navigation button { display:grid; place-content:center; width:43px; height:38px; border:1px solid var(--line); background:white; border-radius:3px; color:#1766a5; font-size:1.7rem; line-height:1 }
.reference-strength-grid article { padding:22px 12px; background:#fff; border:1px solid var(--line) }
.reference-strength-grid h3 { color:#1766a5; margin-bottom:10px; font-size:1.05rem }
.reference-quote { color:#fff; padding:clamp(35px,7vw,115px) 0; background:linear-gradient(90deg,#183344 26%,#183344bb 64%,#18334415), #183344 url("assets/hero.webp") right center/cover }
.reference-quote p { color:#fff; margin:12px 0 18px }
@media(max-width:1100px) {
  body[data-page="home"] { --gap:6vw }
}
@media(max-width:900px) {
  body[data-page="home"] .site-nav { color:var(--ink) }
  body[data-page="home"] .site-nav a,body[data-page="home"] .nav-menu summary { font-size:.95rem }
}
@media(max-width:650px) {
  body[data-page="home"] { --gap:20px }
  .utility-row>div { gap:9px }
  .utility-row a { font-size:.73rem }
  .utility-row a[href^="mailto"] { display:none }
  .reference-hero { min-height:510px }
  .reference-hero-media { display:none }
  .reference-industry-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .reference-company-main { grid-template-columns:1fr }
  .reference-company-links,.reference-strength-grid,.reference-cases-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .reference-visits-grid { grid-template-columns:1fr }
  .reference-visits-grid .series-card:first-child,.reference-visits-grid .series-card:last-child { transform:none; opacity:1 }
  .reference-news-grid { grid-auto-columns:84% }
}
@media(prefers-reduced-motion:reduce) {
  .reference-hero-media { display:none }
}
.mdt-storefront [data-analytics-settings] { padding:14px 0; color:var(--muted) }
.mdt-storefront [data-analytics-settings] button { border:1px solid var(--line); background:#fff; color:var(--ink); border-radius:4px; min-height:36px; padding:4px 10px; margin:4px 0 }
.mdt-storefront [data-analytics-panel] p { margin-top:8px }

.mdt-storefront .trade-analytics-settings [data-analytics-panel]:not([hidden]) {
  position: fixed;
  z-index: 100;
  inset: auto auto 16px 16px;
  width: calc(100% - 32px);
  max-width: 42rem;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(12, 32, 43, .18);
}
.mdt-storefront .trade-analytics-settings [data-analytics-panel] p { margin: 0 0 12px; }
.mdt-storefront .trade-analytics-settings [data-analytics-panel] [data-analytics-choice] {
  min-height: 44px;
  min-width: calc(50% - 10px);
  margin: 4px;
  padding: 8px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font: inherit;
}
