/* ==========================================================================
   Ronjack Products
   --------------------------------------------------------------------------
   THE COLOURS LIVE HERE. Each brand colour is set once, in the rules below,
   as a plain value. Change a value and everything using that colour follows.
   The rest of the file deals with layout and only uses neutral values.
   ========================================================================== */

/* GROUND: the page background */
body, .drawer { background-color: #ffffff; }

/* TINT: the slightly darker ground used for alternate sections and quiet boxes */
.section-tint, .chip, .facts div, .pcard-media, .swatch-card, .dl-kind, .status-code, .tick-group legend, .plan-lines li, .doc-thumb { background-color: #eef0f2; }

/* INK: headings and body text */
body, h1, h2, h3, h4, .btn-ghost, .chip, .faq summary, .drawer-nav a, .text-input, .pcard-name, .gcard b, .downloads b, .doc b, .stockist h2, .site-header .mega a { color: #1d2327; }

/* SLATE: the dark brand grey, used as a background */
.site-header, .btn-primary, .band-dark, .site-footer, .cta-band, .hero, .page-hero-photo, .ribbon, .chip.is-active, .hero-strip, .timeline b, .lightbox { background-color: #2f383e; }

/* CHARCOAL: near-black surfaces frame the green navigation and bronze details. */
.band-dark, .site-footer, .cta-band { background-color: #141817; }
/* Main navbar: the dark green of the old Ronjack site. */
.site-header { background-color: #085d36; }
.utility, .footer-base { background-color: #0b0e0d; }

/* ACCENT: the muted bronze, used as a text colour */
.eyebrow, .pcard-brand, .gcard-topic, .contact-big, .site-header .mega .mega-head, .dl-kind, .drawer-label, .band-dark .eyebrow, .hero .eyebrow, .page-hero-photo .eyebrow, .cta-tel, .footer-tel, .site-footer h2, .req, .tool-link svg, .hero-strip strong, .ticks li::before, .quote blockquote::before { color: #927044; }

/* LINKS: readable ink with one fine bronze underline, stronger on hover or focus */
.text-link, .prose a, .faq a, .crumbs a, .link-list a, .stockist-links a, .linkish, .swatch-note a, .form-note a, .tagline a, .lead a, .panel p a, .split-text p a, .field label, .finder-note { color: #1d2327; }
a, .linkish { text-decoration-color: rgba(146, 112, 68, 0.55); }
a:hover, a:focus-visible, .linkish:hover, .linkish:focus-visible { text-decoration-color: #927044; }

/* ERROR: form problems */
.field-error { color: #c0262d; }

/* ACCENT: the muted bronze, used as a background */
.btn-accent, .brand::after, .hl::after, .eyebrow::before, .faq[open] summary::after, .main-nav a::after, .nav-products::after, .stockist.is-near .stockist-dist { background-color: #927044; }


/* MUTED: secondary text */
.lead, .section p, .pcard-text, .dots-n, .cat-tile small, .muted, .crumbs, .field small, .page-hero p, .prose p, .prose li, .faq p, .gcard-text, .downloads small, .doc small, .stockist address, .stockist p, .form-note, .quote figcaption, .swatch-card small, .facts dt, .tick small, .swatch-note, .timeline p { color: #5b666d; }

/* LINES: hairlines and borders */
.btn-ghost, .pcard, .faq, .text-input, .chip, .panel, .gcard, .trio-card, .benefit, .quote, .downloads li, .stockist, .finder-map, .finder-list, .tick, .facts, .swatch-card, .doc, .doc-thumb, .row-media img, .split-media img, .photo-grid a, .mega, .res-group, .timeline li { border-color: #dde1e4; }

/* CARD: white surfaces */
.pcard, .faq, .text-input, .panel, .gcard, .trio-card, .benefit, .quote, .downloads li, .stockist, .tick, .facts, .mega, .finder-list, .timeline li, .doc { background-color: #ffffff; }

/* TEXT ON DARK */
.site-header, .site-header a, .nav-products, .btn-primary, .band-dark, .band-dark h2, .band-dark h3, .site-footer, .cta-band, .cta-band h2, .hero, .hero h1, .page-hero-photo, .page-hero-photo h1, .ribbon, .chip.is-active, .btn-light, .utility a, .timeline b, .tool-link b, .burger, .footer-join h2 { color: #ffffff; }
/* Bronze works on light surfaces; keep labels and contact links readable on dark bands. */
.band-dark .eyebrow, .hero .eyebrow, .page-hero-photo .eyebrow, .cta-band .eyebrow, .site-footer h2, .cta-tel, .footer-tel, .hero-strip strong { color: #ffffff; }

/* SOFT TEXT ON DARK */
.utility, .band-dark p, .site-footer p, .site-footer address, .site-footer li a, .footer-base, .footer-base a, .cta-band p, .hero-lead, .page-hero-photo .tagline, .page-hero-photo .crumbs, .page-hero-photo .crumbs a, .hero-strip span, .tool-link span, .footer-social a, .footer-mail { color: #c9d1d6; }

/* SELECTED: the pale bronze wash behind something chosen */
.tick:has(input:checked), .stockist.is-on { background-color: #f5f1ec; border-color: #927044; }

/* ==========================================================================
   Fonts and base
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/fonts/publicsans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

@view-transition { navigation: auto; }

/* Shared corner size for photographs and image cards throughout the public site. */
:root { --image-corner-radius: 3px; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a, .linkish { text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-skip-ink: auto; transition: text-decoration-color 0.16s ease; }
h1, h2, h3, h4 { font-family: "Archivo", "Public Sans", system-ui, sans-serif; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
/* White titles on a dark band look heavier than dark on white, so they are one step lighter to match by eye. */
.band-dark h2, .cta-band h2, .footer-join h2 { font-weight: 600; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #927044; outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; padding: 10px 16px; background: #fff; color: #1d2327; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 12px; }

.eyebrow { display: flex; align-items: center; gap: 10px; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; flex: none; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); max-width: 40em; }
.text-link { font: 600 1.02rem "Archivo", sans-serif; text-decoration-line: underline; }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600; text-decoration-line: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 6px; border-width: 1.5px; border-style: solid; font: 700 0.98rem "Archivo", sans-serif; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 8px 20px -10px rgba(24, 30, 34, 0.55); }
.btn-accent:hover { filter: none; }
.btn:active { transform: none; }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }
.btn-accent, .stockist.is-near .stockist-dist { color: #ffffff; }
.btn-primary, .btn-accent { border-color: transparent; }
.btn-ghost { background-color: transparent; border-style: solid; }
.btn-light { background-color: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.55); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header { position: sticky; top: 0; z-index: 50; }
.utility { font-size: 0.84rem; }
.utility-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 36px; }
.utility-links { display: flex; gap: 22px; }
.utility a { text-decoration-line: none; font-weight: 600; }
.utility a:hover { text-decoration-line: underline; }
.social { display: inline-flex; align-items: center; gap: 6px; }
.social a { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 4px; color: #ffffff; }
.social a:hover { color: #927044; }
.social svg { width: 17px; height: 17px; }
.utility-links { align-items: center; }
.utility .social { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.25); }
.site-footer .social { gap: 10px; margin-left: -4px; }
.site-footer .social svg { width: 20px; height: 20px; }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.brand img { width: 172px; height: auto; }
/* White logo panel, an 8px bronze edge, then a 1px white separator before the green navbar. */
.brand { position: relative; isolation: isolate; align-self: stretch; display: flex; align-items: center; }
.brand::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -100vw; right: -65px; background: #ffffff; clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%); }
.brand::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: -64px; width: 48px; clip-path: polygon(40px 0, 48px 0, 8px 100%, 0 100%); pointer-events: none; }
.brand { margin-right: 48px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a, .nav-products { position: relative; padding: 10px 13px; background: none; border: 0; cursor: pointer; font: 600 0.98rem "Archivo", sans-serif; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.main-nav a::after, .nav-products::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 3px; transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after, .nav-products:hover::after, .nav-products.is-active::after, .nav-products[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-products svg { transition: transform 0.2s ease; }
.nav-products[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-header { min-height: 44px; padding: 0 18px; }
.site-header .btn-accent, .site-header .btn-accent span { color: #ffffff; }
.burger { display: none; width: 46px; height: 46px; background: none; border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: 6px; cursor: pointer; padding: 0; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; }

.mega { position: absolute; left: 0; right: 0; top: 100%; border-bottom-width: 1px; border-bottom-style: solid; box-shadow: 0 30px 50px -30px rgba(24, 30, 34, 0.5); }
.mega-in { width: min(1480px, 100% - 48px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; padding-block: 30px 22px; }
.mega a { text-decoration-line: none; }
.mega-head { display: block; font: 600 1.02rem "Archivo", sans-serif; letter-spacing: 0; padding-bottom: 9px; margin-bottom: 12px; border-bottom: 1px solid #dde1e4; transition: border-color 0.16s ease; }
.mega-head:hover, .mega-head:focus-visible { border-bottom-color: #927044; }
.mega ul { display: grid; gap: 7px; }
.mega li a { display: grid; grid-template-columns: 80px 1fr; gap: 10px; align-items: center; padding: 5px 8px 5px 5px; border: 1px solid #dde1e4; border-radius: var(--image-corner-radius); font-size: 0.82rem; line-height: 1.25; transition: border-color 0.15s ease, background-color 0.15s ease; }
.mega li a:hover { border-color: #927044; background-color: #f5f1ec; }
.mega li img, .mega-blank { display: block; width: 80px; height: 60px; object-fit: cover; border-radius: var(--image-corner-radius); background-color: #eef0f2; }
.mega a[href="/products/ronjack-balustrades"] img { object-position: 50% 8%; }
.mega-garden-thumb { display: block; width: 80px; height: 60px; overflow: hidden; border-radius: var(--image-corner-radius); background-color: #eef0f2; }
.mega .mega-garden-thumb img { object-fit: contain; border-radius: 0; }
/* Fill the small menu frames with each complete building, retaining its roof and base. */
.mega a[href="/products/the-seymour"] .mega-garden-thumb img { transform: translateX(2px) scale(1.7); transform-origin: 50% 45%; }
.mega a[href="/products/the-janssen"] .mega-garden-thumb img { transform: translate(-1px, 3px) scale(1.25); transform-origin: 50% 45%; }
.mega a[href="/products/the-seymour-deluxe"] .mega-garden-thumb img { transform: translate(-2px, -2px) scale(1.12); }
.mega-foot a:hover { text-decoration-line: underline; }
.mega-foot { grid-column: 1 / -1; display: flex; gap: 28px; padding-top: 16px; border-top: 1px solid #dde1e4; font-weight: 600; font-size: 0.93rem; }

.drawer { position: fixed; inset: 0; top: 74px; z-index: 45; overflow-y: auto; padding: 18px 24px 60px; }
.drawer-nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 13px 0; border-bottom: 1px solid #dde1e4; text-decoration: none; font: 600 1.08rem "Archivo", sans-serif; }
.drawer-nav small { font: 400 0.84rem "Public Sans", sans-serif; color: #5b666d; }
.drawer-label { margin: 22px 0 4px; font: 700 0.76rem "Archivo", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }

/* ==========================================================================
   Hero (home) and page headers
   ========================================================================== */

.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-photo img, .page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before, .page-hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(24, 30, 34, 0.94) 0%, rgba(24, 30, 34, 0.8) 42%, rgba(24, 30, 34, 0.28) 100%); }
.hero-in { padding-block: clamp(70px, 10vw, 150px) clamp(60px, 8vw, 110px); max-width: 1240px; }
.hero h1 { max-width: 15em; }
.hl { position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.12em; border-radius: 2px; z-index: -1; }
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); max-width: 36em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-find { max-width: 560px; }
.hero-find label { display: block; font: 700 0.95rem "Archivo", sans-serif; margin-bottom: 8px; }
.hero-find-row { display: flex; gap: 10px; }
.hero-find-row .text-input { flex: 1 1 auto; min-width: 0; min-height: 56px; border-color: #ffffff; font-size: 1.05rem; }
.hero-find-row .btn { flex: none; }
.hero-strip { border-top: 1px solid rgba(255, 255, 255, 0.14); background-color: rgba(24, 30, 34, 0.82); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 22px; }
.strip-in div { display: flex; flex-direction: column-reverse; }
.hero-strip strong { font: 800 1.7rem/1.1 "Archivo", sans-serif; letter-spacing: -0.02em; }
.hero-strip span { font-size: 0.86rem; }

.page-hero { padding-block: clamp(34px, 5vw, 62px) clamp(26px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 18em; }
.page-hero:not(.page-hero-photo) h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }
.page-hero .tagline { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 40em; margin: 0; }
.page-hero-photo { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(60px, 9vw, 120px) clamp(40px, 6vw, 70px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 0.88rem; margin-bottom: 16px; }
.crumbs li + li::before { content: "/"; margin: 0 9px; opacity: 0.55; }
.crumbs a { text-decoration-line: none; font-weight: 600; }
.crumbs a:hover { text-decoration-line: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { padding: 8px 16px; border-radius: 999px; border-width: 1px; border-style: solid; font: 600 0.9rem "Archivo", sans-serif; text-decoration: none; cursor: pointer; }
.chip:hover { border-color: #927044; }
.search-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.search-row .text-input { flex: 1 1 260px; max-width: 420px; }

/* ==========================================================================
   Sections and shared blocks
   ========================================================================== */

.section { padding-block: clamp(56px, 7vw, 100px); }
.section-tight { padding-block: clamp(34px, 4.5vw, 60px); }
.section-flush { padding-block: 0 clamp(56px, 7vw, 100px); }
.section-head { margin-bottom: clamp(26px, 3.5vw, 44px); max-width: 46em; }
.section-head h2 { margin-bottom: 0.35em; }
.section-head h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.35em; }
.home-band, .catalogue-banner { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(34px, 4.5vw, 58px); border-bottom: 1px solid #dde1e4; background-color: #ffffff; color: #1d2327; }
.home-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-band::before, .catalogue-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.78) 35%, rgba(255, 255, 255, 0.4) 55%, rgba(255, 255, 255, 0) 72%); }
.home-band .section-head, .catalogue-banner .section-head { margin-bottom: 0; }
/* Match the homepage's title and two-line introduction slots without clipping longer copy. */
.catalogue-banner .section-head { max-width: 56rem; }
.home-band h1, .catalogue-banner h1 { min-height: 1.1em; color: #1d2327; }
.catalogue-banner h1 { max-width: none; }
.home-band .lead, .catalogue-banner .lead { min-height: 3.2em; margin-bottom: 0; color: #1d2327; }
.home-band .eyebrow, .catalogue-banner .eyebrow { color: #5b666d; }
/* Keep the shared banner height; frame the complete buildings within their garden photographs. */
.catalogue-banner[data-product="the-seymour"] .page-hero-bg { object-position: 88% 58%; }
.catalogue-banner[data-product="the-janssen"] .page-hero-bg { object-position: 88% 62%; }
.catalogue-banner[data-product="the-seymour-deluxe"] .page-hero-bg { object-position: 88% 65%; }
/* New panoramic scenes keep their product detail to the right of the heading. */
.catalogue-banner[data-category="internal-products"] .page-hero-bg,
.catalogue-banner[data-product="the-fluted-range"] .page-hero-bg,
.catalogue-banner[data-product="the-acoustic-range"] .page-hero-bg,
.catalogue-banner[data-product="the-puzzle-range"] .page-hero-bg { object-position: 85% 60%; }
.catalogue-banner[data-category="accessories"] .page-hero-bg { object-position: 86% 60%; }
.catalogue-banner[data-product="ronjack-balustrades"] .page-hero-bg { object-position: 86% 52%; }
.catalogue-banner[data-product="fence-posts"] .page-hero-bg { object-position: 86% 64%; }
.catalogue-banner[data-product="decking-cladding-edging"] .page-hero-bg { object-position: 86% 75%; }
.fact-strip { background: #eef0f2; border-bottom: 1px solid #dde1e4; }
.fact-strip-in { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 10px 32px; margin-block: 0; padding-block: 16px; }
.fact-strip-in div { padding-left: 16px; border-left: 2px solid #927044; }
.fact-strip dt { font-size: 0.8rem; line-height: 1.3; color: #5b666d; }
.fact-strip dd { margin: 2px 0 0; font: 500 1.25rem/1.2 "Archivo", sans-serif; letter-spacing: -0.01em; color: #1d2327; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.group-head { margin-top: clamp(34px, 4vw, 56px); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #1d2327; }
.group-head h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }


.ticks li { position: relative; padding-left: 30px; margin-bottom: 9px; }
.ticks li::before { content: "✓"; position: absolute; left: 2px; top: 0; font-weight: 800; }
.ticks-cols { columns: 2 260px; column-gap: 34px; margin-top: 18px; }
.ticks-cols li { break-inside: avoid; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-tile { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--image-corner-radius); overflow: hidden; text-decoration: none; background: #2f383e; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 30, 34, 0) 40%, rgba(24, 30, 34, 0.9) 100%); }
.cat-tile-text { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: #fff; }
.cat-tile b { font: 800 1.45rem "Archivo", sans-serif; letter-spacing: -0.02em; }
.cat-tile small { color: #c9d1d6; font-size: 0.86rem; }

/* Product cards */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.pgrid-wide { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
.pgrid-4 { grid-template-columns: repeat(4, 1fr); }
.pcard { display: flex; flex-direction: column; border-width: 1px; border-style: solid; border-radius: var(--image-corner-radius); overflow: hidden; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(24, 30, 34, 0.55); border-color: #927044; }
.pcard-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pcard[href="/products/aluminium-gate-frames"] .pcard-media img { object-position: 29% 50%; }
.pcard[href="/products/ronjack-balustrades"] .pcard-media img { object-position: 50% 8%; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
/* Keep each complete garden room inside the shared card frame, including on hover. */
.pcard:is([href="/products/the-seymour"], [href="/products/the-janssen"], [href="/products/the-seymour-deluxe"]) .pcard-media img { object-fit: contain; transform: none; }
.ribbon { position: absolute; left: 0; top: 14px; padding: 5px 12px; font: 700 0.74rem "Archivo", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; }
.pcard-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.pcard-brand { font: 700 0.74rem "Archivo", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
.pcard-name { font: 700 1.2rem/1.2 "Archivo", sans-serif; letter-spacing: -0.01em; }
.pcard-text { font-size: 0.94rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dots { display: flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 10px; }
.dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #cdd3d7; }
.dots-n { font-size: 0.84rem; margin-left: 6px; }

/* Planner band */
.planner-band { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.planner-band-tools { display: grid; gap: 12px; }
.tool-link { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: center; padding: 18px 22px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 6px; background: rgba(255, 255, 255, 0.05); text-decoration: none; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.tool-link:hover { background: rgba(255, 255, 255, 0.1); border-color: #927044; transform: translateX(4px); }
.tool-link svg { width: 52px; height: 52px; grid-row: span 2; }
.tool-link b { font: 700 1.2rem "Archivo", sans-serif; }
.tool-link span { font-size: 0.94rem; }

/* Three-up cards, benefits, quotes */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trio-card { display: block; padding: 26px; border-width: 1px; border-style: solid; border-radius: 6px; border-top: 4px solid #927044; text-decoration: none; }
.trio-photo { padding: 0 0 22px; border-top-width: 1px; border-radius: var(--image-corner-radius); overflow: hidden; }
.trio-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 20px; }
.trio-photo h3, .trio-photo p { padding-inline: 24px; }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.benefits-3 { grid-template-columns: repeat(3, 1fr); }
.benefit { padding: 24px; border-width: 1px; border-style: solid; border-radius: 6px; }
.benefit p, .trio-card p { margin: 0; font-size: 0.97rem; }
.trio-card p + .text-link { display: inline-block; margin-top: 16px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quotes-2 { grid-template-columns: 1fr 1fr; margin-top: 20px; }
.quote { margin: 0; padding: 28px; border-width: 1px; border-style: solid; border-radius: 6px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-size: 1.05rem; line-height: 1.55; }
.quote blockquote::before { content: "“"; display: block; font: 800 3rem/0.6 "Archivo", sans-serif; margin-bottom: 8px; }
.quote figcaption { margin-top: auto; font-weight: 600; font-size: 0.92rem; }

/* Text beside a photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split-media img, .row-media img { width: 100%; border-radius: var(--image-corner-radius); border-width: 1px; border-style: solid; }
.split-text .btn { margin-top: 12px; }
.split-text h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }
.rows { display: grid; gap: clamp(44px, 6vw, 84px); }
.row-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.row-block.is-flipped .row-media { order: 2; }
.row-block.no-media { grid-template-columns: 1fr; max-width: 820px; }
.row-media img { aspect-ratio: 3 / 2; object-fit: cover; }
.row-text h2 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); }
.intro-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px 60px; align-items: center; }
.intro-row .lead { margin: 0; max-width: none; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Timeline (about) */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.timeline li { padding: 24px; border-width: 1px; border-style: solid; border-radius: 6px; }
.timeline b { display: inline-block; padding: 4px 12px; border-radius: 4px; font: 800 1.05rem "Archivo", sans-serif; margin-bottom: 14px; }
.timeline p { margin: 0; font-size: 0.95rem; }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.gcard { display: flex; flex-direction: column; border-width: 1px; border-style: solid; border-radius: var(--image-corner-radius); overflow: hidden; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.gcard:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(24, 30, 34, 0.55); }
.gcard img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.gcard-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.gcard-topic { font: 700 0.74rem "Archivo", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
.gcard b { font: 700 1.22rem/1.2 "Archivo", sans-serif; letter-spacing: -0.01em; }
.gcard-text { font-size: 0.94rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.prose { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.7em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; }
.prose h4 { font-size: 1.05rem; margin: 1.3em 0 0.3em; letter-spacing: 0; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.3em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4em; }
.prose figure { margin: 1.6em 0; }
.prose img { border-radius: var(--image-corner-radius); }
.prose figure img { width: 100%; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 0.96rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #dde1e4; }
.prose th { font-family: "Archivo", sans-serif; }

/* FAQs */
.faqs { display: grid; gap: 10px; }
.faq { border-width: 1px; border-style: solid; border-radius: 6px; }
.faq summary { position: relative; padding: 18px 54px 18px 22px; cursor: pointer; font: 700 1.05rem "Archivo", sans-serif; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 2.5px; background: #1d2327; transition: transform 0.2s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq[open] summary::after { transform: rotate(0); }
.faq p { margin: 0; padding: 0 22px 20px; }

/* Closing band */
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-block: clamp(40px, 5vw, 64px); }
.cta-band h2 { margin-bottom: 0.2em; }
.cta-band p { margin: 0; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cta-tel { font: 700 1.02rem "Archivo", sans-serif; text-decoration: none; }

/* ==========================================================================
   Product page
   ========================================================================== */

.product-top { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.product-intro p { font-size: 1.08rem; }
.product-side { position: sticky; top: 130px; display: grid; gap: 16px; }
.facts { margin: 0; border-width: 1px; border-style: solid; border-radius: 6px; overflow: hidden; }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 11px 16px; background-color: #ffffff; }
.facts div:nth-child(odd) { background-color: #f6f7f8; }
.facts dt { font-size: 0.9rem; }
.facts dd { margin: 0; font-weight: 600; font-size: 0.95rem; }
.product-actions { display: grid; gap: 10px; }
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.swatch-card { margin: 0; border-width: 1px; border-style: solid; border-radius: var(--image-corner-radius); overflow: hidden; }
.swatch-card img, .swatch-flat { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.swatch-card figcaption { display: flex; flex-direction: column; padding: 11px 14px; background: #fff; }
.swatch-card b { font-family: "Archivo", sans-serif; }
.swatch-card small { font-size: 0.78rem; letter-spacing: 0.04em; }
.swatch-grid--photo-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.swatch-grid--photo-options .swatch-card img { aspect-ratio: 3 / 1; object-fit: contain; }
.size-table-wrap { margin-top: 28px; border: 1px solid #dfe3e6; border-radius: 12px; background: #fff; overflow: hidden; }
.size-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.size-table caption { padding: 14px 16px; text-align: left; font: 600 1.05rem "Archivo", sans-serif; color: #1d2327; border-bottom: 1px solid #dfe3e6; }
.size-table th, .size-table td { padding: 11px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #eceff1; }
.size-table thead th { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #5b666d; background: #f6f7f8; }
.size-table tbody th { font-weight: 600; color: #1d2327; white-space: nowrap; }
.size-table tbody td { color: #3b454b; }
.size-table tbody tr:last-child th, .size-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 720px) {
    .size-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .size-table tr { display: block; padding: 12px 16px; border-bottom: 1px solid #eceff1; }
    .size-table tbody tr:last-child { border-bottom: 0; }
    .size-table tbody th, .size-table tbody td { display: block; padding: 0; border: 0; white-space: normal; }
    .size-table tbody th { margin-bottom: 6px; font-size: 1rem; }
    .size-table tbody td { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 2px 0; }
    .size-table tbody td::before { content: attr(data-label); color: #5b666d; font-size: 0.85rem; }
    .size-table tbody td:empty { display: none; }
}
.swatch-note { margin: 18px 0 0; font-size: 0.95rem; }
/* Colours in use: swatch buttons beside a photo of the chosen colour. Without JavaScript only the swatches show. */
.colour-lead { margin: -6px 0 18px; }
.colour-pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.colour-pick-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.swatch-pick { display: block; padding: 0; font: inherit; color: inherit; text-align: left; background: #fff; cursor: pointer; }
.swatch-pick .swatch-cap { display: flex; flex-direction: column; padding: 9px 12px; }
.swatch-pick small { overflow-wrap: anywhere; }
.swatch-pick:hover { border-color: #927044; }
.swatch-pick.is-active { border-color: #927044; box-shadow: 0 0 0 2px #927044; }
.swatch-pick:focus-visible { outline: 3px solid #1d2327; outline-offset: 2px; }
.colour-view { margin: 0; }
.colour-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.colour-shots a { display: block; position: relative; aspect-ratio: 3 / 2; border: 1px solid #dde1e4; border-radius: var(--image-corner-radius); overflow: hidden; background: #eef0f2; cursor: zoom-in; }
.colour-shots a:first-child { grid-column: 1 / -1; }
.colour-shots a:focus-visible { outline: 3px solid #927044; outline-offset: 3px; }
.colour-shots img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.colour-none { display: flex; gap: 20px; align-items: center; padding: 20px; border: 1px solid #dde1e4; border-radius: var(--image-corner-radius); background: #fff; }
.colour-none img, .colour-none .swatch-flat { flex: none; display: block; width: 150px; height: 150px; object-fit: cover; border-radius: var(--image-corner-radius); }
.colour-none figcaption { margin: 0; gap: 8px; }
.colour-none .btn { align-self: flex-start; margin-top: 4px; }
.colour-view figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.colour-view figcaption b { font-family: "Archivo", sans-serif; font-size: 1.1rem; color: #1d2327; }
.colour-view figcaption span { font-size: 0.95rem; }
.colour-view figcaption a { color: #1d2327; }
html:not(.js) .colour-stage, html:not(.js) .colour-lead { display: none; }
html:not(.js) .colour-pick { grid-template-columns: 1fr; }
@media (max-width: 1000px) {
    .colour-pick { grid-template-columns: 1fr; }
    .colour-pick-list { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
}
@media (max-width: 480px) {
    .colour-none { flex-direction: column; align-items: flex-start; }
    .colour-none img, .colour-none .swatch-flat { width: 110px; height: 110px; }
}
.photo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.photo-grid a { display: block; position: relative; aspect-ratio: 4 / 3; border: 1px solid #dde1e4; border-radius: var(--image-corner-radius); overflow: hidden; cursor: zoom-in; background: #eef0f2; }
.photo-grid img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--crop-x, 50%) var(--crop-y, 50%); transition: transform 0.4s ease; }
.photo-grid a:hover img { transform: scale(1.04); }
.photo-grid a:focus-visible { outline: 3px solid #927044; outline-offset: 3px; }
@media (max-width: 1200px) { .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 380px) { .photo-grid { grid-template-columns: minmax(0, 1fr); } }
/* Garden-room views share one landscape frame and retain every building edge. */
.photo-grid--garden-rooms, .photo-grid--landscape { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.photo-grid--garden-rooms a, .photo-grid--landscape a { aspect-ratio: 3 / 2; }
.photo-grid--garden-rooms img, .photo-grid--landscape img { object-fit: contain; }
.photo-grid--garden-rooms a:hover img, .photo-grid--landscape a:hover img { transform: none; }
/* Project photographs come in other shapes, so they fill the frame; illustrative settings are shown whole. */
.photo-grid--landscape a.is-photo img { object-fit: cover; }
.garden-room-gallery .gallery-note, .inspiration-gallery .gallery-note { margin: -12px 0 24px; }
@media (max-width: 700px) {
    .photo-grid--garden-rooms, .photo-grid--landscape { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
.gallery-group[hidden] + .gallery-group { margin-top: 0; }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 60px 20px 30px; background-color: rgba(24, 30, 34, 0.95); }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 110px); width: auto; height: auto; border-radius: var(--image-corner-radius); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 6px; width: 48px; height: 48px; font-size: 1.5rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox [data-close] { top: 14px; right: 16px; }
.lightbox [data-prev] { left: 16px; top: 50%; }
.lightbox [data-next] { right: 16px; top: 50%; }

.downloads { display: grid; gap: 10px; }
.downloads li { border-width: 1px; border-style: solid; border-radius: 6px; }
.downloads a { display: grid; grid-template-columns: 9.5em 1fr auto; gap: 14px; align-items: center; padding: 13px 16px; text-decoration: none; }
.downloads a:hover b { text-decoration-line: underline; text-decoration-color: #927044; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.dl-kind { padding: 4px 10px; border-radius: 4px; font: 700 0.72rem "Archivo", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
.downloads small { white-space: nowrap; font-size: 0.86rem; }
.res-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; align-items: start; }
.res-group h2 { font-size: 1.5rem; padding-bottom: 10px; border-bottom: 2px solid #1d2327; margin-bottom: 16px; }
.res-stack { display: grid; gap: clamp(34px, 4vw, 56px); }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.doc { display: flex; flex-direction: column; height: 100%; border-width: 1px; border-style: solid; border-radius: var(--image-corner-radius); overflow: hidden; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.doc:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(24, 30, 34, 0.55); border-color: #927044; }
.doc-thumb { display: grid; place-items: center; aspect-ratio: 480 / 679; padding: 10px; border-bottom-width: 1px; border-bottom-style: solid; }
.doc-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 6px 16px -8px rgba(24, 30, 34, 0.5); }
.doc-text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.doc b { font: 700 0.98rem/1.3 "Archivo", sans-serif; }
.doc small { margin-top: auto; padding-top: 4px; font-size: 0.84rem; }
.product-downloads { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); gap: 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid #dde1e4; }
.product-downloads .section-head { margin: 0; }
.product-downloads h2 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.product-document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.doc-reports { margin-top: 28px; }
.product-downloads .doc-reports { grid-column: -2 / -1; margin-top: 0; }
.doc-reports h3 { font-size: 1.05rem; margin: 0 0 10px; }
.doc-reports ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 6px 28px; }
.doc-reports li { padding: 8px 0; border-bottom: 1px solid var(--line, #e3e6e3); }
.doc-reports small { color: var(--muted, #5d6660); white-space: nowrap; }
.doc--product { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px; }
.doc--product .doc-thumb { padding: 5px; border-width: 1px; border-style: solid; }
.doc--product .doc-thumb img { width: 100%; height: 100%; object-fit: contain; box-shadow: none; }
.doc--product .doc-text { padding: 0; min-width: 0; }
.doc-open { font: 600 0.9rem "Archivo", sans-serif; text-decoration: underline; text-decoration-color: rgba(146, 112, 68, 0.55); text-underline-offset: 0.2em; }
.doc--product:hover .doc-open, .doc--product:focus-visible .doc-open { text-decoration-color: #927044; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 50px); align-items: start; }
.panel { padding: clamp(22px, 3vw, 34px); border-width: 1px; border-style: solid; border-radius: 6px; }
.panel h2 { font-size: 1.4rem; }
.form h2:not(:first-of-type) { margin-top: 1.4em; }
.contact-side { display: grid; gap: 18px; position: sticky; top: 130px; }
.contact-side--map { position: static; }
.contact-map { display: block; width: 100%; height: 320px; margin-top: 20px; border: 0; border-radius: var(--image-corner-radius); background-color: #eef0f2; }
.contact-side .panel p:last-child { margin-bottom: 0; }
.contact-big { font: 800 1.6rem "Archivo", sans-serif; text-decoration: none; }
.link-list li { margin-bottom: 8px; }
.link-list a { font-weight: 600; }
.field { margin-bottom: 16px; display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label { font: 700 0.9rem "Archivo", sans-serif; }
.field small { font-size: 0.86rem; }
.text-input { width: 100%; min-height: 48px; padding: 10px 14px; border-width: 1.5px; border-style: solid; border-color: #c5ccd1; border-radius: 6px; font: inherit; }
textarea.text-input { resize: vertical; line-height: 1.5; }
.text-input:focus { outline: none; border-color: #927044; box-shadow: 0 0 0 3px rgba(146, 112, 68, 0.18); }
.input-short { max-width: 220px; }
.field-error { font-size: 0.88rem; font-weight: 600; }
.field-error:empty { display: none; }
.form-note { font-size: 0.86rem; margin: 14px 0 0; }
.tick-group { border: 0; padding: 0; margin: 0 0 18px; }
.tick-group legend { padding: 4px 10px; border-radius: 4px; font: 700 0.76rem "Archivo", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.tick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.tick { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-width: 1.5px; border-style: solid; border-radius: 6px; cursor: pointer; }
.tick input { width: 20px; height: 20px; margin-top: 2px; accent-color: #927044; }
.tick b { display: block; font: 700 0.98rem/1.25 "Archivo", sans-serif; }
.tick small { font-size: 0.84rem; line-height: 1.35; display: block; margin-top: 2px; }
.plan-lines { display: grid; gap: 6px; margin-bottom: 16px; font-size: 0.92rem; }
.plan-lines li { padding: 8px 12px; border-radius: 4px; }
.join-form { display: flex; gap: 10px; flex-wrap: wrap; }
.join-form .text-input { flex: 1 1 240px; min-width: 0; }

/* ==========================================================================
   Stockist finder
   ========================================================================== */

.finder { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: start; }
.finder-map { height: min(680px, 78vh); border-width: 1px; border-style: solid; border-radius: 6px; position: sticky; top: 130px; z-index: 1; }
.finder-list { max-height: min(680px, 78vh); overflow-y: auto; border-width: 1px; border-style: solid; border-radius: 6px; padding: 10px; display: grid; gap: 10px; align-content: start; }
.stockist { padding: 16px 18px; border-width: 1.5px; border-style: solid; border-radius: 6px; }
.stockist-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stockist h2 { font-size: 1.1rem; margin: 0 0 4px; letter-spacing: -0.01em; }
.stockist-dist { flex: none; padding: 3px 10px; border-radius: 999px; background: #eef0f2; font: 700 0.8rem "Archivo", sans-serif; white-space: nowrap; }
.stockist address, .stockist p { font-size: 0.92rem; margin: 0 0 6px; }
.stockist-summary { display: flex; gap: 18px; align-items: flex-start; margin-top: 8px; }
.stockist-details { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.stockist-preview { flex: 0 0 128px; display: block; overflow: hidden; border: 1px solid #dde1e4; border-radius: var(--image-corner-radius); text-decoration: none; background: #f5f1ec; color: #1d2327; transition: border-color 160ms ease; }
.stockist-preview img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-bottom: 1px solid #dde1e4; }
.stockist-preview > span { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 7px 9px; font-size: 0.72rem; line-height: 1.2; font-weight: 700; }
.stockist-preview:hover, .stockist-preview:focus-visible { border-color: #927044; color: #1d2327; }
@media (max-width: 420px) {
    .stockist { padding: 14px; }
    .stockist-summary { gap: 12px; }
    .stockist-preview { flex-basis: 104px; }
    .stockist-preview > span { padding: 7px; font-size: 0.66rem; }
    .stockist-head { flex-wrap: wrap; gap: 4px; }
}
.stockist-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 600; margin: 8px 0 0 !important; }
.finder-note { min-height: 1.6em; margin: 12px 0 0; font-weight: 600; }
.map-pin { background: none; border: 0; }
.map-popup { display: grid; gap: 3px; font: 0.9rem "Public Sans", sans-serif; }
.map-popup b { font-family: "Archivo", sans-serif; font-size: 1rem; }

/* ==========================================================================
   Status pages
   ========================================================================== */

.status { text-align: center; min-height: 52vh; display: grid; align-items: center; }
.status .lead { margin-inline: auto; }
.status .hero-actions { justify-content: center; }
.status-code { display: inline-block; padding: 6px 16px; border-radius: 4px; font: 800 1rem "Archivo", sans-serif; letter-spacing: 0.14em; }
.status-tick { margin: 0 0 16px; display: flex; justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: center; padding-block: 44px 38px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer-join h2 { font-size: 1.6rem; margin-bottom: 0.2em; letter-spacing: -0.02em; text-transform: none; }
.footer-join p { margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 34px; padding-block: 46px; }
.footer-brand img { width: 190px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.94rem; max-width: 24em; }
.footer-social { display: flex; gap: 18px; font-weight: 600; }
.site-footer h2 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; font-size: 0.95rem; }
.site-footer li a, .footer-base a, .footer-mail, .footer-social a { text-decoration-line: none; }
.site-footer li a:hover, .footer-base a:hover, .footer-mail:hover, .footer-social a:hover { color: #ffffff; text-decoration-line: underline; }
.site-footer address { font-size: 0.95rem; margin-bottom: 12px; }
.footer-tel { display: block; font: 800 1.35rem "Archivo", sans-serif; text-decoration: none; margin-bottom: 4px; }
.footer-mail { font-size: 0.95rem; }
.footer-base { font-size: 0.86rem; }
.footer-base.wrap { width: 100%; padding: 16px max(24px, (100% - 1240px) / 2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Quick actions along the bottom of a phone screen */
.mobile-bar { display: none; }

/* ==========================================================================
   Smaller screens
   ========================================================================== */

@media (max-width: 1180px) {
    .main-nav, .mega { display: none !important; }
    .burger { display: block; }
    .header-in { justify-content: space-between; }
    .mega-in { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
    .cat-grid, .trio, .quotes, .benefits-3 { grid-template-columns: 1fr 1fr; }
    .planner-band, .split, .row-block, .product-top, .form-layout, .finder, .intro-row, .footer-top, .res-groups { grid-template-columns: 1fr; }
    .row-block.is-flipped .row-media { order: 0; }
    .product-side, .contact-side { position: static; }
    .product-downloads { grid-template-columns: 1fr; gap: 20px; }
    .pgrid-4 { grid-template-columns: 1fr 1fr; }
    .finder-map { height: 420px; position: relative; top: auto; }
    .finder-list { max-height: none; }
    .timeline { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .intro-actions { justify-content: flex-start; }
    .strip-in { grid-template-columns: 1fr 1fr; }
    .fact-strip-in { grid-template-columns: 1fr 1fr; justify-content: stretch; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .wrap { width: min(1240px, 100% - 32px); }
    .utility-note, .utility .social { display: none; }
    .utility-in { justify-content: center; }
    .btn-header span { display: none; }
    .btn-header { padding: 0 13px; }
    .brand img { width: 148px; }
    .cat-grid, .trio, .quotes, .benefits-3, .timeline, .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero::before, .page-hero-photo::before { background: linear-gradient(180deg, rgba(24, 30, 34, 0.86) 0%, rgba(24, 30, 34, 0.8) 100%); }
    .downloads a { grid-template-columns: 1fr; gap: 6px; }
    .dl-kind { justify-self: start; }
    .facts div { grid-template-columns: 1fr; gap: 2px; }
    .pgrid-4 { grid-template-columns: 1fr; }
    .doc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-document-grid { grid-template-columns: 1fr; }
    .swatch-grid--photo-options { grid-template-columns: 1fr; }
    .doc--product { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 12px; }
    .hero-find-row { flex-direction: column; }
    .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.25fr 1fr; background-color: #2f383e; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-bottom: env(safe-area-inset-bottom); }
    .mobile-bar a { display: grid; place-items: center; min-height: 54px; padding: 0 6px; color: #ffffff; font: 700 0.9rem "Archivo", sans-serif; text-decoration: none; text-align: center; }
    .mobile-bar a.is-main { background-color: #927044; }
    body { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
    .home-band::before, .catalogue-banner::before { background: rgba(255, 255, 255, 0.8); }
    .hl { white-space: normal; }
    .hl::after { display: none; }
}

/* Keep the same text slots in the homepage and catalogue banners as the homepage copy wraps. */
@media (max-width: 540px) {
    .home-band h1, .catalogue-banner h1 { min-height: 2.2em; }
}
@media (max-width: 410px) {
    .home-band .lead, .catalogue-banner .lead { min-height: 4.8em; }
}
@media (max-width: 350px) {
    .home-band h1, .catalogue-banner h1 { min-height: 3.3em; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
    .site-header, .site-footer, .cta-band, .drawer, .mobile-bar { display: none !important; }
    body { background: #fff; }
}
.guide-preview-note { background:#e9e3d9; color:#2f383e; padding:18px 0; }
.guide-preview-note a { text-decoration:underline; margin-left:12px; }
.prose > img { max-width:100%; height:auto; }
.prose figure figcaption { font-size:.9rem; color:#5b666d; text-align:center; margin-top:10px; }
.prose table { width:100%; border-collapse:collapse; margin:24px 0; table-layout:fixed; overflow-wrap:anywhere; }
.prose th,.prose td { border:1px solid #dce1e4; padding:12px; vertical-align:top; }
.faq > p { white-space:pre-line; }
.lightbox figure { margin:0; min-width:0; width:100%; display:flex; flex-direction:column; align-items:center; gap:14px; }
.lightbox figure img { object-fit:contain; max-height:calc(100dvh - 190px); max-width:min(1400px,100%); }
.lightbox figcaption { color:#fff; font-size:.9rem; text-align:center; max-width:800px; padding:0 40px; overflow-wrap:anywhere; }
