/* =========================================================================
   Aruna Design
   Ivory gallery by day, dark rooms where you talk to a person.
   ========================================================================= */

/* ---------- fonts (self-hosted) ---------- */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-latin-opsz-normal.woff2) format('woff2-variations'), url(fonts/newsreader-latin-opsz-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-latin-ext-opsz-normal.woff2) format('woff2-variations'), url(fonts/newsreader-latin-ext-opsz-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/hanken-grotesk-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/hanken-grotesk-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/hanken-grotesk-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/hanken-grotesk-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }


/* Switzer (Fontshare, ITF Free Font License): the one family for every word on the site, roman and
   italic, variable 100-900. JetBrains Mono is the second voice, kept to small uppercase labels. */
@font-face { font-family: 'Switzer'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/Switzer-Variable.woff2) format('woff2-variations'), url(fonts/Switzer-Variable.woff2) format('woff2'); }
@font-face { font-family: 'Switzer'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(fonts/Switzer-VariableItalic.woff2) format('woff2-variations'), url(fonts/Switzer-VariableItalic.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Russian: Switzer has no Cyrillic, so Inter (variable, OFL, fonts/inter-LICENSE.txt) sits second in
   the stack and only its Cyrillic subset is loaded, on demand, through unicode-range. size-adjust
   brings Inter's x-height (0.546) down to Switzer's (0.531) so a Russian word sits at the same size
   as the Latin around it. JetBrains Mono gets its own Cyrillic subset for the caps labels. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; size-adjust: 97%; src: url(fonts/inter-cyrillic-wght-normal.woff2) format('woff2-variations'), url(fonts/inter-cyrillic-wght-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 100 900; font-display: swap; size-adjust: 97%; src: url(fonts/inter-cyrillic-wght-italic.woff2) format('woff2-variations'), url(fonts/inter-cyrillic-wght-italic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(fonts/Satoshi-Variable.woff2) format('woff2-variations'), url(fonts/Satoshi-Variable.woff2) format('woff2'); }

/* ---------- tokens ---------- */
:root {
  /* Both schemes on purpose: Samsung Internet recolours a page that does not declare dark support
     (its forced dark mode turned the gold logo brown). The dark rules below still set `dark` themselves. */
  color-scheme: light dark;

  /* day */
  --paper: #F4F0E9;
  --raised: #FAF8F4;
  --ink: #1B1916;
  --ink-hover: #3A3631;
  --ink-2: #47423B;
  --muted: #6A6359;
  --placeholder: #6F685E;
  --line: #DDD6CA;          /* decorative hairline only */
  --line-strong: #8A8276;   /* control boundaries (3.3:1) */
  --error: #9A2A1C;

  /* night */
  --night: #171513;
  --night-2: #221F1C;
  --on-night: #EEE9E1;
  --on-night-2: #CFC7BB;
  --on-night-muted: #A0988C;
  --line-night: #36322D;
  --line-night-strong: #7E766B;
  --error-night: #E8A18F;

  /* semantic (re-pointed inside .on-dark) */
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-muted: var(--muted);
  --ph: var(--placeholder);
  --rule: var(--line);
  --rule-ui: var(--line-strong);
  --err: var(--error);
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-hover: var(--ink-hover);
  --focus: var(--ink);

  /* plates (image placeholders) */
  --falloff: linear-gradient(172deg, rgb(255 255 255 / .10) 0%, rgb(255 255 255 / 0) 45%, rgb(0 0 0 / .10) 100%);
  --tone-interior: #2B2723;
  --tone-aluminium: #3B3936;
  --tone-steel: #34363A;
  --tone-wood-alu: #4D443B;
  --tone-wood: #6B5D4F;
  --tone-veneer: #8B7B68;
  --tone-laminate: #C3BBAE;
  --tone-glass: #B7BCBA;
  --tone-lacquer: #D6D0C6;
  --tone-map: #DCD6CC;
  --tone-room: #4A4038;
  --tone-salon: radial-gradient(95% 85% at 28% 30%, #5A4B3E 0%, #3A3029 42%, #1E1916 88%);

  --shadow-float: 0 24px 48px -24px rgb(27 25 22 / .30);
  --tint: rgb(27 25 22 / .04);              /* faint fill for pills */
  --flag-bg: rgb(244 240 233 / .85);        /* small labels over photos */
  --frame-a: #E6DFD3; --frame-b: #F1ECE4; --frame-c: #F6F3EE;  /* product frame backdrop */
  --scrim: rgb(27 25 22 / .45);

  /* type */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --display: 'Switzer', 'Inter', 'Helvetica Neue', Arial, sans-serif;   /* Switzer has no Cyrillic: the self-hosted Inter subset carries Russian */
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --sans: 'Switzer', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --brand-sans: var(--sans);
  --gold: #D2AB67; --gold-2: #E6BC80; --bronze: #51402C;
  /* Scale: ratio 1.5 at desktop (16 > 24 > 36 > 54 > 81 > 122 > 182px), compressed on phones.
     Tracking follows size: the larger the type, the tighter (optical tracking); caps open up. */
  --t-display: clamp(3.5rem, .6rem + 9.4vw, 11.375rem);
  --t-xl: clamp(3.25rem, .7rem + 7.6vw, 9.5rem);
  --t-h1: clamp(2.5rem, 1rem + 4.6vw, 5.0625rem);
  --t-h2: clamp(2rem, 1.1rem + 2.6vw, 3.375rem);
  --t-h3: clamp(1.5rem, 1.2rem + .9vw, 2.25rem);
  --t-title: clamp(1.25rem, 1.1rem + .4vw, 1.5rem);
  --t-section: clamp(3.5rem, .6rem + 9.4vw, 11.375rem);
  --track-display: -.055em;  /* 100px and up */
  --track-head: -.04em;      /* 48-100px */
  --track-sub: -.025em;      /* 24-48px */
  --track-body: -.005em;
  --track-caps: .18em;       /* uppercase labels, 10-12px */
  --t-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);

  /* space & layout */
  --section: clamp(48px, 6vw, 104px);
  --page-top: clamp(28px, 4.2vw, 68px);
  --gutter: clamp(18px, 2.8vw, 44px);
  --gap: clamp(14px, 1.7vw, 28px);
  --max: 1760px;
  --measure: 68ch;
  --header-h: 72px;

  /* motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.45, 0, .2, 1);
  --d1: 160ms;
  --d2: 240ms;
  --d3: 480ms;
  --d4: 800ms;
  --d-fade: 640ms;                          /* photographs settling in */
  --ease-long: cubic-bezier(.16, 1, .3, 1); /* long, weighted tail for slow zooms */
}
@media (max-width: 1199px) { :root { --header-h: 60px; } }

/* Dark theme: the day primitives re-point to the night set, so every rule that uses --paper,
   --ink, --line or --muted follows. Chosen with the header toggle (data-theme) or by the system. */
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: var(--night);
  --raised: var(--night-2);
  --ink: var(--on-night);
  --ink-hover: #FFFFFF;
  --ink-2: var(--on-night-2);
  --muted: var(--on-night-muted);
  --placeholder: var(--on-night-muted);
  --line: var(--line-night);
  --line-strong: var(--line-night-strong);
  --error: var(--error-night);
  --shadow-float: 0 24px 48px -24px rgb(0 0 0 / .7);
  --tint: rgb(238 233 225 / .06);
  --flag-bg: rgb(23 21 19 / .72);
  --frame-a: #C9C0B2; --frame-b: #D8D1C5; --frame-c: #E1DBD1;
  --scrim: rgb(0 0 0 / .6);
  --tone-lacquer: #4A443C;
  --tone-laminate: #5A5349;
  --tone-map: #3C3732;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: var(--night);
    --raised: var(--night-2);
    --ink: var(--on-night);
    --ink-hover: #FFFFFF;
    --ink-2: var(--on-night-2);
    --muted: var(--on-night-muted);
    --placeholder: var(--on-night-muted);
    --line: var(--line-night);
    --line-strong: var(--line-night-strong);
    --error: var(--error-night);
    --shadow-float: 0 24px 48px -24px rgb(0 0 0 / .7);
    --tint: rgb(238 233 225 / .06);
    --flag-bg: rgb(23 21 19 / .72);
    --frame-a: #C9C0B2; --frame-b: #D8D1C5; --frame-c: #E1DBD1;
    --scrim: rgb(0 0 0 / .6);
    --tone-lacquer: #4A443C;
    --tone-laminate: #5A5349;
    --tone-map: #3C3732;
  }
}
/* Dark rooms stay a shade apart from a dark page. */
:root[data-theme="dark"] .on-dark { --bg: var(--night-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .on-dark { --bg: var(--night-2); } }

.on-dark {
  color-scheme: dark;
  --bg: var(--night);
  --fg: var(--on-night);
  --fg-2: var(--on-night-2);
  --fg-muted: var(--on-night-muted);
  --ph: var(--on-night-muted);
  --rule: var(--line-night);
  --rule-ui: var(--line-night-strong);
  --err: var(--error-night);
  --btn-bg: var(--on-night);
  --btn-fg: var(--night);
  --btn-hover: #FFFFFF;
  --focus: var(--on-night);
  background: var(--bg);
  color: var(--fg);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans); letter-spacing: var(--track-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; overflow-wrap: break-word; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
main:focus, [tabindex='-1']:focus { outline: none; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 12px 18px; background: var(--ink); color: var(--paper);
  font: 500 14px/1 var(--sans);
  transform: translateY(-200%); transition: transform var(--d2) var(--ease);
}
.skip:focus { transform: none; }
.noscript { padding: 24px var(--gutter); max-width: 72ch; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.section { padding-block: var(--section); }
.section--top { padding-top: var(--section); }

/* ---------- type ---------- */
.display, .xl, .h1, .h2, .h3, .title {
  font-family: var(--display); font-weight: 300; font-kerning: normal;
}
/* Weight rises as size falls, so every step carries the same visual colour on the page. */
.display { font-size: var(--t-display); line-height: .86; font-weight: 250; letter-spacing: var(--track-display); }
.xl { font-size: var(--t-xl); line-height: .88; font-weight: 250; letter-spacing: var(--track-display); }
.h1 { font-size: var(--t-h1); line-height: .95; letter-spacing: var(--track-head); }
.h2 { font-size: var(--t-h2); line-height: 1; letter-spacing: var(--track-head); }
.h3 { font-size: var(--t-h3); line-height: 1.1; font-weight: 350; letter-spacing: var(--track-sub); }
.title { font-size: var(--t-title); line-height: 1.2; font-weight: 450; letter-spacing: -.015em; }
.display em, .xl em, .h1 em, .h2 em, .h3 em { font-style: italic; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--fg-2); max-width: 40ch; }
.label {
  display: block;
  font: 400 11px/1.4 var(--mono); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--fg-muted);
}
.meta { font-size: 13px; line-height: 1.45; color: var(--fg-muted); }
.muted { color: var(--fg-muted); }
.num { font-variant-numeric: tabular-nums lining-nums; }

h1, h2, h3, .lead { text-wrap: balance; }
.prose p, .prose li, .fineprint { text-wrap: pretty; }
.prose { max-width: var(--measure); font-size: 17px; line-height: 1.7; color: var(--fg-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-family: var(--display); font-weight: 350; font-size: 1.75rem; line-height: 1.2; color: var(--fg); margin: 2.2em 0 .6em; }
.prose h3 { font: 500 16px/1.4 var(--sans); color: var(--fg); margin: 2em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .35em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--rule-ui); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { font-weight: 500; color: var(--fg); }
.table-scroll { overflow-x: auto; margin: 0 0 1.4em; }
.table-scroll table { min-width: 560px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); }
.prose th { font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); }

/* ---------- actions ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border: 1px solid var(--btn-bg); border-radius: 0; background: var(--btn-bg); color: var(--btn-fg);
  font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: background var(--d1), border-color var(--d1), color var(--d1), transform var(--d2) var(--ease);
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn--outline { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn--outline:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.btn--compact { min-height: 44px; padding: 0 20px; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .45; pointer-events: none; }

.link {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font: 400 15px/1.3 var(--sans); color: var(--fg);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: var(--rule-ui);
  transition: text-decoration-color var(--d2), text-underline-offset var(--d3) var(--ease);
}
.link:hover { text-decoration-color: currentColor; text-underline-offset: 4px; }
.arrow { width: 16px; height: 8px; flex: none; transition: transform var(--d2) var(--ease); }
.link:hover .arrow, a:hover > .arrow-end .arrow { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* ---------- plates (image placeholders) ---------- */
.sk {
  position: relative; overflow: hidden; width: 100%; aspect-ratio: 4 / 5;
  background: var(--falloff), var(--tone, var(--tone-lacquer));
}
.sk::after {
  content: ''; position: absolute; inset: 0; background: #0B0A09; opacity: 0;
  transition: opacity var(--d3) var(--ease-soft);
}
.sk[data-tone='interior'] { --tone: var(--tone-interior); }
.sk[data-tone='aluminium'] { --tone: var(--tone-aluminium); }
.sk[data-tone='steel'] { --tone: var(--tone-steel); }
.sk[data-tone='wood_alu'] { --tone: var(--tone-wood-alu); }
.sk[data-tone='wood'] { --tone: var(--tone-wood); }
.sk[data-tone='veneer'] { --tone: var(--tone-veneer); }
.sk[data-tone='laminate'] { --tone: var(--tone-laminate); }
.sk[data-tone='glass'] { --tone: var(--tone-glass); }
.sk[data-tone='lacquer'] { --tone: var(--tone-lacquer); }
.sk[data-tone='map'] { --tone: var(--tone-map); }
.sk[data-tone='room'] { --tone: var(--tone-room); }
.sk[data-tone='salon'] { --tone: var(--tone-salon); }
.sk[data-tone='pirnar'] { --tone: var(--tone-interior); }
.sk[data-tone='inotherm'] { --tone: var(--tone-aluminium); }
.sk[data-tone='garofoli'] { --tone: var(--tone-lacquer); }
.sk[data-tone='pol-skone'] { --tone: var(--tone-wood); }
.sk[data-tone='classen'] { --tone: var(--tone-laminate); }
.sk[data-tone='stalprodukt'] { --tone: var(--tone-steel); }
.sk--door { aspect-ratio: 2 / 3; }
.sk--brand { aspect-ratio: 4 / 5; }
.sk--wide { aspect-ratio: 21 / 9; }
.sk--land { aspect-ratio: 4 / 3; }
.sk--square { aspect-ratio: 1; }
.sk--cover { aspect-ratio: 3 / 4; width: 52px; flex: none; }
@media (max-width: 767px) { .sk--wide { aspect-ratio: 4 / 3; } }
@media (max-width: 479px) { .sk--brand { aspect-ratio: 4 / 3; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  color: var(--fg);
  transition: color var(--d2) var(--ease);
}
/* Background on a pseudo-element: a filter on the header itself would trap the fixed mobile menu. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  box-shadow: 0 14px 32px -28px rgb(27 25 22 / 0);
  transition: background-color var(--d2) var(--ease), border-color var(--d3) var(--ease), box-shadow var(--d3) var(--ease);
}
.site-header.is-scrolled::before, .site-header.is-open::before { border-bottom-color: transparent; }
.site-header.is-scrolled:not(.is-open)::before { box-shadow: 0 14px 32px -28px rgb(27 25 22 / .38); }
.site-header.is-over:not(.is-open) {
  --fg: var(--on-night); --fg-2: var(--on-night-2); --fg-muted: var(--on-night-muted);
  --rule-ui: var(--line-night-strong); --focus: var(--on-night);
  --btn-bg: var(--on-night); --btn-fg: var(--night); --btn-hover: #FFFFFF;
}
.site-header.is-over:not(.is-open)::before { background: transparent; border-bottom-color: transparent; }
.site-header.is-over.is-scrolled:not(.is-open)::before { background: var(--night); border-bottom-color: transparent; }

.header-bar { display: flex; align-items: center; height: var(--header-h); }
.wordmark {
  flex: none; display: inline-flex; gap: .5em; align-items: baseline;
  font: 500 14px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--fg);
}
.wordmark span { font-weight: 400; color: var(--fg-2); }

.nav { display: flex; align-items: stretch; gap: 32px; height: 100%; margin-left: 56px; }
.nav-link, .nav-trigger {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  padding: 0; border: 0; background: none;
  font: 450 14px/1 var(--sans); letter-spacing: 0; color: var(--fg-2); white-space: nowrap;
  transition: color var(--d1);
}
.nav-link::after, .nav-trigger::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 18px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform var(--d3) var(--ease);
}
.nav-link:hover::after, .nav-trigger:hover::after, .nav-link[aria-current='page']::after, .nav-trigger[aria-expanded='true']::after { transform-origin: left; }
.nav-link:hover, .nav-trigger:hover, .nav-link[aria-current='page'], .nav-trigger[aria-expanded='true'] { color: var(--fg); }
.nav-link:hover::after, .nav-trigger:hover::after, .nav-link[aria-current='page']::after, .nav-trigger[aria-expanded='true']::after { transform: scaleX(1); }
.nav-trigger svg { width: 9px; height: 6px; transition: transform var(--d2) var(--ease); }
.nav-trigger[aria-expanded='true'] svg { transform: rotate(180deg); }

.header-tools { margin-left: auto; display: flex; align-items: center; gap: 16px; flex: none; }
.cta[aria-current='page'] { background: transparent; color: var(--fg); border-color: var(--fg); }
.lang { display: inline-flex; align-items: center; }
.lang button {
  position: relative; min-width: 40px; min-height: 44px; padding: 0 8px; border: 0; background: none;
  font: 500 12px/1 var(--sans); letter-spacing: .1em; color: var(--fg-2);
  transition: color var(--d1);
}
.lang button + button::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; margin-top: -6px; background: var(--rule-ui);
}
.lang button:hover { color: var(--fg); }
.lang button[aria-pressed='true'] { color: var(--fg); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

.burger { display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: var(--fg); }
.burger span { display: block; width: 22px; height: 1px; margin: 0 auto; background: currentColor; transition: transform var(--d2) var(--ease); }
.burger span + span { margin-top: 7px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* brands dropdown */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--raised);
  color: var(--ink);
  --fg: var(--ink); --fg-2: var(--ink-2); --fg-muted: var(--muted); --rule-ui: var(--line-strong); --focus: var(--ink);
  padding-top: 40px;
  animation: drop var(--d2) var(--ease);
}
@keyframes drop { from { opacity: 0; } }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 32px; column-gap: 24px; }
.mega-grid a { display: flex; flex-direction: column; padding: 0 24px 0 0; }
.mega-grid .name { font-family: var(--display); font-weight: 350; font-size: 1.5rem; line-height: 1.1; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: transparent; transition: text-decoration-color var(--d2); }
.mega-grid .seg { margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.mega-grid a:hover .name { text-decoration-color: currentColor; }
.mega-foot { display: flex; justify-content: flex-end; align-items: center; min-height: 64px; }
.scrim { position: fixed; inset: var(--menu-top, var(--header-h)) 0 0; z-index: -2; background: rgb(27 25 22 / .18); animation: fade var(--d2) var(--ease); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: var(--menu-top, var(--header-h)) 0 0; z-index: 39;
  display: none; overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); color: var(--ink);
  --fg: var(--ink); --fg-2: var(--ink-2); --fg-muted: var(--muted); --focus: var(--ink);
  --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-hover: var(--ink-hover);
  padding: 8px var(--gutter) calc(40px + env(safe-area-inset-bottom));
}
.menu-open .mobile-menu { display: block; animation: fade var(--d2) var(--ease); }
.menu-open { overflow: hidden; }
.mobile-menu .primary a {
  display: flex; align-items: center; min-height: 64px;
  font-family: var(--display); font-weight: 300; font-size: 1.85rem; line-height: 1.1; letter-spacing: -.01em;
}
.mobile-menu .primary a[aria-current='page'] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.mobile-menu .label { margin: 36px 0 6px; }
.mobile-menu .brands a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  min-height: 52px; padding: 14px 0; font-size: 17px;
}
.mobile-menu .brands a span { font-size: 14px; color: var(--muted); }
.mobile-menu .direct { display: grid; gap: 4px; margin-top: 32px; font-size: 15px; color: var(--ink-2); }
.mobile-menu .direct a { display: inline-flex; min-height: 44px; align-items: center; }
/* The social glyphs under the direct lines, the first one lined up with the text above. */
.mobile-menu .mm-social { margin: 12px 0 0 -12px; gap: 0; }
.menu-open .consent-bar { display: none; }

/* The bar's tighter rhythm. Up to 1279px since the start; up to 1535px since "Blogi" joined the bar
   (25 Nov 2026), so the header's social icons keep their place beside it on 1366 and 1440px
   laptops (Estonian: both fit; a longer language lets the icons, then Blogi, step out: fitHeadSocial). */
@media (max-width: 1535px) {
  .nav { gap: 24px; margin-left: 40px; }
}
/* Desktop navigation from 1200 px: below that the six links, the picker and the full button overflow. */
@media (max-width: 1199px) {
  .wordmark { font-size: 13px; letter-spacing: .24em; }
  .nav { display: none; }
  .burger { display: block; }
  .header-tools { gap: 10px; }
}
@media (min-width: 1200px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 520px) {
  .site-header .wordmark span { display: none; }
  .header-tools { gap: 6px; }
  .lang button { min-width: 36px; padding: 0 6px; }
  .header-tools .btn--compact { padding: 0 14px; }
}
@media (max-width: 359px) {
  .header-tools { gap: 2px; }
  .header-tools .btn--compact { padding: 0 10px; font-size: 13px; }
  .lang button { min-width: 30px; padding: 0 4px; }
  .wordmark { font-size: 12px; letter-spacing: .2em; }
}

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; padding-top: 16px; font-size: 13px; color: var(--fg-muted); }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: '/'; margin: 0 10px; color: var(--rule-ui); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; transition: color var(--d1); }
.crumbs a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }
.crumbs [aria-current] { color: var(--fg-2); }

/* ---------- captions (tiles) ---------- */
.tile { display: block; }
.cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 4px; align-items: baseline; padding-top: 16px; }
.cap__brand { grid-column: 1 / -1; margin-bottom: 4px; }
.cap__name, .cap__title {
  font-family: var(--display); font-optical-sizing: auto;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; text-decoration-color: transparent;
  transition: text-decoration-color var(--d2), text-underline-offset var(--d3) var(--ease);
}
.cap__name { font-size: var(--t-h3); font-weight: 300; line-height: 1.1; letter-spacing: -.01em; }
.cap__title { font-size: var(--t-title); font-weight: 400; line-height: 1.2; }
.cap__price { font-size: 15px; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.cap__price span { font-size: 14px; color: var(--fg-2); margin-right: 4px; }
.cap__sub { grid-column: 1 / -1; font-size: 13px; line-height: 1.45; color: var(--fg-muted); }
@media (hover: hover) {
  .tile:hover .sk::after { opacity: .07; }
  .tile:hover .cap__name, .tile:hover .cap__title { text-decoration-color: currentColor; text-underline-offset: 6px; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cap { transition: transform var(--d3) var(--ease); }
  .tile:hover .cap { transform: translateY(-3px); }
}
.tile:focus-visible { outline-offset: 6px; }
/* Product cards: name and price share a row only while the name keeps a readable width (150px);
   otherwise the price drops under it. Decided by the card's width and the label's length, not by
   the screen: the owners' own "Küsi hinnapakkumist" is twice as wide as a price and left the name
   one letter wide on phones and small laptops (9 Nov 2026). */
:is(.cat-grid, .door-grid:not(.post-grid)) .cap { display: flex; flex-wrap: wrap; }
:is(.cat-grid, .door-grid:not(.post-grid)) .cap > * { flex: 0 0 100%; min-width: 0; }
:is(.cat-grid, .door-grid:not(.post-grid)) .cap > .cap__title { flex: 1 1 150px; }
:is(.cat-grid, .door-grid:not(.post-grid)) .cap > .cap__price { flex: 0 0 auto; max-width: 100%; text-align: left; }

/* ---------- mosaic (home) ----------
   Plates of different shapes fitted together into one rectangle, largest first. Placement is
   procedural: app.js (mosaicLayout) deals any number of tiles into full-width bands and writes
   each tile's cell as custom properties — --c/--r/--cs/--rs on the 12-column grid used by desktop
   and tablet, --pc/--pr/--pcs/--prs on the 2-column phone grid. Six tiles, for example:
   Desktop 12 x 7 cells:            Phone 2 x 10:
   A A A A A A A B B B B B          A A
   A A A A A A A B B B B B          A A
   A A A A A A A C C C C C          A A
   A A A A A A A C C C C C          B C
   D D D D E E E C C C C C          B C
   D D D D E E E F F F F F          D C
   D D D D E E E F F F F F          D E
                                    D E
                                    F F
                                    F F                                            */
.mosaic {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(92px, 10.5vw, 180px); gap: 6px;
}
.mosaic > li {
  position: relative; min-width: 0; min-height: 0; container-type: inline-size;
  grid-column: var(--c, auto) / span var(--cs, 4); grid-row: var(--r, auto) / span var(--rs, 2);
}
@media (max-width: 1023px) {
  .mosaic { grid-auto-rows: clamp(64px, 8.5vw, 110px); }
}
@media (max-width: 599px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 27vw; gap: 4px; }
  .mosaic > li { grid-column: var(--pc, auto) / span var(--pcs, 1); grid-row: var(--pr, auto) / span var(--prs, 2); }
}

.mtile { position: absolute; inset: 0; display: block; overflow: hidden; color: var(--on-night); }
.mtile .sk { height: 100%; aspect-ratio: auto; }
/* Photo tiles (products from the portal): the picture fills the plate, a shade keeps the name legible. */
.mtile__img {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover;
  background: var(--tone-laminate);
  transition: transform var(--d4) var(--ease-long), opacity var(--d-fade) var(--ease-soft), filter var(--d-fade) var(--ease-soft);
}
.mtile .sk.has-img > img { transition: transform var(--d4) var(--ease-long), opacity var(--d-fade) var(--ease-soft), filter var(--d-fade) var(--ease-soft); }
.has-photo .mtile::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(11, 10, 9, .78), rgba(11, 10, 9, .22) 50%, rgba(11, 10, 9, .04));
  transition: background var(--d3) var(--ease-soft);
}
.has-photo .mtile__text { z-index: 2; }
.has-photo .mtile__name { white-space: normal; font-size: min(clamp(1.4rem, 1rem + 1.3vw, 2.4rem), 11cqi); line-height: 1.05; }
.mosaic > li.is-lead.has-photo .mtile__name { font-size: min(clamp(1.9rem, 1rem + 2.4vw, 3.6rem), 11cqi); }
.has-photo .mtile:focus-visible::before { background: rgba(11, 10, 9, .6); }
@media (hover: hover) {
  .has-photo .mtile:hover::before { background: rgba(11, 10, 9, .6); }
  .has-photo .mtile:hover .mtile__img, .mtile:hover .sk.has-img > img { transform: scale(1.04); }
}
.mtile .sk::after { transition: opacity var(--d3) var(--ease-soft); }
.is-light .mtile { color: var(--ink); }
.mtile__text {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; padding: clamp(16px, 2.2vw, 36px);
}
/* One size for every name (the first, largest plate gets a larger one); capped by tile width so it always fits. */
.mtile__name {
  font-family: var(--display); font-weight: 300;
  font-size: min(clamp(1.75rem, 1rem + 2vw, 3rem), 16cqi); line-height: 1; letter-spacing: -.015em;
  overflow-wrap: normal; white-space: nowrap;
}
.mosaic > li.is-lead .mtile__name { font-size: min(clamp(2.25rem, 1rem + 3.4vw, 4.75rem), 16cqi); }
/* Collapsed to zero height until hover/focus, so every name sits on the same bottom line. */
.mtile__about {
  display: grid; grid-template-rows: 0fr;
  max-width: 36ch; font-size: 15px; line-height: 1.45;
  opacity: 0;
  transition: grid-template-rows var(--d3) var(--ease-soft), opacity var(--d3) var(--ease-soft);
}
.mtile__about > span { overflow: hidden; padding-top: 0; }
.mtile__about > span::before { content: ''; display: block; height: 12px; }
/* Badges: what the brand makes (data.js `badges`), set above the name as its kicker, in the site's
   mono caps. Each is a small square pane of frosted glass, set 3px apart the way the tiles are set
   apart: the blur quiets the photograph behind the letters, so there is no outline and no dark box.
   The pane is tinted with the tile's own text colour, so photo and tonal plates share one rule.
   Right padding gives back the tracking after the last letter, so the word sits optically centred.
   On hover or focus they fade out as the description fades in: the sentence says the same at
   length, and a short tile has no room for both. */
.mtile__badges { display: flex; flex-wrap: wrap; gap: 3px; order: -1; justify-self: start; margin-bottom: 14px; }
.mtile__badge {
  padding: 5px calc(9px - var(--track-caps)) 5px 9px;
  font: 400 10px/1.2 var(--mono); letter-spacing: var(--track-caps); text-transform: uppercase;
  background: rgb(238 233 225 / .16);
  background: color-mix(in srgb, currentColor 16%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
  transition: opacity var(--d3) var(--ease-soft);
}
.is-light .mtile__badge { background: rgb(27 25 22 / .08); background: color-mix(in srgb, currentColor 8%, transparent); }
/* The configurator tag (brands with an online configurator, data.js `tools`): its own line above
   the badges, set as a small version of the gold buttons it leads to: solid gold, bronze letters
   in the button sans, the arrow. It says what you can do here, not what the brand makes, so it
   stays when the badges fade on hover and only its arrow moves. Opaque, so no blur; the letters
   hold 5.6:1 on any photograph. On a light plate it turns over: bronze pane, gold letters. Sized
   by the tile's own width (review/hero-konf-button-2026-10-22-decisions.md). */
.mtile__konf {
  order: -2; justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 8px; padding: 9px 13px;
  background: var(--gold-2); color: var(--bronze);
  font: 550 12px/1.15 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-wrap: balance;
}
.mtile__konf:has(+ .mtile__about) { margin-bottom: 14px; }   /* no badge row: the name's usual gap */
.is-light .mtile__konf { background: var(--bronze); color: var(--gold-2); }
@container (min-width: 640px) {
  .mtile__konf { gap: 10px; margin-bottom: 10px; padding: 11px 16px; font-size: 13px; }
  .mtile__konf:has(+ .mtile__about) { margin-bottom: 18px; }
}
.mosaic > li.is-lead .mtile__badges { margin-bottom: 18px; }
.mosaic > li.is-lead .mtile__badge { padding: 6px calc(11px - var(--track-caps)) 6px 11px; font-size: 11px; }
/* Narrow tiles (phones, the small cells on tablets): a size down and tighter caps, so three
   badges keep to two rows; a long name on a plain plate may break onto a second line. */
@container (max-width: 259px) {
  .mtile__badges { gap: 2px; margin-bottom: 10px; }
  .mtile__badge { padding: 4px calc(7px - .12em) 4px 7px; font-size: 9px; letter-spacing: .12em; }
  .mtile__konf { gap: 6px; margin-bottom: 6px; padding: 7px calc(8px - .08em) 7px 8px; font-size: 10px; letter-spacing: .08em; }
  .mtile__konf:has(+ .mtile__about) { margin-bottom: 10px; }
  .mtile__konf .arrow { display: none; }
  .mtile__name { white-space: normal; }
}
.mtile { transition: color var(--d3) var(--ease-soft); }
/* Hover or keyboard focus: the plate dims and the one-line description rises in. */
.mtile:focus-visible { outline-offset: -3px; outline-color: currentColor; }
.mtile:focus-visible .sk::after { opacity: .45; }
.is-light .mtile:focus-visible { color: var(--on-night); }
.is-light .mtile:focus-visible .sk::after { opacity: .62; }
.mtile:focus-visible .mtile__about { grid-template-rows: 1fr; opacity: 1; }
.mtile:focus-visible .mtile__badge { opacity: 0; }
.mtile:focus-visible .mtile__konf .arrow { transform: translateX(4px); }
@media (hover: hover) {
  .mtile:hover .sk::after { opacity: .45; }
  .is-light .mtile:hover { color: var(--on-night); }
  .is-light .mtile:hover .sk::after { opacity: .62; }
  .mtile:hover .mtile__about { grid-template-rows: 1fr; opacity: 1; }
  .mtile:hover .mtile__badge { opacity: 0; }
  .mtile:hover .mtile__konf .arrow { transform: translateX(4px); }
}

/* ---------- grids ---------- */

.door-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3.4vw, 56px) var(--gap); }
.door-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1279px) { .door-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .door-grid, .door-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 1023px) { .more .door-grid > li:nth-child(3) { display: none; } }

/* ---------- section heads ---------- */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: clamp(22px, 2.4vw, 36px); }
.head .label { margin-bottom: 14px; }
.page-head { padding-top: var(--page-top); padding-bottom: clamp(24px, 2.8vw, 44px); display: grid; gap: 16px; }

/* ---------- home ---------- */
.hero {
  position: relative; margin-top: calc(-1 * var(--header-h));
  min-height: clamp(560px, 88vh, 1000px);
  min-height: clamp(560px, 88svh, 1000px);
  display: flex; align-items: flex-end;
  background:
    linear-gradient(180deg, rgb(23 21 19 / .55) 0, rgb(23 21 19 / 0) 220px),
    linear-gradient(0deg, rgb(23 21 19 / .7) 0, rgb(23 21 19 / 0) 60%),
    radial-gradient(110% 85% at 72% 28%, #4A3E34 0%, #2E2620 42%, #1B1714 78%);
}
.hero-sentinel { position: absolute; left: 0; right: 0; bottom: var(--header-h); height: 1px; pointer-events: none; }
.hero .wrap { padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(36px, 5vw, 80px); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: end; align-items: last baseline; }
.hero h1 { grid-column: 1 / span 8; }
.hero .side { grid-column: 9 / -1; display: grid; gap: 28px; justify-items: start; }
.hero .lead { color: var(--on-night-2); max-width: 34ch; }
.hero .link { text-decoration-color: var(--on-night-2); }
@media (max-width: 1023px) {
  .hero h1, .hero .side { grid-column: 1 / -1; }
  .hero .side { gap: 16px; }
}
@media (max-width: 767px) { .hero { min-height: clamp(520px, 84svh, 760px); } }

/* Showroom: a full-bleed plate with the text laid over its lower edge. */
.room-hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: clamp(520px, 80vh, 900px); min-height: clamp(520px, 80svh, 900px);
}
.section--gap { margin-top: var(--section); }
.room-hero > .sk { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; z-index: -2; }
.room-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgb(15 13 11 / .66) 0%, rgb(15 13 11 / .18) 50%, rgb(15 13 11 / 0) 100%);
}
.room-hero .wrap { padding-block: clamp(48px, 7vw, 112px); }
.room-hero .grid { align-items: end; row-gap: 32px; }
.room-hero .text { grid-column: 1 / span 8; display: grid; gap: 20px; }
.room-hero .text .h1 { max-width: 14ch; }
.room-hero .act { grid-column: 9 / -1; justify-self: end; display: grid; gap: 24px; justify-items: end; text-align: right; }
.room-hero .where { font-size: 15px; line-height: 1.6; color: var(--on-night-2); }
.room-hero .label { color: var(--on-night-2); }
@media (max-width: 1023px) {
  .room-hero .text, .room-hero .act { grid-column: 1 / -1; justify-self: start; justify-items: start; text-align: left; }
}
@media (max-width: 767px) { .room-hero { min-height: clamp(480px, 78svh, 700px); } }
.room-hero--page { margin-top: calc(-1 * var(--header-h)); min-height: clamp(520px, 78vh, 880px); min-height: clamp(520px, 78svh, 880px); }
.room-hero--page .wrap { padding-top: calc(var(--header-h) + 64px); }
/* When the showroom image closes a page, it runs straight into the footer. */
body:has(.view > .room-hero:last-child) .site-footer { margin-top: 0; }
.room-hero--page .text { grid-column: 1 / -1; }
.room-hero--page .where { font-size: var(--t-lead); }

.showroom-info { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; align-items: start; }
.showroom-info .info { grid-column: 1 / span 7; display: grid; gap: 32px; justify-items: start; }
.showroom-info .map { grid-column: 7 / -1; }
@media (max-width: 1023px) {
  .showroom-info .info, .showroom-info .map { grid-column: 1 / -1; }
}

.facts { display: grid; gap: 0; width: 100%; }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px; padding: 14px 0; font-size: 15px; }
.facts dt { color: var(--fg-muted); }
.facts dd { white-space: pre-line; color: var(--fg); }
.facts a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--rule-ui); }
/* Special showroom days under the regular hours: "23.12 avatud 10.00–14.00", "24.–26.12 suletud".
   In the facts list and the footer each day is a line (pre-line keeps the \n); in the showroom
   block they follow the hours on the same line, separated by " · ". */
.facts .hours-special { display: block; margin-top: 6px; font-weight: 500; }
.foot-addr .hours-special { display: block; margin-top: 6px; color: var(--on-night); }
.room-hero .hours-special { color: var(--on-night); }
.room-hero .hours-special::before { content: ' · '; color: var(--on-night-2); }
/* The Catalogues page without the printed-copy form: the list alone, at the width it has beside the form. */
.res-only .main-col { max-width: 820px; }
.facts a:hover { text-decoration-color: currentColor; }

/* ---------- brand page ---------- */
.brand-head { padding-top: var(--page-top); display: grid; gap: 16px; }
/* Display type is set tight (.86), so descenders hang below the line box; this keeps them off the lead. */
.brand-head .display { margin-bottom: .07em; }
.brand-head .row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 24px 40px; margin-top: 16px; }
/* Phones: the brand head's buttons stack full width (as in forms), and a long label (lv, lt at
   320 px) wraps instead of running off the screen. */
@media (max-width: 559px) {
  .brand-head .actions .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }
}
.brand-plate { margin-top: clamp(40px, 5vw, 72px); }
/* The cap only bites on very wide, short screens: a lower cap widens the plate past 21:9 and
   crops the top and bottom of the door in the brand photo. */
.brand-plate .sk, .brand-plate .ph--wide { aspect-ratio: 21 / 9; max-height: 92svh; }
@media (max-width: 767px) { .brand-plate .sk, .brand-plate .ph--wide { aspect-ratio: 4 / 3; } }

.toolbar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px;
  min-height: 64px; margin-bottom: clamp(32px, 4vw, 56px);
}
.toolbar-bar { position: sticky; top: var(--header-h); z-index: 30; background: var(--paper); margin-bottom: 48px; }
.toolbar-bar .toolbar { margin-bottom: 0; }
@media (max-width: 1023px) { .toolbar-bar { position: static; } }
.dim { animation: dim var(--d2) var(--ease); }
@keyframes dim { from { opacity: .4; } }
.toolbar .count { font-size: 14px; color: var(--fg-muted); font-weight: 400; font-family: var(--sans); }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }

.tabs { display: flex; flex-wrap: wrap; gap: 0 24px; }
.tab {
  position: relative; min-height: 44px; padding: 0; border: 0; background: none;
  font-size: 14px; color: var(--fg-muted); transition: color var(--d1);
}
.tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--d2) var(--ease); }
.tab:hover { color: var(--fg); }
.tab[aria-pressed='true'] { color: var(--fg); }
.tab[aria-pressed='true']::after { transform: scaleX(1); }

.select { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; }
.select label { color: var(--fg-muted); }
.select select {
  appearance: none; -webkit-appearance: none;
  min-height: 44px; padding: 0 20px 0 0; border: 0; border-radius: 0; background: transparent;
  font-size: 14px; color: var(--fg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231B1916'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 10px 6px;
}
@media (max-width: 767px) {
  .toolbar { padding-block: 8px; }
  .toolbar-bar .toolbar .controls { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .toolbar-bar .toolbar .select { display: grid; gap: 2px; }
  .toolbar-bar .toolbar .select select { width: 100%; border-bottom: 1px solid var(--rule-ui); }
}

.empty { padding: 96px 0; display: grid; gap: 20px; justify-items: start; color: var(--fg-muted); }

.pager { display: grid; grid-template-columns: 1fr 1fr; }
.pager a { display: grid; gap: 8px; align-content: start; padding: 40px 0; }
.pager .next { grid-column: 2; text-align: right; justify-items: end; }
.pager .prev { padding-right: 24px; }
.pager .h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: transparent; transition: text-decoration-color var(--d2); }
.pager a:hover .h3 { text-decoration-color: currentColor; }

/* ---------- product ---------- */
.product { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--gap); padding-top: 24px; align-items: start; }
.main-plate { grid-column: 1 / span 7; grid-row: 1; }
.main-plate .sk { aspect-ratio: 4 / 5; }
@media (min-width: 1024px) { .main-plate .sk { max-height: calc(100svh - var(--header-h) - 80px); } }
@media (max-width: 1023px) { .main-plate .sk { max-height: 60svh; } }
.details { grid-column: 1 / span 7; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.product-info { grid-column: 9 / -1; grid-row: 1 / span 2; align-self: start; position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 32px; }
.product-info .intro { display: grid; gap: 12px; }
.product-info .brand-link { justify-self: start; }
.product-info .brand-link:hover { color: var(--fg); }
.price-block { display: grid; gap: 6px; }
.price-block .price { display: flex; align-items: baseline; gap: 10px; font-size: clamp(1.75rem, 1.2rem + 1vw, 2.25rem); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; }
.price-block .price span { font-size: 13px; letter-spacing: 0; color: var(--fg-muted); }
.price-block .price .from { font-size: 15px; color: var(--fg-2); }
.price-block .note { font-size: 13px; color: var(--fg-muted); max-width: 44ch; }
.specs { display: grid; }
.specs > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.specs > div:last-child { border-bottom: 1px solid var(--rule); }
.specs dt { color: var(--fg-muted); }
.product-info .btn { width: 100%; }
@media (max-width: 1023px) {
  .main-plate, .details, .product-info { grid-column: 1 / -1; grid-row: auto; }
  .product-info { position: static; padding-block: 16px 24px; }
}
@media (max-width: 767px) { .details { display: none; } }

/* ---------- photographs (portal products) ---------- */
.ph { display: block; width: 100%; object-fit: cover; background: var(--falloff), var(--tone-laminate); }
.ph--door { aspect-ratio: 2 / 3; }
.ph--square { aspect-ratio: 1; }
.ph--main { aspect-ratio: 4 / 5; object-fit: contain; }
@media (min-width: 1024px) { .main-plate .ph--main { max-height: calc(100svh - var(--header-h) - 80px); } }
@media (max-width: 1023px) { .main-plate .ph--main { max-height: 60svh; } }
.tile:hover .ph { filter: brightness(.93); }
img.ph { transition: opacity var(--d-fade) var(--ease-soft), filter var(--d-fade) var(--ease-soft); }
.details--live { display: block; }
@media (max-width: 767px) { .details.details--live { display: block; } }
.product-desc { max-width: 62ch; font-size: 15px; line-height: 1.55; }
.product-desc .label { display: block; margin-bottom: 14px; }
.product-desc p, .product-desc ul { margin: 0 0 1em; }
.product-desc ul { padding-left: 1.1em; }
.product-desc li { margin: .25em 0; }
.product-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: var(--gap); }

.enquire { scroll-margin-top: calc(-1 * var(--section)); }
.enquire .grid { row-gap: 48px; padding-top: 64px; }
.enquire:focus { outline: none; }
.enquire .intro { grid-column: 1 / span 4; display: grid; gap: 24px; align-content: start; }
.enquire .form, .enquire .success { grid-column: 6 / span 7; }
.recap { display: grid; gap: 4px; padding-top: 20px; }
.recap .title { color: var(--fg); }
.direct { display: grid; gap: 2px; font-size: 15px; color: var(--fg-2); }
.direct a { display: inline-flex; min-height: 32px; align-items: center; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--rule-ui); }
.direct a:hover { text-decoration-color: currentColor; }
@media (max-width: 1023px) {
  .enquire .intro, .enquire .form, .enquire .success { grid-column: 1 / -1; }
}

/* ---------- forms ---------- */
.form { display: grid; gap: 28px; max-width: 720px; }
@media (max-width: 1023px) { .form { max-width: none; } }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
@media (max-width: 559px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field > label, .field > .flabel, fieldset > legend { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--fg-2); }
.field .opt { font-weight: 400; color: var(--fg-muted); }
.input, .textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 0 10px;
  border: 0; border-bottom: 1px solid var(--rule-ui); border-radius: 0; background: transparent;
  font-size: 16px; line-height: 1.4; color: var(--fg);
  transition: border-color var(--d1), box-shadow var(--d1);
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231B1916'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 10px 6px;
}
.on-dark .field select, .on-dark .select select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23EEE9E1'/%3E%3C/svg%3E");
}
.on-dark .field select option { background: var(--night-2); color: var(--on-night); }
.textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
.input::placeholder, .textarea::placeholder { color: var(--ph); opacity: 1; }
.input:hover, .textarea:hover, .field select:hover { border-bottom-color: var(--fg-2); }
.input:focus, .textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--fg); box-shadow: 0 1px 0 var(--fg); }
.field.has-error .input, .field.has-error .textarea, .field.has-error select { border-bottom-color: var(--err); box-shadow: 0 1px 0 var(--err); }
.field .err { font-size: 13px; color: var(--err); }
.form-error { font-size: 14px; color: var(--err); border-left: 2px solid var(--err); padding-left: 12px; }
.form-error a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset > legend { padding: 0; margin-bottom: 12px; }
.options { display: grid; gap: 8px; }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.option span {
  position: relative; display: grid; gap: 2px; align-content: center; min-height: 72px;
  padding: 16px 20px 16px 50px; border: 1px solid var(--rule-ui);
  font-size: 15px; font-weight: 500; color: var(--fg);
  transition: border-color var(--d1), background var(--d1), box-shadow var(--d1);
}
.option span::before {
  content: ''; position: absolute; top: 50%; left: 20px; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%;
  border: 1px solid var(--rule-ui); transition: border-color var(--d1), box-shadow var(--d1);
}
.option small { font-size: 13px; font-weight: 400; color: var(--fg-muted); }
.option:hover span { border-color: var(--fg); }
.option input:checked + span { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); background: var(--raised); }
.option input:checked + span::before { border-color: var(--fg); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 8px var(--fg); }
.option input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (forced-colors: active) { .option input:checked + span { outline: 2px solid Highlight; } }
.input:focus, .textarea:focus, .field select:focus { outline: 2px solid transparent; }

.checks { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.check { display: inline-flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 11px 0; font-size: 14px; line-height: 1.45; color: var(--fg-2); cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 18px; height: 18px; margin: 1px 0 0; border: 1px solid var(--rule-ui); border-radius: 0; background: transparent;
  display: grid; place-content: center; cursor: pointer;
  transition: background var(--d1), border-color var(--d1);
}
.check input::after { content: ''; width: 9px; height: 5px; border-left: 1.5px solid var(--bg); border-bottom: 1.5px solid var(--bg); transform: translateY(-1px) rotate(-45deg); opacity: 0; }
.check input:checked { background: var(--fg); border-color: var(--fg); }
.check input:checked::after { opacity: 1; }
.check input:disabled { opacity: .45; }
.check input[aria-invalid='true'] { border-color: var(--err); }
.fineprint { font-size: 13px; line-height: 1.5; color: var(--fg-muted); max-width: 60ch; }
.fineprint a { text-decoration: underline; text-underline-offset: 3px; }
.form-foot { display: grid; gap: 18px; justify-items: start; }
@media (max-width: 559px) { .form-foot .btn { width: 100%; } }
.form-title { margin-bottom: 32px; }

.success { display: grid; gap: 12px; padding-top: 4px; animation: fade var(--d3) var(--ease); }
.success p { color: var(--fg-2); }
.success:focus { outline: none; }

/* ---------- two-column pages ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; align-items: start; }
.split .main-col { grid-column: 1 / span 7; }
.split .side-col { grid-column: 9 / -1; }
.split .side-col--sticky { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 1023px) {
  .split .main-col, .split .side-col { grid-column: 1 / -1; }
  .split .side-col--sticky { position: static; }
}

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; align-items: start; }
.contact-grid .c-info { grid-column: 1 / span 5; grid-row: 1; display: grid; gap: 40px; }
.contact-grid .c-form { grid-column: 7 / -1; grid-row: 1 / span 2; }
@media (max-width: 1023px) {
  .contact-grid .c-info, .contact-grid .c-form { grid-column: 1 / -1; grid-row: auto; }
}
.contact-lines { display: grid; gap: 6px; }
.contact-lines a { font-family: var(--display); font-weight: 300; font-size: clamp(1.75rem, 1.3rem + 1.3vw, 2.5rem); line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; text-decoration-color: transparent; transition: text-decoration-color var(--d2); }
.contact-lines a:hover { text-decoration-color: currentColor; }
.company { display: grid; gap: 4px; font-size: 13px; color: var(--fg-muted); }
.company dd { color: var(--fg-2); }
.company div { display: flex; gap: 8px; }
.company dt::after { content: ':'; }

/* resources */
.res-group + .res-group { margin-top: 64px; }
.res-group .label { margin-bottom: 16px; }
.res-list > li { display: flex; align-items: center; gap: 20px; min-height: 88px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.res-list > li:first-child { border-top: 1px solid var(--rule); }
.res-list .info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.res-list .acts { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0 24px; }
.res-list .soon { font-size: 13px; color: var(--fg-muted); }
@media (max-width: 559px) {
  .res-list > li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 20px; row-gap: 4px; }
  .res-list .sk--cover { grid-row: span 2; align-self: start; }
  .res-list .acts { grid-column: 2; justify-content: flex-start; }
}
.selected-list { display: grid; gap: 2px; font-size: 15px; color: var(--fg); }
.selected-list .none { color: var(--fg-muted); }
.field.has-error .selected-list .none { color: var(--err); }

/* why aruna */
/* The hero is a Toompea window: shadowed limestone wall on the left, the window and St Olaf's to
   the right of centre, a dark floor below. Desktop lays the text over the photo in an L (title and
   lead on the wall, the four principles along the floor), keeping the window clear. Below 1024 the
   photo is a block at the top, the title sits on its floor and the principles follow beneath. */
.hero--why { min-height: clamp(640px, 90svh, 1000px); }
.hero--why > .wrap { justify-content: flex-end; }
.hero--why .hero__img { z-index: -1; object-position: 30% 55%; }
.hero.hero--why.has-img::before {
  background:
    linear-gradient(180deg, rgb(15 13 11 / .5) 0, rgb(15 13 11 / 0) 200px),
    linear-gradient(0deg, rgb(15 13 11 / .85) 0, rgb(15 13 11 / .55) 30%, rgb(15 13 11 / 0) 58%),
    linear-gradient(90deg, rgb(15 13 11 / .45) 0, rgb(15 13 11 / 0) 50%);
}
.why-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.why-hero__intro { grid-column: 1 / span 8; display: grid; gap: 24px; justify-items: start; }
.hero .why-hero__intro > * { grid-column: 1; }
.why-hero .display { color: var(--on-night); }
/* One word per line on desktop, so the title stays on the wall left of the window. */
@media (min-width: 1024px) { .why-hero .display { width: min-content; } }
.why-hero .lead { color: var(--on-night-2); max-width: 36ch; }
.why-hero .lead, .principles { text-shadow: 0 1px 12px rgb(8 6 4 / .5); }
.principles {
  grid-column: 1 / -1; margin-top: clamp(48px, 5.5vw, 96px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px;
}
.principles > li { display: grid; gap: 10px; align-content: start; }
.principles .label { color: var(--gold-2); }
.principles .title { color: var(--on-night); }
.principles p { font-size: 16px; line-height: 1.5; color: var(--on-night-2); max-width: 30ch; }
@media (max-width: 1023px) {
  /* The photo fades into the page's own night, so the principles below sit on the same ground. */
  .hero--why { --why-img-h: min(80svh, 760px); min-height: 0; }
  .hero.hero--why.has-img { background: var(--night); }
  .hero--why .hero__img { height: var(--why-img-h); bottom: auto; object-position: 62% 50%; }
  .hero.hero--why.has-img::before {
    bottom: auto; height: calc(var(--why-img-h) + 2px);
    background:
      linear-gradient(180deg, rgb(15 13 11 / .5) 0, rgb(15 13 11 / 0) 160px),
      linear-gradient(0deg, var(--night) 0, var(--night) 2px, rgb(15 13 11 / .7) 22%, rgb(15 13 11 / 0) 55%);
  }
  .why-hero__intro { grid-column: 1 / -1; min-height: calc(var(--why-img-h) - var(--header-h) - 64px - 8px); align-content: end; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; margin-top: 40px; }
}
@media (max-width: 767px) {
  .hero--why { --why-img-h: min(76svh, 620px); }
  .hero--why .hero__img { object-position: 64% 50%; }
  .principles { grid-template-columns: minmax(0, 1fr); row-gap: 24px; margin-top: 32px; }
  .principles p { font-size: 15px; }
}
@media (prefers-reduced-motion: no-preference) {
  .view:not(.no-anim) .why-hero .display { animation: mark-in 900ms var(--ease-soft) 300ms both; }
  .view:not(.no-anim) .why-hero .lead { animation: mark-in 900ms var(--ease-soft) 550ms both; }
  .view:not(.no-anim) .principles > li { animation: mark-in 900ms var(--ease-soft) 800ms both; }
  .view:not(.no-anim) .principles > li:nth-child(2) { animation-delay: 920ms; }
  .view:not(.no-anim) .principles > li:nth-child(3) { animation-delay: 1040ms; }
  .view:not(.no-anim) .principles > li:nth-child(4) { animation-delay: 1160ms; }
}
.pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.pair .a { grid-column: 1 / span 6; }
.pair .b { grid-column: 8 / span 5; margin-bottom: clamp(40px, 8vw, 160px); }
@media (max-width: 767px) {
  .pair .a { grid-column: 1 / span 12; }
  .pair .b { display: none; }
}
.closing .grid { align-items: end; row-gap: 32px; }
.closing .text { grid-column: 1 / span 8; display: grid; gap: 16px; }
.closing .act { grid-column: 9 / -1; justify-self: end; }
@media (max-width: 1023px) {
  .closing .text, .closing .act { grid-column: 1 / -1; justify-self: start; }
}

/* legal */
.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; padding-top: var(--page-top); align-items: start; }
.legal-nav { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 32px); display: grid; }
.legal-nav a { display: flex; align-items: center; min-height: 44px; padding-left: 14px; font-size: 14px; color: var(--fg-2); box-shadow: inset 1px 0 0 var(--rule); transition: color var(--d1), box-shadow var(--d1); }
.legal-nav a:hover { color: var(--fg); }
.legal-nav a[aria-current='page'] { color: var(--fg); font-weight: 500; box-shadow: inset 2px 0 0 var(--fg); }
.legal-body { grid-column: 5 / span 7; }
.legal-body header { display: grid; gap: 12px; padding-bottom: 32px; margin-bottom: 40px; }
.legal-body h1 { font-size: var(--t-h2); line-height: 1.08; }
@media (max-width: 1023px) {
  .legal-nav { grid-column: 1 / -1; position: static; display: flex; flex-wrap: wrap; gap: 0 20px; }
  .legal-nav a { padding-left: 0; box-shadow: none; font-size: 13px; }
  .legal-nav a[aria-current='page'] { box-shadow: inset 0 -1px 0 var(--fg); }
  .legal-body { grid-column: 1 / -1; }
}

.nf { min-height: 60svh; display: grid; align-content: end; gap: 20px; padding-bottom: var(--section); }

/* ---------- footer ---------- */
.site-footer { margin-top: var(--section); padding-top: clamp(48px, 5vw, 80px); }
.view > .section:last-child { padding-bottom: 0; }
.site-footer a { transition: color var(--d1); }
.site-footer a:hover { color: var(--on-night); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; padding-bottom: 64px; }
.foot-top > .about { grid-column: 1 / span 4; }
.foot-top > .col-brands { grid-column: 6 / span 2; }
.foot-top > .col-site { grid-column: 8 / span 3; }
.foot-top > .col-legal { grid-column: 11 / span 2; }
.foot-top h2 { margin-bottom: 20px; }
.foot-top ul { display: grid; gap: 10px; font-size: 14px; color: var(--on-night-2); }
.foot-top button.linklike { padding: 0; border: 0; background: none; font-size: 14px; color: var(--on-night-2); text-align: left; }
.foot-top button.linklike:hover { color: var(--on-night); text-decoration: underline; text-underline-offset: 4px; }
.foot-addr { display: grid; gap: 18px; margin-top: 32px; font-size: 15px; line-height: 1.6; color: var(--on-night-2); white-space: pre-line; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-block: 24px calc(24px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--on-night-muted); }
.foot-bottom ul { display: flex; gap: 24px; }
/* Social glyphs at the right of the bottom line: 20px marks in 40px targets (44px on touch
   screens), pulled out by their padding so the row keeps the text's height and the outer glyphs
   line up with the text and the column edge, also when the row wraps. */
.foot-bottom .foot-social { gap: 4px; margin: -10px; }
.foot-social__link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--on-night-2); }
.foot-social__link svg { display: block; width: 20px; height: 20px; }
.site-footer .foot-social__link:hover { color: var(--on-night); }
.foot-social__link:focus-visible { outline: 2px solid var(--focus, var(--on-night)); outline-offset: -2px; }
@media (max-width: 559px) { .foot-bottom .sep { display: none; } .foot-bottom .it { display: block; } }
@media (max-width: 1023px) {
  .foot-top ul { gap: 0; }
  .foot-top ul a, .foot-top .linklike, .foot-addr a, .foot-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-top > .about { grid-column: 1 / -1; }
  .foot-top > .col-brands, .foot-top > .col-site { grid-column: span 6; }
  .foot-top > .col-legal { grid-column: 1 / -1; }
  .foot-social__link { width: 44px; height: 44px; }
  .foot-bottom .foot-social { gap: 0; margin: -12px; }
}
@media (max-width: 559px) { .foot-bottom .foot-social { margin-top: 0; } }

/* ---------- consent ---------- */
.consent-bar {
  position: fixed; left: 24px; bottom: 24px; z-index: 60; width: min(400px, calc(100% - 48px));
  display: grid; gap: 18px; padding: 24px;
  background: var(--raised); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-float);
  animation: rise var(--d3) var(--ease) 600ms both;
}
@keyframes rise { from { opacity: 0; } }
.consent-bar p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.consent-bar p a { text-decoration: underline; text-underline-offset: 3px; }
.consent-bar .pair-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-bar .pair-btns .btn { padding: 0 12px; }
.consent-bar .settings { justify-self: start; min-height: 32px; padding: 0; border: 0; background: none; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.consent-bar .settings:hover { text-decoration-color: currentColor; }
@media (max-width: 760px) {
  .consent-bar { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; padding: 20px; }
}

dialog.modal {
  width: min(540px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0;
  border: 1px solid var(--line); background: var(--raised); color: var(--ink); box-shadow: var(--shadow-float);
}
dialog.modal[open] { animation: rise var(--d2) var(--ease); }
dialog.modal::backdrop { background: rgb(27 25 22 / .42); }
.modal-inner { padding: clamp(24px, 4vw, 40px); display: grid; gap: 24px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.icon-btn { width: 44px; height: 44px; margin-right: -12px; border: 0; background: none; display: grid; place-content: center; }
.icon-btn svg { width: 14px; height: 14px; }
.toggle-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.toggle-row:last-child { border-bottom: 1px solid var(--line); }
.toggle-row strong { display: block; font-size: 15px; font-weight: 500; }
.toggle-row small { font-size: 13px; color: var(--muted); }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: none; }
.switch input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border: 1px solid var(--line-strong); transition: background var(--d2), border-color var(--d2); }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: var(--line-strong); transition: transform var(--d2) var(--ease), background var(--d2); }
.switch input:checked + span { background: var(--ink); border-color: var(--ink); }
.switch input:checked + span::after { transform: translateX(20px); background: var(--raised); }
.switch input:disabled { cursor: default; }
.switch input:disabled + span { opacity: .5; }
.switch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-actions .save { margin-left: auto; }
@media (max-width: 479px) {
  .modal-actions .btn { width: 100%; }
}

/* ---------- motion ---------- */
.view { animation: view-in 320ms var(--ease-soft); }
.view.no-anim { animation: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes view-in { from { opacity: 0; } }
.reveal { opacity: 0; }
.reveal:focus-within { opacity: 1; transform: none; }
/* Grids cascade: app.js numbers each batch that enters together (--i, 0-4). --rd is a block's start
   delay in the page's queue, --rt its fade; setupReveals in app.js sets both (the fade only while the
   visitor is moving fast, so the cascade keeps up with them). */
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--rt, 1100ms) var(--ease-soft);
  transition-delay: var(--rd, 0ms);
}

/* Photographs settle in as they arrive (app.js marks the ones still loading; cached ones never wait). */
img.is-pending { opacity: 0; filter: blur(6px); }
img.is-instant { transition: none !important; }

/* Tactile press: a short dip in, a slower settle back (the release uses each element's own transition). */
@media (prefers-reduced-motion: no-preference) {
  .btn:active { transform: scale(.98); transition-duration: 90ms; }
  .pill, .lang button, .icon-btn, .cb-close { transition: border-color var(--d2) var(--ease), background var(--d2) var(--ease), color var(--d1), transform var(--d3) var(--ease); }
  .pill:active, .lang button:active, .icon-btn:active, .cb-close:active { transform: scale(.95); transition-duration: 90ms; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  img.is-pending { opacity: 1; filter: none; }
}
@media (forced-colors: active) {
  .switch span, .switch span::after, .tab::after, .nav-link::after, .nav-trigger::after { forced-color-adjust: none; }
  .switch span { background: Canvas; border-color: CanvasText; }
  .switch span::after { background: CanvasText; }
  .switch input:checked + span { background: Highlight; border-color: Highlight; }
  .switch input:checked + span::after { background: HighlightText; }
  .tab::after, .nav-link::after, .nav-trigger::after { background: CanvasText; }
  .select select, .field select { appearance: auto; background-image: none; }
}
@media print {
  .site-header, .consent-bar, .scrim, .mobile-menu { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- photography (site set + portal uploads) ---------- */
.hero.has-img { background: #1B1714; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; z-index: 0; transition: opacity var(--d4) var(--ease-soft), filter var(--d4) var(--ease-soft); }
.hero.has-img::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  /* The two bright corners (sky top right, the doorway's reflection bottom right) are darkened so
     the header labels and the showroom line read; the rest of the photo is untouched. */
  background: radial-gradient(55% 240px at 100% 0, rgb(23 21 19 / .55), rgb(23 21 19 / 0)), radial-gradient(45% 42% at 100% 100%, rgb(23 21 19 / .55), rgb(23 21 19 / 0)),
    linear-gradient(180deg, rgb(23 21 19 / .5) 0, rgb(23 21 19 / 0) 200px), linear-gradient(0deg, rgb(23 21 19 / .7) 0, rgb(23 21 19 / 0) 34%),
    radial-gradient(140% 110% at 62% 50%, rgb(23 21 19 / 0) 58%, rgb(23 21 19 / .34) 100%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero .side .actions { margin-top: 28px; }
.sk.has-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity var(--d-fade) var(--ease-soft), filter var(--d-fade) var(--ease-soft); }
.room-hero > .sk.has-img::after { opacity: .42; }
.pair .sk.has-img { border-radius: 0; }
.ph--land { aspect-ratio: 4 / 3; }
.ph--wide { aspect-ratio: 21 / 9; }
.res-list .cover { width: 52px; aspect-ratio: 3 / 4; object-fit: cover; flex: none; display: block; background: var(--tone-laminate); }
@media (max-width: 599px) { .res-list .cover { grid-row: span 2; align-self: start; } }
.brand-empty { margin-top: 24px; }

/* ---------- story (why page) ---------- */
.story .grid { row-gap: 32px; align-items: start; }
.story-side { grid-column: 1 / span 4; display: grid; gap: 14px; align-content: start; }
/* The mark in place of a photo: brown on paper, gold on the dark theme (same switch as the header). */
.story-mark { margin-top: clamp(32px, 3vw, 48px); width: clamp(220px, 18vw, 300px); }
.story-mark .logo { display: block; width: 100%; height: auto; }
.story-mark .logo--dark { display: none; }
:root[data-theme="dark"] .story-mark .logo--light { display: none; }
:root[data-theme="dark"] .story-mark .logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .story-mark .logo--light { display: none; }
  :root:not([data-theme="light"]) .story-mark .logo--dark { display: block; }
}
.story-text { grid-column: 6 / -1; max-width: none; font-size: 17px; line-height: 1.6; }
.story-text > p, .story-text > ul { max-width: 62ch; }
.story-text p + p { margin-top: 1em; }
.story-body { max-width: 34em; font-size: clamp(1.1875rem, 1.05rem + .45vw, 1.5rem); line-height: 1.5; font-weight: 350; letter-spacing: -.01em; color: var(--fg); margin-bottom: 2.4em; }
.story-body p { margin: 0; }
.story-body p + p { margin-top: 1em; }
@media (min-width: 1024px) { .story-side { position: sticky; top: calc(var(--header-h) + 32px); } }
@media (max-width: 1023px) {
  .story-side, .story-text { grid-column: 1 / -1; }
  .story-mark { width: 180px; margin-top: 24px; }
}

/* ---------- blog ---------- */
.post-grid .cap__sub { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-grid .cap { grid-template-columns: 1fr; }
.post { max-width: 780px; margin: 0 auto; }
.post-head { padding-top: var(--page-top); display: grid; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.post-cover { aspect-ratio: 16 / 9; margin-bottom: clamp(28px, 4vw, 48px); }
.post-body { font-size: 17px; line-height: 1.65; }
.post-body p, .post-body ul, .post-body ol { margin: 0 0 1.1em; }
.post-body h2, .post-body h3, .post-body h4 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; margin: 1.8em 0 .6em; line-height: 1.15; }
.post-body h2 { font-size: 1.75rem; } .post-body h3 { font-size: 1.4rem; } .post-body h4 { font-size: 1.15rem; }
.post-body img { display: block; max-width: 100%; height: auto; margin: 28px 0; }
.post-body a { text-decoration: underline; text-underline-offset: 3px; }
.post-body blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 2px solid var(--rule); color: var(--fg-muted); }
.post-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: clamp(36px, 5vw, 64px); padding-top: 28px; }
/* The product groups a post is about (25 Nov 2026): a small label and plain links, between the text and the foot. */
.post-groups { margin-top: clamp(36px, 5vw, 64px); }
.post-groups__list { display: flex; flex-wrap: wrap; gap: 0 32px; margin: 4px 0 0; padding: 0; list-style: none; }
.post-groups + .post-foot { margin-top: 12px; }
@media (max-width: 559px) { .post-groups__list { flex-direction: column; } }

/* ---------- inspiration (masonry) ---------- */
.masonry { columns: 3; column-gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.masonry > li { break-inside: avoid; margin: 0 0 var(--gap); }
.masonry img { display: block; width: 100%; height: auto; background: var(--tone-laminate); transition: opacity var(--d-fade) var(--ease-soft), filter var(--d-fade) var(--ease-soft); }
.masonry .cap__sub { padding-top: 10px; }
@media (max-width: 1023px) { .masonry { columns: 2; } }
@media (max-width: 599px) { .masonry { columns: 1; } }

/* ---------- product frames ----------
   Product photos from the old site are cutouts on white. The frame keeps the product's own
   proportions (tall for doors, square for paving), blends the white away into a warm studio
   backdrop and adds a soft floor shadow, so nothing is cropped and the doors read as objects. */
.ph-frame { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% 105%, var(--frame-a) 0%, var(--frame-b) 48%, var(--frame-c) 100%); }
.ph-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7% 12% 9%; mix-blend-mode: multiply; transition: opacity var(--d-fade) var(--ease-soft), filter var(--d-fade) var(--ease-soft); }
.ph-frame::after {
  content: ''; position: absolute; left: 22%; right: 22%; bottom: 6.5%; height: 5%; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(27, 25, 22, .32), rgba(27, 25, 22, 0) 70%); filter: blur(3px); pointer-events: none;
}
.ph-frame--door { aspect-ratio: 5 / 8; }
.ph-frame--window { aspect-ratio: 4 / 3; }
.ph-frame--window > img { padding: 8%; }
.ph-frame--photo { aspect-ratio: 1; background: var(--tone-laminate); }
.ph-frame--photo > img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.ph-frame--photo::after { display: none; }
.main-plate.ph-frame { aspect-ratio: 4 / 5; }
.main-plate.ph-frame > img { padding: 6% 14% 9%; }
.main-plate.ph-frame--photo { aspect-ratio: 4 / 3; }
@media (min-width: 1024px) { .main-plate.ph-frame { max-height: calc(100svh - var(--header-h) - 80px); } }
.tile .ph-frame > img { transition: transform var(--d4) var(--ease-long), opacity var(--d-fade) var(--ease-soft), filter var(--d-fade) var(--ease-soft); transform-origin: 50% 90%; }
@media (hover: hover) { .tile:hover .ph-frame > img { transform: scale(1.035); } }

/* ---------- catalogue browser ---------- */
.cb-head { padding-bottom: clamp(20px, 3vw, 40px); }
.cb { display: grid; grid-template-columns: 252px minmax(0, 1fr); column-gap: clamp(28px, 4vw, 64px); align-items: start; }
.cb-side { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100svh - var(--header-h) - 40px); overflow: auto; overscroll-behavior: contain; padding-right: 6px; scrollbar-width: thin; }
.cb-side__head, .cb-side__foot { display: none; }
.cb-group + .cb-group { margin-top: 30px; padding-top: 26px; }
.cb-group .label { margin-bottom: 14px; }
.cb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 7px; padding: 7px 12px 8px; border: 1px solid var(--line-strong, var(--rule)); border-radius: 999px;
  background: transparent; color: var(--fg); font: inherit; font-size: 13.5px; line-height: 1.2; cursor: pointer;
  transition: background var(--d2) var(--ease), color var(--d2) var(--ease), border-color var(--d2) var(--ease), transform var(--d3) var(--ease), opacity var(--d2) var(--ease);
}
.chip small { font-size: 11px; color: var(--fg-muted); transition: color var(--d2) var(--ease); }
.chip:hover { border-color: var(--fg); }
.chip:active { transform: scale(.96); transition-duration: 90ms; }
.chip[aria-pressed="true"] { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.chip[aria-pressed="true"] small { color: var(--btn-fg); opacity: .7; }
.chip.is-empty { opacity: .38; }
.chip:focus-visible { outline: 2px solid var(--focus, var(--ink)); outline-offset: 2px; }
.cb-swatches { display: flex; flex-wrap: wrap; gap: 10px 8px; }
.swatch { position: relative; width: 34px; height: 34px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; display: grid; place-items: center; }
.swatch i {
  display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(27, 25, 22, .14);
  transition: transform var(--d2) var(--ease), box-shadow var(--d2) var(--ease);
}
.swatch:hover i { transform: scale(1.1); }
.swatch:active i { transform: scale(.92); transition-duration: 90ms; }
.swatch[aria-pressed="true"] i { box-shadow: inset 0 0 0 1px rgba(27, 25, 22, .14), 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.swatch span { position: absolute; right: -2px; bottom: -3px; font-size: 10px; line-height: 1; padding: 2px 4px; border-radius: 6px; background: var(--paper); color: var(--fg-muted); border: 1px solid var(--rule); }
.swatch.is-empty { opacity: .35; }
.swatch:focus-visible { outline: 2px solid var(--focus, var(--ink)); outline-offset: 2px; }
.cb-range { padding-top: 4px; }
.cb-range__labels { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 14px; }
.cb-range__track { position: relative; height: 24px; }
.cb-range__track::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--rule); }
.cb-range__fill { position: absolute; top: 11px; height: 2px; background: var(--ink); transition: left 80ms linear, right 80ms linear; }
.cb-range input[type="range"] {
  -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 24px; margin: 0; background: none; pointer-events: none;
}
.cb-range input[type="range"]::-webkit-slider-runnable-track { background: transparent; height: 24px; }
.cb-range input[type="range"]::-moz-range-track { background: transparent; height: 24px; }
.cb-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 0 1px 3px rgba(27, 25, 22, .18); cursor: grab; transition: transform var(--d2) var(--ease);
}
.cb-range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); cursor: grab; }
.cb-range input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); cursor: grabbing; }
.cb-range input[type="range"]:focus-visible { outline: none; }
.cb-range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }

.cb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-bottom: 20px; }
.cb-search { position: relative; flex: 1 1 260px; max-width: 420px; display: flex; align-items: center; }
.cb-search svg { position: absolute; left: 0; width: 18px; height: 18px; color: var(--fg-muted); pointer-events: none; }
.cb-search input {
  width: 100%; padding: 10px 0 10px 28px; border: 0; border-bottom: 1px solid var(--rule); background: transparent; color: var(--fg); font: inherit; font-size: 15px; border-radius: 0;
  transition: border-color var(--d2) var(--ease);
}
.cb-search input:focus { outline: none; border-color: var(--ink); }
.cb-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.cb-count { font-size: 14px; color: var(--fg-muted); white-space: nowrap; min-width: 8ch; }
.cb-tools { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.cb-filters-btn { display: none; align-items: center; gap: 8px; }
.cb-filters-btn b { font-weight: 400; min-width: 1.4em; height: 1.4em; display: inline-grid; place-items: center; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-size: 11px; }
.cb-filters-btn b:empty { display: none; }
.cb-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0 0; }
.cb-active[hidden] { display: none; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 6px 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--tint);
  color: var(--fg); font: inherit; font-size: 13px; cursor: pointer; transition: border-color var(--d2) var(--ease), background var(--d2) var(--ease);
}
.pill svg { width: 10px; height: 10px; }
.pill:hover { border-color: var(--fg); }
.pill:focus-visible { outline-offset: 2px; }
.cb-clear { margin-left: 6px; font-size: 13px; }
.cb-results { position: relative; padding-top: 32px; }
.cat-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px var(--gap); list-style: none; margin: 0; padding: 0; align-items: start; }
@media (min-width: 1500px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cb-card { content-visibility: auto; contain-intrinsic-size: 0 520px; transition: transform 520ms var(--ease), opacity 320ms var(--ease); }
.cb-card.is-leaving { opacity: 0; transform: scale(.96); transition: opacity 220ms var(--ease-soft), transform 220ms var(--ease-soft); pointer-events: none; z-index: 0; }
.cb-img { display: block; }
.cb-img .alt { opacity: 0; transition: opacity var(--d3) var(--ease-soft); }
@media (hover: hover) { .tile:hover .cb-img .alt { opacity: 1; } }
/* A scene photo as the second image (`has-scene`, app.js isScene): it fills the frame edge to edge
   without the cutout blend, and the render and its floor shadow fade out as it fades in. */
.cb-img .alt--scene { object-fit: cover; object-position: 50% 50%; padding: 0; mix-blend-mode: normal; }
.cb-img.has-scene::after { transition: opacity var(--d3) var(--ease-soft); }
@media (hover: hover) {
  .tile:hover .cb-img.has-scene > img:not(.alt) { opacity: 0; }
  .tile:hover .cb-img.has-scene::after { opacity: 0; }
}
.cb-flag { position: absolute; top: 10px; left: 10px; z-index: 1; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; background: var(--flag-bg); color: var(--ink); backdrop-filter: blur(4px); }
.cb-dots { display: inline-flex; gap: 4px; margin-left: 10px; vertical-align: middle; }
.cb-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(27, 25, 22, .14); }
.cb-empty { padding: 72px 0; display: grid; gap: 18px; justify-items: start; color: var(--fg-muted); }
.cb-scrim { position: fixed; inset: 0; z-index: 60; background: var(--scrim); animation: fade var(--d3) var(--ease-soft); }

@media (max-width: 1023px) {
  .cb { grid-template-columns: minmax(0, 1fr); }
  .cb-filters-btn { display: inline-flex; }
  .cb-side {
    position: fixed; inset: auto 0 0 0; z-index: 61; max-height: 86svh; padding: 0 20px 20px; background: var(--paper); border-radius: 18px 18px 0 0;
    box-shadow: 0 -12px 40px rgba(27, 25, 22, .18); transform: translateY(104%); visibility: hidden;
    /* Closing slides all the way out before the panel is hidden. */
    transition: transform var(--d3) var(--ease), visibility 0s linear var(--d3);
  }
  .cb.is-open .cb-side { transform: none; visibility: visible; transition: transform var(--d3) var(--ease), visibility 0s; }
  .cb-side__head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1; padding: 22px 0 14px; background: var(--paper); }
  /* Drawer handle: a quiet grip line at the top of the sheet. */
  .cb-side__head::before { content: ''; position: absolute; top: 9px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: var(--line); pointer-events: none; }
  .cb-close { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: var(--fg); cursor: pointer; }
  .cb-close svg { width: 14px; height: 14px; }
  .cb-side__foot { display: block; position: sticky; bottom: 0; padding: 14px 0 0; background: linear-gradient(to top, var(--paper) 70%, transparent); }
  .cb-side__foot .btn { width: 100%; }
  body.cb-drawer { overflow: hidden; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gap); }
}
@media (max-width: 599px) { .cb-tools { margin-left: 0; width: 100%; justify-content: space-between; } }
@media (prefers-reduced-motion: reduce) { .cb-card, .cb-card.is-leaving, .cb-side { transition: none; } }

/* ---------- theme toggle ---------- */
.theme-toggle { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--fg); cursor: pointer; border-radius: 50%; transition: color var(--d2) var(--ease), background var(--d2) var(--ease); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun, .theme-toggle .moon { transform-origin: 50% 50%; transition: opacity var(--d3) var(--ease), transform var(--d3) var(--ease); }
.theme-toggle .sun { opacity: 0; transform: rotate(-60deg) scale(.6); }
.theme-toggle[aria-pressed="true"] .sun { opacity: 1; transform: none; }
.theme-toggle[aria-pressed="true"] .moon { opacity: 0; transform: rotate(60deg) scale(.6); }
.theme-toggle:hover { background: var(--tint); }
.theme-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.theme-toggle svg > g { position: absolute; }

/* ---------- logo and landing typography ----------
   The logo is a heavy geometric ARUNA over a tracked light DESIGN. The landing page borrows that
   voice: Satoshi with strong weight contrast, uppercase kickers, one gold call to action. */
.wordmark { display: inline-flex; align-items: center; }
.wordmark .logo { display: block; height: 36px; width: auto; }
.wordmark .logo--dark { display: none; }
.site-header.is-over .wordmark .logo--light, .site-footer .wordmark .logo--light { display: none; }
.site-header.is-over .wordmark .logo--dark, .site-footer .wordmark .logo--dark { display: block; }
.site-footer .wordmark .logo { height: 30px; }
:root[data-theme="dark"] .wordmark .logo--light { display: none; }
:root[data-theme="dark"] .wordmark .logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wordmark .logo--light { display: none; }
  :root:not([data-theme="light"]) .wordmark .logo--dark { display: block; }
}
/* The hero is a facade: a blank wall on the left, the entrance door (Pirnar Ultimum 635 GLASS) to its right, the terrace
   below. The mark is the lettering on that wall. fitHero() in app.js maps the door frame and the
   floor line through the photo's crop and sets --mark-w (left margin to just short of the door)
   and --mark-mt (centred on the visible wall). Without them the mark falls back to a large fixed
   size. The statement sits on
   the terrace, left-aligned under the mark; the showroom line takes the bottom-right corner. */
.hero { align-items: stretch; }
.hero > .wrap { display: flex; flex-direction: column; }
.hero-grid--brand { flex: 1; grid-template-rows: auto 1fr; align-items: start; row-gap: 40px; }
.hero-brand { grid-row: 1; grid-column: 1 / -1; margin: var(--mark-mt, 0px) 0 0; align-self: start; width: var(--mark-w, min(80%, 33.6vw)); }
.hero-logo { display: block; width: 100%; height: auto; }
.hero-logo--svg .lg { display: block; width: 100%; height: auto; overflow: visible; }
/* Lit from the doorway on the right: a soft shadow falls down and to the left, so the letters read
   as standing off the wall. */
.hero-logo--svg .lg, img.hero-logo { filter: drop-shadow(-.3vw .4vw .5vw rgb(8 6 4 / .6)); }
/* The diamond from the showroom wall under DESIGN: about 37% of the word's span, one cap height
   below it, centred on the word (whose middle sits at 50.6% of the mark), the letters' gold and
   shadow. One fine line (2.4 viewBox units) that scales with the letters (DIAMOND_SVG in app.js;
   the owners chose this over a heavier tracing, 30 Oct 2026). Landscape phones have no room for it. */
.hero-gem { display: block; width: 24%; height: auto; margin: 6.3% 0 0 38.6%; overflow: visible; filter: drop-shadow(-.3vw .4vw .5vw rgb(8 6 4 / .6)); }
@media (max-height: 560px) { .hero-gem { display: none; } }
.hero .side {
  grid-row: 2; grid-column: 1 / -1; align-self: end; padding-bottom: .4vw;
  grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(28px, 3vw, 56px); align-items: last baseline;
}
.hero .side .statement { grid-column: 1; }
.hero .side .kicker { grid-column: 2; justify-self: end; text-align: right; }
/* It sits on the doorway's reflection on the floor: ivory with a soft shadow keeps it legible over the light. */
.hero .kicker { font-size: 12px; color: var(--on-night); text-shadow: 0 0 18px rgb(8 6 4 / .95), 0 1px 3px rgb(8 6 4 / .8); }
/* Since 2002: the builders behind the showroom, one quiet line over the address in the same type.
   The address keeps the statement's last baseline; this line sits a step above it. */
.kicker__since { display: block; margin-bottom: .5em; }
@media (prefers-reduced-motion: no-preference) {
  /* Top to bottom, one after another: the mark fades up in place, then each line under it is
     uncovered left to right by a soft-edged mask, like light reaching across the wall. No movement,
     no overshoot, one symmetrical ease. Only --wipe animates; at rest (130%) the mask is solid. */
  .view:not(.no-anim) .hero-brand { animation: mark-in 1400ms var(--ease-soft) 350ms both; }
  .view:not(.no-anim) .hero-gem { animation: mark-in 1400ms var(--ease-soft) 700ms both; }
  .view:not(.no-anim) .hero-cta { animation: mark-in 1400ms var(--ease-soft) 850ms both; }
  .view:not(.no-anim) .hero .side > * {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--wipe) - 30%), transparent var(--wipe));
    mask-image: linear-gradient(90deg, #000 calc(var(--wipe) - 30%), transparent var(--wipe));
    animation: wipe-in 1300ms cubic-bezier(.65, 0, .35, 1) backwards;
  }
  .view:not(.no-anim) .hero .statement { animation-delay: 1000ms; }
  .view:not(.no-anim) .hero .kicker { animation-delay: 1700ms; }
  /* First in the order: the header, once, when the site first draws (it is never rebuilt as an element). */
  .site-header { animation: mark-in 900ms var(--ease-soft) both; }
}
@property --wipe { syntax: '<percentage>'; inherits: false; initial-value: 130%; }
@keyframes mark-in { from { opacity: 0; } }
@keyframes wipe-in { from { --wipe: 0%; } to { --wipe: 130%; } }
.hero .side { gap: 16px; }
.hero .side .actions { margin-top: 0; }
.kicker { margin: 0; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold); }
/* Cover line: one light weight, all ivory. The promise turns italic; only the two marked words
   (*word* in the copy) take the logo's gold. */
.statement { margin: 0; max-width: 22em; text-wrap: balance; font-family: var(--display); font-size: clamp(1.75rem, 1rem + 2vw, 3.25rem); font-weight: 300; line-height: 1.06; letter-spacing: var(--track-sub); color: var(--on-night); }
.statement span { font-weight: 300; }
.statement strong { display: block; font-weight: 300; font-style: italic; letter-spacing: -.02em; }
/* The owners' choice of an upright second line (Website → Homepage slogan). */
.statement--plain strong { font-style: normal; letter-spacing: var(--track-sub); }
.statement .hl { color: var(--gold-2); }
.btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); border-color: transparent; color: var(--bronze); font-weight: 550; }
.btn--gold:hover { background: linear-gradient(135deg, #DDB975, #EFC98F); border-color: transparent; color: var(--bronze); }
.btn--gold .arrow { transition: transform var(--d2) var(--ease); }
.btn--gold:hover .arrow { transform: translateX(4px); }
/* The hero's "Design your door" (review/hero-konf-button-2026-10-22-decisions.md): a gold plate
   hung under the diamond, centred on it (50.6% of the mark) and one diamond-gap below it (6.3%
   of the mark, as the gem hangs under DESIGN; the calc cancels the grid's 40px row gap). It
   carries the letters' shadow, so it hangs on the same wall lit from the doorway, and grows with
   the mark between 1024 and 1920 px. The arrow points down: it scrolls to the brand tiles. The
   row exists only when the button does (.hero-grid--cta). */
.hero-grid--cta { grid-template-rows: auto auto 1fr; }
.hero .hero-grid--cta > .side { grid-row: 3; }
.hero-cta {
  grid-row: 2; grid-column: 1 / -1;
  width: var(--mark-w, min(100%, 42vw));
  margin-top: calc(var(--mark-w, min(100%, 42vw)) * .063 - 40px);
  display: flex; justify-content: center;
}
.hero-cta .btn {
  margin-left: 1.2%;
  min-height: clamp(52px, 1.5vw + 34px, 64px);
  padding: 0 clamp(30px, 1.2vw + 17px, 40px);
  font-size: clamp(12px, .35vw + 8px, 15px); gap: 12px;
  filter: drop-shadow(-.3vw .4vw .5vw rgb(8 6 4 / .6));
}
.arrow--down { width: 9px; height: 12px; }
.hero-cta .btn:hover .arrow { transform: translateY(4px); }
@media (max-width: 1023px) {
  .hero-cta { width: var(--mark-w, 100%); margin-top: calc(var(--mark-w, 100%) * .063 - 40px); }
}
/* Phones: the plate runs the mark's full width, a thumb-sized bar under the sign; a long label
   wraps inside it rather than leaving the mark's edge (ru at 320 px). */
@media (max-width: 559px) {
  .hero-cta .btn {
    flex: 1 1 auto; margin-left: 0;
    min-height: 52px; padding: 12px 20px; font-size: 12px;
    white-space: normal; text-align: center; line-height: 1.25;
  }
}
/* Section heads: a quiet row, the title left and its link right. The tiles and
   cards below carry the section; the head only names it. An optional count sits after the title. */
.head:has(> .h2--brand) { align-items: baseline; margin-bottom: clamp(24px, 2.6vw, 40px); }
.h2--brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: clamp(1.5rem, 1.2rem + .9vw, 2.25rem); font-weight: 350; line-height: 1.1; letter-spacing: var(--track-sub); }
.h2--brand strong { font-weight: inherit; }
.h2--brand span { font: 400 11px/1.4 var(--mono); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--fg-muted); }
@media (max-width: 1023px) {
  .hero-brand { width: var(--mark-w, 100%); }
  .hero .side { grid-column: 1 / -1; padding-bottom: 0; }
  .hero .side .actions { margin-top: 14px; }
}
/* Phones: the showroom line drops under the statement, still in the bottom-right corner. */
@media (max-width: 767px) {
  .hero .side { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .hero .side .kicker { grid-column: 1; }
}
/* Phones: keep the door's edge in frame at the right, so the mark still runs up to it. */
@media (max-width: 767px) { .hero__img { object-position: 52% 42%; } }

/* ---------- announcement bar ---------- */
/* One scheduled line above the header (portal: Website → Announcement banner). It sits in the
   flow, scrolls away with the page, and the header then sticks as usual. Bronze with ivory in
   both themes (night would merge into the top of the hero); no gold. The hero gives up the
   bar's height so the statement stays above the fold. */
/* Since 30 Oct 2026 (owners; review/2026-10-30-taste-decisions.md B): the logo's brushed gold,
   ink text at Switzer 600, the message repeated with a small diamond between copies and drifting
   right to left at 36px/s. One accessible copy (app.js renderAnnouncement); the track holds two
   identical halves after a leading gutter and shifts by exactly one half, so the loop never jumps.
   The edges fade under a mask, so the text never runs under the ×. Hover or keyboard focus holds
   it. Reduced motion: one copy, still, centred. Literal ink: --ink turns ivory under dark. */
.announce { background: linear-gradient(90deg, #D2AB67 0%, #E6BC80 52%, #CCAE6B 100%); color: #1B1916; transition: opacity var(--d2) var(--ease); }
.announce.is-leaving { opacity: 0; }
.announce__wrap { position: relative; display: flex; align-items: center; min-height: 40px; }
/* The clipping box ends at the ×'s left edge (gutter − 15 + 44). */
.announce__msg { display: block; flex: 1; min-width: 0; min-height: 40px; margin: 0 calc(var(--gutter) + 29px) 0 0; padding: 0; overflow: hidden; font: 600 14px/40px var(--sans); letter-spacing: .01em; color: inherit; text-decoration: none; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 32px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 32px), transparent 100%); }
.announce__msg--link { text-decoration: none; cursor: pointer; }
.announce__msg--link:focus-visible { outline: 2px solid #1B1916; outline-offset: -4px; }
.announce__track { display: inline-flex; align-items: center; padding-left: var(--gutter); white-space: nowrap; will-change: transform; animation: announce-run var(--announce-dur, 60s) linear infinite; }
@media (hover: hover) { .announce:hover .announce__track { animation-play-state: paused; } }
.announce:focus-within .announce__track { animation-play-state: paused; }
.announce__item { display: inline-flex; align-items: center; }
.announce__item .arrow { margin-left: 10px; stroke-width: 1.5; }
.announce__sep { display: inline-block; flex: none; width: 5px; height: 5px; margin: 0 28px; background: currentColor; transform: rotate(45deg); }
.announce__close { position: absolute; right: calc(var(--gutter) - 15px); top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; margin: 0; padding: 0; border: 0; background: none; color: #1B1916; cursor: pointer; transition: background-color var(--d2) var(--ease); }
.announce__close:hover { background: rgb(27 25 22 / .08); }
.announce__close:focus-visible { outline: 2px solid #1B1916; outline-offset: -4px; }
.announce__close svg { width: 14px; height: 14px; }
@keyframes announce-run { to { transform: translateX(var(--announce-shift, -50%)); } }
@media (max-width: 767px) { .announce__msg { font-size: 13px; } }
/* Reduced motion: the 21 Oct layout in the new colours, one copy, start of the message, two lines at most. */
@media (prefers-reduced-motion: reduce) {
  .announce__track, .announce__track.is-static { display: block; padding: 0; animation: none; }
  .announce__msg { margin: 0 calc(var(--gutter) + 29px); padding: 10px 0; line-height: 1.35; white-space: normal; text-align: center; text-wrap: balance; -webkit-mask-image: none; mask-image: none; }
  .announce__item { display: inline; }
  .announce__item .arrow { display: inline-block; vertical-align: middle; }
  .announce__sep { display: none; }
}
@media (prefers-reduced-motion: no-preference) { .announce { animation: mark-in 900ms var(--ease-soft) both; } }
.has-announce .hero { min-height: calc(clamp(560px, 88vh, 1000px) - 40px); min-height: calc(clamp(560px, 88svh, 1000px) - 40px); }
@media (max-width: 767px) { .has-announce .hero { min-height: calc(clamp(520px, 84svh, 760px) - 40px); } }
.menu-open #announce { display: none; }
@media print { #announce { display: none; } }

/* ---------- cinematic (restrained: grain, depth) ---------- */
/* Film grain on the dark hero and showroom rooms: a static noise tile on its own layer, so it is
   rastered once and never repaints on scroll. */
.hero { isolation: isolate; }
.hero.has-img { overflow: hidden; }
.hero::after, .room-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 180px 180px;
  opacity: .05; mix-blend-mode: overlay; will-change: transform;
}
.hero::after { z-index: 0; }
.room-hero::before { z-index: -1; }


/* Depth: wide photographs settle from a slight push-in as they reveal or arrive. */
.brand-plate { overflow: hidden; }
.post-cover-frame { overflow: hidden; margin-bottom: clamp(28px, 4vw, 48px); }
.post-cover-frame > .post-cover { margin-bottom: 0; }

@media (prefers-reduced-motion: no-preference) {
  /* The hero photograph stands still: its once-only 24s drift (scale 1 -> 1.06) came out on
     7 Nov 2026, it read as a zoom and made fine detail in the photo shimmer. */

  /* The transform transition only exists once revealed: the hidden state is set without one. */
  .reveal.is-in > .sk.has-img > img, .brand-plate > img.ph, .brand-plate > .sk.has-img > img, .post-cover-frame > img.post-cover {
    transition: opacity var(--d-fade) var(--ease-soft), filter var(--d-fade) var(--ease-soft), transform 900ms var(--ease-long);
  }
  .reveal.is-in > .sk.has-img > img { transition-delay: 0s, 0s, var(--rd, 0ms); }
  .brand-plate > img.is-pending, .brand-plate > .sk.has-img > img.is-pending, .post-cover-frame > img.is-pending { transform: scale(1.04); }
  .reveal:not(.is-in) > .sk.has-img > img, .brand-plate.reveal:not(.is-in) img, .post-cover-frame.reveal:not(.is-in) > img { transform: scale(1.04); transition: none; }

  /* Showroom text lifts 8px a beat after the dark room enters. */
  .cue { opacity: 0; }
  .cue.is-in { opacity: 1; transition: opacity 1000ms var(--ease-soft) calc(var(--rd, 0ms) + 120ms); }
  .cue:focus-within { opacity: 1; transform: none; }

  /* Inspiration: each photograph rises, un-blurs and fades in once on screen and loaded
     (app.js waits for the load, so the lazy fade never runs as well). Up to six steps of 60ms. */
  .masonry > li.reveal--photo > img { filter: blur(8px); clip-path: inset(0); transition: none; }
  .masonry > li.reveal--photo.is-in {
    opacity: 1;
    transition: opacity 800ms var(--ease-soft);
    transition-delay: calc(var(--i, 0) * 60ms);
  }
  .masonry > li.reveal--photo.is-in > img { filter: none; transition: filter 640ms var(--ease-soft) calc(var(--i, 0) * 60ms); }
  .masonry > li.reveal--photo:focus-within > img { filter: none; }
  .masonry > li.reveal--photo.is-now, .masonry > li.reveal--photo.is-now > img { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cue { opacity: 1; transform: none; }
  .masonry > li.reveal--photo > img { filter: none; }
}
@media print {
  .hero::after, .room-hero::before { display: none; }
  .cue { opacity: 1; transform: none; }
  .masonry > li.reveal--photo > img { filter: none; }
}

/* ---------- dark palette: graphite gallery ----------
   Cool near-black instead of brown, a faint warm light pool at the top of the page. Gold stays the only colour. Re-points the night primitives for the dark theme. */
:root[data-theme="dark"] {
  --night: #0F1012; --night-2: #17191C;
  --on-night: #ECE8E0; --on-night-2: #C9C3B8; --on-night-muted: #8F8A80;
  --line-night: #26292E; --line-night-strong: #6B6F76;
  --frame-a: #CFCBC2; --frame-b: #DDD9D1; --frame-c: #E6E3DC;
  --tone-laminate: #3A3D42; --tone-lacquer: #2E3136;
}
:root[data-theme="dark"] body { background-image: radial-gradient(70% 38% at 50% -4%, rgb(210 171 103 / .09), transparent 65%); background-repeat: no-repeat; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --night: #0F1012; --night-2: #17191C;
    --on-night: #ECE8E0; --on-night-2: #C9C3B8; --on-night-muted: #8F8A80;
    --line-night: #26292E; --line-night-strong: #6B6F76;
    --frame-a: #CFCBC2; --frame-b: #DDD9D1; --frame-c: #E6E3DC;
    --tone-laminate: #3A3D42; --tone-lacquer: #2E3136;
  }
  :root:not([data-theme="light"]) body { background-image: radial-gradient(70% 38% at 50% -4%, rgb(210 171 103 / .09), transparent 65%); background-repeat: no-repeat; }
}

/* ---------- phone header: the theme toggle lives in the menu, so the bar never overflows ---------- */
.mobile-tools { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; color: var(--ink-2); }
.mobile-tools .theme-toggle { color: var(--ink); }
/* One language picker at every width (the current code, dropping the four names); the row of
   full names lives in the phone menu. Phones also move the theme toggle into the menu. */
.header-tools .lang { display: none; }
@media (max-width: 599px) { .header-tools .theme-toggle { display: none; } }
.lang-pick { position: relative; display: block; }
.lang-pick__btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; border: 0; background: none;
  font: 500 12px/1 var(--sans); letter-spacing: .1em; color: var(--fg); transition: color var(--d1);
}
.lang-pick__btn svg { width: 9px; height: 6px; transition: transform var(--d2) var(--ease); }
.lang-pick__btn[aria-expanded='true'] svg { transform: rotate(180deg); }
.lang-pick__btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.lang-pick__menu {
  position: absolute; left: 0; top: calc(100% + 2px); z-index: 2; min-width: 168px; padding: 8px 0;
  background: var(--raised); color: var(--ink); box-shadow: var(--shadow-float);
  animation: drop var(--d2) var(--ease);
}
.lang-pick__menu button {
  display: block; width: 100%; min-height: 44px; padding: 0 20px; border: 0; background: none;
  font: 400 14px/1 var(--sans); text-align: left; color: var(--ink-2); transition: color var(--d1);
}
.lang-pick__menu button[aria-pressed='true'] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.lang-pick__menu button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.mobile-lang { margin-top: 24px; }
.mobile-lang .lang button { min-width: 0; padding: 0 16px; font-size: 14px; letter-spacing: .04em; }
.mobile-lang .lang button:first-child { padding-left: 0; }

/* ---------- brand page browser ---------- */
.brand-models { padding-bottom: 18px; }
.brand-browser .cb-bar { padding-top: 4px; }
.cb--compact .cb-side { top: calc(var(--header-h) + 16px); }


/* ---------- home: numbers, follow ----------
   The owners' copy: a longer cover line, three figures, and a pointer to Instagram and Facebook.
   Rows are spaced, never ruled. */
.statement { max-width: 24em; font-size: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); }
.stats > li { display: grid; gap: 12px; align-content: start; }
.stats .n { font-family: var(--display); font-weight: 250; font-size: var(--t-h1); line-height: .95; letter-spacing: var(--track-head); }
.stats .n span { display: block; margin-top: 12px; font: 400 11px/1.4 var(--mono); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--fg-muted); }
.stats > li > p:last-child { color: var(--fg-2); max-width: 30ch; }
@media (max-width: 767px) { .stats { grid-template-columns: 1fr; gap: 36px; } }
.follow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.follow .text { display: grid; gap: 12px; }
.follow .links { display: flex; flex-wrap: wrap; gap: 8px 36px; }
/* Twelve brands: shorter rows keep the mosaic from running the length of the page. */
.mosaic.is-many { grid-auto-rows: clamp(72px, 7.8vw, 132px); }
@media (max-width: 1023px) { .mosaic.is-many { grid-auto-rows: clamp(56px, 7vw, 92px); } }
@media (max-width: 599px) { .mosaic.is-many { grid-auto-rows: 24vw; } }
.sk[data-tone='rodlux'] { --tone: var(--tone-steel); }
.sk[data-tone='kurz'] { --tone: var(--tone-aluminium); }
.sk[data-tone='ryterna'] { --tone: var(--tone-wood-alu); }
.sk[data-tone='openit'] { --tone: var(--tone-wood); }
.sk[data-tone='ecco-products'] { --tone: var(--tone-room); }

/* ---------- why: partners and team ---------- */
.prose .partners { list-style: none; padding-left: 0; display: grid; gap: 12px; margin: 0 0 1.4em; }
.prose .partners li { margin: 0; }
.prose .partners strong { display: block; margin-bottom: 2px; font: 400 11px/1.6 var(--mono); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--fg-muted); }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 3.4vw, 56px) var(--gap); }
.team > li { display: grid; gap: 16px; align-content: start; }
.team .sk--portrait, .team .ph--portrait { aspect-ratio: 3 / 4; }
.team .who { display: grid; gap: 4px; }
.team .name { font-family: var(--display); font-weight: 400; font-size: var(--t-title); line-height: 1.2; }
.team .role { font-size: 14px; color: var(--fg-muted); }
.team .who a { display: inline-flex; min-height: 32px; align-items: center; font-size: 14px; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--rule-ui); }
.team .who a:hover { text-decoration-color: currentColor; }
@media (max-width: 1023px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sk[data-tone='portrait'] { --tone: var(--tone-veneer); }

/* ---------- express offer (a door in 7 days) ---------- */
.express-how { display: grid; gap: 28px; justify-items: start; }
.steps { display: grid; gap: 22px; max-width: 56ch; counter-reset: step; }
.steps > li { display: grid; grid-template-columns: 3ch minmax(0, 1fr); column-gap: 18px; font-size: 17px; line-height: 1.6; color: var(--fg-2); }
.steps > li::before { counter-increment: step; content: counter(step, decimal-leading-zero); padding-top: .5em; font: 400 11px/1.4 var(--mono); letter-spacing: var(--track-caps); color: var(--fg-muted); }
.map .link { margin-top: 12px; }
/* ---------- contact map (30 Oct 2026, review/2026-10-30-taste-decisions.md C) ----------
   The showroom on Google Maps, full width under the contact grid. Before the first click a plate in
   the site's map tone carries a pin, the address, the button and a one-line cookie note; the iframe
   then fades in on load. Under dark the map is dimmed a little and comes back on hover or focus. */
.c-map { margin-top: var(--section); }
.c-map__frame { position: relative; height: clamp(340px, 38vw, 560px); background: var(--falloff), var(--tone-map); overflow: hidden; }
.c-map__gate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px var(--gutter); text-align: center; color: var(--fg); }
.c-map__pin { display: block; width: 20px; height: 28px; color: var(--fg); }
.c-map__addr { margin: 0; font: 300 var(--t-title)/1.2 var(--display); letter-spacing: var(--track-sub); color: var(--fg); }
.c-map__note { margin: 0; max-width: 46ch; font-size: 13px; line-height: 1.5; color: var(--fg-2); }
.c-map__iframe { display: block; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity var(--d3) var(--ease-soft), filter var(--d3) var(--ease); }
.c-map__iframe.is-loaded { opacity: 1; }
:root[data-theme="dark"] .c-map__iframe { filter: brightness(.82) saturate(.85); }
:root[data-theme="dark"] .c-map:hover .c-map__iframe, :root[data-theme="dark"] .c-map:focus-within .c-map__iframe { filter: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .c-map__iframe { filter: brightness(.82) saturate(.85); }
  :root:not([data-theme="light"]) .c-map:hover .c-map__iframe, :root:not([data-theme="light"]) .c-map:focus-within .c-map__iframe { filter: none; }
}
@media (prefers-reduced-motion: reduce) { .c-map__iframe { transition: none; } }

/* ---------- 17 Oct 2026 feedback: header ---------- */
@media (max-width: 1199px) { .wordmark .logo { height: 30px; } }
@media (max-width: 599px) { .wordmark .logo { height: 26px; } }
@media (max-width: 359px) { .wordmark .logo { height: 24px; } }
.site-footer .wordmark .logo { height: 30px; }
/* Over the hero photo: full ivory with a soft shadow, so the labels read on the wall and the sky. */
.site-header.is-over:not(.is-scrolled):not(.is-open) { --fg-2: var(--on-night); }
.site-header.is-over:not(.is-scrolled):not(.is-open) .nav-link,
.site-header.is-over:not(.is-scrolled):not(.is-open) .nav-trigger,
.site-header.is-over:not(.is-scrolled):not(.is-open) .lang-pick__btn { text-shadow: 0 1px 2px rgb(8 6 4 / .5), 0 0 12px rgb(8 6 4 / .45); }
.site-header.is-over:not(.is-scrolled):not(.is-open) .lang-pick__btn { font-weight: 550; }
.site-header.is-over:not(.is-scrolled):not(.is-open) .theme-toggle svg,
.site-header.is-over:not(.is-scrolled):not(.is-open) .ehitus__mark, .site-header.is-over:not(.is-scrolled):not(.is-open) .head-social__link svg { filter: drop-shadow(0 1px 2px rgb(8 6 4 / .5)) drop-shadow(0 0 12px rgb(8 6 4 / .45)); }
/* The builders' mark: 18 px, monochrome through a mask, wide screens only. */
.ehitus { display: none; align-items: center; height: 44px; margin-right: 16px; color: var(--fg-2); transition: color var(--d1); }
.ehitus:hover, .ehitus:focus-visible { color: var(--fg); }
.ehitus__mark { display: block; width: 62px; height: 18px; background: currentColor; -webkit-mask: url(img/brand/aruna-ehitus.svg) no-repeat center / contain; mask: url(img/brand/aruna-ehitus.svg) no-repeat center / contain; }
@media (min-width: 1360px) { .ehitus:not([hidden]) { display: inline-flex; } }
/* The owners' social profiles in the header, left of the Aruna Ehitus mark (portal: Website →
   Social media, "In header"; review/2026-10-30-taste-decisions.md D): up to three 18px glyphs, the
   Ehitus mark's height, in 32×44 boxes with no gap, so they read as one group 31px from the mark.
   Muted at rest and full on hover like the mark; over the hero photo on-night-2 → on-night, so hover
   still has somewhere to go. From 1360px like the mark; app.js fitHeadSocial() hides the whole
   group (.is-cramped) when a long nav language leaves it less than 40px of air. */
.head-social { display: none; align-items: center; margin-right: 8px; }
.head-social__link { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 44px; color: var(--fg-2); transition: color var(--d1); }
.head-social__link:hover, .head-social__link:focus-visible { color: var(--fg); }
.head-social__link:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.head-social__link svg { display: block; width: 18px; height: 18px; }
.site-header.is-over:not(.is-scrolled):not(.is-open) .head-social__link { color: var(--on-night-2); }
.site-header.is-over:not(.is-scrolled):not(.is-open) .head-social__link:hover, .site-header.is-over:not(.is-scrolled):not(.is-open) .head-social__link:focus-visible { color: var(--on-night); }
@media (min-width: 1360px) { .head-social { display: inline-flex; } }
.head-social.is-cramped { display: none !important; }
.nav-link.is-cramped { display: none; }
/* The header button: the full label on desktop, the short one below 1200 px. */
.cta__short { display: none; }
@media (max-width: 1199px) { .cta__long { display: none; } .cta__short { display: inline; } }
/* Tooted mega menu: four columns, group names as links, items under each; no lines, no counts. */
.pm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(24px, 2.8vw, 48px); }
.pm-col { display: grid; gap: 32px; align-content: start; }
.pm-group__name { display: inline-block; margin-bottom: 14px; font: 450 16px/1.3 var(--sans); color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: transparent; transition: text-decoration-color var(--d2); }
.pm-group__name:hover { text-decoration-color: currentColor; }
.pm-group ul { display: grid; }
.pm-group li a { display: block; padding: 6px 0; font: 400 14px/1.35 var(--sans); color: var(--fg-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: transparent; transition: color var(--d1), text-decoration-color var(--d2); }
.pm-group li a:hover { color: var(--fg); text-decoration-color: currentColor; }
.mega-grid .name { font-size: 1.35rem; }
/* Phone menu: the Tooted accordion, no rules between rows. */
.mm-groups { display: grid; }
.mm-group__btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 0; border: 0; background: none; font-family: var(--display); font-weight: 350; font-size: 22px; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); text-align: left; }
.mm-group__btn svg { width: 12px; height: 8px; flex: none; color: var(--muted); transition: transform var(--d2) var(--ease); }
.mm-group__btn[aria-expanded='true'] svg { transform: rotate(180deg); }
.mm-group__list { display: grid; padding: 4px 0 16px; animation: fade var(--d2) var(--ease); }
.mm-group__list a { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; color: var(--ink-2); }
.mm-group__list a:hover { color: var(--ink); }
.mm-group__list .mm-all { color: var(--ink); }
.mobile-menu .primary { margin-top: 28px; }
.mobile-menu .direct .link { gap: 10px; }
.mobile-lang .lang { flex-wrap: wrap; }

/* ---------- showroom block: eyebrow and address ---------- */
.room-hero__eyebrow { display: block; font: 400 clamp(13px, .6rem + .45vw, 16px)/1.2 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.where__addr { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: transparent; transition: text-decoration-color var(--d2); }
.where__addr:hover { text-decoration-color: currentColor; }

/* ---------- follow: section head with the two glyphs on the right ---------- */
.follow { display: block; }
.follow .head { margin-bottom: 0; }
.follow__p { margin-top: 12px; max-width: 40ch; }
.social { display: flex; gap: 8px; }
.social__link { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--fg-2); transition: color var(--d1); }
.social__link:hover { color: var(--fg); }
.social__link:focus-visible { outline: 2px solid var(--focus, var(--ink)); outline-offset: 2px; }
.social__link svg { display: block; width: 24px; height: 24px; }

/* ---------- home: completed projects, technical-doors band ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) var(--gap); }
.works-frame { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--raised); }
.works-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.works-grid figcaption { margin-top: 12px; }
@media (max-width: 1023px) { .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .works-grid > li:nth-child(n + 5) { display: none; } }
@media (max-width: 599px) { .works-frame { aspect-ratio: 1; } }
.tech-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; column-gap: clamp(24px, 3vw, 56px); align-items: baseline; margin-top: 32px; }
.tech-band__h { font-size: var(--t-title, 1.25rem); font-weight: 400; line-height: 1.25; }
.tech-band__p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg-muted); }
@media (max-width: 1023px) { .tech-band { grid-template-columns: 1fr; row-gap: 10px; } }

/* ---------- MBI: GeoCeramica, GeoSteen and Basicsteen as equals, then one shared laying note ----------
   Same square photo, same heading shape, same text style in each block. On wide screens the blocks
   share subgrid rows so photos, names and first lines align across the three. No lines, no boxes. */
.mbi-lines { display: grid; row-gap: clamp(56px, 9vw, 80px); }
.mbi-line { display: grid; align-content: start; }
.mbi-line > .ph { width: 100%; margin-bottom: clamp(20px, 2vw, 28px); }
.mbi-line .h2--brand { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
/* The ® on the names MBI registers: small and raised, without changing the heading's line height. */
.h2--brand .reg { font-size: .42em; font-weight: 400; line-height: 0; letter-spacing: 0; vertical-align: .9em; margin-left: .06em; }
/* "alates 65 € / m²" under the name, written like a product card's price. Always in the block,
   empty when there is no figure, so the four blocks keep the same rows. */
.mbi-line__price { margin-bottom: 18px; font: 450 17px/1.4 var(--sans); color: var(--fg); white-space: nowrap; }
.mbi-line__price:empty { margin-bottom: 0; }
.mbi-line__price span { font-size: 14px; font-weight: 400; color: var(--fg-2); }
.mbi-line__price b { font-weight: inherit; }
.mbi-line__text p, .mbi-lay p { font-size: 17px; line-height: 1.7; color: var(--fg-2); max-width: 62ch; text-wrap: pretty; }
.mbi-line__text p + p { margin-top: 1em; }
.mbi-lay { display: grid; row-gap: 12px; margin-top: clamp(56px, 7vw, 96px); }
/* Four blocks (14 Nov 2026): two by two from tablets up, four across on wide screens. Each block
   spans the same four rows (photo, name, price, text), so those line up across a row of blocks. */
@media (min-width: 768px) {
  /* no row gap on the grid: a block's four rows would each be pushed apart by it. The space
     between the two pairs is a margin above the second pair's photos instead. */
  .mbi-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 3vw, 56px); row-gap: 0; }
  .mbi-line { grid-row: span 4; grid-template-rows: subgrid; }
  .mbi-line:nth-child(n + 3) > .ph { margin-top: clamp(56px, 7vw, 96px); }
}
@media (min-width: 1100px) { .mbi-line__text p { font-size: 16px; line-height: 1.65; } }
@media (min-width: 1400px) {
  .mbi-lines { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mbi-line:nth-child(n + 3) > .ph { margin-top: 0; }
  .mbi-line__text p { font-size: 15px; line-height: 1.6; }
  /* the laying note sits under the three slabs it is about; the column under GeoStylistix stays empty */
  .mbi-lay { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(32px, 3vw, 56px); align-items: baseline; }
  .mbi-lay > p { grid-column: 2 / span 2; }
}

/* ---------- CarbonCore: the maker's figures, no boxes, no lines ---------- */
.carboncore .cc-lead { max-width: 52ch; }
.cc-figs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px var(--gap); margin-top: clamp(28px, 3vw, 44px); }
.cc-fig { display: grid; gap: 6px; align-content: start; }
.cc-fig__v { font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 1.4rem + 1.2vw, 2.75rem); line-height: 1; letter-spacing: -.03em; }
.cc-fig__pre { margin-right: 6px; font-size: 15px; letter-spacing: 0; color: var(--fg-2); }
.cc-fig__unit { margin-left: 6px; font-size: 15px; letter-spacing: 0; color: var(--fg-2); }
.cc-fig__t { margin-top: 6px; font-size: 15px; color: var(--fg); }
.cc-fig__n { font-size: 14px; line-height: 1.5; color: var(--fg-muted); max-width: 30ch; }
.cc-award { margin-top: 32px; }
.cc-source { margin-top: 12px; max-width: 70ch; }
@media (max-width: 1023px) { .cc-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .cc-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } }
.cc-line { display: grid; gap: 6px; font-size: 14px; color: var(--fg-2); }

/* ---------- address: copy button and map link under the two lines ---------- */
.addr-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 8px; font-size: 14px; white-space: normal; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--fg-2); cursor: pointer; transition: color var(--d1); }
.copy-btn:hover, .copy-btn.is-done { color: var(--fg); }
.copy-btn .ico { width: 14px; height: 14px; }
.addr-acts .link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: -8px; }
.foot-addr a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: transparent; transition: text-decoration-color var(--d2); }
.foot-addr a:hover { text-decoration-color: currentColor; }

/* ---------- catalogue: group and item pages, empty state ---------- */
.lead--long { max-width: 60ch; }
.page-head .actions { margin-top: 8px; }
.cb-empty__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

/* ---------- Pirnar configurator (site/konfiguraator/) ---------- */
/* "Kujunda oma uks" on the brand page opens the maker's configurator over the site, full screen;
   its own page carries the site's skin and closes itself through the × in its header. The
   overlay fades in whole. */
.konf-overlay { position: fixed; inset: 0; z-index: 90; background: var(--paper); animation: konf-in var(--d3) var(--ease-soft) both; }
.konf-iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--paper); }
html.konf-open, html.konf-open body { overflow: hidden; }
@keyframes konf-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .konf-overlay { animation: none; } }

/* ---------- back control (product page; replaces the breadcrumb row, 25 Nov 2026) ---------- */
.back-row { padding-top: 16px; }
.link--back {
  max-width: min(100%, 60ch);
  gap: 10px; padding-right: 8px;
  font-size: 14px; color: var(--fg-2);
  text-decoration: none;
  transition: color var(--d1);
}
.link--back__text {
  min-width: 0;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  padding-block: .3em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--d2);
}
.link--back:hover, .link--back:focus-visible { color: var(--fg); }
.link--back:hover .link--back__text, .link--back:focus-visible .link--back__text { text-decoration-color: currentColor; }
.arrow--back { transform: scaleX(-1); }
.link:hover .arrow--back, .link:focus-visible .arrow--back { transform: scaleX(-1) translateX(4px); }
@media (max-width: 767px) {
  .back-row { padding-top: 8px; }
  .link--back { max-width: 100%; }
}
