:root{
    --red:#D8262B; --red-d:#b01d22; --red-dd:#8f1519; --ink:#1a1a1a;
    --paper:#faf6f6; --line:#efe2e2; --muted:#7a7070; --cream:#fff8f7; --blue:#2f5fa0;
  }
  *{box-sizing:border-box;margin:0;padding:0}
  body{font-family:'Segoe UI','Helvetica Neue',Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.6;-webkit-font-smoothing:antialiased}
  .wrap{max-width:1120px;margin:0 auto;padding:0 32px}
  a{text-decoration:none;color:inherit}
  .eyebrow{font-size:12px;letter-spacing:3px;text-transform:uppercase;color:var(--red);font-weight:800}
  h2{font-size:32px;font-weight:800;letter-spacing:-.5px;line-height:1.1}
  h2 em{color:var(--red);font-style:normal}
  .ph{background:repeating-linear-gradient(45deg,#f3e9e9,#f3e9e9 10px,#ecdede 10px,#ecdede 20px);border:1px dashed #d9c4c4;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#b09a9a;font-size:12px;text-align:center;padding:12px}
  .btn{display:inline-flex;align-items:center;gap:8px;padding:14px 26px;border-radius:8px;font-weight:800;font-size:14px;cursor:pointer;border:none}
  .btn-white{background:#fff;color:var(--red)}
  .btn-lineW{border:2px solid rgba(255,255,255,.7);color:#fff;background:transparent}
  .ref{position:absolute;top:0;right:0;background:rgba(0,0,0,.35);color:#fff;font-size:10px;letter-spacing:1px;padding:3px 9px;border-radius:0 0 0 8px;font-weight:700}
  .rel{position:relative}


  /* announce bar */
  .announce{background:#1a1a1a;color:#cfd5dd;font-size:12.5px;text-align:center;padding:8px 0;letter-spacing:.3px}
  .announce b{color:#fff}
  header{background:#fff;border-bottom:2px solid var(--red);position:sticky;top:0;z-index:30}
  .nav{display:flex;align-items:center;justify-content:space-between;height:68px}
  .brand img{height:40px;display:block}
  .menu{display:flex;gap:20px}.menu a{font-size:14px;font-weight:600;color:#3a2f2f}.menu a:hover{color:var(--red)}
  .nav-cta{background:var(--red);color:#fff;padding:10px 16px;border-radius:7px;font-weight:700;font-size:13px}

  /* HERO */
  .hero{position:relative;overflow:hidden;color:#fff;
    background:linear-gradient(115deg, rgba(143,21,25,.94) 0%, rgba(216,38,43,.82) 45%, rgba(26,26,26,.78) 100%),
      repeating-linear-gradient(135deg,#2a2a2a,#2a2a2a 2px,#242424 2px,#242424 22px),#262626;}
  .hero .wrap{position:relative;padding:60px 32px 62px;max-width:820px}
  .hero .eyebrow{color:#ffd9d8}
  .hero h1{font-size:50px;line-height:1.05;font-weight:800;letter-spacing:-1.3px;margin:12px 0 16px}
  .hero h1 em{color:#fff;font-style:normal;border-bottom:4px solid rgba(255,255,255,.5)}
  .hero p{color:#ffe4e3;font-size:18px;max-width:600px;line-height:1.55;margin-bottom:26px}
  .hero .btns{display:flex;gap:12px;flex-wrap:wrap}

  /* APPROACH (text + image slider) */
  .philo{padding:58px 0;border-bottom:1px solid var(--line)}
  .philo .wrap{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}
  .philo h2{margin:8px 0 14px}
  .philo p{color:#403939;font-size:15px;margin-bottom:12px;line-height:1.6}
  .philo .quote{font-size:17px;font-weight:700;color:var(--ink);border-left:4px solid var(--red);padding-left:16px;margin-top:8px}
  /* slider */
  .qshow{min-width:0}
  .qtrack{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 0 10px}
  .qshow.is-ready .qtrack{scrollbar-width:none}
  .qshow.is-ready .qtrack::-webkit-scrollbar{display:none}
  .qtrack.is-dragging{scroll-snap-type:none;cursor:grabbing;user-select:none}
  .qtrack.cats-autoplay{scroll-snap-type:none}
  .qslide{min-width:0;flex:0 0 calc((100% - 14px)/2);scroll-snap-align:start}
  .qph{width:100%;aspect-ratio:4/5;max-height:70vh;border-radius:12px;background:repeating-linear-gradient(45deg,#eef2f6,#eef2f6 12px,#e6ecf2 12px,#e6ecf2 24px);border:1px solid #dbe3ec;overflow:hidden}
  .qph img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
  .philo [hidden]{display:none!important}
  .philo .range-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}
  .philo .cats-dots{display:none!important}
  .philo .cats-dot{display:grid;place-items:center;width:22px;height:32px;border:0;border-radius:6px;background:transparent;cursor:pointer}
  .philo .cats-dot::after{content:'';width:8px;height:8px;border-radius:50%;background:#d5dde6}
  .philo .cats-dot.is-active{width:34px}
  .philo .cats-dot.is-active::after{width:26px;border-radius:8px;background:var(--red)}
  .philo .range-arrows{display:flex;gap:10px;margin-left:auto;flex-shrink:0}
  .philo .range-arrows button{border:1px solid var(--line);border-radius:50%;width:48px;height:48px;background:#fff;color:var(--ink);font-size:24px;line-height:1;cursor:pointer}
  .philo .range-arrows button:hover:not(:disabled){border-color:var(--red);color:var(--red)}
  .philo .range-arrows button:disabled{opacity:.35;cursor:default}
  .philo button:focus-visible,.qtrack:focus-visible{outline:2px solid var(--red);outline-offset:3px}
  @media(max-width:560px){.qslide{flex-basis:100%}.qph{aspect-ratio:4/3}}

  /* PROCESS */
  .proc{padding:56px 0;border-bottom:1px solid var(--line);background:var(--cream)}
  .proc .head{max-width:640px;margin-bottom:28px}
  .proc .head h2{margin:8px 0 8px}
  .proc .head p{color:var(--muted);font-size:14.5px}
  .pgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
  .pstep{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}
  .pstep .n{font-size:22px;font-weight:800;color:var(--red);line-height:1;margin-bottom:8px}
  .pstep b{font-size:13.5px;display:block;margin-bottom:5px}
  .pstep p{color:var(--muted);font-size:12px;line-height:1.45}

  /* TESTING — image led */
  .test{padding:58px 0;border-bottom:1px solid var(--line)}
  .test .head{max-width:720px;margin-bottom:26px}
  .test .head h2{margin:8px 0 10px}
  .test .head p{color:var(--muted);font-size:15px}
  .grouplbl{display:flex;align-items:center;gap:12px;margin:26px 0 16px}
  .grouplbl .badge{font-size:10.5px;font-weight:800;letter-spacing:1px;text-transform:uppercase;padding:6px 12px;border-radius:6px;white-space:nowrap}
  .grouplbl .badge.house{background:var(--ink);color:#fff}
  .grouplbl .badge.lab{background:var(--red);color:#fff}
  .grouplbl .gnote{font-size:12.5px;color:var(--muted);line-height:1.4}
  .grouplbl .gnote b{color:var(--ink)}
  .igrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
  .icard{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
  .icard .iph{/*! height:160px; */border-bottom:1px solid var(--line);
    background:repeating-linear-gradient(45deg,#eef2f6,#eef2f6 12px,#e6ecf2 12px,#e6ecf2 24px);
    display:flex;align-items:center;justify-content:center;color:#8fa2b4;font-size:10.5px;font-weight:700;text-align:center;/*! padding:12px; */line-height:1.4}
  .icard .iph img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
  .icard .ib{padding:14px 16px 16px}
  .icard b{font-size:13.5px;display:block;margin-bottom:3px}
  .icard span{font-size:12px;color:#5a5252;line-height:1.45}
  .icard span .std{color:var(--red);font-weight:700}

  /* STANDARDS strip */
  .stds{padding:40px 0;border-bottom:1px solid var(--line)}
  .stds .wrap{display:flex;align-items:center;gap:26px;flex-wrap:wrap;justify-content:space-between}
  .stds .lbl{font-size:13px;font-weight:800;color:var(--ink);max-width:230px}
  .stds .lbl span{display:block;font-weight:500;color:var(--muted);font-size:12.5px;margin-top:4px}
  .chips{display:flex;flex-wrap:wrap;gap:8px}
  .chip{font-size:12.5px;font-weight:800;padding:9px 14px;border:1px solid var(--red);color:var(--red);border-radius:8px}

  /* DOCS — condensed */
  .docs{padding:56px 0 60px;background:var(--ink);color:#fff;border-bottom:4px solid var(--red)}
  .docs .head{max-width:640px;margin-bottom:26px}
  .docs .eyebrow{color:#ff6b6b}
  .docs .head h2{color:#fff;margin:8px 0 6px}
  .docs .head p{color:#c9bcbc;font-size:14.5px}
  .dchips{display:flex;flex-wrap:wrap;gap:10px}
  .dchip{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.15);border-radius:9px;padding:11px 15px;font-size:13px;font-weight:700}
  .dchip .k{color:var(--red);font-weight:900}

  @media(max-width:900px){
    .philo .wrap{grid-template-columns:1fr;gap:26px}
    .pgrid,.igrid{grid-template-columns:1fr 1fr}
    .menu{display:none}.hero h1{font-size:50px}
  }
  @media(max-width:560px){ .pgrid,.igrid{grid-template-columns:1fr} }

  .site-footer{background:#1a1a1a;color:#b9b0b0;padding:16px 0}
  .site-footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px}
  .site-footer .fl{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
  .site-footer .cpy{color:#fff;font-weight:700}
  .site-footer a{color:#b9b0b0}.site-footer a:hover{color:#fff}
  .site-footer .fcontact span{margin-right:14px}
  .site-footer .fsocial{display:flex;gap:8px}
  .site-footer .fsocial a{width:30px;height:30px;border-radius:7px;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;color:#fff}
  .site-footer .fsocial a:hover{background:#D8262B}
  @media(max-width:760px){.site-footer .wrap{flex-direction:column;text-align:center;gap:12px}}


/* ===== CANONICAL HOMEPAGE HEADER + FOOTER ===== */
.announce{background:#1a1a1a;color:#cfd5dd;font-size:12.5px;text-align:center;padding:8px 0;letter-spacing:.3px}
.announce b{color:#fff}
header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40;box-shadow:0 1px 0 rgba(0,0,0,.02)}
header .wrap{max-width:1200px;margin:0 auto;padding-left:32px;padding-right:32px}
.nav{display:flex;align-items:center;justify-content:space-between;height:100px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:22px;letter-spacing:-.5px}
.brand .mark{width:34px;height:34px;border-radius:8px;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:900}
.brand img{height:70px;max-width:100%;display:block}
.brand-accent{color:var(--red)}
.menu{display:flex;gap:26px;align-items:center}
.menu a{font-size:14.5px;font-weight:600;color:#3a424e}
.menu a:hover,.menu a.active{color:var(--red)}
.menu .drop::after{content:' ▾';color:#9aa3b0;font-size:11px}
.nav-cta{background:var(--red);color:#fff;padding:11px 20px;border-radius:8px;font-weight:700;font-size:14px}
.site-footer{background:#1a1a1a;color:#b9b0b0;padding:16px 0}
.site-footer .wrap{max-width:1200px;margin:0 auto;padding-left:32px;padding-right:32px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px}
.site-footer .fl{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.site-footer .cpy{color:#fff;font-weight:700}
.site-footer a{color:#b9b0b0}
.site-footer a:hover{color:#fff}
.site-footer .flinks a{margin:0 2px}
.site-footer .fcontact span{margin-right:14px}
.site-footer .fsocial{display:flex;gap:8px}
.site-footer .fsocial a{width:30px;height:30px;border-radius:7px;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;color:#fff}
.site-footer .fsocial a:hover{background:#D8262B}
@media(max-width:900px){.menu{display:none}}
@media(max-width:760px){.site-footer .wrap{flex-direction:column;text-align:center;gap:12px}}

/* ==== PHOTO BOX FOLLOWS PHOTO SHAPE (same height, natural width) ==== */
.philo .qslide{flex:0 0 auto;width:auto;max-width:100%;flex-basis:auto}
.philo .qph{width:auto;height:auto;aspect-ratio:auto;max-height:none;max-width:100%;padding:0;display:block}
.philo .qph img{display:block;width:auto;max-width:none;height:clamp(220px,22vw,310px);object-fit:cover;object-position:center}
@media(max-width:900px){.philo .qph img{height:clamp(220px,40vw,340px)}.philo .qslide{flex-basis:auto}}
@media(max-width:560px){.philo .qph img{height:260px}.philo .qslide{flex-basis:auto}}
@media(max-width:560px){.philo .qph img{height:min(280px,calc((100vw - 90px) * .62))}}
/* ==== END PHOTO SHAPE ==== */
