/* ==========================================================================
   Primavera Interior Furnishings — site stylesheet
   Editorial storefront system: cream ground, Palatino display, Avenir/Montserrat text,
   hairline borders, uppercase micro-labels. No build step, no framework.
   ========================================================================== */

:root {
  --cream: #fffdf6;
  --cream-2: #f7f4ea;
  --ink: #2a2a2a;
  --ink-strong: #2c2c2c;
  --ink-soft: #5c5a55;
  --ink-faint: rgba(42, 42, 42, .22);
  --line: #eceae4;
  --sage: #e2e9d6;
  --sage-ink: #321e1e;
  --leaf: #9fa985;          /* the triangle in the Primavera logo */
  --olive: #4c5033;
  --olive-line: #5e6247;
  --navy: #1d222a;
  --navy-line: #323843;
  --white: #fff;

  --font-display: Palatino, "Palatino Linotype", "Book Antiqua", "URW Palladio L", P052, serif;
  --font-text: "Avenir Next", Avenir, Jost, "Helvetica Neue", Arial, sans-serif;
  --font-ui: var(--font-text);

  --gutter: clamp(1.25rem, 2.2vw, 3rem);
  --announcement-h: 0px;
  --header-h: 105px;
  --ease: cubic-bezier(.25, .46, .45, .94);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--announcement-h) + var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-text); font-size: 15px; line-height: 1.7; letter-spacing: 0;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: var(--cream); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3, .h4, .h5 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; line-height: 1.12; color: var(--ink); }
.h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.5rem); }
.h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.8rem); }
.h3 { font-size: clamp(1.5rem, 1.25rem + .9vw, 1.82rem); line-height: 1.05; }
.h4 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.45rem); }
.h5 { font-size: 1.1rem; }
.caps { text-transform: uppercase; }
.eyebrow {
  font-family: var(--font-ui); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.6; color: var(--ink-soft);
}
.micro {
  font-family: var(--font-text); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.6;
}
.muted { color: var(--ink-soft); }
.prose { font-size: 15px; line-height: 1.75; }
.prose > * + * { margin-top: 1.15em; }
.prose a, a.underline { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { opacity: .7; }
.prose strong { font-weight: 600; }
.prose h2, .prose h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; margin-top: 2em; }
.prose h4 { font-family: var(--font-ui); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-top: 2em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ul li + li { margin-top: .35em; }
.link {
  display: inline-block; font-family: var(--font-text); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow::after { content: " \2197"; font-weight: 400; }

/* ---------- layout ---------- */
.container { width: 100%; padding-inline: var(--gutter); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.container--medium { max-width: 1180px; }
.container--wide { max-width: 1600px; }
.section { padding-block: clamp(3rem, 2rem + 4vw, 6.5rem); }
.section--tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head { text-align: center; margin-bottom: clamp(1.75rem, 1rem + 2vw, 3rem); }
.section-head .eyebrow { display: block; margin-bottom: .9rem; }
.section-head p.lead { max-width: 580px; margin: 1rem auto 0; color: var(--ink-soft); font-size: 16px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.stack > * + * { margin-top: 1rem; }

/* ---------- announcement bar ---------- */
.announcement {
  position: sticky; top: 0; z-index: 40; height: var(--announcement-h); display: flex; align-items: center; justify-content: center;
  background: var(--sage); color: var(--sage-ink); font-family: var(--font-text); font-size: 13px; letter-spacing: 0; text-align: center; padding-inline: 1rem;
}
.announcement a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: var(--announcement-h); z-index: 39; color: var(--ink);
  background: var(--cream); border-bottom: 1px solid var(--line);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; padding-inline: var(--gutter); }
.header__left, .header__right { display: flex; align-items: center; gap: 1.5rem; }
.header__right { justify-content: flex-end; }
.header__logo { display: block; width: clamp(190px, 16vw, 250px); }
.header__logo img { width: 100%; height: auto; }
.header__logo .logo-light { display: none; }
.header__menu-btn, .header__text-link {
  display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-ui); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.header__icon { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; position: relative; }
.header__icon svg { width: 18px; height: 18px; }
.header__count {
  position: absolute; top: -7px; right: -9px; min-width: 16px; height: 16px; border-radius: 99px; padding: 0 4px;
  background: var(--ink); color: var(--cream); font-size: 9px; line-height: 16px; text-align: center; letter-spacing: 0; font-family: var(--font-ui);
}
.header__count[hidden] { display: none; }
.hamburger { width: 16px; height: 10px; position: relative; display: inline-block; }
.hamburger::before, .hamburger::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; }
.hamburger::before { top: 0; } .hamburger::after { bottom: 0; }
.header__nav { display: flex; justify-content: center; padding: 0 var(--gutter) 1rem; }
.header__nav > ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem clamp(1.1rem, 2vw, 2.4rem); }
.nav-item { position: static; }
.nav-link {
  display: inline-block; font-family: var(--font-ui); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.8;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease);
}
.nav-link:hover, .nav-item.is-open > .nav-link, .nav-link[aria-current="page"] { background-size: 100% 1px; }

/* mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.nav-item.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: repeat(var(--mega-cols, 3), minmax(0, 220px)) minmax(0, 1fr); gap: 2.5rem; padding: 2.5rem var(--gutter) 2.75rem; max-width: 1600px; margin: 0 auto; }
.mega__col h3 { font-family: var(--font-ui); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; margin-bottom: 1rem; color: var(--ink-soft); }
.mega__col li + li { margin-top: .45rem; }
.mega__col a { font-size: 15px; letter-spacing: 0; }
.mega__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mega__promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; justify-self: end; width: min(100%, 620px); }
.mega__promo figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.mega__promo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mega__promo:hover img { transform: scale(1.04); }
.mega__promo span { display: block; margin-top: .7rem; font-family: var(--font-display); font-size: 15px; text-transform: none; letter-spacing: 0; }

/* drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s linear .4s; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 61; width: min(440px, 92vw); background: var(--cream); color: var(--ink);
  display: flex; flex-direction: column; transition: transform .5s var(--ease-out), visibility 0s linear .5s; overflow: hidden; visibility: hidden;
}
.drawer--left { left: 0; transform: translateX(-102%); }
.drawer--right { right: 0; transform: translateX(102%); }
.drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer.is-open ~ .drawer-backdrop, .drawer-backdrop.is-visible { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.25rem var(--gutter) 2rem; overscroll-behavior: contain; }
.drawer__foot { padding: 1.25rem var(--gutter); border-top: 1px solid var(--line); }
.close-btn { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-ui); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.close-btn svg { width: 14px; height: 14px; }
.menu-list > li { border-bottom: 1px solid var(--line); }
.menu-list > li > a, .menu-list summary {
  display: flex; align-items: center; justify-content: space-between; padding: 1.05rem 0; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .02em; cursor: pointer; list-style: none;
}
.menu-list summary::-webkit-details-marker { display: none; }
.menu-list summary::after { content: "+"; font-family: var(--font-ui); font-size: 1rem; font-weight: 300; }
.menu-list details[open] summary::after { content: "\2013"; }
.menu-list .sub { padding: 0 0 1.1rem; }
.menu-list .sub li + li { margin-top: .5rem; }
.menu-list .sub a { font-size: 14px; letter-spacing: 0; }
.menu-secondary { margin-top: 2rem; display: grid; gap: .6rem; }
.menu-secondary a { font-family: var(--font-ui); font-size: 14px; letter-spacing: 0; }
.menu-contact { margin-top: 2rem; font-size: 12px; color: var(--ink-soft); }

/* search overlay */
.search-panel { position: fixed; inset: 0 0 auto 0; z-index: 62; background: var(--cream); transform: translateY(-102%); transition: transform .5s var(--ease-out), visibility 0s linear .5s; visibility: hidden; max-height: 100vh; display: flex; flex-direction: column; }
.search-panel.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.search-panel__bar { display: flex; align-items: center; gap: 1rem; padding: 1.5rem var(--gutter); border-bottom: 1px solid var(--line); }
.search-panel__bar svg { width: 18px; height: 18px; flex: none; }
.search-panel input { flex: 1; border: 0; background: transparent; font-family: var(--font-display); font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem); outline: none; padding: .25rem 0; }
.search-panel__results { overflow-y: auto; padding: 1.5rem var(--gutter) 2.5rem; }
.search-results__group + .search-results__group { margin-top: 2rem; }
.search-results__group h3 { font-family: var(--font-ui); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; color: var(--ink-soft); margin-bottom: 1rem; }
.search-results__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem 1.5rem; }
.search-hit { display: grid; grid-template-columns: 64px 1fr; gap: .9rem; align-items: center; }
.search-hit figure { aspect-ratio: 1; overflow: hidden; background: var(--cream-2); }
.search-hit img { width: 100%; height: 100%; object-fit: cover; }
.search-hit strong { display: block; font-weight: 400; font-family: var(--font-display); font-size: 1rem; line-height: 1.2; }
.search-hit span { font-size: 12px; letter-spacing: 0; color: var(--ink-soft); }
.search-empty { color: var(--ink-soft); }

/* ---------- buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .9rem 2rem;
  font-family: var(--font-ui); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; text-align: center;
  background: var(--ink); color: var(--cream); border: 1px solid var(--ink); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--ink-strong); border-color: var(--ink-strong); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light:hover { background: transparent; color: var(--cream); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(255,253,246,.6); }
.btn--ghost-light:hover { background: var(--cream); color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn svg { width: 14px; height: 14px; }

.field { display: grid; gap: .45rem; }
.field label, .field .label { font-size: 14px; letter-spacing: 0; }
.field .req { color: #9b3434; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: .65rem 1rem; background: var(--cream); border: 1px solid #93908a; border-radius: 0; font-size: 15px; letter-spacing: .01em;
  transition: border-color .25s var(--ease); -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%233e3e3e' stroke-width='1'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.form-grid .span-2 { grid-column: 1 / -1; }
.fieldset { border: 0; padding: 0; margin: 0; }
.fieldset legend { font-family: var(--font-ui); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding: 0; margin-bottom: 1rem; }
.fieldset + .fieldset { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.choices { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.choice { display: inline-flex; align-items: center; gap: .55rem; font-size: 13px; cursor: pointer; }
.choice input { width: 14px; height: 14px; margin: 0; accent-color: var(--ink); }
.form-note { font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.form-status { margin-top: 1rem; font-size: 13px; }
.form-status.is-ok { color: #16833f; }
.form-status.is-err { color: #9b3434; }

/* ---------- hero slideshow ---------- */
.slideshow { position: relative; height: calc(100vh - var(--announcement-h) - var(--header-h)); height: calc(100svh - var(--announcement-h) - var(--header-h)); min-height: 520px; overflow: hidden; background: #1b1b1b; color: var(--white); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 0s linear 1.2s; }
.slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.slide__media { position: absolute; inset: 0; }
.slide__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.slide.is-active .slide__media img { transform: scale(1); }
.slide__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45) 0%, rgba(0,0,0,.08) 45%, rgba(0,0,0,.18) 100%); }
.slide__content { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(2.5rem, 7vh, 5rem); max-width: 760px; }
.slide__content .eyebrow { font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.9); display: block; margin-bottom: .6rem; opacity: 0; transform: translateY(12px); transition: all .9s var(--ease-out) .35s; }
.slide__content .display { color: var(--white); font-size: clamp(2rem, 1.3rem + 2vw, 3.2rem); line-height: 1.05; letter-spacing: 0; opacity: 0; transform: translateY(16px); transition: all .9s var(--ease-out) .45s; }
.slide__content .link { margin-top: 1.4rem; color: var(--cream); opacity: 0; transition: opacity .9s var(--ease-out) .6s; }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slideshow__controls { position: absolute; right: var(--gutter); bottom: clamp(2.5rem, 7vh, 5rem); z-index: 3; display: flex; align-items: center; gap: 1.25rem; }
.slideshow__dots { display: flex; gap: .5rem; }
.slideshow__dot { width: 28px; height: 14px; position: relative; }
.slideshow__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.35); }
.slideshow__dot::after { content: ""; position: absolute; left: 0; top: 50%; height: 1px; width: 0; background: var(--white); }
.slideshow__dot.is-active::after { animation: dotfill var(--slide-ms, 6500ms) linear forwards; }
.slideshow.is-paused .slideshow__dot.is-active::after { animation-play-state: paused; }
@keyframes dotfill { to { width: 100%; } }
.slideshow__pause { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; }
.slideshow__pause svg { width: 10px; height: 12px; }
.slideshow__scroll { position: absolute; left: 50%; bottom: 1.25rem; z-index: 3; transform: translateX(-50%); width: 1px; height: 38px; background: rgba(255,255,255,.35); overflow: hidden; }
.slideshow__scroll::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--white); animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { to { top: 100%; } }

/* ---------- media banner (collection / brand / page heroes) ---------- */
.banner { position: relative; overflow: hidden; background: var(--cream-2); height: clamp(260px, 44vh, 520px); }
.banner--short { height: clamp(300px, 46vh, 560px); }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner--overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.42), rgba(0,0,0,.05) 55%, rgba(0,0,0,.2)); }
.banner__content { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(2rem, 6vh, 4rem); color: var(--white); max-width: 820px; }
.banner__content .display { color: var(--white); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.6rem); line-height: 1; }
.banner__content .eyebrow { display: block; margin-bottom: .75rem; font-size: 12px; color: rgba(255,255,255,.9); }
.banner__content p { margin-top: .9rem; max-width: 560px; font-size: 14px; opacity: .92; }

/* ---------- collection toolbar ---------- */
.toolbar { position: sticky; top: calc(var(--announcement-h) + var(--header-h) - 1px); z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 1.35rem var(--gutter); background: var(--cream); border-bottom: 1px solid var(--line); }
.toolbar--static { position: relative; top: 0; }
.toolbar__left { display: flex; align-items: center; gap: 1.1rem; }
.toolbar__right { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; }
.toolbar__title { font-family: var(--font-display); font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); letter-spacing: 0; text-align: center; line-height: 1.1; font-weight: 400; }
.toolbar__count { font-family: var(--font-ui); font-size: 14px; letter-spacing: 0; color: var(--ink-soft); }
.grid-toggle { display: flex; align-items: center; gap: .6rem; padding-right: 1.1rem; border-right: 1px solid var(--line); }
.grid-toggle button { opacity: .3; transition: opacity .2s; width: 16px; height: 16px; }
.grid-toggle button.is-active, .grid-toggle button:hover { opacity: 1; }
.grid-toggle .for-mobile { display: none; }
.grid-toggle svg { width: 16px; height: 16px; }
.filter-btn { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-ui); font-size: 14px; letter-spacing: 0; }
.filter-btn svg { width: 14px; height: 14px; }
.tabs { border-bottom: 1px solid var(--line); background: var(--cream); }
.tabs ul { display: flex; flex-wrap: wrap; gap: 0; padding-inline: var(--gutter); justify-content: center; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs a { display: block; white-space: nowrap; padding: 1rem clamp(.8rem, 1.2vw, 1.4rem); font-size: 15px; letter-spacing: 0; color: var(--ink-soft); }
.tabs a[aria-current="page"], .tabs a:hover { color: var(--ink); }
.tabs a span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); padding-bottom: 2px; }
.tabs a:hover span, .tabs a[aria-current="page"] span { background-size: 100% 1px; }
.tabs .swatch { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: .5rem; vertical-align: -1px; border: 1px solid rgba(0,0,0,.12); }

/* ---------- product grid & card ---------- */
.product-grid { --cols: 3; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); width: calc(100% + 1px); }
.product-grid[data-cols="1"] { --cols: 1; }
.product-grid[data-cols="2"] { --cols: 2; }
.product-grid[data-cols="4"] { --cols: 4; }
.product-grid[data-cols="5"] { --cols: 5; }
.product-grid > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head + .product-grid, .product-grid--ruled { border-top: 1px solid var(--line); }
.card { position: relative; display: flex; flex-direction: column; background: var(--cream); }
.card[hidden] { display: none; }
.card__media { position: relative; display: block; overflow: hidden; aspect-ratio: var(--ratio, 4 / 5); background: var(--cream-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.035); }
.card__quick {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; gap: .5rem; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
.card__quick .btn { min-height: 40px; padding: .6rem .9rem; font-size: 11px; letter-spacing: .06em; flex: 1; background: rgba(255,253,246,.94); color: var(--ink); border-color: transparent; }
.card__quick .btn:hover { background: var(--ink); color: var(--cream); }
.card__quick .btn.is-added { background: var(--ink); color: var(--cream); }
.card__info { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.1rem 1.15rem; }
.card__vendor { display: block; font-family: var(--font-display); font-size: 18px; letter-spacing: 0; line-height: 1.25; }
.card__title { display: block; margin-top: .2rem; font-size: 14px; letter-spacing: 0; line-height: 1.45; color: var(--ink-soft); }
.card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__meta { display: none; }
.card__aside { flex: none; text-align: right; font-size: 13px; letter-spacing: 0; color: var(--ink-soft); max-width: 45%; }
.card__stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__quick, .card__vendor a { position: relative; z-index: 2; }
.no-results { padding: 5rem var(--gutter); text-align: center; color: var(--ink-soft); }

/* grouped listings (By Type / By Colour / By Category) */
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 2.4rem var(--gutter) 1.25rem; border-bottom: 1px solid var(--line); }
.group-block[hidden] { display: none; }
.group-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); letter-spacing: 0; }
.group-head .toolbar__count { color: var(--ink-soft); }
.group-block + .group-block .group-head { border-top: 0; }

/* filters drawer */
.filter-group + .filter-group { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.filter-group h3 { font-family: var(--font-ui); font-weight: 400; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.filter-list { display: grid; gap: .55rem; }
.filter-list .choice span.count { color: var(--ink-soft); margin-left: .25rem; }

/* ---------- carousel (you may also like, highlights) ---------- */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 0px) / var(--per, 4)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; border-right: 1px solid var(--line); }
.carousel__progress { position: relative; width: 180px; height: 1px; margin: 2.2rem auto 0; background: var(--line); }
.carousel__progress span { position: absolute; left: 0; top: 0; height: 1px; background: var(--ink); width: 30%; transition: left .2s linear; }
.carousel__nav { position: absolute; z-index: 3; top: calc(50% - 40px); left: 0; right: 0; display: flex; justify-content: space-between; pointer-events: none; padding-inline: 1rem; }
.carousel__nav button { pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.carousel:hover .carousel__nav button { opacity: 1; }
.carousel__nav svg { width: 14px; height: 14px; }

/* ---------- editorial blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: min(92vh, 900px); }
.split__media { position: relative; overflow: hidden; background: var(--cream-2); min-height: 420px; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 7vw, 8rem); }
.split__body .eyebrow { margin-bottom: 1.1rem; }
.split__body .h2 { margin-bottom: 1.5rem; }
.split__body .prose { max-width: 470px; }
.split__body .actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.split--reverse .split__media { order: 2; }
.split--plum { background: #4a3f47; color: var(--cream); }
.split--plum .h2, .split--plum .prose { color: var(--cream); }
.split--sage { background: var(--sage); }

.band { background: var(--olive); color: var(--white); }
.band .h3, .band .h2 { color: var(--white); }
.band__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); padding: clamp(3rem, 5vw, 4.5rem) var(--gutter); }
.band__intro p { margin-top: 1.25rem; max-width: 460px; }
.band__intro .link { margin-top: 1.75rem; }
.accordion { border-top: 1px solid var(--olive-line); }
.accordion details { border-bottom: 1px solid var(--olive-line); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; padding: 1.15rem 0; cursor: pointer; list-style: none; font-size: 15px; letter-spacing: 0; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { width: 10px; height: 10px; transition: transform .3s var(--ease); flex: none; }
.accordion details[open] summary svg { transform: rotate(180deg); }
.accordion .accordion__body { padding: 0 0 1.4rem; font-size: 14px; line-height: 1.75; opacity: .92; max-width: 620px; }
.accordion .accordion__body a { text-decoration: underline; text-underline-offset: 3px; }
.accordion--light { border-color: var(--line); }
.accordion--light details { border-color: var(--line); }

.tiles { display: grid; grid-template-columns: repeat(var(--tiles, 3), minmax(0, 1fr)); gap: clamp(1rem, 1.5vw, 1.75rem); }
.tile { position: relative; display: block; }
.tile__media { position: relative; overflow: hidden; aspect-ratio: var(--ratio, 3 / 4); background: var(--cream-2); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__caption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1rem; }
.tile__caption .h5 { font-size: 1.2rem; }
.tile__over { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.3rem; z-index: 2; color: var(--white); }
.tile__over .display { color: var(--white); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.05; }
.tile--overlay .tile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0) 55%); }

.feature-banners .carousel__track { --per: 1.18; border: 0; gap: 0; }
.feature-banners .carousel__track > * { border: 0; padding-right: clamp(.75rem, 1.5vw, 1.5rem); }
.feature-banner { display: block; }
.feature-banner figure { background: #fff; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); }
.feature-banner img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.4s var(--ease-out); }
.feature-banner:hover img { transform: scale(1.02); }
.feature-banner figcaption { display: flex; justify-content: space-between; padding-top: 1rem; gap: 1rem; }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.35rem 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 3rem; animation: marquee 80s linear infinite; padding-left: 3rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee a { font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem); letter-spacing: .03em; display: inline-flex; align-items: center; gap: 3rem; }
.marquee a::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); display: inline-block; }
.marquee a:hover { color: #6f7759; }
@keyframes marquee { to { transform: translateX(-50%); } }

.loc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.loc-card { padding: 2.25rem clamp(1.25rem, 2vw, 2.25rem) 2.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; }
.loc-card:last-child { border-right: 0; }
.loc-grid--stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.loc-card .h4 { margin-bottom: .1rem; }
.loc-card address { font-style: normal; font-size: 15px; line-height: 1.7; }
.loc-card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; padding-top: .75rem; }

/* ---------- product page ---------- */
.breadcrumb { padding: 2rem var(--gutter) 0; font-size: 13px; letter-spacing: 0; color: var(--ink-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; color: var(--ink-soft); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--ink-soft); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6.5rem); padding: 2rem var(--gutter) clamp(3rem, 6vw, 5.5rem); align-items: start; }
.pdp__gallery-wrap { position: sticky; top: calc(var(--announcement-h) + var(--header-h) + 1.5rem); }
.pdp__gallery { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.pdp__thumbs { display: grid; gap: .7rem; }
.pdp__thumbs button { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream-2); }
.pdp__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .3s var(--ease); }
.pdp__thumbs button.is-active::after { transform: scaleX(1); }
.pdp__thumbs--single { visibility: hidden; }
.pdp__main { position: relative; background: var(--cream-2); }
.pdp__main img { width: 100%; height: auto; max-height: calc(100vh - 180px); object-fit: contain; margin: 0 auto; cursor: zoom-in; }
.pdp__zoom { position: absolute; right: 1rem; bottom: 1rem; width: 38px; height: 38px; background: rgba(255,253,246,.9); display: inline-flex; align-items: center; justify-content: center; }
.pdp__zoom svg { width: 14px; height: 14px; }
.pdp__dims { margin-top: .75rem; font-size: 12px; letter-spacing: 0; color: var(--ink-soft); text-align: right; }
.pdp__info { padding-top: .25rem; max-width: 560px; }
.pdp__vendor { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.pdp__vendor a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pdp__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); line-height: 1.1; letter-spacing: 0; margin-top: .6rem; }
.pdp__price { margin-top: .7rem; font-size: 14px; letter-spacing: 0; color: var(--ink-soft); }
.pdp__desc { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.pdp__specs { margin-top: 2rem; border-top: 1px solid var(--line); }
.pdp__specs div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pdp__specs dt { font-size: 14px; letter-spacing: 0; color: var(--ink-soft); }
.pdp__specs dd a { text-decoration: underline; text-underline-offset: 3px; }
.pdp__specs dd, .brand-hero__facts dd { min-width: 0; overflow-wrap: anywhere; }
.pdp__actions { margin-top: 2rem; display: grid; gap: .75rem; }
.pdp__note { margin-top: 1.25rem; font-size: 13px; color: var(--ink-soft); }
.pdp__note a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.pdp__group-note { margin-top: 1.5rem; padding: 1.1rem 1.25rem; background: var(--cream-2); font-size: 13px; line-height: 1.7; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: var(--cream); display: none; }
.lightbox.is-open { display: block; }
.lightbox__scroller { position: absolute; inset: 0; overflow: auto; cursor: zoom-out; display: grid; place-items: center; }
.lightbox img { max-width: none; width: auto; height: auto; }
.lightbox.is-fit img { max-width: 100vw; max-height: 100vh; object-fit: contain; }
.lightbox__close { position: fixed; top: 1.25rem; right: 1.25rem; z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; }
.lightbox__close svg { width: 14px; height: 14px; }
.lightbox__meta { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 2; font-size: 12px; letter-spacing: 0; background: var(--cream); padding: .5rem .8rem; }

/* ---------- brand directory ---------- */
.az-nav { position: sticky; top: calc(var(--announcement-h) + var(--header-h) - 1px); z-index: 15; display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem 1rem; padding: .9rem var(--gutter); background: var(--cream); border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 15px; letter-spacing: 0; }
.az-nav a[aria-disabled="true"] { opacity: .25; pointer-events: none; }
.az-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 38px; padding: .4rem 1.1rem; border: 1px solid var(--ink-faint); border-radius: 999px; font-family: var(--font-ui); font-size: 14px; letter-spacing: 0; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.az-letter { display: grid; grid-template-columns: 120px 1fr; border-bottom: 1px solid var(--line); }
.az-letter__char { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; padding: 1.75rem var(--gutter); color: #6f7759; }
.az-nav__off { opacity: .35; }
.az-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.az-brand { display: grid; grid-template-columns: 76px 1fr; gap: 1.1rem; align-items: center; padding: 1.1rem 1.25rem; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: -1px; transition: background-color .25s; }
.az-brand:hover { background: var(--cream-2); }
.az-brand figure { aspect-ratio: 1; overflow: hidden; background: var(--cream-2); }
.az-brand figure img { width: 100%; height: 100%; object-fit: cover; }
.az-brand figure.is-empty { display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; color: #6f7759; }
.az-brand strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; line-height: 1.2; }
.az-brand span { display: block; margin-top: .15rem; font-size: 13.5px; letter-spacing: 0; color: var(--ink-soft); line-height: 1.5; }
.az-brand[hidden] { display: none; }
.az-letter[hidden] { display: none; }

.brand-hero { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.brand-hero__media { position: relative; min-height: clamp(360px, 60vh, 720px); background: var(--cream-2); overflow: hidden; }
.brand-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-hero__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 6vw, 7rem); }
.brand-hero__body .h1 { margin: .9rem 0 1.25rem; }
.brand-hero__facts { margin-top: 2rem; border-top: 1px solid var(--line); }
.brand-hero__facts div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.brand-hero__facts dt { font-size: 14px; letter-spacing: 0; color: var(--ink-soft); }
.brand-hero__facts a { text-decoration: underline; text-underline-offset: 3px; }
.brand-hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* location brand list (collection lists) */
.brand-columns { columns: 4 220px; column-gap: clamp(1.5rem, 3vw, 3rem); }
.brand-columns li { break-inside: avoid; padding: .55rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.brand-columns a.name { font-family: var(--font-display); font-size: 1.08rem; }
.brand-columns a.name:hover { text-decoration: underline; text-underline-offset: 3px; }
.brand-columns a.ext { font-size: 12px; letter-spacing: 0; color: var(--ink-soft); white-space: nowrap; }
.brand-columns a.ext:hover { color: var(--ink); }
.brand-columns li.brand-columns__head { padding-top: 1.4rem; border-bottom-color: var(--ink-faint); }
.brand-columns li.brand-columns__head a:hover { text-decoration: underline; text-underline-offset: 3px; }
.brand-columns li.is-sub { padding-left: 1rem; }
.agent-card { padding: 1.75rem; background: var(--cream-2); }
.agent-card + .agent-card { margin-top: 1rem; }

/* page intro */
.page-head { padding: clamp(3rem, 2rem + 4vw, 6rem) var(--gutter) clamp(2rem, 1.5rem + 2vw, 3.5rem); text-align: center; }
.page-head .eyebrow { display: block; margin-bottom: 1rem; }
.page-head .h1 { max-width: 900px; margin: 0 auto; }
.page-head p.lead { max-width: 640px; margin: 1.35rem auto 0; font-size: 16px; color: var(--ink-soft); }
.page-head + .rule { margin-inline: var(--gutter); }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.sticky-col { position: sticky; top: calc(var(--announcement-h) + var(--header-h) + 2rem); }

.doc-list { border-top: 1px solid var(--line); }
.doc { display: grid; grid-template-columns: 48px 1fr auto; gap: 1.25rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.doc__icon { width: 48px; height: 58px; border: 1px solid var(--ink-faint); display: grid; place-items: center; font-family: var(--font-ui); font-size: 9px; letter-spacing: .06em; position: relative; }
.doc__icon::before { content: ""; position: absolute; top: -1px; right: -1px; width: 12px; height: 12px; background: linear-gradient(225deg, var(--cream) 50%, var(--ink-faint) 50%, var(--ink-faint) calc(50% + 1px), transparent calc(50% + 1px)); }
.doc strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; line-height: 1.3; }
.doc span { display: block; font-size: 14px; letter-spacing: 0; color: var(--ink-soft); margin-top: .15rem; }
.doc .link { white-space: nowrap; }

.faq-list .accordion summary { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .01em; text-transform: none; padding: 1.35rem 0; }
.faq-list .accordion summary svg { width: 12px; height: 12px; }

.swatch-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.swatch-card figure { aspect-ratio: 1; overflow: hidden; background: var(--cream-2); border-radius: 50%; }
.swatch-card img { width: 100%; height: 100%; object-fit: cover; }
.swatch-card__empty { display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fbf8ef, #e8e2d2 70%, #d9d1bd) !important; border: 1px solid var(--line); }
.swatch-card__empty span { font-family: var(--font-display); font-size: clamp(1rem, .8rem + .6vw, 1.35rem); text-align: center; padding: 1rem; color: var(--ink-soft); }
.swatch-card p { text-align: center; margin-top: 1rem; font-family: var(--font-display); font-size: 16px; }

.map-embed { position: relative; aspect-ratio: 4 / 3; background: var(--cream-2); border: 1px solid var(--line); overflow: hidden; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.12) contrast(.95); }

/* enquiry list */
.enquiry-items { border-top: 1px solid var(--line); }
.enquiry-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 1.25rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.enquiry-item figure { aspect-ratio: 1; overflow: hidden; background: var(--cream-2); }
.enquiry-item img { width: 100%; height: 100%; object-fit: cover; }
.enquiry-item strong { display: block; font-weight: 400; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.2; }
.enquiry-item span { display: block; font-size: 12px; letter-spacing: 0; color: var(--ink-soft); }
.enquiry-item button { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.enquiry-empty { padding: 2.5rem 0; color: var(--ink-soft); }
.drawer .enquiry-item { grid-template-columns: 72px 1fr auto; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 90; transform: translate(-50%, 20px); background: var(--ink); color: var(--cream); padding: .9rem 1.4rem; font-size: 13px; letter-spacing: 0; opacity: 0; pointer-events: none; transition: all .4s var(--ease-out); display: flex; gap: 1rem; align-items: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.newsletter-band { border-top: 1px solid var(--line); }
.newsletter-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 4vw, 3.75rem); }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 0; }
.newsletter-form .input { flex: 1 1 0; min-width: 0; }
.newsletter-form .form-status { flex-basis: 100%; margin-top: .75rem; }
.newsletter-form .input { border-right: 0; }
.newsletter-form .btn { min-height: 50px; }
.footer { background: var(--navy); color: var(--cream); }
.footer__top { display: grid; grid-template-columns: 1.35fr 1.2fr repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 3.5rem); padding: clamp(3.25rem, 5vw, 4.5rem) var(--gutter) clamp(3rem, 4vw, 4rem); }
.footer__logo { width: 210px; }
.footer__news { margin-top: 1.75rem; max-width: 260px; }
.footer__news .input { background: transparent; border-color: rgba(255,253,246,.55); color: var(--cream); min-height: 44px; font-size: 12px; }
.footer__news .input::placeholder { color: rgba(255,253,246,.8); }
.footer__news .link { margin-top: 1.1rem; }
.footer__social { display: flex; gap: 1.5rem; margin-top: 2rem; }
.footer__social svg { width: 15px; height: 15px; }
.footer h2 { font-family: var(--font-text); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; opacity: .7; }
.footer__col li + li { margin-top: .3rem; }
.footer__col a, .footer address { font-size: 14.5px; letter-spacing: 0; line-height: 1.75; font-style: normal; opacity: .92; transition: opacity .2s; }
.footer__col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer address + address { margin-top: 1.4rem; }
.footer__bottom { border-top: 1px solid var(--navy-line); padding: 1.6rem var(--gutter); text-align: center; font-size: 12.5px; letter-spacing: 0; opacity: .8; }
.footer__bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom span.sep { margin: 0 .5rem; opacity: .6; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .header__nav > ul { gap: .25rem 1.1rem; }
  .az-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loc-card:nth-child(2n) { border-right: 0; }
  .swatch-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
  .header__nav, .header__text-link.hide-sm { display: none; }
  .header__bar { height: 60px; }
  .header__logo { width: 168px; }
  .toolbar { grid-template-columns: auto 1fr auto; padding-block: 1rem; }
  .toolbar__title { font-size: 1.15rem; }
  .product-grid, .product-grid[data-cols="3"], .product-grid[data-cols="4"], .product-grid[data-cols="5"] { --cols: 2; }
  .product-grid[data-cols="1"] { --cols: 1; }
  .grid-toggle .for-desktop { display: none; }
  .grid-toggle .for-mobile { display: inline-block; }
  .loc-grid--stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loc-grid--stats .loc-card:nth-child(2n) { border-right: 0; }
  .tabs ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .tabs ul::-webkit-scrollbar { display: none; }
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .pdp__gallery-wrap { position: relative; top: 0; }
  .pdp__gallery { position: relative; top: 0; grid-template-columns: 1fr; }
  .pdp__thumbs { order: 2; grid-auto-flow: column; grid-auto-columns: 64px; overflow-x: auto; }
  .pdp__thumbs--single { display: none; }
  .pdp__info { max-width: none; }
  .split, .band__inner, .brand-hero, .two-col, .newsletter-band .container { grid-template-columns: minmax(0, 1fr); }
  .split { min-height: 0; }
  .split__media { min-height: 0; aspect-ratio: 4 / 3; }
  .split--reverse .split__media { order: 0; }
  .brand-hero__media { min-height: 0; aspect-ratio: 4 / 3; }
  .tiles { --tiles: 2 !important; }
  .az-letter { grid-template-columns: 1fr; }
  .az-letter__char { padding: 1.5rem var(--gutter) .5rem; font-size: 2rem; }
  .az-list { grid-template-columns: 1fr 1fr; }
  .sticky-col { position: static; }
  .carousel__track { --per: 2.2 !important; }
  .feature-banners .carousel__track { --per: 1.08 !important; }
  .mega { display: none; }
}
@media (max-width: 699px) {
  body { font-size: 13px; }
  .announcement { font-size: 12px; line-height: 1.35; }
  .hide-xs { display: none; }
  .header__bar { padding-inline: 1rem; }
  .header__left, .header__right { gap: 1rem; }
  .header__menu-btn .label { display: none; }
  .header__logo { width: 148px; }
  .toolbar { gap: .5rem; padding-inline: 1rem; }
  .toolbar__count { font-size: 10.5px; letter-spacing: .1em; }
  .grid-toggle { padding-right: .6rem; }
  .filter-btn .label { display: none; }
  .slide__content { bottom: calc(clamp(2.5rem, 7vh, 5rem) + 2.75rem); }
  .card__info { flex-direction: column; align-items: flex-start; padding: 1rem .8rem 1.1rem; min-height: 0; }
  .card__aside { display: none; }
  .card__quick { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .az-list { grid-template-columns: 1fr; }
  .az-brand { border-left: 0; padding-inline: 1rem; }
  .loc-grid { grid-template-columns: 1fr; }
  .loc-card { border-right: 0; }
  .loc-grid--stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loc-grid--stats .loc-card:nth-child(odd) { border-right: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .tiles { --tiles: 1 !important; }
  .tiles.tiles--2up-sm { --tiles: 2 !important; }
  .carousel__track { --per: 1.35 !important; }
  .swatch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc { grid-template-columns: 40px 1fr; }
  .doc .link { grid-column: 2; justify-self: start; }
  .brand-hero__facts div, .pdp__specs div { grid-template-columns: 110px minmax(0, 1fr); }
  .slideshow__controls { right: 1rem; }
  .group-head { padding-top: 2rem; }
  .enquiry-item { grid-template-columns: 64px 1fr; }
  .enquiry-item button { grid-column: 2; justify-self: start; }
  .newsletter-form { flex-direction: column; gap: .6rem; }
  .newsletter-form .input { border-right: 1px solid var(--ink-faint); }
}

@media print {
  .announcement, .header, .footer, .drawer, .drawer-backdrop, .search-panel, .toast, .pdp__actions, .card__quick { display: none !important; }
  body { background: #fff; }
}

/* banners are pure imagery — titles live in the toolbar below */
.banner--overlay::after { display: none; }
.banner .banner__content { display: none; }
.banner--with-text::after { content: ""; position: absolute; inset: 0; display: block; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0) 60%); }
.banner--with-text .banner__content { display: block; }
