:root {
	--black: #000;
	--sand: #d2d0c3;
	--tile: #e9e8e1;
	--ink-soft: rgba(0, 0, 0, .68);
	--sand-soft: rgba(210, 208, 195, .68);
	--line-sand: rgba(210, 208, 195, .28);
	--line-black: rgba(0, 0, 0, .25);
	--gutter: clamp(16px, 2.6vw, 40px);
	--font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--black); font: 400 15px/1.6 var(--font); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2 { font-weight: 400; margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--sand); color: var(--black); padding: 8px 14px; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header); padding: 12px var(--gutter); background: var(--black); color: var(--sand); }
.brand { display: flex; align-items: flex-end; gap: 10px; text-decoration: none; }
.flo-mark { width: 74px; height: auto; flex: none; }
.brand-words { font-size: 8.5px; line-height: 1.5; letter-spacing: .24em; white-space: nowrap; }
.brand-words b { font-weight: 600; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.site-menu { display: flex; gap: clamp(16px, 3vw, 36px); }
.site-menu a, .enquire-link { display: inline-block; line-height: 1.4; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; padding-bottom: 4px; transition: background-size .3s ease; }
.site-menu a:hover, .enquire-link:hover { background-size: 100% 1px; }

/* Hero: the runway gives the line its scroll distance, the stage stays on screen */
.hero { background: var(--black); color: var(--sand); }
.hero.is-scrub { height: 240vh; height: 240svh; }
.hero-stage { position: sticky; top: 0; min-height: calc(100vh - var(--header)); display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: 1fr auto; gap: 24px clamp(24px, 5vw, 80px); padding: clamp(20px, 3vw, 48px) var(--gutter); overflow: hidden; }
.hero.is-scrub .hero-stage { height: calc(100vh - var(--header)); height: calc(100svh - var(--header)); min-height: 0; }
.hero-mark { grid-column: 2; grid-row: 1 / 3; align-self: center; justify-self: end; width: 100%; max-height: 82vh; overflow: visible; }
.hero-ghost { opacity: .16; }
.hero-drop { opacity: 0; }
.is-scrub .hero-drop { opacity: 1; }
.hero-text { grid-column: 1; grid-row: 2; align-self: end; }
.hero h1 { font-size: clamp(24px, 2.7vw, 42px); font-weight: 300; line-height: 1.22; margin-bottom: 28px; max-width: 17em; }
.hero-reveal { grid-column: 1; grid-row: 1; align-self: start; max-width: 28em; }
.is-scrub .hero-reveal { opacity: var(--reveal, 0); transform: translateY(calc((1 - var(--reveal, 0)) * 18px)); }
.hero-reveal p { margin: 0 0 20px; color: var(--sand-soft); }
.hero-reveal dl { display: flex; gap: clamp(20px, 3vw, 44px); margin: 0; }
.hero-reveal dt { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--sand-soft); }
.hero-reveal dd { margin: 0; font-size: clamp(24px, 2.6vw, 38px); font-weight: 300; line-height: 1.3; }

/* The one button style: a line that runs along under the words */
.line-button { display: inline-block; padding: 10px 0; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--line-black); background: linear-gradient(var(--black), var(--black)) left bottom / 0 2px no-repeat; transition: background-size .4s ease; }
.line-button:hover { background-size: 100% 2px; }
.line-button--sand { border-color: var(--line-sand); background-image: linear-gradient(var(--sand), var(--sand)); }

/* Brands: arches from the top of the logo's f */
.houses { padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(32px, 4vw, 56px); }
.houses h2, .catalogue-head h2, .related h2 { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.houses ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; margin-top: 24px; }
.houses a { display: flex; flex-direction: column; justify-content: flex-end; height: clamp(150px, 15vw, 210px); padding: 18px 6px; text-align: center; text-decoration: none; border: 1.5px solid var(--black); border-radius: 999px 999px 0 0; transition: background-color .25s ease, color .25s ease; }
.houses a:hover { background: var(--black); color: var(--sand); }
.house-name { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.35; overflow-wrap: anywhere; }
.house-count { font-size: 11px; opacity: .65; margin-top: 4px; }

/* Filter bar */
.catalogue { scroll-margin-top: 0; padding-bottom: clamp(48px, 7vw, 96px); }
.filter-bar { position: sticky; top: 0; z-index: 40; background: var(--black); color: var(--sand); }
.filter-row { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(180px, 1.4fr); }
.filter { border-right: 1px solid var(--line-sand); }
.filter summary { display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 var(--gutter); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; list-style: none; }
.filter summary::-webkit-details-marker { display: none; }
.filter summary::after { content: ""; width: 7px; height: 7px; margin-left: auto; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; flex: none; }
.filter[open] summary { background: var(--sand); color: var(--black); }
.filter[open] summary::after { transform: translateY(2px) rotate(225deg); }
.filter-count { min-width: 18px; height: 18px; font-size: 10px; font-weight: 600; line-height: 18px; text-align: center; letter-spacing: 0; color: var(--black); background: var(--sand); border-radius: 9px; }
.filter[open] .filter-count { color: var(--sand); background: var(--black); }
.filter-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: min(62vh, 560px); overflow: auto; padding: 18px var(--gutter) 24px; background: var(--black); border-top: 1px solid var(--line-sand); box-shadow: 0 24px 40px rgba(0, 0, 0, .25); }
.filter-find, .filter-search input { width: 100%; background: transparent; border: 0; border-radius: 0; outline-offset: -2px; }
.filter-find { max-width: 340px; height: 40px; margin-bottom: 14px; padding: 0; border-bottom: 1px solid var(--line-sand); font-size: 14px; }
.filter-find::placeholder, .filter-search input::placeholder { color: var(--sand-soft); opacity: 1; }
.filter-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 2px 18px; }
.option { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-height: 36px; padding: 8px 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.option:hover { background: rgba(210, 208, 195, .13); }
.option small { font-size: 11px; color: var(--sand-soft); letter-spacing: 0; }
.option.is-on { background: var(--sand); color: var(--black); font-weight: 600; }
.option.is-on small { color: var(--ink-soft); }
.filter-none { margin: 0; color: var(--sand-soft); }
.filter-search input { height: 54px; padding: 0 var(--gutter); font-size: 14px; }
.filter-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px var(--gutter); border-top: 1px solid var(--line-sand); }
.chip { display: inline-flex; align-items: baseline; gap: 6px; min-height: 28px; padding: 5px 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--line-sand); }
.chip small { font-size: 10px; color: var(--sand-soft); }
.chip:hover { background: var(--sand); color: var(--black); }
.chip:hover small { color: var(--ink-soft); }
.chip-clear { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 2px; }

/* Brand and zone banners above a filtered listing */
.banners { background: var(--tile); }
.banners-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.banners-track::-webkit-scrollbar { display: none; }
.banner { flex: 0 0 100%; min-width: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; min-height: clamp(104px, 10.4vw, 175px); padding: clamp(16px, 2.4vw, 40px) var(--gutter) clamp(12px, 1.5vw, 24px); text-decoration: none; scroll-snap-align: start; }
.banner-logo { width: auto; height: clamp(46px, 6.6vw, 112px); max-width: 58%; object-fit: contain; object-position: left bottom; mix-blend-mode: multiply; }
.banner-brand { font-size: clamp(30px, 5.4vw, 84px); font-weight: 600; line-height: 1; letter-spacing: -.03em; overflow-wrap: anywhere; }
.banner-zone { flex: none; max-width: 50%; font-size: clamp(13px, 1.9vw, 30px); font-weight: 600; line-height: 1.25; letter-spacing: .22em; text-align: right; text-transform: uppercase; }
.banners-nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 0 var(--gutter) 6px; font-size: 12px; font-variant-numeric: tabular-nums; }
.banners-nav button { width: 40px; height: 40px; font-size: 18px; line-height: 1; }
.banners-nav button:hover { background: var(--black); color: var(--sand); }

.catalogue-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: clamp(24px, 3vw, 40px) var(--gutter) 18px; }
.catalogue-head p { margin: 0; font-size: 13px; color: var(--ink-soft); }
[data-flo-catalogue].is-loading .wall { opacity: .4; transition: opacity .15s ease; }

/* Product wall: justified rows. Every tile grows from its photo's real shape, so rows fill the
   width, heights line up within a row, and no photo is cropped whatever its original size. */
.wall { --row: clamp(165px, 20vw, 340px); display: flex; flex-wrap: wrap; gap: clamp(22px, 2.4vw, 34px) clamp(8px, 1vw, 14px); padding: 0 var(--gutter); }
.wall::after { content: ""; flex: 9999 1 0; }
.card { flex-grow: calc(var(--ar) * 100); flex-shrink: 1; flex-basis: calc(var(--ar) * var(--row)); min-width: 0; }
.card a { display: block; height: 100%; text-decoration: none; }
.card-media { display: block; aspect-ratio: var(--ar); background: var(--tile); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card-media img[src*="/assets/img/placeholder"], .product-main img[src*="/assets/img/placeholder"] { mix-blend-mode: normal; }
.card-cats { display: block; margin-top: 10px; font-size: 10.5px; font-weight: 500; letter-spacing: .1em; line-height: 1.45; text-transform: uppercase; color: var(--ink-soft); overflow-wrap: anywhere; }
.card-cats + .card-name { margin-top: 3px; }
.card-name { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; overflow-wrap: anywhere; }
.card-name { background: linear-gradient(var(--black), var(--black)) left bottom / 0 1px no-repeat; transition: background-size .35s ease; width: fit-content; max-width: 100%; }
.card a:hover .card-name { background-size: 100% 1px; }
.card-type { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 500; line-height: 1.45; }
.card-type small { font-size: inherit; font-weight: 400; color: var(--ink-soft); }

.pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: clamp(36px, 5vw, 64px) var(--gutter) 0; }
.pages a, .pages span { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-decoration: none; }
.pages a:hover { background: var(--tile); }
.pages .current { background: var(--black); color: var(--sand); }
.empty-state { padding: 56px var(--gutter); text-align: center; }

/* Product page */
.product-page { padding: 18px var(--gutter) clamp(40px, 6vw, 80px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 18px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs a + a::before { content: "/"; margin-right: 10px; opacity: .5; }
.product-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.product-main { margin: 0; display: flex; align-items: center; justify-content: center; min-height: min(60vh, 520px); background: var(--tile); }
.product-main img { width: 100%; max-height: 80vh; object-fit: contain; mix-blend-mode: multiply; }
.product-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.product-thumbs button { width: 72px; height: 72px; background: var(--tile); }
.product-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-thumbs button[aria-current="true"] { outline: 1.5px solid var(--black); outline-offset: -1.5px; }
.product-info { position: sticky; top: 24px; }
.product-brand { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }
.product-info h1 { margin: 8px 0 14px; font-size: clamp(28px, 3.4vw, 48px); font-weight: 300; line-height: 1.12; overflow-wrap: anywhere; }
.product-price { margin: -4px 0 16px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: .02em; }
.product-body p { margin: 0 0 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.product-facts { margin: 22px 0; border-top: 1px solid var(--line-black); }
.product-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-black); }
.product-facts dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.product-facts dd { margin: 0; font-size: 13px; font-weight: 500; text-align: right; }
.product-options { margin-bottom: 24px; }
.product-options h2 { margin-bottom: 10px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.product-options ul { display: flex; flex-wrap: wrap; gap: 6px; }
.product-options span, .product-options button { display: inline-block; padding: 6px 10px; font-size: 11px; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; border: 1px solid var(--line-black); }
.product-options button { border-color: var(--black); }
.product-options button:hover, .product-options button[aria-current="true"] { background: var(--black); color: var(--sand); }
.related { padding-bottom: clamp(48px, 7vw, 96px); }
.related h2 { padding: 0 var(--gutter); margin-bottom: 20px; }

/* Plain pages: cart, checkout, account and anything else in WordPress */
.plain-page { max-width: 1120px; margin: 0 auto; padding: clamp(32px, 5vw, 72px) var(--gutter); min-height: 50vh; }
.plain-page h1 { font-size: clamp(28px, 3.4vw, 48px); font-weight: 300; margin-bottom: 24px; }

/* Footer */
.site-footer { display: grid; grid-template-columns: minmax(200px, 3fr) 4fr 3fr; gap: clamp(24px, 4vw, 64px); padding: clamp(40px, 6vw, 80px) var(--gutter) 28px; background: var(--black); color: var(--sand); }
.footer-logo { width: min(100%, 300px); }
.footer-about p { margin: 0; max-width: 34em; color: var(--sand-soft); }
.footer-contact li { margin-bottom: 8px; font-size: 14px; }
.footer-legal { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 18px; border-top: 1px solid var(--line-sand); font-size: 12px; color: var(--sand-soft); }

/* Quote dialog */
.enquiry { width: min(480px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 0; background: var(--sand); color: var(--black); }
.enquiry::backdrop { background: rgba(0, 0, 0, .72); }
.enquiry form { position: relative; display: grid; gap: 14px; padding: 28px; }
.enquiry h2 { font-size: 24px; font-weight: 300; padding-right: 32px; }
.enquiry-product { margin: -8px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.enquiry label { display: grid; gap: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.enquiry input, .enquiry textarea { width: 100%; padding: 9px 0; font-size: 16px; letter-spacing: 0; text-transform: none; background: transparent; border: 0; border-bottom: 1px solid var(--black); border-radius: 0; }
.enquiry-close { position: absolute; top: 16px; right: 20px; width: 40px; height: 40px; font-size: 26px; line-height: 1; }
.enquiry-hint { margin: 0; font-size: 12.5px; color: var(--ink-soft); }
.enquiry .line-button { justify-self: start; }
.enquiry-trap { position: absolute !important; left: -9999px; }
.flo-notice { position: fixed; left: 50%; bottom: 20px; z-index: 60; width: max-content; max-width: calc(100vw - 32px); margin: 0; padding: 12px 18px; font-size: 13px; color: var(--sand); background: var(--black); border: 1px solid var(--line-sand); transform: translateX(-50%); }

@media (max-width: 900px) {
	.hero-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
	.hero-mark { grid-column: 1; grid-row: 2; justify-self: center; align-self: center; max-height: 44vh; }
	.hero-reveal { grid-row: 1; }
	.hero-text { grid-row: 3; }
	.product-layout { grid-template-columns: minmax(0, 1fr); }
	.product-info { position: static; }
	.site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
	:root { --header: 64px; }
	.site-header { padding-block: 10px; }
	.filter-active { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.chip, .chip-clear { flex: none; }
	.flo-mark { width: 58px; }
	.brand-words { font-size: 7px; }
	.site-nav .site-menu { display: none; }
	.filter-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.filter summary { justify-content: center; height: 46px; padding: 0 4px; font-size: 10px; letter-spacing: .08em; gap: 5px; }
	.filter summary::after { display: none; }
	.filter:nth-child(4) { border-right: 0; }
	.filter-count { min-width: 16px; height: 16px; line-height: 16px; }
	.filter-search { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--line-sand); }
	.filter-search input { height: 42px; font-size: 16px; }
	.filter-panel { top: 46px; max-height: 66vh; }
	.filter-find { font-size: 16px; }
	.filter-options { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
	.option { min-height: 44px; align-items: center; }
	.wall { --row: 150px; }
	.card-name { font-size: 11px; letter-spacing: .06em; }
	.houses ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.houses a { padding: 14px 6px; }
	.house-name { font-size: 10px; letter-spacing: .06em; }
}

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