/* OB brand palette. The logo's own red and blue are bright, so they are used for decoration
   (stripes, arcs, tints). Text and buttons use deeper shades of the same hues that meet
   WCAG 2.1 AA contrast (4.5:1 or better); every pairing below was measured. */
:root {
  --ob-red: #FF4545;        /* logo red: decoration only (3.4:1) */
  --ob-blue: #60A5FA;       /* logo blue: decoration only (2.5:1) */
  --brand: #1E5BB8;         /* OB blue for links and buttons (6.5:1) */
  --brand-strong: #174A99;
  --accent: #C62828;        /* OB red for key actions and highlights (5.6:1) */
  --accent-strong: #A51F1F;
  --heading: #0E2A4F;       /* OB navy */
  --ink: #16202E; --muted: #4A5566; --bg: #ffffff; --panel: #F5F8FC; --line: #D5DEEA;
  --blue-tint: #EEF5FE; --red-tint: #FFF1F1;
  --brand-ink: #ffffff; --focus: #0E2A4F; --error: #A4161A;
  /* Header banner in OB navy, with the logo's red and blue as accents. On the navy: white 14.4:1,
     light blue links 10.1:1, logo blue 5.7:1, logo red 4.2:1 (used only for the large bold phone number). */
  --banner: #0E2A4F; --banner-strong: #0A1F3B; --banner-ink: #ffffff; --banner-link: #BFDBFE;
  --banner-accent: #60A5FA; --banner-tint: #EEF5FE;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
h1, h2, h3 { color: var(--heading); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
a { color: var(--brand); }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand); color: var(--brand-ink); padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* White header so the logo (white background) sits cleanly; the red-then-blue stripe echoes the logo's arcs. */
.site-header { background: var(--banner); color: var(--banner-ink); }
.site-header :focus-visible { outline-color: var(--banner-accent); }
.site-header .brand { color: var(--banner-ink); }
.site-header .brand img { background: #ffffff; border-radius: 8px; padding: 3px 5px; box-sizing: content-box; }
.site-header .account-nav a { color: var(--banner-link); }
.site-header .account-nav a:hover { color: var(--banner-ink); }
.site-header .account-nav a.button.cta { background: #ffffff; color: var(--banner); }
.site-header .account-nav a.button.cta:hover { background: var(--banner-tint); }
.site-header .account-nav .link-button { color: var(--banner-link); }
.header-search .button { background: var(--banner-accent); color: var(--banner-strong); }
.header-search .button:hover { background: #93C5FD; }
.header-search input { border-color: #ffffff; }
.header-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--heading); font-weight: 800; font-size: 1.35rem; line-height: 1.1; text-decoration: none; }
.brand img { display: block; }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; align-items: center; }
.nav a, .link-button { color: var(--brand); }
.nav a.button { color: var(--brand-ink); text-decoration: none; }
.button.small { padding: 6px 12px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }

main.wrap { padding-top: 24px; padding-bottom: 48px; }
.lead { font-size: 1.125rem; color: var(--muted); }
.muted { color: var(--muted); }
.notice { background: var(--blue-tint); padding: 10px 14px; border-left: 4px solid var(--ob-blue); border-radius: 0 6px 6px 0; }
.error { color: var(--error); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.button { display: inline-block; background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 6px; padding: 10px 16px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--brand-strong); color: var(--brand-ink); }
/* Key buying actions (add to cart, check out, place order, create account) in OB red. */
.button.cta, .nav a.button.cta { background: var(--accent); color: var(--brand-ink); }
.button.cta:hover { background: var(--accent-strong); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0; }
.filters input, .filters select, .stack input { padding: 8px; font: inherit; border: 1px solid var(--muted); border-radius: 4px; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.narrow { max-width: 360px; }
.narrow-wide { max-width: 560px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.help { font-size: 0.9rem; }
.help ul { margin: 4px 0; padding-left: 20px; }
.actions-list li { margin: 6px 0; }

.product-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.product-name { font-size: 1.05rem; margin: 0 0 4px; }
.price { font-size: 1.5rem; font-weight: 700; margin: 8px 0; color: var(--heading); }
.specs { border-collapse: collapse; width: 100%; max-width: 640px; }
.specs th, .specs td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }

.button.secondary { background: var(--bg); color: var(--brand); border: 1px solid var(--brand); }
.button.secondary:hover { background: var(--blue-tint); color: var(--brand-strong); }
.link-button.dark { color: var(--brand); }
.qty { width: 5em; padding: 6px; font: inherit; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cart { max-width: none; }
.checkout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 760px) { .checkout { grid-template-columns: minmax(0, 1fr); } }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin: 0; }
legend { font-weight: 700; padding: 0 4px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.field input, .field textarea, .field select { padding: 8px; font: inherit; border: 1px solid var(--muted); border-radius: 4px; }
.radio { margin: 4px 0; }
.plain { list-style: none; padding: 0; }
tr.flag td { background: #fff4e5; }
.email-draft { white-space: pre-wrap; font-size: 0.9rem; }

/* --- Header: search + category bar --- */
.header-search { display: flex; flex: 1 1 320px; max-width: 520px; gap: 6px; }
.header-search input { flex: 1; min-width: 0; padding: 9px 12px; font: inherit; border: 1px solid var(--muted); border-radius: 6px; }
.account-nav { font-size: 0.95rem; }
.category-bar { background: var(--banner-tint); border-width: 0 0 4px; border-style: solid; border-image: linear-gradient(90deg, var(--ob-red) 0 30%, var(--ob-blue) 30% 100%) 1; }
.category-bar .main-nav a, .category-bar .main-nav .link-button, .category-bar .menu > summary { color: var(--banner); }
.category-bar .menu-panel a { color: var(--brand); }  /* links inside the open menus stay standard blue on white */
.main-nav { max-width: 1100px; margin: 0 auto; padding: 8px 16px; gap: 8px 20px; }
.main-nav a { text-decoration: none; font-weight: 600; }
.main-nav a:hover, .main-nav a:focus-visible { text-decoration: underline; }
.staff-links a { font-weight: 400; font-size: 0.9rem; }
.menu { position: relative; }
.menu summary { cursor: pointer; font-weight: 600; color: var(--brand); list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: " \25BE"; }
.menu-panel { position: absolute; z-index: 20; top: 100%; left: 0; margin-top: 8px; min-width: 260px; list-style: none;
  padding: 8px 0; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.menu-panel a { display: block; padding: 8px 16px; font-weight: 400; }
/* Explore OB: three titled columns with a short note, and an "Explore OB" link bottom right. */
.mega-menu.explore-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; padding: 8px 24px 16px; }
.explore-title { margin: 14px 0 4px; font-size: 1.25rem; font-weight: 700; color: var(--heading); }
.menu-panel .explore-title a { color: var(--heading); padding: 0; font-weight: 700; }
.explore-note { margin: 0 0 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .93rem; }
.explore-links a, .tools-menu .tools-list a { padding: 5px 8px; margin: 0 -8px; border-radius: 3px; font-weight: 600; text-decoration: none; }
.explore-links a:hover, .explore-links a:focus-visible, .tools-menu .tools-list a:hover, .tools-menu .tools-list a:focus-visible {
  background: var(--banner); color: #ffffff; }
.explore-cta { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); text-align: right; }
.menu-panel .explore-cta a { display: inline-block; font-weight: 700; font-size: 1.05rem; color: var(--heading); }
/* Tools: grouped account links on the left, a photo promotion on the right. */
.mega-menu.tools-menu { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 24px; padding: 16px 24px; }
.tools-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; align-content: start; }
.tools-heading { display: block; margin: 8px 0 2px; font-weight: 700; color: var(--heading); }
.tools-menu .tools-list a.tools-heading { color: var(--heading); }
.tools-menu .tools-list ul a { font-weight: 400; color: var(--brand); }
.tools-promo { display: flex; flex-direction: column; justify-content: space-between; border-radius: 10px; overflow: hidden;
               background: var(--banner-tint); }
.tools-promo-text { padding: 16px 18px 4px; }
.tools-promo-text p { margin: 0 0 8px; color: var(--heading); }
.tools-promo-title { font-size: 1.25rem; font-weight: 700; line-height: 1.25; color: var(--heading); }
.tools-promo-text .tools-promo-sub { color: var(--accent); font-weight: 700; }
.menu-panel .tools-promo-text a { display: inline; padding: 0; font-weight: 700; }
.tools-promo-art { height: 170px; }
.tools-promo-art .page-photo { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .mega-menu.explore-menu, .mega-menu.tools-menu, .tools-list { grid-template-columns: 1fr; }
  .explore-cta { text-align: left; }
  .tools-promo { margin-top: 12px; }
}
/* Department menu: OB's departments in columns, each with its categories. */
.mega-menu { width: min(900px, calc(100vw - 32px)); padding: 16px; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 20px; }
.mega-group { padding: 6px 0; border-top: 3px solid var(--ob-blue); }
.mega-menu .mega-heading { font-weight: 700; color: var(--heading); padding: 6px 0 2px; }
.mega-menu p.mega-heading { margin: 0; }  /* group titles that are not links (Explore OB, Tools) */
.mega-menu .mega-group a:not(.mega-heading) { padding: 3px 0; font-size: 0.93rem; }
.mega-all { grid-column: 1 / -1; margin: 8px 0 0; }
.mega-all a { display: inline-block; padding: 6px 0; }
.mega-menu .mega-note { margin: 2px 0 0; font-size: 0.875rem; color: var(--muted); }
/* Wide menus open from the left edge of the menu bar, so even the right-most one fits on screen. */
.main-nav { position: relative; }
.menu:has(> .mega-menu) { position: static; }
.main-nav .mega-menu { left: 16px; }
@media (max-width: 760px) {
  .mega-menu { grid-template-columns: 1fr; width: calc(100vw - 32px); max-height: 70vh; overflow-y: auto; }
}
/* Department tiles on the home page, numbered in OB red. */
.dept-grid .tile { position: relative; padding-top: 38px; }
.dept-number { position: absolute; top: 12px; left: 16px; font-weight: 800; font-size: 0.85rem;
  letter-spacing: .08em; color: var(--accent); }
.dept-count { margin-top: auto; font-weight: 600; color: var(--brand); }
.dept-service { margin-top: -4px; }

/* --- Home --- */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--banner-tint), #ffffff 65%);
  border: 1px solid var(--line); border-radius: 12px; padding: 32px 24px; margin-bottom: 24px; }
.hero > div { position: relative; z-index: 1; max-width: 760px; }
/* Two arcs echoing the logo: red outer, blue inner (decorative). */
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; border-style: solid;
  border-color: transparent; pointer-events: none; }
.hero::before { width: 420px; height: 420px; right: -150px; top: -190px; border-width: 22px;
  border-top-color: var(--ob-red); border-left-color: var(--ob-red); opacity: .55; transform: rotate(-20deg); }
.hero::after { width: 320px; height: 320px; right: -110px; top: -130px; border-width: 16px;
  border-top-color: var(--ob-blue); border-left-color: var(--ob-blue); opacity: .6; transform: rotate(-20deg); }
@media (max-width: 760px) { .hero::before, .hero::after { display: none; } .hero { border-top: 4px solid var(--ob-red); } }
.hero h1, .hero .h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 8px; color: var(--banner); }
.hero a { color: var(--banner); }
.hero-search .button { background: var(--banner); color: var(--banner-ink); }
.hero-search .button:hover { background: var(--banner-strong); }
.hero-search { display: flex; gap: 8px; max-width: 640px; margin: 16px 0 8px; }
.hero-search input { flex: 1; min-width: 0; padding: 12px 14px; font: inherit; font-size: 1.05rem; border: 1px solid var(--muted); border-radius: 6px; }
.section { margin: 32px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.section-head h2 { margin: 0 0 14px; padding-bottom: 4px; border-bottom: 3px solid var(--ob-red); }
.audience h3 { margin-top: 0; }
.tile-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 1px solid var(--line);
  border-radius: 8px; text-decoration: none; color: var(--ink); background: var(--bg); }
.tile strong { color: var(--brand); }
.tile { border-top: 3px solid var(--ob-blue); }
.tile:hover, .tile:focus-visible { border-color: var(--brand); border-top-color: var(--ob-red); box-shadow: 0 2px 10px rgba(30,91,184,.18); }
.brand-strip { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brand-strip a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--panel); border-radius: 8px; }
.steps li { background: var(--blue-tint); }
.steps li::before { content: counter(step); font-weight: 700; color: var(--brand-ink); background: var(--accent);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }

/* --- Catalog --- */
.catalog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 800px) { .catalog-layout { grid-template-columns: minmax(0, 1fr); } }
.filters-panel summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; padding: 10px 14px;
  border: 1px solid var(--brand); border-radius: 6px; color: var(--brand); }
@media (min-width: 801px) { .filters-panel summary { display: none; } }
.filters-panel form { margin-top: 12px; }
.filters-panel fieldset { padding: 8px 12px; }
.filters-panel input[type=search] { padding: 8px; font: inherit; border: 1px solid var(--muted); border-radius: 4px; }
.price-range { display: grid; grid-template-columns: auto 1fr; gap: 6px 8px; align-items: center; }
.price-range input { width: 100%; padding: 6px; font: inherit; border: 1px solid var(--muted); border-radius: 4px; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.results-count { font-size: 1.05rem; margin: 0; }
.sort-form { display: flex; align-items: center; gap: 6px; }
.sort-form select { padding: 6px; font: inherit; }
.product-card { display: flex; flex-direction: column; background: var(--bg); }
.product-image { display: block; aspect-ratio: 4 / 3; background: var(--panel); border-radius: 6px; overflow: hidden; margin-bottom: 8px; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-card .price { margin-top: auto; }
.eyebrow { margin: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.eyebrow a { color: var(--accent); }
.small { font-size: 0.875rem; }
.stock.in { color: #1e6b33; font-weight: 600; }
.stock.out { color: var(--error); font-weight: 600; }
.empty { grid-column: 1 / -1; padding: 24px; background: var(--panel); border-radius: 8px; }
.pagination { display: flex; gap: 16px; align-items: center; justify-content: center; margin: 24px 0; }

/* --- Product page, compare --- */
.breadcrumb { font-size: 0.9rem; margin-bottom: 12px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 760px) { .product-layout { grid-template-columns: 1fr; } }
.product-photo { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: contain; }
.product-media { min-width: 0; }
.photo-thumbs { list-style: none; margin: 10px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.photo-thumb { display: block; width: 64px; height: 64px; border: 2px solid var(--line); border-radius: 6px; background: var(--panel); overflow: hidden; }
.photo-thumb img { width: 100%; height: 100%; object-fit: contain; }
.photo-thumb:hover { border-color: var(--muted); }
.photo-thumb[aria-current="true"] { border: 3px solid var(--accent); }  /* 5.6:1, and thicker, so not colour alone */
.product-layout h1 { margin: 4px 0; }
.price.large { font-size: 2rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.table-scroll { overflow-x: auto; max-width: 100%; }
.table-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.compare { max-width: none; min-width: 560px; }
.compare thead th { vertical-align: bottom; }
.compare-img { display: block; width: 120px; height: 90px; object-fit: contain; margin-bottom: 6px; }

/* --- Services, contact --- */
.service-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.service-grid .card { background: var(--bg); }
.type-nav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.type-nav a { display: inline-block; padding: 6px 14px; border: 1px solid var(--brand); border-radius: 999px;
  text-decoration: none; font-weight: 600; background: var(--bg); }
.type-nav a:hover { background: var(--blue-tint); }
.service-type { scroll-margin-top: 16px; }
.h3 { font-size: 1.15rem; margin-top: 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
.stack textarea, .stack select { padding: 8px; font: inherit; border: 1px solid var(--muted); border-radius: 4px; }

/* --- Service tags, product variants --- */
.tag { display: inline-block; font-size: 0.8rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; margin: 0 0 8px; }
.tag-contract { background: var(--blue-tint); color: var(--brand); }
.tag-quote { background: var(--red-tint); color: var(--accent); }
.service-infra { border-top: 3px solid var(--ob-red); }
.variants p { margin: 12px 0 6px; }
.variant-list { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.variant { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.variant:hover { border-color: var(--brand); }
.variant.current { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); font-weight: 600; }

/* --- Saved carts, approved-product lists --- */
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.save-cart { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.save-cart input[name=name] { flex: 1 1 220px; }
.buy-again { margin: 8px 0 16px; }
.manager-panel { background: var(--blue-tint); border-left: 4px solid var(--ob-blue); margin: 16px 0; }
.manager-panel .filters input:not([type]), .manager-panel .filters input[type=number], .manager-panel select { padding: 7px; font: inherit; }
.button[disabled] { opacity: .5; cursor: not-allowed; }

/* --- Footer (OB navy) --- */
.site-footer { background: var(--heading); color: #DCE6F2; padding: 28px 0; border-top: 4px solid;
  border-image: linear-gradient(90deg, var(--ob-red) 0 30%, var(--ob-blue) 30% 100%) 1; }
.site-footer a { color: #FFFFFF; }
.site-footer .muted { color: #DCE6F2; }
.site-footer .footer-legal { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); color: #DCE6F2; }
footer.site-footer { padding-bottom: 76px; }  /* room for the floating "Pause animations" button */
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
@media (min-width: 900px) {  /* Shop | Services (two columns) | Help | Contact */
  .footer-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px 28px; }
}
.footer-col > section + section { margin-top: 20px; }
.footer-two-col { columns: 2; column-gap: 24px; }
.footer-two-col li { break-inside: avoid; margin: 0 0 8px; }
@media (max-width: 640px) {  /* phones: lists side by side so the footer stays short */
  .footer-grid ul.plain:not(.social-links) { columns: 2; column-gap: 16px; }
  .footer-grid ul.plain li { break-inside: avoid; margin: 0 0 8px; }
}

.footer-grid h2 { font-size: 1rem; color: #FFFFFF; margin: 0 0 8px; }
.footer-grid li { margin: 4px 0; }
.site-footer :focus-visible { outline-color: #FFFFFF; }

/* Staff markups page */
.rate-table .rate-input { width: 7em; padding: 6px 8px; font: inherit; border: 1px solid var(--muted); border-radius: 4px; }
.rate-table .rate-input[aria-invalid="true"] { border-color: var(--error); }
@media (max-width: 640px) {
  .rate-table { display: block; overflow-x: auto; }
}

/* Accessibility review 2026-09-30 (WCAG 2.1 AA 1.4.10 Reflow) */
details.menu:not([open]) > .menu-panel { display: none; }
fieldset { min-width: 0; }
.radio { display: flex; gap: 6px; align-items: flex-start; }
.radio label { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .menu-panel { position: static; min-width: 0; margin-top: 4px; box-shadow: none; }
}

/* Toll-free ordering line, top right of every page (Contract 284947, Exhibit C) */
.header-right { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-left: auto; }  /* number centered above the account links */
.header-right .account-nav { justify-content: flex-end; }
.header-phone { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 0 8px; }
.header-phone a { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 1.25rem;
  letter-spacing: 0.01em; color: var(--ob-red); text-decoration: none; }  /* logo red: 4.2:1 on navy, large bold text */
.header-phone a:hover { color: var(--banner-ink); text-decoration: underline; }
@media (max-width: 760px) {
  .header-right { align-items: flex-start; margin-left: 0; }
  .header-right .account-nav { justify-content: flex-start; }
  .header-phone { justify-content: flex-start; }
}

/* Social media links in the footer: 40px round targets, white icons on the navy footer */
.social-links { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; border: 2px solid #FFFFFF; color: #FFFFFF; }
.social-links a:hover { background: #FFFFFF; color: var(--heading); }

/* Ask OB */
.ask-log { display: grid; gap: 16px; margin: 20px 0; }
.ask-exchange { display: grid; gap: 8px; }
.ask-msg { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; min-width: 0; }
.ask-msg p { margin: 0 0 8px; } .ask-msg p:last-child { margin-bottom: 0; }
.ask-msg ul { margin: 0 0 8px; padding-left: 1.25rem; }
.ask-you { background: var(--blue-tint); justify-self: end; max-width: min(100%, 640px); }
.ask-ob { background: var(--bg); }
.ask-ob:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.ask-who { font-weight: 700; font-size: .875rem; color: var(--heading); }
.ask-products { list-style: none; padding: 0 !important; margin: 12px 0 0 !important; display: grid; gap: 10px;
                grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.ask-product { border: 1px solid var(--line); border-radius: 8px; padding: 10px; display: grid; gap: 4px; min-width: 0; }
.ask-product a { display: flex; gap: 10px; align-items: center; }
.ask-product img { width: 72px; height: 72px; object-fit: contain; background: var(--panel); border-radius: 6px; flex: none; }
.ask-product-name { overflow-wrap: anywhere; }
.ask-product-price { font-weight: 700; }
.ask-example-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.ask-form { display: grid; gap: 6px; max-width: 720px; }
.ask-form textarea { padding: 8px; font: inherit; border: 1px solid var(--muted); border-radius: 4px; width: 100%; }
.ask-form p { margin: 0; }

.ai-row { max-width: 1100px; margin: 0 auto; padding: 8px 16px 0; }
.ai-box { display: inline-block; padding: 3px 12px; border: 2px solid var(--ob-red); border-radius: 0; color: var(--banner);
          font-weight: 700; font-size: .9375rem; line-height: 1.4; text-decoration: none; background: var(--bg); }
.ai-box:hover, .ai-box:focus-visible { background: var(--accent); color: var(--brand-ink); }

/* Home: Hardware and Software tiles */
.offer-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin: 0; }
.offer-tile { display: grid; gap: 8px; height: 100%; padding: 20px 22px; border: 1px solid var(--line); border-left: 6px solid var(--ob-red);
              border-radius: 10px; background: var(--bg); color: var(--ink); text-decoration: none; }
.offer-grid li + li .offer-tile { border-left-color: var(--ob-blue); }
.offer-tile strong { font-size: 1.35rem; color: var(--heading); }
.offer-tile .offer-link { color: var(--brand); font-weight: 700; text-decoration: underline; }
.offer-tile:hover { background: var(--blue-tint); }

/* Policy pages: comfortable reading width */
.policy { max-width: 760px; }
.policy h2 { margin-top: 28px; }
.policy li { margin-bottom: 6px; }

/* Home page banner (carousel). Without JavaScript the slides simply stack. */
.carousel { position: relative; margin-bottom: 24px; }
.carousel-slides { display: grid; gap: 16px; }
.slide { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 340px;
         border-radius: 12px; overflow: hidden; background: var(--banner); color: var(--banner-ink); }
.slide:not(.has-image)::before, .slide:not(.has-image)::after {  /* logo-style arcs on slides without a photo */
  content: ""; position: absolute; border-radius: 50%; border-style: solid; border-color: transparent; pointer-events: none;
  transform: rotate(-20deg); }
.slide:not(.has-image)::before { width: 460px; height: 460px; right: -140px; top: -200px; border-width: 24px;
  border-top-color: var(--ob-red); border-left-color: var(--ob-red); opacity: .8; }
.slide:not(.has-image)::after { width: 340px; height: 340px; right: -90px; top: -130px; border-width: 18px;
  border-top-color: var(--ob-blue); border-left-color: var(--ob-blue); opacity: .85; }
.slide-photo { position: absolute; inset: 0; }
.slide-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Product pictures: text on the left, the whole picture on white on the right, side by side. */
.slide.fit-whole { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); }
.slide.fit-whole .slide-photo { position: relative; inset: auto; grid-column: 2; grid-row: 1; background: #ffffff; }
.slide.fit-whole .slide-photo img { position: absolute; inset: 0; object-fit: contain; padding: 20px; }  /* never sets the height */
.slide.fit-whole .slide-panel { grid-column: 1; grid-row: 1; background: transparent; max-width: none; }
.slide-panel { position: relative; z-index: 1; align-self: center; max-width: 560px; margin: 28px;
               padding: 24px 28px; border-radius: 10px; background: rgba(14, 42, 79, .94); }
.slide-badge { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px;
               background: var(--accent); color: #ffffff; font-weight: 800; letter-spacing: .04em; font-size: .9rem; }
.slide-title { margin: 0 0 8px; font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 800; line-height: 1.15; }
.slide-text { margin: 0 0 14px; font-size: 1.05rem; color: var(--banner-link); }
.slide-panel p:last-child { margin-bottom: 0; }
.button.slide-button { background: #ffffff; color: var(--banner); }
.button.slide-button:hover { background: var(--banner-tint); }
.slide :focus-visible { outline-color: var(--ob-blue); }

/* With JavaScript: one slide at a time, cross-fading. */
.carousel.is-ready .carousel-slides { grid-template-areas: "slide"; gap: 0; }
.carousel.is-ready .slide { grid-area: slide; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.carousel.is-ready .slide.is-current { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.carousel.is-rotating .slide.is-current .slide-photo img { animation: slide-zoom 9s ease-out both; }
@keyframes slide-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }

.carousel-controls { position: absolute; z-index: 2; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 6px;
                     padding: 6px 10px; border-radius: 999px; background: rgba(14, 42, 79, .9); }
.carousel-controls[hidden] { display: none; }
.carousel-button { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 2px solid #ffffff;
                   border-radius: 50%; background: transparent; color: #ffffff; cursor: pointer; padding: 0; }
.carousel-button:hover { background: rgba(255, 255, 255, .2); }
.carousel-button:focus-visible, .carousel-dot:focus-visible { outline: 3px solid var(--ob-blue); outline-offset: 2px; }
.carousel-play .icon-play, .carousel-play.is-stopped .icon-pause { display: none; }
.carousel-play.is-stopped .icon-play { display: block; }
.carousel-dots { display: flex; gap: 4px; margin: 0 0 0 4px; }
.carousel-dot { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.carousel-dot::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid #ffffff; }
.carousel-dot[aria-current="true"]::before { background: #ffffff; }

@media (max-width: 760px) {
  .slide { min-height: 0; }
  .slide.fit-whole { grid-template-columns: minmax(0, 1fr); }
  .slide.has-image .slide-photo, .slide.fit-whole .slide-photo { position: relative; left: 0; inset: auto; height: 200px;
                                                                 grid-column: 1; grid-row: 1; }
  .slide.has-image .slide-panel { grid-row: 2; }
  .slide-panel { margin: 0; max-width: none; border-radius: 0; padding: 20px 18px 64px; background: var(--banner); }
  .carousel-controls { left: 12px; right: auto; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel.is-ready .slide, .carousel.is-ready .slide.is-current { transition: none; }
  .carousel.is-rotating .slide.is-current .slide-photo img { animation: none; }
}

/* Home page: numbers band */
.stats-band { margin: 0 0 24px; border-radius: 12px; background: var(--banner); color: var(--banner-ink); padding: 22px 16px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; margin: 0; text-align: center; }
.stat-number { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.1; color: #ffffff; }
.stat-label { display: block; color: var(--banner-link); font-weight: 600; }
.stats li + li { border-left: 1px solid rgba(255, 255, 255, .18); }
@media (max-width: 760px) { .stats li + li { border-left: 0; } }

/* Home page: moving brand ribbon (pauses on hover, keyboard focus or its button) */
.marquee { position: relative; display: flex; align-items: center; gap: 10px; }
.marquee-window { overflow: hidden; flex: 1; min-width: 0; display: flex; }
.marquee.is-moving .marquee-window { mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee.is-moving .brand-strip { flex-wrap: nowrap; flex: none; margin: 0; padding-right: 8px; animation: marquee 60s linear infinite; }
.marquee.is-moving .brand-strip li { flex: none; }
.marquee.is-moving:hover .brand-strip, .marquee.is-moving:focus-within .brand-strip,
.marquee.is-paused .brand-strip { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.marquee-toggle { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%;
                  border: 2px solid var(--brand); background: var(--bg); color: var(--brand); cursor: pointer; }
.marquee-toggle[hidden] { display: none; }
.marquee-toggle .icon-play, .marquee-toggle.is-stopped .icon-pause { display: none; }
.marquee-toggle.is-stopped .icon-play { display: block; }

/* Sections that fade and rise into view (only when JavaScript runs and motion is welcome) */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* Cards and tiles lift a little when pointed at */
.tile, .offer-tile, .product-card, .service-grid .card { transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover, .offer-tile:hover, .product-card:hover, .service-grid .card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(14, 42, 79, .14); }
@media (prefers-reduced-motion: reduce) {
  .tile, .offer-tile, .product-card, .service-grid .card { transition: none; }
  .tile:hover, .offer-tile:hover, .product-card:hover, .service-grid .card:hover { transform: none; }
}

/* Pictures: inner-page banners and section pictures (OB illustrations, or staff photos from Admin > Page images) */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin: 0 0 24px;
             padding: 26px 28px; border-radius: 12px; border: 1px solid var(--line); position: relative; overflow: hidden;
             background: linear-gradient(135deg, var(--blue-tint), #ffffff 70%); }
.page-hero::after { content: ""; position: absolute; width: 340px; height: 340px; right: 40px; bottom: -250px; border-radius: 50%;
                    border: 14px solid transparent; border-top-color: var(--ob-red); border-left-color: var(--ob-red);
                    opacity: .25; transform: rotate(10deg); pointer-events: none; }
.page-hero h1 { margin-top: 0; }
.page-hero .lead:last-child, .page-hero p:last-child { margin-bottom: 0; }
.page-hero-art { position: relative; z-index: 1; display: grid; place-items: center; width: 190px; height: 170px;
                 border-radius: 14px; background: #ffffff; box-shadow: 0 6px 20px rgba(14, 42, 79, .10); overflow: hidden; }
.page-hero-art .page-photo { width: 100%; height: 100%; object-fit: cover; }
.page-hero.compact { padding: 18px 22px; }
.page-hero.compact .page-hero-art { width: 140px; height: 120px; }
@media (max-width: 640px) {
  .page-hero { grid-template-columns: minmax(0, 1fr); }
  .page-hero::after { display: none; }
  .page-hero-art { width: 100%; height: 150px; order: -1; }
  .page-hero-art.is-scene { height: auto; aspect-ratio: 8 / 5; }
  .type-head { flex-wrap: wrap; }
  .type-art.is-scene { width: 100%; height: auto; aspect-ratio: 8 / 5; }
}
.page-hero-art.is-scene { width: 320px; height: 200px; background: none; }
.page-hero.compact .page-hero-art.is-scene { width: 256px; height: 160px; }
.scene { display: block; width: 100%; height: 100%; }
.type-art.is-scene { width: 224px; height: 140px; }
/* People scenes: parts move once when the scene is seen (motion.js adds .is-playing). Every movement ends
   within 5 seconds, so no pause button is needed (WCAG 2.2.2). Without JS, or with reduced motion, they stay still. */
.js-motion .scene .anim { transform-box: fill-box; animation-duration: .7s; animation-timing-function: ease-out;
                          animation-fill-mode: both; animation-play-state: paused; }
.js-motion .scene.is-playing .anim { animation-play-state: running; }
.js-motion .scene .rise { animation-name: scene-rise; }
.js-motion .scene .pop { transform-origin: center; animation-name: scene-pop; animation-delay: .9s;
                         animation-timing-function: cubic-bezier(.3, 1.6, .5, 1); }
.js-motion .scene .grow { transform-origin: bottom; animation-name: scene-grow; animation-duration: .9s; }
.js-motion .scene .fill { transform-origin: left; animation-name: scene-fill; animation-duration: 1.6s; animation-delay: .3s; }
.js-motion .scene .draw { stroke-dasharray: 1; animation-name: scene-draw; animation-duration: 1.4s; animation-delay: .3s; }
.js-motion .scene .spin { transform-origin: center; animation-name: scene-spin; animation-duration: 2.4s; }
.js-motion .scene .drive { animation-name: scene-drive; animation-duration: 1.2s; }
.js-motion .scene .from-left { animation-name: scene-from-left; animation-duration: .9s; }
.js-motion .scene .from-right { animation-name: scene-from-right; animation-duration: .9s; }
.js-motion .scene .blink { animation-name: scene-blink; animation-duration: .8s; animation-iteration-count: 3; }
.js-motion .scene .wave { transform-origin: 20% 100%; animation-name: scene-wave; animation-duration: .7s;
                          animation-iteration-count: 3; animation-delay: .8s; animation-timing-function: ease-in-out; }
.js-motion .scene .d1 { animation-delay: .15s; } .js-motion .scene .d2 { animation-delay: .3s; }
.js-motion .scene .d3 { animation-delay: .45s; } .js-motion .scene .d4 { animation-delay: .6s; }
.js-motion .scene .d5 { animation-delay: .75s; }
@keyframes scene-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes scene-pop { from { opacity: 0; transform: scale(0); } }
@keyframes scene-grow { from { transform: scaleY(0); } }
@keyframes scene-fill { from { transform: scaleX(0); } }
@keyframes scene-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes scene-spin { from { transform: rotate(-120deg); opacity: 0; } }
@keyframes scene-drive { from { transform: translateX(-90px); opacity: 0; } }
@keyframes scene-from-left { from { transform: translateX(-36px); opacity: 0; } }
@keyframes scene-from-right { from { transform: translateX(36px); opacity: 0; } }
@keyframes scene-blink { 50% { opacity: .15; } }
@keyframes scene-wave { 50% { transform: rotate(-18deg); } }
/* Photos that replace a scene settle from a slight zoom when first seen. */
.js-motion .scene-photo { transform: scale(1.1); transition: transform 1.8s cubic-bezier(.2, .7, .2, 1); }
.js-motion .scene-photo.is-playing { transform: none; }
/* Page banners slide in when the page opens. */
@media (prefers-reduced-motion: no-preference) {
  .page-hero-text { animation: hero-text-in .7s ease-out both; }
  .page-hero-art { animation: hero-art-in .8s .15s ease-out both; }
  .type-art > *, .cta-band-art > * { transition: transform .5s ease; }
  .service-type:hover .type-art > * { transform: scale(1.05); }
}
@keyframes hero-text-in { from { opacity: 0; transform: translateX(-24px); } }
@keyframes hero-art-in { from { opacity: 0; transform: translateX(32px) scale(.96); } }
/* "Talk to a specialist" band at the foot of inner pages. */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: center; margin: 36px 0 12px;
            padding: 28px 32px; border-radius: 14px; background: var(--navy, #0E2A4F); color: #ffffff; position: relative;
            overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
                    background: linear-gradient(var(--ob-red) 0 40%, var(--ob-blue) 40% 100%); }
.cta-band h2 { color: #ffffff; margin-top: 0; }
.cta-band p { color: #ffffff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-bottom: 0; }
.button.cta-light { background: #ffffff; color: var(--brand-strong); border-color: #ffffff; }
.button.cta-light:hover, .button.cta-light:focus-visible { background: var(--blue-tint); color: var(--brand-strong); }
.cta-phone { color: #ffffff; font-weight: 600; }
.cta-phone:hover, .cta-phone:focus-visible { color: #ffffff; }
.cta-band a:focus-visible { outline-color: #ffffff; }
.cta-band-art { height: 212px; border-radius: 12px; overflow: hidden; }
.cta-band-art .page-photo { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .cta-band { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .cta-band-art { height: auto; aspect-ratio: 8 / 5; order: -1; }
}
.type-head { display: flex; gap: 18px; align-items: center; margin-bottom: 12px; }
.type-head h2 { margin: 0 0 4px; }
.type-head p { margin: 0; }
.type-art, .card-art, .tile-art, .offer-art { flex: none; display: grid; place-items: center; border-radius: 12px;
                                              background: var(--blue-tint); overflow: hidden; }
.type-art { width: 96px; height: 96px; }
.card-art { width: 72px; height: 72px; margin-bottom: 10px; }
.tile-art { width: 60px; height: 60px; margin-bottom: 6px; }
.offer-art { width: 76px; height: 76px; }
.type-art .page-photo, .card-art .page-photo, .tile-art .page-photo, .offer-art .page-photo { width: 100%; height: 100%; object-fit: cover; }
.dept-grid .tile-art { margin-top: -6px; }
.tile:hover .illustration, .offer-tile:hover .illustration { transform: scale(1.08) rotate(-3deg); }
.illustration { transition: transform .25s ease; }
@media (prefers-reduced-motion: reduce) { .illustration { transition: none; } .tile:hover .illustration, .offer-tile:hover .illustration { transform: none; } }

/* About page */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0; }
.about-grid .card { display: flex; flex-direction: column; }
.about-grid .card > a { margin-top: auto; }
.checklist { padding-left: 0; list-style: none; }
.checklist li { position: relative; padding: 6px 0 6px 30px; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 8px; height: 13px; border: solid var(--ob-red);
                        border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* Videos staff add (Admin > Videos, or on an Explore OB page): 16:9, never autoplay. */
.video-band { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; align-items: center; }
.video-band-text h2 { margin-top: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--banner); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .video-band { grid-template-columns: minmax(0, 1fr); } }
.staff-hint { margin: 12px 0; padding: 8px 12px; border: 1px dashed var(--muted); border-radius: 6px; font-size: .9rem;
              color: var(--muted); background: var(--panel); }
/* Explore OB pages */
.content-body { max-width: 75ch; }
.content-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 24px 0 0; }
.content-card { display: flex; flex-direction: column; }
.content-card h2 { margin-top: 0; }
.content-card-link { margin-top: auto; margin-bottom: 0; }
.content-card-photo { width: calc(100% + 32px); max-width: none; margin: -16px -16px 12px; aspect-ratio: 4 / 3; object-fit: cover;
                      border-radius: 8px 8px 0 0; }
.coming-soon { margin: 8px 0 0; padding: 24px 28px; border-radius: 12px; background: var(--banner-tint);
               border-left: 6px solid var(--ob-red); }
.coming-soon h2 { margin-top: 0; }

/* Brand logos (Admin > Manufacturers, or fetch_brand_logos): ribbon, Brands page tiles, brand page heading. */
.brand-strip a.has-logo { display: flex; align-items: center; height: 56px; padding: 8px 18px; border-radius: 10px; background: #ffffff; }
.brand-strip a.has-logo img { display: block; height: 32px; width: auto; max-width: 130px; object-fit: contain; }
.brand-strip a.has-logo:hover, .brand-strip a.has-logo:focus-visible { border-color: var(--brand); }
.brand-tile .brand-logo { display: flex; align-items: center; height: 64px; margin-bottom: 6px; }
.brand-tile .brand-logo img { max-height: 48px; max-width: 150px; width: auto; height: auto; object-fit: contain; }
.brand-logo-text { font-size: 1.3rem; font-weight: 800; letter-spacing: .02em; color: var(--muted); }
.brand-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 12px; }
.brand-heading h1 { margin: 0; }
.brand-heading-logo { height: 56px; width: auto; max-width: 220px; object-fit: contain; padding: 8px 12px; background: #ffffff;
                      border: 1px solid var(--line); border-radius: 10px; }

/* Photo feature sections (Admin > Feature cards): Who we serve tabs, Plan / Deploy / Manage, Solutions slides. */
.spotlights { padding: 32px 0 8px; }
.spot-head { max-width: 860px; margin: 0 auto 24px; text-align: center; }
.spot-head h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--banner); }
.spot-head .lead { margin: 0; color: var(--muted); }
.spot-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 14px;
             background: var(--bg); box-shadow: 0 6px 18px rgba(14, 42, 79, .08); }
.spot-photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--blue-tint); }
.spot-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spot-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.spot-body h3 { margin: 0 0 8px; font-size: 1.25rem; color: var(--accent); }
.spot-body p { margin: 0 0 12px; }
.spot-body > :last-child { margin-top: auto; margin-bottom: 0; }
.spot-body .eyebrow { margin-bottom: 6px; color: var(--brand); }
.spot-step { font-size: .95rem; }
.spot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 0; }
.spot-link a { font-weight: 700; }
.spot-cta { margin: 24px 0 0; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .spot-photo img { transition: transform .5s ease; }
  .spot-card:hover .spot-photo img { transform: scale(1.05); }
}

/* Who we serve: tabs down the side, a wide photo card and a "How we help" list. */
.spot-tabset.is-tabbed { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
.spot-tablist { display: flex; flex-direction: column; gap: 8px; }
.spot-tablist [role="tab"] { padding: 14px 16px; border: 1px solid var(--line); border-left: 5px solid transparent;
                             border-radius: 10px; background: var(--bg); color: var(--banner); font: inherit;
                             font-weight: 700; text-align: left; cursor: pointer; }
.spot-tablist [role="tab"]:hover { background: var(--blue-tint); }
.spot-tablist [role="tab"][aria-selected="true"] { background: var(--banner); color: #ffffff; border-left-color: var(--ob-red); }
.spot-panel { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; margin-bottom: 20px; }
.spot-tabset.is-tabbed .spot-panel { margin-bottom: 0; }
.spot-panel[hidden] { display: none; }
.spot-wide .spot-photo { aspect-ratio: 16 / 9; }
.spot-aside { padding: 20px 22px; border-radius: 14px; background: var(--banner-tint); border-top: 5px solid var(--ob-blue); }
.spot-aside-title { margin: 0 0 6px; font-size: 1.1rem; font-weight: 800; color: var(--banner); }
.spot-aside .checklist { margin: 0; }
@media (max-width: 900px) {
  .spot-tabset.is-tabbed { grid-template-columns: minmax(0, 1fr); }
  .spot-tablist { flex-direction: row; flex-wrap: wrap; }
  .spot-tablist [role="tab"] { flex: 1 1 160px; border-left-width: 1px; border-bottom: 5px solid transparent; text-align: center; }
  .spot-tablist [role="tab"][aria-selected="true"] { border-bottom-color: var(--ob-red); }
  .spot-panel { grid-template-columns: minmax(0, 1fr); }
}

/* Solutions: a large card and a related card for each solution; visitors pick which one to see. */
.spot-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 18px; }
.spot-picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; }
.spot-picker button { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
                      color: var(--banner); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; }
.spot-picker button:hover { background: var(--blue-tint); }
.spot-picker button[aria-pressed="true"] { background: var(--banner); border-color: var(--banner); color: #ffffff; }
.spot-carousel .carousel-button { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
                                  border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--banner); cursor: pointer; }
.spot-carousel .carousel-button:hover { background: var(--blue-tint); }
.spot-slide { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; margin-bottom: 20px; }
.spot-carousel.is-sliding .spot-slide { margin-bottom: 0; }
.spot-slide[hidden] { display: none; }
.spot-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.spot-main .spot-photo { aspect-ratio: auto; min-height: 300px; }
.spot-main .spot-body { justify-content: center; padding: 28px; }
.spot-main .spot-body h3 { font-size: 1.6rem; }
.spot-main .spot-body > :last-child { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) {
  .spot-carousel.is-sliding .spot-slide:not([hidden]) { animation: spot-in .45s ease-out both; }
}
@keyframes spot-in { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 900px) {
  .spot-slide, .spot-main { grid-template-columns: minmax(0, 1fr); }
  .spot-main .spot-photo { min-height: 0; aspect-ratio: 3 / 2; }
  .spot-carousel-controls { flex-wrap: wrap; }
  .spot-picker { order: -1; width: 100%; }
}
/* Photos across the top of the home Hardware / Software tiles and the About page cards. */
.offer-tile { overflow: hidden; }
.offer-photo { display: block; margin: -20px -22px 6px; aspect-ratio: 16 / 7; overflow: hidden; }
.about-grid .card { overflow: hidden; }
.card-photo { margin: -16px -16px 12px; aspect-ratio: 3 / 2; overflow: hidden; }
.offer-photo .page-photo, .card-photo .page-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Photos across the top of the home department and service tiles and the Software page cards. */
.tile, .service-grid .card { overflow: hidden; }
.tile-photo { display: block; margin: -16px -16px 8px; aspect-ratio: 16 / 9; overflow: hidden; }
.dept-grid .tile-photo { margin-top: -38px; }
.dept-number { z-index: 1; padding: 2px 8px; border-radius: 999px; background: #ffffff; }
.tile-photo .page-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .tile-photo .page-photo, .card-photo .page-photo, .offer-photo .page-photo { transition: transform .5s ease; }
  .tile:hover .tile-photo .page-photo, .offer-tile:hover .offer-photo .page-photo { transform: scale(1.05); }
}

/* OB worldwide: country menu, country cards and country pages */
.header-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 16px; }
.region-menu > summary { display: inline-flex; align-items: center; gap: 6px; color: var(--banner-link); font-weight: 600; }
.region-menu > summary:hover { color: var(--banner-ink); }
.region-menu .menu-panel { left: auto; right: 0; min-width: 0; }
.region-menu .menu-panel.region-panel { width: 230px; max-height: min(80vh, 680px); overflow-y: auto; padding: 6px 0; }
.region-group-title { margin: 8px 14px 2px; font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--muted); }
.region-group + .region-group { border-top: 1px solid var(--line); margin-top: 4px; }
.region-panel ul { margin: 0; }
.region-panel a { display: flex; align-items: center; gap: 8px; padding: 5px 14px; font-size: .95rem; }
.region-panel a:hover { background: var(--blue-tint); }
.region-panel-all { margin: 4px 0 0; border-top: 1px solid var(--line); padding-top: 4px; }
.region-menu .menu-panel a { color: var(--brand); }
.region-menu .menu-panel a[aria-current] { font-weight: 700; background: var(--blue-tint); }
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 0; }
.region-card { position: relative; }
.region-card .region-link { color: var(--heading); text-decoration: none; }
.region-card .region-link::after { content: ""; position: absolute; inset: 0; }  /* the whole card is the link */
.region-card .region-link:hover, .region-card .region-link:focus-visible { text-decoration: underline; }
.region-card:focus-within { outline: 3px solid var(--heading); outline-offset: 2px; }
.region-card .region-link:focus-visible { outline: none; }
.region-other { background: var(--banner-tint); }
.section.region-other { padding: 20px 24px; border-radius: 12px; }
.region-status { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; font-size: .85rem;
  font-weight: 700; background: var(--blue-tint); color: var(--heading); }
.region-status.is-open { background: #dff3e4; color: #14532d; }
.region-status.is-pending { background: #fff1d6; color: #713f12; }
.region-status.is-planned { background: #ececf1; color: #33334d; }
.region-steps { padding-left: 1.4em; }
.region-steps li { margin-bottom: 8px; }
.region-note { margin: 0 0 24px; }
.region-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; align-items: start; }
.region-contact address { font-style: normal; margin-bottom: 1em; }
.region-contact a { overflow-wrap: anywhere; }
.region-request { max-width: 720px; }
@media (max-width: 760px) {
  .region-layout { grid-template-columns: minmax(0, 1fr); }
  .header-contact { justify-content: flex-start; }
  .region-menu .menu-panel { right: auto; left: 0; }
}
.flag { display: inline-block; flex: none; width: 20px; height: 15px; object-fit: cover; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(14, 42, 79, .18); vertical-align: -2px; }
.region-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.region-name .flag { width: 24px; height: 18px; }
.region-name .flag + .flag { margin-left: -4px; }
.region-name .flag-lg { width: 40px; height: 30px; }
.region-menu > summary .flag { width: 20px; height: 15px; }
.region-flag-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: auto; }
.country-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 16px; margin: 0; }
.country-list li { display: flex; align-items: center; gap: 10px; }
.country-list .flag { width: 24px; height: 18px; }
.region-card .spot-body > :last-child:not(.region-flag-strip) { margin-top: 0; }  /* intro sits under the name */

/* Partners page and contact hub */
.partner-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0 0 12px; }
.partner-logos a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg); text-decoration: none; text-align: center; }
.partner-logos a:hover { box-shadow: 0 6px 18px rgba(14, 42, 79, .12); }
.partner-logo-name { color: var(--heading); font-weight: 600; font-size: .95rem; }
.reach-list li { margin-bottom: 8px; }
.reach-list a { display: inline-flex; align-items: center; gap: 6px; }
.help-grid, .office-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 0; }
.help-card { position: relative; }
.help-card .help-link::after { content: ""; position: absolute; inset: 0; }  /* the whole card is the link */
.help-card:hover { box-shadow: 0 6px 18px rgba(14, 42, 79, .12); }
.help-card:focus-within { outline: 3px solid var(--heading); outline-offset: 2px; }
.help-card .help-link:focus-visible { outline: none; }
.help-card p:last-child, .office-card p:last-child { margin-bottom: 0; }
.office-card a { overflow-wrap: anywhere; }
.partner-logos .brand-logo { display: flex; align-items: center; justify-content: center; height: 52px; }
.partner-logos .brand-logo img { max-height: 44px; max-width: 130px; width: auto; height: auto; object-fit: contain; }

/* Rotating photo spots, cards that appear one after another, and the flag ribbon */
.rotator { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; }
.rotator .rotator-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transition: opacity 1.2s ease; }
.rotator .rotator-photo:first-child { position: relative; }
.rotator .rotator-photo.is-current { opacity: 1; }
.rotator-toggle { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: grid; place-items: center;
  width: 32px; height: 32px; border: 2px solid #ffffff; border-radius: 50%; background: rgba(14, 42, 79, .85);
  color: #ffffff; cursor: pointer; }
.rotator-toggle:hover { background: var(--heading); }
.rotator-toggle:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--heading); }
.rotator-toggle .icon-play, .rotator-toggle.is-stopped .icon-pause { display: none; }
.rotator-toggle.is-stopped .icon-play { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .is-rotating .rotator-photo.is-current { animation: rotator-zoom 6.5s ease-out both; }
  .stagger > * { opacity: 0; transform: translateY(18px); }
  .stagger.is-in > * { animation: stagger-in .55s ease-out both; animation-delay: calc(var(--stagger, 0) * 70ms); }
}
@keyframes rotator-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes stagger-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.flag-ribbon .marquee-track li a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--heading);
  text-decoration: none; white-space: nowrap; font-weight: 600; }
.flag-ribbon .marquee-track li a:hover { border-color: var(--heading); }
.rotator-toggle[hidden] { display: none; }

/* The page-wide "Pause animations" button, drifting photos and product photo zoom */
.motion-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center;
  gap: 8px; padding: 8px 14px; border: 2px solid #ffffff; border-radius: 999px; background: var(--heading);
  color: #ffffff; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 14px rgba(14, 42, 79, .3); }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { background: var(--banner); }
.motion-toggle:focus-visible { outline: 3px solid var(--heading); outline-offset: 3px; }
.motion-toggle .icon-play, .motion-paused .motion-toggle .icon-pause { display: none; }
.motion-paused .motion-toggle .icon-play { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .spot-photo img, .content-card-photo, .page-hero-art > .scene-photo {
    animation: photo-drift 16s ease-in-out infinite alternate; }
  .spot-grid > li:nth-child(2n) .spot-photo img, .region-grid > li:nth-child(2n) .spot-photo img {
    animation-duration: 19s; animation-direction: alternate-reverse; }
  .product-image img { transition: transform .45s ease; }
  .product-card:hover .product-image img { transform: scale(1.06); }
  .motion-paused .marquee-track,
  .motion-paused .spot-photo img, .motion-paused .content-card-photo, .motion-paused .page-hero-art > .scene-photo,
  .motion-paused .rotator-photo.is-current, .motion-paused .slide-photo img { animation-play-state: paused !important; }
}
@keyframes photo-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.1) translate(-2%, -1.5%); } }
.content-card { overflow: hidden; }

/* OB signature: a red-and-blue bar under section headings that draws itself in, a red-and-blue offset frame
   behind banner photos (the logo's colours), and live office clocks */
.section-head h2 { border-bottom: 0; padding-bottom: 0; }
.section-head h2::after, .section > h2:not(.visually-hidden)::after, .spot-head h2::after {
  content: ""; display: block; width: 64px; height: 4px; margin-top: 8px; border-radius: 2px;
  background: linear-gradient(90deg, var(--ob-red) 0 50%, var(--ob-blue) 50% 100%); }
.spot-head h2::after { margin-left: auto; margin-right: auto; }
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal .section-head h2::after, .js-reveal .reveal.section > h2::after, .js-reveal .reveal .spot-head h2::after {
    transform: scaleX(0); transform-origin: left; transition: transform .8s .25s cubic-bezier(.2, .7, .2, 1); }
  .js-reveal .reveal .spot-head h2::after { transform-origin: center; }
  .js-reveal .reveal.is-visible .section-head h2::after, .js-reveal .reveal.is-visible.section > h2::after,
  .js-reveal .reveal.is-visible .spot-head h2::after { transform: none; }
}
.page-hero-art.is-scene { overflow: hidden; box-shadow: 8px 8px 0 var(--ob-red), -8px -8px 0 var(--ob-blue); }
.region-time { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; color: var(--muted); font-weight: 600; }
.region-time::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1F9D55;
  box-shadow: 0 0 0 3px rgba(31, 157, 85, .2); }
@media (max-width: 640px) {
  .page-hero-art.is-scene { width: calc(100% - 12px); margin: 6px;
    box-shadow: 6px 6px 0 var(--ob-red), -6px -6px 0 var(--ob-blue); }
  .motion-toggle { left: 12px; bottom: 12px; padding: 0; width: 40px; height: 40px; justify-content: center; }
  .motion-toggle-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; }  /* still read out by screen readers */
}

/* Approvals waiting: a small count beside "Approvals" in the header */
.count-badge { display: inline-block; min-width: 1.5em; padding: 0 6px; border-radius: 999px; background: #ffffff;
  color: var(--accent); font-weight: 800; font-size: .85rem; text-align: center; line-height: 1.5; }
.qty-input { width: 6em; }

/* A compact footer: five short columns (Shop, Services in two columns, Help & policies, Your account, Contact) */
.site-footer { padding: 18px 0; font-size: .92rem; }
.footer-grid h2 { margin-bottom: 6px; }
.footer-grid li, .footer-two-col li { margin: 0 0 4px; }
.site-footer p { margin: 0 0 8px; }
.site-footer .social-links { margin-top: 8px; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.4fr);
                 gap: 16px 24px; }
}
.site-footer .social-links { gap: 6px; }
.site-footer .social-links a { width: 36px; height: 36px; }  /* five fit on one line; still well above the 24px target size */

/* A country's locations (e.g. the US cities) */
.location-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.location-card .spot-photo { aspect-ratio: 16 / 9; }
.location-card h3 { font-size: 1.1rem; margin: 0 0 6px; }
.location-card .region-status { margin-bottom: 6px; }
.region-also { margin: 0 0 8px; color: var(--muted); font-weight: 600; }
.location-card .region-name { font-size: 1.1rem; margin: 0 0 6px; color: var(--accent); }
.location-flag { display: grid; place-items: center; background: var(--blue-tint); }
.location-flag img { width: 46% !important; height: auto !important; object-fit: contain; border-radius: 4px;
  box-shadow: 0 2px 8px rgba(14, 42, 79, .25); animation: none !important; }

/* A rotating spot downloads only the photo showing and the next one (hidden photos are not fetched) */
.rotator .rotator-photo:not(:first-child):not(.is-current):not(.is-next) { display: none; }

/* Public sector contracts page: vendor information */
.vendor-data { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 16px; }
.vendor-data dt { font-weight: 700; }
.vendor-data dd { margin: 0; }
.vendor-data ul { margin: 0; }
@media (max-width: 640px) { .vendor-data { grid-template-columns: 1fr; gap: 2px; } .vendor-data dd { margin-bottom: 10px; } }

/* Manufacturer partner badges (Dell, Lenovo...) */
.partner-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
.partner-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 8px; background: #FFFFFF; color: var(--heading);
  font-weight: 700; text-decoration: none; }
.partner-badge:hover, .partner-badge:focus-visible { border-color: var(--brand); }
.partner-badge img { max-height: 40px; width: auto; }
.partner-badge .partner-badge-logo { max-height: 28px; max-width: 90px; }
