/* ==========================================================================
   ZENCLAD – Decorative Building Materials
   ========================================================================== */

/* Aeonik is the sans-serif family used by Zen Sanctuary. */
@font-face {
  font-family: 'Aeonik';
  src: url('https://cdn.prod.website-files.com/66de2f1572bcf866302fd41c/66de30ccf3500ac59b739099_Aeonik-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Aeonik';
  src: url('https://cdn.prod.website-files.com/66de2f1572bcf866302fd41c/66de30cc396af3b5cc39c4b6_Aeonik-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

/* ---------- Palette ---------- */
:root {
  /* Brand palette: #F1EFEE, #4E3218, #C48245, #A27732 */
  --navy: #000000;        /* black: text and dark details */
  --brown: #4e3218;       /* dark brown: main buttons */
  --grey: #f1efee;        /* warm off-white: page background */
  --highlight: #c48245;   /* copper: dots, underlines, markers, borders */
  --accent-text: #a27732; /* gold brown: small accent text, hover, focus */
  --muted: #000000;       /* all text is black */
  --line: rgba(78, 50, 24, .18);
  --paper: var(--grey);
  --paper-alt: var(--grey);
  --ink: var(--navy);
  --text: var(--muted);
  --accent: var(--highlight);
  --accent-hover: #c48245; /* copper: every hover state */
  --navy-rgb: 78, 50, 24;
  --font-display: 'Aeonik', Arial, sans-serif;
  --font-body: 'Aeonik', Arial, sans-serif;
  --gutter: 32px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--grey);
  color: var(--navy);
  font: 400 14px/1.4 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--highlight); color: var(--navy); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 5px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 200; padding: 10px 16px; background: var(--navy); color: var(--grey); }
.skip-link:focus { top: 12px; }
.logo { display: block; line-height: 0; }
.logo img { display: block; width: auto; height: 60px; }
.menu__head .logo img { height: 46px; }
.wordmark { display: block; line-height: 0; }
.wordmark img { display: block; width: 150px; height: auto; }
.eyebrow { font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.icon-btn { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; background: none; border: 0; font-size: 11px; letter-spacing: .08em; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; border: 1px solid var(--brown); border-radius: 100vw; font-size: 11px; letter-spacing: .06em; background: var(--brown); color: var(--grey); transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--navy); }
.flink:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Minimal storefront ---------- */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  padding: 0 var(--gutter);
}
.site-header .icon-btn { justify-self: start; }
.site-header__link { display: inline-flex; align-items: center; gap: 8px; justify-self: end; min-height: 44px; font-size: 11px; letter-spacing: .08em; }
.site-header__link::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--highlight); }
.nav a:hover, .nav button:hover { color: var(--accent-hover); }
.products { padding: 4px var(--gutter) 72px; }
.catalogue-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 60px; margin-bottom: 12px; }
.collection-label { display: flex; align-items: baseline; gap: 9px; }
.collection-label h1 { font-size: 11px; font-weight: 400; letter-spacing: .08em; }
#product-count { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.search { position: relative; width: 205px; }
.search input { width: 100%; height: 40px; padding: 0 28px 0 0; background: none; border: 0; border-bottom: 1px solid transparent; border-radius: 0; font-size: 10px; letter-spacing: .08em; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input:focus { outline: none; border-bottom-color: var(--highlight); }
.search svg { position: absolute; right: 0; top: 12px; pointer-events: none; }
.search input::-webkit-search-cancel-button { margin-right: 4px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 50px 20px; }
.tile { display: flex; flex-direction: column; align-items: center; min-width: 0; gap: 16px; }
.tile__frame { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1 / 1.12; overflow: hidden; }
.tile__image { position: absolute; width: 72%; height: 72%; left: 14%; top: 14%; display: block; object-fit: cover; }
.tile__image--primary { z-index: 1; object-fit: contain; filter: drop-shadow(6px 12px 14px rgba(78, 50, 24, .14)); }
.tile__image--secondary { z-index: 2; opacity: 0; transition: opacity .18s ease; }
.lbl { font-size: 11px; font-weight: 400; letter-spacing: .05em; text-align: center; }
.tile__number { margin-right: 8px; color: var(--muted); font-size: 9px; }
.tile.has-secondary:focus-visible .tile__image--secondary { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .tile.has-secondary:hover .tile__image--secondary { opacity: 1; }
  .tile:hover .lbl { color: var(--accent-hover); }
}
.grid__empty { padding: 80px 0; text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- Material information pages ---------- */
.product-breadcrumb { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; padding: 24px var(--gutter) 32px; font-size: 10px; letter-spacing: .06em; }
.product-breadcrumb a:hover { color: var(--accent-hover); }
.product-breadcrumb > span { color: var(--muted); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: clamp(40px, 6vw, 100px); padding: 0 var(--gutter) 64px; }
.product-gallery { position: sticky; top: 24px; min-width: 0; }
.product-gallery__figure { margin: 0; }
/* Fixed stage height stops the page jumping; each image keeps its own proportions inside it. */
.product-gallery__stage { display: flex; align-items: center; justify-content: center; height: min(72vh, 760px); }
.product-gallery__image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; box-shadow: 8px 16px 32px rgba(78, 50, 24, .07); }
.product-gallery__image.is-cutout { box-shadow: none; filter: drop-shadow(8px 16px 20px rgba(78, 50, 24, .16)); }
.product-gallery__caption { display: flex; justify-content: flex-end; gap: 16px; padding: 16px 0; color: var(--muted); font-size: 9px; letter-spacing: .06em; }
.product-gallery__credit { margin: -8px 0 12px; color: var(--muted); font-size: 9px; letter-spacing: .04em; }
.product-gallery__credit a { text-decoration: underline; text-underline-offset: 3px; }
.product-gallery__credit a:hover { color: var(--accent-hover); }
.product-gallery__thumbs { display: flex; gap: 12px; margin-top: 4px; }
.product-gallery__thumb { display: block; flex: none; height: 74px; border: 1px solid var(--line); padding: 4px; background: transparent; }
.product-gallery__thumb[aria-pressed="true"] { border-color: var(--highlight); }
.product-gallery__thumb img { display: block; width: auto; height: 64px; }
.product-summary { min-width: 0; padding-top: 24px; }
.product-summary__meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 28px; color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.product-summary__meta > :first-child { color: var(--navy); }
.product-summary h1 { max-width: 600px; margin-bottom: 24px; font-size: clamp(34px, 3.8vw, 58px); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; overflow-wrap: anywhere; }
.product-summary__lede { max-width: 480px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.variant-picker { margin-top: 32px; }
.variant-picker__label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.variant-picker__options { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.variant-option {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
  text-decoration: underline;
  text-decoration-color: var(--highlight);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color .18s ease;
}
.variant-option:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
.variant-option[aria-current="page"] { color: var(--navy); font-weight: 500; text-decoration-thickness: 2px; }
/* Enquiry note (e.g. the aluminium wood grain range): quiet hairlines, a large figure and a text link. */
.finish-callout { max-width: 520px; margin-top: 28px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.finish-callout__stats { display: flex; flex-wrap: wrap; gap: 16px 44px; }
.finish-callout__stat { display: flex; align-items: center; gap: 18px; }
.finish-callout__figure { font: 400 46px/.9 var(--font-display); letter-spacing: -.03em; }
.finish-callout__title { max-width: 150px; font-size: 10px; line-height: 1.4; letter-spacing: .06em; }
.finish-callout__link { display: inline-flex; gap: 8px; margin-top: 16px; font-size: 10px; letter-spacing: .06em; text-decoration: underline; text-decoration-color: var(--highlight); text-underline-offset: 5px; }
.finish-callout__link:hover { color: var(--accent-hover); }
.product-summary__pricing { margin: 28px 0 16px; font-size: 10px; letter-spacing: .08em; }
.product-price { max-width: 520px; margin: 28px 0 20px; }
.product-price__label { margin: 0 0 10px; font-size: 10px; letter-spacing: .08em; }
.product-price__figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0; font-size: 13px; }
.product-price__figure strong { font: 400 34px/1 var(--font-display); letter-spacing: -.02em; }
.product-price__figure--alt { margin-top: 6px; }
.product-price__figure--alt strong { font-size: 20px; }
.product-price__note { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.product-actions .btn { gap: 16px; }
/* Unavailable (samples out of stock): greyed out, note shown on hover, focus or tap. */
.btn--unavailable, .btn--unavailable:hover { position: relative; border-color: #d9d5d2; background: #d9d5d2; color: #7d7772; cursor: not-allowed; }
.btn__note { position: absolute; bottom: calc(100% + 10px); left: 50%; z-index: 5; padding: 8px 12px; border-radius: 4px; background: var(--navy); color: var(--grey); font-size: 10px; letter-spacing: .04em; line-height: 1.3; white-space: nowrap; text-transform: none; pointer-events: none; opacity: 0; visibility: hidden; transform: translate(-50%, 4px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.btn__note::after { content: ""; position: absolute; top: 100%; left: 50%; border: 5px solid transparent; border-top-color: var(--navy); transform: translateX(-50%); }
.btn--unavailable:hover .btn__note, .btn--unavailable:focus-visible .btn__note, .btn--unavailable.is-open .btn__note { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.btn--unavailable.is-dismissed .btn__note { opacity: 0; visibility: hidden; }
.btn--outline { border-color: var(--navy); background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--navy); }
.product-details { border-top: 1px solid var(--line); }
.product-details details { border-bottom: 1px solid var(--line); }
.product-details summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 10px; letter-spacing: .06em; list-style: none; cursor: pointer; }
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary::after { content: '+'; color: var(--highlight); font-size: 18px; line-height: 1; }
.product-details details[open] > summary::after { content: '−'; }
.product-details__body { padding: 0 0 24px; font-size: 13px; line-height: 1.75; color: var(--muted); }
.product-details__body dl { display: grid; gap: 12px; margin: 24px 0 0; }
.product-details__body dl > div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 20px; }
.product-details__body dt { color: var(--navy); }
.product-details__body dd { margin: 0; }
.product-details__body p + p, .product-details__body ul + p, .product-details__body .product-details__table-wrap + ul { margin-top: 12px; }
.product-details__body h3, .product-details__body h4 { margin: 28px 0 10px; color: var(--navy); font-size: 10px; font-weight: 400; letter-spacing: .06em; }
.product-details__body h4 { margin-top: 18px; letter-spacing: .02em; font-size: 12px; }
.product-details__body > h3:first-child { margin-top: 0; }
.product-details__body ul { margin: 10px 0 0; padding-left: 18px; }
.product-details__body li + li { margin-top: 6px; }
.product-details__body li::marker { color: var(--highlight); }
.product-details__body strong { color: var(--navy); font-weight: 500; }
.product-details__note { font-size: 11px; line-height: 1.6; }
.product-details__body .product-details__note { margin-top: 18px; }
.product-details__table-wrap { margin-top: 14px; overflow-x: auto; }
.product-details__table { width: 100%; min-width: 360px; border-collapse: collapse; font-size: 12px; line-height: 1.5; }
.product-details__table th, .product-details__table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.product-details__table thead th { color: var(--navy); font-size: 10px; font-weight: 400; letter-spacing: .06em; border-bottom-color: var(--navy); }
.product-details__table tbody th { font-weight: 400; color: var(--navy); }
/* Full-width installation & care area below the product */
.product-info { padding: 0 var(--gutter) 64px; }
.product-info__title { margin-bottom: 20px; font-size: 10px; font-weight: 400; letter-spacing: .06em; }
.product-info > .product-details__note { max-width: 760px; margin-top: 20px; color: var(--muted); }
.product-details__body--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); }
.product-details__col > h3:first-child { margin-top: 0; }
.product-details__body--cols > .product-details__span { grid-column: 1 / -1; }
.product-details__callout { margin-bottom: 28px; padding: 14px 16px; border-left: 2px solid var(--highlight); background: rgba(255, 255, 255, .45); color: var(--navy); }
/* Interactive 3D model in place of the product image */
.product-gallery__stage--model { position: relative; display: block; }
/* Profile switcher for products with one viewer per profile; matches the X-series viewer's controls. */
.model-nav { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; transform: translateY(-50%); border: 1px solid var(--navy); border-radius: 50%; background: transparent; color: var(--navy); font-size: 18px; line-height: 1; transition: background-color .18s ease, border-color .18s ease; }
.model-nav:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.model-nav--prev { left: 4px; }
.model-nav--next { right: 4px; }
.model-dots { position: absolute; top: 12px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.model-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(78, 50, 24, .28); transition: background-color .18s ease; }
.model-dots button:hover, .model-dots button[aria-pressed="true"] { background: var(--accent-hover); }
/* Hidden until js/product.js has themed the viewer; the animation shows it after 4s if that never happens. */
@keyframes model-failsafe { to { opacity: 1; } }
.product-gallery__model { transition: opacity .3s ease; }
.product-gallery__model.is-loading { opacity: 0; animation: model-failsafe 0s 4s forwards; }
.product-gallery__model { display: block; width: 100%; height: 100%; border: 0; background: transparent; color-scheme: light; }
.product-gallery__caption--model { justify-content: space-between; align-items: center; }
.product-gallery__hint { margin-top: -6px; font-size: 11px; line-height: 1.5; }
.product-gallery__spec { margin: -6px 0 12px; font-size: 13px; line-height: 1.5; }
/* Technical drawings in Profiles & fixing */
.profile-block + .profile-block { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.profile-block > h3:first-child { margin-top: 0; }
.drawing { margin: 24px 0 0; }
.drawing__frame { overflow-x: auto; }
.drawing svg { display: block; width: 100%; height: auto; }
.drawing--wide svg { min-width: 620px; max-width: 1040px; }
.drawing--layout svg { max-width: 560px; }
.drawing figcaption { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.profile-block__fixing { display: grid; grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); align-items: start; gap: 28px clamp(32px, 5vw, 72px); margin-top: 28px; }
.drawing--section { margin-top: 0; }
.profile-block__notes > h4:first-child { margin-top: 0; }
.drawing--sheet { margin-top: 0; max-width: 960px; }
.drawing--sheet img { display: block; width: 100%; min-width: 560px; height: auto; border: 1px solid var(--line); background: #fff; }
.product-details__body--install > .drawing--sheet + h3 { margin-top: 32px; }
.product-details__body--install > ul + p { margin-top: 16px; }
.product-details__body--install > h3 + .drawing--sheet { margin-top: 4px; }
.product-details__body--install > .drawing--sheet + ul { margin-top: 20px; }
.product-details__body--install > .drawing--sheet:first-child { margin-top: 0; }
.product-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin: 0 var(--gutter); padding: 24px 0; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .04em; }
.product-pagination > span { color: var(--muted); }
.product-pagination a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.product-pagination a:last-child { justify-self: end; text-align: right; }
.product-pagination a:hover { color: var(--accent-hover); }
.related-products { padding: 40px var(--gutter) 72px; }
.related-products__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; font-size: 10px; letter-spacing: .06em; }
.related-products__head h2 { font-size: inherit; font-weight: 400; }
.related-products__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related-products .tile__frame { aspect-ratio: 1; }

/* ---------- Support pages: request a sample, get a quote, shipping ---------- */
.text-link { text-decoration: underline; text-decoration-color: var(--highlight); text-underline-offset: 4px; }
.text-link:hover { color: var(--accent-hover); }
.page-hero { padding: 8px var(--gutter) 48px; max-width: 900px; }
.page-hero__eyebrow { margin-bottom: 20px; color: var(--navy); font-size: 10px; letter-spacing: .06em; }
.page-hero h1 { margin-bottom: 20px; font-size: clamp(34px, 3.8vw, 58px); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; }
.page-hero__lede { max-width: 560px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: clamp(40px, 6vw, 100px); padding: 0 var(--gutter) 72px; }
.enquiry-form { min-width: 0; }
.form-section { margin: 0 0 40px; padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.form-section legend { float: left; width: 100%; margin-bottom: 16px; padding: 0; font-size: 10px; letter-spacing: .06em; }
.form-section legend + * { clear: both; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label, .form-label { color: var(--navy); font-size: 12px; }
.form-required { color: var(--navy); }
.form-hint { color: var(--muted); font-size: 11px; line-height: 1.5; }
.form-section > .form-hint { margin-bottom: 14px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(78, 50, 24, .35);
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.4;
}
.form-field textarea { min-height: 96px; resize: vertical; }
.form-field select { appearance: none; background: 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='%23000000'/%3E%3C/svg%3E") no-repeat right 2px center; padding-right: 20px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-bottom-color: var(--highlight); box-shadow: 0 1px 0 var(--highlight); }
.was-validated .form-field :invalid { border-bottom-color: #b3261e; }
.material-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.material-option { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 12px; border: 1px solid var(--line); font-size: 12px; line-height: 1.35; cursor: pointer; transition: border-color .18s ease; }
.material-option:hover { border-color: var(--accent-hover); }
.material-option:has(:checked) { border-color: var(--highlight); box-shadow: inset 0 0 0 1px var(--highlight); }
.material-option:has(:focus-visible) { outline: 2px solid var(--highlight); outline-offset: 3px; }
.material-option input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--accent-text); }
.material-option img { flex: none; width: 36px; height: 46px; object-fit: contain; }
.was-validated .material-options:has(:invalid) .material-option { border-color: #b3261e; }
.form-choices { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 6px; }
.form-choices label { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 13px; cursor: pointer; }
.form-choices input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent-text); }
.form-estimate:not(:empty) { padding: 14px 16px; border-left: 2px solid var(--highlight); background: rgba(255, 255, 255, .45); color: var(--navy); font-size: 13px; line-height: 1.6; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 8px; }
.form-actions .btn { gap: 16px; }
.form-actions .btn:disabled { opacity: .5; cursor: progress; }
.form-status { margin-top: 24px; padding: 18px 20px; border-left: 2px solid var(--highlight); background: rgba(255, 255, 255, .45); font-size: 13px; line-height: 1.7; }
.form-status p + p { margin-top: 6px; }
.form-status:focus { outline: none; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-aside { position: sticky; top: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.7; color: var(--muted); }
.form-aside .eyebrow { display: block; margin-bottom: 16px; color: var(--navy); font-size: 10px; font-weight: 400; letter-spacing: .06em; }
.form-steps { margin: 0 0 28px; padding: 0; list-style: none; counter-reset: step; }
.form-steps li { position: relative; padding: 0 0 14px 34px; counter-increment: step; }
.form-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 1px; color: var(--navy); font-size: 10px; letter-spacing: .06em; }
.form-aside__note { margin-bottom: 20px; padding: 14px 16px; border-left: 2px solid var(--highlight); background: rgba(255, 255, 255, .45); color: var(--navy); }
.form-aside__link + .form-aside__link { margin-top: 6px; }
.form-aside__contact { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(40px, 6vw, 100px); padding: 0 var(--gutter); }
.info-block { padding: 24px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.75; }
.info-block--wide { grid-column: 1 / -1; }
.info-block h2 { margin-bottom: 14px; color: var(--navy); font-size: 10px; font-weight: 400; letter-spacing: .06em; }
.info-block p + p { margin-top: 10px; }
.info-block ul { margin: 0; padding-left: 18px; }
.info-block li + li { margin-top: 6px; }
.info-block li::marker { color: var(--highlight); }
.info-block strong { color: var(--navy); font-weight: 500; }
.info-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin: 0 var(--gutter); padding: 32px 0 72px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.info-cta .product-actions { margin: 0; }

/* ---------- Legal and AI info pages ---------- */
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); align-items: start; gap: clamp(40px, 6vw, 100px); padding: 0 var(--gutter) 72px; }
.legal-toc { position: sticky; top: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; }
.legal-toc .eyebrow { margin-bottom: 14px; color: var(--navy); font-size: 10px; letter-spacing: .06em; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: 12px; padding: 5px 0; color: var(--muted); }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; width: 18px; color: var(--navy); font-size: 10px; line-height: 1.8; }
.legal-toc a:hover { color: var(--accent-hover); }
.legal-body { min-width: 0; max-width: 780px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.legal-meta { padding: 24px 0 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.legal-section { padding: 24px 0 32px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.legal-section h2 { margin-bottom: 14px; color: var(--navy); font-size: 10px; font-weight: 400; letter-spacing: .06em; }
.legal-section p + p, .legal-section ul + p, .legal-section p + ul, .legal-section dl + p { margin-top: 12px; }
.legal-section ul { margin: 0; padding-left: 18px; }
.legal-section li + li { margin-top: 6px; }
.legal-section li::marker { color: var(--highlight); }
.legal-section strong { color: var(--navy); font-weight: 500; }
.legal-table { min-width: 560px; }
.legal-table td:first-child { color: var(--navy); font-size: 10px; white-space: nowrap; }
.legal-specs { display: grid; gap: 10px; margin: 16px 0 0; }
.legal-specs > div { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: 20px; }
.legal-specs dt { color: var(--navy); }
.legal-specs dd { margin: 0; }

/* ---------- Menu pop-up ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
}
.menu[hidden] { display: none; }

.menu__panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  overflow-y: auto;
  animation: menuin .28s ease-out;
}

.menu__backdrop {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: rgba(var(--navy-rgb), .55);
  cursor: pointer;
  animation: fadein .28s ease-out;
}

.menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}
.menu__spacer { width: 72px; }

.menu__body {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 56px;
  padding: 56px var(--gutter) 40px;
}

.menu__primary {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu__products {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
}
.menu__products .eyebrow { margin-bottom: 14px; }

.mlink {
  display: flex;
  align-items: center;
  min-height: 40px;
  font: 400 15px/1.3 var(--font-body);
  color: var(--ink);
  transition: color .25s;
}
.mlink:hover { color: var(--accent-hover); }

.mlink--lg {
  justify-content: space-between;
  min-height: 0;
  padding: 10px 0;
  font: 400 32px/1.1 var(--font-display);
  letter-spacing: -.01em;
}
.mlink--lg span { font: 400 16px/1 var(--font-body); }

.menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 24px var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--paper-alt);
}
.menu__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 400 13px/1.3 var(--font-body);
  color: var(--text);
}

@keyframes menuin {
  from { transform: translateX(-28px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- Compact footer joins the full footer at the end of the page ---------- */
main { min-height: calc(100svh - 136px); }
.sticky-bar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 0 var(--gutter);
  background: var(--grey);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sticky-bar__group { display: flex; align-items: center; gap: 28px; }
.sticky-bar__link { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; font-size: 10px; letter-spacing: .06em; white-space: nowrap; }
.sticky-bar__link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 4px; }
.sticky-bar__link--accent { color: var(--navy); }
.sticky-bar__link--strong { font-weight: 500; }
.sticky-bar__link--strong span { color: var(--navy); }

/* ---------- Support below the collection ---------- */
.site-footer { padding: 48px var(--gutter) 0; }
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-bottom: 48px; }
.fcol { display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.fcol .eyebrow { margin-bottom: 6px; }
.fcol__blurb { max-width: 200px; color: var(--muted); line-height: 1.6; }
.fcol--brand { gap: 16px; }
.fcol__address { color: var(--muted); }
.site-footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .06em; color: var(--muted); }
.site-footer__legal-links { display: flex; gap: 24px; }

@media (min-width: 1700px) {
  .grid { gap: 64px 32px; }
  .products { padding-bottom: 100px; }
}
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-layout { gap: 32px; }
  .product-summary h1 { font-size: 36px; }
}
@media (max-width: 700px) {
  :root { --gutter: 18px; }
  .site-header { min-height: 72px; }
  main { min-height: calc(100svh - 124px); }
  .sticky-bar__group { gap: 16px; }
  .sticky-bar__link { font-size: 9px; letter-spacing: .02em; }
  .sticky-bar__link--secondary { display: none; }
  .logo img { height: 50px; }
  .catalogue-bar { gap: 12px; min-height: 52px; }
  .search { width: 160px; }
  .search input { font-size: 9px; }
  .collection-label h1 { font-size: 10px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 14px; }
  .tile { gap: 10px; }
  .lbl { font-size: 10px; letter-spacing: .02em; }
  .tile__number { display: none; }
  .products { padding-bottom: 48px; }
  .product-breadcrumb { padding: 16px var(--gutter) 24px; font-size: 9px; gap: 8px; }
  .product-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 40px; }
  .product-gallery { position: static; }
  .product-gallery__stage { max-width: 480px; height: min(62svh, 520px); margin: 0 auto; }
  .product-gallery__stage--model { height: min(80svh, 600px); }
  .model-nav { top: 40%; width: 32px; height: 32px; font-size: 16px; }
  .product-summary { padding-top: 8px; }
  .product-summary__meta { margin-bottom: 20px; }
  .product-summary h1 { font-size: 36px; }
  .product-summary__lede { font-size: 14px; }
  .product-actions { gap: 10px; margin-bottom: 32px; }
  .product-actions .btn { flex: 1 1 140px; padding: 0 16px; gap: 8px; font-size: 10px; }
  .product-pagination { gap: 12px; font-size: 9px; }
  .product-pagination a { gap: 6px; }
  .related-products { padding: 32px var(--gutter) 48px; }
  .product-info { padding-bottom: 40px; }
  .page-hero { padding-bottom: 32px; }
  .page-hero h1 { font-size: 36px; }
  .page-hero__lede { font-size: 14px; }
  .form-layout { grid-template-columns: minmax(0, 1fr); padding-bottom: 48px; }
  .form-aside { position: static; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .material-options { grid-template-columns: minmax(0, 1fr); }
  .info-grid { grid-template-columns: minmax(0, 1fr); }
  .info-cta { padding-bottom: 48px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 48px; }
  .legal-toc { position: static; }
  .legal-specs > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .product-details__body--cols { grid-template-columns: minmax(0, 1fr); }
  .product-details__col + .product-details__col { margin-top: 28px; }
  .profile-block__fixing { grid-template-columns: minmax(0, 1fr); }
  /* Stacked figures: line the labels up in one column. */
  .finish-callout__stats { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 18px; }
  .finish-callout__stat { display: contents; }
  .drawing--section svg { max-width: 360px; margin: 0 auto; }
  .related-products__head { font-size: 9px; align-items: baseline; }
  .related-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .menu__body { padding-top: 32px; }
  .mlink--lg { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
