/* ==========================================================================
   FIMA – site stylesheet (no framework)
   ========================================================================== */

:root {
  --ink: #141414;
  --ink-soft: #3a3a3a;
  --muted: #6f6a64;
  --paper: #ffffff;
  --stone: #f5f3f0;
  --stone-2: #ebe7e2;
  --line: #e1ddd7;
  --accent: #8a7150;      /* muted bronze – used sparingly */
  --accent-ink: #5f4c33;
  --accent-soft: #f4efe6; /* bronze tint: selected filter chips */
  --accent-mid: #6f5a3d;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1400px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --radius: 2px;
  --header-h: 84px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---- reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.visually-hidden, .skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 1000; background: var(--ink); color: #fff; padding: .6rem 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.intro--narrow .container > * { max-width: 880px; }
.prose--article { max-width: 880px; }

/* ---- typography -------------------------------------------------------- */
h1, .h1, h2, .h2, h3, .h3 { font-weight: 300; letter-spacing: -.01em; line-height: 1.12; }
h1, .h1 { font-size: clamp(2.2rem, 5vw, 4.25rem); }
h2, .h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.eyebrow {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted);
  margin-bottom: .9rem;
}
.muted { color: var(--muted); }

.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; font-weight: 500; margin-top: 1.8em; }
.prose p { max-width: 68ch; }
.prose a { text-decoration: underline; text-underline-offset: .18em; text-decoration-color: var(--line); transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose--columns { column-width: 22rem; column-gap: 3rem; }
.prose--columns > * { break-inside: avoid; }
.prose--columns p { max-width: none; }
.prose--article { font-size: 1.1rem; }
.prose--article p { max-width: none; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; }

.link-more { font-weight: 600; letter-spacing: .02em; border-bottom: 1px solid var(--line); padding-bottom: .1em; transition: border-color .2s; }
.link-more:hover { border-color: var(--ink); }

/* ---- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem; min-height: 3rem;
  font-size: .9rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--ink); border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.hero .btn--ghost, .cta--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }

/* ---- header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.site-header__inner {
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 26px; width: auto; }
@media (min-width: 1000px) {
  :root { --header-h: 104px; }
  .brand__logo { height: 52px; transition: height .35s var(--ease); }
  .site-header__inner { min-height: 104px; transition: min-height .35s var(--ease); }
  /* after scrolling down the header and the logo shrink back to the compact size */
  .site-header.is-scrolled .brand__logo { height: 40px; }
  .site-header.is-scrolled .site-header__inner { min-height: 84px; }
  .site-header.is-scrolled { box-shadow: 0 8px 30px -22px rgba(0,0,0,.35); }
}


/* transparent variant over hero (desktop) */
@media (min-width: 1000px) {
  .has-hero .site-header.is-transparent { position: fixed; left: 0; right: 0; }
  .has-hero .site-header.is-transparent:not(.is-scrolled):not(.is-open) {
    background: transparent; border-color: transparent; color: #fff;
  }
  .has-hero .site-header.is-transparent:not(.is-scrolled):not(.is-open) .site-nav__link,
  .has-hero .site-header.is-transparent:not(.is-scrolled):not(.is-open) .site-nav__more { color: #fff; }
  .has-hero .site-header.is-transparent:not(.is-scrolled):not(.is-open) .site-nav__list--secondary .site-nav__link { color: rgba(255,255,255,.75); }
}

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle__bar { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle__bar:nth-child(1) { top: 17px; }
.nav-toggle__bar:nth-child(2) { top: 26px; }
.is-open .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.is-open .nav-toggle__bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: 2.5rem; }
.site-nav__list { display: flex; align-items: center; gap: 1.6rem; }
.site-nav__list--secondary { gap: 1.2rem; }
.site-nav__list--secondary .site-nav__link { font-size: .78rem; color: var(--muted); }
.site-nav__item { position: relative; display: flex; align-items: center; }
.site-nav__link {
  display: inline-block; padding: .4rem 0;
  font-size: .88rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  position: relative;
}
.site-nav__link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .1rem; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.site-nav__item:hover > .site-nav__link::after, .site-nav__item.is-active > .site-nav__link::after { right: 0; }
.site-nav__more { display: inline-flex; padding: .3rem; margin-left: .1rem; color: var(--muted); transition: transform .3s; }
.site-nav__more[aria-expanded="true"] { transform: rotate(180deg); }

/* dropdown (desktop) */
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  width: max-content; min-width: min(92vw, 760px); max-width: min(92vw, 940px);
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 18px 50px -20px rgba(0,0,0,.25);
  padding: 1.25rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.site-nav__item.has-dropdown:hover .dropdown,
.site-nav__item.has-dropdown:focus-within .dropdown,
.site-nav__item.has-dropdown.is-expanded .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.dropdown__inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: .35rem .5rem; }
.dropdown--text { min-width: 230px; max-width: 280px; left: auto; right: 0; transform: translate(0, 8px); }
.site-nav__item.has-dropdown:hover .dropdown--text,
.site-nav__item.has-dropdown:focus-within .dropdown--text,
.site-nav__item.has-dropdown.is-expanded .dropdown--text { transform: translate(0, 0); }
.dropdown--text .dropdown__inner { grid-template-columns: 1fr; gap: 0; }
.dropdown--text .dropdown__item { padding: .55rem .75rem; }
.dropdown__item { display: flex; align-items: center; gap: .75rem; padding: .4rem .5rem; border-radius: var(--radius); transition: background .2s; }
.dropdown__item:hover, .dropdown__item.is-active { background: var(--stone); }
.dropdown__thumb { flex: 0 0 56px; width: 56px; height: 56px; overflow: hidden; background: var(--stone); }
.dropdown__thumb img { width: 100%; height: 100%; object-fit: cover; }
.dropdown__label { min-width: 0; font-size: .9rem; font-weight: 500; line-height: 1.25; }

@media (max-width: 999px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: var(--paper); color: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem var(--gutter) 3rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease);
  }
  .is-open .site-nav { transform: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list--secondary { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
  .site-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .site-nav__list--secondary .site-nav__item { border: 0; }
  .site-nav__link { flex: 1; padding: 1rem 0; font-size: 1rem; }
  .site-nav__link::after { display: none; }
  .site-nav__more { width: 48px; height: 48px; justify-content: center; }
  .dropdown {
    position: static; transform: none; flex: 0 0 100%; width: 100%; min-width: 0; max-width: none; border: 0; box-shadow: none; padding: 0 0 1rem;
    display: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  /* the desktop rules set transform: translate(-50%, 0); undo it here (same specificity) */
  .site-nav__item.has-dropdown:hover .dropdown,
  .site-nav__item.has-dropdown:focus-within .dropdown,
  .site-nav__item.has-dropdown.is-expanded .dropdown { transform: none; }
  .site-nav__item.is-expanded .dropdown { display: block; }
  .site-nav__item.has-dropdown:hover .dropdown { display: none; }
  .site-nav__item.has-dropdown.is-expanded:hover .dropdown { display: block; }
  .dropdown__inner { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .site-header { position: sticky; }
  body.is-nav-open { overflow: hidden; }
}

/* ---- hero -------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92vh, 900px); display: grid; align-items: end;
  color: #fff; background: #1a1917;
}
.hero--compact { min-height: min(62vh, 620px); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__layer { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__layer.is-active { opacity: 1; }
.hero__layer img, .hero__layer video, video.hero__layer { width: 100%; height: 100%; object-fit: cover; }
video.hero__layer { position: absolute; inset: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.15) 70%, rgba(0,0,0,.35) 100%);
}
.hero__content {
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
  padding: clamp(6rem, 12vh, 9rem) 0 clamp(2.5rem, 6vh, 4.5rem);
  max-width: none;
}
.hero__content .eyebrow { color: rgba(255,255,255,.8); }
.hero__title { max-width: 18ch; text-wrap: balance; }
.hero__lead { margin-top: 1rem; max-width: 52ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 300; color: rgba(255,255,255,.9); }
.hero__dots { position: absolute; right: var(--gutter); bottom: 1.6rem; display: flex; gap: .5rem; }
.hero__dots span { width: 22px; height: 2px; background: rgba(255,255,255,.4); transition: background .3s; }
.hero__dots span.is-active { background: #fff; }

/* ---- page header (no hero) --------------------------------------------- */
.page-header { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-header__title { max-width: 20ch; text-wrap: balance; }
.page-header__lead { margin-top: 1rem; max-width: 60ch; font-size: 1.2rem; font-weight: 300; color: var(--ink-soft); }
.no-hero main > .page-header + .intro { padding-top: 0; }

.breadcrumb { font-size: .8rem; line-height: 1.5; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .4rem; list-style: none; padding: 0; margin: 0; }
.breadcrumb li { display: inline-flex; align-items: baseline; gap: .4rem; line-height: inherit; }
.breadcrumb li + li::before { content: "/"; color: var(--line); line-height: inherit; }
.breadcrumb a { display: inline-block; line-height: inherit; }
.breadcrumb a:hover { color: var(--ink); }
.has-hero .intro .breadcrumb { margin-bottom: 2rem; }

/* ---- sections ---------------------------------------------------------- */
section { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
section.hero, section.page-header, section.back-link { padding-block: 0; }
.back-link { padding-block: 0 4rem; }
.section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: .75rem; }
.section-head__intro { max-width: 60ch; color: var(--ink-soft); }
.section-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; align-items: start; }
@media (max-width: 800px) { .section-head--split { grid-template-columns: 1fr; } }

.intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
@media (max-width: 900px) { .intro__grid { grid-template-columns: 1fr; } }
.intro__text { font-size: 1.1rem; }
.intro__facts { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.intro--statement .prose { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 300; line-height: 1.45; }
.intro--statement .prose p { max-width: 40ch; }

.facts { border-top: 1px solid var(--ink); }
.facts__row { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts dt { color: var(--muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; padding-top: .15rem; }
.facts dd a { text-decoration: underline; text-underline-offset: .18em; text-decoration-color: var(--line); }
.intro__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.5rem; }
.intro__actions .link-more { margin-left: .5rem; font-size: .9rem; }

/* ---- cards / collection grid ------------------------------------------ */
.collection-grid { background: var(--stone); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.card__link { display: block; background: var(--paper); height: 100%; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card__link:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(0,0,0,.35); }
/* product shots are square: a square box + contain shows the whole tap, never a crop of it */
.card__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--stone); }
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.card__link:hover .card__media img { transform: scale(1.02); }
.card__body { display: grid; gap: .25rem; padding: 1.1rem 1.25rem 1.3rem; }
.card__eyebrow { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.card__title { font-size: 1.25rem; font-weight: 400; }
.card__meta { font-size: .88rem; color: var(--muted); }

/* ---- finish filter ----------------------------------------------------- */
/* filters above a collection grid: one box per group (material, colour) */
.filters { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: .75rem; }
.filters__box { background: var(--paper); border: 1px solid var(--line); padding: 1rem 1.25rem 1.1rem; }
.filters__head { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.filters__label { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
/* vagy / és switch: how several chips of the same group combine */
.filters__mode { margin-left: auto; display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.filters__mode-btn { padding: .25rem .7rem; border-radius: 999px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.filters__mode-btn[aria-pressed="true"] { background: var(--accent); color: #fff; }
.filters__mode-btn:hover { color: var(--ink); }
.filters__mode-btn[aria-pressed="true"]:hover { color: #fff; }
.filters__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters__foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.25rem; }
.filters__count { font-size: .85rem; color: var(--muted); }
.filters__reset { margin-left: auto; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-decoration: underline; text-underline-offset: .2em; color: var(--ink-soft); }
.filters__reset:hover { color: var(--ink); }
.filters__empty { color: var(--muted); }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem .35rem .4rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font-size: .8rem; line-height: 1; transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent); }
.chip[aria-pressed="true"] .chip__code { font-weight: 700; }
.chip__swatch { display: inline-grid; place-items: center; width: 28px; height: 28px; }
.chip__swatch img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.chip__swatch--natural img { border-radius: 0; box-shadow: none; object-fit: contain; }
.chip__code { font-weight: 600; letter-spacing: .04em; }
.chip__name { color: var(--muted); }
.chip[aria-pressed="true"] .chip__name { color: var(--accent-mid); }
/* the material chip carries a word, not a code: its label always stays */
@media (max-width: 600px) { .chip__code:not(.chip__code--wide) + .chip__name { display: none; } }
.card.is-filtered-out { display: none; }

/* ---- home tiles -------------------------------------------------------- */
.category-tiles { padding-top: 0; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }
.tile__link { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #222; color: #fff; isolation: isolate; }
.tile__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile__link:hover img { transform: scale(1.05); }
.tile__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0) 60%); }
.tile__body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 1.5rem; display: grid; gap: .2rem; }
.tile__title { font-size: 1.6rem; font-weight: 300; }
.tile__lead { font-size: .9rem; color: rgba(255,255,255,.85); }
.tile__count { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: .4rem; }

/* ---- feature blocks ---------------------------------------------------- */
.feature { padding-block: clamp(1.5rem, 3vw, 3rem); }
.feature__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.feature--reverse .feature__media { order: 2; }
@media (max-width: 800px) { .feature__grid { grid-template-columns: 1fr; } .feature--reverse .feature__media { order: 0; } }
.feature__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.feature__layer { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.feature__layer.is-active { opacity: 1; }
.feature__layer img { width: 100%; height: 100%; object-fit: cover; }
.feature__text h2 { margin-bottom: 1rem; }

/* ---- finish strip ------------------------------------------------------ */
.finish-strip { padding-block: clamp(1.5rem, 3vw, 3rem); border-top: 1px solid var(--line); }
.finish-strip + .finish-strip { border-top: 0; padding-top: 0; }
.finish-strip__head { display: grid; gap: .5rem; margin-bottom: 1.25rem; }
.finish-strip__note { color: var(--ink-soft); max-width: 70ch; font-size: .98rem; }
.hscroll { position: relative; }
/* soft fade at the ends so the stepper buttons never sit on a hard edge */
.hscroll::before, .hscroll::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(48px, 8vw, 120px);
  pointer-events: none; z-index: 1; opacity: 0; transition: opacity .25s var(--ease);
}
.hscroll::before { left: 0; background: linear-gradient(90deg, var(--paper) 30%, rgba(255,255,255,0)); }
.hscroll::after { right: 0; background: linear-gradient(270deg, var(--paper) 30%, rgba(255,255,255,0)); }
.hscroll.can-prev::before, .hscroll.can-next::after { opacity: 1; }
@media (hover: none) { .hscroll::before, .hscroll::after { display: none; } }
.hscroll__nav {
  position: absolute; top: min(50%, 42px); translate: 0 -50%; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 50%;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.4);
  opacity: .85; transition: opacity .25s var(--ease), background .2s, transform .2s;
}
.hscroll:hover .hscroll__nav, .hscroll:focus-within .hscroll__nav { opacity: 1; }
.hscroll__nav:hover { background: var(--stone); }
.hscroll__nav:active { transform: scale(.94); }
.hscroll__nav--prev { left: max(calc(var(--gutter) / 2), calc((100% - var(--container)) / 2 - 20px)); }
.hscroll__nav--next { right: max(calc(var(--gutter) / 2), calc((100% - var(--container)) / 2 - 20px)); }
.hscroll__nav[hidden] { display: none; }
@media (hover: none) { .hscroll__nav { display: none; } }
.finish-strip__scroller { overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); }
.finish-strip__list { display: flex; gap: 1.25rem; padding-bottom: .75rem; }
.finish-strip__item { flex: 0 0 auto; scroll-snap-align: start; width: 104px; }

.swatch { display: grid; gap: .3rem; justify-items: center; text-align: center; }
.swatch img, .swatch__placeholder { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .3s var(--ease); }
.swatch__placeholder { display: grid; place-items: center; background: var(--stone-2); font-size: .8rem; }
.swatch:hover img { transform: scale(1.06); }
.swatch__code { font-size: .8rem; font-weight: 600; letter-spacing: .06em; margin-top: .3rem; }
.swatch__name { font-size: .75rem; color: var(--muted); line-height: 1.3; }
.swatch--large img, .swatch--large .swatch__placeholder { width: 100%; height: auto; aspect-ratio: 1; max-width: 180px; }
.swatch--natural img { border-radius: 0; box-shadow: none; object-fit: contain; background: transparent; height: auto; max-height: 96px; }
.swatch--natural.swatch--large img { max-width: 180px; max-height: 220px; aspect-ratio: auto; }
.finish-head__swatch--natural img { border-radius: 0; }
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 1.5rem 1rem; }

.finish-group { border-top: 1px solid var(--line); }
.anchor-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.anchor-nav a { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, background .2s; }
.anchor-nav a:hover { border-color: var(--ink); }

.finish-head { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 800px) { .finish-head { grid-template-columns: 1fr; } .finish-head__swatch { max-width: 240px; } }
.finish-head__swatch img { width: 100%; border-radius: 50%; }
.finish-head__name { display: block; font-size: .5em; color: var(--muted); margin-top: .3em; font-weight: 400; }
.finish-head__alt { color: var(--muted); font-size: .9rem; margin: .5rem 0 1.5rem; }
.finish-head__pair { margin-top: 1.5rem; font-size: .95rem; }
.finish-head__pair a { text-decoration: underline; text-underline-offset: .18em; }

/* ---- media grid (textures etc.) --------------------------------------- */
.media-grid { padding-block: clamp(1.5rem, 3vw, 3rem); border-top: 1px solid var(--line); }
.media-grid__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.5rem; }
.media-grid__item img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--stone); }
.media-grid__caption { display: block; margin-top: .5rem; font-size: .85rem; color: var(--ink-soft); text-align: center; }

/* ---- gallery ----------------------------------------------------------- */
.gallery { border-top: 1px solid var(--line); }
.gallery__heading { margin-bottom: 1.5rem; }
.gallery__grid { columns: 3 320px; column-gap: 1rem; }
.gallery__item { display: block; margin-bottom: 1rem; break-inside: avoid; overflow: hidden; background: var(--stone); }
.gallery__item img { width: 100%; transition: transform .8s var(--ease), opacity .3s; }
.gallery__item:hover img { transform: scale(1.02); }

.lightbox { position: fixed; inset: 0; z-index: 500; border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(12,12,12,.96); color: #fff; }
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: transparent; }
.lightbox__img { position: absolute; inset: 0; margin: auto; max-width: min(96vw, 1800px); max-height: 92vh; width: auto; height: auto; object-fit: contain; }
.lightbox__btn { position: absolute; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); border-radius: 50%; transition: background .2s; }
.lightbox__btn:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; left: 1.25rem; bottom: 1rem; font-size: .8rem; letter-spacing: .1em; color: rgba(255,255,255,.7); }

/* ---- catalogs ---------------------------------------------------------- */
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2rem 1.5rem; }
.catalog__link { display: grid; gap: .5rem; }
.catalog__cover { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--stone); box-shadow: 0 14px 30px -20px rgba(0,0,0,.4); transition: transform .35s var(--ease); }
.catalog__link:hover .catalog__cover { transform: translateY(-4px); }
.catalog__cover img { width: 100%; height: 100%; object-fit: cover; }
.catalog__title { font-weight: 500; margin-top: .4rem; }
.catalog__meta { font-size: .8rem; color: var(--muted); }

/* ---- CTA --------------------------------------------------------------- */
.cta { background: var(--ink); color: #fff; }
.cta__inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
@media (max-width: 800px) { .cta__inner { grid-template-columns: 1fr; } }
.cta p { margin-top: .75rem; max-width: 60ch; color: rgba(255,255,255,.8); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
@media (max-width: 800px) { .cta__actions { justify-content: flex-start; } }
.cta .btn--primary { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn--primary:hover { background: var(--stone); border-color: var(--stone); }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.cta .btn--ghost:hover { background: #fff; color: var(--ink); }

/* ---- contact ----------------------------------------------------------- */
.contact { padding-top: 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__list { display: grid; gap: 1rem; margin-top: 2rem; }
.contact__list dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.contact__list dd a { text-decoration: underline; text-underline-offset: .18em; text-decoration-color: var(--line); }
.contact__form { background: var(--stone); padding: clamp(1.5rem, 3vw, 2.5rem); }
.contact__form h2 { margin-bottom: 1.25rem; }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: .4rem; }
.form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form__row--2 > div { display: grid; gap: .4rem; }
@media (max-width: 560px) { .form__row--2 { grid-template-columns: 1fr; } }
.form label { font-size: .85rem; font-weight: 600; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: .8rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s;
}
.form input:focus, .form textarea:focus { border-color: var(--ink); outline: none; }
.form [aria-invalid="true"] { border-color: #b3261e; }
.form__error { font-size: .82rem; color: #b3261e; }
.form__row--check label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .9rem; }
.form__row--check input { margin-top: .3rem; }
.form__row--check a { text-decoration: underline; }
.form__hp { position: absolute; left: -9999px; }
.notice { padding: 1rem 1.25rem; border-left: 3px solid; margin-bottom: 1.25rem; font-size: .95rem; }
.notice--ok { border-color: #2f7d4f; background: #eef7f1; }
.notice--error { border-color: #b3261e; background: #fbeeed; }

.social, .prose .social { display: flex; gap: .75rem; margin-top: 1.25rem; list-style: none; padding-left: 0; }
.prose .social li + li { margin-top: 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; transition: border-color .2s, background .2s; }
.social a:hover { border-color: currentColor; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.social svg * { fill: currentColor; }

.link-list { display: grid; gap: .4rem; }
.link-list a { text-decoration: underline; text-underline-offset: .18em; }

/* ---- designers ---------------------------------------------------------- */
.designer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.designer-card__link { display: grid; gap: .35rem; }
.designer-card__photo { display: block; aspect-ratio: 1; overflow: hidden; background: var(--stone-2); border-radius: 50%; }
.designer-card__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .6s var(--ease), filter .4s; }
.designer-card__link:hover .designer-card__photo img { transform: scale(1.04); filter: grayscale(0); }
.designer-card__photo.is-empty { display: grid; place-items: center; background: var(--stone-2); }
.designer-card__monogram { font-size: clamp(.95rem, 1.6vw, 1.15rem); font-weight: 600; letter-spacing: .18em; color: var(--muted); }
.designer-card__name { margin-top: .75rem; font-size: 1.1rem; }
.designer-card__meta { font-size: .85rem; color: var(--muted); }

.designer-head { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 800px) { .designer-head { grid-template-columns: 1fr; } .designer-head__photo { max-width: 240px; } }
.designer-head--nophoto { grid-template-columns: minmax(0, 880px); }
.designer-head__photo img { width: 100%; border-radius: 50%; filter: grayscale(1); }

/* ---- awards ------------------------------------------------------------- */
.awards { border-top: 1px solid var(--line); }
.awards--compact { padding-block: clamp(2rem, 4vw, 3.5rem); }
.awards__head { margin-bottom: clamp(1.25rem, 3vw, 2rem); display: grid; gap: .6rem; }
.awards__intro { max-width: 62ch; color: var(--ink-soft); }
.awards__list { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.75rem, 5vw, 4rem); }
.awards__list img { height: 44px; width: auto; opacity: .55; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.awards__list li:hover img { opacity: 1; filter: none; }
@media (max-width: 600px) { .awards__list { gap: 1.5rem 2rem; justify-content: space-between; } .awards__list img { height: 34px; } }

/* ---- documents / downloads --------------------------------------------- */
.doc-list { display: grid; gap: .75rem; margin-top: 1.5rem; }
.doc { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, background .2s; }
.doc:hover { border-color: var(--ink); background: var(--stone); }
.doc__name { font-weight: 600; }
.doc__meta { font-size: .85rem; color: var(--muted); }
.doc__cta { margin-left: auto; font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* key-value fact blocks inside prose (EPD data, technical specs) */
.prose .data-table { margin-top: 1.5rem; }
.prose .data-table th { width: 38%; color: var(--muted); font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; margin: 2rem 0; padding: 1.5rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.figure__value { display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; line-height: 1.05; }
.figure__label { display: block; margin-top: .4rem; font-size: .85rem; color: var(--muted); }

/* ---- footer ------------------------------------------------------------ */
.site-footer { background: var(--stone); border-top: 1px solid var(--line); margin-top: 0; font-size: .92rem; }
.site-footer__inner {
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 3rem; padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
@media (max-width: 900px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__inner { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer__logo { height: 22px; width: auto; }

.site-footer__tagline { margin-top: 1.25rem; max-width: 36ch; color: var(--ink-soft); }
.site-footer__heading { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.site-footer__list { display: grid; gap: .45rem; }
.site-footer__list a:hover { text-decoration: underline; text-underline-offset: .18em; }
.site-footer__bottom { border-top: 1px solid var(--line); padding: 1.25rem 0; font-size: .8rem; color: var(--muted); }
.site-footer__bottom p { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.site-footer__bottom a { text-decoration: underline; text-underline-offset: .18em; }

/* ---- dev --------------------------------------------------------------- */
.dev-warnings { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; max-height: 40vh; overflow: auto; background: #fff8e1; color: #5d4200; border-top: 2px solid #f2b400; padding: .75rem var(--gutter); font-size: .85rem; }
.dev-warnings ul { list-style: disc; padding-left: 1.2rem; margin-top: .4rem; }

/* ---- print ------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cta, .hero__dots, .nav-toggle { display: none !important; }
  .hero { min-height: 0; color: var(--ink); }
  .hero::after, .hero__media { display: none; }
}
