/* JAURA INTERIORS — site styles
   Layout concept: rooms seen through a window — thin "mullion" rules frame each section,
   generous stone ground, olive bands for the brand voice, data set in mono like a spec sheet. */
:root {
  --bg: #F3F2EE;
  --surface: #FFFFFF;
  --ink: #292C27;
  --muted: #555B4E;
  --olive: #68715B;
  --brass: #B28B64;
  --brass-ink: #7A5B3A;
  --line: #D9D7CF;
  --band: #68715B;
  --on-band: #FFFFFF;
  --slat-on-band: #E2C9A8;
  --focus: #7A5B3A;
  --f-display: "Jost", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  --f-body: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1C1E1A; --surface: #252822; --ink: #ECEBE6; --muted: #B3B7AA; --olive: #9AA48A;
    --brass: #C9A47E; --brass-ink: #D9B88F; --line: #3A3E35; --band: #3E4535; --on-band: #F3F2EE;
    --slat-on-band: #E2C9A8; --focus: #D9B88F; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1C1E1A; --surface: #252822; --ink: #ECEBE6; --muted: #B3B7AA; --olive: #9AA48A;
  --brass: #C9A47E; --brass-ink: #D9B88F; --line: #3A3E35; --band: #3E4535; --on-band: #F3F2EE;
  --slat-on-band: #E2C9A8; --focus: #D9B88F; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.eyebrow { font-family: var(--f-body); font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; }

/* Logo */
.logo svg { height: 40px; width: auto; display: block; }
.lg-ink { fill: var(--ink); }
.lg-stroke { stroke: var(--ink); }
.lg-slat { fill: var(--brass); }
.lg-div { fill: var(--ink); fill-opacity: 0.3; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: 14px; }
.logo { display: inline-flex; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 4px 26px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: 15px; letter-spacing: 0.04em; padding-block: 10px; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--brass); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; font-family: var(--f-body); font-size: 15px; font-weight: 500; letter-spacing: 0.06em; text-decoration: none; border: 1.5px solid var(--ink); background: var(--ink); color: var(--bg); cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.band .btn { border-color: var(--on-band); background: var(--on-band); color: var(--band); }
.band .btn:hover { background: transparent; color: var(--on-band); }
.band .btn.ghost { background: transparent; color: var(--on-band); }
.band .btn.ghost:hover { background: var(--on-band); color: var(--band); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--brass); padding-bottom: 2px; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 300; }
.section-head .lede { justify-self: end; }
@media (max-width: 820px) { .section-head { grid-template-columns: minmax(0, 1fr); } .section-head .lede { justify-self: start; } }
.rule { border-top: 1px solid var(--line); }

.band { background: var(--band); color: var(--on-band); --ink: var(--on-band); --brass: var(--slat-on-band); --muted: color-mix(in srgb, var(--on-band) 80%, var(--band)); --line: color-mix(in srgb, var(--on-band) 25%, var(--band)); }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 300; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--brass-ink); }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-figure { position: relative; margin: 0; border: 1px solid var(--line); padding: 14px; background: var(--surface); }
.hero-figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.hero-figure figcaption { position: absolute; left: 30px; bottom: 30px; background: var(--surface); color: var(--ink); padding: 8px 12px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Range grid */
.range { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.range a { background: var(--bg); text-decoration: none; display: flex; flex-direction: column; gap: 14px; padding: 20px 20px 26px; transition: background .2s; }
.range a:hover { background: var(--surface); }
.range img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.range h3 { font-size: 24px; font-weight: 400; }
.range p { color: var(--muted); font-size: 15px; }
.range .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
@media (max-width: 900px) { .range { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .range { grid-template-columns: minmax(0, 1fr); } }

/* Light scale */
.scale { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.scale button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px; border-right: 1px solid var(--line); min-height: 44px; }
.scale button:last-child { border-right: 0; }
.scale button:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.scale .pane { height: 120px; position: relative; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, #FBF6E9, #EFE4CC); }
.scale .pane::after { content: ""; position: absolute; inset: 0; background: #2C2F29; opacity: var(--shade, 0); transition: opacity .3s; }
.scale .pane.weave::after { background-image: repeating-linear-gradient(0deg, rgba(44,47,41,.9) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(44,47,41,.9) 0 1px, transparent 1px 3px); background-color: transparent; opacity: var(--shade); }
.scale .title { font-size: 19px; font-weight: 500; }
.scale .sub { color: var(--muted); font-size: 14px; }
.scale button[aria-pressed="true"] { background: var(--surface); box-shadow: inset 0 -3px 0 var(--brass); }
.scale-detail { border: 1px solid var(--line); border-top: 0; padding: 24px 20px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px 40px; background: var(--surface); }
.scale-detail ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.scale-detail li a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.scale-detail li a:hover { border-color: var(--ink); }
@media (max-width: 820px) { .scale { grid-template-columns: repeat(2, minmax(0, 1fr)); } .scale button:nth-child(2) { border-right: 0; } .scale button:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .scale-detail { grid-template-columns: minmax(0, 1fr); } }

/* Audiences */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.split > div { background: var(--band); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.split h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 300; }
.split ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
@media (max-width: 760px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Spec showcase */
.spec-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.spec-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
@media (max-width: 860px) { .spec-feature { grid-template-columns: minmax(0, 1fr); } }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-table th { font-weight: 400; color: var(--muted); font-size: 15px; padding-right: 20px; width: 46%; }
.spec-table td { font-family: var(--f-mono); font-size: 14px; font-variant-numeric: tabular-nums; }

/* Footer */
.site-footer { padding-block: 56px 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.footer-grid h4 { margin: 0 0 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.placeholder { font-family: var(--f-mono); font-size: 0.85em; background: color-mix(in srgb, var(--brass) 18%, transparent); padding: 1px 6px; }

/* Products page */
.page-head { padding-block: clamp(40px, 6vw, 72px) 32px; display: grid; gap: 20px; }
.page-head h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 300; }
.filters { display: grid; gap: 14px; padding-block: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-row .label { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); min-width: 120px; }
.chip { font: inherit; font-size: 15px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.result-count { font-size: 15px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; padding-block: 40px 96px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.card { display: flex; flex-direction: column; gap: 14px; }
.card-media { position: relative; border: 1px solid var(--line); background: var(--surface); padding: 10px; cursor: pointer; display: block; width: 100%; text-align: left; font: inherit; color: inherit; }
.card-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s; }
.card-media:hover img { transform: scale(1.015); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h3 { font-size: 26px; font-weight: 400; }
.card .cat { font-size: 14px; color: var(--muted); }
.card p { font-size: 15px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--line); }
.tag.bo { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tag.lf { background: var(--surface); }
.tag.screen { border-style: dashed; }
.keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.keys div { display: grid; gap: 2px; min-width: 0; }
.keys dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.keys dd { margin: 0; font-family: var(--f-mono); font-size: 13px; overflow-wrap: anywhere; }
.card-actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.linkbtn { font: inherit; font-size: 15px; font-weight: 500; background: none; border: 0; padding: 10px 0; color: var(--ink); cursor: pointer; border-bottom: 1.5px solid var(--brass); }
.empty { padding: 60px 0; text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* Detail dialog */
dialog.detail { border: 0; padding: 0; width: min(1080px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: var(--bg); color: var(--ink); }
dialog.detail::backdrop { background: rgba(20, 22, 18, 0.6); }
.detail-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.detail-media { background: var(--surface); padding: 20px; display: grid; gap: 14px; align-content: start; }
.detail-media .main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.detail-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.detail-thumbs button { padding: 0; border: 1px solid var(--line); background: none; cursor: pointer; }
.detail-thumbs button[aria-pressed="true"] { border-color: var(--ink); outline: 1px solid var(--ink); }
.detail-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.detail-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; overflow-y: auto; }
.detail-body h2 { font-size: 40px; font-weight: 300; }
.detail-close { position: sticky; top: 0; align-self: flex-end; font: inherit; font-size: 15px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); min-height: 44px; padding: 0 16px; cursor: pointer; }
.variant-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.colours { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.colours li { font-family: var(--f-mono); font-size: 13px; border: 1px solid var(--line); padding: 4px 8px; }
.note { font-size: 14px; color: var(--muted); border-left: 2px solid var(--brass); padding-left: 12px; }
@media (max-width: 820px) { .detail-inner { grid-template-columns: minmax(0, 1fr); } .detail-media .main { aspect-ratio: 4 / 3; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px 72px; padding-block: 24px 96px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); margin-bottom: 28px; }
.audience button { font: inherit; text-align: left; padding: 18px 20px; background: transparent; color: var(--ink); border: 0; cursor: pointer; display: grid; gap: 4px; min-height: 44px; }
.audience button + button { border-left: 1px solid var(--line); }
.audience button[aria-pressed="true"] { background: var(--surface); box-shadow: inset 0 -3px 0 var(--brass); }
.audience strong { font-weight: 500; font-size: 18px; }
.audience span { font-size: 14px; color: var(--muted); }
form.enquiry { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 600px) { .field-row { grid-template-columns: minmax(0, 1fr); } .audience { grid-template-columns: minmax(0, 1fr); } .audience button + button { border-left: 0; border-top: 1px solid var(--line); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; letter-spacing: 0.04em; }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 12px 14px; min-height: 48px; width: 100%; border-radius: 0; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: #A3412F; }
.error { font-size: 13px; color: #A3412F; }
:root[data-theme="dark"] .error, :root[data-theme="dark"] .field [aria-invalid="true"] { color: #F0A493; border-color: #F0A493; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .error { color: #F0A493; } :root:not([data-theme="light"]) .field [aria-invalid="true"] { border-color: #F0A493; } }
.checks { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.checks legend { font-size: 14px; font-weight: 500; letter-spacing: 0.04em; margin-bottom: 8px; padding: 0; }
.checks label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); cursor: pointer; font-size: 15px; }
.checks input { accent-color: var(--olive); width: 18px; height: 18px; }
.success { border: 1px solid var(--line); background: var(--surface); padding: 28px; display: grid; gap: 14px; }
.aside { display: grid; gap: 28px; }
.aside-block { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 8px; }
.aside-block h3 { font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.copyline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copybtn { font: inherit; font-size: 13px; padding: 6px 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; min-height: 36px; }

/* Trade page */
.trade-who > div { background: var(--bg); padding: 26px 22px; display: grid; gap: 10px; align-content: start; }
.trade-who { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trade-who h3 { font-size: 22px; }
.trade-who p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .trade-who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trade-who { grid-template-columns: minmax(0, 1fr); } }
.trade-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.trade-facts > div { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 6px; }
.trade-facts .big { font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 44px); font-weight: 300; line-height: 1.1; }
@media (max-width: 860px) { .trade-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .trade-facts { grid-template-columns: minmax(0, 1fr); } }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.range-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.range-table th, .range-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.range-table thead th { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.range-table td { font-size: 15px; }
.range-table td.mono { font-family: var(--f-mono); font-size: 13px; }
.range-table a { font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--brass); }
.range-table tbody tr:last-child td { border-bottom: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { border-top: 1.5px solid var(--ink); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }
