@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Sriracha&display=swap');

/* Keep native hidden state authoritative over component display rules. */
[hidden] { display: none !important; }

/* ==========================================================================
   QUALITY FIRST BRANDING AGENCY — Core Stylesheet
   Built by Derby Digital. Structured for conversion to a WordPress theme.
   --------------------------------------------------------------------------
   TABLE OF CONTENTS
   01. Design tokens (CSS variables)
   02. Reset & base
   03. Typography helpers
   04. Layout / containers
   05. Buttons
   06. Header & navigation
   07. Hero
   08. Trust / logo bar
   09. Section primitives (eyebrow, heading, etc.)
   10. Category grid (dark "Everything you need")
   11. How Ordering Works (steps)
   12. Case studies / cards
   13. Stats, testimonials, misc components
   14. Big CTA band
   15. Footer
   16. Forms
   17. Page hero / inner-page banners
   18. Products, Industries, Blog, About, Contact specifics
   19. Animations & utilities
   20. Responsive
   ========================================================================== */

/* 01. DESIGN TOKENS ======================================================== */
:root {
  /* Brand core */
  --navy:        #0A1A3C;
  --navy-900:    #06122B;
  --navy-800:    #0A1A3C;
  --navy-700:    #13284F;
  --navy-600:    #1D3A6B;
  --blue:        #1668C9;
  --blue-600:    #1159B0;
  --blue-700:    #0E4A93;

  /* Brand accent dots */
  --red:     #E62E2D;
  --orange:  #F7941E;
  --yellow:  #FBB913;
  --green:   #5DB946;
  --teal:    #16A9C4;
  --purple:  #8E44AD;

  /* Neutrals */
  --ink:       #111B33;   /* darkest text / headings */
  --text:      #4A5568;   /* body copy */
  --muted:     #74808F;   /* secondary copy */
  --line:      #E4E8EF;   /* hairline borders */
  --line-2:    #D6DCE6;
  --bg:        #FFFFFF;
  --bg-soft:   #F5F7FA;   /* off-white sections / cards */
  --bg-soft-2: #ECF0F6;
  --white:     #FFFFFF;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(16, 27, 51, .06);
  --shadow:    0 10px 30px rgba(16, 27, 51, .08);
  --shadow-md: 0 16px 44px rgba(16, 27, 51, .12);
  --shadow-lg: 0 30px 70px rgba(16, 27, 51, .18);
  --ring:      0 0 0 4px rgba(22, 104, 201, .14);

  /* Radii */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Type */
  --font-head: "Plus Jakarta Sans", "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Sriracha", "Brush Script MT", cursive;

  /* Spacing rhythm */
  --section-y: clamp(44px, 5vw, 76px);
  --container: 1200px;
  --container-wide: 1320px;

  /* Brand gradient (rainbow) used on script + accents */
  --rainbow: linear-gradient(95deg, #E62E2D 0%, #F7941E 22%, #FBB913 42%, #5DB946 64%, #16A9C4 82%, #1668C9 100%);
}

/* 02. RESET & BASE ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
input, textarea, select, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(22,104,201,.55); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(22,104,201,.18); }

/* 03. TYPOGRAPHY =========================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.12rem; }
p  { color: var(--text); }
strong { color: var(--ink); font-weight: 700; }
.script {
  font-family: var(--font-script); font-weight: 400; letter-spacing: 0;
  display: inline-block; font-size: 1.1em; line-height: 1.12;
  transform: skewX(-9deg); transform-origin: 0 80%;
  padding: .04em .14em .16em .02em; overflow: visible;
  background: var(--rainbow); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* gradient-clipped words: never let ascenders/descenders get cut */
.script, .u-grad { overflow: visible; }
.u-grad { padding-bottom: .08em; }
h1, h2, h3 { overflow: visible; }

/* 04. LAYOUT =============================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); }
.section-sm { padding-block: clamp(32px, 4vw, 54px); }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy); color: #cfe0f7; }
.bg-grad-soft { background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FA 100%); }
.text-center { text-align: center; }
.row { display: flex; }
.grid { display: grid; }

/* 05. BUTTONS ============================================================== */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .22s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn .ico { width: 1.05em; height: 1.05em; transition: transform .22s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn-primary { --btn-bg: var(--navy); background: linear-gradient(180deg, #16336b 0%, #0a1a3c 100%); box-shadow: 0 12px 26px rgba(10,26,60,.30); }
.btn-primary:hover { background: linear-gradient(180deg, #1c3f80 0%, #0e2350 100%); }
.btn-accent { --btn-bg: var(--orange); --btn-fg:#fff; background: linear-gradient(180deg, #FCA43A 0%, #F47A1E 100%); box-shadow: 0 12px 26px rgba(247,148,30,.36); }
.btn-accent:hover { background: linear-gradient(180deg, #f7991f 0%, #e9870f 100%); }
.btn-blue { --btn-bg: var(--blue); box-shadow: 0 10px 24px rgba(22,104,201,.28); }
.btn-blue:hover { background: var(--blue-600); }
.btn-outline {
  --btn-bg: transparent; --btn-fg: var(--navy);
  border-color: var(--line-2);
  box-shadow: none;
}
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color:#fff; box-shadow: var(--shadow); }
.btn-ghost-light {
  --btn-bg: transparent; --btn-fg:#fff; border-color: rgba(255,255,255,.4);
}
.btn-ghost-light:hover { background:#fff; color: var(--navy); border-color:#fff; }
.btn-white { --btn-bg:#fff; --btn-fg: var(--navy); }
.btn-white:hover { background: var(--bg-soft); }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-sm { padding: 11px 20px; font-size: .9rem; }
.btn-block { width: 100%; }

/* text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  color: var(--blue); letter-spacing: .02em;
}
.link-arrow .ico { width: 1em; height: 1em; transition: transform .2s ease; }
.link-arrow:hover { color: var(--blue-700); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* 06. HEADER & NAV ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(16,27,51,.08); }
.header-inner { display: flex; align-items: center; gap: 14px; height: 80px; }

/* Logo lockup */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 46px; height: 46px; flex: none; }
.logo-img { height: 44px; width: auto; flex: none; display: block; transform-origin: left center; transition: transform .45s cubic-bezier(.34,1.56,.64,1), filter .35s ease; }
.logo:hover .logo-img { transform: scale(1.06); }
.site-header .logo:hover .logo-img { filter: drop-shadow(0 7px 16px rgba(22,104,201,.24)); }
.logo:active .logo-img { transform: scale(.97); transition-duration: .12s; }
@media (prefers-reduced-motion: reduce) { .logo:hover .logo-img, .logo:active .logo-img { transform: none; } }
@media (max-width: 480px) { .logo-img { height: 38px; } }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-title {
  font-family: var(--font-head); font-weight: 800; font-size: 1.12rem;
  letter-spacing: .04em; color: var(--navy);
}
.logo-sub {
  font-family: var(--font-head); font-weight: 600; font-size: .58rem;
  letter-spacing: .34em; color: var(--blue); margin-top: 3px;
}

/* Primary nav */
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 500; font-size: .88rem;
  color: var(--ink); padding: 8px 9px; border-radius: 9px;
}
.nav-link .caret { width: 11px; height: 11px; transition: transform .22s ease; opacity:.6; }
.nav-link:hover, .nav-item:hover .nav-link { color: var(--blue); background: var(--bg-soft); }
.nav-item:hover .nav-link .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-md); padding: 10px;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease;
  z-index: 50;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown::before { content:""; position:absolute; top:-8px; left:0; right:0; height:8px; }
.dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 10px; font-size: .92rem; color: var(--ink); font-weight: 500;
}
.dropdown a:hover { background: var(--bg-soft); color: var(--blue); }
.dropdown a .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dropdown a small { display:block; color: var(--muted); font-weight: 400; font-size:.78rem; }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; margin-left: 20px; padding-left: 20px; border-left: 1px solid var(--line); }
.header-cta .btn { padding: 10px 16px; font-size: .85rem; }

/* Hamburger */
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background:#fff; }
.nav-shopall { flex: 0 0 auto; white-space: nowrap; margin-left: 6px; }
.nav-toggle span { display:block; width: 20px; height: 2px; background: var(--navy); margin: 4px auto; border-radius:2px; transition: .25s ease; }
.nav-toggle.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* 07. HERO ================================================================= */
.hero { position: relative; overflow: hidden; padding-top: clamp(14px, 1.8vw, 26px); padding-bottom: clamp(28px, 3.4vw, 52px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 16px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items:center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow.on-dark { color: #7fb0ee; }
.hero h1 { margin-top: 10px; }
.hero h1 .script {
  display: block; font-size: 1.58em; line-height: 1.0; margin-top: -.38em;
  transform: skewX(-9deg); transform-origin: 0 85%;
  background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .14em; width: max-content; max-width: 100%; position: relative;
}
.hero h1 .script-wrap { position: relative; display: inline-block; }
.hero h1 .script-underline { display:block; width: 101%; height: 22px; margin-top: -13px; margin-left: -1%; transform: skewX(-9deg); }
.hero-sub { margin-top: 14px; font-size: 1.12rem; max-width: 28em; color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }

/* trust badges row */
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 22px; }
.hb { display: flex; align-items: center; gap: 9px; }
.hb-ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; }
.hb-ico svg { width: 19px; height: 19px; }
.hb-txt { font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--ink); line-height: 1.2; }
.hb-txt span { display:block; font-weight: 400; color: var(--muted); font-size: .72rem; }

/* hero visual */
.hero-visual { position: relative; min-height: 470px; display: flex; align-items: center; }
.hero-pic { position: relative; width: 100%; }
.hero-pic > picture { display: contents; }
.hero-blob { position: absolute; z-index: 0; width: 132%; max-width: none; left: 58%; top: 47%; transform: translate(-50%, -50%); pointer-events: none; }
/* now a framed lifestyle photo (was a transparent product cutout) — round the
   corners and rein in the width so it reads as an intentional hero image */
.hero-products { position: relative; z-index: 1; width: 104%; max-width: none; margin-left: 2%; display: block;
  border-radius: 22px; box-shadow: 0 24px 50px rgba(10,26,60,.28); }
.hero-float {
  position: absolute; z-index: 2; background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.75); border-radius: 16px; padding: 11px 16px;
  box-shadow: 0 22px 46px -16px rgba(10,26,60,.34); display: flex; align-items: center; gap: 11px; font-family: var(--font-head);
  animation: heroFloat 6s ease-in-out infinite; will-change: transform;
}
.hero-float .num { display: block; font-weight: 800; font-size: 1.05rem; color: var(--navy); line-height: 1.1; }
.hero-float .lbl { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; line-height: 1.2; margin-top: 2px; }
.hero-float.tl { top: 1%; left: -3%; animation-delay: 0s; }
.hero-float.tr { top: 13%; right: -5%; animation-delay: -1.6s; }
.hero-float.bl { bottom: 18%; left: 1%; animation-delay: -3.2s; }
.hero-float.br { bottom: 3%; right: -3%; animation-delay: -4.6s; }
.hero-float .stars { color: var(--yellow); letter-spacing: 1px; font-size:.8rem; }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-float { animation: none !important; } }
/* soft grounding shadow under the hero visual */
.hero-visual::after { content:""; position:absolute; bottom: 2%; left: 50%; transform: translateX(-50%); width: 58%; height: 34px; background: radial-gradient(ellipse at center, rgba(10,26,60,.18), transparent 72%); filter: blur(7px); z-index: 0; pointer-events:none; }

/* 08. TRUST / LOGO BAR ===================================================== */
.trustbar { background:#fff; }
.trustbar-card {
  margin-top: -40px; position: relative; z-index: 5;
  background:#fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 26px 34px;
  display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center;
}
.trustbar-label {
  font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); max-width: 13ch; line-height: 1.45;
  border-right: 1px solid var(--line); padding-right: 30px;
}
.trust-logos { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.trust-logos .tl-item {
  font-family: var(--font-head); font-weight: 800; color: var(--navy); opacity: .82;
  display: flex; align-items: center; gap: 9px; filter: grayscale(.1);
  transition: opacity .2s ease, transform .2s ease;
}
.trust-logos .tl-item:hover { opacity: 1; transform: translateY(-2px); }
.tl-badge { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; color:#fff; font-size: .82rem; font-weight: 800; flex: none; }
.tl-logo { max-height: 42px; max-width: 138px; width: auto; object-fit: contain; display: block; }

/* ---- Case-study detail page ---- */
.cs-hero-stats { display:flex; flex-wrap:wrap; gap:18px 44px; margin-top:34px; }
.cs-hero-stats > div { position:relative; padding-right:44px; }
.cs-hero-stats > div:not(:last-child)::after { content:""; position:absolute; right:0; top:6px; bottom:6px; width:1px; background:rgba(255,255,255,.16); }
.cs-hero-stats b { display:block; font-family:var(--font-head); font-weight:800; font-size:2.1rem; line-height:1; color:#fff; }
.cs-hero-stats span { display:block; font-size:.9rem; color:#9fb4d8; margin-top:6px; }
.cs-photo-frame { border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-md); aspect-ratio:4/3; background:var(--bg-soft); position:relative; }
.cs-photo-frame img { width:100%; height:100%; object-fit:cover; display:block; }
.cs-photo-frame .cs-ph-tag { position:absolute; bottom:12px; left:12px; background:rgba(7,15,35,.6); backdrop-filter:blur(6px); color:#fff; font-family:var(--font-head); font-weight:600; font-size:.72rem; padding:5px 11px; border-radius:99px; }
.cs-gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.cs-gallery .cs-photo-frame { aspect-ratio:1/1; }
.cs-gallery .cs-photo-frame.wide { grid-column:span 2; aspect-ratio:2/1; }
@media(max-width:760px){ .cs-gallery{ grid-template-columns:1fr 1fr; } .cs-gallery .cs-photo-frame.wide{ grid-column:span 2; } }

/* ---- How Ordering Works — full-width process steps ---- */
.process-steps { display:grid; grid-template-columns:repeat(5,1fr); gap:18px; margin-top:52px; }
.process-step { position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:32px 22px 26px; text-align:center; transition:transform .35s var(--ease-out), box-shadow .35s ease, border-color .3s ease; }
.process-step::before { content:""; position:absolute; left:0; right:0; top:0; height:4px; border-radius:4px 4px 0 0; background:var(--rainbow); transform:scaleX(0); transform-origin:left; transition:transform .45s var(--ease-out); }
.process-step:hover { transform:translateY(-7px); box-shadow:var(--shadow-lg); border-color:transparent; }
.process-step:hover::before { transform:scaleX(1); }
.process-step .ps-num { position:absolute; top:6px; right:18px; font-family:var(--font-head); font-weight:800; font-size:3rem; line-height:1; color:var(--navy); opacity:.06; pointer-events:none; }
.process-step .ps-ico { width:62px; height:62px; border-radius:18px; display:grid; place-items:center; color:#fff; margin:4px auto 18px; box-shadow:var(--shadow-sm); transition:transform .4s var(--ease-spring); }
.process-step:hover .ps-ico { transform:translateY(-3px) rotate(-5deg) scale(1.05); }
.process-step .ps-ico svg { width:27px; height:27px; }
.process-step h3 { font-size:1.1rem; letter-spacing:-.01em; }
.process-step p { font-size:.88rem; color:var(--muted); margin-top:9px; line-height:1.5; }
.process-step:not(:last-child)::after { content:""; position:absolute; top:55px; right:-13px; width:26px; height:26px; z-index:3;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b6c2d6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 6 15 12 9 18'/%3E%3C/svg%3E") center/contain no-repeat; }
.process-cta { display:flex; flex-direction:column; align-items:center; gap:16px; margin-top:46px; }
.process-note { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-head); font-weight:600; font-size:.92rem; color:var(--text); }
.process-note svg { width:18px; height:18px; color:var(--green); flex:none; }
@media (max-width:920px){
  .process-steps { grid-template-columns:repeat(2,1fr); gap:16px; }
  .process-step:not(:last-child)::after { display:none; }
  .process-step:last-child { grid-column:1 / -1; }
}
@media (max-width:540px){
  .process-steps { grid-template-columns:1fr; }
  .process-step:last-child { grid-column:auto; }
}
.tl-name { display:flex; flex-direction: column; line-height: 1; font-size: .96rem; }
.tl-name small { font-size: .6rem; letter-spacing: .12em; opacity:.7; font-weight:600; margin-top:3px; }
.tl-more { font-size: .82rem; color: var(--muted); font-weight: 600; font-family: var(--font-head); }

/* 09. SECTION PRIMITIVES =================================================== */
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 + p { margin-top: 16px; font-size: 1.08rem; }
.underline-brush { display:inline-block; height: 12px; width: 200px; margin-top: 4px; }

/* 10. CATEGORY GRID (dark) ================================================= */
.cats { position: relative; background: var(--navy); color:#fff; overflow: hidden; }
.cats::before { /* subtle radial glow */
  content:""; position:absolute; inset:0;
  background: radial-gradient(900px 400px at 80% -10%, rgba(22,104,201,.35), transparent 60%),
              radial-gradient(700px 380px at 0% 120%, rgba(93,185,70,.14), transparent 55%);
}
.cats > .container { position: relative; z-index: 1; }
.cats h2, .cats .section-head h2 { color:#fff; }
.cats .section-head p { color:#b9c8e4; }
.cats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 46px; }
.cat-card {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: 270px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #11244b; border: 1px solid rgba(255,255,255,.08);
  text-align: left; transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-media { position: absolute; inset: 0; overflow: hidden; }
.cat-media .cat-illus { width: 100%; height: 100%; }
.cat-card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(7,18,43,0) 30%, rgba(6,14,33,.92) 100%); z-index:1; }
.cat-body { position: relative; z-index: 2; padding: 18px; }
.cat-ico { width: 46px; height: 46px; border-radius: 50%; display:grid; place-items:center; margin-bottom: 13px; box-shadow: 0 8px 18px rgba(0,0,0,.28); }
.cat-ico svg { width: 21px; height: 21px; color:#fff; }
.cat-card h3 { color:#fff; font-size: 1.12rem; }
.cat-card p { color:#aebbd6; font-size: .82rem; margin-top: 5px; }
.cats-foot { display:flex; justify-content:center; margin-top: 42px; }

/* 11. HOW ORDERING WORKS =================================================== */
.steps-wrap { display:grid; grid-template-columns: 1.35fr .9fr; gap: 48px; align-items: center; }
.steps { margin-top: 34px; display: grid; gap: 8px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 16px; border-radius: var(--r); transition: background-color .2s ease, transform .2s ease;
  position: relative;
}
.step:hover { background: var(--bg-soft); transform: translateX(4px); }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display:grid; place-items:center;
  font-family: var(--font-head); font-weight: 800; color:#fff; font-size: 1.05rem; position: relative;
}
.step-num::after { content:""; position:absolute; top: 52px; left: 50%; transform: translateX(-50%); width: 2px; height: 26px; background: var(--line-2); }
.step:last-child .step-num::after { display:none; }
.step h4 { font-size: 1.04rem; color: var(--ink); }
.step p { font-size: .9rem; margin-top: 3px; }
.steps-visual { position: relative; }
.steps-visual .sv-card { border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-md); background:#fff; }
.steps-visual .sv-illus { width:100%; height: 100%; display:block; }
.steps-badge {
  position:absolute; bottom: -18px; left: -18px; background:#fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-md); display:flex; align-items:center; gap: 12px;
}
.steps-badge .sb-ico { width: 42px; height:42px; border-radius: 11px; background: var(--green); display:grid; place-items:center; color:#fff; }
.steps-badge b { font-family: var(--font-head); color: var(--ink); font-size: .95rem; display:block; }
.steps-badge span { font-size: .78rem; color: var(--muted); }

/* 11b. Ordering flow — horizontal stepper (mockup style) */
.flow { display:grid; grid-template-columns: 1.62fr .9fr; gap: 44px; align-items: center; margin-top: 50px; }
.flow-main { min-width: 0; }
.flow-steps { display:grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 34px; position: relative; }
.flow-steps::before { content:""; position:absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: var(--line-2); z-index: 0; }
.flow-step { position: relative; text-align: center; padding: 0 4px; }
.flow-step .fs-num {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; color:#fff; font-family: var(--font-head); font-weight: 800; font-size: 1.18rem;
  position: relative; z-index: 1; box-shadow: 0 10px 20px rgba(16,27,51,.18); border: 4px solid #fff;
}
.flow-step .fs-ico { position:absolute; top: -2px; left: calc(50% + 13px); width: 28px; height: 28px; border-radius: 50%; background:#fff; box-shadow: var(--shadow-sm); display:grid; place-items:center; z-index: 3; color: var(--navy); }
.flow-step .fs-ico svg { width: 15px; height: 15px; }
.flow-step h4 { font-size: .96rem; letter-spacing: -.01em; }
.flow-step p { font-size: .8rem; margin-top: 6px; color: var(--muted); line-height: 1.45; }
.flow-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.flow-media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 5; }
.flow-badge { position:absolute; bottom: 14px; left: 14px; right: 14px; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 14px; padding: 12px 16px; display:flex; align-items:center; gap: 12px; box-shadow: var(--shadow); }
.flow-badge .fb-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--green); display:grid; place-items:center; color:#fff; flex:none; }
.flow-badge b { font-family: var(--font-head); font-size: .9rem; color: var(--ink); display:block; }
.flow-badge span { font-size: .78rem; color: var(--muted); }
.brush-accent { display:block; width: 240px; max-width: 80%; height: 13px; margin-top: 2px; }

/* 12. CASE STUDIES ========================================================= */
.cases-head { display:flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cases-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.case-card {
  background:#fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
  display:flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case-media { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.case-media .case-illus { width:100%; height:100%; }
.case-tag {
  position:absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,.95);
  font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 12px; border-radius: var(--r-pill); color: var(--navy); display:flex; align-items:center; gap:7px;
}
.case-body { padding: 24px; display:flex; flex-direction: column; flex: 1; }
.case-client { font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.case-card h3 { margin-top: 8px; font-size: 1.25rem; }
.case-card p { margin-top: 10px; font-size: .92rem; flex: 1; }
.case-card .link-arrow { margin-top: 18px; }

/* 13. STATS / TESTIMONIALS ================================================= */
.stats { display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 14px; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.1rem, 4vw, 3rem); color: var(--navy); line-height: 1; }
.stat .num .grad, .stat .num.grad { background: var(--rainbow); -webkit-background-clip:text; background-clip:text; color: transparent; }
.stat .lbl { margin-top: 10px; font-size: .92rem; color: var(--muted); font-weight: 500; }

.quotes-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.quote-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; }
.quote-stars { color: var(--yellow); letter-spacing: 2px; font-size: 1rem; }
.quote-card blockquote { margin-top: 14px; font-size: 1rem; color: var(--ink); line-height: 1.6; flex:1; }
.quote-author { margin-top: 20px; display:flex; align-items:center; gap: 12px; }
.quote-avatar { width: 44px; height: 44px; border-radius: 50%; display:grid; place-items:center; color:#fff; font-family:var(--font-head); font-weight:700; flex:none; }
.quote-author b { font-family: var(--font-head); color: var(--ink); font-size: .92rem; display:block; }
.quote-author span { font-size: .8rem; color: var(--muted); }

/* feature list with checks */
.checks { display:grid; gap: 14px; margin-top: 24px; }
.checks li { display:flex; align-items:flex-start; gap: 12px; font-size: .98rem; color: var(--text); }
.checks .ck { width: 24px; height: 24px; border-radius: 50%; background: rgba(93,185,70,.14); color: var(--green); display:grid; place-items:center; flex:none; margin-top:1px; }
.checks .ck svg { width: 13px; height: 13px; }
.checks b { color: var(--ink); }

/* split / feature media block */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.media-frame { border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-md); background: var(--bg-soft); }
.media-frame svg, .media-frame img { width:100%; display:block; }

/* 14. CTA BAND ============================================================= */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color:#fff; }
.cta-band .paint { position:absolute; right:-4%; top:50%; transform:translateY(-50%); height:128%; width: 26%; z-index:0; opacity:.45; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band-inner { display:grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: clamp(48px, 6vw, 84px); }
.cta-band h2 { color:#fff; font-size: clamp(2rem, 4vw, 3.1rem); }
.cta-options { display:grid; gap: 14px; position: relative; z-index: 2; }
.cta-opt { position:relative; z-index:1; display:flex; align-items:center; gap: 16px; background: #0e2049; border:1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 18px 20px; box-shadow: 0 14px 30px -16px rgba(0,0,0,.55); transition: background-color .2s ease, transform .2s ease, border-color .2s ease; }
.cta-opt:hover { background: #16305f; border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.cta-opt-ico { width: 50px; height: 50px; border-radius: 14px; display:grid; place-items:center; flex:none; color:#fff; }
.cta-opt b { font-family: var(--font-head); color:#fff; font-size: 1.05rem; display:block; }
.cta-opt span { color:#9fb4d8; font-size: .9rem; }
.cta-opt .ico-arrow { margin-left:auto; color:#9fb4d8; width: 18px; }

/* 15. FOOTER =============================================================== */
.site-footer { background: var(--navy-900); color:#9fb0cc; padding-top: clamp(56px, 7vw, 88px); }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-brand .logo-title { color:#fff; }
.footer-brand .logo-sub { color: #7fb0ee; }
.footer-brand .logo-img, .site-footer .logo-img { filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 16px; font-size: .92rem; color:#8294b4; max-width: 30ch; }
.footer-social { display:flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.06); display:grid; place-items:center; color:#cdd9ec; transition: background-color .2s ease, transform .2s ease; }
.footer-social a:hover { background: var(--blue); color:#fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h5 { color:#fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-head); }
.footer-col ul { display:grid; gap: 12px; }
.footer-col a { font-size: .92rem; color:#9fb0cc; }
.footer-col a:hover { color:#fff; }
.footer-news p { font-size: .9rem; color:#8294b4; margin: 14px 0 16px; }
/* Stacked: side-by-side squeezed the input so hard the placeholder read "Enter your" in the narrow footer column. */
.news-form { display:flex; flex-direction: column; gap: 10px; }
.news-form .btn { width: 100%; justify-content: center; }
.news-form input { flex:1; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color:#fff; padding: 13px 16px; border-radius: 12px; font-size: .9rem; }
.news-form input::placeholder { color:#7385a5; }
.news-form input:focus { outline:none; border-color: var(--blue); }
.footer-bottom { display:flex; justify-content: space-between; align-items:center; gap:16px; flex-wrap: wrap; padding-block: 26px; font-size: .84rem; color:#73849f; }
.footer-bottom a:hover { color:#fff; }
.footer-bottom .fb-links { display:flex; gap: 22px; }

/* 16. FORMS ================================================================ */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 40px); }
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display:flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px;
  font-size: .96rem; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; width:100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background:#fff; box-shadow: var(--ring); }
.field .hint { font-size: .78rem; color: var(--muted); }
.filepick {
  border: 2px dashed var(--line-2); border-radius: 14px; padding: 26px; text-align: center; background: var(--bg-soft);
  cursor: pointer; transition: border-color .2s ease, background-color .2s ease;
}
.filepick:hover { border-color: var(--blue); background: #fff; }
.filepick .fp-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(22,104,201,.1); color: var(--blue); display:grid; place-items:center; margin: 0 auto 12px; }
.filepick b { font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.filepick span { display:block; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.order-grid { display:grid; grid-template-columns: 1.5fr .85fr; gap: 36px; align-items: start; }
.form-aside { display:flex; flex-direction: column; gap: 18px; }
.aside-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.aside-card.navy { background: var(--navy); color:#cfe0f7; border-color: transparent; }
.aside-card.navy h4, .aside-card.navy b { color:#fff; }
.aside-steps { display:grid; gap: 16px; margin-top: 16px; }
.aside-steps li { display:grid; grid-template-columns: auto 1fr; gap: 14px; align-items:start; }
.aside-steps .as-n { width: 30px; height:30px; border-radius:50%; display:grid; place-items:center; font-family:var(--font-head); font-weight:800; font-size:.85rem; color:#fff; flex:none; }
.aside-steps b { display:block; font-family:var(--font-head); font-size:.92rem; }
.aside-steps span { font-size:.84rem; color: var(--muted); }
.chip-row { display:flex; flex-wrap: wrap; gap: 10px; }
.chip { display:inline-flex; align-items:center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background:#fff; font-family: var(--font-head); font-weight: 500; font-size: .88rem; color: var(--ink); cursor: pointer; transition: all .18s ease; }
.chip input { position:absolute; opacity:0; pointer-events:none; }
.chip:hover { border-color: var(--blue); }
.chip.selected, .chip:has(input:checked) { background: var(--navy); color:#fff; border-color: var(--navy); }
.form-note { font-size: .82rem; color: var(--muted); }

/* 17. PAGE HERO / INNER BANNERS =========================================== */
.page-hero { position: relative; background: var(--navy); color:#fff; overflow: hidden; padding-block: clamp(40px, 4.5vw, 66px); text-align: center; }
.page-hero .breadcrumb { justify-content: center; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(800px 360px at 85% -20%, rgba(22,104,201,.4), transparent 60%), radial-gradient(600px 300px at -5% 120%, rgba(247,148,30,.12), transparent 55%); }
.page-hero .container { position: relative; z-index:1; }
.page-hero .eyebrow { color:#7fb0ee; }
.page-hero h1 { color:#fff; margin-top: 12px; max-width: 24ch; margin-inline: auto; font-size: clamp(2rem, 3.4vw, 2.95rem); }
.page-hero h1 .script { background: var(--rainbow); -webkit-background-clip:text; background-clip:text; color:transparent; }
.page-hero p { color:#bcccea; margin-top: 15px; font-size: 1.06rem; max-width: 54ch; margin-inline: auto; }
.page-hero .hero-cta { margin-top: 26px; justify-content: center; }
.breadcrumb { display:flex; align-items:center; gap: 8px; font-size: .84rem; color:#8ba4cf; }
.breadcrumb a:hover { color:#fff; }
.breadcrumb .sep { opacity:.5; }

/* 18a. PRODUCTS =========================================================== */
.cat-toolbar { display:flex; flex-wrap: wrap; gap: 10px; align-items:center; justify-content: center; }
.cat-pill { padding: 11px 20px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background:#fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); cursor:pointer; transition: all .18s ease; }
.cat-pill:hover { border-color: var(--navy); transform: translateY(-2px); }
.cat-pill.active { background: var(--navy); color:#fff; border-color: var(--navy); }
.prod-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.prod-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; display:flex; flex-direction:column; }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.prod-media { aspect-ratio: 4/3; position:relative; overflow:hidden; background: var(--bg-soft); }
.prod-media .prod-illus { width:100%; height:100%; transition: transform .4s ease; }
.prod-card:hover .prod-illus { transform: scale(1.04); }
.prod-badge { position:absolute; top:12px; left:12px; background:#fff; color:var(--navy); font-family:var(--font-head); font-weight:700; font-size:.68rem; letter-spacing:.06em; text-transform:uppercase; padding:6px 11px; border-radius:var(--r-pill); box-shadow:var(--shadow-sm); }
.prod-body { padding: 20px 22px 24px; display:flex; flex-direction:column; flex:1; }
.prod-cat { font-size:.74rem; font-family:var(--font-head); font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--blue); }
.prod-card h3 { font-size: 1.16rem; margin-top: 6px; }
.prod-card p { font-size:.9rem; margin-top: 8px; flex:1; }
/* Item number under each product — the reference a client quotes against.
   Monospace tabular figures so codes line up and read as a SKU, not prose. */
.prod-sku { margin-top: 6px; font-size: .82rem; font-weight: 600; color: var(--muted);
  font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.prod-foot { display:flex; align-items:center; justify-content:space-between; margin-top: 18px; }
.prod-price { font-family:var(--font-head); font-weight:700; color:var(--ink); font-size:.92rem; }
.prod-price span { color: var(--muted); font-weight: 500; font-size:.78rem; }

/* 18b. INDUSTRIES ========================================================= */
.ind-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ind-card { position:relative; border-radius: var(--r-lg); overflow:hidden; min-height: 320px; display:flex; flex-direction:column; justify-content:flex-end; color:#fff; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.ind-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ind-card .ind-bg { position:absolute; inset:0; z-index:0; }
.ind-card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(6,14,33,.15) 20%, rgba(6,14,33,.9) 100%); z-index:1; }
.ind-body { position:relative; z-index:2; padding: 26px; }
.ind-ico { width: 48px; height:48px; border-radius: 13px; background: rgba(255,255,255,.18); backdrop-filter: blur(4px); display:grid; place-items:center; margin-bottom: 14px; }
.ind-ico svg { width: 24px; height:24px; color:#fff; }
.ind-card h3 { color:#fff; }
.ind-card p { color: rgba(255,255,255,.85); font-size: .9rem; margin-top: 8px; }
.ind-card .link-arrow { color:#fff; margin-top: 14px; }

/* 18c. BLOG =============================================================== */
.blog-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-media { aspect-ratio: 16/10; position:relative; overflow:hidden; }
.post-media .post-illus { width:100%; height:100%; }
.post-cat { position:absolute; top:14px; left:14px; z-index:2; background:#fff; color:var(--navy); font-family:var(--font-head); font-weight:700; font-size:.68rem; letter-spacing:.06em; text-transform:uppercase; padding:6px 12px; border-radius:var(--r-pill); }
.post-body { padding: 22px 24px 26px; display:flex; flex-direction:column; flex:1; }
.post-meta { font-size:.8rem; color: var(--muted); display:flex; gap:10px; align-items:center; }
.post-card h3 { font-size: 1.2rem; margin-top: 10px; }
.post-card h3 a:hover { color: var(--blue); }
.post-card p { font-size:.9rem; margin-top: 10px; flex:1; }
.post-foot { margin-top: 18px; padding-top: 16px; border-top:1px solid var(--line); display:flex; align-items:center; gap:10px; }
.post-foot .pa { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; color:#fff; font-family:var(--font-head); font-weight:700; font-size:.78rem; }
.post-foot b { font-family:var(--font-head); font-size:.84rem; color:var(--ink); }

.post-featured { display:grid; grid-template-columns: 1.1fr 1fr; gap: 0; border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow); background:#fff; }
.post-featured .pf-media { position:relative; min-height: 340px; }
.post-featured .pf-media svg { position:absolute; inset:0; width:100%; height:100%; }
.post-featured .pf-body { padding: clamp(28px,3vw,48px); display:flex; flex-direction:column; justify-content:center; }
.post-featured h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 14px; }

/* 18d. ABOUT ============================================================== */
.value-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-ico { width: 56px; height:56px; border-radius: 15px; display:grid; place-items:center; color:#fff; margin-bottom: 18px; }
.value-ico svg { width: 27px; height:27px; }
.value-card h3 { font-size: 1.2rem; }
.value-card p { margin-top: 10px; font-size: .94rem; }

.timeline { display:grid; gap: 0; max-width: 760px; margin-inline:auto; }
.tl-item { display:grid; grid-template-columns: 120px 1fr; gap: 28px; padding-bottom: 36px; position:relative; }
.tl-item::before { content:""; position:absolute; left: 132px; top: 10px; bottom: -8px; width:2px; background: var(--line-2); }
.tl-item:last-child::before { display:none; }
.tl-year { font-family: var(--font-head); font-weight:800; font-size: 1.3rem; color: var(--blue); text-align:right; position:relative; }
.tl-year::after { content:""; position:absolute; right: -20px; top: 7px; width:14px; height:14px; border-radius:50%; background:#fff; border:3px solid var(--blue); }
.tl-body h4 { font-size: 1.1rem; }
.tl-body p { font-size:.92rem; margin-top:6px; }

.team-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.team-card { text-align:center; }
.team-photo { aspect-ratio: 1; border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-sm); }
.team-photo svg { width:100%; height:100%; }
.team-card h4 { margin-top: 16px; font-size: 1.05rem; }
.team-card span { font-size: .85rem; color: var(--blue); font-weight: 600; font-family: var(--font-head); }

/* 18e. CONTACT ============================================================ */
.contact-grid { display:grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items:start; }
.contact-info { display:grid; gap: 16px; }
.ci-card { display:flex; gap: 16px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm); }
.ci-ico { width: 50px; height:50px; border-radius: 13px; display:grid; place-items:center; color:#fff; flex:none; }
.ci-ico svg { width: 22px; height:22px; }
.ci-card b { font-family: var(--font-head); color: var(--ink); font-size: 1rem; display:block; }
.ci-card a, .ci-card p { color: var(--text); font-size: .94rem; margin-top: 3px; }
.ci-card a:hover { color: var(--blue); }
.map-frame { border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-sm); border:1px solid var(--line); }

/* FAQ accordion */
.faq { max-width: 820px; margin-inline:auto; display:grid; gap: 14px; }
.faq-item { border:1px solid var(--line); border-radius: var(--r); background:#fff; overflow:hidden; transition: box-shadow .2s ease; }
.faq-item.open { box-shadow: var(--shadow); }
.faq-q { width:100%; display:flex; align-items:center; justify-content:space-between; gap: 16px; padding: 22px 24px; text-align:left; font-family: var(--font-head); font-weight:600; font-size: 1.04rem; color: var(--ink); }
.faq-q .fq-ico { width: 28px; height:28px; border-radius:50%; background: var(--bg-soft); display:grid; place-items:center; flex:none; transition: transform .25s ease, background-color .2s ease; color: var(--navy); }
.faq-item.open .fq-ico { background: var(--navy); color:#fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 24px; color: var(--text); font-size: .96rem; }

/* 19. ANIMATIONS & UTILITIES ============================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}
.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}.mt-5{margin-top:48px}
.mb-0{margin-bottom:0}.maxw-56{max-width:56ch}
.u-grad { background: var(--rainbow); -webkit-background-clip:text; background-clip:text; color:transparent; }
.pill-tag { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-head); font-weight:600; font-size:.8rem; padding:7px 14px; border-radius:var(--r-pill); background:var(--bg-soft); color:var(--navy); }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16,27,51,.1); }
.sticky-cta .btn { flex: 1; }

/* Mobile nav panel */
.mobile-nav { position: fixed; inset: 0; z-index: 200; background: rgba(6,18,43,.5); opacity:0; visibility:hidden; transition: opacity .3s ease; }
.mobile-nav.open { opacity:1; visibility:visible; }
.mobile-nav-panel { position:absolute; top:0; right:0; height:100%; width: min(380px, 88vw); background:#fff; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .32s cubic-bezier(.22,.61,.36,1); display:flex; flex-direction:column; overflow-y:auto; }
.mobile-nav.open .mobile-nav-panel { transform: none; }
.mnav-head { display:flex; align-items:center; justify-content:space-between; padding: 20px; border-bottom:1px solid var(--line); }
.mnav-close { width:42px; height:42px; border-radius:12px; border:1px solid var(--line); display:grid; place-items:center; }
.mnav-body { padding: 14px 20px 24px; }
.mnav-body > a, .mnav-group > .mnav-toggle { display:flex; align-items:center; justify-content:space-between; width:100%; padding: 15px 6px; font-family:var(--font-head); font-weight:600; font-size:1.05rem; color:var(--ink); border-bottom:1px solid var(--line); }
.mnav-sub { display:none; padding: 4px 0 12px 14px; }
.mnav-sub.open { display:block; }
.mnav-sub a { display:block; padding: 11px 6px; font-size:.95rem; color: var(--text); }
.mnav-sub a:hover { color: var(--blue); }
.mnav-toggle .caret { transition: transform .2s ease; }
.mnav-toggle.open .caret { transform: rotate(180deg); }
.mnav-cta { display:grid; gap:10px; margin-top: 22px; }

/* color helper backgrounds for icons */
.bg-blue{background:var(--blue)} .bg-green{background:var(--green)} .bg-orange{background:var(--orange)}
.bg-red{background:var(--red)} .bg-teal{background:var(--teal)} .bg-purple{background:var(--purple)}
.bg-yellow{background:var(--yellow)} .bg-navy{background:var(--navy)}
.fg-blue{color:var(--blue)} .fg-green{color:var(--green)} .fg-orange{color:var(--orange)}
.fg-red{color:var(--red)} .fg-teal{color:var(--teal)} .fg-purple{color:var(--purple)}

/* 20. RESPONSIVE ========================================================== */
@media (max-width: 1240px) {
  /* keep the primary nav on one line by dropping the secondary header button */
  .header-cta .btn-outline { display: none; }
  .nav-link { font-size: .88rem; padding: 9px 9px; }
}
@media (max-width: 1100px) {
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  /* the nav/burger switch moved to its own 1279px block at the end of this
     file — the full nav does not fit until ~1280px, and the hero/steps rules
     below still belong at 1024px */
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  /* copy leads once the grid collapses — image-first buried the h1 and both
     CTAs below the fold on phones */
  .hero-visual { min-height: 380px; }
  .steps-wrap { grid-template-columns: 1fr; gap: 34px; }
  .steps-visual { max-width: 520px; }
  .cases-grid, .prod-grid, .blog-grid, .ind-grid, .quotes-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner { grid-template-columns: 1fr; gap: 28px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .order-grid { grid-template-columns: 1fr; gap: 28px; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .pf-media { min-height: 240px; }
  .flow { grid-template-columns: 1fr; gap: 30px; }
  .flow-media { max-width: 480px; margin-inline: auto; }
  .flow-media img { aspect-ratio: 16 / 11; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-cta .btn-primary { display:none; }
  .trustbar-card { grid-template-columns: 1fr; gap: 18px; text-align:center; }
  .trustbar-label { border-right:none; border-bottom:1px solid var(--line); padding-right:0; padding-bottom:16px; max-width:none; }
  .trust-logos { justify-content: center; gap: 22px 30px; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid, .prod-grid, .blog-grid, .ind-grid, .quotes-grid, .value-grid, .stats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 28px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; gap: 22px; }
  .flow-steps::before { display: none; }
  .flow-step { text-align: left; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 3px; align-items: start; }
  .flow-step .fs-num { margin: 0; grid-row: 1 / 3; width: 46px; height: 46px; font-size: 1.05rem; }
  .flow-step h4 { grid-column: 2; align-self: center; }
  .flow-step p { grid-column: 2; }
  .flow-step .fs-ico { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cases-head { flex-direction: column; align-items: flex-start; }
  .sticky-cta { display: flex; }
  .cta-band .paint { display: none; }
  .tl-item { grid-template-columns: 70px 1fr; gap: 18px; }
  .tl-item::before { left: 82px; }
  body.has-sticky { padding-bottom: 78px; }
  .timeline .tl-year { font-size: 1rem; }
}
@media (max-width: 420px) {
  .cats-grid { grid-template-columns: 1fr; }
  .hero-float { display: none; }
  .footer-top { grid-template-columns: 1fr; }
}

/* 21. COMPETITOR-INFORMED ENHANCEMENTS ==================================== */
/* Announcement / utility bar (sits above the sticky header) */
/* Site-wide announcement bar (Derby Digital websites cross-sell) */
.qf-annc { background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%); color:#fff; font-size:.87rem; }
.qf-annc-in { display:flex; align-items:center; justify-content:center; gap:12px; padding:8px 40px 8px 16px; position:relative; }
.qf-annc-txt { text-align:center; line-height:1.35; }
.qf-annc-txt b { font-weight:700; }
.qf-annc-badge { background: var(--gold, #F5A623); color: var(--navy, #0A1A3C); font-weight:800; font-size:.64rem; letter-spacing:.06em; text-transform:uppercase; padding:2px 7px; border-radius:999px; margin-right:8px; vertical-align:middle; }
.qf-annc-cta { color:#fff; font-weight:700; text-decoration:underline; text-underline-offset:2px; white-space:nowrap; }
.qf-annc-cta:hover { color: var(--gold, #F5A623); }
.qf-annc-x { position:absolute; right:10px; top:50%; transform:translateY(-50%); background:none; border:none; color:rgba(255,255,255,.72); font-size:1.35rem; line-height:1; cursor:pointer; padding:0 5px; }
.qf-annc-x:hover { color:#fff; }
.qf-annc.hide { display:none; }
@media (max-width:600px){ .qf-annc { font-size:.78rem; } .qf-annc-badge { display:none; } .qf-annc-in { padding:7px 34px 7px 12px; } }

.topbar { background: var(--navy-900); color:#c4d2ea; }
.topbar-inner { display:flex; align-items:center; justify-content:center; gap: 12px 26px; min-height: 42px; padding-block: 8px; font-family: var(--font-head); font-weight:500; font-size:.82rem; flex-wrap:wrap; }
.topbar .tb { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; }
.topbar .tb svg { width:15px; height:15px; flex:none; }
.topbar .tb.star svg { color: var(--yellow); }
.topbar .tb strong { color:#fff; font-weight:700; }
.topbar .tb-sep { opacity:.28; }
.topbar a { color:#c4d2ea; }
.topbar a:hover { color:#fff; }

/* Guarantee / value strip */
.guarantees { border-bottom: 1px solid var(--line); }
.guarantee-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px 30px; }
.guarantee { position:relative; overflow:hidden; display:flex; align-items:flex-start; gap:15px; padding:26px 24px; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--shadow-sm); transition:transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease; }
.guarantee::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background:var(--blue); transform:scaleX(1); transform-origin:left; transition:transform .4s var(--ease-out); }
.guarantee:has(.bg-green)::before { background:var(--green); }
.guarantee:has(.bg-orange)::before { background:var(--orange); }
.guarantee:has(.bg-navy)::before { background:var(--navy); }
.guarantee:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent; }
.guarantee .g-ico { width:50px; height:50px; border-radius:14px; flex:none; display:grid; place-items:center; color:#fff; box-shadow: var(--shadow-sm); }
.guarantee .g-ico svg { width:24px; height:24px; }
.guarantee h4 { font-size:1.02rem; letter-spacing:-.01em; }
.guarantee p { font-size:.86rem; margin-top:4px; color:var(--muted); line-height:1.5; }

/* Brands-we-print strip */
.brand-logos { display:flex; align-items:center; justify-content:center; gap: 16px 46px; flex-wrap:wrap; }
.brand-logos span { font-family:var(--font-head); font-weight:800; font-size:1.3rem; color:var(--navy); opacity:.38; letter-spacing:-.03em; transition: opacity .2s ease, transform .2s ease; white-space:nowrap; }
.brand-logos span:hover { opacity:.85; transform: translateY(-2px); }

/* Inline rating chip (social proof at the CTA) */
.rating-chip { display:inline-flex; align-items:center; gap:10px; }
.rating-chip .stars { color:var(--yellow); letter-spacing:1.5px; font-size:1rem; }
.rating-chip b { font-family:var(--font-head); color:var(--ink); font-size:.9rem; }
.rating-chip span { color:var(--muted); font-size:.86rem; }

@media (max-width: 900px) {
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 760px) {
  .topbar .tb.hide-sm, .topbar .tb-sep.hide-sm { display:none; }
  .brand-logos span { font-size:1.08rem; }
}
@media (max-width: 460px) {
  .guarantee-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   22. PREMIUM DESIGN LAYER — depth · motion · decoration
   ========================================================================== */
:root {
  --grad-navy: linear-gradient(155deg, #15315f 0%, #0a1a3c 55%, #060f26 100%);
  --grad-blue: linear-gradient(135deg, #2f87e8 0%, #1257ae 100%);
  --grad-hero-accent: conic-gradient(from 210deg at 70% 30%, rgba(42,125,225,.16), rgba(93,185,70,.12), rgba(247,148,30,.10), rgba(230,46,45,.10), rgba(42,125,225,.16));
  --glow-blue: 0 22px 60px -18px rgba(22,104,201,.55);
  --shadow-xl: 0 44px 100px -30px rgba(10,26,60,.40);
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ---- Refined global motion + type ---- */
a, .btn, .cat-card, .case-card, .prod-card, .post-card, .value-card, .ind-card, .quote-card, .ci-card, .hb-ico, .cat-ico { transition-timing-function: var(--ease-out); }
h1 { letter-spacing: -.035em; }
h2 { letter-spacing: -.03em; }
.hero h1, .page-hero h1 { letter-spacing: -.04em; }

/* custom scrollbar (desktop) */
@media (pointer:fine){
  html { scrollbar-width: thin; scrollbar-color: #c2ccdb transparent; }
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-thumb { background: linear-gradient(var(--navy), var(--blue)); border-radius: 99px; border: 3px solid #fff; }
  ::-webkit-scrollbar-thumb:hover { background: var(--blue); }
}

/* ---- Scroll progress bar ---- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 300; background: var(--rainbow); box-shadow: 0 1px 8px rgba(22,104,201,.5); transition: width .12s linear; }

/* ---- Back-to-top ---- */
.to-top { position: fixed; right: 22px; bottom: 24px; width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color:#fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9); transition: .35s var(--ease-spring); z-index: 95; }
.to-top svg { width: 20px; height: 20px; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); transform: translateY(-4px); box-shadow: var(--glow-blue); }
body.has-sticky .to-top { bottom: 24px; }
@media (max-width:760px){ body.has-sticky .to-top { bottom: 88px; } }

/* ---- Decorative gradient orbs ---- */
.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .55; will-change: transform; }
.orb-blue  { width: 460px; height: 460px; background: radial-gradient(circle, #2f87e8 0%, transparent 68%); top: -140px; right: -60px; animation: orbFloat 18s var(--ease-out) infinite; }
.orb-green { width: 360px; height: 360px; background: radial-gradient(circle, #5DB946 0%, transparent 68%); bottom: -120px; left: -80px; opacity: .35; animation: orbFloat 22s var(--ease-out) infinite reverse; }
.orb-orange{ width: 300px; height: 300px; background: radial-gradient(circle, #F7941E 0%, transparent 68%); top: 40%; left: 30%; opacity: .25; animation: orbFloat 26s var(--ease-out) infinite; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(-26px,34px) scale(1.08); } 66% { transform: translate(30px,-20px) scale(.96); } }

/* dot grid + soft mesh on the light hero */
.hero { background:
  radial-gradient(1200px 520px at 88% -8%, rgba(42,125,225,.10), transparent 58%),
  radial-gradient(900px 520px at -8% 112%, rgba(247,148,30,.07), transparent 52%),
  radial-gradient(700px 420px at 50% 120%, rgba(93,185,70,.05), transparent 60%); }
.dotgrid { background-image: radial-gradient(rgba(16,27,51,.06) 1.2px, transparent 1.2px); background-size: 24px 24px; }

/* noise overlay for premium dark sections */
.cats, .page-hero, .cta-band, .aside-card.navy { position: relative; }
.cats::after, .page-hero::after, .cta-band::after {
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.5; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.cats > .container, .page-hero > .container, .cta-band > .container { position: relative; z-index: 1; }

/* richer dark section gradients + animated glow */
.cats { background: var(--grad-navy); }
.cats::before { background:
  radial-gradient(1000px 460px at 82% -12%, rgba(42,125,225,.42), transparent 60%),
  radial-gradient(760px 420px at 2% 118%, rgba(93,185,70,.18), transparent 55%),
  radial-gradient(620px 360px at 50% 60%, rgba(247,148,30,.07), transparent 60%);
  animation: glowPulse 12s ease-in-out infinite; }
.page-hero::before { animation: glowPulse 12s ease-in-out infinite; }
@keyframes glowPulse { 0%,100%{ opacity:.85; } 50%{ opacity:1; } }

/* ---- Buttons: gradient depth + shine sweep ---- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content:""; position:absolute; inset:0; z-index:-1; opacity:0; transition: opacity .3s ease; }
.btn span, .btn svg, .btn { z-index: 1; }
.btn-blue { background: var(--grad-blue); box-shadow: 0 12px 26px rgba(22,104,201,.32); }
.btn-blue:hover { background: linear-gradient(135deg,#2670c9,#0e4a93); }
.btn:not(.btn-outline):not(.btn-ghost-light)::after {
  content:""; position:absolute; top:0; left:-130%; width:55%; height:100%; z-index:0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-22deg); transition: left .65s var(--ease-out); pointer-events:none;
}
.btn:not(.btn-outline):not(.btn-ghost-light):hover::after { left: 150%; }
.btn-lg { padding: 18px 36px; }

/* ---- Cards: gradient hairline + lift + media zoom ---- */
.case-card, .prod-card, .post-card, .value-card, .quote-card, .ci-card {
  position: relative; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s ease;
}
.case-card::after, .prod-card::after, .post-card::after {
  content:""; position:absolute; left:0; right:0; top:0; height:3px; border-radius: 3px 3px 0 0;
  background: var(--rainbow); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); z-index: 3;
}
.case-card:hover::after, .prod-card:hover::after, .post-card:hover::after { transform: scaleX(1); }
.case-card:hover, .prod-card:hover, .post-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: transparent; }
.case-media .case-illus, .post-media .post-illus, .prod-media .prod-illus { transition: transform .6s var(--ease-out); }
.case-card:hover .case-illus, .post-card:hover .post-illus { transform: scale(1.06); }
.value-card:hover, .quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-xl); }
.guarantee .g-ico, .value-ico, .cat-ico, .ci-ico { transition: transform .4s var(--ease-spring); }
.guarantee:hover .g-ico, .value-card:hover .value-ico, .ci-card:hover .ci-ico { transform: translateY(-3px) rotate(-4deg); }

/* eyebrow: leading accent line */
.eyebrow::before { content:""; display:inline-block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; vertical-align: middle; margin-right: 2px; opacity: .8; }
.section-head.center .eyebrow::before { display: none; }

/* ---- Marquee (auto-scrolling brands) ---- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--navy); opacity: .4; letter-spacing: -.03em; white-space: nowrap; transition: opacity .25s ease, transform .25s ease; }
.marquee-track span:hover { opacity: .9; transform: translateY(-2px); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* counters keep layout stable */
.stat .num { font-variant-numeric: tabular-nums; }

/* link-arrow underline grow */
.link-arrow { position: relative; }

/* ---- Page-load hero entrance ---- */
@keyframes fadeUp { from { opacity:0; transform: translateY(22px); } to { opacity:1; transform:none; } }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .orb, .marquee-track, .cats::before, .page-hero::before { animation: none !important; }
  .btn::after { display: none !important; }
  .case-card:hover, .prod-card:hover, .post-card:hover, .cat-card:hover { transform: none; }
}

/* ---- Bento "full-service" grid (dark, glassy) ---- */
.bento { position: relative; overflow: hidden; background: var(--grad-navy); color: #fff; }
.bento .section-head h2 { color: #fff; }
.bento .section-head p { color: #b9c8e4; }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(158px, auto); gap: 18px; }
.bento-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: var(--r-lg);
  padding: 26px; transition: transform .4s var(--ease-out), background-color .3s ease, border-color .3s ease;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.bento-card::before { content:""; position:absolute; inset:0; opacity:0; transition: opacity .4s ease; background: radial-gradient(460px 240px at 110% -10%, rgba(42,125,225,.30), transparent 62%); }
.bento-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.bento-card:hover::before { opacity: 1; }
.bento-card > * { position: relative; z-index: 1; }
.bento-card.big { grid-column: span 2; grid-row: span 2; padding: 34px; }
.bento-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; margin-bottom: 16px; box-shadow: var(--shadow-md); transition: transform .4s var(--ease-spring); }
.bento-card:hover .bento-ico { transform: translateY(-3px) rotate(-5deg); }
.bento-ico svg { width: 26px; height: 26px; }
.bento-card.big .bento-ico { width: 62px; height: 62px; border-radius: 18px; }
.bento-card.big .bento-ico svg { width: 31px; height: 31px; }
.bento-card h3 { color: #fff; font-size: 1.16rem; letter-spacing: -.01em; }
.bento-card.big h3 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.bento-card p { color: #aebbd6; font-size: .9rem; margin-top: 8px; line-height: 1.55; }
.bento-card.big p { font-size: 1.02rem; max-width: 42ch; }
.b-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; padding-top: 22px; }
.b-chips span { font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: #d3e1f7; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-pill); padding: 7px 14px; }
.bento-card .link-arrow { color: #7fb0ee; margin-top: 16px; }
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.big { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.big { grid-column: span 1; }
}

/* ---- Guided quote wizard (Custom Ink / 4imprint style) ---- */
.wizard { max-width: 940px; margin: 0 auto; background:#fff; border:1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.wizard-progress { display:flex; align-items:flex-start; padding: 26px clamp(18px,3vw,44px) 22px; border-bottom:1px solid var(--line); position:relative; background: linear-gradient(180deg,#fff, var(--bg-soft)); }
.wz-step { display:flex; flex-direction:column; align-items:center; gap:9px; flex:1; position:relative; z-index:1; }
.wz-step .wz-num { width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid var(--line-2); color:var(--muted); font-family:var(--font-head); font-weight:800; font-size:.98rem; transition:.35s var(--ease-out); }
.wz-step .wz-num svg{ width:18px;height:18px; display:none; }
.wz-step .wz-label { font-family:var(--font-head); font-weight:600; font-size:.76rem; color:var(--muted); text-align:center; transition:color .3s; letter-spacing:.01em; }
.wz-step.active .wz-num { background:var(--grad-blue); border-color:transparent; color:#fff; box-shadow:var(--glow-blue); transform:scale(1.06); }
.wz-step.active .wz-label { color:var(--navy); }
.wz-step.done .wz-num { background:var(--navy); border-color:transparent; color:#fff; }
.wz-step.done .wz-num b { display:none; } .wz-step.done .wz-num svg { display:block; }
.wz-step.done .wz-label { color:var(--ink); }
.wizard-progress::before { content:""; position:absolute; top:47px; left:11%; right:11%; height:3px; background:var(--line-2); border-radius:3px; z-index:0; }
.wizard-progress .wz-bar-fill { position:absolute; top:47px; left:11%; height:3px; background:var(--navy); border-radius:3px; z-index:0; width:0; transition:width .45s var(--ease-out); }

.wizard-body { padding: clamp(26px,4vw,46px); position:relative; }
.wz-panel { display:none; }
.wz-panel.active { display:block; animation: wzIn .45s var(--ease-out); }
@keyframes wzIn { from { opacity:0; transform: translateY(14px); } to { opacity:1; transform:none; } }
.wz-panel .wz-eyebrow { font-family:var(--font-head); font-weight:700; font-size:.76rem; letter-spacing:.12em; text-transform:uppercase; color:var(--blue); }
.wz-panel h2 { font-size: clamp(1.4rem,2.6vw,2rem); margin-top:8px; }
.wz-panel .wz-sub { color:var(--muted); margin-top:8px; font-size:1.02rem; }

.wz-choices { display:grid; grid-template-columns: repeat(auto-fit, minmax(155px,1fr)); gap:14px; margin-top:26px; }
.wz-choices.cols-3 { grid-template-columns: repeat(3,1fr); }
.wz-choice { position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:11px; padding:18px; border:2px solid var(--line-2); border-radius:var(--r); cursor:pointer; transition:.2s var(--ease-out); background:#fff; }
.wz-choice:hover { border-color:var(--blue); transform:translateY(-3px); box-shadow:var(--shadow-sm); }
.wz-choice input { position:absolute; opacity:0; pointer-events:none; }
.wz-choice .wz-ico { width:46px;height:46px;border-radius:13px;display:grid;place-items:center;color:#fff; box-shadow:var(--shadow-sm); }
.wz-choice .wz-ico svg{width:23px;height:23px;}
.wz-choice b { font-family:var(--font-head); font-size:1.02rem; color:var(--ink); letter-spacing:-.01em; }
.wz-choice small { color:var(--muted); font-size:.82rem; line-height:1.4; }
.wz-choice .wz-check { position:absolute; top:12px; right:12px; width:24px;height:24px;border-radius:50%; background:var(--navy); display:none; place-items:center; color:#fff; }
.wz-choice .wz-check svg{ width:13px;height:13px; }
.wz-choice:has(input:checked), .wz-choice.is-selected { border-color:var(--navy); background:#f4f8ff; box-shadow: var(--ring); }
.wz-choice:has(input:checked) .wz-check, .wz-choice.is-selected .wz-check { display:grid; }

.wz-price-hint { margin-top:26px; padding:20px 24px; border-radius:var(--r); background: linear-gradient(135deg, rgba(22,104,201,.09), rgba(93,185,70,.07)); border:1px solid rgba(22,104,201,.18); display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.wz-price-hint .wz-price-big { font-family:var(--font-head); font-weight:800; font-size:1.9rem; color:var(--navy); line-height:1; white-space:nowrap; }
.wz-price-hint .wz-price-big small { font-size:.5em; color:var(--muted); font-weight:700; }
.wz-price-hint .wz-price-txt { font-size:.9rem; color:var(--text); flex:1; min-width:200px; }
.wz-price-hint .wz-price-txt b { color:var(--ink); }
.wz-price-note { font-size:.78rem; color:var(--muted); margin-top:10px; }

.wz-fields { display:grid; grid-template-columns:1fr 1fr; gap:18px 20px; margin-top:24px; }
.wz-fields .field.full { grid-column:1/-1; }

.wz-review { margin-top:6px; display:grid; gap:10px; }
.wz-review-row { display:flex; justify-content:space-between; gap:16px; padding:14px 18px; background:var(--bg-soft); border:1px solid var(--line); border-radius:12px; }
.wz-review-row dt { font-family:var(--font-head); font-weight:600; color:var(--muted); font-size:.82rem; text-transform:uppercase; letter-spacing:.06em; }
.wz-review-row dd { color:var(--ink); font-weight:600; text-align:right; font-size:.95rem; max-width:60%; }

.wz-actions { display:flex; align-items:center; justify-content:space-between; margin-top:34px; gap:14px; }
.wz-back { font-family:var(--font-head); font-weight:600; color:var(--muted); display:inline-flex; align-items:center; gap:8px; padding:12px 6px; background:none; }
.wz-back svg { width:18px; height:18px; }
.wz-back:hover { color:var(--navy); }
.wz-back.hidden { visibility:hidden; }
.wz-hint-msg { color:var(--red); font-size:.85rem; font-weight:600; margin-top:14px; display:none; }
.wz-hint-msg.show { display:block; }

.wz-success { text-align:center; padding: 26px 10px 14px; }
.wz-success .wz-success-ico { width:84px;height:84px;border-radius:50%;background:rgba(93,185,70,.14);color:var(--green);display:grid;place-items:center;margin:0 auto 22px; }
.wz-success .wz-success-ico svg{ width:42px;height:42px; }
.wz-success h2 { font-size:1.9rem; }
.wz-success p { color:var(--text); margin-top:12px; max-width:42ch; margin-inline:auto; }

.wizard-trust { display:flex; align-items:center; justify-content:center; gap:14px 30px; flex-wrap:wrap; margin-top:26px; }
.wizard-trust .wt { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-head); font-weight:600; font-size:.88rem; color:var(--text); }
.wizard-trust .wt svg { width:18px; height:18px; color:var(--green); flex:none; }

@media (max-width:680px){
  .wz-step .wz-label { display:none; }
  .wizard-progress::before, .wizard-progress .wz-bar-fill { top:47px; }
  .wz-fields { grid-template-columns:1fr; }
  .wz-choices, .wz-choices.cols-3 { grid-template-columns: 1fr 1fr; }
}

/* ---- Volume / quantity-break pricing table (4imprint-style) ---- */
.price-table { overflow-x:auto; border-radius:var(--r-lg); border:1px solid var(--line); box-shadow:var(--shadow-sm); background:#fff; -webkit-overflow-scrolling:touch; }
.price-table table { width:100%; border-collapse:collapse; min-width:620px; }
.price-table th, .price-table td { padding:16px 20px; text-align:center; border-bottom:1px solid var(--line); white-space:nowrap; }
.price-table thead th { background:var(--navy); color:#fff; font-family:var(--font-head); font-weight:700; font-size:.85rem; letter-spacing:.02em; position:relative; }
.price-table thead th small { display:block; font-weight:500; font-size:.7rem; color:#9fb4d8; margin-top:2px; }
.price-table thead th:first-child { text-align:left; }
.price-table thead th.pt-best { background:var(--grad-blue); }
.price-table thead th.pt-best::after { content:"Best value"; position:absolute; top:-1px; left:0; right:0; font-size:.58rem; letter-spacing:.1em; text-transform:uppercase; color:#fff; background:var(--green); padding:2px 0; }
.price-table tbody td:first-child { text-align:left; font-family:var(--font-head); font-weight:700; color:var(--ink); }
.price-table tbody td:first-child .pt-cat { display:inline-flex; align-items:center; gap:11px; }
.price-table tbody tr:last-child td { border-bottom:none; }
.price-table tbody tr:hover { background:var(--bg-soft); }
.price-table .pt-dot { width:13px;height:13px;border-radius:50%;flex:none; }
.price-table td .pt-price { font-family:var(--font-head); font-weight:800; color:var(--navy); font-size:1.02rem; }
.price-table td.pt-best-col { background:rgba(22,104,201,.05); }
.price-note { text-align:center; font-size:.84rem; color:var(--muted); margin-top:18px; }
.price-cta { display:flex; justify-content:center; margin-top:26px; }

/* ---- Case-study slider (owner.com-style horizontal carousel) ---- */
.slider-head { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; }
.slider-tools { display:flex; align-items:center; gap:18px; }
.slider-nav { display:flex; gap:10px; }
.slider-btn { width:50px; height:50px; border-radius:50%; border:1.5px solid var(--line-2); background:#fff; color:var(--navy); display:grid; place-items:center; cursor:pointer; transition:.2s var(--ease-out); flex:none; }
.slider-btn:hover:not(:disabled) { background:var(--navy); color:#fff; border-color:transparent; transform:translateY(-2px); box-shadow:var(--shadow-md); }
.slider-btn:disabled { opacity:.3; cursor:default; }
.slider-btn svg { width:21px; height:21px; }
/* auto-scrolling ticker (owner.com-style) */
.case-marquee { overflow:hidden; padding:14px 0 32px; margin-top:40px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 2.5%,#000 97.5%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 2.5%,#000 97.5%,transparent); }
.case-marquee-track { display:flex; gap:20px; width:max-content; animation:caseScroll 75s linear infinite; }
.case-marquee:hover .case-marquee-track { animation-play-state:paused; }
@keyframes caseScroll { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce){ .case-marquee-track { animation:none; } }

.case-slider { display:flex; gap:20px; overflow-x:auto; margin-top:40px; cursor:grab; -webkit-overflow-scrolling:touch;
  padding: 6px max(24px, calc((100% - var(--container))/2 + 24px)) 26px; }
.case-slider.dragging { cursor:grabbing; }
.case-slider::-webkit-scrollbar { height:0; width:0; }
.case-slide { flex:0 0 304px; position:relative; aspect-ratio:3/4; border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow); text-decoration:none; transition:transform .4s var(--ease-out), box-shadow .4s var(--ease-out); background:var(--navy); }
.case-slide:hover { transform:translateY(-7px); box-shadow:var(--shadow-xl); }
.cs-media { position:absolute; inset:0; }
.cs-media .cs-illus { width:100%; height:100%; object-fit:cover; transition:transform .7s var(--ease-out); }
/* These carried vector placeholders originally, so no object-fit was needed.
   They hold real photography now, which stretches without it. */
.prod-media .prod-illus, .post-media .post-illus { object-fit: cover; }
.case-slide:hover .cs-illus { transform:scale(1.07); }
.cs-tag { position:absolute; top:15px; left:15px; z-index:3; background:rgba(7,15,35,.5); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); border:1px solid rgba(255,255,255,.28); color:#fff; font-family:var(--font-head); font-weight:600; font-size:.7rem; letter-spacing:.02em; padding:6px 12px; border-radius:99px; }
.cs-overlay { position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; justify-content:flex-end; padding:22px; color:#fff;
  background:linear-gradient(to top, rgba(7,15,35,.94) 0%, rgba(7,15,35,.6) 34%, rgba(7,15,35,.12) 58%, transparent 78%); }
.cs-stat { font-family:var(--font-head); font-weight:800; font-size:2.4rem; line-height:1; letter-spacing:-.02em; }
.cs-statlbl { font-size:.96rem; color:rgba(255,255,255,.82); margin-top:3px; font-weight:500; }
.cs-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:16px; padding-top:14px; border-top:1px solid rgba(255,255,255,.18); }
.cs-name { font-family:var(--font-head); font-weight:700; font-size:.95rem; }
.cs-arrow { width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,.16); display:grid; place-items:center; flex:none; transition:background-color .25s, transform .25s; }
.case-slide:hover .cs-arrow { background:var(--blue); transform:translateX(2px); }
.cs-arrow svg { width:15px; height:15px; }
@media (max-width:600px){ .case-slide { flex-basis:76vw; } .slider-nav { display:none; } .case-slider { gap:16px; } }

/* ---- Premium stats band (dark) ---- */
.stats-band { position:relative; overflow:hidden; background:var(--grad-navy); border-radius:var(--r-xl); padding:clamp(30px,4vw,48px) clamp(18px,3vw,38px); display:grid; grid-template-columns:repeat(4,1fr); gap:20px; box-shadow:var(--shadow-lg); }
.stats-band .orbs { z-index:0; }
.stats-band::after { content:""; position:absolute; inset:0; z-index:0; opacity:.5; mix-blend-mode:overlay; pointer-events:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); }
.sb-item { position:relative; z-index:1; text-align:center; padding:0 12px; }
.sb-item:not(:last-child)::after { content:""; position:absolute; right:0; top:14%; bottom:14%; width:1px; background:rgba(255,255,255,.13); }
.sb-ico { width:50px; height:50px; border-radius:14px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); display:grid; place-items:center; color:#fff; margin:0 auto 14px; transition:transform .4s var(--ease-spring); }
.sb-ico svg { width:24px; height:24px; }
.stats-band:hover .sb-item:hover .sb-ico { transform:translateY(-3px) scale(1.05); }
.stats-band .num { font-family:var(--font-head); font-weight:800; font-size:clamp(2rem,3.2vw,2.7rem); line-height:1; color:#fff; font-variant-numeric:tabular-nums; }
.stats-band .num.grad { background:var(--rainbow); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; }
.sb-lbl { color:#9fb4d8; font-size:.9rem; margin-top:10px; font-weight:500; }
@media(max-width:760px){
  .stats-band { grid-template-columns:1fr 1fr; gap:30px 12px; }
  .sb-item:nth-child(2n)::after { display:none; }
  .sb-item:nth-child(-n+2) { padding-bottom:30px; border-bottom:1px solid rgba(255,255,255,.1); }
}

/* ---- Wall of Love — richer testimonials ---- */
.wall-rating { display:inline-flex; align-items:center; gap:11px; margin-top:18px; padding:11px 22px; background:#fff; border:1px solid var(--line); border-radius:var(--r-pill); box-shadow:var(--shadow-sm); }
.wall-rating .stars { color:var(--yellow); font-size:1.1rem; letter-spacing:2px; }
.wall-rating span { color:var(--muted); font-size:.92rem; }
.wall-rating b { font-family:var(--font-head); color:var(--ink); }
.quote-card::before { content:"\201C"; position:absolute; top:2px; right:22px; font-family:Georgia,"Times New Roman",serif; font-size:5.5rem; line-height:1; color:var(--blue); opacity:.1; font-weight:700; pointer-events:none; z-index:0; }
.quote-card .quote-stars, .quote-card blockquote, .quote-card .quote-author { position:relative; z-index:1; }
.quote-verified { display:inline-flex; align-items:center; gap:5px; margin-left:auto; font-family:var(--font-head); font-weight:700; font-size:.66rem; letter-spacing:.05em; text-transform:uppercase; color:var(--green); white-space:nowrap; }
.quote-verified svg { width:14px; height:14px; flex:none; }


/* ============================================================
   FAQ — side-by-side split (homepage)
   ============================================================ */
.faq-split { display:grid; grid-template-columns: .82fr 1.18fr; gap: clamp(34px, 5vw, 66px); align-items: start; }
.faq-intro { position: sticky; top: 104px; }
.faq-intro > p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; max-width: 32ch; }
.faq-help { display:flex; align-items:center; gap:14px; margin: 26px 0 18px; padding: 16px 18px; background:#fff; border:1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.faq-help-ico { width:46px; height:46px; border-radius:13px; background: var(--grad-blue); display:grid; place-items:center; color:#fff; flex:none; box-shadow: 0 8px 18px -8px rgba(22,104,201,.7); }
.faq-help b { display:block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; }
.faq-help span { font-size: .86rem; color: var(--muted); }
.faq-split .faq { max-width: none; margin: 0; }
@media (max-width: 880px){
  .faq-split { grid-template-columns: 1fr; gap: 30px; }
  .faq-intro { position: static; text-align: center; }
  .faq-intro > p { margin-inline: auto; }
  .faq-help { max-width: 430px; margin-inline: auto; text-align:left; }
}

/* ============================================================
   Photo gallery (homepage) — masonry, swappable photo slots
   ============================================================ */
.gallery-grid { columns: 4; column-gap: 16px; margin-top: 48px; }
.gallery-item { position: relative; display:block; break-inside: avoid; margin-bottom: 16px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.gallery-item .g-photo { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; z-index:1; }
.gallery-item::after { content:""; position:absolute; inset:0; background: rgba(10,26,60,0); transition: background .35s ease; z-index:2; }
.gallery-item:hover::after { background: rgba(10,26,60,.16); }
.gallery-item .g-label { position:absolute; left:0; right:0; bottom:0; z-index:3; display:flex; align-items:center; gap:8px; padding: 32px 16px 15px; color:#fff; font-family: var(--font-head); font-weight: 700; font-size: .96rem; background: linear-gradient(to top, rgba(7,15,35,.66), rgba(7,15,35,.08) 72%, transparent); }
.gallery-item .g-label svg { flex:none; opacity:.92; }
@media (max-width: 1024px){ .gallery-grid { columns: 3; } }
@media (max-width: 680px){ .gallery-grid { columns: 2; column-gap: 12px; } .gallery-item { margin-bottom: 12px; } }

/* center case-study hero stats within the now-centered page-hero */
.page-hero .cs-hero-stats { justify-content: center; flex-wrap: wrap; }


/* ============================================================
   Categories cards — elevated (hover "Shop X" CTA, colored glow, zoom)
   ============================================================ */
.cats-grid { gap: 20px; }
.cat-card { min-height: 304px; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s ease; }
.cat-media .cat-illus { transition: transform .65s var(--ease-out); }
.cat-card:hover .cat-illus { transform: scale(1.06); }
.cat-card:hover { border-color: rgba(255,255,255,.22); }
.cat-card:has(.bg-blue):hover   { box-shadow: 0 26px 52px -18px rgba(22,104,201,.6); }
.cat-card:has(.bg-green):hover  { box-shadow: 0 26px 52px -18px rgba(93,185,70,.55); }
.cat-card:has(.bg-orange):hover { box-shadow: 0 26px 52px -18px rgba(247,148,30,.55); }
.cat-card:has(.bg-red):hover    { box-shadow: 0 26px 52px -18px rgba(230,46,45,.5); }
.cat-card:has(.bg-teal):hover   { box-shadow: 0 26px 52px -18px rgba(22,169,196,.55); }
.cat-card:has(.bg-purple):hover { box-shadow: 0 26px 52px -18px rgba(142,68,173,.55); }
.cat-ico { transition: transform .4s var(--ease-spring); }
.cat-card:hover .cat-ico { transform: translateY(-3px) scale(1.05); }
.cat-cta { display:inline-flex; align-items:center; gap:7px; max-height:0; opacity:0; margin-top:0; overflow:hidden; transform:translateY(6px); font-family:var(--font-head); font-weight:700; font-size:.84rem; letter-spacing:-.01em; color:#fff; transition: max-height .42s var(--ease-out), opacity .35s var(--ease-out), transform .35s var(--ease-out), margin-top .42s var(--ease-out); }
.cat-card:hover .cat-cta { max-height:30px; opacity:1; margin-top:14px; transform:translateY(0); }
.cat-cta svg { transition: transform .3s var(--ease-out); }
.cat-card:hover .cat-cta svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce){ .cat-card:hover .cat-illus, .cat-card:hover .cat-ico { transform:none; } .cat-cta { transition:none; } }


/* ============================================================
   Categories — BENTO featured layout (Apparel hero + varied tiles)
   Desktop only (>=1101px); below that the 3/2/1-col grid applies.
   ============================================================ */
.cat-media .cat-illus { object-fit: cover; }
@media (min-width: 1101px) {
  .cats-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 205px; gap: 18px; }
  .cats-grid .cat-card { min-height: 0; }
  .cat-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }  /* Apparel  — hero 2x2 */
  .cat-card:nth-child(2) { grid-column: 3 / 5; grid-row: 1 / 2; }  /* Drinkware — wide */
  .cat-card:nth-child(3) { grid-column: 3 / 4; grid-row: 2 / 3; }  /* Bags */
  .cat-card:nth-child(4) { grid-column: 4 / 5; grid-row: 2 / 3; }  /* Office */
  .cat-card:nth-child(5) { grid-column: 1 / 3; grid-row: 3 / 4; }  /* Signs — wide */
  .cat-card:nth-child(6) { grid-column: 3 / 5; grid-row: 3 / 4; }  /* Gifts — wide */
  /* featured Apparel tile: larger content + persistent CTA */
  .cat-card:nth-child(1) .cat-body { padding: 28px; }
  .cat-card:nth-child(1) .cat-ico { width: 58px; height: 58px; margin-bottom: 16px; }
  .cat-card:nth-child(1) .cat-ico svg { width: 27px; height: 27px; }
  .cat-card:nth-child(1) h3 { font-size: 1.85rem; letter-spacing: -.02em; }
  .cat-card:nth-child(1) p { font-size: .98rem; margin-top: 7px; }
  .cat-card:nth-child(1) .cat-cta { max-height: 32px; opacity: 1; margin-top: 16px; transform: none; font-size: .96rem; }
}


/* ============================================================
   Featured / Popular Products strip
   ============================================================ */
.prod-strip { display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.psp-card { display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-sm); text-decoration:none; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s ease; }
.psp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.psp-media { position:relative; aspect-ratio: 16/11; display:grid; place-items:center; overflow:hidden; }
.psp-media .psp-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:1; }
.psp-ico { width:74px; height:74px; color:#fff; opacity:.92; filter: drop-shadow(0 8px 16px rgba(0,0,0,.22)); transition: transform .5s var(--ease-out); }
.psp-card:hover .psp-ico { transform: translateY(-4px) scale(1.06); }
.psp-tag { position:absolute; top:13px; left:13px; z-index:2; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--navy); font-family: var(--font-head); font-weight:700; font-size:.66rem; letter-spacing:.05em; text-transform:uppercase; padding:5px 11px; border-radius:99px; box-shadow: var(--shadow-sm); }
.psp-body { padding: 15px 18px 18px; display:flex; flex-direction:column; gap:12px; flex:1; }
.psp-name { font-family: var(--font-head); font-weight:700; font-size:1.02rem; color: var(--ink); letter-spacing:-.01em; line-height:1.25; }
.psp-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; }
.psp-price { font-size:.84rem; color: var(--muted); }
.psp-price b { font-family: var(--font-head); font-size:1.18rem; color: var(--navy); letter-spacing:-.02em; }
.psp-min { font-size:.72rem; color: var(--muted); background: var(--bg-soft); border:1px solid var(--line); padding:4px 9px; border-radius:99px; white-space:nowrap; }
@media (max-width: 900px){ .prod-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .prod-strip { grid-template-columns: 1fr; } }


/* ============================================================
   Industries served — compact icon tiles
   ============================================================ */
.ind-tiles { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.ind-tile { display:flex; align-items:center; gap:16px; padding:20px 22px; background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); text-decoration:none; position:relative; overflow:hidden; transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease; }
.ind-tile::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease-out); }
.ind-tile:has(.bg-green)::before { background: var(--green); }
.ind-tile:has(.bg-navy)::before { background: var(--navy); }
.ind-tile:has(.bg-orange)::before { background: var(--orange); }
.ind-tile:has(.bg-teal)::before { background: var(--teal); }
.ind-tile:has(.bg-red)::before { background: var(--red); }
.ind-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.ind-tile:hover::before { transform: scaleY(1); }
.it-ico { width:48px; height:48px; border-radius:14px; flex:none; display:grid; place-items:center; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-spring); }
.it-ico svg { width:23px; height:23px; }
.ind-tile:hover .it-ico { transform: translateY(-2px) rotate(-4deg); }
.it-text { display:flex; flex-direction:column; gap:2px; }
.it-text b { font-family: var(--font-head); font-weight:700; font-size:1.02rem; color: var(--ink); letter-spacing:-.01em; }
.it-text span { font-size:.83rem; color: var(--muted); }
@media (max-width: 860px){ .ind-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .ind-tiles { grid-template-columns: 1fr; } }


/* ============================================================
   Decoration methods — interactive 3D tilt cards
   ============================================================ */
.tilt-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; perspective: 1100px; }
.tilt-card { position:relative; background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px; box-shadow: var(--shadow-sm); transform-style: preserve-3d; transition: transform .35s var(--ease-out), box-shadow .35s ease, border-color .35s ease; will-change: transform; overflow:hidden; }
.tilt-card:hover { box-shadow: var(--shadow-xl); border-color: transparent; }
.tilt-glare { position:absolute; inset:0; z-index:3; pointer-events:none; opacity:0; transition: opacity .35s ease; background: radial-gradient(420px circle at var(--gx,50%) var(--gy,50%), rgba(120,170,255,.18), transparent 45%); }
.tilt-card:hover .tilt-glare { opacity:1; }
.tc-inner { position:relative; z-index:2; transform-style: preserve-3d; }
.tc-ico { width:60px; height:60px; border-radius:17px; display:grid; place-items:center; box-shadow: var(--shadow-md); margin-bottom:20px; transform: translateZ(45px); }
.tc-ico svg { width:28px; height:28px; }
.tilt-card h3 { font-size:1.2rem; letter-spacing:-.01em; transform: translateZ(28px); }
.tilt-card p { color: var(--muted); font-size:.9rem; line-height:1.6; margin-top:9px; transform: translateZ(16px); }
.tilt-card::after { content:""; position:absolute; inset:0; border-radius:inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.6); pointer-events:none; }
@media (max-width: 900px){ .tilt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .tilt-grid { grid-template-columns: 1fr; } .tilt-card { transform:none !important; } }


/* ==========================================================================
   23. MASTERY LAYER — refined type scale · layered depth · crafted details
   Appended last so equal-specificity rules here win. WordPress-safe.
   ========================================================================== */

/* ---- Tokens: layered shadow system + more generous rhythm ---- */
:root {
  --shadow-sm: 0 1px 2px rgba(16,27,51,.05), 0 4px 12px -2px rgba(16,27,51,.06);
  --shadow:    0 2px 6px rgba(16,27,51,.05), 0 16px 36px -10px rgba(16,27,51,.12);
  --shadow-md: 0 3px 10px rgba(16,27,51,.06), 0 24px 56px -16px rgba(16,27,51,.18);
  --shadow-lg: 0 6px 18px rgba(16,27,51,.07), 0 42px 92px -24px rgba(16,27,51,.26);
  --section-y: clamp(48px, 5.4vw, 84px);
}

/* ---- Typography: larger display scale, balanced wrapping ---- */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
body { line-height: 1.65; }
h1 { font-size: clamp(2.55rem, 5.6vw, 4.35rem); line-height: 1.03; }
h2 { font-size: clamp(2rem, 3.9vw, 3.15rem); line-height: 1.07; }
.section-head h2 + p { font-size: 1.13rem; line-height: 1.75; }
.hero-sub { font-size: 1.17rem; line-height: 1.7; }
.page-hero { padding-block: clamp(52px, 6vw, 90px); }
.page-hero h1 { font-size: clamp(2.2rem, 3.9vw, 3.35rem); }
.page-hero p { font-size: 1.1rem; line-height: 1.7; }
.cta-band h2 { font-size: clamp(2.1rem, 4.2vw, 3.35rem); }

/* ---- Eyebrows: symmetric accent lines when centered ---- */
.section-head.center .eyebrow::before,
.section-head.center .eyebrow::after {
  content: ""; display: inline-block; width: 22px; height: 2px; border-radius: 2px;
  background: currentColor; opacity: .8; vertical-align: middle;
}
.section-head.center .eyebrow::after { margin-left: 2px; }

/* ---- Buttons: inner highlight, springier press ---- */
.btn { letter-spacing: .015em; }
.btn-primary { box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 12px 26px rgba(10,26,60,.30); }
.btn-blue    { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 12px 26px rgba(22,104,201,.32); }
.btn-accent  { box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 12px 26px rgba(247,148,30,.36); }
.btn:hover { transform: translateY(-2px) scale(1.012); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: .08s; }

/* ---- Header & dropdowns: crisper chrome ---- */
.nav-link { font-weight: 600; }
.nav-link.is-current { color: var(--blue); background: rgba(22,104,201,.08); }
.dropdown { padding: 12px; border-radius: 18px; box-shadow: var(--shadow-lg); border-color: rgba(16,27,51,.09); }
.dropdown a { transition: background-color .18s ease, color .18s ease, transform .22s var(--ease-out); }
.dropdown a:hover { transform: translateX(3px); }

/* ---- Reveal: springier rise with a hint of scale ---- */
.reveal { transform: translateY(30px) scale(.985); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }

/* ---- Media frames: hairline inner ring for craft ---- */
.media-frame, .cs-photo-frame, .psp-media { position: relative; }
.media-frame::after, .cs-photo-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(16,27,51,.07), inset 0 1px 0 rgba(255,255,255,.28);
}

/* ---- Cards & quotes: roomier, more considered ---- */
.quote-card { padding: 30px; }
.quote-card blockquote { font-size: 1.03rem; line-height: 1.7; }
.faq-q { font-size: 1.07rem; }
.faq-item { transition: box-shadow .25s ease, border-color .25s ease; }
.faq-item:hover { border-color: var(--line-2); }
.faq-item.open { border-color: rgba(22,104,201,.32); }
.b-chips span { transition: background-color .2s ease, border-color .2s ease, transform .25s var(--ease-out); }
.bento-card:hover .b-chips span { border-color: rgba(255,255,255,.26); }

/* ---- Footer: rainbow hairline + sliding links ---- */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--rainbow); }
.footer-col a { display: inline-block; transition: color .2s ease, transform .25s var(--ease-out); }
.footer-col a:hover { transform: translateX(4px); }

/* ---- Stats: a touch more presence ---- */
.stats-band .num { font-size: clamp(2.2rem, 3.4vw, 2.95rem); }
.cs-hero-stats b { font-size: 2.3rem; }

/* Drinkware wide tile: crop to the mug/tumbler group, not the bottle neck */
.cats-grid .cat-card:nth-child(2) .cat-illus { object-position: 50% 78%; }

/* Stat figures never wrap mid-number ("3-Day" etc.) */
.stat .num, .stats-band .num, .cs-hero-stats b { white-space: nowrap; }


/* ==========================================================================
   24. HOMEPAGE REVAMP — kinetic showcase · pill marquee · tinted tiles
   ========================================================================== */

/* ---- Kinetic type showcase (replaces the WebGL band) ---- */
.kinetic-band { position: relative; overflow: hidden; background: var(--grad-navy); color: #fff; padding-block: clamp(56px, 6.5vw, 88px); }
.kinetic-band::after { content:""; position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.5; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); }
.kinetic-row { position: relative; z-index: 1; overflow: hidden; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.kinetic-row .marquee-track { gap: clamp(30px, 4vw, 60px); animation-duration: 56s; padding: 0; }
.kinetic-row.rev .marquee-track { animation-direction: reverse; animation-duration: 64s; }
.kinetic-row .marquee-track span {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(2.3rem, 5.2vw, 4.3rem); line-height: 1.2; white-space: nowrap; opacity: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(158,180,220,.42);
  background: none; border: 0; padding: 0; border-radius: 0; box-shadow: none;
}
.kinetic-row .marquee-track span.k-fill {
  -webkit-text-stroke: 0;
  background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kinetic-content { position: relative; z-index: 2; text-align: center; max-width: 780px; margin-inline: auto; padding-block: clamp(34px, 4.5vw, 54px); }
.kinetic-content h2 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.3rem); text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.kinetic-content p { color: #cdd9f2; margin-top: 16px; font-size: 1.08rem; line-height: 1.7; max-width: 56ch; margin-inline: auto; }
.kinetic-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
@media (prefers-reduced-motion: reduce) { .kinetic-row .marquee-track { animation: none; } }

/* ---- Brand marquee: plain text → tactile pill chips ---- */
.marquee .marquee-track { padding-block: 6px; }
.marquee .marquee-track span {
  font-size: 1.02rem; opacity: .8; color: var(--navy);
  border: 1.5px solid var(--line-2); background: #fff; border-radius: var(--r-pill);
  padding: 12px 24px; box-shadow: var(--shadow-sm);
}
.marquee .marquee-track span:hover { opacity: 1; border-color: var(--navy); transform: translateY(-2px); }

/* ---- Industries tiles: soft brand-color washes ---- */
.ind-tile:has(.bg-blue)   { background: linear-gradient(135deg, rgba(22,104,201,.09), #fff 58%); }
.ind-tile:has(.bg-green)  { background: linear-gradient(135deg, rgba(93,185,70,.10), #fff 58%); }
.ind-tile:has(.bg-navy)   { background: linear-gradient(135deg, rgba(10,26,60,.08), #fff 58%); }
.ind-tile:has(.bg-orange) { background: linear-gradient(135deg, rgba(247,148,30,.11), #fff 58%); }
.ind-tile:has(.bg-teal)   { background: linear-gradient(135deg, rgba(22,169,196,.10), #fff 58%); }
.ind-tile:has(.bg-red)    { background: linear-gradient(135deg, rgba(230,46,45,.08), #fff 58%); }
.ind-tile { border-color: transparent; }
.it-ico { width: 52px; height: 52px; }

/* ---- Guarantees: matching color washes ---- */
.guarantee:has(.bg-blue)   { background: linear-gradient(160deg, rgba(22,104,201,.07), #fff 52%); }
.guarantee:has(.bg-green)  { background: linear-gradient(160deg, rgba(93,185,70,.08), #fff 52%); }
.guarantee:has(.bg-orange) { background: linear-gradient(160deg, rgba(247,148,30,.09), #fff 52%); }
.guarantee:has(.bg-navy)   { background: linear-gradient(160deg, rgba(10,26,60,.07), #fff 52%); }

/* ---- Featured product cards: illustrated media ---- */
.psp-media .psp-img { z-index: 1; transition: transform .55s var(--ease-out); }
.psp-card:hover .psp-img { transform: scale(1.05); }

/* ============================================================
   HOMEPAGE REVISIONS (client review pass)
   ============================================================ */

/* ---- Full-bleed brand logo carousel ---- */
.logo-marquee {
  width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-track { display: flex; align-items: center; gap: 76px; width: max-content; animation: marquee 44s linear infinite; padding-block: 10px; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track img { height: 40px; width: auto; max-width: 170px; object-fit: contain; opacity: .5; filter: grayscale(1); transition: opacity .3s ease, filter .3s ease; flex: none; }
.logo-track img:hover { opacity: 1; filter: grayscale(0); }

/* ---- Bento: left copy / right animated column ---- */
.bento-split { display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; align-items: center; }
.bento-copy .section-head { max-width: none; }
.bento-copy .section-head p { color: #b9c8e4; }
.bento-col { display: flex; flex-direction: column; gap: 14px; }
.bento-row { display: flex; gap: 18px; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 20px 22px; transition: transform .35s var(--ease-out), background .35s ease, border-color .35s ease; }
.bento-row:hover { transform: translateX(6px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.24); }
.bento-row .bento-ico { margin-bottom: 0; flex: none; }
.bento-row h3 { color: #fff; font-size: 1.1rem; letter-spacing: -.01em; }
.bento-row p { color: #aebbd6; font-size: .9rem; margin-top: 4px; line-height: 1.5; }
@media (max-width: 900px) { .bento-split { grid-template-columns: 1fr; gap: 30px; } }

/* ---- Testimonials: continuous Google-review slider ---- */
.wall-rating .g-logo { width: 20px; height: 20px; }
.review-marquee {
  width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.review-track { display: flex; gap: 22px; width: max-content; animation: marquee 66s linear infinite; padding: 8px 11px; }
.review-marquee:hover .review-track { animation-play-state: paused; }
.review-card { flex: 0 0 380px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 13px; }
.rv-top { display: flex; align-items: center; justify-content: space-between; }
.rv-stars { color: var(--yellow); letter-spacing: 2px; font-size: 1rem; }
.rv-g { width: 20px; height: 20px; }
.review-card blockquote { margin: 0; color: var(--ink); font-size: .96rem; line-height: 1.6; flex: 1; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; }
.rv-ava { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .86rem; overflow: hidden; flex: none; }
.rv-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.review-card figcaption b { display: block; font-size: .95rem; color: var(--ink); }
.review-card figcaption small { color: var(--muted); font-size: .82rem; }
@media (max-width: 560px) { .review-card { flex-basis: 300px; } }

/* ---- CTA band: colorful logo-style circles (replaces stripes) ---- */
.cta-circles { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.cta-circles span { position: absolute; border-radius: 50%; }
.cta-circles .c1 { width: 132px; height: 132px; background: var(--blue);   right: 7%;  top: -44px; opacity: .85; }
.cta-circles .c2 { width: 92px;  height: 92px;  background: var(--green);  right: 2%;  top: 34%;   opacity: .9; }
.cta-circles .c3 { width: 60px;  height: 60px;  background: var(--orange); right: 15%; top: 24%;   opacity: .95; }
.cta-circles .c4 { width: 168px; height: 168px; background: var(--red);    right: -54px; bottom: -60px; opacity: .8; }
.cta-circles .c5 { width: 46px;  height: 46px;  background: var(--yellow); right: 24%; bottom: 16%; opacity: .95; }
.cta-circles .c6 { width: 78px;  height: 78px;  background: var(--blue);   right: 33%; top: 4%;    opacity: .4; }
.cta-circles .c7 { width: 34px;  height: 34px;  background: var(--green);  right: 10%; top: 62%;   opacity: .8; }
.cta-circles .c8 { width: 56px;  height: 56px;  background: var(--orange); right: 40%; bottom: 30%; opacity: .3; }
@media (max-width: 820px) { .cta-circles .c6, .cta-circles .c8 { display: none; } }

/* ============================================================
   REVIEW PASS 2 (footer watermark, category photos, page headers)
   ============================================================ */

/* ---- Derby Digital footer watermark ---- */
.derby-watermark { background: #0b0b0f; color: #d7dae2; padding: 22px 0; font-size: .95rem; }
.derby-watermark .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.derby-watermark span { font-family: var(--font-head); font-weight: 600; letter-spacing: .01em; }
.derby-watermark a {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; display: inline-block;
  background: linear-gradient(100deg, #5eead4 0%, #38bdf8 30%, #2563eb 55%, #6366f1 80%, #38bdf8 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  transition: transform .25s var(--ease-spring), filter .25s ease;
}
.derby-watermark a:hover { animation: derbyShine 1.6s linear infinite; transform: translateY(-1px); filter: drop-shadow(0 2px 10px rgba(56,189,248,.4)); }
@keyframes derbyShine { to { background-position: 220% center; } }
.derby-watermark .derby-mark { display: inline-flex; }
.derby-watermark .derby-mark img { height: 64px; width: auto; display: block; transition: transform .35s var(--ease-spring); transform-origin: center; }
.derby-watermark .derby-mark:hover img { animation: derbyWiggle .7s ease; }
@keyframes derbyWiggle {
  0% { transform: scale(1) rotate(0); }
  30% { transform: scale(1.16) rotate(-6deg); }
  55% { transform: scale(1.14) rotate(5deg); }
  75% { transform: scale(1.15) rotate(-3deg); }
  100% { transform: scale(1.13) rotate(0); }
}
.derby-watermark .derby-mark:hover img { transform: scale(1.13); }
@media (max-width: 560px) { .derby-watermark .derby-mark img { height: 48px; } }

/* ---- Category grid: real photos ---- */
.cat-card .cat-media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.cat-card .cat-photo { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.cat-card:hover .cat-photo { transform: scale(1.06); }
.cat-card .cat-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6,18,43,.82)); }
.cat-card .cat-body { position: relative; }
.cat-card.photo-card { display: block; position: relative; border-radius: var(--r-lg); overflow: hidden; }
.cat-card.photo-card .cat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; z-index: 2; }
.cat-card.photo-card h3 { color: #fff; }
.cat-card.photo-card p { color: rgba(255,255,255,.82); }
.cat-card.photo-card .cat-cta { color: #fff; margin-top: 8px; }
.cat-card.photo-card .cat-body { display: flex; flex-direction: column; align-items: flex-start; }
.cat-card.photo-card .cat-ico { position: static; margin: 0 0 10px; }

/* ---- Page header redesign: text left, image bleeds right, blends ---- */
/* Photo covers the whole header; a left→right gradient darkens the left to navy
   so the copy sits on solid color and the image shows on the right. Bulletproof
   at every width — no bleed math, always reaches both edges. */
.page-hero.split { position: relative; display: block; text-align: left; padding: 0; overflow: hidden; }
.page-hero.split .ph-media { position: absolute; top: 0; bottom: 0; left: calc((100% - 100vw) / 2); width: 100vw; z-index: 0; }
.page-hero.split .ph-media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.page-hero.split .ph-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 34%, rgba(10,26,60,.72) 50%, rgba(10,26,60,.25) 68%, rgba(10,26,60,.05) 84%, transparent 100%); }
.page-hero.split .container { position: relative; z-index: 2; }
.page-hero.split .ph-copy { position: relative; z-index: 2; max-width: 540px; padding-block: clamp(46px, 5.2vw, 84px); text-shadow: 0 1px 12px rgba(6,15,35,.35); }
.page-hero.split h1 { font-size: clamp(1.9rem, 3.1vw, 2.75rem); }
.page-hero.split .ph-copy p { margin-top: 16px; }
.page-hero.split .ph-copy .hero-cta { justify-content: flex-start; margin-top: 26px; }
@media (max-width: 900px) {
  .page-hero.split .ph-media::after {
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 44%, rgba(10,26,60,.65) 66%, rgba(10,26,60,.35) 100%),
                linear-gradient(0deg, rgba(6,15,35,.5), transparent 60%); }
  .page-hero.split .ph-copy { max-width: none; }
}

/* ---- Partner logos (about page): show in full color ---- */
.partner-marquee .logo-track { gap: 66px; }
.partner-marquee .logo-track img { filter: none; opacity: .82; height: 48px; max-width: 210px; }
.partner-marquee .logo-track img:hover { opacity: 1; }

/* ============================================================
   REVIEW PASS 4 (about redesigns + compact order wizard)
   ============================================================ */

/* ---- Values cards: accent bar + animated icon ---- */
.value-card { position: relative; overflow: hidden; }
.value-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--v-accent, var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.value-card:hover::before { transform: scaleX(1); }
.value-grid .value-card:nth-child(1) { --v-accent: var(--blue); }
.value-grid .value-card:nth-child(2) { --v-accent: var(--green); }
.value-grid .value-card:nth-child(3) { --v-accent: var(--orange); }
.value-grid .value-card:nth-child(4) { --v-accent: #7e3fac; }
.value-card .value-ico { transition: transform .4s var(--ease-spring); }
.value-card:hover .value-ico { transform: rotate(-6deg) scale(1.06); }
.value-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .value-grid { grid-template-columns: 1fr; } }

/* ---- Timeline: clean & calm (items simply fade in via .reveal) ---- */
.timeline { max-width: 820px; }
.tl-item { grid-template-columns: 96px 1fr; gap: 30px; padding-bottom: 30px; }
.tl-item::before { left: 108px; top: 12px; bottom: -6px; width: 3px; border-radius: 3px;
  background: var(--line-2); }
.tl-year { font-size: 1.15rem; color: var(--blue); font-weight: 800; padding-top: 6px; }
.tl-year::after { right: -22px; top: 8px; width: 15px; height: 15px; border-width: 3px;
  background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22,104,201,.08); }
.tl-body { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 22px; box-shadow: var(--shadow-sm); transition: box-shadow .3s ease; }
.tl-item:hover .tl-body { box-shadow: var(--shadow-md); }
.tl-body h4 { font-size: 1.12rem; }

/* ---- Stats: cards with accent + hover ---- */
.stats { gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 16px 26px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease; }
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--s-accent, var(--blue)); }
.stats .stat:nth-child(1) { --s-accent: var(--blue); }
.stats .stat:nth-child(2) { --s-accent: var(--green); }
.stats .stat:nth-child(3) { --s-accent: var(--orange); }
.stats .stat:nth-child(4) { --s-accent: var(--rainbow); }

/* ---- Order wizard: more compact (less scrolling) ---- */
.wizard-progress { padding: 18px clamp(16px,2.5vw,34px) 15px; }
.wizard-progress::before, .wizard-progress .wz-bar-fill { top: 39px; }
.wizard-body { padding: clamp(20px,2.6vw,32px); }
.wz-panel h2 { font-size: clamp(1.3rem,2.2vw,1.7rem); margin-top: 6px; }
.wz-panel .wz-sub { font-size: .95rem; margin-top: 5px; }
.wz-choices { gap: 11px; margin-top: 18px; }
.wz-choice { padding: 13px 14px; gap: 8px; }
.wz-choice .wz-ico { width: 38px; height: 38px; border-radius: 11px; }
.wz-choice .wz-ico svg { width: 19px; height: 19px; }
.wz-choice b { font-size: .96rem; }
.wz-choice small { font-size: .78rem; }
.wz-actions { margin-top: 22px; }

/* ---- Order step 1: horizontal product cards (much shorter) ---- */
.wz-choices.cols-3 .wz-choice { display: grid; grid-template-columns: auto 1fr;
  grid-template-areas: 'ico title' 'ico sub'; align-items: center; column-gap: 13px; row-gap: 1px; padding: 12px 15px; }
.wz-choices.cols-3 .wz-choice .wz-ico { grid-area: ico; margin: 0; }
.wz-choices.cols-3 .wz-choice b { grid-area: title; align-self: end; }
.wz-choices.cols-3 .wz-choice small { grid-area: sub; align-self: start; }

/* ============================================================
   REVIEW PASS 5 (visual mega-menu + dropdown polish)
   ============================================================ */
.dropdown.mega { min-width: 640px; padding: 16px; }
.mega-products { left: 0; transform: translateX(0) translateY(8px); }
.nav-item:hover .mega-products, .nav-item:focus-within .mega-products { transform: translateX(0) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mega-tile { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; }
.mega-tile:hover { background: var(--bg-soft); transform: none; }
.mega-tile .tile-media { width: 64px; height: 46px; border-radius: 10px; overflow: hidden; flex: none; box-shadow: var(--shadow-sm); }
.mega-tile .tile-media img { width: 100%; height: 100%; object-fit: cover; }
.mega-tile .tile-body b { display: block; font-family: var(--font-head); font-size: .92rem; color: var(--ink); line-height: 1.2; }
.mega-tile:hover .tile-body b { color: var(--blue); }
.mega-tile .tile-body small { display: block; color: var(--muted); font-size: .75rem; margin-top: 2px; }
.mega-all { display: flex !important; align-items: center; justify-content: center; gap: 6px;
  margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; color: var(--blue); }
.mega-all:hover { transform: none; background: transparent; }
.mega-all svg { width: 15px; height: 15px; }

/* Non-mega dropdowns: larger rounded color chips (more visual) */
.dropdown:not(.mega) { min-width: 268px; }
.dropdown:not(.mega) a .dot { width: 16px; height: 16px; border-radius: 6px; }

/* Case-study grid thumbnails: cover real photos */
.case-media .case-illus { object-fit: cover; }

/* ============================================================
   CONTACT POPUP MODAL
   ============================================================ */
.qf-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.qf-modal.open { display: flex; }
.qf-modal-backdrop { position: absolute; inset: 0; background: rgba(6,15,35,.55); backdrop-filter: blur(3px); animation: qfFade .25s ease; }
.qf-modal-card { position: relative; z-index: 1; width: 100%; max-width: 460px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-xl); padding: 32px; animation: qfPop .28s var(--ease-spring); max-height: 92vh; overflow: auto; }
.qf-modal-x { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .18s; }
.qf-modal-x:hover { background: var(--line); }
.qf-modal-sub { color: var(--muted); margin-top: 8px; font-size: .95rem; }
.qf-modal-form { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.qf-modal-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .86rem; color: var(--ink); }
.qf-modal-form input, .qf-modal-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: inherit; }
.qf-modal-form input:focus, .qf-modal-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: var(--ring); }
.qf-modal-form textarea { resize: vertical; }
.qf-modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qf-modal-err { color: var(--red); font-size: .85rem; margin: 4px 0 0; }
.qf-modal-done { text-align: center; padding: 12px 0 4px; }
.qf-modal-check { width: 60px; height: 60px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin: 0 auto 6px; }
.qf-modal-done .btn { margin-top: 16px; }
@keyframes qfFade { from { opacity: 0; } }
@keyframes qfPop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@media (max-width: 480px) { .qf-modal-row { grid-template-columns: 1fr; } .qf-modal-card { padding: 24px; } }

/* ============================================================
   QUOTE CART
   ============================================================ */
.header-cta { align-items: center; }
.cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff;
  color: var(--navy); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.cart-btn:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.cart-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800;
  font-size: .72rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; }

.cart-drawer { position: fixed; inset: 0; z-index: 210; display: none; }
.cart-drawer.open { display: block; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(6,15,35,.5); backdrop-filter: blur(2px); animation: qfFade .25s ease; }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 420px; max-width: 92vw; background: var(--bg-soft, #f4f6fb);
  display: flex; flex-direction: column; box-shadow: -16px 0 48px rgba(6,15,35,.28); animation: cartIn .32s var(--ease-out); }
@keyframes cartIn { from { transform: translateX(100%); } }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1.2rem; }
.cart-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.cart-x:hover { background: var(--line); }
.cart-view { display: flex; flex-direction: column; flex: 1; min-height: 0; }
/* [hidden] must win over the explicit display rules above/below, or the cart
   summary keeps showing behind the quote form (views overlap). */
.cart-view[hidden], .cart-formview[hidden], .cart-done[hidden] { display: none !important; }
.cart-body { flex: 1; overflow: auto; padding: 14px 18px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 12px; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 10px; margin-bottom: 10px; }
.cart-item img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 8px; }
.ci-info b { display: block; font-size: .9rem; line-height: 1.25; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci-info small { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; }
.ci-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.ci-qty button { width: 28px; height: 28px; border: 0; background: #fff; color: var(--ink); font-size: 1rem; cursor: pointer; }
.ci-qty button:hover { background: var(--bg-soft); color: var(--blue); }
.ci-qty input { width: 34px; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: .85rem; -moz-appearance: textfield; }
.ci-qty input::-webkit-outer-spin-button, .ci-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ci-remove { width: 26px; height: 26px; border: 0; background: transparent; color: var(--muted); font-size: 1.2rem; cursor: pointer; border-radius: 50%; }
.ci-remove:hover { background: #fde8e8; color: var(--red); }
.cart-foot { padding: 18px 20px; background: #fff; border-top: 1px solid var(--line); }
.cart-count { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.cart-note { color: var(--muted); font-size: .78rem; text-align: center; margin-top: 10px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.cart-empty b { color: var(--ink); font-size: 1.05rem; } .cart-empty .btn { margin-top: 8px; }

.cart-formview { padding: 22px 24px; overflow: auto; }
.cart-back { background: none; border: 0; color: var(--muted); font-weight: 600; cursor: pointer; padding: 0; margin-bottom: 14px; }
.cart-formview h4 { font-size: 1.15rem; margin-bottom: 16px; }
.cart-form { display: flex; flex-direction: column; gap: 13px; }
.cart-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .84rem; color: var(--ink); }
.cart-form label span { font-weight: 400; color: var(--muted); }
.cart-form input, .cart-form textarea, .cart-form select { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.cart-form input:focus, .cart-form textarea:focus, .cart-form select:focus { outline: 0; border-color: var(--blue); box-shadow: var(--ring); }
.cart-form input[type=file] { border-style: dashed; font-size: .82rem; color: var(--muted); cursor: pointer; }
.cart-form input[type=file]:hover { border-color: var(--blue); }
.cart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cart-err { color: var(--red); font-size: .82rem; margin: 2px 0 0; }
.cart-done { text-align: center; padding: 50px 26px; }
.cart-check { width: 60px; height: 60px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin: 0 auto 14px; }
.cart-done p { color: var(--muted); margin: 8px 0 18px; }
@media (max-width: 460px) { .cart-row { grid-template-columns: 1fr; } }

/* Add-to-cart button on catalog cards */
.prod-add { display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px; border: 1px solid var(--blue);
  border-radius: 999px; background: #fff; color: var(--blue); font-family: var(--font-head); font-weight: 700;
  font-size: .82rem; cursor: pointer; transition: background .18s, color .18s, transform .18s; }
.prod-add:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }
.prod-add svg { width: 14px; height: 14px; }
/* Product detail quantity + add */
.pd-qtyrow { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.pd-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.pd-qty button { width: 40px; height: 46px; border: 0; background: #fff; color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.pd-qty button:hover { background: var(--bg-soft); color: var(--blue); }
.pd-qty input { width: 46px; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.pd-qty input::-webkit-outer-spin-button, .pd-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-cta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.pd-cta .btn { flex: 1 1 auto; }
/* product options: selectable color swatches + decoration-method picker */
.pd-opt { margin-top: 22px; }
.pd-opt-h { display: block; font-size: .92rem; font-weight: 700; color: var(--ink); margin-bottom: 11px; }
.pd-opt-count { color: var(--muted); font-weight: 600; }
.pd-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 15px; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.pd-chip:hover { border-color: var(--blue); color: var(--blue); }
.pd-chip.selected { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(22,104,201,.28); }
.pd-select { width: 100%; max-width: 380px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-weight: 600; color: var(--ink); background: #fff; cursor: pointer; }
.pd-select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,104,201,.15); }
.pd-opt-note { font-size: .8rem; color: var(--muted); margin-top: 9px; }
/* Client-approved red tag lines (Scott, Aug 2026) */
/* Client taglines live inside the copy as plain sentences — a whisper of weight,
   same color as the surrounding text, no red, no italic (blends in). */
.qf-em { font-style: normal; font-weight: 600; color: inherit; }
/* Price Match Guarantee band (client-supplied banner + readable HTML promise) */
.pricematch-band { max-width: 980px; margin: 0 auto; text-align: center; }
.pricematch-img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-md); display: block; }
.pricematch-note { margin: 16px auto 0; color: var(--muted); font-size: .95rem; line-height: 1.65; max-width: 64ch; }
/* Swag showcase band (client-supplied Quality First branded kit) */
.swag-band { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px,4vw,48px); align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px,3vw,40px); }
.swag-band .swag-media img { width: 100%; max-width: 300px; height: auto; border-radius: var(--r-md); box-shadow: var(--shadow-md); display: block; }
.swag-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
@media (max-width: 820px){ .swag-band { grid-template-columns: 1fr; text-align: center; } .swag-band .swag-media img { max-width: 240px; margin: 0 auto; } .swag-band .hero-cta { justify-content: center; } }
/* SWAG-style subcategory pill strip on the catalog */
.subcat-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: 2px 0 4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.subcat-strip::-webkit-scrollbar { height: 6px; }
.subcat-strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.subcat-pill { flex: 0 0 auto; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 15px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease); }
.subcat-pill:hover { border-color: var(--blue); color: var(--blue); }
.subcat-pill.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.subcat-pill i { font-style: normal; opacity: .55; font-weight: 600; margin-left: 2px; }
.subcat-pill.active i { opacity: .85; }

/* ============================ REVIEW PASS 8 ============================ */
/* Proof-we-deliver → animated left/right layout (images left, stats right) */
.proof-split { display:grid; grid-template-columns:1.02fr 1fr; gap:clamp(28px,4vw,64px); align-items:center; }
.proof-media { position:relative; }
.pm-grid { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto auto; gap:14px; }
.pm-grid img { width:100%; height:100%; object-fit:cover; border-radius:var(--r-lg); box-shadow:var(--shadow-lg); display:block; }
.pm-a { grid-row:span 2; aspect-ratio:3/4.1; }
.pm-b { aspect-ratio:1/1; }
.pm-c { aspect-ratio:1/1; }
/* subtle float-in stagger */
.proof-split .pm-grid img { opacity:0; transform:translateY(26px) scale(.97); transition:opacity .7s var(--ease), transform .7s var(--ease-spring); }
.reveal.in .pm-a { transition-delay:.05s; }
.reveal.in .pm-b { transition-delay:.18s; }
.reveal.in .pm-c { transition-delay:.31s; }
.reveal.in .pm-grid img { opacity:1; transform:none; }
.pm-badge { position:absolute; right:-14px; bottom:-14px; z-index:3; background:var(--grad-navy); color:#fff; border-radius:20px; padding:16px 20px; box-shadow:var(--shadow-lg); display:flex; flex-direction:column; align-items:center; line-height:1; text-align:center; border:1px solid rgba(255,255,255,.14); animation:pmFloat 5s ease-in-out infinite; }
.pm-badge b { font-family:var(--font-head); font-size:1.9rem; font-weight:800; background:var(--rainbow); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.pm-badge small { font-size:.68rem; letter-spacing:.04em; text-transform:uppercase; color:#c3d3ee; margin-top:6px; font-weight:600; }
@keyframes pmFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
.pm-orb { position:absolute; border-radius:50%; filter:blur(38px); z-index:-1; pointer-events:none; }
.pm-orb-blue { width:200px; height:200px; background:rgba(37,99,235,.28); top:-40px; left:-40px; }
.pm-orb-green { width:170px; height:170px; background:rgba(34,197,94,.22); bottom:-30px; right:30px; }
.proof-body .eyebrow { color:var(--brand); }
.proof-stats { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:26px; }
.proof-stats .sb-item { text-align:left; padding:20px 20px 18px; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--shadow-sm); transition:transform .35s var(--ease-spring), box-shadow .35s var(--ease); }
.proof-stats .sb-item::after { display:none; }
.proof-stats .sb-item:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.proof-stats .sb-ico { width:42px; height:42px; border-radius:12px; margin:0 0 12px; background:var(--grad-navy); border:none; color:#fff; }
.proof-stats .sb-ico svg { width:20px; height:20px; }
.proof-stats .num { color:var(--ink); font-family:var(--font-head); font-weight:800; font-size:clamp(1.7rem,2.4vw,2.2rem); line-height:1; font-variant-numeric:tabular-nums; }
.proof-stats .num.grad { background:var(--rainbow); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; }
.proof-stats .sb-lbl { color:var(--muted); font-size:.85rem; margin-top:8px; font-weight:500; }
@media(max-width:900px){
  .proof-split { grid-template-columns:1fr; gap:40px; }
  .pm-badge { right:14px; bottom:-18px; }
}
@media(max-width:480px){
  .proof-stats { grid-template-columns:1fr 1fr; gap:10px; }
  .proof-stats .sb-item { padding:16px 14px; }
}

/* Industry pages — "Why choose us" pillar grid */
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.feature-card { position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:30px 26px 26px; box-shadow:var(--shadow-sm); overflow:hidden; transition:transform .35s var(--ease-spring), box-shadow .35s var(--ease); }
.feature-card::before { content:""; position:absolute; left:0; top:0; height:4px; width:100%; background:var(--rainbow); opacity:.9; }
.feature-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.feature-card .fc-num { display:inline-block; font-family:var(--font-head); font-weight:800; font-size:1.05rem; color:#fff; background:var(--grad-navy); width:38px; height:38px; border-radius:11px; text-align:center; line-height:38px; margin-bottom:14px; }
.feature-card h3 { font-size:1.12rem; margin-bottom:8px; }
.feature-card p { color:var(--muted); font-size:.94rem; line-height:1.55; }
@media(max-width:820px){ .feature-grid { grid-template-columns:1fr; } }

/* ---- REVIEW PASS 8: mega dropdowns for Industries / Services / Resources ---- */
.mega-industries { left: 0; transform: translateX(0) translateY(8px); }
.nav-item:hover .mega-industries, .nav-item:focus-within .mega-industries { transform: translateX(0) translateY(0); }
.mega-services { left: 50%; transform: translateX(-50%) translateY(8px); }
.nav-item:hover .mega-services, .nav-item:focus-within .mega-services { transform: translateX(-50%) translateY(0); }
.mega-resources { left: auto; right: 0; transform: translateX(0) translateY(8px); }
.nav-item:hover .mega-resources, .nav-item:focus-within .mega-resources { transform: translateX(0) translateY(0); }
.mega-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.dropdown.mega.mega-services, .dropdown.mega.mega-resources { min-width: 480px; }
.mega-tile .tile-body small { white-space: nowrap; }

/* prominent footer contact button */
.footer-contact { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 16px; }
.footer-contact svg { width: 15px; height: 15px; }

/* ---- REVIEW PASS 8: Featured case study premium container ---- */
.featured-cs { position: relative; border-radius: var(--r-xl); background: linear-gradient(135deg, #fff, var(--bg-soft)); border: 1px solid var(--line); box-shadow: var(--shadow-xl); padding: clamp(20px, 3vw, 40px); overflow: hidden; }
.featured-cs::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--rainbow); }
.featured-flag { display: inline-flex; align-items: center; gap: 8px; background: var(--grad-navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 8px 16px; border-radius: 99px; box-shadow: var(--shadow-md); }
.featured-flag svg { color: #FFC94D; }
.featured-cs-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: center; margin-top: 22px; }
.featured-cs-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.featured-cs-media img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; display: block; }
.fcs-chip { position: absolute; left: 14px; bottom: 14px; background: rgba(7,15,35,.66); backdrop-filter: blur(6px); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .74rem; padding: 6px 13px; border-radius: 99px; }
.featured-cs-body .case-client { color: var(--brand); font-weight: 700; }
.featured-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fcs-stat { display: flex; flex-direction: column; }
.fcs-stat .num { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--ink); }
.fcs-stat .num.grad { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fcs-stat .lbl { color: var(--muted); font-size: .8rem; margin-top: 6px; }
.featured-actions { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
@media (max-width: 860px) { .featured-cs-grid { grid-template-columns: 1fr; } .featured-cs-media img { min-height: 300px; } }

/* ---- REVIEW PASS 8: About innovator spotlight (Scott Hendrickson) ---- */
.innovator-split { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.innovator-media { position: relative; }
.innovator-media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: top center; border-radius: var(--r-xl); box-shadow: var(--shadow-xl); display: block; }
.innovator-badge { position: absolute; right: -16px; bottom: -16px; background: var(--grad-navy); color: #fff; border-radius: 20px; padding: 16px 20px; display: flex; flex-direction: column; align-items: center; line-height: 1; text-align: center; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.14); }
.innovator-badge b { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; background: var(--rainbow); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.innovator-badge small { font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; color: #c3d3ee; margin-top: 6px; font-weight: 600; }
.innovator-quote { margin: 22px 0 20px; padding: 4px 0 4px 22px; border-left: 4px solid var(--blue); font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.45; color: var(--ink); font-style: italic; }
.innovator-sign { display: flex; flex-direction: column; }
.innovator-name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.innovator-role { color: var(--brand); font-size: .9rem; font-weight: 600; margin-top: 2px; }
@media (max-width: 820px) { .innovator-split { grid-template-columns: 1fr; gap: 44px; } .innovator-media { max-width: 420px; } }

/* ============================ REVIEW PASS 10 ============================ */
/* 1. Header — more breathing room */
.header-inner { gap: 22px; height: 88px; }
.nav-list { gap: 10px; }
.nav-link { padding: 10px 14px; }
.header-cta { gap: 14px; margin-left: 28px; padding-left: 28px; }
/* the desktop nav appears at 1025px, so it has to tighten well before 1150 —
   otherwise logo + nav + CTAs overflow in the 1150–1250 band */
@media (max-width: 1340px) {
  .nav-list { gap: 4px; }
  .nav-link { padding: 9px 10px; }
  .header-cta { gap: 10px; margin-left: 16px; padding-left: 16px; }
}
@media (max-width: 1120px) {
  .nav-link { padding: 8px 7px; font-size: .86rem; }
  .header-cta { gap: 8px; margin-left: 10px; padding-left: 10px; }
}

/* 2. Dropdowns — stop them snapping shut on a small mouse drift.
   The menu sits 10px below the nav item, but the invisible hover bridge was
   only 8px tall (a dead zone). Widen the bridge and add a close grace period. */
.dropdown::before { top: -16px; left: -20px; right: -20px; height: 18px; }
.dropdown {
  transition: opacity .24s ease, visibility .24s ease, transform .3s var(--ease-out);
  transition-delay: .32s;               /* grace period before closing */
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { transition-delay: 0s; }   /* open instantly */
/* generous catch area under the whole nav item */
.nav-item { position: relative; }
.nav-item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }

/* 3. Hover animations — slower, softer, less snappy */
.prod-card, .case-card, .ind-tile, .post-card, .value-card, .stat, .feature-card,
.mega-tile, .cat-card, .team-card, .proof-stats .sb-item, .fcs-stat,
.cs-photo-frame, .review-card, .quote-card, .cta-opt, .btn, .tl-body,
.pm-grid img, .featured-cs, .logo-track img, .partner-marquee img {
  transition: transform .42s var(--ease-out), box-shadow .42s var(--ease-out),
              background-color .32s ease, border-color .32s ease,
              color .32s ease, opacity .32s ease, filter .32s ease;
}
.dropdown a { transition: background-color .28s ease, color .28s ease, transform .32s var(--ease-out); }
.mega-tile .tile-media img { transition: transform .55s var(--ease-out); }
.prod-card:hover .prod-illus, .case-card:hover .case-illus { transition: transform .55s var(--ease-out); }

/* Featured case study — far more horizontal so more content is visible at once */
.featured-cs { max-width: 1320px; margin-inline: auto; }
.featured-cs-grid { grid-template-columns: 0.82fr 1.18fr; gap: clamp(24px, 2.6vw, 44px); align-items: start; }
.featured-cs-media { position: sticky; top: 110px; }
.featured-cs-media img { min-height: 0; aspect-ratio: 4/3.4; }
.featured-cs-body h2 { font-size: clamp(1.7rem, 2.7vw, 2.5rem); }
.featured-cs-body .checks li { font-size: .95rem; }
.featured-cs-body .checks { display: grid; gap: 10px; }
.featured-stats { padding: 16px 0; }
@media (max-width: 1100px) { .featured-cs-media { position: static; } }
@media (max-width: 860px) { .featured-cs-media img { aspect-ratio: 16/10; } }
/* let the featured block break out wider than the 1200px container on desktop */
@media (min-width: 1280px) { .featured-cs { max-width: none; margin-inline: -64px; } }

/* Hero parallax targets: `translate` must never inherit a long transition or
   the motion lags behind the cursor (the old bug). Promote them for GPU too. */
.hero-blob, .hero .orb, .hero-badges, .hero-copy h1 {
  transition-property: opacity, transform;   /* explicitly NOT `translate` */
  will-change: translate;
}

/* Dropdown carets were collapsing to ~0 width: .nav-link is inline-flex and an
   SVG flex item has min-width:auto->0, so the text label squeezed them out.
   flex:none pins them at their intended size. */
.nav-link .caret, .mnav-toggle .caret { flex: none; width: 12px; height: 12px; }
.nav-link .caret { opacity: .75; }
.nav-item:hover .nav-link .caret { opacity: 1; }

/* ---- Branded first-load preloader ---- */
.qf-preload{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;
  background:var(--grad-navy,#0A1A3C);opacity:1;transition:opacity .55s var(--ease-out)}
.qf-preload.done{opacity:0;pointer-events:none}
.qf-preload-inner{display:flex;flex-direction:column;align-items:center;gap:20px;padding:24px;text-align:center}
.qf-preload img{width:190px;max-width:56vw;filter:brightness(0) invert(1);animation:qfPulse 1.7s var(--ease-out) infinite}
/* No entrance animation on purpose: the splash only shows ~400ms, and text that
   depends on an animation to become visible disappears wherever animations are
   suppressed (reduced-motion, background tabs). Plain and always readable. */
.qf-preload-slogan{font-family:var(--font-head);font-weight:700;color:#fff;letter-spacing:.14em;
  text-transform:uppercase;font-size:.85rem;opacity:.9}
.qf-preload-slogan b{background:var(--rainbow);-webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;font-weight:800}
.qf-preload-bar{width:180px;max-width:52vw;height:3px;border-radius:3px;background:rgba(255,255,255,.16);overflow:hidden}
.qf-preload-bar i{display:block;height:100%;width:40%;border-radius:3px;background:var(--rainbow);
  animation:qfSlide 1.15s var(--ease-out) infinite}
@keyframes qfPulse{0%,100%{transform:scale(1);opacity:.95}50%{transform:scale(1.045);opacity:1}}
@keyframes qfSlide{0%{transform:translateX(-110%)}100%{transform:translateX(320%)}}
@media (prefers-reduced-motion: reduce){
  .qf-preload img,.qf-preload-bar i{animation:none}
}

/* ---- Bigger header logo (scoped to .site-header so the footer + mobile-menu
        logos keep their own sizing) ---- */
.site-header .logo-img { height: 64px; }
.header-inner { height: 104px; }
/* step down before the nav gets crowded, then again for the mobile header */
@media (max-width: 1250px) { .site-header .logo-img { height: 54px; } .header-inner { height: 94px; } }
@media (max-width: 900px)  { .site-header .logo-img { height: 50px; } .header-inner { height: 86px; } }
@media (max-width: 480px)  { .site-header .logo-img { height: 44px; } .header-inner { height: 78px; } }
/* the global img{max-width:100%} reset was clamping the logo against its
   inline-flex parent, so height:64px still rendered ~63px wide (410x154 art
   should be ~170px). Opt out and pin the anchor so it can't be squeezed. */
.site-header .logo { flex: none; }
.site-header .logo-img { max-width: none; width: auto; }

/* ============================ REVIEW PASS 12 ============================ */
/* 1. Only ever show one dropdown: while the pointer is anywhere in the nav,
      any item that isn't hovered closes instantly (the grace period is only
      meant for the gap between a link and its own menu). */
.nav-list:hover .nav-item:not(:hover) .dropdown { transition-delay: 0s; }

/* 2. Product titles: long supplier names were rendering enormous */
#detail h1 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.15; letter-spacing: -.01em; }

/* 3. Blog CTA button: .article a{underline} was bleeding onto the button */
.article .a-foot a.btn { text-decoration: none; color: #fff; }
.article .a-foot a.btn:hover { text-decoration: none; color: #fff; }
.a-foot .btn { display: inline-flex; align-items: center; gap: 8px; }

/* 4. Service hero stats: keep them on one balanced row */
.page-hero .cs-hero-stats { justify-content: flex-start; gap: 14px 30px; }
.page-hero .cs-hero-stats > div { padding-right: 30px; }
.cs-hero-stats b { font-size: clamp(1.5rem, 2.1vw, 1.95rem); }
@media (max-width: 900px) {
  .page-hero .cs-hero-stats { gap: 12px 20px; }
  .page-hero .cs-hero-stats > div { padding-right: 20px; }
}

/* ---- Industry photo gallery (replaces the flat SVG illustrations) ---- */
.ind-gallery { position: relative; display: grid; grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr; gap: 12px; }
.ind-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); display: block; aspect-ratio: 1/1;
  transition: transform .42s var(--ease-out), box-shadow .42s var(--ease-out); }
.ind-gallery img:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ind-gallery .ig-hero { grid-column: 1 / -1; aspect-ratio: 16/10; }
.ind-gallery .ig-tag { position: absolute; left: 14px; top: 14px; z-index: 2;
  background: rgba(7,15,35,.7); backdrop-filter: blur(6px); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .76rem;
  padding: 7px 14px; border-radius: 99px; }
@media (max-width: 560px) { .ind-gallery { gap: 9px; } }

/* ==========================================================================
   MOBILE PASS — MUST STAY LAST IN THIS FILE.
   Several later desktop blocks (featured case study, timeline, wizard) were
   re-declaring grid-template-columns *after* the earlier @media rules, so at
   equal specificity the desktop value won at every width and phones got
   0px/1px columns. These re-assert the phone layout and must not be moved.
   ========================================================================== */
@media (max-width: 860px) {
  /* Featured case study — the image column was collapsing to 0px (invisible) */
  .featured-cs-grid { grid-template-columns: 1fr; gap: 22px; }
  .featured-cs-media { position: static; }
  .featured-cs-media img { min-height: 0; aspect-ratio: 16/10; }
  .featured-cs { margin-inline: 0; max-width: none; padding: 18px; }
}

@media (max-width: 768px) {
  /* Order wizard — choices were 1px-wide columns with text sliced off */
  .wz-choices, .wz-choices.cols-2, .wz-choices.cols-3 { grid-template-columns: 1fr; gap: 10px; }
  .wz-choice { text-align: left; align-items: center; }
  .wz-choice b { font-size: 1rem; }
  .wz-choice small { font-size: .85rem; }

  /* Stat rows: three cramped columns -> two comfortable ones */
  .featured-stats { grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px 0; }
  .fcs-stat .num { font-size: 1.35rem; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .proof-stats { grid-template-columns: 1fr 1fr; }

  /* About timeline — year column was pinned to the 96px desktop value */
  .tl-item { grid-template-columns: 70px 1fr; gap: 18px; padding-bottom: 26px; }
  .tl-item::before { left: 82px; }
  .timeline .tl-year { font-size: 1rem; }

  /* Hero stat rows read better stacked two-up than squeezed into one line */
  .page-hero .cs-hero-stats { gap: 16px 24px; }
  .page-hero .cs-hero-stats > div { padding-right: 24px; }
  .cs-hero-stats b { font-size: 1.5rem; }

  /* Give body copy and headings room to breathe */
  .container { padding-inline: 20px; }
  .section { padding-block: 52px; }
  .section-sm { padding-block: 38px; }
}

@media (max-width: 480px) {
  .featured-stats, .stats-band, .proof-stats { grid-template-columns: 1fr 1fr; }
  .cs-hero-stats { gap: 14px 18px; }
  .cs-hero-stats > div { padding-right: 18px; }
  .cs-hero-stats > div:not(:last-child)::after { display: none; }
  .ind-gallery { grid-template-columns: 1fr 1fr; }
  .container { padding-inline: 18px; }
}

/* industries.html used to force 2 columns with an inline style, which no media
   query could beat; the markup now uses .two so it can collapse on phones. */
.value-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 520px) { .value-grid.two { grid-template-columns: 1fr; } }

/* ---- Phone typography + hero legibility ----
   .page-hero p was set to 1.1rem/1.7 late in this file, which made the lede
   run 7 lines on a 390px screen. The split hero's scrim also only faded
   left-to-right, so on phones (where the copy spans full width) the text sat
   directly on the photo. Both are corrected here. */
@media (max-width: 768px) {
  .page-hero h1, .page-hero.split h1 { font-size: clamp(1.75rem, 7.6vw, 2.3rem); }
  .page-hero p, .page-hero.split .ph-copy p { font-size: 1rem; line-height: 1.6; }
  .page-hero.split .ph-copy { padding-block: 38px 42px; }
  .page-hero.split .ph-media img { object-position: 72% center; }
  .page-hero.split .ph-media::after {
    background: linear-gradient(180deg, rgba(6,15,35,.74), rgba(6,15,35,.88)),
                linear-gradient(90deg, var(--navy) 0%, rgba(10,26,60,.78) 60%, rgba(10,26,60,.6) 100%);
  }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* Topbar on phones: only one item fits a single line. .hide-sm removed one
   item but left a dangling separator, so the bar wrapped to two rows with an
   orphan "·". Keep just the rating (the strongest proof point). */
@media (max-width: 620px) {
  .topbar .tb-sep { display: none; }
  .topbar .tb:not(.star) { display: none; }
  .topbar-inner { min-height: 36px; padding-block: 7px; }
}

/* Phone hero: shorter visual + tighter lede so the CTAs land near the fold. */
@media (max-width: 768px) {
  .hero-visual { min-height: 250px; }
  .hero-grid { gap: 24px; }
  .hero p, .hero-copy p { font-size: 1.02rem; line-height: 1.6; }
}

/* Quote-cart rows on phones: the 4-column row squeezed the product name into
   a narrow middle column (clamped to 2 lines) while the supplier name wrapped
   awkwardly. Give the name the full width and drop the controls to row two. */
@media (max-width: 480px) {
  .cart-item { grid-template-columns: 56px 1fr auto; row-gap: 8px; }
  .ci-info { grid-column: 2 / -1; }
  .ci-info b { -webkit-line-clamp: 3; }
  .ci-info small { display: block; margin-top: 3px; }
  .ci-qty { grid-column: 2; justify-self: start; }
  .ci-remove { grid-column: 3; justify-self: end; }
}

/* The newsletter input is a flex item with the default min-width:auto, so it
   refused to shrink below its intrinsic ~212px. Together with the Subscribe
   button that forced a ~325px footer column, which pushed EVERY page into
   horizontal scroll on 320px phones. */
.news-form input { min-width: 0; }
.footer-top > * { min-width: 0; }
@media (max-width: 380px) {
  .news-form { flex-wrap: wrap; }
  .news-form .btn { width: 100%; }
}

/* =====================================================================
   IMMERSIVE INDUSTRY SCROLL  (.ind-scroll)
   Sticky copy column while a stack of photos scrolls past it, with a
   light parallax offset per image. Built to degrade safely: without JS
   the images simply sit in a normal column, and on mobile the sticky
   behaviour is switched off entirely (a sticky column inside a short
   viewport traps the reader).
   ===================================================================== */
.ind-scroll { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 64px; align-items: start; }
.ind-scroll .is-copy { position: sticky; top: 104px; align-self: start; }
.ind-scroll .is-stack { display: flex; flex-direction: column; gap: 26px; min-width: 0; }

.is-shot { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft);
  box-shadow: var(--shadow-md); will-change: transform; }
.is-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* varied crops give the column a rhythm instead of a uniform ladder */
.is-shot.tall  { aspect-ratio: 4/5; }
.is-shot.wide  { aspect-ratio: 16/10; }
.is-shot.square{ aspect-ratio: 1/1; }
/* every other shot insets from the opposite edge so the column feels composed */
.is-stack .is-shot:nth-child(even) { margin-left: 12%; }
.is-stack .is-shot:nth-child(odd)  { margin-right: 6%; }

.is-tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; background: rgba(7,15,35,.62);
  backdrop-filter: blur(6px); color: #fff; font-family: var(--font-head); font-weight: 600;
  font-size: .74rem; letter-spacing: .01em; padding: 6px 12px; border-radius: 99px; }

/* entrance: each shot lifts + settles as it enters the viewport */
.is-shot { opacity: 0; transform: translateY(38px) scale(.97);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.is-shot.in { opacity: 1; transform: translateY(0) scale(1); }
/* the parallax drift is applied to the inner image so it can't fight the
   entrance transform on the wrapper */
/* scale must exceed 2 * (max drift share) so the drift never reveals an edge:
   drift peaks at height * 0.045 * 1.35 ≈ 0.061h, so 0.15 leaves clear margin */
.is-shot img { will-change: transform; transform: translate3d(0, var(--px, 0px), 0) scale(1.15); }

/* NB: these must match the base rules' specificity (.ind-scroll .is-stack),
   or the base column layout wins on mobile no matter the source order. */
@media (max-width: 980px) {
  .ind-scroll { grid-template-columns: 1fr; gap: 34px; }
  .ind-scroll .is-copy { position: static; top: auto; }
  .ind-scroll .is-stack { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .ind-scroll .is-stack .is-shot { flex: 1 1 calc(50% - 7px); aspect-ratio: 1/1; margin: 0 !important; }
  .ind-scroll .is-stack .is-shot:first-child { flex-basis: 100%; aspect-ratio: 16/10; }
  .is-shot img { transform: none !important; }
}
@media (max-width: 520px) {
  .ind-scroll .is-stack { gap: 10px; }
  .is-tag { font-size: .68rem; padding: 5px 10px; left: 10px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-shot { opacity: 1; transform: none; transition: none; }
  .is-shot img { transform: none !important; }
}

/* =====================================================================
   CASE-STUDY STORY FLOW (.cs-flow)
   Replaces the three floating "challenge / delivered / result" cards with
   a connected, numbered narrative that sits beside a supporting photo.
   ===================================================================== */
/* no `margin` shorthand here — it would beat the .mt-* spacing utilities
   (same specificity, and this block loads last), collapsing the gap to 0 */
.cs-flow { list-style: none; margin-bottom: 0; padding: 0; position: relative; }
.cs-flow .cs-step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 20px;
  padding-bottom: 30px; }
.cs-flow .cs-step:last-child { padding-bottom: 0; }
/* connector rail between the numerals */
.cs-flow .cs-step::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 6px;
  width: 2px; background: linear-gradient(180deg, var(--line), transparent); }
.cs-flow .cs-step:last-child::before { display: none; }
.cs-step-n { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: #fff;
  background: var(--grad-navy, #0A1A3C); box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.cs-step h3 { font-size: 1.16rem; }
.cs-step p { margin-top: 8px; color: var(--muted); font-size: .97rem; line-height: 1.7; }
@media (max-width: 620px) {
  .cs-flow .cs-step { grid-template-columns: 42px 1fr; gap: 14px; padding-bottom: 24px; }
  .cs-step-n { width: 42px; height: 42px; font-size: .88rem; }
  .cs-flow .cs-step::before { left: 20px; top: 44px; }
}

/* ---- avatar polish: monograms read as designed, not as a fallback ----
   Both avatar types already accept an <img> child (it covers the monogram),
   so real headshots drop in without touching this. */
.rv-ava, .quote-avatar { position: relative; overflow: hidden;
  background-image: linear-gradient(145deg, rgba(255,255,255,.28), rgba(255,255,255,0) 60%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.34), 0 2px 6px rgba(10,26,60,.16);
  letter-spacing: .02em; }
.rv-ava img, .quote-avatar img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%; }

/* ---------------------------------------------------------------------
   Header actions alignment below the nav breakpoint.

   `.main-nav { margin-left: auto }` is the only thing pushing the header
   contents to the right edge. At <=1024px the nav is display:none, and a
   hidden flex item contributes no auto margin — so the logo and the action
   buttons collapse against the left edge, leaving a large empty gap on the
   right (366px at 660px wide).

   This lives at the end of the file on purpose: three narrower media blocks
   further up re-set margin-left on .header-cta, so an earlier rule loses.
   --------------------------------------------------------------------- */
@media (max-width: 1279px) {
  .header-inner .header-cta { margin-left: auto; }

  /* Nav/burger switch. Previously 1024px, but the full nav needs ~1280px:
     between 1025 and 1279 it was showing anyway and pushing the page into a
     horizontal scroll (85px of overflow at 1025). Keep the burger until the
     real nav actually fits. */
  .main-nav, .nav-shopall, .header-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
}

/* The nav grows at wide viewports (gap 10px / padding 10px 14px) to 692px,
   which puts the header content at 1286px inside a 1200px container, so the
   action buttons hung 83px outside the page's alignment grid. Hold the compact
   metrics at every width instead.

   The extra 1px off the horizontal padding matters: above 1240px the second
   ("Contact") button reappears and widens .header-cta from 194px to 324px,
   which still overflowed by 8px. 6 links x 2px buys back 12px. */
.nav-list { gap: 4px; }
.nav-link { padding: 9px 9px; }
/* 22px between logo / nav / actions left the row 17px wider than the
   container's content box at >=1366px, so the buttons crept into the gutter
   and no longer lined up with the rest of the page. */
@media (min-width: 1280px) { .header-inner { gap: 16px; } }

/* ---- catalog card price ("From $X.XX") ---- */
.prod-price-sm { font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  color: var(--ink, #0A1A3C); font-variant-numeric: tabular-nums; }

/* ---- generic ghost button (tertiary action on the product page) ---- */
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid transparent; }
.btn-ghost:hover { color: var(--blue); background: var(--bg-soft, #f4f6fb); }

/* ---- Brands mega dropdown (nav) ---- */
.mega-brands { min-width: 640px; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 18px; }
.brand-grid a { display: block; padding: 9px 10px; border-radius: 10px; color: var(--ink, #0A1A3C);
  font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .15s, color .15s; }
.brand-grid a:hover { background: var(--bg-soft, #f4f6fb); color: var(--blue); }
/* Logo wall: mixed brand logos read as one set via a muted grayscale that
   lifts to full colour on hover. max-width + max-height keep wide wordmarks and
   tall marks the same visual size. */
.brand-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.brand-logo { display: flex; align-items: center; justify-content: center; height: 62px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.brand-logo img { max-width: 100%; max-height: 30px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: .68; transition: filter .2s ease, opacity .2s ease; }
.brand-logo:hover { border-color: #c7d0de; box-shadow: 0 6px 16px rgba(16, 27, 51, .10); transform: translateY(-2px); }
.brand-logo:hover img { filter: none; opacity: 1; }
@media (max-width: 900px) { .mega-brands { min-width: 0; } .brand-logos { grid-template-columns: repeat(3, 1fr); } }

/* ---- header search icon ---- */
.hdr-search { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none;
  border: 1px solid var(--line); border-radius: 50%; color: var(--ink, #0A1A3C);
  background: #fff; transition: border-color .15s, color .15s; }
@media (min-width: 1280px) { .header-inner { gap: 12px; } }
.hdr-search:hover { border-color: var(--blue); color: var(--blue); }
.hdr-search svg { width: 18px; height: 18px; }

/* ---- Price-match guarantee corner card (JS-injected, site-wide) ---- */
.qf-pricematch { position: fixed; left: 20px; bottom: 20px; z-index: 260; display: flex;
  align-items: center; gap: 12px; max-width: 360px; padding: 14px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  transform: translateY(140%); opacity: 0; transition: transform .5s var(--ease-out), opacity .5s var(--ease-out); }
.qf-pricematch.in { transform: none; opacity: 1; }
.qf-pm-ico { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-navy, #0A1A3C); color: #fff; }
.qf-pm-ico svg { width: 20px; height: 20px; }
.qf-pm-body { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.qf-pm-body b { font-family: var(--font-head); font-size: .95rem; color: var(--ink, #0A1A3C); }
.qf-pm-body span { font-size: .82rem; color: var(--muted); }
.qf-pm-cta { flex: none; font-weight: 700; font-size: .84rem; color: #fff; background: var(--blue);
  padding: 8px 13px; border-radius: 99px; text-decoration: none; white-space: nowrap; }
.qf-pm-cta:hover { filter: brightness(1.05); }
.qf-pm-x { position: absolute; top: 6px; right: 8px; border: 0; background: transparent; cursor: pointer;
  font-size: 1.2rem; line-height: 1; color: var(--muted); padding: 2px 6px; border-radius: 8px; }
.qf-pm-x:hover { background: var(--bg-soft, #f4f6fb); color: var(--ink); }
@media (max-width: 560px) {
  .qf-pricematch { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .qf-pm-cta { padding: 8px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .qf-pricematch { transition: opacity .3s; transform: none; }
}

/* ---- Scott's "Connect on LinkedIn" link on the About page ---- */
.innovator-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  font-weight: 600; font-size: .88rem; color: var(--blue); text-decoration: none;
  border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; width: fit-content;
  transition: border-color .15s, background .15s; }
.innovator-link:hover { border-color: var(--blue); background: var(--bg-soft); }
.innovator-link svg { color: #0A66C2; }

/* ---- footer address + "Call for an appointment" highlight ---- */
.footer-addr { margin-top: 18px; }
.footer-addr .fa-addr { color: var(--muted); font-size: .9rem; line-height: 1.5; margin-bottom: 10px; }
.footer-appt { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .86rem;
  color: #fff; background: var(--rainbow); border-radius: 99px; padding: 8px 15px; text-decoration: none;
  box-shadow: 0 4px 14px rgba(10,26,60,.28); }
.footer-appt:hover { filter: brightness(1.06); }
.footer-appt svg { flex: none; }
/* contact-page "Visit Us" appointment line */
.ci-appt { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 8px; font-weight: 700;
  font-size: .88rem; color: var(--blue); }
.ci-appt svg { flex: none; }


/* PRODUCT-FIRST HEADER (v-pf1) ============================================
   Utility bar with product search + category nav. Appended last so it wins.
   ========================================================================== */
.topbar-inner { justify-content: flex-start; flex-wrap: nowrap; gap: 20px; min-height: 58px; padding-block: 0; }
.tb-phone { display: inline-flex; align-items: center; gap: 8px; color: #dbe4f4; font-family: var(--font-head); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.tb-phone svg { width: 16px; height: 16px; stroke: #9fb4d8; flex: none; }
.tb-phone:hover { color: #fff; }
.tb-offer-wrap { position: relative; }
.tb-offer { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .88rem; white-space: nowrap; padding: 8px 0; }
.tb-offer .caret { width: 12px; height: 12px; transition: transform .2s ease; opacity: .85; }
.tb-offer-wrap:hover .tb-offer .caret { transform: rotate(180deg); }
/* Lift above the sticky .site-header (z-index:100) — the dropdown lives in the
   top bar, so without this the white nav row covers its first row of items. */
.mega-offer { left: 0; transform: translateX(0) translateY(8px); min-width: 340px; z-index: 120; }
.tb-offer-wrap:hover .mega-offer, .tb-offer-wrap:focus-within .mega-offer { opacity: 1; visibility: visible; transform: translateX(0) translateY(0); }
.mega-offer .offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-offer .offer-grid a { flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 12px; }
.mega-offer .offer-grid a b { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); }
.mega-offer .offer-grid a:hover b { color: var(--blue); }
.tb-search { flex: 1 1 auto; max-width: 560px; margin: 0 auto; position: relative; display: flex; align-items: center; }
.tb-search svg { position: absolute; left: 16px; width: 18px; height: 18px; stroke: var(--muted); pointer-events: none; }
.tb-search input { width: 100%; height: 42px; border: 0; border-radius: var(--r-pill); padding: 0 18px 0 44px; font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: #fff; outline: none; }
.tb-search input::placeholder { color: #9aa4b2; }
.tb-search input:focus { box-shadow: 0 0 0 3px rgba(22,104,201,.35); }
.topbar .header-cta { margin: 0; padding: 0; border: 0; gap: 16px; }
.tb-link { color: #dbe4f4; font-family: var(--font-head); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.tb-link:hover { color: #fff; }
/* Cart lives on the dark top bar now: the base .cart-btn has a white fill (for
   the old light header), which hid the white icon. Make it a clean white icon
   in a subtle outlined circle instead. */
.topbar .cart-btn { color: #fff; background: transparent; border-color: rgba(255,255,255,.32); width: 40px; height: 40px; }
.topbar .cart-btn:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); box-shadow: none; transform: none; }
.topbar .cart-badge { box-shadow: 0 0 0 2px var(--navy-900); }
/* Row 2: category nav */
.cat-nav { margin-left: 34px; margin-right: auto; }
.cat-nav .nav-list { gap: 2px; }
.cat-nav .nav-link { font-family: var(--font-head); font-weight: 700; font-size: .98rem; padding: 10px 12px; }
.cat-nav .cat-all { color: var(--muted); }
.cat-nav .cat-hot { color: var(--blue); }
/* Brands is the rightmost item, so anchor its wide logo dropdown to the right
   edge (default centering pushed it past the viewport -> horizontal scroll). */
.cat-nav .mega-brands { left: 0; right: auto; transform: translateX(0) translateY(8px); }
.cat-nav .nav-item:hover .mega-brands, .cat-nav .nav-item:focus-within .mega-brands { transform: translateX(0) translateY(0); }
.cat-hot .cat-tag { font-family: var(--font-body); font-weight: 700; font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; background: #F7941E; color: #3a2600; padding: 2px 6px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.header-inner { height: 72px; }
/* mobile search inside the drawer */
.mnav-search { position: relative; display: flex; align-items: center; margin: 4px 0 14px; }
.mnav-search svg { position: absolute; left: 14px; width: 17px; height: 17px; stroke: var(--muted); }
.mnav-search input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px 0 40px; font-family: var(--font-body); font-size: .95rem; background: var(--bg-soft); }
.mnav-body > a.mnav-hot { color: var(--blue); }
.mnav-body > a .mnav-tag { font-family: var(--font-body); font-weight: 700; font-size: .56rem; letter-spacing: .06em; text-transform: uppercase; background: #F7941E; color: #3a2600; padding: 2px 6px; border-radius: 999px; }
/* responsive: keep search + cart, drop utility text below the desktop nav bp */
@media (max-width: 1279px) {
  .tb-phone, .tb-offer-wrap { display: none; }
  .topbar-inner { gap: 12px; }
  .topbar .header-cta { margin-left: 0; }
}
@media (max-width: 640px) {
  .tb-link { display: none; }
  .tb-search { max-width: none; }
}
/* end product-first header */


/* PRODUCT-FIRST CATALOG GRID (v-pf1) =====================================
   Circular category tiles on the bare /catalog landing. */
.catgrid-h { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem,3vw,2.1rem); text-align:center; margin-bottom: 6px; letter-spacing:-.01em; }
.catgrid-sub { text-align:center; color: var(--muted); max-width:560px; margin: 0 auto 34px; }
.catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px; }
.catgrid-tile { display:flex; flex-direction:column; align-items:center; text-align:center; text-decoration:none; }
.cg-media { width: 100%; aspect-ratio: 1/1; border-radius: 50%; overflow:hidden; background:#fff; border:1px solid var(--line); display:grid; place-items:center; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cg-media img { width: 80%; height: 80%; object-fit: contain; }
.catgrid-tile:hover .cg-media { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color:#c7d0de; }
.cg-name { font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; color: var(--ink); margin-top: 15px; }
.catgrid-tile:hover .cg-name { color: var(--blue); }
.cg-desc { color: var(--muted); font-size: .82rem; margin-top: 3px; line-height:1.3; }
@media (max-width: 900px){ .catgrid { grid-template-columns: repeat(3,1fr); gap: 20px 14px; } }
@media (max-width: 560px){ .catgrid { grid-template-columns: repeat(2,1fr); } .cg-desc{ display:none; } }
/* end catalog grid */

/* HOMEPAGE CATEGORY GRID (dark) (v-pf1) =============================
   The homepage category showcase reuses the catalog's circular tiles on the
   dark section, so the two pages read as one system. */
.section.cats .catgrid { margin-top: 8px; }
.catgrid-dark .cg-name { color: #fff; }
.catgrid-dark .cg-desc { color: #9fb4d8; }
/* end homepage category grid */

/* POPULAR DROPDOWN (v-pf1) ==========================================
   'Popular' menu pinned to the far right of the category row. */
.cat-nav { margin-right: 0; flex: 1 1 auto; }
.cat-nav .nav-list { width: 100%; }
.nav-popular { margin-left: auto; }
.mega-popular { left: auto; right: 0; transform: translateX(0) translateY(8px); min-width: 440px; z-index: 120; }
.nav-popular:hover .mega-popular, .nav-popular:focus-within .mega-popular { opacity: 1; visibility: visible; transform: translateX(0) translateY(0); }
.mega-popular .offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-popular .offer-grid a { flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 12px; }
.mega-popular .offer-grid a b { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); }
.mega-popular .offer-grid a:hover b { color: var(--blue); }
/* end popular dropdown */

/* Fit the SWAG-style nav (9 items + 2 dropdowns) + Shop All CTA on desktop
   without horizontal overflow. Trims logo/nav sizing where the full nav shows. */
@media (min-width: 1280px) {
  .site-header .logo-img { height: 50px; }
  .cat-nav { margin-left: 12px; }
  .cat-nav .nav-list { gap: 0; }
  .cat-nav .nav-link { font-size: .9rem; padding: 9px 9px; }
  .nav-shopall { padding: 9px 16px; font-size: .85rem; margin-left: 8px; }
}

/* Category (Apparel) subcategory dropdown — left-aligned under its nav item */
.cat-nav .dropdown.mega-cat { left: 0; right: auto; transform: translateX(0) translateY(8px); min-width: 500px; }
.cat-nav .nav-item:hover .dropdown.mega-cat, .cat-nav .nav-item:focus-within .dropdown.mega-cat { opacity: 1; visibility: visible; transform: translateX(0) translateY(0); }
.mega-cat .offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-cat .offer-grid a { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 12px; border-radius: 10px; }
.mega-cat .offer-grid a:hover { background: var(--bg-soft); }
.mega-cat .offer-grid a b { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); }
.mega-cat .offer-grid a small { color: var(--muted); font-size: .78rem; }
.mega-cat .offer-grid a:hover b { color: var(--blue); }

/* Staff-only sourcing panel on product pages (?staff=1) — vendor + raw SKU so
   an order can be sourced in DistributorCentral. Never shown to customers. */
.pd-staff { margin: 14px 0 4px; padding: 14px 16px; border: 1px dashed #b45309;
            border-radius: 12px; background: #fffbeb; }
.pd-staff-h { font-size: .68rem; font-weight: 800; letter-spacing: .08em;
              text-transform: uppercase; color: #b45309; margin-bottom: 8px; }
.pd-staff-r { display: flex; justify-content: space-between; gap: 12px;
              font-size: .88rem; padding: 3px 0; }
.pd-staff-r span { color: var(--muted); }
.pd-staff-r b { color: var(--ink); font-variant-numeric: tabular-nums; }
.pd-staff-sku { user-select: all; }
.pd-staff-copy { margin-top: 10px; font: inherit; font-size: .82rem; font-weight: 600;
                 padding: 7px 13px; border: 1px solid #b45309; border-radius: 9px;
                 background: #fff; color: #b45309; cursor: pointer; }
.pd-staff-copy:hover { background: #b45309; color: #fff; }
.pd-staff-dc { display: block; margin-top: 9px; font-size: .84rem; font-weight: 600; color: #b45309; }
.pd-staff-n { margin-top: 9px; font-size: .72rem; color: var(--muted); }
.pd-staff-n code { background: #fff; padding: 1px 5px; border-radius: 4px; }

/* Brand strip: text tiles for brands we stock but have no logo file for.
   The strip used to be 15/19 dead links (Ray-Ban, TUMI, Bose... none of which
   are in the catalog), so every click landed on an empty result. */
.brand-logo.brand-word { display: flex; align-items: center; justify-content: center;
  padding: 10px 12px; text-align: center; }
.brand-logo.brand-word span { font-family: var(--font-head); font-weight: 700;
  font-size: .84rem; line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
.brand-logo.brand-word:hover span { color: var(--blue); }
