/*
Theme Name: Foundation
Theme URI:
Author: Foundation
Author URI:
Description: A clean, minimal, reusable WordPress starter theme. Built for ACF Pro and Gravity Forms, with a built-in maintenance mode, security hardening, and a flexible-content page builder.
Version: 1.2.48
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: foundation
*/

/*--------------------------------------------------------------
  Design tokens
--------------------------------------------------------------*/
:root {
    --green: #274d34;
    --green-hover: #1d3a27;
    --green-deep: #304c36;
    --green-field: #455e4a;
    --green-soft: #d3d9d5;
    --brown: #4a3a33;
    --brown-dark: #3c2a21;
    --copper: #925e3f;
    --gold: #9b7851;
    --star: #ffc107;

    --ink: #191919;
    --text: #27272a;
    --muted: #6b7280;
    --border: #e5e7eb;
    --pill-border: #e6e1dd;

    --white: #ffffff;
    --snow: #f9fafb;
    --sage: #eaedeb;
    --sage-2: #e7eceb;
    --stone: #f5f2f1;
    --stone-soft: #eee9e7;
    --cream: #faf7f2;
    --ivory: #fdfcf9;
    --sand: #e3dfda;
    --mist: #e7e8eb;
    --ice: #f3f4fb; /* matches the Gel-Eze "How it works" graphic */
    --charcoal: #282828;
    --card: #f3f3f3;

    --accent: var(--green);
    --accent-soft: var(--green-soft);

    --container-max: 1320px;
    --gutter: 1.5rem;
    --radius: 4px;
    --section-y: clamp(3.5rem, 7vw, 5.5rem);

    --font-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

.accent-brown {
    --accent: var(--brown);
    --accent-soft: var(--stone-soft);
}

.accent-copper {
    --accent: var(--copper);
    --accent-soft: #efe5df;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-base);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip; /* no sideways scroll on phones; unlike hidden, keeps the sticky header */
}

body.has-lightbox {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: var(--green);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 0.75rem;
}

p {
    margin: 0 0 1rem;
}

:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

address {
    font-style: normal;
}

.icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 1.25em;
    height: 1.25em;
}

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

.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.container--guide  { max-width: calc(996px + var(--gutter) * 2); }
.container--form   { max-width: calc(800px + var(--gutter) * 2); }
.container--faq    { max-width: calc(994px + var(--gutter) * 2); }

.section {
    padding: var(--section-y) 0;
}

.section--tight {
    padding: 1.5rem 0;
}

.bg-white    { background: var(--white); }
.bg-snow     { background: var(--snow); }
.bg-sage     { background: var(--sage); }
.bg-stone    { background: var(--stone); }
.bg-cream    { background: var(--cream); }
.bg-ivory    { background: var(--ivory); }
.bg-mist     { background: var(--mist); }
.bg-ice      { background: var(--ice); }
.bg-charcoal { background: var(--charcoal); color: #d4d4d4; }
.bg-green    { background: var(--green-deep); color: #d9e0da; }

.section-heading {
    max-width: 960px; /* wide enough for one-line titles; the intro stays narrower */
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 3.6vw, 2.75rem);
    margin: 0;
    text-wrap: balance; /* when a title does wrap, split it evenly */
}

.section-heading .section-intro {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-title--sub {
    margin: 3rem 0 2rem;
    text-align: center;
}

.section-intro {
    margin: 1rem 0 0;
    color: var(--muted);
}

.bg-green .section-title,
.bg-charcoal .section-title { color: #fff; }

.bg-green .section-intro { color: rgba(255, 255, 255, 0.72); }

.eyebrow {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brown-dark);
}

.section-heading .eyebrow::before {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin: 0 auto 1.25rem;
    background: currentColor;
}

.eyebrow--plain::before { display: none; }
.eyebrow--gold { color: var(--gold); }
.image-text .eyebrow { color: var(--copper); }
.bg-green .eyebrow { color: #f3ede4; }

.section-actions {
    margin-top: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
}

.img-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: linear-gradient(135deg, #e4e0da 0%, #d6d1ca 100%);
}

.img-placeholder--product {
    background: #f4f4f4;
}

/*--------------------------------------------------------------
  Buttons
--------------------------------------------------------------*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 46px;
    padding: 0.8rem 1.25rem;
    font-family: var(--font-base);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    background: var(--green);
    border: 1px solid var(--green);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
    background: var(--green-hover);
    border-color: var(--green-hover);
    color: #fff;
    text-decoration: none;
}

.btn--sm {
    min-height: 52px;
    padding: 0.9rem 1.75rem;
}

.btn--wide {
    min-width: 194px;
}

.btn--brown {
    background: var(--brown);
    border-color: var(--brown);
}

.btn--brown:hover,
.btn--brown:focus-visible {
    background: var(--brown-dark);
    border-color: var(--brown-dark);
}

/* Secondary outline button (e.g. "All News"), green or brown. */
.btn--primary-outline,
.btn--brown-outline {
    min-width: 194px;
    color: var(--green);
    background: transparent;
    border-color: var(--green);
}

.btn--brown-outline {
    color: var(--brown);
    border-color: var(--brown);
}

.btn--primary-outline:hover,
.btn--primary-outline:focus-visible {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
}

.btn--brown-outline:hover,
.btn--brown-outline:focus-visible {
    color: #fff;
    background: var(--brown);
    border-color: var(--brown);
}

.guides-block .section-actions {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.btn--outline-light {
    background: transparent;
    border-color: #fff;
}

.btn--outline-light:hover,
.btn--outline-light:focus-visible {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

.btn--light {
    min-width: 188px;
    color: var(--ink);
    background: #fff;
    border-color: #fff;
}

.btn--light:hover,
.btn--light:focus-visible {
    background: var(--sand);
    border-color: var(--sand);
    color: var(--ink);
}

.btn .icon {
    width: 1rem;
    height: 1rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--ink);
}

.back-link .icon {
    width: 1.1rem;
    height: 1.1rem;
}

/*--------------------------------------------------------------
  Announcement + brand bar
--------------------------------------------------------------*/
.announcement-bar {
    background: var(--green);
    color: #fff;
    font-size: 0.875rem;
    text-align: center;
}

.announcement-bar p {
    margin: 0;
    padding: 0.7rem 0;
}

.brand-bar {
    background: #f6f6f6;
}

.brand-bar__list {
    display: flex;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
    list-style: none;
}

.brand-bar__item {
    flex: 1 1 0;
    min-width: 0;
}

.brand-bar__item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0.5rem 0.75rem;
    color: var(--ink);
    transition: background 0.15s ease;
}

.brand-bar__item a:hover,
.brand-bar__item.is-active a {
    background: #fff;
    text-decoration: none;
}

.brand-bar__item img {
    max-height: 40px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
}

/* Swipe arrows (js/header.js): only where the bar scrolls (see max-width: 1200px). */
.brand-bar__arrow {
    display: none;
}

/* EM (home) tab: its logo has small lettering, so give it more room. */
.brand-bar__item.is-home img {
    max-height: 50px;
    max-width: 140px;
}

.brand-bar__text {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

/*--------------------------------------------------------------
  Header
--------------------------------------------------------------*/
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    transition: box-shadow 0.2s ease;
}

.admin-bar .site-header {
    top: 32px;
}

.site-header.is-scrolled {
    box-shadow: 0 6px 24px -16px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    min-height: 100px;
}

.header-search {
    position: relative;
    width: 100%;
    max-width: 318px;
}

.header-search input[type="search"] {
    height: 46px;
    padding: 0 3rem 0 1.25rem;
    font-size: 0.8125rem;
    border: 1px solid #d1d5db;
    border-radius: var(--radius);
}

.header-search button {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    display: flex;
    padding: 0.35rem;
    color: var(--ink);
    background: none;
    border: 0;
    transform: translateY(-50%);
    cursor: pointer;
}

.header-search .icon {
    width: 18px;
    height: 18px;
}

/* Native clear "×" in the site green */
.header-search input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    margin-right: 0.35rem;
    cursor: pointer;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 1.5l9 9m0-9l-9 9' stroke='%23274d34' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header-search.is-searching button .icon {
    animation: fnd-pulse 0.9s ease-in-out infinite;
}

@keyframes fnd-pulse {
    50% { opacity: 0.35; }
}

/* Live search dropdown */
.live-search {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 120;
    width: max(100%, 380px);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 18px 40px -18px rgba(25, 25, 25, 0.35), 0 2px 6px rgba(0, 0, 0, 0.05);
    animation: fnd-drop 0.18s var(--ease-out, ease) both;
}

.live-search[hidden] {
    display: none;
}

.live-search__list {
    max-height: min(440px, 62vh);
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: var(--green-soft) transparent;
}

.live-search__item + .live-search__item {
    border-top: 1px solid #f0eeeb;
}

.live-search__link {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--text);
    transition: background 0.15s ease;
}

.live-search__link:hover,
.live-search__item.is-active .live-search__link {
    background: var(--cream);
    text-decoration: none;
}

/* Fixed 64px column; the uncropped image is scaled to fit 64×64 and centred. */
.live-search__media {
    display: flex;
    justify-content: center;
    line-height: 0;
}

.live-search__media img {
    display: block;
    width: auto;
    height: auto;
    max-width: 64px;
    max-height: 64px;
    mix-blend-mode: multiply; /* product photos are on white — let it vanish into the (hover) row background */
}

.live-search__media:empty {
    width: 64px;
    height: 64px;
    background: #f7f6f4;
    border-radius: 4px;
}

.live-search__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.live-search__meta {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.live-search__title {
    margin: 0.1rem 0 0.15rem;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--green);
}

.live-search__link:hover .live-search__title,
.live-search__item.is-active .live-search__title {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.live-search__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--muted);
}

.live-search__status {
    margin: 0;
    padding: 1.1rem 1rem;
    font-size: 0.875rem;
    color: var(--muted);
    text-align: center;
}

.live-search__status:empty,
.live-search__status[hidden],
.live-search__all[hidden] {
    display: none;
}

.live-search__all {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    background: var(--green);
}

@media (max-width: 1024px), (pointer: coarse) {
    .header-search input[type="search"] {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .live-search {
        width: 100%;
    }

    .live-search__list {
        max-height: calc(100dvh - 320px); /* below the sticky brand bar + header */
    }
}

@media (max-width: 600px) {
    .live-search__link {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.65rem 0.85rem;
    }

    .live-search__media img {
        max-width: 44px;
        max-height: 44px;
    }

    .live-search__media:empty {
        width: 44px;
        height: 44px;
    }

    .live-search__title {
        font-family: var(--font-base);
        font-size: 0.9375rem;
        line-height: 1.3;
    }

    .live-search__excerpt {
        display: none;
    }

    .live-search__meta {
        overflow: hidden;
        font-size: 0.625rem;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

.live-search__all:hover,
.live-search__all:focus-visible {
    color: #fff;
    background: var(--green-hover);
    text-decoration: none;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-logo img {
    display: block;
    max-height: 68px;
    width: auto;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--ink);
}

.site-branding__divider {
    width: 1px;
    height: 56px;
    background: var(--ink);
}

.range-logo {
    color: var(--ink);
}

.range-logo img {
    display: block;
    max-height: 56px;
    max-width: 200px;
    width: auto;
}

.range-logo__text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.range-logo:hover {
    text-decoration: none;
}

.header-collapse {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.75rem;
}

.header-cta {
    white-space: nowrap;
}

/* Brands in the mobile menu (hidden on desktop, where the brand bar shows). */
.menu-brands {
    display: none;
}

.social-links {
    display: flex;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-links a {
    display: flex;
    color: var(--brown-dark);
}

.social-links .icon {
    width: 22px;
    height: 22px;
}

/* Burger */
.menu-toggle {
    display: none;
    position: relative;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    background: var(--ink);
    transform: translateX(-50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle__bars { top: 50%; margin-top: -1px; }
.menu-toggle__bars::before { content: ""; top: -6px; }
.menu-toggle__bars::after { content: ""; top: 6px; }

.nav-open .menu-toggle__bars { background: transparent; }
.nav-open .menu-toggle__bars::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-open .menu-toggle__bars::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/*--------------------------------------------------------------
  Heroes
--------------------------------------------------------------*/
.hero-split {
    display: grid;
    /* The image is never cropped: it keeps its own shape and sets the height.
       Its column is capped at 44vw / 720px so the hero stops growing on very large
       screens (the text column takes the extra width). */
    grid-template-columns: minmax(0, 1fr) minmax(0, min(44vw, 720px));
    align-items: center;
    background: #fff;
}

.hero-split__content {
    display: flex;
    align-items: center;
    padding: 4rem var(--gutter);
}

.hero-split__inner {
    max-width: 560px;
    margin-left: auto;
    margin-right: clamp(0px, 3vw, 48px);
}

.hero-split__logo img {
    display: block;
    max-width: 146px;
    max-height: 154px;
    width: auto;
    margin-bottom: 2rem;
}

.hero-split__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.hero-split__text {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

.hero-split__tagline {
    font-size: 1.125rem;
    font-style: italic;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2.25rem;
}

.hero-split__media {
    position: relative;
    overflow: hidden; /* clips the load-in zoom (fnd-settle) */
}

.hero-split__media img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-split__media .img-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1440 / 1058;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--charcoal);
}

.hero-slider__track {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.hero-slide {
    position: relative;
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    width: 100%; /* or min-height + aspect-ratio makes the slide wider than the screen */
    min-height: 529px;
    /* Slides with "Show whole image" get --slide-ratio (inline, from the image
       size): height follows the photo so it isn't cropped; min-height still
       wins on narrow screens, where it crops. */
    aspect-ratio: var(--slide-ratio, auto);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-slide__bg,
.hero-slide__bg img,
.hero-slide__bg .img-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide__bg::after {
    content: "";
    position: absolute;
    inset: 0;
}

.overlay-dark  .hero-slide__bg::after { background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0) 75%); }
.overlay-brown .hero-slide__bg::after { background: linear-gradient(90deg, rgba(58, 34, 18, 0.88) 0%, rgba(58, 34, 18, 0.55) 45%, rgba(58, 34, 18, 0) 75%); }
.overlay-navy  .hero-slide__bg::after { background: linear-gradient(90deg, rgba(15, 23, 60, 0.9) 0%, rgba(30, 38, 80, 0.45) 45%, rgba(30, 38, 80, 0) 75%); }
.overlay-green .hero-slide__bg::after { background: linear-gradient(90deg, rgba(20, 45, 28, 0.85) 0%, rgba(20, 45, 28, 0.45) 45%, rgba(20, 45, 28, 0) 75%); }
/* No overlay: a soft shadow keeps white text readable on the photo. */
.overlay-none .hero-slide__content { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.35); }

.hero-slide__content {
    position: relative;
    z-index: 1;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-slide__content > * {
    max-width: 600px;
    padding-left: clamp(0px, 7vw, 106px);
}

.hero-slide__logo img {
    max-height: 90px;
    width: auto;
    margin-bottom: 0.5rem;
}

.hero-slide__title {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 3.875rem);
    margin-bottom: 1.25rem;
}

.hero-slide__title--small {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    white-space: nowrap;
}

.hero-slide__text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.5rem;
}

.slider-arrow,
.carousel__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: none;
    border: 0;
    cursor: pointer;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    color: #fff;
    transform: translateY(-50%);
}

.slider-arrow .icon {
    width: 36px;
    height: 36px;
}

.slider-arrow--prev { left: clamp(0.5rem, 3vw, 3.5rem); }
.slider-arrow--next { right: clamp(0.5rem, 3vw, 3.5rem); }

/* Tablet and phone: the banner is the whole photo (never cropped) with only the
   logo on it; heading, text and buttons sit underneath on white. Same markup as
   desktop: .hero-slide__content dissolves so its children join the slide's grid. */
@media (max-width: 1024px) {
    .hero-slider {
        color: var(--ink);
        background: #fff;
    }

    .hero-slide {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        min-height: 0;
        aspect-ratio: auto;
        padding-bottom: 2.5rem;
    }

    .hero-slide__bg {
        position: relative;
        inset: auto;
        grid-area: 1 / 1;
        height: auto;
        margin-bottom: 2rem;
    }

    .hero-slide__bg img,
    .hero-slide__bg .img-placeholder {
        position: static;
        display: block;
        height: auto;
    }

    .hero-slide__bg .img-placeholder {
        aspect-ratio: 8 / 3;
    }

    .hero-slide .hero-slide__bg::after {
        background: none;
    }

    /* Only behind a logo, to keep a white logo readable. */
    .hero-slide:not(.overlay-none):has(.hero-slide__logo) .hero-slide__bg::after {
        background: rgba(0, 0, 0, 0.35);
    }

    .hero-slide__content {
        display: contents;
        text-shadow: none;
    }

    .hero-slide__content > * {
        box-sizing: border-box;
        width: calc(100% - var(--gutter) * 2);
        max-width: 640px;
        margin-inline: auto;
        padding-left: 0;
    }

    /* Grid row 1 with the photo; the 2rem is the photo's margin. */
    .hero-slide .hero-slide__logo {
        position: relative;
        z-index: 1;
        grid-area: 1 / 1;
        align-self: center;
        justify-self: center;
        width: auto;
        margin: 0 0 2rem;
    }

    .hero-slide__logo img {
        display: block;
        width: auto;
        max-width: 52vw;
        max-height: clamp(44px, 18vw, 120px);
        margin: 0;
    }

    .hero-slide__title {
        color: var(--ink);
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero-slide__title--small {
        font-size: min(clamp(1.75rem, 4vw, 2.25rem), 7vw);
    }

    .hero-slide__text {
        color: var(--ink);
    }

    .hero-slide .btn--outline-light {
        color: var(--ink);
        border-color: var(--ink);
    }

    .hero-slide .btn--outline-light:hover,
    .hero-slide .btn--outline-light:focus-visible {
        color: #fff;
        background: var(--ink);
    }

    .slider-arrow {
        top: 0.5rem;
        transform: none;
    }
}

.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 354px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background: var(--charcoal);
}

.page-hero__bg,
.page-hero__bg img,
.page-hero__bg .img-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__bg img {
    object-position: center 22%;
}

.page-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.55);
}

.page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.page-hero__title {
    color: #fff;
    font-size: clamp(2.25rem, 4vw, 2.75rem);
    margin: 0;
}

.page-hero__text {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.75);
}

.page-hero__rule {
    display: block;
    width: 60px;
    height: 2px;
    margin: 1.5rem auto 0;
    background: var(--gold);
}

.page-hero__rule--top {
    margin: 0 auto 1.25rem;
}

/*--------------------------------------------------------------
  Features strip + why choose
--------------------------------------------------------------*/
.features-strip {
    padding: 3.75rem 0;
}

.features-strip__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
    list-style: none;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.feature__icon {
    display: flex;
    flex: 0 0 72px;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent-soft);
}

.feature__icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.feature__label {
    max-width: 11rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--ink);
}

.why-choose__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.why-card {
    text-align: center;
}

.why-card .feature__icon {
    margin: 0 auto 1.5rem;
    background: var(--green-soft);
}

.why-card__title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.why-card__text {
    max-width: 16rem;
    margin: 0 auto;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--muted);
}

/*--------------------------------------------------------------
  Category grid
--------------------------------------------------------------*/
.category-grid__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-grid__intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
}

.category-grid__logo {
    max-width: 137px;
    margin-bottom: 0.75rem;
}

.category-grid__title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin: 0;
}

.category-card {
    position: relative;
    display: block;
    aspect-ratio: 314 / 354;
    overflow: hidden;
    color: #fff;
    background: var(--charcoal);
}

.category-card .category-card__img,
.category-card img.category-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.8) 100%);
}

.category-card:hover {
    text-decoration: none;
}

.category-card:hover .category-card__img {
    transform: scale(1.04);
}

.category-card__label {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1.5rem;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.category-card__label img {
    max-height: 64px;
    max-width: 90%;
    width: auto;
    object-fit: contain;
}

.category-card__name {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

/*--------------------------------------------------------------
  Image + text
--------------------------------------------------------------*/
.image-text__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5.25rem);
    max-width: calc(1204px + var(--gutter) * 2);
}

.image-right .image-text__media {
    order: 2;
}

.image-text__media img,
.image-text__media .img-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 589 / 600;
    object-fit: cover;
}

.image-text__title {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    margin-bottom: 1.25rem;
}

.image-text__title--one-line {
    font-size: min(clamp(2.25rem, 4.5vw, 3.75rem), 8.5vw);
    white-space: nowrap;
}

.image-text__title--small {
    font-size: min(clamp(1.75rem, 3vw, 2.5rem), 6.6vw);
    white-space: nowrap;
}

.image-text__body .prose {
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.checklist {
    display: grid;
    gap: 1.1rem 2rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.checklist--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    font-weight: 600;
    color: var(--brown);
    line-height: 1.6;
}

.checklist .icon {
    width: 22px;
    height: 22px;
    margin-top: 0.15em;
    color: var(--brown);
}

/*--------------------------------------------------------------
  Products
--------------------------------------------------------------*/
.card-grid {
    display: grid;
    gap: 20px;
}

.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }

.guides-block .card-grid--4 {
    max-width: 1080px; /* a little narrower than the full container on wide screens */
    margin: 0 auto;
}

.guides-block .card-grid--3 {
    gap: 3.5rem;
    max-width: 1190px;
    margin: 0 auto;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin: -0.5rem 0 3.5rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 1.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--pill-border);
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
}

.pill:hover {
    border-color: var(--accent);
    text-decoration: none;
}

.pill.is-active {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

/* Image tiles (category filter with pictures, like the old site). */
.filter-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
    margin: 0 0 3rem;
}

.filter-tile {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    color: var(--ink);
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.filter-tile:hover {
    text-decoration: none;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.filter-tile.is-active {
    border-color: var(--accent);
}

.filter-tile__media {
    position: relative;
    display: block;
    aspect-ratio: 345 / 270;
}

.filter-tile__media img,
.filter-tile__media .img-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    object-fit: contain;
}

.filter-tile__label {
    margin-top: auto;
    padding: 0.5rem 0.6rem 0.8rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

.filter-tile.is-active .filter-tile__label {
    color: var(--accent);
}

.products-layout.has-sidebar {
    display: grid;
    grid-template-columns: 314px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
}

.filter-sidebar {
    padding: 1.75rem 2rem 2rem;
    background: #fff;
}

.filter-sidebar__title {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
}

.filter-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.filter-sidebar a {
    position: relative;
    display: block;
    padding: 0.45rem 0 0.45rem 1.75rem;
    font-size: 0.9375rem;
    color: var(--ink);
}

.filter-sidebar .is-active a {
    font-weight: 600;
    color: var(--accent);
}

.filter-sidebar .is-active a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    bottom: 0.55rem;
    width: 3px;
    background: var(--accent);
}

.products-results {
    transition: opacity 0.2s ease;
}

.is-loading .products-results {
    opacity: 0.45;
    pointer-events: none;
}

.product-card {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
    box-shadow: 0 10px 28px -12px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.product-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem 1.5rem 2rem;
    color: var(--ink);
}

.product-card__link:hover {
    text-decoration: none;
}

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 266 / 220;
    margin-bottom: 1.25rem;
}

.product-card__media img,
.product-card__media .img-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card__title {
    margin: auto 0 0;
    font-family: var(--font-base);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: var(--ink);
}

/* Compact cards in the 6-up range grid — many supplied product photos are
   small, so they hold up better at this size. */
.card-grid--6 .product-card__link {
    padding: 1rem 1rem 1.25rem;
}

.card-grid--6 .product-card__media {
    margin-bottom: 0.875rem;
}

.card-grid--6 .product-card__title {
    font-size: 0.875rem;
}

.no-results__text {
    text-align: center;
    color: var(--muted);
}

/*--------------------------------------------------------------
  Guides
--------------------------------------------------------------*/
.guide-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.guide-card__media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--green-soft);
    background: #fff; /* white behind contained photos, whatever the section colour */
}

.guide-card__media img,
.guide-card__media .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain; /* whole photo, never cropped; no backdrop behind it */
    transition: transform 0.5s ease;
}

.guide-card:hover .guide-card__media img {
    transform: scale(1.04);
}

.guide-card__title {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.guide-card__title a {
    color: var(--ink);
}

.guide-card .btn {
    margin-top: auto;
}

/* Four across (Blogs listing, homepage): slightly smaller titles. */
.card-grid--4 .guide-card__title {
    font-size: 1.2rem;
}

.card-grid--4 .guide-card__media {
    aspect-ratio: 1 / 1;
}

/*--------------------------------------------------------------
  Reviews carousel
--------------------------------------------------------------*/
.carousel {
    position: relative;
    padding: 0 3.5rem;
}

.carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 21px) / 4);
    gap: 21px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    list-style: none;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

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

.carousel__arrow {
    position: absolute;
    top: 50%;
    color: var(--ink);
    transform: translateY(-50%);
}

.carousel__arrow .icon {
    width: 32px;
    height: 32px;
}

.carousel__arrow--prev { left: 0; }
.carousel__arrow--next { right: 0; }

.carousel.is-start .carousel__arrow--prev,
.carousel.is-end .carousel__arrow--next {
    opacity: 0.25;
}

.review-card {
    align-self: stretch;
    padding: 1.5rem;
    background: var(--card);
    border-radius: 16px;
    scroll-snap-align: start;
}

.review-card__stars {
    display: flex;
    gap: 0.2rem;
    margin: 0 0 1rem;
    color: var(--star);
}

.review-card__stars .icon {
    width: 24px;
    height: 24px;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card__avatar--initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    background: var(--green);
}

.review-card__name {
    font-weight: 600;
    color: var(--ink);
}

a.review-card__name:hover {
    color: var(--green);
}

.review-card__who {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.review-card__time {
    font-size: 0.8125rem;
    color: var(--muted);
}

.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: calc(clamp(2rem, 4vw, 3rem) * -0.6) 0 2rem;
    font-size: 0.9375rem;
    color: var(--muted);
}

.reviews-summary__score {
    font-weight: 700;
    color: var(--ink);
}

.reviews-summary__stars .icon {
    width: 18px;
    height: 18px;
    color: var(--star);
}

.reviews-attribution {
    margin: 1.25rem 0 0;
    font-size: 0.8125rem;
    text-align: center;
    color: var(--muted);
}

.reviews-attribution a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.review-card__text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9375rem;
    line-height: 1.35;
    color: var(--ink);
}

.review-card__text p {
    margin: 0;
}

.review-card__text.is-open {
    display: block;
}

/* Full review popup ("Read more", built by js/site.js) */
.review-modal {
    width: min(560px, calc(100% - 32px));
    max-height: calc(100dvh - 48px);
    padding: 0;
    color: var(--ink);
    background: var(--white);
    border: 0;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
    overflow: auto;
    overscroll-behavior: contain;
}

.review-modal::backdrop {
    background: rgba(25, 25, 25, 0.6);
}

.review-modal[open] {
    animation: review-modal-in 0.22s ease-out;
}

.review-modal[open]::backdrop {
    animation: review-modal-fade 0.22s ease-out;
}

@keyframes review-modal-in {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
}

@keyframes review-modal-fade {
    from { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .review-modal[open],
    .review-modal[open]::backdrop {
        animation: none;
    }
}

.review-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--ink);
    background: none;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.review-modal__close:hover {
    background: var(--card);
}

.review-modal__close svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
}

.review-modal__body {
    padding: 2rem 2rem 1.75rem;
}

.review-modal .review-card__stars {
    margin: 0 0 1.25rem;
}

.review-modal .review-card__author {
    margin: 0;
}

.review-modal .review-card__avatar {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
}

.review-modal .review-card__name {
    font-size: 1.125rem;
}

.review-modal__text {
    margin-top: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-line;
}

.review-modal__source {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.review-modal__source:hover {
    color: var(--green);
}

@media (max-width: 600px) {
    .review-modal__body {
        padding: 1.75rem 1.25rem 1.5rem;
    }
}

.readmore-toggle {
    padding: 0;
    font: inherit;
    font-size: 0.9375rem;
    color: #9ca3af;
    background: none;
    border: 0;
    cursor: pointer;
}

/*--------------------------------------------------------------
  About split
--------------------------------------------------------------*/
.about-split {
    display: grid;
    grid-template-columns: 730fr 710fr;
    color: #d4d4d4;
    background: var(--charcoal);
}

.about-split__content {
    display: flex;
    align-items: center;
    padding: clamp(3rem, 5vw, 4.5rem) var(--gutter) clamp(3rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.75rem);
}

.about-split__inner {
    max-width: 628px;
    margin-left: auto;
    margin-right: clamp(0px, 3vw, 42px);
}

.about-split__title {
    color: #fff;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    margin-bottom: 1.5rem;
}

.prose--light {
    font-size: 0.875rem;
    line-height: 1.85;
    color: #d4d4d4;
}

.about-split .btn-row {
    margin-top: 1.75rem;
}

/* The text sets the height; the image fills it rather than stretching the section. */
.about-split__media {
    position: relative;
}

.about-split__media img,
.about-split__media .img-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%; /* portrait photos: crop more from the bottom, keep heads in frame */
}

/*--------------------------------------------------------------
  Timeline
--------------------------------------------------------------*/
.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--timeline-count, 14), minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 2%;
    right: 2%;
    top: 50%;
    height: 4px;
    margin-top: -2px;
    background: var(--green);
    border-radius: 2px;
}

.timeline__item {
    position: relative;
    height: 500px;
    text-align: center;
}

/* Stem from the line to the milestone. */
.timeline__item::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 3px;
    height: 30px;
    margin-left: -1.5px;
    background: var(--green);
}

.timeline__item--top::after { bottom: 50%; }
.timeline__item--bottom::after { top: 50%; }

.timeline__dot {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 18px;
    height: 18px;
    background: var(--ivory);
    border: 3px solid var(--green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.timeline__stack {
    position: absolute;
    left: -6px;
    right: -6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.timeline__item--top .timeline__stack { bottom: calc(50% + 30px); }
.timeline__item--bottom .timeline__stack { top: calc(50% + 30px); }
.timeline__item--top .timeline__text { order: -1; }
.timeline__item--top .timeline__year { order: 0; }
.timeline__item--top .timeline__icon { order: 1; }

.timeline__year {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    border-radius: 3px;
    white-space: nowrap;
}

.timeline__year--brown { background: var(--brown-dark); }
.timeline__year--green { background: var(--green); }

.timeline__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.timeline__icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.timeline__icon--green { background: var(--green); }
.timeline__icon--brown { background: var(--brown-dark); }
.timeline__icon--white { width: 100px; background: #fff; border-radius: 8px; }
.timeline__icon--white img { width: 88%; height: 80%; }
.timeline__icon--image { background: none; box-shadow: none; }
.timeline__icon--image img { width: 100%; height: 100%; }

.timeline__text {
    max-width: 150px;
}

.timeline__title {
    margin: 0 0 0.25rem;
    font-family: var(--font-base);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--green);
}

.timeline__text p {
    margin: 0;
    font-size: 0.6875rem;
    line-height: 1.35;
    color: var(--muted);
}

.timeline-outro {
    max-width: 1100px;
    margin: 2.5rem auto 0;
    font-size: 0.875rem;
    line-height: 1.95;
    text-align: center;
    color: var(--muted);
}

.timeline-outro a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/*--------------------------------------------------------------
  Text + logo cards
--------------------------------------------------------------*/
.text-logos__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 1.5rem);
    max-width: calc(1095px + var(--gutter) * 2);
}

.logos-left .text-logos__cards {
    order: -1;
}

.text-logos__body {
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--muted);
}

.text-logos__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
    max-width: 537px;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}

.logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 1.75rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px -14px rgba(25, 25, 25, 0.22);
}

.logo-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-card a:hover img {
    transform: scale(1.05);
}

/* Image + text without a heading (About-style storytelling rows). */
.image-text--plain {
    padding: 1.5rem 0;
}

.image-text--plain .image-text__grid {
    gap: clamp(2rem, 4vw, 3.75rem);
    max-width: calc(1095px + var(--gutter) * 2);
}

.image-text--plain .image-text__media img,
.image-text--plain .image-text__media .img-placeholder {
    aspect-ratio: 537 / 555;
}

.rich-text + .image-text--plain {
    padding-top: 0;
}

.page-hero + .rich-text {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
}

/* Body copy beside images (About-style sections without a heading). */
.image-text__body > .prose:first-child {
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--muted);
}

/* Wide centred intro paragraph. */
.rich-text.align-center .container:not(.container--guide) .prose {
    max-width: 1060px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--muted);
}

/*--------------------------------------------------------------
  Logo strip
--------------------------------------------------------------*/
.logo-strip {
    padding: 2.5rem 0;
}

.logo-strip__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
    list-style: none;
}

.logo-strip img {
    max-height: 120px;
    max-width: 210px;
    width: auto;
    object-fit: contain;
}

.logo-strip__text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--ink);
}

/* Tablet and phone: an even grid (flex-wrap left a 1-2-1 "diamond"). */
@media (max-width: 1024px) {
    .logo-strip__list {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2rem 1.5rem;
        justify-items: center;
    }

    .logo-strip img {
        max-width: 100%;
        max-height: 90px;
        height: auto;
    }
}

@media (max-width: 600px) {
    .logo-strip__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem 1.25rem;
    }

    .logo-strip img {
        max-height: 72px;
    }

    /* An odd one out sits centred on its own row. */
    .logo-strip__list > li:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/*--------------------------------------------------------------
  Rich text / prose / gallery
--------------------------------------------------------------*/
.prose > :last-child {
    margin-bottom: 0;
}

.prose h2 { font-size: 2rem; margin-top: 2rem; }
.prose h3 { font-size: 1.5rem; margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose img { height: auto; }
.prose video { display: block; max-width: 100%; height: auto; }
.prose video.aligncenter { margin-left: auto; margin-right: auto; }

/* WordPress alignment + captions (imported news articles). */
.prose::after {
    content: "";
    display: table;
    clear: both;
}

.prose .alignleft {
    float: left;
    max-width: 50%;
    margin: 0.35rem 1.75rem 1rem 0;
}

.prose .alignright {
    float: right;
    max-width: 50%;
    margin: 0.35rem 0 1rem 1.75rem;
}

.prose .aligncenter {
    display: block;
    margin: 1.75rem auto;
}

.prose .wp-caption {
    max-width: 100%;
}

.prose .wp-caption img {
    display: block;
}

.prose .wp-caption-text,
.prose figcaption {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--muted);
}

.prose figure {
    margin: 1.75rem 0;
}

@media (max-width: 560px) {
    .prose .alignleft,
    .prose .alignright {
        float: none;
        max-width: 100%;
        margin: 1.25rem 0;
    }
}

.rich-text .section-title {
    margin-bottom: 1.25rem;
}

.align-center {
    text-align: center;
}

.align-center .container--guide .prose {
    max-width: 640px;
    margin: 0 auto;
}

.prose img.aligncenter {
    display: block;
    margin: 0 auto 1.5rem;
}

.gallery-row {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gallery-row--1 { grid-template-columns: 1fr; }
.gallery-row--2 { grid-template-columns: repeat(2, 1fr); }
.gallery-row--3 { grid-template-columns: repeat(3, 1fr); }
.gallery-row--4 { grid-template-columns: repeat(4, 1fr); }

.gallery-row a {
    display: block;
    overflow: hidden;
}

.gallery-row img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-row a:hover img {
    transform: scale(1.04);
}

/*--------------------------------------------------------------
  Guide (single post)
--------------------------------------------------------------*/
.guide-header {
    padding: 3rem 0 2rem;
}

.guide-header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: var(--muted);
}

.tag {
    padding: 0.3rem 1.6rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--green);
    background: var(--green-soft);
    border-radius: 999px;
}

.guide-header__title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    margin: 0;
}

.guide-hero {
    margin-bottom: 2rem;
}

/* The whole photo, never cropped: full column width for landscape shots,
   capped height (centred, narrower) for square/portrait ones. */
.guide-hero img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(80vh, 720px);
    margin: 0 auto;
}

.guide .entry-content {
    padding-bottom: 2rem;
}

/*--------------------------------------------------------------
  Product detail
--------------------------------------------------------------*/
.product-detail {
    padding-top: 3rem;
}

/* Breathing room before the sections that follow (guides, reviews…). */
.product-detail > .container {
    padding-bottom: var(--section-y);
}

.product-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); /* image ⅓, text ⅔ */
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.product-gallery__main {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid #f0f0f0;
}

.product-gallery__main a,
.product-gallery__main img,
.product-gallery__main .img-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.product-gallery__thumbs button {
    display: block;
    width: 100%;
    padding: 0;
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid var(--border);
    cursor: pointer;
}

.product-gallery__thumbs button.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.product-gallery__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
    font-size: 0.9375rem;
    color: var(--muted);
}

.breadcrumb li + li::before {
    content: ">";
    margin-right: 0.4rem;
}

.breadcrumb a {
    color: var(--muted);
}

.product-info {
    font-size: 0.875rem;
}

.product-info__title {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin-bottom: 1rem;
}

.product-info .prose {
    margin-bottom: 1.5rem;
    font-size: inherit;
}

.product-info__features h2 {
    font-family: var(--font-base);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.product-info__features {
    margin-bottom: 1.5rem;
}

.product-info__availability,
.product-info__code {
    margin-bottom: 1.5rem;
}

.faqs--flush {
    padding-top: 0; /* sits straight under the product detail */
}

.faq-list {
    display: grid;
    gap: 1.2rem;
}

.faq {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 22px rgba(25, 25, 25, 0.08);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 77px;
    padding: 1rem 1.75rem;
    font-weight: 600;
    color: var(--ink);
    list-style: none;
    cursor: pointer;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary .icon {
    transition: transform 0.2s ease;
}

.faq[open] summary .icon {
    transform: rotate(45deg);
}

.faq__answer {
    padding: 0 1.75rem 1.5rem;
    color: var(--muted);
}

/*--------------------------------------------------------------
  Brand intro (range / sub-brand archive)
--------------------------------------------------------------*/
.brand-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.brand-intro__logo {
    display: flex;
    justify-content: center;
}

.brand-intro__logo img {
    max-height: 300px;
    width: auto;
}

.brand-intro__text {
    font-size: 1.0625rem;
    line-height: 1.65;
}

.brand-intro__text--center {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

/*--------------------------------------------------------------
  Contact
--------------------------------------------------------------*/
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 736fr) minmax(0, 380fr);
    gap: clamp(2rem, 6vw, 4.75rem);
    max-width: calc(1190px + var(--gutter) * 2);
}

.contact-details__title {
    margin: 1rem 0 2.5rem;
    font-family: var(--font-base);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-deep);
}

.contact-list {
    display: grid;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text);
}

.contact-list .icon {
    width: 20px;
    height: 20px;
    margin-top: 0.15em;
    color: var(--brown-dark);
}

.contact-list a {
    color: var(--text);
}

/*--------------------------------------------------------------
  Forms (Gravity Forms CSS is disabled — styled here)
--------------------------------------------------------------*/
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    font: inherit;
    font-size: 1rem; /* 16px: smaller text makes iOS zoom in on focus */
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 2px;
}

input::placeholder,
textarea::placeholder {
    color: #6b7280;
    opacity: 1;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(39, 77, 52, 0.15);
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form label {
    flex: 1 1 auto;
}

.search-submit {
    flex: 0 0 auto;
    padding: 0.65rem 1.2rem;
    font-weight: 600;
    color: #fff;
    background: var(--green);
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
}

.gform_wrapper {
    margin: 0;
}

.gform_wrapper .gform_heading,
.gform_wrapper .gform_required_legend,
.gform_wrapper .gform_validation_container,
.gform_wrapper .gfield--type-honeypot,
.gform_wrapper .gfield_visibility_hidden,
.gform_wrapper .gform_hidden,
.gform_wrapper .hidden_label .gfield_label,
.gform_wrapper .screen-reader-text,
.gform_wrapper .gfield_required_text {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.gform_fields {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.5rem 1.5rem;
}

.gfield {
    grid-column: span 12;
    min-width: 0;
}

.gfield--width-half { grid-column: span 6; }
.gfield--width-third { grid-column: span 4; }
.gfield--width-quarter { grid-column: span 3; }

.gfield_label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
}

.gfield_required {
    margin-left: 0.2rem;
    color: inherit;
}

.ginput_container input,
.ginput_container textarea,
.ginput_container select {
    min-height: 48px;
}

.ginput_container textarea {
    min-height: 120px;
    resize: vertical;
}

.ginput_counter,
.charleft {
    display: none;
}

.gfield_description {
    margin-top: 0.4rem;
    font-size: 0.8125rem;
    color: var(--muted);
}

.gform_footer {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.gform_footer .btn {
    min-width: 320px;
    min-height: 60px;
    font-size: 1rem;
}

.gform_ajax_spinner {
    width: 20px;
    margin-left: 0.75rem;
    align-self: center;
}

.gfield_error input,
.gfield_error textarea,
.gfield_error select {
    border-color: #b42318;
}

.gfield_validation_message,
.validation_message {
    margin-top: 0.4rem;
    font-size: 0.8125rem;
    color: #b42318;
}

.gform_validation_errors {
    margin-bottom: 1.5rem;
    padding: 0.9rem 1.1rem;
    color: #b42318;
    background: #fef3f2;
    border: 1px solid #fecdca;
    border-radius: var(--radius);
}

.gform_validation_errors h2 {
    margin: 0;
    font-family: var(--font-base);
    font-size: 0.9375rem;
    font-weight: 600;
    color: inherit;
}

.gform_validation_errors ol {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    font-size: 0.875rem;
}

.gform_validation_errors a {
    color: inherit;
}

.gform_confirmation_message {
    padding: 1.5rem;
    text-align: center;
    font-size: 1.0625rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* Product Interest picker (js/site.js) */
.product-pick {
    position: relative;
}

.product-pick__search {
    position: relative;
}

.product-pick__list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: min(320px, 50vh);
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 18px 40px -18px rgba(25, 25, 25, 0.35);
}

.product-pick__list[hidden] {
    display: none;
}

.product-pick__list li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.55rem 0.85rem;
    color: var(--text);
    cursor: pointer;
}

.product-pick__list li + li {
    border-top: 1px solid #f0eeeb;
}

.product-pick__list li:hover,
.product-pick__list li.is-active {
    background: var(--cream);
}

.product-pick__list .product-pick__empty {
    display: block;
    color: var(--muted);
    cursor: default;
}

.product-pick__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    background: #f7f6f4;
    border-radius: 4px;
}

.product-pick__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-pick__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-pick__title {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
}

.product-pick__meta {
    font-size: 0.75rem;
    color: var(--muted);
}

/* Selected products: compact scrollable list (title + code) with Remove */
.product-pick__picked {
    margin-top: 0.5rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.product-pick__picked[hidden] {
    display: none;
}

.product-pick__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0.5rem 0.35rem 0.85rem;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    border-radius: 6px 6px 0 0;
}

.product-pick__count {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink);
}

.product-pick__items {
    max-height: 264px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
}

.product-pick__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.2rem 0.25rem 0.2rem 0.85rem;
}

.product-pick__item + .product-pick__item {
    border-top: 1px solid #f0eeeb;
}

.product-pick__item .product-pick__body {
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.5rem;
}

.product-pick__name {
    min-width: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--ink);
    overflow-wrap: anywhere;
}

a.product-pick__name:hover {
    color: var(--green);
    text-decoration: underline;
}

.product-pick__item .product-pick__meta {
    font-size: 0.8125rem;
    white-space: nowrap;
}

.product-pick__remove {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--muted);
    background: none;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.product-pick__remove svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.product-pick__remove:hover,
.product-pick__remove:focus-visible {
    color: #b42318;
    background: #fdf1f0;
}

.product-pick__clear-all {
    min-height: 36px;
    padding: 0 0.35rem;
    font: inherit;
    font-size: 0.8125rem;
    color: var(--muted);
    background: none;
    border: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.product-pick__clear-all:hover,
.product-pick__clear-all:focus-visible {
    color: #b42318;
}

/* Search results: products already added */
.product-pick__list li {
    grid-template-columns: 40px minmax(0, 1fr) auto;
}

.product-pick__tag {
    display: none;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
}

.product-pick__list li.is-added .product-pick__tag {
    display: inline;
}

.product-pick__list li.is-added {
    cursor: default;
}

.product-pick__list li.is-added .product-pick__media {
    opacity: 0.55;
}

.form-panel--dark .gfield_description {
    color: rgba(255, 255, 255, 0.65);
}

/* Dark panel (stockist block) */
.form-panel--dark .gfield_label {
    color: #fff;
}

.form-panel--dark .ginput_container input,
.form-panel--dark .ginput_container textarea,
.form-panel--dark .ginput_container select {
    color: #fff;
    background: var(--green-field);
    border-color: rgba(255, 255, 255, 0.12);
}

.form-panel--dark input::placeholder,
.form-panel--dark textarea::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.form-panel--dark .gform_footer .btn {
    color: var(--green-deep);
    background: #fff;
    border-color: #fff;
}

.form-panel--dark .gform_footer .btn:hover {
    background: var(--sand);
    border-color: var(--sand);
}

.form-panel--dark .gform_confirmation_message {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
}

.form-panel--dark .gfield_validation_message,
.form-panel--dark .validation_message {
    color: #fecdca;
}

/* Newsletter (footer) */
.newsletter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 404px);
    align-items: center;
    gap: 2rem;
    margin: 0 auto 3.5rem;
    max-width: 1198px;
    padding: 2.75rem 2.25rem;
    background: var(--sand);
    border-radius: 8px;
}

.newsletter__title {
    margin: 0;
    font-size: clamp(2rem, 3.5vw, 2.5rem);
}

.newsletter .gform_wrapper form {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.newsletter .gform_body {
    flex: 1 1 auto;
}

.newsletter .gform_fields {
    display: block;
}

.newsletter .gform_footer {
    margin: 0;
}

.newsletter .gform_footer .btn {
    min-width: 0;
    min-height: 60px;
    padding: 0 1.25rem;
    font-size: 0.9375rem;
}

.newsletter .ginput_container input {
    min-height: 62px;
    padding: 0 1.25rem;
    border-color: transparent;
    border-radius: 3px;
}

.newsletter .gform_confirmation_message {
    background: #fff;
}

/* Newsletter popup (template-parts/newsletter-popup.php) — the old site's
   Mailchimp "dome": a white circle rising from the bottom of the screen.
   The footer's form is moved in while it is open. */
.nl-popup {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: clip; /* no scrollbar, and focus can't scroll it (that made the rise bounce) */
    color: #241c14;
    background: transparent;
    border: 0;
}

.nl-popup[open] {
    display: flex;
    flex-direction: column;
    align-items: center; /* centres the dome even when it is wider than the screen */
}

.nl-popup::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.nl-popup__dome {
    --dome: min(800px, calc(100vw + 140px));
    position: relative;
    flex: 0 0 auto;
    width: var(--dome);
    min-height: 424px;
    margin-top: auto; /* sits on the bottom edge; scrolls on very short screens */
    padding: 60px max(2rem, calc((var(--dome) - 100vw) / 2 + 1.5rem)) 30px;
    font-family: "DM Sans", var(--font-base);
    text-align: center;
    background: #fff;
    border-radius: calc(var(--dome) / 2) calc(var(--dome) / 2) 0 0;
    outline: none;
}

.nl-popup__close {
    position: absolute;
    top: calc(var(--dome) * 0.105 - 26px);
    left: min(calc(81% - 26px), calc(50% + 50vw - 64px)); /* on the circle edge, but on screen */
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    color: #241c14;
    background: #ebe4d9;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.nl-popup__close:hover {
    background: #e0d6c7;
}

.nl-popup__logo img {
    display: block;
    width: 135px;
    height: auto;
    margin: 0 auto;
}

.nl-popup__title {
    margin: 1.5rem 0 0.4rem;
    font-family: inherit;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: inherit;
}

.nl-popup__text {
    margin: 0 auto;
    max-width: 32em;
    font-size: 1.125rem;
    line-height: 1.4;
}

.nl-popup__form {
    max-width: 320px;
    margin: 1.4rem auto 0;
}

.nl-popup__form .gform_fields {
    display: block;
}

.nl-popup__form .ginput_container input {
    min-height: 54px;
    padding: 0 1.25rem;
    font-family: inherit;
    font-size: 1rem;
    color: #241c14;
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
}

.nl-popup__form .ginput_container input::placeholder {
    color: #8a8a8a;
    opacity: 1;
}

.nl-popup__form .gform_footer {
    margin: 10px 0 0;
}

.nl-popup__form .gform_footer .btn {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: #241c14;
    border-color: #241c14;
    border-radius: 4px;
}

.nl-popup__form .gform_footer .btn:hover {
    background: #3a2e22;
}

.nl-popup__form .gform_validation_errors {
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
}

.nl-popup__form .gform_validation_errors h2 {
    font-size: 0.875rem;
}

.nl-popup__form .gform_confirmation_message {
    font-size: 1.125rem;
    font-weight: 500;
}

html.js-anim .nl-popup[open] .nl-popup__dome {
    animation: nl-popup-rise 1.4s cubic-bezier(0.25, 0.8, 0.3, 1) both;
    will-change: transform;
}

html.js-anim .nl-popup[open]::backdrop {
    animation: nl-popup-fade 0.8s ease both;
}

@keyframes nl-popup-rise {
    from { transform: translate3d(0, 100%, 0); }
    to { transform: translate3d(0, 0, 0); }
}

/* Screens too short for the dome (landscape phones): let it scroll. */
@media (max-height: 440px) {
    .nl-popup {
        overflow-y: auto;
    }
}

@keyframes nl-popup-fade {
    from { opacity: 0; }
}

@media (max-width: 600px) {
    .nl-popup__dome {
        padding-top: 58px;
    }

    .nl-popup__logo img {
        width: 108px;
    }

    .nl-popup__title {
        font-size: 2.125rem;
    }

    .nl-popup__text {
        max-width: 15em;
        font-size: 1rem;
    }

    .nl-popup__form {
        max-width: 260px;
    }
}

/*--------------------------------------------------------------
  Footer
--------------------------------------------------------------*/
.site-footer {
    padding: 3.5rem 0 0;
    background: var(--cream);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    max-width: 1198px;
    margin: 0 auto;
    padding: 0 0.3rem 3rem;
}

.footer-brand .site-logo img {
    max-height: 72px;
}

.footer-brand address {
    max-width: 340px;
    margin-top: 2.25rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text);
}

.footer-col__title {
    margin: 0 0 1.25rem;
    font-family: var(--font-base);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-deep);
}

.footer-col .contact-list {
    gap: 0.9rem;
    font-size: 0.875rem;
}

.footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
}

.footer-menu li + li {
    margin-top: 0.7rem;
}

.footer-menu a {
    color: var(--text);
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1198px;
    margin: 0 auto;
    padding: 1.5rem 0.3rem 2rem;
    border-top: 1px solid #ebe6df;
}

.site-info {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--muted);
}

/*--------------------------------------------------------------
  Pagination
--------------------------------------------------------------*/
.pagination {
    margin-top: 3rem;
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--ink);
    background: #fff;
}

.pagination .page-numbers.current {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

/*--------------------------------------------------------------
  Lightbox
--------------------------------------------------------------*/
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 80px;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 3.5rem 1rem 1.5rem;
    background: rgba(30, 30, 30, 0.88);
}

.lightbox[hidden] {
    display: none;
}

.lightbox__stage {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
}

.lightbox__stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox button {
    color: #fff;
    background: none;
    border: 0;
    cursor: pointer;
}

.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.lightbox__close .icon {
    width: 34px;
    height: 34px;
}

.lightbox__nav {
    display: flex;
    justify-content: center;
}

.lightbox__nav .icon {
    width: 48px;
    height: 48px;
}

.lightbox__nav--prev { grid-column: 1; grid-row: 1; }
.lightbox__nav--next { grid-column: 3; grid-row: 1; }

.lightbox__thumbs {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.lightbox__thumbs button {
    width: 74px;
    height: 74px;
    padding: 0;
    opacity: 0.6;
    border: 2px solid transparent;
}

.lightbox__thumbs button.is-active {
    opacity: 1;
    border-color: #fff;
}

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

.lightbox.is-single .lightbox__nav,
.lightbox.is-single .lightbox__thumbs {
    visibility: hidden;
}

/*--------------------------------------------------------------
  Simple pages, 404, no results
--------------------------------------------------------------*/
.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    font-size: clamp(2.25rem, 4vw, 3rem);
}

.error-404 {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
}

.error-404__code {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(5rem, 18vw, 9rem);
    font-weight: 600;
    line-height: 1;
    color: var(--green);
}

.error-404__text {
    color: var(--muted);
}

.error-404__search,
.no-results .search-form {
    max-width: 26rem;
    margin: 1.5rem auto;
}

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/
@media (max-width: 1400px) {
    .card-grid--6 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1200px) {
    .card-grid--6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .brand-bar__list {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .brand-bar__list::-webkit-scrollbar {
        display: none;
    }

    /* Fade the edge that has more tabs to swipe to (classes from js/header.js). */
    .brand-bar__list.has-more-left,
    .brand-bar__list.has-more-right {
        --fade-left: 0px;
        --fade-right: 0px;
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-left), #000 calc(100% - var(--fade-right)), transparent 100%);
        mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-left), #000 calc(100% - var(--fade-right)), transparent 100%);
    }

    .brand-bar__list.has-more-left {
        --fade-left: 48px;
    }

    .brand-bar__list.has-more-right {
        --fade-right: 72px;
    }

    /* Dark swipe hands over the faded edges (added by js/header.js), animating a swipe. */
    .brand-bar {
        position: relative;
    }

    .brand-bar__arrow {
        position: absolute;
        top: 50%;
        z-index: 2;
        display: none;
        place-items: center;
        width: 34px;
        height: 34px;
        margin-top: -17px;
        padding: 0;
        color: #fff;
        background: rgba(25, 25, 25, 0.82);
        border: 0;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
        cursor: pointer;
    }

    .brand-bar__arrow--left {
        left: 6px;
    }

    .brand-bar__arrow--right {
        right: 6px;
    }

    .brand-bar.has-more-left .brand-bar__arrow--left,
    .brand-bar.has-more-right .brand-bar__arrow--right {
        display: grid;
    }

    .brand-bar__arrow svg {
        overflow: visible;
    }

    /* Right edge: the finger swipes left (to reveal more); left edge: mirrored, swipes right. */
    .brand-bar__arrow--right svg {
        animation: brand-swipe 1.8s ease-in-out infinite;
    }

    .brand-bar__arrow--left svg {
        animation: brand-swipe-mirrored 1.8s ease-in-out infinite;
    }

    .brand-bar__item {
        flex: 0 0 auto;
    }

    .carousel__track {
        grid-auto-columns: calc((100% - 2 * 21px) / 3);
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 560px;
        margin: 0 auto;
        padding-left: 2.5rem;
    }

    .timeline::before {
        left: 9px;
        right: auto;
        top: 0;
        bottom: 0;
        width: 3px;
        height: auto;
        margin: 0;
    }

    .timeline__item {
        height: auto;
        text-align: left;
    }

    .timeline__item::after {
        display: none;
    }

    .timeline__dot {
        top: 1.5rem;
        left: -2.5rem;
        transform: translate(1px, -50%);
    }

    .timeline__item .timeline__stack {
        position: static;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 0.4rem 1rem;
    }

    .timeline__item .timeline__icon { grid-column: 1; grid-row: 1 / span 2; order: 0; }
    .timeline__item .timeline__year { grid-column: 2; grid-row: 1; justify-self: start; order: 0; }
    .timeline__item .timeline__text { grid-column: 2; grid-row: 2; max-width: none; order: 0; }

    .timeline__text p {
        font-size: 0.8125rem;
    }
}

@media (max-width: 1024px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
        row-gap: 0;
        min-height: 80px;
    }

    /* Search: its own full-width row under the logos + menu button (always shown, not in the menu). */
    .header-search {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: none;
        margin: 0 0 0.9rem;
    }

    .site-branding {
        grid-column: 1;
        grid-row: 1;
        gap: 1rem;
        min-height: 80px;
    }

    .site-branding {
        min-width: 0;
    }

    /* Tight row: the EM logo keeps its size, a wide range logo gives way. */
    .site-logo {
        flex: none;
    }

    .site-logo img {
        max-height: 52px;
    }

    .range-logo {
        flex: 0 1 auto;
        min-width: 0;
    }

    .range-logo img {
        max-width: 100%;
        max-height: 44px;
        height: auto;
    }

    .site-branding__divider {
        height: 40px;
    }

    .range-logo__text {
        font-size: 1.4rem;
    }

    .menu-toggle {
        display: block;
        grid-column: 3;
        grid-row: 1;
    }

    .header-collapse {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 1.25rem var(--gutter) 1.5rem;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 16px 24px -18px rgba(0, 0, 0, 0.35);
    }

    .nav-open .header-collapse {
        display: flex;
    }

    .menu-brands {
        display: block;
    }

    .menu-brands ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .menu-brands a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 56px;
        padding: 0.5rem 0.75rem;
        color: var(--ink);
        background: #f6f6f6;
        border: 1px solid transparent;
        border-radius: 4px;
    }

    .menu-brands a:hover {
        text-decoration: none;
    }

    .menu-brands .is-active a {
        background: #fff;
        border-color: var(--accent);
    }

    .menu-brands img {
        max-height: 34px;
        max-width: 100%;
        width: auto;
        object-fit: contain;
    }

    .menu-brands__text {
        font-family: var(--font-heading);
        font-size: 0.9375rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }


    .hero-split,
    .about-split {
        grid-template-columns: 1fr;
    }

    /* Stacked: a taller frame shows more of the (portrait) photo. */
    .about-split__media {
        aspect-ratio: 4 / 3;
    }

    .hero-split__inner,
    .about-split__inner {
        margin: 0 auto;
        max-width: 640px;
    }

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

    .category-grid__grid,
    .card-grid--4,
    .card-grid--6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-grid__intro {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        padding: 0 0 1rem;
    }

    .products-layout.has-sidebar {
        grid-template-columns: 1fr;
    }

    .products-layout.has-sidebar .card-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .filter-sidebar ul {
        display: flex;
        flex-direction: column; /* one category per line */
        gap: 0.125rem;
    }

    .filter-sidebar a {
        padding-left: 0.75rem;
    }

    .image-text__grid,
    .text-logos__grid,
    .product-detail__grid,
    .brand-intro__grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .image-right .image-text__media {
        order: 0;
    }

    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --gutter: 1rem;
    }

    .card-grid--3,
    .card-grid--4,
    .card-grid--6,
    .category-grid__grid,
    .products-layout.has-sidebar .card-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .guides-block .card-grid--3,
    .guides-block .card-grid--4 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .product-card__link {
        padding: 1rem 0.75rem 1.25rem;
    }

    .product-card__title {
        font-size: 0.875rem;
    }

    .carousel {
        padding: 0;
    }

    .carousel__arrow {
        display: none;
    }

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

    .checklist--cols-2 {
        grid-template-columns: 1fr;
    }

    .gfield--width-half,
    .gfield--width-third,
    .gfield--width-quarter {
        grid-column: span 12;
    }

    .gform_footer .btn {
        width: 100%;
        min-width: 0;
    }

    .newsletter {
        grid-template-columns: 1fr;
        padding: 2rem 1.25rem;
    }

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

    .lightbox {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        padding-inline: 0.25rem;
    }

    .lightbox__nav .icon {
        width: 32px;
        height: 32px;
    }

    .lightbox__thumbs button {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 560px) {
    /* Blogs listing: one card per row on phones (titles + buttons need the width). */
    .card-grid--blogs {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 560px) {
    .why-choose__grid {
        grid-template-columns: 1fr;
    }

    .category-grid__intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

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

    .filter-pills {
        flex-wrap: nowrap;
        justify-content: flex-start;
        margin-left: calc(var(--gutter) * -1);
        margin-right: calc(var(--gutter) * -1);
        padding: 0 var(--gutter);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .pill {
        flex: 0 0 auto;
    }

    /* One swipeable row of tiles on phones. */
    .filter-tiles {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 128px;
        margin-left: calc(var(--gutter) * -1);
        margin-right: calc(var(--gutter) * -1);
        padding: 2px var(--gutter) 6px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .filter-tile {
        scroll-snap-align: start;
    }

    .header-cta {
        width: 100%;
    }
}

/* Very narrow phones: tighter logos so the range name clears the menu button. */
@media (max-width: 400px) {
    .site-branding {
        gap: 0.6rem;
    }

    .site-logo img {
        max-height: 44px;
    }

    .range-logo__text {
        font-size: 1.1rem;
    }

    /* The placeholder fits in full (the text stays 16px for iOS). */
    .header-search input[type="search"] {
        padding-right: 2.5rem;
        padding-left: 0.875rem;
    }
}

/* Tablet and phone: the brand bar sticks to the top too, with the header right
   under it. Its EM (home) tab is hidden — the header's EM logo is right below. */
@media (max-width: 1024px) {
    .brand-bar {
        position: sticky;
        top: 0;
        z-index: 101;
    }

    .brand-bar__item.is-home {
        display: none;
    }

    .site-header,
    .admin-bar .site-header {
        top: 60px; /* the brand bar's height */
    }

    /* Logged in, 783–1024px: WordPress's admin bar is fixed above both. */
    .admin-bar .brand-bar {
        top: 32px;
    }

    .admin-bar .site-header {
        top: 92px;
    }
}

@media (max-width: 782px) {
    .admin-bar .brand-bar {
        top: 0;
    }

    .admin-bar .site-header {
        top: 60px;
    }
}

@keyframes brand-swipe {
    0%, 15% { transform: translateX(3px) rotate(0deg); }
    55% { transform: translateX(-4px) rotate(-12deg); }
    85%, 100% { transform: translateX(3px) rotate(0deg); }
}

@keyframes brand-swipe-mirrored {
    0%, 15% { transform: scaleX(-1) translateX(3px) rotate(0deg); }
    55% { transform: scaleX(-1) translateX(-4px) rotate(-12deg); }
    85%, 100% { transform: scaleX(-1) translateX(3px) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
    .brand-bar__arrow svg {
        animation: none !important;
    }

    .brand-bar__arrow--left svg {
        transform: scaleX(-1);
    }
}

/* Tablet and phone: the features strip stays one row; each item is a small
   icon with its label centred underneath. */
@media (max-width: 1024px) {
    .features-strip {
        padding: 2.5rem 0;
    }

    .features-strip__list {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .features-strip .feature {
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.6rem;
        text-align: center;
    }

    .features-strip .feature__icon {
        flex-basis: auto;
        width: 56px;
        height: 56px;
    }

    .features-strip .feature__icon img {
        width: 28px;
        height: 28px;
    }

    .features-strip .feature__label {
        max-width: none;
        font-size: 1.0625rem;
        line-height: 1.2;
        text-wrap: balance;
    }
}

@media (max-width: 560px) {
    .features-strip {
        padding: 2rem 0;
    }

    .features-strip__list {
        gap: 0.5rem;
    }

    .features-strip .feature__icon {
        width: 44px;
        height: 44px;
    }

    .features-strip .feature__icon img {
        width: 22px;
        height: 22px;
    }

    .features-strip .feature__label {
        font-size: clamp(0.8125rem, 3.4vw, 0.9375rem);
    }
}

/*--------------------------------------------------------------
  Motion — entrance animations (only when html.js-anim is set, i.e.
  JS is running and the visitor hasn't asked for reduced motion).
  Keep the reveal selector list in sync with REVEAL in js/site.js.
--------------------------------------------------------------*/
:root {
    --ease-out: cubic-bezier(0.2, 0.65, 0.3, 1);
}

@keyframes fnd-up {
    from { opacity: 0; transform: translate3d(0, 24px, 0); }
    to   { opacity: 1; transform: none; }
}

@keyframes fnd-fade {
    from { opacity: 0; transform: scale(0.985); }
    to   { opacity: 1; transform: none; }
}

@keyframes fnd-settle {
    from { opacity: 0.35; transform: scale(1.06); }
    to   { opacity: 1; transform: none; }
}

@keyframes fnd-drop {
    from { opacity: 0; transform: translate3d(0, -8px, 0); }
    to   { opacity: 1; transform: none; }
}

/* On load: header + hero copy rise in line by line, hero photo settles. */
.js-anim .header-inner > * {
    animation: fnd-drop 0.7s var(--ease-out) backwards;
}

.js-anim .header-inner > :nth-child(2) { animation-delay: 0.08s; }
.js-anim .header-inner > :nth-child(3),
.js-anim .header-inner > :nth-child(4) { animation-delay: 0.16s; }

.js-anim .hero-split__inner > *,
.js-anim .hero-slide.is-active .hero-slide__content > *,
.js-anim .page-hero__content > * {
    animation: fnd-up 0.9s var(--ease-out) backwards;
    animation-delay: 0.15s;
}

.js-anim .hero-split__inner > :nth-child(2),
.js-anim .hero-slide.is-active .hero-slide__content > :nth-child(2),
.js-anim .page-hero__content > :nth-child(2) { animation-delay: 0.27s; }

.js-anim .hero-split__inner > :nth-child(3),
.js-anim .hero-slide.is-active .hero-slide__content > :nth-child(3),
.js-anim .page-hero__content > :nth-child(3) { animation-delay: 0.39s; }

.js-anim .hero-split__inner > :nth-child(4),
.js-anim .hero-slide.is-active .hero-slide__content > :nth-child(4),
.js-anim .page-hero__content > :nth-child(4) { animation-delay: 0.51s; }

.js-anim .hero-split__inner > :nth-child(n+5),
.js-anim .hero-slide.is-active .hero-slide__content > :nth-child(n+5) { animation-delay: 0.63s; }

.js-anim .hero-split__media img,
.js-anim .hero-slide.is-active .hero-slide__bg img,
.js-anim .page-hero__bg img {
    animation: fnd-settle 1.6s var(--ease-out) backwards;
}

/* On scroll: hidden until js/site.js adds .reveal-in as they enter view. */
.js-anim :is(
    .section-heading, .section-actions, .filter-pills, .filter-tiles, .filter-sidebar,
    .why-card, .feature, .category-grid__intro, .category-card,
    .product-card, .guide-card, .review-card, .logo-strip li,
    .image-text__media, .image-text__body, .about-split__inner, .about-split__media,
    .timeline__item, .brand-intro__logo, .brand-intro__text,
    .product-gallery, .product-info, .faq, .form-panel, .contact-details,
    .rich-text .prose, .gallery-row li, .guide-header .container, .guide-hero,
    .newsletter, .footer-grid > *, .footer-meta, .error-404,
    .logo-card, .text-logos__body, .timeline-outro
):not(.reveal-in) {
    opacity: 0;
}

.js-anim .reveal-in {
    animation: fnd-up 0.8s var(--ease-out) var(--reveal-delay, 0ms) backwards;
}

.js-anim :is(.image-text__media, .about-split__media, .product-gallery, .guide-hero, .brand-intro__logo).reveal-in {
    animation-name: fnd-fade;
    animation-duration: 1.1s;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/*--------------------------------------------------------------
  Accessibility
--------------------------------------------------------------*/
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    word-wrap: normal !important;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 1000;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.6rem 1rem;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius);
    clip: auto;
}
