/* ==========================================================================
   Ear Diagnostics — dark bold-tech design system
   ========================================================================== */

:root{
  --red:#C1272D;
  --red-hover:#A31F24;
  --red-tint:#E4646B;
  --red-soft:rgba(193,39,45,.14);
  --dark:#131317;
  --dark-2:#1A1A20;
  --dark-3:#23232B;
  --line:rgba(255,255,255,.09);
  --line-2:rgba(255,255,255,.16);
  --white:#fff;
  --text:#C4C4CE;
  --text-dim:#8B8B96;
  --radius:10px;
  --radius-lg:18px;
  --wrap:1160px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--dark);
  color:var(--text);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:'Sora',sans-serif;color:var(--white);line-height:1.14;letter-spacing:-.01em;margin:0 0 .5em}
h1{font-size:clamp(36px,5vw,60px);font-weight:600}
h2{font-size:clamp(28px,3.5vw,44px);font-weight:600}
h3{font-size:21px;font-weight:500}
h4{font-size:15px;font-weight:500}
p{margin:0 0 1em}
a{color:var(--red-tint);text-decoration:none;transition:color .2s}
a:hover{color:var(--white)}
img{max-width:100%;height:auto;display:block}
ul,ol{margin:0 0 1em;padding-left:1.2em}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.sec{padding:88px 0}
.sec-base{background:var(--dark)}
.sec-alt{background:var(--dark-2)}
.sec-red{background:var(--red)}
.sec-red h2,.sec-red h3{color:var(--white)}
.sec-red p{color:rgba(255,255,255,.86)}

.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed;top:12px;left:12px;z-index:999;width:auto;height:auto;clip:auto;background:var(--red);color:#fff;padding:12px 18px;border-radius:8px}

/* --------------------------------------------------------- header / nav */
.site-header{position:sticky;top:0;z-index:60;background:rgba(19,19,23,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:88px}
.site-brand img,.custom-logo{max-height:52px;width:auto;display:block}
.site-brand .brand-link{display:inline-flex;align-items:center;flex-shrink:0}
.site-brand .brand-logo{max-height:52px;width:auto;display:block}
/* Specificity note: `.site-brand img` is (0,1,1), so a bare `.brand-mark`
   (0,1,0) loses and BOTH logos render. Every swap rule below is scoped
   under .site-brand to outrank it. */
.site-brand .brand-mark{display:none}
.site-brand .brand-lockup{display:block}
/* Bundled artwork is already transparent — never filter it. */
.site-brand .brand-lockup,.site-brand .brand-mark,.footer-logo-img{filter:none!important;mix-blend-mode:normal!important}
.header-inner{gap:20px}

/* 8 menu items + a CTA is a lot of horizontal run. Tighten once before
   falling back to the burger, so labels never wrap mid-phrase. */
@media (max-width:1180px){
  .nav-list{gap:16px}
  .primary-nav{gap:16px}
  .nav-list a{font-size:14px}
  .nav-cta{padding:10px 15px;font-size:14px}
  .site-brand .brand-logo{max-height:44px}
}
.primary-nav{display:flex;align-items:center;gap:26px}
.nav-list{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}
.nav-list li{position:relative}
.nav-list a{color:var(--text);font-size:14.5px;font-weight:500;white-space:nowrap}
.nav-list a:hover,.nav-list .current-menu-item>a{color:var(--white)}
.nav-list .sub-menu{position:absolute;top:100%;left:-14px;min-width:220px;background:var(--dark-3);border:1px solid var(--line);border-radius:12px;padding:10px;list-style:none;display:none;flex-direction:column;gap:2px;box-shadow:0 20px 40px rgba(0,0,0,.45)}
.nav-list li:hover>.sub-menu,.nav-list li:focus-within>.sub-menu{display:flex}
.nav-list .sub-menu a{display:block;padding:8px 12px;border-radius:8px;font-size:14px}
.nav-list .sub-menu a:hover{background:rgba(255,255,255,.06)}
.nav-cta{background:var(--red);color:#fff!important;padding:11px 20px;border-radius:var(--radius);font-weight:600;font-size:14.5px;white-space:nowrap}
.nav-cta:hover{background:var(--red-hover)}
.nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;background:none;border:1px solid var(--line-2);border-radius:10px;cursor:pointer}
.nav-toggle span{display:block;height:2px;width:20px;margin:0 auto;background:#fff;transition:transform .25s,opacity .2s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* --------------------------------------------------------------- hero */
.hero{padding:92px 0 76px;background:var(--dark)}
.hero-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:56px;align-items:center}
.hero h1 .accent{color:var(--red-tint)}
.hero .lede{font-size:19px;max-width:560px;margin-bottom:30px}
.hero-narrow{max-width:720px}

.eyebrow{display:inline-block;font-size:12.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--red-tint);background:var(--red-soft);border:1px solid rgba(193,39,45,.35);padding:6px 14px;border-radius:30px;margin-bottom:18px}
.eyebrow-light{color:#fff;background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.3)}

/* ------------------------------------------------------------- buttons */
.btn{display:inline-block;padding:15px 28px;border-radius:var(--radius);font-weight:600;font-size:16px;text-align:center;transition:transform .2s,background .2s,border-color .2s,color .2s}
.btn-red{background:var(--red);color:#fff;box-shadow:0 10px 26px rgba(193,39,45,.28)}
.btn-red:hover{background:var(--red-hover);color:#fff;transform:translateY(-2px)}
.btn-outline{border:1.5px solid var(--line-2);color:#fff}
.btn-outline:hover{border-color:#fff;background:rgba(255,255,255,.07);color:#fff}
.btn-white{background:#fff;color:var(--red)}
.btn-white:hover{color:var(--red-hover);transform:translateY(-2px)}
.btn-ghost{border:1.5px solid rgba(255,255,255,.55);color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.12);color:#fff}
.btn-row{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.btn-row.center{justify-content:center}
.hero-note{font-size:14px;color:var(--text-dim)}

/* --------------------------------------------------------------- stats */
.stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);margin-top:64px}
.stat{padding:28px 12px;text-align:center;border-left:1px solid var(--line)}
.stat:first-child{border-left:none}
.stat b{display:block;font-family:'Sora';font-size:38px;font-weight:700;color:var(--white);line-height:1.1}
.stat span{font-size:13px;color:var(--text-dim)}

/* --------------------------------------------------------------- trust */
.trust{background:var(--dark-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.trust-inner{display:flex;justify-content:center;flex-wrap:wrap;gap:34px;padding:22px 24px;font-size:14.5px;font-weight:500;color:var(--white)}
.trust i{color:var(--red-tint);font-style:normal;margin-right:8px}

/* ------------------------------------------------------- section heads */
.sec-head{max-width:680px;margin-bottom:48px}
.sec-head.center{margin-left:auto;margin-right:auto;text-align:center}
.sec-head p{font-size:17.5px}

/* --------------------------------------------------------------- cards */
.grid{display:grid;gap:22px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card{background:var(--dark-2);border:1px solid var(--line);border-radius:var(--radius-lg);padding:30px;transition:transform .22s,border-color .22s}
.sec-alt .card{background:var(--dark-3)}
.card:hover{transform:translateY(-5px);border-color:rgba(193,39,45,.55)}
.card h3{margin-bottom:10px}
.card p{font-size:15.5px;margin-bottom:14px}
.card p.meta{font-size:14px;color:var(--text-dim)}
.card-center{text-align:center}
.card .num{font-family:'Sora';font-weight:700;color:var(--red-tint);font-size:15px;margin-bottom:6px;display:block}
.card .icon{width:118px;height:118px;object-fit:contain;margin:0 auto 18px}
.card .more{font-weight:600;font-size:15px}
.card-media{padding:0;overflow:hidden}
.card-media .card-body{padding:28px 30px 32px}
.card-flush{padding:0;overflow:hidden}

/* --------------------------------------------------------- media bands */
.band-2{display:grid;grid-template-columns:1.1fr .9fr;gap:52px;align-items:center}
.band-2.reverse{direction:rtl}
.band-2.reverse>*{direction:ltr}
.big{font-family:'Sora';font-size:clamp(26px,3vw,38px);font-weight:600;color:var(--white);line-height:1.2;margin-bottom:14px}
.big em{color:var(--red-tint);font-style:normal}
.ph-img{width:100%;border-radius:var(--radius-lg);box-shadow:0 24px 50px rgba(0,0,0,.45)}
.ai-slot{
  background:repeating-linear-gradient(45deg,var(--dark-2),var(--dark-2) 12px,var(--dark-3) 12px,var(--dark-3) 24px);
  border:1.5px dashed rgba(228,100,107,.5);
  border-radius:var(--radius-lg);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  color:var(--red-tint);font-size:13px;letter-spacing:.05em;text-align:center;padding:20px;
}
.ai-slot span{color:var(--text-dim);font-size:11.5px;letter-spacing:0;max-width:260px}

/* -------------------------------------------------------------- brands */
.brand-row{display:flex;align-items:center;justify-content:center;gap:52px;flex-wrap:wrap;margin-top:58px;padding-top:42px;border-top:1px solid var(--line)}
.brand-row img{object-fit:contain}
.brand-row span{width:100%;text-align:center;font-size:13px;color:var(--text-dim);margin-top:4px}

/* --------------------------------------------------------------- steps */
.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.step{background:var(--dark-3);border:1px solid var(--line);border-radius:14px;padding:22px 18px}
.step b{display:block;font-family:'Sora';color:var(--red-tint);font-size:26px;margin-bottom:8px}
.step strong{display:block;color:var(--white);font-size:14.5px;margin-bottom:4px}
.step p{font-size:13.5px;margin:0}

/* ------------------------------------------------------------ timeline */
.timeline{border-left:2px solid rgba(193,39,45,.5);padding-left:30px;max-width:740px}
.tl{position:relative;padding-bottom:34px}
.tl::before{content:"";position:absolute;left:-37px;top:7px;width:12px;height:12px;border-radius:50%;background:var(--red)}
.tl b{font-family:'Sora';color:var(--red-tint);font-size:14px;letter-spacing:.06em}
.tl h3{font-size:20px;margin:5px 0 6px}
.tl p{font-size:15.5px;margin:0}

/* ---------------------------------------------------------------- FAQ */
.faq{max-width:780px;margin:0 auto}
.faq details{border-bottom:1px solid var(--line);padding:20px 0}
.faq summary{font-family:'Sora';font-weight:500;font-size:18px;color:var(--white);cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:18px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--red-tint);font-size:24px;line-height:1;flex-shrink:0}
.faq details[open] summary::after{content:"\2013"}
.faq details p{padding-top:12px;margin:0;font-size:16px}

/* ------------------------------------------------------------ CTA band */
.cta-final{text-align:center}
.cta-final h2{max-width:16ch;margin:0 auto .5em}
.cta-final p{max-width:540px;margin:0 auto 32px}

/* ------------------------------------------------------- testimonials */
.tcard{background:var(--dark-3);border:1px solid var(--line);border-radius:var(--radius-lg);padding:28px}
.tcard p{font-style:italic;color:var(--white);font-size:15.5px}
.tcard span{font-size:14px;font-weight:600;color:var(--text-dim)}

/* ---------------------------------------------------------------- form */
.edi-form{background:var(--dark-3);border:1px solid var(--line);border-radius:var(--radius-lg);padding:34px}
.edi-form label{display:block;font-size:13.5px;font-weight:600;color:var(--white);margin:18px 0 6px}
.edi-form input[type="text"],.edi-form input[type="email"],.edi-form input[type="tel"],.edi-form textarea,.edi-form select{
  width:100%;padding:13px 15px;border:1px solid var(--line-2);border-radius:var(--radius);
  background:var(--dark-2);color:var(--white);font-family:'Inter';font-size:15px;
}
.edi-form input:focus,.edi-form textarea:focus{outline:2px solid var(--red);outline-offset:1px}
.edi-form .radio-row{display:flex;gap:10px;flex-wrap:wrap}
.edi-form .radio-row label{flex:1;min-width:120px;border:1px solid var(--line-2);border-radius:var(--radius);padding:11px;text-align:center;font-weight:500;margin:0;cursor:pointer}
.edi-form button{width:100%;margin-top:22px;border:none;cursor:pointer;font-family:'Inter'}
.edi-form .form-note{font-size:13px;color:var(--text-dim);text-align:center;margin:12px 0 0}
.form-notice{background:var(--red-soft);border:1px solid rgba(193,39,45,.4);border-radius:var(--radius);padding:14px 16px;font-size:14px;color:var(--text)}

/* -------------------------------------------------------------- footer */
.site-footer{background:#0E0E12;border-top:1px solid var(--line);padding:60px 0 110px;font-size:14.5px;color:var(--text-dim)}
.footer-cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px}
.footer-logo{display:inline-block;margin-bottom:18px}
.footer-logo img{max-height:42px}
.site-footer h4{color:#fff;margin-bottom:14px}
.footer-list{list-style:none;margin:0;padding:0}
.footer-list li{margin-bottom:8px}
.footer-list a,.footer-phone a{color:var(--text-dim)}
.footer-list a:hover,.footer-phone a:hover{color:var(--red-tint)}
.footer-phone{font-family:'Sora';font-size:18px}
.footer-phone a{color:#fff}
.footer-base{border-top:1px solid var(--line);padding-top:22px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:13px}

/* --------------------------------------------------------- sticky bar */
.sticky-bar{position:fixed;bottom:0;left:0;right:0;z-index:70;display:none;gap:1px}
.sticky-bar a{flex:1;text-align:center;padding:16px;font-weight:600;font-size:15px;color:#fff}
.sticky-bar a.call{background:var(--dark-3)}
.sticky-bar a.inq{background:var(--red)}

/* ------------------------------------------------------ blog / editor */
.entry{max-width:820px;margin:0 auto;padding:72px 0}
.entry-header{margin-bottom:32px}
.entry-meta{font-size:14px;color:var(--text-dim)}
.entry-content h2,.entry-content h3{margin-top:1.6em}
.entry-content img{border-radius:var(--radius-lg);margin:1.5em 0}
.entry-content blockquote{border-left:3px solid var(--red);padding-left:20px;margin-left:0;color:var(--white)}
.entry-content code,.entry-content pre{background:var(--dark-3);border-radius:8px}
.entry-content pre{padding:18px;overflow:auto}
.post-card{background:var(--dark-2);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;transition:transform .2s,border-color .2s}
.post-card:hover{transform:translateY(-5px);border-color:rgba(193,39,45,.5)}
.post-card .post-body{padding:26px 28px 30px}
.post-card h3{font-size:19px}
.pagination{display:flex;gap:10px;justify-content:center;margin-top:48px}
.pagination .page-numbers{padding:10px 16px;border:1px solid var(--line);border-radius:var(--radius);color:var(--text)}
.pagination .current{background:var(--red);color:#fff;border-color:var(--red)}
.widget{background:var(--dark-2);border:1px solid var(--line);border-radius:var(--radius-lg);padding:24px;margin-bottom:22px}
.widget-title{font-size:16px;color:#fff}
.alignwide{max-width:1100px}
.wp-caption-text,figcaption{font-size:13.5px;color:var(--text-dim);text-align:center}

/* ------------------------------------------------------------ motion */
.fade{opacity:0;transform:translateY(22px);transition:opacity .55s ease,transform .55s ease}
.fade.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .fade{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
  .card:hover,.post-card:hover,.btn:hover{transform:none}
}

/* -------------------------------------------------------- responsive */
@media (max-width:1000px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .sec{padding:62px 0}
  .hero{padding:64px 0 56px}
  .site-brand .brand-logo{max-height:42px}
  .hero-grid,.band-2,.grid-2,.grid-3{grid-template-columns:1fr}
  .band-2.reverse{direction:ltr}
  .stats{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(3){border-left:none}
  .stat{border-top:1px solid var(--line)}
  .footer-cols{grid-template-columns:1fr 1fr}
  .sticky-bar{display:flex}
  .site-footer{padding-bottom:100px}
  .nav-toggle{display:flex}
  .primary-nav{
    position:absolute;top:88px;left:0;right:0;
    background:var(--dark-2);border-bottom:1px solid var(--line);
    flex-direction:column;align-items:stretch;gap:0;padding:16px 24px 24px;
    display:none;
  }
  .primary-nav.open{display:flex}
  .nav-list{flex-direction:column;align-items:stretch;gap:0}
  .nav-list li{border-bottom:1px solid var(--line)}
  .nav-list a{display:block;padding:14px 0;font-size:16px}
  .nav-list .sub-menu{position:static;display:flex;background:none;border:none;box-shadow:none;padding:0 0 10px 12px}
  .nav-cta{margin-top:18px;text-align:center}
}
@media (max-width:560px){
  .grid-4{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .footer-cols{grid-template-columns:1fr}
  .brand-row{gap:28px}
}

/* ==========================================================================
   Small screens — sizing, overflow and touch targets
   ========================================================================== */

/* Nothing may exceed the viewport: the commonest cause of a horizontal
   scrollbar and of "the logo showing through" from a shifted layer. */
/* clip, not hidden: `overflow-x:hidden` turns the root into a scroll
   container and silently kills the sticky header. `clip` does not.
   Older Safari ignores it and simply allows the scroll — the safer failure. */
html,body{max-width:100%;overflow-x:clip}
img,svg,video,iframe{max-width:100%;height:auto}

@media (max-width:640px){
  .wrap{padding-left:20px;padding-right:20px}

  /* Compact mark instead of the full lockup — the wordmark is unreadable
     at this width and forces the nav toggle off the edge. */
  .site-brand .brand-lockup{display:none}
  .site-brand .brand-mark{display:block;max-height:40px}

  .sec{padding:48px 0}
  .hero{padding:52px 0 44px}

  /* Type scale: fluid rather than fixed, so long words cannot overflow. */
  h1,.hero h1{font-size:clamp(28px,7.5vw,40px);line-height:1.15}
  h2{font-size:clamp(23px,5.6vw,30px);line-height:1.2}
  h3{font-size:clamp(18px,4.4vw,22px)}
  .lede{font-size:16px}
  h1,h2,h3,p,li{overflow-wrap:break-word}

  /* Buttons stack and fill, so nothing is a 30px tap target. */
  .btn-row{flex-direction:column;align-items:stretch;gap:10px}
  .btn-row .btn{width:100%;text-align:center;justify-content:center;min-height:48px}
  .btn{padding:13px 20px}

  .stats{grid-template-columns:1fr}
  .stat{border-left:none;border-top:1px solid var(--line)}
  .stat:first-child{border-top:none}

  .cat-grid,.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}

  /* Full-screen hero: 100svh plus a sticky bar leaves no room to read. */
  .hero-full{min-height:auto}
  .hero-full>.wrap{padding-top:104px;padding-bottom:64px}

  /* Forms: 16px minimum stops iOS zooming on focus. */
  input,select,textarea{font-size:16px;min-height:48px}
  textarea{min-height:120px}

  table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
}

@media (max-width:400px){
  .wrap{padding-left:16px;padding-right:16px}
  .site-brand .brand-mark{max-height:36px}
  .sticky-bar a{font-size:14px;padding:12px 10px}
}

/* ==========================================================================
   Full-screen hero variant (Customize -> Ear Diagnostics -> Hero style)
   ========================================================================== */
.hero-full{position:relative;min-height:100svh;display:flex;align-items:flex-end;padding:0;overflow:hidden;background:var(--dark)}
.hero-full .hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;background-repeat:no-repeat;z-index:0;transform:scale(1.02)}
.hero-full::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(19,19,23,.55) 0%,rgba(19,19,23,.35) 35%,rgba(19,19,23,.88) 78%,var(--dark) 100%)}
.hero-full>.wrap{position:relative;z-index:2;width:100%;padding-top:160px;padding-bottom:96px}
.hero-full .hero-content{max-width:840px}
.hero-full h1{font-size:clamp(44px,7.2vw,88px);margin-bottom:22px;text-shadow:0 2px 30px rgba(0,0,0,.4)}
.hero-full .lede{font-size:clamp(17px,1.6vw,21px);max-width:620px;color:#D8D8E0;margin-bottom:32px}
.hero-full .eyebrow{background:rgba(193,39,45,.28);border-color:rgba(228,100,107,.6);backdrop-filter:blur(6px)}
.hero-full .hero-note{color:#B4B4BE}
.hero-scroll{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);z-index:3;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--text-dim)}
.hero-scroll::after{content:"";width:1px;height:34px;background:linear-gradient(180deg,var(--red-tint),transparent);animation:edi-scroll 2s ease-in-out infinite}
@keyframes edi-scroll{0%,100%{opacity:.35;transform:scaleY(.6)}50%{opacity:1;transform:scaleY(1)}}
.hero-full+.stats-band{background:var(--dark);border-top:none}
.hero-full+.stats-band .stats{margin-top:0;border-top:none}
@media (max-width:900px){
  .hero-full{min-height:92svh}
  .hero-full>.wrap{padding-top:120px;padding-bottom:72px}
  .hero-full h1{font-size:clamp(36px,9vw,54px)}
  .hero-scroll{display:none}
}
@media (prefers-reduced-motion:reduce){.hero-scroll::after{animation:none}}

/* Real (non-AI) photography sits better in the dark layout with a slight tone-down */
.img-tone{filter:brightness(.92) contrast(1.04) saturate(.96)}
.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.photo-grid figure{margin:0;border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--line);background:var(--dark-2)}
.photo-grid img{width:100%;height:230px;object-fit:cover}
.photo-grid figcaption{padding:14px 18px;font-size:13.5px;color:var(--text-dim);text-align:left}
@media (max-width:900px){.photo-grid{grid-template-columns:1fr}.photo-grid img{height:210px}}

/* ==========================================================================
   Logo knockout — removes the white background baked into the logo files
   Disable in Customize -> Ear Diagnostics if you upload transparent PNGs.
   ========================================================================== */
.logo-knockout{filter:invert(1) hue-rotate(180deg) saturate(3) brightness(.85);mix-blend-mode:screen}
.logo-knockout-color{filter:invert(1) hue-rotate(180deg) saturate(1.5) brightness(.92);mix-blend-mode:screen}
.logo-knockout-mono{filter:invert(1) grayscale(1) contrast(1.25) brightness(1.08);mix-blend-mode:screen}
.sec-red .logo-knockout,.sec-red .logo-knockout-color,.sec-red .logo-knockout-mono{mix-blend-mode:normal;filter:brightness(0) invert(1)}
@supports not (mix-blend-mode:screen){
  .logo-knockout,.logo-knockout-color,.logo-knockout-mono{filter:none;background:#fff;border-radius:8px;padding:6px 12px}
}

/* ==========================================================================
   Orientation-aware media — keeps mixed aspect ratios looking deliberate
   ========================================================================== */
.ph-img{display:block;width:100%;object-fit:cover;object-position:center 28%;background:var(--dark-2)}
.ph-img.is-portrait{aspect-ratio:4/5}
.ph-img.is-landscape{aspect-ratio:3/2}
.ph-img.is-square{aspect-ratio:1/1}
.hero-grid .ph-img.is-portrait{aspect-ratio:4/5;max-height:560px;margin-left:auto;max-width:460px}
.hero-grid .ph-img.is-landscape{aspect-ratio:3/2}
.band-2 .ph-img.is-portrait{aspect-ratio:4/5;max-height:520px}
.card-media .ph-img{aspect-ratio:16/10;object-position:center 30%}
.photo-grid .ph-img,.photo-grid img{aspect-ratio:4/3;height:auto}
.hero-full .hero-bg{background-position:center 32%}
.hero-full.bg-portrait .hero-bg{background-position:center 22%}
.hero-full.bg-portrait::after{background:linear-gradient(180deg,rgba(19,19,23,.62) 0%,rgba(19,19,23,.42) 30%,rgba(19,19,23,.9) 76%,var(--dark) 100%)}
@media (max-width:900px){
  .hero-grid .ph-img.is-portrait{max-width:100%;margin:0}
  .ph-img.is-portrait{aspect-ratio:3/4}
}

/* ==========================================================================
   WooCommerce — catalog mode, dark
   ========================================================================== */
.hero-shop{padding:76px 0 56px}
.wc-wrapper{padding-top:44px}
.wc-breadcrumb{font-size:13.5px;color:var(--text-dim);margin-bottom:28px}
.wc-breadcrumb a{color:var(--text-dim)}
.wc-breadcrumb a:hover{color:var(--red-tint)}
.wc-breadcrumb .sep{margin:0 8px;opacity:.5}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering{font-size:14px;color:var(--text-dim);margin-bottom:22px}
.woocommerce .woocommerce-ordering select{background:var(--dark-2);color:var(--text);border:1px solid var(--line-2);border-radius:var(--radius);padding:9px 12px;font-family:'Inter';font-size:14px}

/* product grid */
.woocommerce ul.products,.wc-wrapper ul.products{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:0;padding:0;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product,.wc-wrapper ul.products li.product{width:auto!important;margin:0!important;float:none!important;display:flex;flex-direction:column;background:var(--dark-2);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;padding:0;transition:transform .22s,border-color .22s;text-align:left}
.woocommerce ul.products li.product:hover{transform:translateY(-5px);border-color:rgba(193,39,45,.55)}
.woocommerce ul.products li.product a img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff;margin:0;padding:18px;border-radius:0}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:'Sora';font-size:17px;font-weight:500;color:var(--white);line-height:1.3;padding:20px 22px 0;margin:0}
.woocommerce ul.products li.product .woocommerce-loop-product__link{display:flex;flex-direction:column;flex:1}
.woocommerce ul.products li.product .wc-quote{margin:16px 22px 22px;text-align:center;font-size:14.5px;padding:12px 18px}
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product .added_to_cart{display:none!important}
.woocommerce span.onsale{background:var(--red);color:#fff;border-radius:20px;font-family:'Inter';font-weight:600;font-size:12px;min-height:0;line-height:1;padding:8px 14px;top:14px;left:14px;margin:0}

/* category tiles */
.woocommerce ul.products li.product-category a img{aspect-ratio:16/10;object-fit:cover;background:var(--dark-3);padding:0}
.woocommerce ul.products li.product-category h2{font-family:'Sora';font-size:18px;color:var(--white);padding:20px 22px 22px;margin:0}
.woocommerce ul.products li.product-category mark{background:none;color:var(--red-tint)}

/* single product */
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:52px;align-items:start}
.woocommerce div.product .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important;background:#fff;border-radius:var(--radius-lg);overflow:hidden}
.woocommerce div.product .woocommerce-product-gallery img{border-radius:0}
.woocommerce div.product .summary{width:100%!important;float:none!important;margin:0!important}
.woocommerce div.product .product_title{font-size:clamp(28px,3.4vw,42px);margin-bottom:16px}
.woocommerce div.product .woocommerce-product-details__short-description{font-size:17px;color:var(--text);line-height:1.7}
.woocommerce div.product .price,.woocommerce div.product .stock,.woocommerce div.product form.cart{display:none!important}
.woocommerce div.product .product_meta{font-size:13.5px;color:var(--text-dim);border-top:1px solid var(--line);padding-top:18px;margin-top:24px}
.woocommerce div.product .product_meta a{color:var(--text-dim)}
.woocommerce div.product .product_meta a:hover{color:var(--red-tint)}

.wc-quote-block{margin-top:28px;padding-top:26px;border-top:1px solid var(--line)}
.wc-quote-note{font-size:15.5px;color:var(--text);margin-bottom:20px}
.wc-quote-call{font-size:14.5px;color:var(--text-dim);margin-top:14px}
.wc-quote-call a{font-family:'Sora';font-size:17px;color:#fff}
.wc-assurances{list-style:none;padding:0;margin:24px 0 0;display:flex;flex-direction:column;gap:10px}
.wc-assurances li{font-size:14.5px;color:var(--text);padding-left:26px;position:relative}
.wc-assurances li::before{content:"\2713";position:absolute;left:0;color:var(--red-tint);font-weight:600}

.wc-description .entry-content{max-width:820px}
.wc-description .entry-content table{width:100%;border-collapse:collapse;font-size:15px}
.wc-description .entry-content th,.wc-description .entry-content td{border:1px solid var(--line);padding:10px 14px;text-align:left}
.wc-description .entry-content th{background:var(--dark-3);color:var(--white);font-weight:500}

.woocommerce .related.products,.woocommerce .up-sells{margin-top:64px;padding-top:44px;border-top:1px solid var(--line);grid-column:1/-1}
.woocommerce .related.products>h2,.woocommerce .up-sells>h2{font-family:'Sora';font-size:26px;color:var(--white);margin-bottom:28px}

.woocommerce nav.woocommerce-pagination{margin-top:48px}
.woocommerce nav.woocommerce-pagination ul{display:flex;gap:10px;justify-content:center;border:none;margin:0;padding:0}
.woocommerce nav.woocommerce-pagination ul li{border:none;margin:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{padding:11px 17px;border:1px solid var(--line);border-radius:var(--radius);color:var(--text);background:none;font-size:15px}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--red);border-color:var(--red);color:#fff}

.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error{background:var(--dark-3);border-top:3px solid var(--red);color:var(--text);border-radius:var(--radius)}
.woocommerce .woocommerce-message::before,.woocommerce .woocommerce-info::before{color:var(--red-tint)}
.woocommerce-no-products-found{color:var(--text-dim)}

@media (max-width:1000px){.woocommerce ul.products,.wc-wrapper ul.products{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){
  .woocommerce div.product{grid-template-columns:1fr;gap:32px}
  .hero-shop{padding:56px 0 40px}
}
@media (max-width:560px){.woocommerce ul.products,.wc-wrapper ul.products{grid-template-columns:1fr}}

/* product gallery: main image + thumbnail strip */
.woocommerce div.product .woocommerce-product-gallery img{width:100%}
.wc-main-image{aspect-ratio:4/3;object-fit:contain;background:#fff;padding:28px}
.wc-gallery-thumbs,.woocommerce div.product .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0 14px 14px;background:#fff;margin:0;list-style:none}
.wc-gallery-thumbs img,.woocommerce div.product .flex-control-thumbs img{aspect-ratio:1;object-fit:contain;background:#fff;border:1px solid #E4E4E4;border-radius:8px;padding:6px;cursor:pointer;opacity:.75;transition:opacity .2s,border-color .2s}
.wc-gallery-thumbs img:hover,.woocommerce div.product .flex-control-thumbs img:hover{opacity:1;border-color:var(--red)}
.woocommerce div.product .woocommerce-product-gallery__trigger{display:none}

/* branch cards */
.branch-card{position:relative}
.branch-tag{display:inline-block;font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--red-tint);background:var(--red-soft);border:1px solid rgba(193,39,45,.35);padding:4px 11px;border-radius:20px;margin-bottom:12px}
.branch-card .meta a{color:var(--text);font-family:'Sora';font-size:15px;display:inline-block;margin-right:12px}
.branch-card .meta a:hover{color:var(--red-tint)}
.branch-card .btn-row{margin-top:18px;margin-bottom:0}
.branch-card .btn{padding:11px 20px;font-size:14.5px}

/* inquiry routing */
.footer-contact{font-family:'Sora';font-size:17px;margin-bottom:10px}
.footer-contact a{color:#fff}
.footer-contact a:hover{color:var(--red-tint)}
.footer-route{font-size:13.5px;color:var(--text-dim);max-width:420px}
.footer-route a{color:var(--red-tint);white-space:nowrap}
.route-steps{list-style:none;counter-reset:route;padding:0;margin:26px 0 30px}
.route-steps li{counter-increment:route;position:relative;padding-left:52px;margin-bottom:22px}
.route-steps li::before{content:counter(route);position:absolute;left:0;top:-2px;width:34px;height:34px;border-radius:50%;background:var(--red-soft);border:1px solid rgba(193,39,45,.4);color:var(--red-tint);font-family:'Sora';font-weight:600;font-size:15px;display:flex;align-items:center;justify-content:center}
.route-steps strong{display:block;color:var(--white);font-size:16px;font-weight:500;margin-bottom:4px;font-family:'Sora'}
.route-steps span{font-size:15px;color:var(--text);line-height:1.6}
.route-direct{border-top:1px solid var(--line);padding-top:24px}
.route-direct p{font-size:15px;margin-bottom:16px}
.route-direct a{color:var(--red-tint)}

/* ==========================================================================
   Product funnel — audience split + category tiles
   ========================================================================== */
.shop-audience{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:56px}
.shop-audience-card{display:block;background:var(--dark-2);border:1px solid var(--line);border-radius:var(--radius-lg);padding:34px 32px 30px;transition:transform .22s,border-color .22s;color:var(--text)}
.shop-audience-card:hover{transform:translateY(-5px);border-color:rgba(193,39,45,.55);color:var(--text)}
.shop-audience-card h3{font-size:24px;margin:0 0 10px}
.shop-audience-card p{font-size:15.5px;margin-bottom:16px}
.shop-audience-card .more{color:var(--red-tint);font-weight:600;font-size:15px}

.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:56px}
.cat-tile{display:flex;flex-direction:column;background:var(--dark-2);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;transition:transform .22s,border-color .22s}
.cat-tile:hover{transform:translateY(-5px);border-color:rgba(193,39,45,.55)}
.cat-thumb{display:block;background:#fff}
.cat-thumb img{width:100%;aspect-ratio:4/3;object-fit:contain;padding:16px;display:block}
.cat-thumb-empty{aspect-ratio:4/3;background:linear-gradient(135deg,var(--dark-3),var(--dark-2));display:block}
.cat-body{display:block;padding:18px 20px 20px}
.cat-name{display:block;font-family:'Sora';font-size:16.5px;font-weight:500;color:var(--white);line-height:1.3;margin-bottom:5px}
.cat-count{display:block;font-size:13px;color:var(--text-dim)}
.cat-all{margin-bottom:28px}
.cat-all h2{font-size:26px}
@media (max-width:1000px){.cat-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){.shop-audience{grid-template-columns:1fr}}
@media (max-width:520px){.cat-grid{grid-template-columns:1fr}}

/* news & resources */
.post-thumb{display:block;background:var(--dark-3)}
.post-thumb img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}
.post-card .entry-meta{font-size:13px;color:var(--text-dim);margin-bottom:8px}
.post-cat{color:var(--red-tint);font-weight:600;text-transform:uppercase;letter-spacing:.06em;font-size:11.5px;margin-right:8px}
.post-card h3 a{color:var(--white)}
.post-card h3 a:hover{color:var(--red-tint)}
.post-feature{grid-column:span 3;display:grid;grid-template-columns:1.1fr .9fr;align-items:stretch}
.post-feature .post-thumb img{height:100%;aspect-ratio:auto;min-height:280px}
.post-feature .post-body{display:flex;flex-direction:column;justify-content:center;padding:36px 40px}
.post-feature h3{font-size:26px}
.sec-more{margin-top:28px}
.brand-lead{margin-bottom:40px}
.brand-lead img{height:44px;object-fit:contain}
@media (max-width:900px){.post-feature{grid-column:span 1;grid-template-columns:1fr}.post-feature .post-thumb img{min-height:200px}}

/* inquiry form extras */
.field-label{display:block;font-size:13.5px;font-weight:600;color:var(--white);margin:18px 0 6px}
.edi-form .req{color:var(--red-tint)}
.edi-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-product{background:var(--red-soft);border:1px solid rgba(193,39,45,.4);border-radius:var(--radius);padding:14px 16px;margin-top:18px}
.form-product-label{display:block;font-size:11.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--red-tint);margin-bottom:4px}
.form-product strong{color:#fff;font-family:'Sora';font-size:16px}
.form-error{background:rgba(193,39,45,.16);border:1px solid rgba(193,39,45,.5);border-radius:var(--radius);padding:14px 16px;margin-top:18px}
.form-error p{margin:0 0 6px;font-size:14.5px;color:#fff}
.form-error p:last-child{margin:0}
.form-success{background:var(--dark-3);border:1px solid rgba(193,39,45,.4);border-left:3px solid var(--red);border-radius:0 var(--radius) var(--radius) 0;padding:26px 28px}
.form-success h3{font-size:20px;margin-bottom:8px}
.branch-suggest{background:var(--dark-2);border:1px solid rgba(193,39,45,.4);border-radius:var(--radius);padding:16px 18px;margin-top:12px;display:flex;flex-direction:column;gap:4px}
.branch-suggest-label{font-size:11.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--red-tint)}
.branch-suggest strong{color:#fff;font-family:'Sora';font-size:16.5px}
.branch-suggest-line{font-size:14px;color:var(--text)}
.branch-suggest-phone{font-family:'Sora';font-size:15px;color:#fff;margin-top:4px}
.branch-suggest-link{font-size:14px;color:var(--red-tint)}
