/*-----------------------------------------------------------------------------------
 Alpha Acoustics — shared design system
 Header, navigation, search, footer, product & accessory pages, catalogue.
 Loaded on every page after the legacy stylesheets.
-----------------------------------------------------------------------------------*/

@font-face {
    font-family: "Alterwave";
    src: url("../font/Alterwave-Light.otf") format("opentype");
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Alterwave";
    src: url("../font/Alterwave-Regular.otf") format("opentype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Alterwave";
    src: url("../font/Alterwave-Bold.otf") format("opentype");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Satoshi";
    src: url("../font/Satoshi.ttf") format("truetype");
    font-weight: 300 900;
    font-display: swap;
}

:root {
    --ink: #0b0b0c;
    --ink-2: #161618;
    --ink-3: #222225;
    --paper: #ffffff;
    --mist: #f4f4f5;
    --mist-2: #ececee;
    --line: #e4e4e7;
    --line-dark: #2c2c30;
    --muted: #63636b;
    --muted-dark: #a1a1aa;
    --accent: #ff9e2e;
    --accent-ink: #1a1206;
    --ok: #4ade80;
    --font-heading: "Alterwave", "Satoshi", system-ui, sans-serif;
    --font-body: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 72px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 16px rgba(0, 0, 0, .05);
    --shadow-2: 0 10px 40px rgba(0, 0, 0, .12);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

img,
svg {
    max-width: 100%;
}

html {
    scroll-padding-top: calc(var(--header-h) + 64px);
    -webkit-text-size-adjust: 100%;
    /* macOS rubber-band scrolling revealed white below the footer: disable the
       bounce, and paint the canvas the footer colour for browsers that still bounce. */
    overscroll-behavior-y: none;
    background-color: var(--ink);
    /* Keep the scrollbar's space when menus and search lock scrolling, so the page never jumps sideways */
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    overscroll-behavior-y: none;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Lenis smooth scrolling (see site.js). Stopped uses hidden rather than Lenis's clip so the
   reserved scrollbar space stays and the page doesn't shift while a menu is open. */

html.lenis,
html.lenis body {
    height: auto;
}

.lenis [data-lenis-prevent] {
    overscroll-behavior: contain;
}

/* Locked on <html> so the sticky header keeps working (see lockScroll in site.js) */

html.is-locked {
    overflow: hidden;
}

.site-container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

:where(a, button, input, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform .2s var(--ease);
}

.skip-link:focus {
    transform: none;
    color: #fff;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Buttons ---------- */

.btn-ui {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font: 600 15px/1 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.btn-ui:hover {
    background: #2a2a2e;
    border-color: #2a2a2e;
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
}

.btn-ui:active {
    transform: none;
}

.btn-ui svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.btn-ui--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-ui--ghost:hover {
    background: var(--mist);
    border-color: var(--ink);
    color: var(--ink);
    box-shadow: none;
}

.btn-ui--light {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

.btn-ui--light:hover {
    background: #e9e9ec;
    border-color: #e9e9ec;
    color: var(--ink);
}

.btn-ui--sm {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.link-arrow svg {
    width: 16px;
    height: 16px;
    transition: transform .2s var(--ease);
}

.link-arrow:hover svg,
a:hover>.link-arrow svg {
    transform: translateX(3px);
}

/* ---------- Badges & chips ---------- */

.badge-ui {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.badge-ui--new {
    background: var(--accent);
    color: var(--accent-ink);
}

.badge-ui--discontinued {
    background: var(--mist-2);
    color: #52525b;
    border: 1px solid #d4d4d8;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    background: var(--paper);
    text-decoration: none;
}

a.chip:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* =================================================================
   HEADER
   ================================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    color: var(--ink);
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: transform .4s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
    will-change: transform;
}

.site-header.is-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .05);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%;
}

.site-logo {
    display: inline-flex;
    flex: none;
    align-items: center;
    margin-right: auto;
}

.site-logo img {
    display: block;
    width: auto;
    height: 44px;
    transition: filter .3s var(--ease);
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: inherit;
    font: 500 15px/1 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}

.site-nav__link:hover,
.site-nav__item.is-open>.site-nav__link {
    color: inherit;
}

/* Underline: shown on the current page, grows in on hover */

.site-nav__link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}

.site-nav__link:hover::after,
.site-nav__item.is-open>.site-nav__link::after,
.site-nav__link[aria-current="page"]::after {
    transform: scaleX(1);
}

.site-nav__item.has-mega .site-nav__link::after {
    right: 34px;
}

.site-nav__link svg {
    width: 14px;
    height: 14px;
    transition: transform .25s var(--ease);
}

.site-nav__item.is-open>.site-nav__link svg {
    transform: rotate(180deg);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: background-color .2s var(--ease), border-color .2s var(--ease);
}

.icon-btn:hover {
    background: rgba(0, 0, 0, .05);
    border-color: currentColor;
}

.icon-btn svg {
    width: 18px;
    height: 18px;
}

.search-trigger,
.site-header--dark .search-trigger {
    border-color: transparent;
}

.search-trigger svg {
    width: 20px;
    height: 20px;
}

.menu-toggle {
    display: none;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
    display: block;
    width: 18px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .3s var(--ease), opacity .2s;
}

.menu-toggle__bars {
    position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle__bars::before {
    top: -6px;
}

.menu-toggle__bars::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* Dark header (home page over the hero video) */

/* Solid at the top so it merges with a dark hero; translucent once scrolled */

.site-header--dark {
    color: #fff;
    background: var(--ink);
}

.site-header--dark.is-scrolled {
    background: rgba(11, 11, 12, .88);
    border-bottom-color: rgba(255, 255, 255, .08);
}

.site-header--dark .site-logo img {
    filter: invert(1);
}

.site-header--dark .icon-btn:hover {
    background: rgba(255, 255, 255, .1);
}

.site-header--dark .icon-btn:not(.search-trigger) {
    border-color: rgba(255, 255, 255, .2);
}

.site-header--dark .btn-ui {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

/* ---------- Mega menu ---------- */

/* Opens under the Products link, its right edge just past it, extending left */

.site-nav__item.has-mega {
    position: relative;
}

.mega {
    position: absolute;
    right: -32px;
    top: 100%;
    padding: 0;
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}

.site-nav__item.is-open .mega {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

/* The full-width wrapper is click-through; only the panel itself catches clicks */

.mega {
    pointer-events: none;
}

.mega__panel {
    pointer-events: auto;
}

.site-nav__item.is-instant .mega {
    transition: none;
}

/* Compact panel aligned to the right edge of the page container, under the nav */

.mega__panel {
    display: flex;
    flex-direction: column;
    width: max-content;
    margin: 10px 0 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-2);
}

.mega__cats {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    align-content: start;
    gap: 2px 12px;
    margin: 0;
    padding: 10px;
    list-style: none;
}

.mega__cat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 18px 7px 7px;
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
    transition: background-color .18s var(--ease);
}

.mega__cat:hover,
.mega__cat:focus-visible {
    background: var(--mist);
    color: var(--ink);
}

.mega__icon {
    flex: none;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 0 1px var(--line);
}

.mega__icon img {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform .25s var(--ease);
}

.mega__cat:hover .mega__icon img {
    transform: scale(1.08);
}

.mega__label {
    display: block;
    font-weight: 600;
    font-size: 15px;
}

.mega__meta {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 13px;
}

.mega__all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 18px;
    border-top: 1px solid var(--line);
    background: var(--mist);
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .18s var(--ease);
}

.mega__all:hover,
.mega__all:focus-visible {
    background: var(--mist-2);
    color: var(--ink);
}

.mega__all svg {
    flex: none;
    width: 16px;
    height: 16px;
    transition: transform .2s var(--ease);
}

.mega__all:hover svg {
    transform: translateX(3px);
}

/* ---------- Mobile navigation ---------- */

.mobile-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px var(--gutter) max(24px, env(safe-area-inset-bottom));
    background: #fff;
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), visibility 0s linear .25s;
}

.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

/* While the menu is open the header is pinned, solid and light, with the close button */

.menu-open .site-header {
    transform: none;
    border-bottom-color: var(--line);
    background: #fff;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.mobile-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav__list>li {
    border-bottom: 1px solid var(--line);
}

/* Rows rise in one after another */

.mobile-nav__list>li,
.mobile-nav__footer {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.mobile-nav.is-open .mobile-nav__list>li,
.mobile-nav.is-open .mobile-nav__footer {
    opacity: 1;
    transform: none;
}

.mobile-nav.is-open .mobile-nav__list>li:nth-child(2) { transition-delay: .04s; }

.mobile-nav.is-open .mobile-nav__list>li:nth-child(3) { transition-delay: .08s; }

.mobile-nav.is-open .mobile-nav__list>li:nth-child(4) { transition-delay: .12s; }

.mobile-nav.is-open .mobile-nav__list>li:nth-child(5) { transition-delay: .16s; }

.mobile-nav.is-open .mobile-nav__footer { transition-delay: .2s; }

.mobile-nav .mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 68px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: 300 30px/1 var(--font-heading);
    letter-spacing: -.01em;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.mobile-nav__link svg {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--muted);
    transition: transform .25s var(--ease), color .2s var(--ease);
}

.mobile-nav__link:active svg,
.mobile-nav__link:hover svg {
    color: var(--ink);
}

a.mobile-nav__link:hover svg {
    transform: translateX(3px);
}

.mobile-nav__link[aria-expanded="true"] svg {
    transform: rotate(180deg);
    color: var(--ink);
}

/* Current page: a small dot after the label */

.mobile-nav__link[aria-current]::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: auto;
    border-radius: 50%;
    background: var(--ink);
}

.mobile-nav__link[aria-current] {
    justify-content: flex-start;
}

.mobile-nav__link[aria-current] svg {
    order: 2;
}

.mobile-nav__sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.mobile-nav__sub[hidden] {
    display: none;
}

.mobile-nav .mobile-nav__sub a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 8px 12px 8px 8px;
    border-radius: 14px;
    background: var(--mist);
    color: var(--ink);
    font: 500 14px/1.2 var(--font-body);
    text-decoration: none;
    transition: background-color .2s var(--ease);
}

.mobile-nav .mobile-nav__sub a:active {
    background: var(--mist-2);
}

.mobile-nav__sub .cat-icon {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #fff;
}

/* "All products" spans the row, dark, with an arrow */

.mobile-nav__all {
    grid-column: 1 / -1;
}

.mobile-nav .mobile-nav__all a {
    justify-content: space-between;
    padding-inline: 16px;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
}

.mobile-nav .mobile-nav__all a:active {
    background: #2a2a2e;
}

.mobile-nav__all svg {
    width: 18px;
    height: 18px;
}

.mobile-nav__footer {
    display: grid;
    gap: 16px;
    margin-top: auto;
    padding-top: 28px;
}

.mobile-nav__footer .btn-ui {
    width: 100%;
    height: 52px;
}

.mobile-nav__contact {
    display: grid;
    gap: 8px;
}

.mobile-nav .mobile-nav__contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    height: 48px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font: 500 13px/1 var(--font-body);
    text-decoration: none;
}

.mobile-nav__contact span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mobile-nav__contact svg {
    flex: none;
    width: 16px;
    height: 16px;
}

/* ---------- Search overlay ---------- */

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: min(12vh, 120px) 16px 16px;
    background: rgba(10, 10, 12, .5);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), visibility 0s linear .2s;
}

.search-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.search-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 720px;
    max-height: min(680px, 80vh);
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
    transform: translateY(-8px) scale(.98);
    transition: transform .25s var(--ease);
}

.search-overlay.is-open .search-panel {
    transform: none;
}

.search-panel__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 12px 24px;
    border-bottom: 1px solid var(--line);
}

.search-panel__icon {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--muted);
}

.search-panel__input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 6px;
    border: 0;
    outline: 0;
    background: transparent;
    font: 500 18px/1 var(--font-body);
    color: var(--ink);
}

.search-panel__input::placeholder {
    color: #9a9aa2;
}

.search-panel__input::-webkit-search-cancel-button {
    display: none;
}

.search-panel__btn {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--mist);
    color: var(--muted);
    cursor: pointer;
    transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.search-panel__btn:hover {
    background: var(--mist-2);
    color: var(--ink);
    transform: scale(1.06);
}

.search-panel__btn svg {
    width: 16px;
    height: 16px;
}

.search-panel__btn kbd,
.search-panel__keys kbd {
    font: 600 12px/1 var(--font-body);
    color: inherit;
    box-shadow: none;
}

/* Phones have no Esc key and little backdrop to tap, so they get a Cancel button. */

.search-panel__cancel {
    display: none;
    flex: none;
    padding: 8px 4px 8px 8px;
    border: 0;
    background: none;
    color: var(--ink);
    font: 600 15px/1 var(--font-body);
    cursor: pointer;
}

/* Phones: one control only (Cancel); the clear icon is hidden */

@media (max-width: 767.98px) {
    .search-panel__cancel {
        display: block;
    }

    .search-panel__btn[data-search-clear] {
        display: none !important;
    }
}

.search-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 12px 14px;
    scrollbar-gutter: stable;
}

.search-panel__hint {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 12px 12px 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.search-panel__hint span {
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.search-panel__suggest {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 12px 12px;
}

.search-panel__suggest button {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font: 600 13px/1 var(--font-body);
    color: var(--ink);
    cursor: pointer;
    transition: transform .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

.search-panel__suggest button:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
    transform: scale(1.05);
}

.search-results {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.search-result {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 14px 10px 10px;
    border-radius: 16px;
    color: var(--ink);
    text-decoration: none;
    transition: background-color .15s var(--ease);
}

.search-result.is-active {
    background: var(--mist);
    color: var(--ink);
}

.search-result:hover {
    color: var(--ink);
}

.search-result__thumb {
    display: grid;
    flex: none;
    place-items: center;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--mist);
    transition: background-color .15s var(--ease);
}

.search-result.is-active .search-result__thumb {
    background: #fff;
}

.search-result__thumb img {
    width: 100%;
    height: 100%;
    padding: 4px;
    object-fit: contain;
}

.search-result__thumb svg {
    width: 26px;
    height: 26px;
    color: #a1a1aa;
}

.search-result__text {
    display: grid;
    flex: 1;
    gap: 4px;
    min-width: 0;
}

.search-result__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
}

.search-result__sub {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 13.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result__cat {
    flex: none;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--mist);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    transition: background-color .15s var(--ease);
}

.search-result.is-active .search-result__cat {
    background: #fff;
}

.search-result__go {
    display: grid;
    flex: none;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    opacity: 0;
    transform: scale(.7);
    transition: opacity .15s var(--ease), transform .2s var(--ease);
}

.search-result__go svg {
    width: 16px;
    height: 16px;
}

.search-result.is-active .search-result__go {
    opacity: 1;
    transform: none;
}

.search-result mark {
    padding: 0;
    border-radius: 2px;
    background: rgba(255, 158, 46, .3);
    color: inherit;
}

.search-empty {
    padding: 40px 16px;
    color: var(--muted);
    text-align: center;
}

.search-empty p {
    margin: 0;
}

.search-empty p:first-child {
    margin-bottom: 6px;
    color: var(--ink);
    font-weight: 600;
}

.search-panel__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px 12px 24px;
    border-top: 1px solid var(--line);
    background: #fafafa;
}

.search-panel__keys {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #9a9aa2;
    font-size: 12px;
}

.search-panel__keys kbd {
    margin-right: 4px;
    padding: 3px 6px;
    border: 0;
    border-radius: 5px;
    background: var(--mist-2);
    color: var(--muted);
    font-size: 11px;
}

.search-panel__all {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s var(--ease), background-color .2s var(--ease);
}

.search-panel__all:hover {
    background: #2a2a2e;
    color: #fff;
    transform: scale(1.04);
}

.search-panel__all svg {
    width: 16px;
    height: 16px;
}

/* =================================================================
   FOOTER
   ================================================================= */

.site-footer {
    background: var(--ink);
    color: #d4d4d8;
    font-size: 15px;
}

.site-footer a:not(.btn-ui) {
    color: #d4d4d8;
    text-decoration: none;
    transition: color .2s var(--ease);
}

.site-footer a:not(.btn-ui):hover {
    color: #fff;
}

.site-footer__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px 64px;
    padding-block: 56px;
}

/* Link columns sit together on the right; they stack under the brand on phones. */

.site-footer__links {
    display: flex;
    gap: 40px clamp(40px, 5vw, 80px);
    margin-left: auto;
}

.site-footer__brand img {
    width: auto;
    height: 44px;
    filter: invert(1);
}

.site-footer__brand p {
    max-width: 300px;
    margin: 18px 0 0;
    color: var(--muted-dark);
    line-height: 1.6;
}

.site-footer__tagline {
    color: #fff !important;
    font: 300 20px/1.2 var(--font-heading) !important;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.site-footer ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Footer links: brighten and draw an underline on hover */

.site-footer nav a,
.site-footer__legal a:not(.site-footer__credit),
.contact-pop__trigger span {
    padding-bottom: 2px;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .3s var(--ease), color .2s var(--ease);
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible,
.site-footer__legal a:not(.site-footer__credit):hover,
.contact-pop__trigger:hover span,
.contact-pop__trigger[aria-expanded="true"] span {
    color: #fff;
    background-size: 100% 1px;
}

/* Contact entries open a small action menu (call / email / maps / copy) */

.contact-pop {
    position: relative;
}

.contact-pop__trigger {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 0;
    border: 0;
    background: none;
    color: #d4d4d8;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.contact-pop__trigger svg {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--muted-dark);
    transition: color .2s var(--ease);
}

.contact-pop__trigger:hover svg,
.contact-pop__trigger[aria-expanded="true"] svg {
    color: #fff;
}

.contact-pop__menu {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    z-index: 20;
    display: grid;
    gap: 2px;
    min-width: 230px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
    transform-origin: 24px 100%;
    animation: pop-in .18s var(--ease);
}

.contact-pop__menu::after {
    content: "";
    position: absolute;
    left: 20px;
    bottom: -6px;
    width: 12px;
    height: 12px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
    transform: rotate(45deg);
}

@keyframes pop-in {
    from {
        opacity: 0;
        transform: scale(.94);
    }
}

.contact-pop__heading {
    margin: 8px 10px 2px;
    color: var(--muted) !important;
    font-size: 11px;
    font-weight: 700 !important;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.contact-pop__heading:first-child {
    margin-top: 4px;
}

.site-footer .contact-pop__action {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 9px;
    background: none;
    color: var(--ink);
    font: 600 14px/1.2 var(--font-body);
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.site-footer .contact-pop__action:hover,
.site-footer .contact-pop__action:focus-visible {
    background: var(--mist);
    color: var(--ink);
}

/* Outrank the footer's light link colour for the menu's link actions. */

.site-footer a.contact-pop__action:not(.btn-ui),
.site-footer a.contact-pop__action:not(.btn-ui):hover {
    color: var(--ink);
}

.contact-pop__action svg {
    flex: none;
    width: 16px;
    height: 16px;
    color: var(--muted);
}

.contact-pop__action.is-copied svg {
    color: #16a34a;
}

/* One outlined pill split into equal segments (the original footer design) */

.site-footer__social {
    display: inline-flex;
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
}

.site-footer .site-footer__social a {
    display: grid;
    place-items: center;
    width: 56px;
    height: 44px;
    color: #fff;
    transition: background-color .2s var(--ease);
}

.site-footer .site-footer__social a + a {
    border-left: 1px solid rgba(255, 255, 255, .28);
}

.site-footer .site-footer__social a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.site-footer__social a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
    border-radius: 999px;
}

.site-footer__social svg {
    width: 20px;
    height: 20px;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-block: 24px;
    border-top: 1px solid var(--line-dark);
    color: var(--muted-dark);
    font-size: 13px;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer__legal {
    align-items: center;
}

.site-footer__credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-footer__credit img {
    width: auto;
    height: 18px;
    opacity: .85;
    transition: opacity .2s var(--ease);
}

.site-footer__credit:hover img {
    opacity: 1;
}

/* =================================================================
   PAGE PRIMITIVES
   ================================================================= */

.breadcrumbs {
    padding-block: 20px 4px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--muted);
}

.breadcrumbs li+li::before {
    content: "/";
    margin-right: 6px;
    color: #c4c4c8;
}

.breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--ink);
}

.breadcrumbs [aria-current] {
    color: var(--ink);
    font-weight: 600;
}

.section {
    padding-block: clamp(56px, 8vw, 104px);
}

.section-head {
    max-width: 720px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-title {
    margin: 0;
    font: 300 clamp(30px, 4.2vw, 48px)/1.08 var(--font-heading);
    letter-spacing: -.01em;
}

.section-lead {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

/* Photo placeholder for models awaiting product photography */

.photo-ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    height: 100%;
    color: #a1a1aa;
    background:
        radial-gradient(circle at 50% 40%, #fff 0, rgba(255, 255, 255, 0) 70%),
        repeating-linear-gradient(135deg, var(--mist) 0 12px, #f0f0f2 12px 24px);
    text-align: center;
}

.photo-ph svg {
    width: 34%;
    max-width: 120px;
    height: auto;
    color: #c8c8cd;
}

.photo-ph span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* ---------- Product cards (catalogue, related, search page) ---------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}

.product-card:hover {
    border-color: #d4d4d8;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .08);
    transform: scale(1.02);
}

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--mist);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    padding: 18px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .5s var(--ease);
}

.product-card:hover .product-card__media img {
    transform: scale(1.05);
}

.product-card__badges {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    display: flex;
    gap: 6px;
}

.product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px 22px;
}

.product-card__title {
    margin: 0;
    font: 400 22px/1.15 var(--font-heading);
}

.product-card__title a {
    color: inherit;
    text-decoration: none;
}

.product-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.product-card__sub {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.product-card__specs {
    display: grid;
    gap: 6px;
    margin: 6px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
    font-size: 13.5px;
}

.product-card__specs li {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.product-card__specs li::before {
    content: "";
    flex: none;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c4c4c8;
    transform: translateY(-2px);
}

/* Full-width outline button on every product card; fills when the card is hovered or focused */

.product-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: 600 14px/1 var(--font-body);
    transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

/* Keeps a gap above the button even when the card text runs long */

.product-card__body > :nth-last-child(2) {
    margin-bottom: 10px;
}

.product-card__cta svg {
    width: 16px;
    height: 16px;
    transition: transform .25s var(--ease);
}

.product-card:hover .product-card__cta,
.product-card:focus-within .product-card__cta {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.product-card:hover .product-card__cta svg {
    transform: translateX(4px);
}

.product-card--compact .product-card__media {
    aspect-ratio: 16 / 11;
}

.product-card--compact .product-card__title {
    font-size: 19px;
}

.product-card.is-discontinued .product-card__media img {
    opacity: .75;
    filter: grayscale(.4);
}

/* =================================================================
   PRODUCT PAGE
   ================================================================= */

.pdp-hero {
    padding-block: 12px clamp(48px, 6vw, 80px);
}

.pdp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.gallery {
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.gallery__stage {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--mist);
    cursor: zoom-in;
}

.gallery__stage--static {
    cursor: default;
}

/* Vertical page scroll stays native; horizontal swipes change the photo */

.gallery__stage:not(.gallery__stage--static) {
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.gallery__count {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: var(--ink);
    font: 600 12px/1 var(--font-body);
    font-variant-numeric: tabular-nums;
}

.gallery__stage img {
    width: 100%;
    height: 100%;
    padding: 6%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: opacity .25s var(--ease), transform .6s var(--ease);
}

.gallery__stage:hover img {
    transform: scale(1.03);
}

.gallery__stage.is-swapping img {
    opacity: 0;
}

/* While the viewer is open the photo lives in the viewer; no transition so it hands over instantly */

.gallery__stage.is-viewing img {
    opacity: 0;
    transform: none;
    transition: none;
}

/* Coming back from the viewer: appear at once (a fade would leave a blank frame) */

.gallery__stage.is-returning img {
    transition: none;
}

.gallery__zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-1);
    color: var(--ink);
    transition: background-color .2s var(--ease), color .2s var(--ease);
}

.gallery__zoom svg {
    width: 18px;
    height: 18px;
}

.gallery__stage:hover .gallery__zoom,
.gallery__stage:focus-visible .gallery__zoom {
    background: var(--ink);
    color: #fff;
}

.gallery__thumbs {
    display: flex;
    gap: 10px;
    margin: 14px 0 0;
    padding: 2px;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
}

.gallery__thumbs::-webkit-scrollbar {
    display: none;
}

.gallery__thumb {
    flex: none;
    width: 76px;
    height: 76px;
    padding: 0;
    overflow: hidden;
    border: 1.5px solid transparent;
    border-radius: 14px;
    background: var(--mist);
    cursor: pointer;
    transition: border-color .2s var(--ease);
}

.gallery__thumb img {
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.gallery__thumb:hover {
    border-color: #c4c4c8;
}

.gallery__thumb[aria-current="true"] {
    border-color: var(--ink);
}

.pdp-info {
    padding-top: 8px;
}

.pdp-info__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.pdp-info__category {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
}

.pdp-info__category:hover {
    color: var(--ink);
}

.pdp-info h1 {
    margin: 10px 0 0;
    font: 300 clamp(40px, 5.4vw, 64px)/1 var(--font-heading);
    letter-spacing: -.015em;
}

.pdp-info__tagline {
    margin: 16px 0 0;
    font-size: clamp(19px, 2vw, 22px);
    font-weight: 600;
    line-height: 1.35;
}

.pdp-info__desc {
    margin: 12px 0 0;
    color: #3f3f46;
    font-size: 16px;
    line-height: 1.7;
}

.pdp-bullets {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.pdp-bullets li {
    display: flex;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.pdp-bullets li::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    margin-top: .62em;
    border-radius: 50%;
    background: var(--ink);
}

.pdp-apps {
    margin-top: 26px;
}

.pdp-apps .eyebrow {
    margin-bottom: 10px;
}

.pdp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.pdp-notice {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    padding: 16px 18px;
    border: 1px solid #e4d3bd;
    border-radius: var(--radius);
    background: #fff8ef;
    font-size: 14.5px;
    line-height: 1.55;
}

.pdp-notice svg {
    flex: none;
    width: 22px;
    height: 22px;
    color: #b45309;
}

.pdp-notice strong {
    display: block;
    margin-bottom: 2px;
}

.pdp-notice a {
    color: inherit;
    font-weight: 700;
}

/* Dark story band: why + features */

.pdp-story {
    background: var(--ink);
    color: #fff;
}

.pdp-story .section-lead {
    color: var(--muted-dark);
}

.pdp-story .section-head {
    margin-inline: auto;
    text-align: center;
}

.key-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin: 0 0 clamp(36px, 5vw, 56px);
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    list-style: none;
}

.key-specs li {
    padding: 26px 22px;
    border-right: 1px solid var(--line-dark);
}

.key-specs li:last-child {
    border-right: 0;
}

.key-specs strong {
    display: block;
    font: 300 clamp(22px, 2.3vw, 32px)/1.1 var(--font-heading);
    color: #fff;
}

.key-specs span {
    display: block;
    margin-top: 8px;
    color: var(--muted-dark);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-card {
    padding: 26px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--ink-2);
    transition: border-color .25s var(--ease), background-color .25s var(--ease);
}

.feature-card:hover {
    border-color: #3f3f46;
    background: #1b1b1e;
}

.feature-card__num {
    display: block;
    margin-bottom: 34px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
}

.feature-card h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    color: var(--muted-dark);
    font-size: 14.5px;
    line-height: 1.6;
}

.feature-rows {
    display: grid;
    margin-top: clamp(64px, 9vw, 120px);
}

/* Each row sits on its own full-bleed band, alternating shades */

.pdp-story:has(.feature-rows) {
    padding-bottom: 0;
    overflow-x: clip;
}

.feature-row {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: center;
    padding-block: clamp(56px, 7vw, 96px);
}

.feature-row::before {
    content: "";
    position: absolute;
    inset: 0 auto;
    left: 50%;
    z-index: -1;
    width: 100vw;
    transform: translateX(-50%);
    background: #131315;
}

.feature-row:nth-child(even)::before {
    background: #050506;
}

.feature-row:nth-child(even) .feature-row__visual {
    order: 2;
}

/* The Figma visuals carry their own framing, so no card around them */

.feature-row__visual {
    margin: 0;
}

.feature-row__visual svg {
    display: block;
    width: 100%;
    height: auto;
}

.feature-row h3 {
    margin: 0;
    color: #fff;
    font: 300 clamp(28px, 3.4vw, 40px)/1.1 var(--font-heading);
}

.feature-row p {
    margin: 16px 0 0;
    color: var(--muted-dark);
    font-size: 16.5px;
    line-height: 1.7;
}

.feature-row .chip-list {
    margin-top: 22px;
}

.feature-row .chip {
    border-color: var(--line-dark);
    background: transparent;
    color: #e4e4e7;
}

/* Specifications */

.spec-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

/* First group fills the left column; the rest stack on the right */

.spec-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    gap: 56px 56px;
    align-items: start;
}

.spec-group:first-child {
    grid-row: span 2;
}

.spec-group h3 {
    margin: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--ink);
}

.spec-group dl {
    margin: 0;
}

.spec-group__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    color: var(--ink-3);
}

.spec-group dt {
    flex: 0 1 auto;
    font-weight: 400;
}

.spec-group dd {
    flex: 0 1 auto;
    margin: 0;
    font-weight: 400;
    text-align: right;
    overflow-wrap: anywhere;
}

/* Downloads */

.downloads-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px 18px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.download-item:hover {
    border-color: var(--ink);
    color: var(--ink);
    box-shadow: var(--shadow-1);
}

.download-item__text {
    flex: 1;
    min-width: 0;
}

.download-item__name {
    display: block;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.download-item__meta {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 13px;
}

.download-item__arrow {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--muted);
    transition: transform .2s var(--ease), color .2s var(--ease);
}

.download-item:hover .download-item__arrow {
    color: var(--ink);
    transform: scale(1.15);
}

.empty-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border: 1px dashed #d4d4d8;
    border-radius: var(--radius);
    color: var(--muted);
}

.empty-note p {
    margin: 0;
}

/* Related rails */

/* Padding inside the scroller (offset by negative margin) leaves room for the
   hover scale and shadow, which overflow-x would otherwise clip. */

.rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, calc((100% - 40px) / 3));
    gap: 20px;
    margin: -16px;
    padding: 16px 16px 22px;
    scroll-padding-inline: 16px;
    overflow-x: auto;
    list-style: none;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.rail>li {
    scroll-snap-align: start;
}

.rail-section+.rail-section {
    margin-top: clamp(48px, 6vw, 72px);
}

.rail-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.rail-head h2 {
    margin: 0;
    font: 300 clamp(26px, 3vw, 36px)/1.1 var(--font-heading);
}

.rail-controls {
    display: flex;
    gap: 8px;
}

.rail-controls .icon-btn:disabled {
    opacity: .35;
    cursor: default;
}

/* Replacement card */

.replacement {
    display: grid;
    grid-template-columns: 220px 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
}

.replacement__media {
    aspect-ratio: 1;
    background: var(--mist);
}

.replacement__media img {
    width: 100%;
    height: 100%;
    padding: 16px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.replacement__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 28px;
}

.replacement__body h3 {
    margin: 0;
    font: 400 28px/1.1 var(--font-heading);
}

.replacement__body p {
    margin: 0;
    color: var(--muted);
}

/* Page CTA band */

.cta-band {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 72px);
    border-radius: 28px;
    background: radial-gradient(120% 140% at 100% 0%, #2a2a2f 0%, var(--ink) 55%);
    color: #fff;
}

.cta-band::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 40px rgba(255, 255, 255, .02), 0 0 0 80px rgba(255, 255, 255, .015);
    pointer-events: none;
}

.cta-band h2 {
    max-width: 720px;
    margin: 0;
    font: 300 clamp(30px, 4.4vw, 52px)/1.06 var(--font-heading);
}

.cta-band p {
    max-width: 620px;
    margin: 16px 0 0;
    color: #c4c4cc;
    font-size: 17px;
    line-height: 1.6;
}

.cta-band .pdp-actions {
    position: relative;
    z-index: 1;
}

.cta-band .btn-ui--ghost {
    border-color: #3f3f46;
    color: #fff;
}

.cta-band .btn-ui--ghost:hover {
    background: rgba(255, 255, 255, .08);
    border-color: #fff;
}

.toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.toggle input {
    position: absolute;
    opacity: 0;
}

.cat-panel {
    padding-block: 40px 8px;
}

.cat-panel[hidden] {
    display: none;
}

.cat-panel__head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 22px;
}

.cat-panel__head h2 {
    margin: 0;
    font: 300 clamp(26px, 3vw, 34px)/1.1 var(--font-heading);
}

.cat-panel__head span {
    color: var(--muted);
    font-size: 14px;
}

.product-grid>li[hidden] {
    display: none;
}

.catalogue-empty {
    padding: 64px 0;
    color: var(--muted);
    text-align: center;
}

.catalogue-empty[hidden] {
    display: none;
}

/* Downloads page */

.dl-toolbar {
    position: sticky;
    top: var(--header-h);
    z-index: 900;
    padding-block: 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: top .4s var(--ease);
}

.header-hidden .dl-toolbar {
    top: 0;
}

/* With wrapped chips the bar is tall, so it only sticks on large screens */

@media (max-width: 991.98px) {
    .dl-toolbar {
        position: static;
    }
}

.dl-body {
    padding-block: 8px 96px;
}

/* Each range is separated by a divider with equal space above and below.
   Only visible groups count, so filtering never leaves a stray line at the top. */

.dl-group {
    padding-block: clamp(36px, 4.5vw, 56px);
}

.dl-group:not([hidden]) ~ .dl-group:not([hidden]) {
    border-top: 1px solid var(--line);
}

.dl-group__head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
}

.dl-group__head h2 {
    margin: 0;
    font: 300 clamp(24px, 2.6vw, 30px)/1.1 var(--font-heading);
}

.dl-group[hidden],
.downloads-list>li[hidden] {
    display: none;
}

.download-item__flag {
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--mist-2);
    color: #52525b;
    font-size: 11px;
    font-weight: 700;
}

.catalogue-empty a:not(.btn-ui) {
    color: var(--ink);
    font-weight: 600;
}

/* Reveal on scroll */

/* Content remains visible if observation, JavaScript, or motion support fails. */
.js [data-reveal] {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal].is-visible { animation: content-reveal .5s var(--ease); }
}

@keyframes content-reveal {
    from { opacity: .7; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

/* Legacy pages: style.css colours every p/span/a/button directly, which breaks
   inheritance inside the new components. :where() keeps this reset at element
   specificity (one element, loaded after style.css) so component classes still win. */

:where(.site-header, .mobile-nav, .search-overlay, .site-footer, .section--dark, .catalogue-hero, .search-card, .dl-toolbar, .dl-body, .filter-shell, .empty-state, .cat-browse, .dl-help, .legal, .page-intro, .posts, .reviews, .help, .help-faq, .case, .article,
    .ct-hero, .ct-main, .ct-offices, .ct-select,
    .catalogue-toolbar, .cat-panel, .catalogue-empty, .product-card, .cta-band, .dl-group, .dl-toolbar,
    .chip-list, .range-grid) :is(p, li, a, span, button, input, h1, h2, h3, h4, h5, h6) {
    color: inherit;
    font-weight: inherit;
}

:where(.site-header, .mobile-nav, .search-overlay, .site-footer) :where(a, button) {
    text-decoration: none;
}

/* Legacy pages: harmonise with the new shell */

.aa-cta-btn,
.aa-btn {
    border-radius: 999px !important;
}

/* Sitemap container was 100% wide plus a mobile margin; the old wrapper hid the overflow. */

.aa-container-smp {
    width: auto;
    max-width: 1220px;
}

main#main-content:focus {
    outline: none;
}

@media (max-width: 991.98px) {
    :root {
        --header-h: 64px;
    }

    .site-nav,
    .site-header__cta {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
    }

    .site-logo img {
        height: 36px;
    }

    .pdp-hero__grid,
    .feature-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature-row:nth-child(even) .feature-row__visual {
        order: 0;
    }

    .gallery {
        position: static;
    }

    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .spec-groups {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 48px;
    }

    .spec-group:first-child {
        grid-row: auto;
    }

    .site-footer__brand {
        flex-basis: 100%;
    }

    .rail {
        grid-auto-columns: minmax(250px, 46%);
    }

    .key-specs li {
        border-bottom: 1px solid var(--line-dark);
    }
}

@media (max-width: 767.98px) {
    .feature-cards {
        grid-template-columns: 1fr;
    }

    .feature-card__num {
        margin-bottom: 16px;
    }

    .key-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .key-specs li {
        padding: 20px 18px;
    }

    .key-specs strong {
        white-space: normal;
    }

    .replacement {
        grid-template-columns: 1fr;
    }

    .replacement__media {
        aspect-ratio: 16 / 10;
    }

    .rail {
        grid-auto-columns: 82%;
    }

    .rail-controls {
        display: none;
    }

    .site-footer__links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        margin-left: 0;
    }

    .pdp-actions .btn-ui {
        flex: 1 1 auto;
    }

    .spec-group__row {
        gap: 16px;
        padding: 16px 0;
        font-size: 15px;
    }

    .spec-group h3 {
        font-size: 20px;
    }

    .search-result__cat {
        display: none;
    }

    .search-overlay {
        padding: 12px;
    }

    .search-panel {
        max-height: calc(100vh - 24px);
    }

    .search-panel__keys {
        display: none;
    }

    .search-panel__foot {
        justify-content: stretch;
    }

    .search-panel__all {
        flex: 1;
        justify-content: center;
    }

    .search-panel__bar {
        padding-left: 16px;
    }
}

@media (max-width: 479.98px) {
    .site-footer__links {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .site-header,
    .mobile-nav,
    .search-overlay,
    .site-footer,
    .cta-band,
    .rail-section {
        display: none !important;
    }

    .pdp-story {
        background: #fff;
        color: #000;
    }
}

/* Compact list cards on phones keep long search results scannable */

@media (max-width: 575.98px) {
    [data-search-results].product-grid {
        gap: 12px;
    }

    [data-search-results] .product-card {
        display: grid;
        grid-template-columns: 112px 1fr;
        border-radius: var(--radius);
    }

    [data-search-results] .product-card__media {
        aspect-ratio: auto;
        min-height: 100%;
    }

    [data-search-results] .product-card__media img {
        padding: 10px;
    }

    [data-search-results] .product-card__badges {
        top: 8px;
        left: 8px;
    }

    [data-search-results] .badge-ui {
        padding: 4px 7px;
        font-size: 9.5px;
    }

    [data-search-results] .photo-ph span {
        display: none;
    }

    [data-search-results] .product-card__body {
        gap: 4px;
        padding: 14px 16px;
    }

    [data-search-results] .product-card__title {
        font-size: 18px;
    }

    [data-search-results] .product-card__sub {
        font-size: 13px;
    }

    [data-search-results] .product-card__specs {
        display: none;
    }

    /* Compact list rows keep a small text link instead of the full-width button */

    [data-search-results] .product-card__cta,
    [data-search-results] .product-card:hover .product-card__cta {
        justify-content: flex-start;
        width: auto;
        min-height: 0;
        padding: 6px 0 0;
        border: 0;
        background: none;
        color: var(--ink);
        font-size: 13px;
    }
}

/* homepage.css sets overflow-x: hidden on html and body, which turns body into its own
   scroll container: window scroll events stop and the sticky header scrolls away.
   clip hides horizontal overflow without creating a scroll container. */

html,
body {
    overflow-x: clip;
    overflow-y: visible;
}

/* ---------- Custom scrollbar (black on white; inverted on the dark home page) ---------- */

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #fff;
}

::-webkit-scrollbar-thumb {
    border: 3px solid #fff;
    border-radius: 999px;
    background: var(--ink);
}

::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

::-webkit-scrollbar-corner {
    background: #fff;
}

html:has(body.aa-home)::-webkit-scrollbar-track,
html:has(body.aa-home)::-webkit-scrollbar-corner {
    background: var(--ink);
}

html:has(body.aa-home)::-webkit-scrollbar-thumb {
    border-color: var(--ink);
    background: #fff;
}

html:has(body.aa-home)::-webkit-scrollbar-thumb:hover {
    background: #d4d4d8;
}

.rail::-webkit-scrollbar {
    height: 6px;
}

.rail::-webkit-scrollbar-thumb {
    border-width: 0;
}

.search-panel__body::-webkit-scrollbar,
.mobile-nav::-webkit-scrollbar {
    width: 8px;
}

/* Firefox has no ::-webkit-scrollbar; give it the same colours. */

@supports not selector(::-webkit-scrollbar) {
    html {
        scrollbar-color: var(--ink) #fff;
    }

    html:has(body.aa-home) {
        scrollbar-color: #fff var(--ink);
    }
}

/* ---------- Search page (centred card, range chips, result rows) ---------- */

.search-hero {
    padding-block: clamp(96px, 12vw, 176px);
}

.search-card {
    max-width: 880px;
    margin-inline: auto;
}

.search-card__title {
    margin: 0 0 clamp(24px, 3vw, 36px);
    font: 300 clamp(40px, 6vw, 72px)/1.05 var(--font-heading);
    letter-spacing: -.015em;
    text-align: center;
}

.search-card__bar {
    position: relative;
    max-width: 800px;
    margin-inline: auto;
}

.search-card__bar input {
    width: 100%;
    height: 64px;
    padding: 0 72px 0 26px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: 500 17px/1 var(--font-body);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.search-card__bar input::placeholder {
    color: #8a8a93;
}

.search-card__bar input::-webkit-search-cancel-button {
    display: none;
}

.search-card__bar input:focus {
    outline: 0;
    border-color: #a1a1aa;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
}

.search-card__bar button {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    transition: transform .2s var(--ease), background-color .2s var(--ease);
}

.search-card__bar button:hover {
    background: #2a2a2e;
    transform: scale(1.05);
}

.search-card__bar button svg {
    grid-area: 1 / 1;
    width: 20px;
    height: 20px;
    transition: opacity .2s var(--ease), transform .25s var(--ease);
}

.search-card__bar .icon-clear,
.search-card__bar.has-text .icon-search {
    opacity: 0;
    transform: rotate(-90deg) scale(.6);
}

.search-card__bar.has-text .icon-clear {
    opacity: 1;
    transform: none;
}

/* Box holding the range chips / results */

.search-card__panel {
    margin: clamp(36px, 4.5vw, 56px) auto 0;
    padding: clamp(24px, 4vw, 44px);
    border-radius: 24px;
    background: var(--mist);
}

.search-card__hint,
.search-card__status {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 15px;
    text-align: center;
}

.search-card__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.range-chip {
    padding: 10px 16px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font: 600 14px/1 var(--font-body);
    letter-spacing: .02em;
    cursor: pointer;
    transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}

.range-chip:hover,
.range-chip:focus-visible {
    background: #fff;
    color: var(--ink);
    transform: scale(1.05);
}

.search-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.search-list:empty {
    display: none;
}

.search-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 18px 28px 18px 18px;
    border: 1px solid transparent;
    border-radius: 20px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.search-row:hover,
.search-row:focus-visible {
    border-color: #d4d4d8;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .07);
    color: var(--ink);
    transform: scale(1.01);
}

.search-row__thumb {
    display: grid;
    flex: none;
    place-items: center;
    width: 132px;
    height: 132px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--mist);
}

@media (max-width: 767.98px) {
    .search-card__panel {
        padding: 16px;
        border-radius: 20px;
    }
}

.search-row__thumb img {
    width: 100%;
    height: 100%;
    padding: 4px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.search-row__thumb svg {
    width: 40px;
    height: 40px;
    color: #b4b4bb;
}

.search-row__body {
    display: grid;
    flex: 1;
    gap: 8px;
    min-width: 0;
}

.search-row__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font: 400 24px/1.1 var(--font-heading);
}

.search-row__sub {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}

.search-row__meta {
    color: #8a8a93;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.search-row mark {
    padding: 0 2px;
    border-radius: 3px;
    background: rgba(255, 158, 46, .3);
    color: inherit;
}

.search-row__cta {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.search-row__cta svg {
    width: 16px;
    height: 16px;
    transition: transform .2s var(--ease);
}

.search-row:hover .search-row__cta svg {
    transform: translateX(3px);
}

@media (max-width: 767.98px) {
    .search-card__bar input {
        height: 56px;
        padding-left: 20px;
    }

    .search-card__bar button {
        top: 6px;
        right: 6px;
        width: 44px;
        height: 44px;
    }

    .range-chip {
        padding: 9px 14px;
        font-size: 13px;
    }

    .search-row {
        align-items: flex-start;
        gap: 14px;
        padding: 12px;
    }

    .search-row__thumb {
        width: 76px;
        height: 76px;
    }

    .search-row__title {
        font-size: 19px;
    }

    .search-row__sub {
        font-size: 13.5px;
    }

    .search-row__cta {
        display: none;
    }
}

/* =================================================================
   CONTACT PAGE
   ================================================================= */

.ct-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(96px, 13vw, 176px);
    background: var(--ink);
    color: #fff;
    text-align: center;
}

/* Concentric "speaker cone" rings, centred behind the heading */

.ct-hero__rings {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92vw, 880px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ct-hero__rings span {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
    animation: ct-pulse 6s var(--ease) infinite;
}

.ct-hero__rings span:nth-child(2) {
    inset: 14%;
    animation-delay: .6s;
}

.ct-hero__rings span:nth-child(3) {
    inset: 28%;
    animation-delay: 1.2s;
}

.ct-hero__rings span:nth-child(4) {
    inset: 40%;
    border-color: rgba(255, 255, 255, .12);
    background: radial-gradient(circle, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 70%);
    animation-delay: 1.8s;
}

@keyframes ct-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.03);
        opacity: .7;
    }
}

.ct-hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ct-hero .eyebrow {
    color: var(--muted-dark);
}

.ct-hero h1 {
    margin: 0;
    color: #fff;
    font: 300 clamp(48px, 8vw, 104px)/1 var(--font-heading);
    letter-spacing: -.02em;
}

.ct-hero__lead {
    max-width: 960px;
    margin: 24px 0 0;
    color: #b4b4bc;
    font-size: clamp(17px, 1.75vw, 23px);
    line-height: 1.5;
    text-wrap: balance;
}

.ct-main {
    padding-block: clamp(64px, 8vw, 112px);
}

.ct-main__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: start;
}

.ct-side__title {
    margin: 0;
    font: 300 clamp(30px, 3.4vw, 40px)/1.1 var(--font-heading);
}

.ct-side__lead {
    margin: 12px 0 24px;
    color: var(--muted);
    font-size: 16px;
}

/* Contact cards: phone and emails with open + copy actions */

/* One grouped card; rows separated by hairlines */

.ct-contacts {
    margin: 28px 0 0;
    padding: 0;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    list-style: none;
}

.ct-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 16px 18px 18px;
    transition: background-color .2s var(--ease);
}

.ct-contact+.ct-contact {
    border-top: 1px solid var(--line);
}

.ct-contact:first-child {
    border-radius: 19px 19px 0 0;
}

.ct-contact:last-child {
    border-radius: 0 0 19px 19px;
}

.ct-contact:hover {
    background: #fafafa;
}

.ct-contact__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--mist);
    color: var(--ink);
}

.ct-contact__icon svg {
    width: 20px;
    height: 20px;
}

.ct-contact__text {
    display: grid;
    flex: 1;
    gap: 3px;
    min-width: 0;
}

.ct-contact__label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ct-contact__value {
    justify-self: start;
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 2px;
    color: var(--ink);
    font-size: 16.5px;
    font-weight: 600;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
    transition: background-size .3s var(--ease);
}

.ct-contact__value:hover,
.ct-contact__value:focus-visible {
    color: var(--ink);
    background-size: 100% 1.5px;
}

.ct-contact__actions {
    display: flex;
    flex: none;
    gap: 8px;
}

.ct-tip-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    transition: transform .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

.ct-tip-btn:hover,
.ct-tip-btn:focus-visible {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
    transform: scale(1.06);
}

.ct-tip-btn svg {
    width: 17px;
    height: 17px;
}

.ct-tip-btn.is-copied {
    border-color: #16a34a;
    background: #16a34a;
    color: #fff;
}

/* Small tooltip from data-tip */

.ct-tip-btn::after {
    content: attr(data-tip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    padding: 5px 9px;
    border-radius: 7px;
    background: var(--ink);
    color: #fff;
    font: 600 12px/1 var(--font-body);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity .15s var(--ease), transform .15s var(--ease);
}

.ct-tip-btn:hover::after,
.ct-tip-btn:focus-visible::after,
.ct-tip-btn.is-copied::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.ct-tip-btn.is-copied::after {
    content: "Copied";
    background: #16a34a;
}

/* "Before you write" brief: light card with short points */

.ct-include {
    margin-top: 32px;
    padding: clamp(26px, 3.4vw, 36px);
    border-radius: 24px;
    background: var(--mist);
}

.ct-include__eyebrow {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ct-include h3 {
    margin: 0 0 22px;
    font: 300 clamp(22px, 2.3vw, 28px)/1.15 var(--font-heading);
}

.ct-include ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ct-include li {
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 18px 0;
    border-top: 1px solid #dcdce0;
}

.ct-include__title {
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
}

.ct-include__sub {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.45;
}

/* Form card */

.ct-form-card {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .07);
    scroll-margin-top: calc(var(--header-h) + 16px);
}

.ct-form-card__title {
    margin: 0;
    font: 300 clamp(28px, 3vw, 36px)/1.1 var(--font-heading);
}

.ct-form-card__lead {
    margin: 10px 0 28px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.ct-form {
    display: grid;
    gap: 18px;
}

.ct-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ct-field {
    display: grid;
    gap: 8px;
    /* Keep inputs their natural height when a neighbour's error message wraps */
    align-content: start;
}

.ct-field label {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.ct-field label span[aria-hidden] {
    color: #c2410c;
}

.ct-optional {
    margin-left: 4px;
    color: #9a9aa2;
    font-weight: 500;
    font-size: 12.5px;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafafa;
    color: var(--ink);
    font: 500 15.5px/1.4 var(--font-body);
    transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.ct-field select:has(option:checked[value=""]) {
    color: #a1a1aa;
}

.ct-field select option {
    color: var(--ink);
}

.ct-field textarea {
    min-height: 140px;
    resize: vertical;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: #a1a1aa;
}

.ct-field select:hover,
.ct-field input:hover,
.ct-field textarea:hover {
    border-color: #d4d4d8;
}

.ct-field select:focus,
.ct-field input:focus,
.ct-field textarea:focus {
    outline: 0;
    border-color: var(--ink);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, .05);
}

.ct-field input[aria-invalid="true"] {
    border-color: #dc2626;
    background: #fef2f2;
}

.ct-field .invalid-feedback {
    margin: 0;
    color: #dc2626;
    font-size: 13px;
}

.ct-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    margin-top: 6px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font: 600 16px/1 var(--font-body);
    cursor: pointer;
    transition: transform .2s var(--ease), background-color .2s var(--ease);
}

.ct-submit:hover {
    background: #2a2a2e;
    transform: scale(1.02);
}

.ct-submit:disabled {
    opacity: .7;
    cursor: progress;
    transform: none;
}

.ct-submit svg {
    width: 18px;
    height: 18px;
    transition: transform .2s var(--ease);
}

.ct-submit:hover svg {
    transform: translateX(3px);
}

.ct-form__note {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.ct-form__note a {
    color: var(--ink);
}

.ct-form__status {
    margin: 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--mist);
    color: var(--ink);
    font-size: 14px;
}

/* Offices */

.ct-offices {
    padding-block: clamp(64px, 8vw, 112px);
    background: var(--mist);
}

.ct-offices__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.ct-offices__grid>li {
    display: flex;
}

/* The whole card links to Google Maps */

.ct-office {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(28px, 3.4vw, 40px);
    border: 1px solid var(--line, #e4e4e7);
    border-radius: var(--radius-lg);
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.ct-office:hover,
.ct-office:focus-visible {
    border-color: #d4d4d8;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .07);
    color: var(--ink);
    transform: scale(1.01);
}

.ct-office__icon {
    width: 112px;
    height: 112px;
    object-fit: contain;
    margin-bottom: 24px;
    align-self: flex-start;
}

.ct-office__role {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ct-office h3 {
    margin: 8px 0 0;
    font: 400 clamp(22px, 2.2vw, 26px)/1.15 var(--font-heading);
}

.ct-office address {
    margin: 12px 0 0;
    color: #3f3f46;
    font-size: 15.5px;
    font-style: normal;
    line-height: 1.6;
}

/* External-link icon, revealed at the top right on hover/focus */

.ct-office__go {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    opacity: 0;
    transform: scale(.7);
    transition: opacity .2s var(--ease), transform .25s var(--ease);
}

.ct-office__go svg {
    width: 18px;
    height: 18px;
}

.ct-office:hover .ct-office__go,
.ct-office:focus-visible .ct-office__go {
    opacity: 1;
    transform: none;
}

@media (hover: none) {
    .ct-office__go {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .ct-main__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ct-form-card {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .ct-hero__rings {
        width: 140vw;
    }

    .ct-form__row,
    .ct-offices__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- Contact form: custom select ---------- */

.ct-select {
    position: relative;
}

.ct-select__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.ct-select__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafafa;
    color: var(--ink);
    font: 500 15.5px/1.4 var(--font-body);
    text-align: left;
    cursor: pointer;
    transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.ct-select__button:hover {
    border-color: #d4d4d8;
}

.ct-select__button:focus-visible,
.ct-select.is-open .ct-select__button {
    outline: 0;
    border-color: var(--ink);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, .05);
}

.ct-select__value.is-placeholder {
    color: #a1a1aa;
}

.ct-select__chevron {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--muted);
    transition: transform .25s var(--ease);
}

.ct-select.is-open .ct-select__chevron {
    transform: rotate(180deg);
}

.ct-select__list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 30;
    max-height: 300px;
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .14);
    list-style: none;
    outline: 0;
    transform-origin: top center;
    animation: pop-in .16s var(--ease);
}

.ct-select__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.ct-select__option svg {
    flex: none;
    width: 16px;
    height: 16px;
    opacity: 0;
}

.ct-select__option.is-active {
    background: var(--mist);
}

.ct-select__option[aria-selected="true"] {
    font-weight: 700;
}

.ct-select__option[aria-selected="true"] svg {
    opacity: 1;
}

/* ---------- Contact form: valid state, counter, sending ---------- */

.ct-field {
    position: relative;
}

.ct-field.is-valid input {
    padding-right: 44px;
    border-color: #86efac;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat right 16px center / 18px;
}

.ct-count {
    justify-self: end;
    margin-top: -2px;
    color: #a1a1aa;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.ct-count.is-near {
    color: #c2410c;
}

.ct-submit:disabled svg {
    display: none;
}

.ct-submit:disabled::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ct-spin .8s linear infinite;
}

@keyframes ct-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 479.98px) {
    .ct-contact {
        gap: 12px;
        padding: 16px 12px 16px 14px;
    }

    .ct-contact__icon {
        width: 40px;
        height: 40px;
    }

    .ct-contact__value {
        font-size: 15px;
    }
}

/* Contact page: tablet landscape keeps two columns, so stack the tighter groups inside them */

@media (min-width: 992px) and (max-width: 1199.98px) {
    .ct-form__row,
    .ct-include ul {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .ct-include ul {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Pixel equaliser on dark CTA bands (replaces the ring decoration) */

.cta-band--eq::after {
    display: none;
}

.cta-band__eq {
    position: absolute;
    right: clamp(24px, 4vw, 56px);
    bottom: clamp(24px, 4vw, 48px);
    width: min(40%, 440px);
    height: auto;
    pointer-events: none;
}

.cta-band--eq > :not(.cta-band__eq) {
    position: relative;
    z-index: 1;
}

.cta-band--eq h2,
.cta-band--eq p {
    max-width: min(620px, 56%);
}

@media (max-width: 991.98px) {
    .cta-band--eq h2,
    .cta-band--eq p {
        max-width: none;
    }

    /* Phones and tablets: the banner is narrow, so drop the decoration */

    .cta-band__eq {
        display: none;
    }
}

/* Video CTA: copy left, transparent product loop right (below the copy on phones) */

.cta-band--video {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}

.cta-band--video::after {
    display: none;
}

.cta-band__copy {
    position: relative;
    z-index: 1;
}

.cta-band__video {
    position: relative;
    margin: calc(-1 * clamp(16px, 3vw, 40px)) calc(-1 * clamp(16px, 2.5vw, 32px)) calc(-1 * clamp(40px, 6vw, 72px)) 0;
    align-self: end;
}

.cta-band__video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 960 / 674;
}

@media (max-width: 991.98px) {
    .cta-band--video {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .cta-band__video {
        justify-self: center;
        width: min(100%, 520px);
        margin: 0 0 calc(-1 * clamp(40px, 6vw, 72px));
    }
}

/* ---------- Range filter: square tiles + search on the right ---------- */

.filter-shell {
    position: static;
    padding-block: clamp(24px, 3vw, 36px);
    border-bottom: 1px solid var(--line);
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.tile-filter {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 10px 6px 12px;
    border: 1.5px solid #d4d4d8;
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    cursor: pointer;
    transition: transform .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}

.tile:hover {
    border-color: var(--ink);
    transform: scale(1.03);
}

.tile__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
}

.tile__icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.tile__label {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
}

/* Selected: white centre with a black inner shadow pressing in from the edges */

.tile[aria-pressed="true"] {
    border-color: var(--ink);
    background: #fff;
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ink), inset 0 0 22px 2px rgba(0, 0, 0, .32);
}

.tile[aria-pressed="true"] .tile__icon {
    background: transparent;
}

/* The icon PNGs have a white background; multiply lets the shading show through it */

.tile[aria-pressed="true"] .tile__icon img {
    mix-blend-mode: multiply;
}

.tile[aria-pressed="true"] .tile__label {
    font-weight: 600;
    text-shadow: 0 1px 0 #fff, 0 0 8px #fff;
}

/* Matched letters while searching */

.download-item mark,
.product-card mark {
    padding: 0 1px;
    border-radius: 3px;
    background: rgba(255, 158, 46, .35);
    color: inherit;
}

@media (max-width: 575.98px) {
    .tile-filter {
        grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
        gap: 8px;
    }

    .tile__icon {
        width: 52px;
        height: 52px;
    }

    .tile__label {
        font-size: 12px;
    }
}

/* ---------- Filter search field (text left, icon/clear right) ---------- */

.search-field {
    position: relative;
    width: 100%;
}

.search-field input {
    width: 100%;
    height: 48px;
    padding: 0 52px 0 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: 500 15px/1 var(--font-body);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.search-field input::-webkit-search-cancel-button {
    display: none;
}

.search-field input::placeholder {
    color: #9a9aa2;
}

.search-field input:focus {
    outline: 0;
    border-color: var(--ink);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, .06);
}

.search-field__btn {
    position: absolute;
    top: 50%;
    right: 6px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s var(--ease), color .2s var(--ease);
}

.search-field__btn svg {
    grid-area: 1 / 1;
    width: 18px;
    height: 18px;
    transition: opacity .2s var(--ease), transform .25s var(--ease);
}

.search-field__clear,
.search-field.has-text .search-field__search {
    opacity: 0;
    transform: rotate(-90deg) scale(.6);
}

.search-field.has-text .search-field__clear {
    opacity: 1;
    transform: none;
}

.search-field.has-text .search-field__btn {
    background: var(--mist);
    color: var(--ink);
}

.search-field.has-text .search-field__btn:hover {
    background: var(--mist-2);
}

/* Downloads: title left, search right */

.dl-searchbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
}

.dl-searchbar__title {
    margin: 0;
    font: 300 clamp(22px, 2.4vw, 28px)/1.1 var(--font-heading);
}

.dl-searchbar .search-field {
    flex: 0 1 380px;
}

@media (max-width: 767.98px) {
    .dl-searchbar {
        flex-direction: column;
        align-items: stretch;
    }

    .dl-searchbar .search-field {
        flex-basis: auto;
    }
}

/* ---------- Empty search state ---------- */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: clamp(40px, 6vw, 72px) 0;
    padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 40px);
    border: 1px dashed #d4d4d8;
    border-radius: 24px;
    background: #fafafa;
    text-align: center;
}

.empty-state[hidden] {
    display: none;
}

.empty-state__art {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    color: var(--ink);
}

.empty-state__art svg {
    width: 26px;
    height: 26px;
}

.empty-state__title {
    margin: 0;
    color: var(--ink);
    font: 300 clamp(24px, 2.6vw, 30px)/1.2 var(--font-heading);
    overflow-wrap: anywhere;
}

.empty-state__title span {
    font: inherit;
}

.empty-state__text {
    max-width: 520px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.empty-state__suggest {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
}

.empty-state__suggest span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.empty-state__suggest .chip {
    cursor: pointer;
    font: 600 13px/1 var(--font-body);
    transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.empty-state__suggest .chip:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
    transform: scale(1.05);
}

.empty-state__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.empty-state__actions [hidden] {
    display: none;
}

/* About: shared hero, editorial content and product-led sections */

.about-hero h1 { max-width: 1200px; font-size: clamp(44px, 6.5vw, 88px); }

.about-section { padding-block: clamp(64px, 8vw, 112px); }

.about-section--grey { background: var(--mist); }

.about-story,
.about-presence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); }

.about-copy p,
.about-intro { color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.75; }

.about-copy p { margin: 0 0 20px; }

.about-intro { max-width: 540px; margin: 24px 0; }

.about-text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 600; padding-block: 8px; }

.about-text-link svg { width: 20px; height: 20px; flex: none; }

.about-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 64px 0 0; padding-top: 36px; border-top: 1px solid var(--line); gap: 32px; }

.about-facts dt { font: 300 clamp(32px, 4vw, 56px)/1.1 var(--font-heading); letter-spacing: -.02em; }

.about-facts .about-facts__usp { white-space: nowrap; font-size: clamp(28px, 3vw, 44px); }

.about-facts dd { color: var(--muted); margin: 12px 0 0; }

.about-products__story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }

.about-products__statement { margin: 24px 0 16px; max-width: 540px; text-wrap: pretty; color: var(--ink); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; }

.about-products__explanation { padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }

.about-products__explanation h3 { margin: 0 0 8px; font: 500 clamp(22px, 2vw, 27px)/1.3 var(--font-heading); }

.about-products__explanation-lead { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.65; }

.about-system-parts { margin: 0; }

.about-system-parts>div { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; row-gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); }

.about-system-parts>div:last-child { padding-bottom: 0; }

.about-system-parts dt { display: contents; }

.about-system-parts dt span { grid-column: 2; font: 600 17px/1.4 var(--font-body); }

.about-system-parts dt img { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; }

.about-system-parts dd { grid-column: 2; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.about-products__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.about-products__actions .btn-ui { font-size: 14px; min-height: 48px; }

.about-products__lineup { margin-top: 56px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }

.about-products__label { text-align: center; margin-bottom: 28px; }

.about-products__label h3 { margin: 0; font: 500 20px/1.3 var(--font-heading); }

.about-product-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; list-style: none; margin: 0; padding: 4px 0 16px; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }

.about-product-row li { min-width: 0; scroll-snap-align: start; }

.about-product { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 12px 4px; color: var(--ink); text-decoration: none; border-radius: 16px; transition: background-color .2s; }

.about-product img { width: 100%; max-width: 96px; height: 96px; object-fit: contain; mix-blend-mode: multiply; }

.about-product span { text-align: center; font-size: 12px; font-weight: 600; line-height: 1.4; min-height: 34px; }

.about-product:hover { color: var(--ink); background: #e9e9ec; }

.about-product:focus-visible,
.about-product-row:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.about-locations h3 { font: 500 clamp(22px, 2.1vw, 28px)/1.2 var(--font-heading); margin: 0 0 12px; }

.about-presence { align-items: center; }

.about-locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.about-locations img { display: block; width: 128px; height: 128px; object-fit: contain; margin-bottom: 24px; mix-blend-mode: multiply; }

.about-locations .eyebrow { display: block; font-size: 11px; }

.about-locations p { color: var(--muted); margin: 0; }

@media (max-width: 900px) {
    .about-story,
    .about-presence { grid-template-columns: 1fr; }

    .about-products__story { grid-template-columns: 1fr; }

    .about-product-row { grid-auto-columns: 108px; }
}

@media (max-width: 640px) {
    .about-products__lineup { margin-top: 40px; }

    .about-products__actions { flex-direction: column; align-items: stretch; }

    .about-facts { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }

    .about-facts>div { padding-bottom: 24px; border-bottom: 1px solid var(--line); }

    .about-facts>div:last-child { border-bottom: 0; padding-bottom: 0; }

    .about-locations { gap: 16px; }

    .about-locations h3 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
    .about-product { transition: none; }
}

/* Projects */

.pr-hero h1 { font-size: clamp(44px, 6.5vw, 88px); }

.pr-work { padding-block: clamp(56px, 7vw, 96px); }

.pr-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }

.pr-heading>p { color: var(--muted); max-width: 320px; margin: 0; font-size: 17px; line-height: 1.6; }

.pr-feature { color: var(--ink); text-decoration: none; display: grid; grid-template-columns: 1fr 1.15fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; margin-bottom: 32px; box-shadow: 0 8px 32px rgba(0,0,0,.035); }

.pr-feature__image,
.pr-card__image { display: block; overflow: hidden; background: #e4e4e7; }

.pr-feature__image img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

.pr-feature__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(24px, 3vw, 40px); }

.pr-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0 0 14px; }

.pr-feature h3 { margin: 0 0 16px; white-space: nowrap; font: 400 clamp(22px, 2.25vw, 34px)/1.2 var(--font-heading); letter-spacing: -.025em; }

.pr-feature h3 a,
.pr-card h3 a { color: var(--ink); text-decoration: none; }

.pr-feature h3 a:hover,
.pr-card h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }

.pr-feature__body>p:not(.eyebrow):not(.pr-meta) { color: var(--muted); margin: 0 0 28px; line-height: 1.7; }

.pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }

.pr-card { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.025); transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }

.pr-card:hover,
.pr-card:focus-visible { color: var(--ink); border-color: #c5c5cc; box-shadow: 0 14px 36px rgba(0,0,0,.07); }

.pr-card__image { position: relative; aspect-ratio: 16 / 9; margin: 10px 10px 0; border-radius: 16px; }

.pr-image-label { position: absolute; left: 16px; top: 16px; padding: 7px 12px; background: rgba(255,255,255,.94); color: var(--ink); border-radius: 999px; font: 600 12px/1.3 var(--font-body); box-shadow: 0 2px 8px rgba(0,0,0,.08); }

.pr-card__image img { width: 100%; height: 100%; object-fit: cover; }

.pr-card__image img,
.pr-feature__image img { transition: transform .35s var(--ease); }

.pr-card__image:hover img,
.pr-feature__image:hover img { transform: scale(1.035); }

.pr-card__body { position: relative; padding: 24px 88px 28px 28px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }

.pr-card h3 { font: 500 clamp(24px, 2.2vw, 30px)/1.2 var(--font-heading); margin: 0 0 12px; }

.pr-card__description { margin: 0 0 24px; font-size: 15px; color: var(--muted); line-height: 1.6; }

.pr-card__arrow { position: absolute; right: 28px; bottom: 28px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; transition: background-color .2s, color .2s, border-color .2s; }

.pr-card__arrow svg { width: 20px; height: 20px; }

.pr-card:hover .pr-card__arrow,
.pr-card:focus-visible .pr-card__arrow { background: var(--ink); color: #fff; border-color: var(--ink); }

.pr-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.pr-card:hover .pr-card__image img,
.pr-card:focus-visible .pr-card__image img { transform: scale(1.035); }

.pr-card .pr-card__description { margin-bottom: 0; }

.pr-contact { background: #fff; padding: 24px 0 clamp(64px, 7vw, 104px); }

.pr-contact__inner { display: flex; justify-content: space-between; align-items: center; gap: 48px; padding: clamp(36px, 5vw, 72px); border-radius: 28px; background: var(--mist); border: 1px solid var(--line); }

.pr-contact h2 { font: 300 clamp(30px, 4vw, 48px)/1.1 var(--font-heading); margin: 0 0 16px; }

.pr-contact p:not(.eyebrow) { color: var(--muted); margin: 0; }

.pr-contact .btn-ui { flex: none; min-height: 52px; padding-inline: 28px; }

@media (max-width: 800px) {
    .pr-feature { grid-template-columns: 1fr; }

    .pr-feature__image { aspect-ratio: 1.9; }

    .pr-feature__image img { min-height: 0; }

    .pr-heading { flex-direction: column; align-items: start; gap: 16px; }

    .pr-heading>p { max-width: 480px; }
}

@media (max-width: 600px) {
    .pr-grid { grid-template-columns: 1fr; gap: 24px; }

    .pr-contact__inner { flex-direction: column; align-items: start; gap: 32px; padding: 36px 24px; }

    .pr-contact .btn-ui { width: 100%; }

    .pr-meta { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .pr-card,
    .pr-card__image img,
    .pr-feature__image img { transition: none; }
}

.pr-feature:hover,
.pr-feature:focus-visible { color: var(--ink); border-color: #c5c5cc; }

.pr-feature:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.pr-feature:hover img { transform: scale(1.035); }

@media (max-width: 800px) {
    .pr-feature h3 { font-size: clamp(19px, 4.8vw, 32px); }
}

/* Featured action on desktop; consistent card treatment on mobile. */

.pr-feature__button { margin-top: 4px; }

@media (max-width: 600px) {
    .pr-feature { display: flex; flex-direction: column; border-radius: 24px; margin-bottom: 24px; box-shadow: 0 4px 20px rgba(0,0,0,.025); }

    .pr-feature__image { aspect-ratio: 16 / 9; margin: 10px 10px 0; border-radius: 16px; }

    .pr-feature__image img { min-height: 0; height: 100%; }

    .pr-feature__body { padding: 24px 88px 28px 28px; align-items: flex-start; justify-content: flex-start; }

    .pr-feature__body>.eyebrow { display: none; }

    .pr-feature h3 { white-space: normal; font: 500 24px/1.2 var(--font-heading); letter-spacing: normal; margin: 0 0 12px; }

    .pr-feature__body>p:not(.eyebrow):not(.pr-meta) { font-size: 15px; line-height: 1.6; margin: 0; }

    .pr-feature__button { position: absolute; right: 28px; bottom: 28px; width: 44px; height: 44px; min-height: 44px; padding: 0; margin: 0; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 0; gap: 0; }

    .pr-feature__button svg { width: 20px; height: 20px; }

    .pr-feature:hover .pr-feature__button,
    .pr-feature:focus-visible .pr-feature__button { background: var(--ink); color: #fff; }
}

.pr-feature__image { position: relative; }

.pr-feature__mobile-label { display: none; z-index: 1; }

@media (max-width: 600px) {
    .pr-feature__mobile-label { display: inline; }

    .pr-feature__desktop-category { display: none; }
}

/* Mobile cards: full-width copy with a separate action row. */

@media (max-width: 600px) {
    .pr-card,
    .pr-feature { border-radius: 22px; }

    .pr-card__image,
    .pr-feature__image { margin: 8px 8px 0; border-radius: 15px; aspect-ratio: 16 / 9; }

    .pr-card__body,
    .pr-feature__body { padding: 20px; gap: 0; }

    .pr-card .pr-meta,
    .pr-feature .pr-meta { margin: 0 0 10px; font-size: 13px; }

    .pr-card h3,
    .pr-feature h3 { width: 100%; font: 500 clamp(21px, 5.5vw, 26px)/1.2 var(--font-heading); letter-spacing: -.02em; margin: 0 0 12px; text-wrap: pretty; }

    .pr-card .pr-card__description,
    .pr-feature__body>p:not(.eyebrow):not(.pr-meta) { font-size: 14px; line-height: 1.6; margin: 0; }

    .pr-card__arrow,
    .pr-feature__button { position: static; align-self: flex-end; flex: none; margin: 18px 0 0; width: 42px; height: 42px; min-height: 42px; }

    .pr-image-label { left: 12px; top: 12px; font-size: 11px; padding: 6px 10px; }
}

.pr-card__action-label { display: none; }

@media (max-width: 600px) {
    .pr-card__arrow,
    .pr-feature__button { display: inline-flex; align-items: center; justify-content: center; align-self: stretch; gap: 10px; width: 100%; height: 46px; min-height: 46px; padding: 0 20px; margin-top: 20px; border-radius: 999px; background: var(--ink); border-color: var(--ink); color: #fff; font: 500 14px/1 var(--font-body); }

    .pr-card__action-label { display: inline; }

    .pr-card:hover .pr-card__arrow,
    .pr-card:focus-visible .pr-card__arrow,
    .pr-feature:hover .pr-feature__button,
    .pr-feature:focus-visible .pr-feature__button { background: #303034; color: #fff; }
}

.pr-card__arrow .pr-card__action-label { color: inherit; }

/* =================================================================
   PRODUCTS PAGE: dark hero, scrollable range tiles, grouped grid
   ================================================================= */

.cat-browse {
    padding-block: clamp(28px, 3.5vw, 44px) clamp(22px, 3vw, 32px);
}

.cat-browse__title {
    margin: 0 0 16px;
    font: 300 clamp(22px, 2.4vw, 28px)/1.1 var(--font-heading);
}

/* Edge fades show there is more to scroll; they appear only on the side that has more. */

@property --fade-l {
    syntax: "<length>";
    inherits: false;
    initial-value: 0px;
}

@property --fade-r {
    syntax: "<length>";
    inherits: false;
    initial-value: 0px;
}

.tile-scroller {
    margin-inline: -6px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
    transition: --fade-l .3s var(--ease), --fade-r .3s var(--ease);
}

.tile-scroller.can-scroll-left {
    --fade-l: 56px;
}

.tile-scroller.can-scroll-right {
    --fade-r: 120px;
}

.cat-browse .tile-filter {
    display: flex;
    gap: 12px;
    padding: 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 6px;
    scrollbar-width: none;
}

.cat-browse .tile-filter::-webkit-scrollbar {
    display: none;
}

.cat-browse .tile-filter>li {
    flex: 0 0 136px;
    scroll-snap-align: start;
}

.cat-browse .tile {
    justify-content: center;
    gap: 10px;
    min-height: 140px;
    user-select: none;
}

.cat-browse .tile img {
    -webkit-user-drag: none;
    pointer-events: none;
}

.cat-browse .tile__icon {
    width: 68px;
    height: 68px;
}

.cat-browse .tile__label {
    font-size: 14px;
    white-space: nowrap;
}

.cat-browse .tile:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.tile-scroller.is-dragging .tile-filter {
    cursor: grabbing;
    scroll-snap-type: none;
}

.tile-scroller.is-dragging .tile {
    pointer-events: none;
}

/* Range groups: same rhythm and dividers as the downloads page */

.catalogue .cat-panel {
    padding-block: clamp(36px, 4.5vw, 56px);
}

.catalogue .cat-panel:not([hidden]) ~ .cat-panel:not([hidden]) {
    border-top: 1px solid var(--line);
}

.catalogue .cat-panel__head {
    margin-bottom: clamp(18px, 2.4vw, 28px);
}

/* Product cards: same design as the product-page rail cards (inset rounded image, light title,
   "View details" link), keeping the description and key specs */

.catalogue .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.catalogue .product-card {
    border-radius: 22px;
}

.catalogue .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .08);
}

.catalogue .product-card__media {
    aspect-ratio: 1;
    margin: 8px 8px 0;
    border-radius: 16px;
    background: var(--mist);
}

.catalogue .product-card__media img {
    padding: 10%;
}

.catalogue .product-card__body {
    gap: 6px;
    padding: 16px 18px 18px;
}

.catalogue .product-card__title {
    font: 400 26px/1.15 var(--font-heading);
}

@media (max-width: 991.98px) {
    .catalogue .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Phones: the tile row runs edge to edge so cut-off tiles hint at the scroll */

@media (max-width: 767.98px) {
    .tile-scroller {
        margin-inline: calc(var(--gutter) * -1);
    }

    .cat-browse .tile-filter {
        padding-inline: var(--gutter);
        scroll-padding-inline: var(--gutter);
    }

    .tile-scroller.can-scroll-left {
        --fade-l: 32px;
    }

    .tile-scroller.can-scroll-right {
        --fade-r: 64px;
    }
}

@media (max-width: 575.98px) {
    .cat-browse .tile-filter {
        gap: 10px;
    }

    .cat-browse .tile-filter>li {
        flex-basis: 100px;
    }

    .cat-browse .tile__icon {
        width: 56px;
        height: 56px;
    }

    .cat-browse .tile {
        justify-content: flex-start;
        min-height: 122px;
        padding-top: 14px;
    }

    .cat-browse .tile__label {
        display: flex;
        align-items: center;
        min-height: 2.5em;
        font-size: 12.5px;
        white-space: normal;
    }

    .catalogue .product-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .catalogue .product-card__media {
        aspect-ratio: 4 / 3;
    }
}

/* =================================================================
   IMAGE VIEWER (PhotoSwipe, themed to the site)
   ================================================================= */

.pswp.pswp--alpha {
    --pswp-bg: #f4f4f5;
    --pswp-placeholder-bg: transparent;
    --pswp-icon-color: var(--ink);
    --pswp-icon-color-secondary: #fff;
    --pswp-icon-stroke-color: transparent;
    --pswp-error-text-color: var(--muted);
    font-family: var(--font-body);
}

/* Product PNGs are transparent; no dark box behind them while loading */

.pswp--alpha .pswp__img {
    background: transparent;
}

.pswp-alpha__btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: auto;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
    transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.pswp-alpha__btn svg {
    width: 20px;
    height: 20px;
}

.pswp-alpha__caption {
    position: absolute;
    top: 30px;
    left: 50%;
    max-width: calc(100% - 320px);
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    transform: translateX(-50%);
    pointer-events: none;
}

.pswp-alpha__thumbs {
    position: absolute;
    left: 50%;
    bottom: 20px;
    display: flex;
    gap: 8px;
    max-width: calc(100% - 24px);
    padding: 6px;
    overflow-x: auto;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    scrollbar-width: none;
    transform: translateX(-50%);
}

.pswp-alpha__thumbs::-webkit-scrollbar {
    display: none;
}

.pswp-alpha__thumb {
    flex: none;
    width: 64px;
    height: 64px;
    padding: 6px;
    border: 1.5px solid transparent;
    border-radius: 12px;
    background: var(--mist);
    cursor: pointer;
    transition: border-color .2s var(--ease), opacity .2s var(--ease);
}

.pswp-alpha__thumb:not([aria-current="true"]) {
    opacity: .6;
}

.pswp-alpha__thumb:hover {
    opacity: 1;
}

.pswp-alpha__thumb[aria-current="true"] {
    border-color: var(--ink);
}

.pswp-alpha__thumb:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.pswp-alpha__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* UI fades with the open/close animation */

.pswp--alpha .pswp-alpha__thumbs,
.pswp--alpha .pswp-alpha__caption {
    opacity: 0;
    transition: opacity var(--pswp-transition-duration, .333s) cubic-bezier(.4, 0, .22, 1);
}

.viewer-open chat-widget {
    display: none !important;
}

@media (max-width: 767.98px) {
    .pswp-alpha__btn {
        width: 44px;
        height: 44px;
    }

    .pswp-alpha__caption {
        display: none;
    }

    .pswp-alpha__thumbs {
        bottom: max(12px, env(safe-area-inset-bottom));
        gap: 6px;
        padding: 5px;
        border-radius: 16px;
    }

    .pswp-alpha__thumb {
        width: 54px;
        height: 54px;
        padding: 5px;
        border-radius: 11px;
    }
}

/* =================================================================
   CLOSING CTA: full-width dark band that runs straight into the footer
   ================================================================= */

.cta-end {
    position: relative;
    padding-block: clamp(64px, 8vw, 112px) clamp(48px, 6vw, 80px);
    background: radial-gradient(70% 120% at 85% 0%, #1d1d22 0%, var(--ink) 65%);
    color: #fff;
}

.cta-end[hidden] {
    display: none;
}

/* The band keeps its layouts; only the card styling goes */

.cta-end .cta-band {
    padding: 0;
    border-radius: 0;
    background: none;
    overflow: visible;
}

.cta-end .cta-band::after {
    display: none;
}

.cta-end .cta-band__eq {
    right: 0;
    bottom: 0;
}

/* The product line-up stands on the line where the footer starts */

.cta-end .cta-band__video {
    margin: calc(-1 * clamp(24px, 4vw, 56px)) 0 calc(-1 * clamp(48px, 6vw, 80px));
}

/* Divider between the CTA and the footer columns */

body:has(.cta-end:not([hidden])) .site-footer__grid {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

@media (max-width: 991.98px) {
    .cta-end .cta-band__video {
        margin: 16px auto calc(-1 * clamp(48px, 6vw, 80px));
    }
}

/* =================================================================
   DOWNLOADS: light help band, copy left and buttons right
   ================================================================= */

.dl-help {
    padding-block: 8px clamp(64px, 8vw, 104px);
}

.dl-help[hidden] {
    display: none;
}

.help-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 48px;
    padding: clamp(28px, 4vw, 48px) clamp(24px, 4.5vw, 56px);
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--mist);
}

.help-band__copy h2 {
    margin: 0;
    font: 300 clamp(28px, 3.4vw, 42px)/1.08 var(--font-heading);
    letter-spacing: -.01em;
}

.help-band__copy p {
    max-width: 560px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.help-band__actions {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    gap: 10px;
}

.help-band .btn-ui--ghost {
    background: #fff;
}

@media (max-width: 767.98px) {
    .help-band {
        flex-direction: column;
        align-items: stretch;
        border-radius: 22px;
    }

    .help-band__actions .btn-ui {
        flex: 1 1 180px;
        justify-content: center;
    }
}

/* =================================================================
   TERMS & PRIVACY: hero, sticky tabs, contents sidebar, reading column
   ================================================================= */

.legal-hero {
    padding-block: clamp(40px, 6vw, 88px) clamp(28px, 4vw, 48px);
    background: var(--mist);
}

.legal-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: clamp(16px, 2.5vw, 28px);
    color: var(--muted);
    font-size: 13px;
}

.legal .legal-crumbs a,
.page-intro .legal-crumbs a,
.case .legal-crumbs a,
.article .legal-crumbs a {
    color: var(--muted);
    text-decoration: none;
}

.legal .legal-crumbs a:hover,
.page-intro .legal-crumbs a:hover,
.case .legal-crumbs a:hover,
.article .legal-crumbs a:hover {
    color: var(--ink);
}

.legal-hero h1 {
    max-width: 920px;
    margin: 0;
    font: 300 clamp(36px, 5.6vw, 68px)/1.04 var(--font-heading);
    letter-spacing: -.015em;
    text-wrap: balance;
}

.legal-hero__date {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 15px;
}

/* Tabs stick under the header (and move up with it when it hides) */

.legal-tabs-bar {
    position: sticky;
    top: var(--header-h);
    z-index: 900;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: top .4s var(--ease);
}

.header-hidden .legal-tabs-bar {
    top: 0;
}

.legal-tabs {
    display: flex;
    gap: clamp(20px, 3vw, 36px);
}

.legal .legal-tabs__tab {
    position: relative;
    height: 60px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    font: 500 15px/1 var(--font-body);
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s var(--ease);
}

.legal .legal-tabs__tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transform: scaleX(0);
    transition: transform .3s var(--ease);
}

.legal .legal-tabs__tab:hover,
.legal .legal-tabs__tab[aria-selected="true"] {
    color: var(--ink);
}

.legal .legal-tabs__tab[aria-selected="true"]::after {
    transform: none;
}

.legal-tabs__tab:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
    border-radius: 4px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
    padding-block: clamp(36px, 5vw, 64px) clamp(64px, 8vw, 104px);
}

/* Contents for the open tab */

.legal-toc {
    position: sticky;
    top: calc(var(--header-h) + 61px + 28px);
    max-height: calc(100vh - var(--header-h) - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    transition: top .4s var(--ease);
}

.header-hidden .legal-toc {
    top: calc(61px + 28px);
}

.legal-toc__title {
    margin: 0 0 12px;
    color: var(--muted);
    font: 600 12px/1 var(--font-body);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.legal-toc__list {
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--line);
    list-style: none;
}

.legal .legal-toc__list a,
.article .legal-toc__list a {
    display: block;
    margin-left: -1px;
    padding: 7px 0 7px 16px;
    border-left: 2px solid transparent;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    transition: color .2s var(--ease), border-color .2s var(--ease);
}

.legal .legal-toc__list a:hover,
.article .legal-toc__list a:hover {
    color: var(--ink);
}

.legal .legal-toc__list a.is-active,
.article .legal-toc__list a.is-active {
    border-left-color: var(--ink);
    color: var(--ink);
    font-weight: 600;
}

/* Reading column */

.legal-body {
    max-width: 760px;
    min-width: 0;
}

.legal-pane[hidden] {
    display: none;
}

.legal .legal-pane h2 {
    margin: 48px 0 16px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font: 300 clamp(24px, 2.6vw, 30px)/1.15 var(--font-heading);
    letter-spacing: -.01em;
    scroll-margin-top: calc(var(--header-h) + 61px + 16px);
}

.legal .legal-pane > h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.legal .legal-pane h3 {
    margin: 32px 0 10px;
    color: var(--ink);
    font: 600 19px/1.3 var(--font-body);
}

.legal .legal-pane h4 {
    margin: 24px 0 8px;
    color: var(--ink);
    font: 600 16px/1.35 var(--font-body);
}

.legal .legal-pane p {
    margin: 0 0 14px;
    color: #3f3f46;
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.legal .legal-pane ul {
    display: grid;
    gap: 10px;
    margin: 4px 0 20px;
    padding: 0;
    list-style: none;
}

.legal .legal-pane li {
    position: relative;
    padding-left: 22px;
    color: #3f3f46;
    font-size: 16px;
    line-height: 1.75;
}

.legal .legal-pane li::before {
    content: "";
    position: absolute;
    top: .72em;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ink);
}

.legal .legal-pane li p {
    margin: 0;
}

.legal .legal-pane strong {
    color: var(--ink);
    font-weight: 600;
}

.legal .legal-pane a {
    color: var(--ink);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: #c4c4c8;
    text-underline-offset: 3px;
    transition: text-decoration-color .2s var(--ease);
}

.legal .legal-pane a:hover {
    text-decoration-color: var(--ink);
}

/* Bordered closing CTA */

.legal-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    margin-top: clamp(48px, 6vw, 72px);
    padding: clamp(24px, 4vw, 40px);
    border: 1.5px solid var(--ink);
    border-radius: 24px;
}

.legal .legal-cta h2 {
    margin: 0;
    font: 300 clamp(26px, 3vw, 34px)/1.1 var(--font-heading);
}

.legal .legal-cta p {
    max-width: 440px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.legal-cta__actions {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 991.98px) {
    .legal-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .legal-toc {
        display: none;
    }

    .legal-body {
        max-width: none;
    }

    .legal-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .legal-cta__actions .btn-ui {
        flex: 1 1 180px;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .legal .legal-tabs__tab {
        flex: 1;
        height: 54px;
        font-size: 14px;
    }

    .legal-tabs {
        gap: 0;
    }

    .legal .legal-pane h2 {
        margin-top: 36px;
        padding-top: 32px;
    }

    .legal .legal-pane p,
    .legal .legal-pane li {
        font-size: 15px;
    }

    .legal-cta {
        border-radius: 20px;
    }
}

/* =================================================================
   LISTING PAGES (blogs, reviews, help centre): light intro
   ================================================================= */

.page-intro {
    padding-block: clamp(40px, 6vw, 88px) clamp(32px, 4.5vw, 56px);
    background: var(--mist);
}

.page-intro h1 {
    max-width: 900px;
    margin: 0;
    font: 300 clamp(40px, 6vw, 76px)/1.02 var(--font-heading);
    letter-spacing: -.015em;
    text-transform: none;
}

.page-intro__lead {
    max-width: 640px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.6;
}

/* Wide intro: title runs the full width, lead about three lines */

.page-intro--wide h1 {
    max-width: none;
    font-size: clamp(36px, 5.6vw, 76px);
}

.page-intro--wide .page-intro__lead {
    max-width: 860px;
}

/* ---------- Blog posts ---------- */

.posts {
    padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 96px);
}

/* Bordered card: inset image, meta, two-line title with a round arrow on the right */

.post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}

.post-card:hover {
    border-color: #a1a1aa;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .06);
    transform: translateY(-3px);
}

.post-card:focus-within {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.post-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 19 / 10;
    border-radius: 16px;
    background: var(--mist);
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.post-card:hover .post-card__media img {
    transform: scale(1.04);
}

.post-card__label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: 600 12px/1 var(--font-body);
    letter-spacing: .04em;
}

.post-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 12px 12px;
}

.posts .post-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
}

.post-card__author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 500;
}

.post-card__author img {
    width: 24px;
    height: 24px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
}

.post-card__row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-top: auto;
}

.posts .post-card__title {
    display: -webkit-box;
    flex: 1;
    margin: 0;
    overflow: hidden;
    color: var(--ink);
    font: 300 clamp(20px, 1.8vw, 23px)/1.25 var(--font-heading);
    letter-spacing: -.005em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* The title link covers the whole card */

.posts .post-card__title a {
    color: inherit;
    text-decoration: none;
}

.posts .post-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 24px;
}

.post-card__title a:focus-visible {
    outline: 0;
}

.post-card__arrow {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.post-card__arrow svg {
    width: 18px;
    height: 18px;
    transition: transform .25s var(--ease);
}

.post-card:hover .post-card__arrow {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.post-card:hover .post-card__arrow svg {
    transform: rotate(-45deg);
}

/* Latest post: wide card, image kept near its natural size */

.post-card--featured {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 48px);
    align-items: stretch;
}

.post-card--featured .post-card__body {
    justify-content: center;
    padding: clamp(12px, 2vw, 28px) clamp(12px, 2vw, 28px) clamp(12px, 2vw, 28px) 0;
}

.post-card--featured .post-card__row {
    margin-top: 0;
}

.posts .post-card--featured .post-card__title {
    font-size: clamp(26px, 2.8vw, 38px);
    line-height: 1.15;
}

.post-card--featured .post-card__arrow {
    width: 52px;
    height: 52px;
}

.posts__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    padding-top: clamp(16px, 2vw, 24px);
}

@media (max-width: 991.98px) {
    .post-card--featured {
        grid-template-columns: minmax(0, 1fr);
    }

    .post-card--featured .post-card__body {
        padding: 18px 12px 12px;
    }

    .posts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .posts__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .post-card {
        border-radius: 20px;
    }

    .post-card__media {
        border-radius: 13px;
    }
}

/* ---------- Reviews ---------- */

.page-intro .eyebrow {
    color: var(--muted);
}

.reviews {
    padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px);
}

.reviews__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: clamp(24px, 3vw, 36px);
}

.reviews__filters {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: var(--mist);
}

.reviews .reviews__filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font: 500 14px/1 var(--font-body);
    cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}

.reviews__filter span {
    min-width: 22px;
    padding: 4px 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .06);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.reviews .reviews__filter:hover {
    color: var(--ink);
}

.reviews .reviews__filter[aria-pressed="true"] {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.reviews__filter:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.reviews .reviews__count {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.review-card {
    --mx: 50%;
    --my: 0%;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(26px, 2.8vw, 36px);
    overflow: hidden;
    border-radius: 24px;
    background: var(--mist);
    color: var(--ink);
    transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), opacity .35s var(--ease);
}

/* Soft light that follows the pointer */

.review-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .09), transparent 60%);
    opacity: 0;
    transition: opacity .3s var(--ease);
    pointer-events: none;
}

/* Hover: the card turns dark, like the site's CTA bands */

.review-card:hover {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .18);
    transform: translateY(-4px);
}

.review-card:hover::before {
    opacity: 1;
}

.review-card[hidden] {
    display: none;
}

.review-card.is-entering {
    opacity: 0;
    transform: translateY(12px);
}

.reviews .review-card__quote {
    flex: 1;
    margin: 0 0 32px;
    padding: 0;
    border: 0;
    color: inherit;
    font: 300 clamp(20px, 2vw, 27px)/1.4 var(--font-heading);
    text-wrap: pretty;
}

.review-card__who {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    transition: border-color .35s var(--ease);
}

.review-card:hover .review-card__who {
    border-color: rgba(255, 255, 255, .16);
}

.reviews .review-card__name {
    display: block;
    color: inherit;
    font-size: 16px;
    font-weight: 600;
}

.reviews .review-card__org {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
    transition: color .35s var(--ease);
}

.reviews .review-card:hover .review-card__org,
.reviews .review-card:hover .review-card__label {
    color: #a1a1aa;
}

.review-card__bought {
    padding-top: 18px;
}

.reviews .review-card__label {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .35s var(--ease);
}

.review-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.reviews .review-chip {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: 600 12px/1 var(--font-body);
    text-decoration: none;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.reviews .review-card:hover .review-chip {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.reviews .review-card:hover a.review-chip:hover {
    border-color: #fff;
    background: #fff;
    color: var(--ink);
}

.reviews a.review-chip::after {
    content: "↗";
    margin-left: 6px;
    font-size: 11px;
}

@media (max-width: 575.98px) {
    .reviews__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .reviews__filters {
        width: 100%;
    }

    .reviews .reviews__filter {
        flex: 1;
        justify-content: center;
        padding: 0 10px;
    }

    .review-card {
        border-radius: 20px;
    }
}

/* ---------- Help centre ---------- */

.help {
    padding-block: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 40px);
}

.help-topics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.help .help-topic {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(24px, 2.6vw, 32px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}

.help .help-topic:hover {
    border-color: #a1a1aa;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .06);
    transform: translateY(-3px);
}

.help-topic:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.help-topic__icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: var(--mist);
}

.help-topic__icon img {
    width: auto;
    height: 48px;
    transition: transform .4s var(--ease);
}

.help-topic:hover .help-topic__icon img {
    transform: scale(1.08) rotate(-3deg);
}

.help .help-topic__title {
    margin: 0 0 10px;
    color: var(--ink);
    font: 300 clamp(22px, 2vw, 26px)/1.15 var(--font-heading);
}

.help .help-topic__text {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

/* The whole card is the link; a small arrow shows on hover */

.help .help-topic {
    position: relative;
}

.help-topic__go {
    position: absolute;
    top: clamp(24px, 2.6vw, 32px);
    right: clamp(24px, 2.6vw, 32px);
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    opacity: 0;
    transform: translate(-6px, 6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.help-topic__go svg {
    width: 16px;
    height: 16px;
    transform: rotate(-45deg);
}

.help-topic:hover .help-topic__go,
.help-topic:focus-visible .help-topic__go {
    opacity: 1;
    transform: none;
}

/* FAQ: its own grey band; heading on the left, answers on the right */

.help-faq {
    margin-top: clamp(32px, 4vw, 56px);
    padding-block: clamp(56px, 7vw, 96px);
    background: var(--mist);
}

.help-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}

.help-faq__side {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    transition: top .4s var(--ease);
}

.header-hidden .help-faq__side {
    top: 32px;
}

.help-faq .help-faq__side h2 {
    margin: 0;
    font: 300 clamp(36px, 4.4vw, 56px)/1 var(--font-heading);
}

.faq-item {
    border-bottom: 1px solid #e0e0e3;
}

.faq-item:last-child {
    border-bottom: 0;
}

/* First question lines up with the FAQ heading */

.help-faq .faq-item:first-child .faq-item__q button {
    padding-top: 8px;
}

.help-faq .faq-item__q {
    margin: 0;
}

.help-faq .faq-item__q button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 24px 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: 500 clamp(17px, 1.5vw, 19px)/1.4 var(--font-body);
    text-align: left;
    cursor: pointer;
}

.faq-item__q button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
    border-radius: 6px;
}

.faq-item__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #d4d4d8;
    background: #fff;
    border-radius: 50%;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease);
}

.faq-item__icon svg {
    width: 16px;
    height: 16px;
}

.faq-item__q button:hover .faq-item__icon {
    border-color: var(--ink);
}

.faq-item.is-open .faq-item__icon {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
    transform: rotate(45deg);
}

/* Height animates from 0 to auto through the grid row */

.faq-item__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s var(--ease);
}

.faq-item.is-open .faq-item__a {
    grid-template-rows: 1fr;
}

.faq-item__a > div {
    overflow: hidden;
}

.help-faq .faq-item__a p {
    max-width: 680px;
    margin: 0;
    padding: 0 60px 24px 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .help-topics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .help-faq__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .help-faq__side {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .help-topics {
        grid-template-columns: minmax(0, 1fr);
    }

    .help .help-topic {
        border-radius: 20px;
    }

    .help-faq .faq-item__a p {
        padding-right: 0;
    }
}

/* =================================================================
   PROJECT & ARTICLE DETAIL PAGES
   ================================================================= */

/* A long current page name stays on one line in the breadcrumb */

.legal-crumbs [aria-current] {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.legal-crumbs {
    flex-wrap: nowrap;
}

.legal-crumbs > * {
    flex: none;
}

.legal-crumbs > [aria-current] {
    flex: 0 1 auto;
}

.case-head,
.article-head {
    padding-block: clamp(36px, 5vw, 72px) clamp(28px, 3.5vw, 44px);
}

.case-head__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--muted);
    font: 600 12px/1 var(--font-body);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.case-head h1,
.article-head h1 {
    max-width: 1000px;
    margin: 0;
    color: var(--ink);
    font: 300 clamp(36px, 5.4vw, 72px)/1.04 var(--font-heading);
    letter-spacing: -.015em;
    text-transform: none;
    text-wrap: balance;
}

.case .case-head__lead {
    max-width: 640px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.5;
}

.case-hero {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 8;
    border-radius: 28px;
    background: var(--mist);
}

.case-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
    padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 80px);
}

/* Reading column shared by projects and articles */

.case-body,
.article-body {
    max-width: 760px;
    min-width: 0;
}

.case .case-body > p,
.article .article-body p {
    margin: 0 0 18px;
    color: #3f3f46;
    font-size: 17px;
    line-height: 1.8;
}

.case .case-body > p:first-child {
    color: var(--ink);
    font-size: clamp(19px, 1.6vw, 22px);
    line-height: 1.6;
}

.case .case-body h2,
.article .article-body h2 {
    margin: 48px 0 16px;
    color: var(--ink);
    font: 300 clamp(26px, 2.8vw, 34px)/1.15 var(--font-heading);
    letter-spacing: -.01em;
    scroll-margin-top: calc(var(--header-h) + 24px);
}

.case .case-body > h2:first-child,
.article .article-body section:first-child h2 {
    margin-top: 0;
}

.case .case-body > ul {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.case .case-body > ul li {
    position: relative;
    padding: 18px 20px 18px 52px;
    border-radius: 16px;
    background: var(--mist);
    color: #3f3f46;
    font-size: 16px;
    line-height: 1.6;
}

.case .case-body > ul li::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 20px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.case .case-body > ul li strong {
    display: block;
    margin-bottom: 2px;
    color: var(--ink);
    font-weight: 600;
}

.case .case-body a,
.article .article-body a {
    color: var(--ink);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: #c4c4c8;
    text-underline-offset: 3px;
    transition: text-decoration-color .2s var(--ease);
}

.case .case-body a:hover,
.article .article-body a:hover {
    text-decoration-color: var(--ink);
}

.case-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 40px 0 0;
}

.case-gallery figure {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
}

.case-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.case-gallery figure:hover img {
    transform: scale(1.04);
}

/* Installed devices */

.case-devices {
    margin-top: 48px;
}

.case-devices ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.case .case-device {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    padding: 10px 10px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}

.case a.case-device:hover {
    border-color: #a1a1aa;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .06);
    transform: translateY(-2px);
}

.case-device__media {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    background: var(--mist);
}

.case-device__media img {
    width: 100%;
    height: 100%;
    padding: 10%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.case-device__ph svg {
    width: 36px;
    height: 36px;
    color: #a1a1aa;
}

.case .case-device__name {
    padding-inline: 6px;
    font: 600 14px/1.3 var(--font-body);
}

.case-device__go {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.case-device__go svg {
    width: 14px;
    height: 14px;
    transform: rotate(-45deg);
}

.case-device:hover .case-device__go {
    opacity: 1;
    transform: none;
}

/* Facts card beside the story */

.case-facts {
    position: sticky;
    top: calc(var(--header-h) + 28px);
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    transition: top .4s var(--ease);
}

.header-hidden .case-facts {
    top: 28px;
}

.case .case-facts__title {
    margin: 0;
    color: var(--muted);
    font: 600 12px/1 var(--font-body);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.case-facts dl {
    display: grid;
    margin: 0;
}

.case-facts dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.case-facts dt {
    color: var(--muted);
    font-weight: 400;
}

.case-facts dd {
    margin: 0;
    color: var(--ink);
    font-weight: 600;
    text-align: right;
}

.case-facts .btn-ui {
    justify-content: center;
}

/* End-of-article share bar: label, social icons and a copy-link pill */

/* Doubled class outranks the article paragraph margins so the label centres on the buttons */

.article .article-foot__label.article-foot__label {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.article-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.article .article-share__btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}

.article .article-share__btn:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.article-share__btn svg {
    width: 18px;
    height: 18px;
}

/* More projects / related articles */

.case-more {
    padding-top: clamp(48px, 6vw, 80px);
    border-top: 1px solid var(--line);
}

.case-more__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: clamp(20px, 2.5vw, 32px);
}

.case-more .case-more__head h2 {
    margin: 0;
    font: 300 clamp(30px, 3.6vw, 44px)/1.05 var(--font-heading);
}

.case-more__grid {
    padding-top: 0;
}

.case-more__grid:has(> :nth-child(4)) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Articles */

.article-head h1 {
    max-width: 900px;
}

.article-head__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    margin-top: clamp(24px, 3vw, 36px);
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.article-head__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-head__author img {
    width: 44px;
    height: 44px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 50%;
    object-fit: contain;
}

.article-head__author > span {
    display: grid;
    gap: 2px;
}

.article .article-head__author strong {
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
}

.article .article-head__author span span {
    color: var(--muted);
    font-size: 13px;
}

.article-head__facts {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.article-head__read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-head__read svg {
    width: 16px;
    height: 16px;
}

.article-hero {
    aspect-ratio: 1440 / 600;
}

.article-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 760px);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
    padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 80px);
}

.article-toc {
    top: calc(var(--header-h) + 28px);
}

.header-hidden .article-toc {
    top: 28px;
}

.article-body section + section {
    margin-top: 8px;
}

.article-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.article .article-foot__copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: 500 14px/1 var(--font-body);
    cursor: pointer;
    transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}

.article .article-foot__copy:hover {
    border-color: var(--ink);
}

.article .article-foot__copy.is-copied {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.article-foot__copy svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 1199.98px) {
    .case-more__grid:has(> :nth-child(4)) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .case-layout,
    .article-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .case-facts {
        position: static;
    }

    .article-toc {
        display: none;
    }

    .case-body,
    .article-body {
        max-width: none;
    }

    .case-hero {
        aspect-ratio: 16 / 10;
        border-radius: 20px;
    }
}

@media (max-width: 575.98px) {
    .case-gallery,
    .case-more__grid:has(> :nth-child(4)) {
        grid-template-columns: minmax(0, 1fr);
    }

    .case-hero {
        border-radius: 16px;
    }

    .case .case-body > p,
    .article .article-body p {
        font-size: 16px;
    }
}

/* =================================================================
   PRODUCT PAGE: breadcrumb pill + simplified info panel
   ================================================================= */

.breadcrumbs {
    padding-block: 20px 8px;
}

.breadcrumbs ol {
    display: inline-flex;
    max-width: 100%;
    gap: 4px;
    padding: 4px 4px 4px 14px;
    border-radius: 999px;
    background: var(--mist);
    flex-wrap: nowrap;
    overflow: hidden;
}

.breadcrumbs li {
    flex: none;
    white-space: nowrap;
}

.breadcrumbs li+li::before {
    margin: 0 4px 0 0;
}

/* The current product sits in a white chip */

.breadcrumbs [aria-current] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
    color: var(--ink);
    text-overflow: ellipsis;
}

.breadcrumbs li[aria-current]::before {
    content: none;
}

/* Features: light rows with hairline dividers */

.pdp-info .pdp-bullets {
    gap: 0;
    margin-top: 28px;
    border-top: 1px solid var(--line);
}

.pdp-info .pdp-bullets li {
    align-items: flex-start;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 15px;
}

/* Applications as plain text, separated by dots */

/* Label on the first row, chips on the row below */

.pdp-apps--text {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-top: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.pdp-info .pdp-apps__label {
    margin: 0;
    color: var(--muted);
    font: 600 12px/1.6 var(--font-body);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pdp-apps__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Small chips with 8px corners */

.pdp-info .pdp-apps__list li {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--mist);
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.4;
}

/* Two equal buttons */

.pdp-actions--split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    margin-top: 28px;
}

.pdp-actions--split .btn-ui {
    justify-content: center;
    height: 54px;
    font-size: 15px;
}

.pdp-actions--split .btn-ui--ghost {
    border-color: #d4d4d8;
    background: #fff;
}

.pdp-actions--split .btn-ui--ghost:hover {
    border-color: var(--ink);
}

@media (max-width: 575.98px) {
    .pdp-actions--split {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =================================================================
   PRODUCT PAGE ON PHONES: text before diagrams, swipeable feature cards
   ================================================================= */

@media (max-width: 767.98px) {
    /* Key specs: two columns, an odd last tile spans the row */

    .pdp-story .key-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pdp-story .key-specs li:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        border-right: 0;
    }

    .pdp-story .key-specs li:nth-child(even) {
        border-right: 0;
    }

    .pdp-story .key-specs strong {
        font-size: 22px;
    }

    .pdp-story .key-specs span {
        font-size: 10.5px;
    }

    /* Feature cards: one swipeable row, the next card peeking in */

    .pdp-story .feature-cards {
        display: flex;
        gap: 12px;
        margin-inline: calc(var(--gutter) * -1);
        padding: 2px var(--gutter);
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
    }

    .pdp-story .feature-cards::-webkit-scrollbar {
        display: none;
    }

    /* Horizontal only: no vertical scroll inside the row */

    .pdp-story .feature-cards {
        overflow-y: hidden;
        touch-action: pan-x pan-y;
    }

    /* The scroll-reveal slide would push cards down inside the row (and cards off to the
       right would never reveal), so they simply show */

    .js .pdp-story .feature-cards [data-reveal] {
        opacity: 1;
        transform: none;
        transition: border-color .25s var(--ease), background-color .25s var(--ease);
    }

    .pdp-story .feature-card {
        flex: 0 0 78%;
        padding: 22px;
        scroll-snap-align: start;
    }

    .pdp-story .feature-card__num {
        margin-bottom: 18px;
    }

    /* Feature rows: number, title, copy and chips first, then a compact diagram */

    .feature-rows {
        margin-top: 56px;
    }

    .feature-rows .feature-row {
        gap: 22px;
        padding-block: 48px;
    }

    .feature-rows .feature-row > div {
        order: 1;
    }

    .feature-rows .feature-row .feature-row__visual,
    .feature-rows .feature-row:nth-child(even) .feature-row__visual {
        order: 2;
    }

    .feature-rows .feature-row__visual svg {
        max-height: 280px;
        margin-inline: auto;
    }

    .feature-rows .feature-row h3 {
        font-size: 28px;
    }

    .feature-rows .feature-row p {
        margin-top: 12px;
        font-size: 15.5px;
    }

    .feature-rows .feature-row .chip-list {
        margin-top: 16px;
    }

    /* The Downloads section right below already offers the datasheet */

    .specs-datasheet {
        display: none;
    }
}

/* =================================================================
   PRODUCT DOWNLOADS: small file icon, roomy name, View + Download
   ================================================================= */

.doc-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 14px 14px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.doc-card:hover {
    border-color: #a1a1aa;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .05);
}

.doc-card__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--mist);
    color: var(--ink);
}

.doc-card__icon svg {
    width: 20px;
    height: 20px;
}

.doc-card__text {
    flex: 1;
    min-width: 0;
}

.doc-card__name {
    display: block;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.doc-card__meta {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 13px;
}

.doc-card__actions {
    display: flex;
    flex: none;
    gap: 8px;
}

.doc-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #d4d4d8;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: 500 13px/1 var(--font-body);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}

.doc-card__btn svg {
    width: 16px;
    height: 16px;
}

.doc-card__btn:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.doc-card__btn--dark {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.doc-card__btn--icon {
    width: 38px;
    padding: 0;
}

.doc-card__btn--dark:hover {
    background: #2a2a2e;
    color: #fff;
}

.doc-card__btn:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

/* Keep the Download label visible at every screen size. */

@media (max-width: 575.98px) {
    .doc-card {
        gap: 12px;
        padding: 12px;
    }

    .doc-card__actions {
        gap: 6px;
    }

    .doc-card__btn {
        height: 40px;
        padding: 0 12px;
    }

    .doc-card__btn--dark {
        width: auto;
        padding: 0 12px;
    }

    .doc-card__btn--dark .doc-card__label {
        display: inline;
    }
}

/* =================================================================
   MOBILE MENU: calmer type, Products opens as a highlighted list
   ================================================================= */

/* The third-party chat bubble covers the menu's contact buttons */

.menu-open chat-widget {
    display: none !important;
}

.mobile-nav .mobile-nav__link {
    min-height: 58px;
    font-size: clamp(22px, 6vw, 26px);
}

.mobile-nav__link svg {
    width: 18px;
    height: 18px;
}

.mobile-nav__list > li {
    transition: background-color .25s var(--ease), border-color .25s var(--ease), margin .25s var(--ease), padding .25s var(--ease);
}

/* The open block gets a soft grey card behind it */

.mobile-nav__list > li.is-expanded {
    margin: 6px calc(var(--gutter) * -.5);
    padding: 0 calc(var(--gutter) * .5) 6px;
    border-bottom-color: transparent;
    border-radius: 20px;
    background: var(--mist);
}

.mobile-nav__sub {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    margin: 0 0 8px;
}

.mobile-nav .mobile-nav__sub a {
    min-height: 48px;
    padding: 6px 10px 6px 6px;
    border-radius: 12px;
    background: transparent;
    font-size: 15px;
}

.mobile-nav .mobile-nav__sub a:hover,
.mobile-nav .mobile-nav__sub a:active {
    background: #fff;
}

.mobile-nav__sub .cat-icon {
    width: 34px;
    height: 34px;
}

.mobile-nav .mobile-nav__all a {
    min-height: 46px;
    margin-bottom: 6px;
    padding-inline: 14px;
    background: var(--ink);
    color: #fff;
}

.mobile-nav .mobile-nav__all a:hover,
.mobile-nav .mobile-nav__all a:active {
    background: #2a2a2e;
}

/* =================================================================
   PRODUCT PAGE CARDS
   ================================================================= */

/* Rail cards (suggested amplifiers, accessories, related): image, title, description, link */

.rail .product-card--compact {
    border-radius: 22px;
}

.rail .product-card--compact .product-card__media {
    aspect-ratio: 1;
    margin: 8px 8px 0;
    border-radius: 16px;
}

.rail .product-card--compact .product-card__media img {
    padding: 10%;
}

.rail .product-card--compact .photo-ph span {
    font-size: 11px;
}

.rail .product-card--compact .product-card__body {
    gap: 6px;
    padding: 16px 18px 18px;
}

.rail .product-card--compact .product-card__title {
    font: 300 22px/1.15 var(--font-heading);
}

.rail .product-card--compact .product-card__sub {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.rail {
    scrollbar-width: none;
}

.rail::-webkit-scrollbar {
    display: none;
}

/* Dark feature cards */

.pdp-story .feature-cards {
    gap: 22px;
}

.pdp-story .feature-card {
    position: relative;
    padding: 30px 30px 32px;
    border-radius: var(--radius);
    background: #141416;
}

.pdp-story .feature-card__num {
    display: block;
    margin-bottom: 14px;
    color: #71717a;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .04em;
}

.pdp-story .feature-card h3 {
    margin-bottom: 12px;
    font: 700 20px/1.25 var(--font-body);
    letter-spacing: -.01em;
}

.pdp-story .feature-card p {
    font-size: 13.5px;
    line-height: 1.55;
}

@media (max-width: 767.98px) {
    .rail {
        grid-auto-columns: 74%;
        gap: 14px;
    }

    .pdp-story .feature-card {
        flex-basis: 74%;
        padding: 24px;
    }

    .pdp-story .feature-card__num {
        margin-bottom: 12px;
    }
}

/* Key spec values stay on one line; the size scales so the longest ("75 Hz – 18 kHz") fits */

.pdp-story .key-specs strong {
    font-size: clamp(20px, 1.85vw, 28px);
    white-space: nowrap;
}

.pdp-story .key-specs li {
    min-width: 0;
    padding-inline: clamp(16px, 1.6vw, 22px);
}

@media (max-width: 767.98px) {
    .pdp-story .key-specs strong {
        font-size: clamp(17px, 4.8vw, 22px);
    }

    .pdp-story .key-specs li {
        padding: 18px 16px;
    }
}

/* Each tile sizes its value to its own width (container query), so the longest value,
   e.g. "100 Hz – 20 kHz", stays on one line at every screen size */

.pdp-story .key-specs li {
    container-type: inline-size;
}

@supports (font-size: 1cqi) {
    .pdp-story .key-specs strong,
    .pdp-story .key-specs li strong {
        font-size: clamp(15px, 10cqi, 28px);
    }
}

/* Key specs: centred values, no dividers, small caption underneath */

.pdp-story .key-specs {
    padding: 8px;
    border-radius: var(--radius);
    border-color: #26262a;
}

.pdp-story .key-specs li,
.pdp-story .key-specs li:last-child:nth-child(odd) {
    padding: 22px 12px;
    border: 0;
    text-align: center;
}

.pdp-story .key-specs strong,
.pdp-story .key-specs li strong {
    font: 700 clamp(15px, 11cqi, 32px)/1.15 var(--font-body);
    letter-spacing: -.01em;
}

.pdp-story .key-specs span {
    margin-top: 8px;
    color: #71717a;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
}

@media (max-width: 767.98px) {
    .pdp-story .key-specs li,
    .pdp-story .key-specs li:last-child:nth-child(odd) {
        padding: 16px 10px;
    }

    .pdp-story .key-specs strong,
    .pdp-story .key-specs li strong {
        font-size: clamp(15px, 4.6vw, 19px);
    }

    .pdp-story .key-specs span {
        margin-top: 6px;
        font-size: 10px;
    }
}

/* =================================================================
   TEXT SELECTION: white text on a dark highlight everywhere
   ================================================================= */

::selection {
    background: var(--ink);
    color: #fff;
}

/* On dark sections a black highlight would vanish, so it uses charcoal */

:is(.pdp-story, .section--dark, .site-footer, .cta-band, .cta-end, .ct-hero, .site-header--dark, .feature-card, .review-card:hover, .aa-footer) ::selection,
:is(.pdp-story, .section--dark, .site-footer, .cta-band, .cta-end, .ct-hero, .site-header--dark, .feature-card, .review-card:hover)::selection {
    background: #3f3f46;
    color: #fff;
}

/* Rails: enough room around the cards for the hover lift and shadow (the scroll box clips) */

.rail {
    margin: -24px -24px -28px;
    padding: 24px 24px 48px;
    scroll-padding-inline: 24px;
}

.rail .product-card--compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .08);
}

/* Phones: the row runs edge to edge with the page gutter as its padding */

@media (max-width: 767.98px) {
    .rail {
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        scroll-padding-inline: var(--gutter);
    }
}

/* =================================================================
   PRODUCT CTA: centred copy, product photo fading out below
   ================================================================= */

.cta-end--center {
    padding-bottom: 0;
    text-align: center;
}

.cta-band--center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-band--center .cta-band__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1040px;
}

.cta-band--center h2 {
    max-width: 1040px;
    margin-inline: auto;
    text-wrap: balance;
}

.cta-band--center p {
    max-width: 860px;
    margin-inline: auto;
    text-wrap: balance;
}

.cta-band--center .pdp-actions {
    justify-content: center;
}

/* The fade is in the image file itself; the photo sits on the section's bottom edge */

.cta-band__shot {
    width: min(100%, 400px);
    margin: clamp(36px, 5vw, 56px) auto 0;
}

.cta-band__shot img {
    display: block;
    width: 100%;
    height: auto;
}

.cta-band__shot--generic {
    width: min(100%, 560px);
}

/* Wide units (amplifiers, processors) get more width */

.cta-band__shot--wide {
    width: min(100%, 760px);
}

@media (max-width: 575.98px) {
    .cta-band--center .pdp-actions {
        width: 100%;
    }

    .cta-band--center .pdp-actions .btn-ui {
        flex: 1 1 100%;
        justify-content: center;
    }

    .cta-band__shot {
        width: min(100%, 300px);
    }

    .cta-band__shot--wide {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .cta-end--center:has(.cta-band__shot--eq) {
        padding-bottom: clamp(48px, 6vw, 80px);
    }
}

/* =================================================================
   LAZY IMAGES: start blurred and faint, sharpen once loaded (site.js)
   ================================================================= */

.img-blur {
    filter: blur(18px);
    opacity: .4;
    transition: filter .6s var(--ease), opacity .6s var(--ease);
}

.img-blur.is-loaded {
    filter: blur(0);
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .img-blur {
        filter: none;
        transition: opacity .2s linear;
    }
}

/* Compact recommendations on product and accessory detail pages. */
#related {
    background: #fff;
}

#related .rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 16px;
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
}

#related .rail > li,
#related .product-card__body {
    min-width: 0;
}

#related .product-card--compact {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: none;
    transform: none;
}

#related .product-card--compact:hover,
#related .product-card--compact:focus-within {
    border-color: #a1a1aa;
    box-shadow: 0 3px 12px rgb(0 0 0 / 4%);
}

#related .product-card--compact .product-card__media {
    width: 76px;
    height: 80px;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 10px;
}

#related .product-card--compact .product-card__media img {
    padding: 8px;
    transform: none;
}

#related .product-card__badges {
    display: none;
}

#related .product-card--compact .photo-ph {
    gap: 4px;
    background: var(--mist);
}

#related .product-card--compact .photo-ph svg {
    width: 24px;
}

#related .product-card--compact .photo-ph span {
    font-size: 8px;
    letter-spacing: 0;
    text-transform: none;
}

#related .product-card--compact .product-card__body {
    gap: 5px;
    padding: 0;
}

#related .product-card--compact .product-card__title {
    font: 600 14px/1.35 var(--font-body);
    overflow-wrap: anywhere;
}

#related .product-card--compact .product-card__sub {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

#related .product-card__cta,
#related .product-card:hover .product-card__cta,
#related .product-card:focus-within .product-card__cta {
    justify-content: flex-start;
    gap: 7px;
    width: fit-content;
    min-height: 24px;
    margin: 1px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-size: 12px;
}

#related .product-card__cta svg {
    flex: none;
    width: 22px;
    height: 22px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 50%;
    transform: none;
}

#related .product-card:focus-within {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

@media (max-width: 1099.98px) {
    #related .rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639.98px) {
    #related .rail {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    #related .rail-head {
        margin-bottom: 20px;
    }

    #related .rail-section + .rail-section {
        margin-top: 40px;
    }

    #related .product-card--compact {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
    }

    #related .product-card--compact .product-card__media {
        width: 64px;
        height: 72px;
    }
}

/* A quiet opt-in chat launcher; no provider is loaded until clicked. */
.support-chat-launcher {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 40;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #d4d4d8;
    border-radius: 999px;
    background: #fff;
    color: #111;
    box-shadow: 0 3px 16px rgb(0 0 0 / 10%);
    font: 600 13px/1.2 var(--font-body);
    cursor: pointer;
}
.support-chat-launcher[hidden],
.menu-open .support-chat-launcher,
.viewer-open .support-chat-launcher { display: none; }
.support-chat-launcher:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.support-chat-launcher:disabled { opacity: .65; cursor: wait; }
.about-company__copy h3 { margin: 0 0 12px; font: 500 24px/1.3 var(--font-heading); }
@media (max-width: 575.98px) {
    .support-chat-launcher { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); font-size: 12px; padding-inline: 14px; }
}

/* Match KLINE 4's catalogue image scale to the neighbouring column arrays. */
.catalogue .product-card__media img[src^="/products/imgs/kline-4/"] {
    scale: .74;
}

/* Footer: keep the information columns together on the desktop right. */
.site-footer__links > *,
.site-footer__contact,
.site-footer__contact .contact-pop,
.site-footer__contact .contact-pop__trigger span {
    min-width: 0;
}

.site-footer__contact .contact-pop__trigger {
    width: 100%;
    max-width: 100%;
    line-height: 1.6;
}

.site-footer__contact .contact-pop__trigger span {
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (min-width: 992px) {
    .site-footer__grid {
        display: grid;
        grid-template-columns: minmax(180px, 1fr) auto;
        align-items: start;
        gap: clamp(40px, 4vw, 64px);
        padding-block: 56px;
    }

    /* Brand stays left; the link columns sit together against the right edge. */
    .site-footer__links {
        display: grid;
        grid-template-columns: max-content max-content minmax(0, 220px);
        align-items: start;
        gap: clamp(48px, 5vw, 80px);
        width: auto;
        margin-left: 0;
        font-size: 14px;
        line-height: 1.6;
    }

    .site-footer__links > div:last-child {
        max-width: 220px;
    }

    .site-footer__links h3 {
        margin-bottom: 16px;
        line-height: 1.3;
    }

    .site-footer__links ul {
        gap: 8px;
    }

    .site-footer__links .site-footer__contact {
        gap: 14px;
    }
}

@media (max-width: 991.98px) {
    .site-footer__links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
        width: 100%;
        margin-left: 0;
    }

    .site-footer__links > div:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 479.98px) {
    .site-footer__links {
        grid-template-columns: minmax(0, 1fr);
    }
}
