/* ============================================================
   Home Dijon — design system
   Monochrome, sharp-cornered, light-weight sans. Everything is
   fluid (clamp) so it holds from 320px phones to wide desktops.
   ============================================================ */
:root {
  --ink: #0f0f0f;
  --header-bg: #0f0f0f;
  --paper: #ffffff;
  --paper-alt: #f4f4f1;
  --line: #e5e5e1;
  --mute: #6a6a66;
  --mute-light: #9a9a95;
  --font-display: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1320px;
  --header-h: 66px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lock, html.lock body, html.menu-lock, html.menu-lock body { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }
[hidden] { display: none !important; }
.wrap {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; flex-shrink: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.02em; margin: 0; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 12px 18px; font-size: 13px; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: transparent;
  transition: background-color .35s ease, box-shadow .35s ease;
}
header::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 150%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,8,8,.5), rgba(8,8,8,0)); transition: opacity .35s ease;
}
header.scrolled, header.menu-open { background: var(--header-bg); box-shadow: 0 1px 0 rgba(255,255,255,.07); }
header.scrolled::before, header.menu-open::before { opacity: 0; }
.header-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max); margin: 0 auto;
  padding: 20px max(var(--gutter), env(safe-area-inset-right)) 20px max(var(--gutter), env(safe-area-inset-left));
  padding-top: calc(20px + env(safe-area-inset-top));
  transition: padding .35s var(--ease);
}
header.scrolled .header-inner { padding-top: calc(11px + env(safe-area-inset-top)); padding-bottom: 11px; }
.logo { display: block; flex-shrink: 0; color: #fff; text-decoration: none; }
.logo img { height: 50px; width: auto; transition: height .35s var(--ease); }
header.scrolled .logo img { height: 42px; }
@media (max-width: 700px) { .logo img { height: 40px; } header.scrolled .logo img { height: 36px; } }
footer .logo img { height: 40px; }

nav.primary-nav { display: none; align-items: center; gap: clamp(22px, 2.6vw, 38px); margin: 0 auto 0 clamp(24px, 4vw, 64px); }
@media (min-width: 900px) { nav.primary-nav { display: flex; } }
nav.primary-nav > .nav-item { position: relative; }
nav.primary-nav a.navlink {
  position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 14px 0;
  color: rgba(255,255,255,.78); text-decoration: none; font-size: 12.5px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color .25s;
}
nav.primary-nav a.navlink::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
nav.primary-nav a.navlink:hover, nav.primary-nav a.navlink.active { color: #fff; }
nav.primary-nav a.navlink:hover::after, nav.primary-nav a.navlink.active::after { transform: scaleX(1); }

.caret { width: 5px; height: 5px; margin: -2px 0 0 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); opacity: .7; }
.mega {
  position: absolute; top: 100%; left: 50%; min-width: 480px;
  background: #131313; border-top: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
  padding: 30px 34px; display: flex; gap: 44px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s .28s;
}
.nav-item:hover .mega, .nav-item:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s;
}
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-col .mega-title { font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: #77746e; margin-bottom: 12px; }
.mega-col a { color: #c9c9c7; text-decoration: none; font-size: 14px; padding: 6px 0; white-space: nowrap; transition: color .2s, transform .3s var(--ease); }
.mega-col a:hover { color: #fff; transform: translateX(4px); }

.header-tools { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.icon-btn {
  position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: #fff; cursor: pointer; transition: opacity .2s;
}
.icon-btn:hover { opacity: .7; }
.fav-badge {
  position: absolute; top: 6px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: #fff; color: #0f0f0f; font-size: 10px; font-weight: 600; line-height: 17px; text-align: center;
}
.header-cta {
  display: inline-flex; align-items: center; margin-left: 10px; padding: 12px 22px; min-height: 44px;
  border: 1px solid rgba(255,255,255,.85); color: #fff; text-decoration: none; font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; transition: background-color .3s, color .3s; flex-shrink: 0;
}
.header-cta:hover { background: #fff; color: #0f0f0f; }
@media (max-width: 1040px) and (min-width: 900px) { .header-cta { display: none; } }
@media (max-width: 560px) { .header-cta { display: none; } }

.hamburger-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: 2px;
  background: none; border: 0; color: #fff; cursor: pointer; flex-shrink: 0;
}
@media (min-width: 900px) { .hamburger-btn { display: none; } }
.bars { position: relative; width: 22px; height: 12px; display: block; }
.bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.bars i:nth-child(1) { top: 0; }
.bars i:nth-child(2) { top: 10.5px; }
.hamburger-btn.open .bars i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.hamburger-btn.open .bars i:nth-child(2) { top: 5px; transform: rotate(-45deg); }

/* mobile menu = full-screen sheet */
.mobile-nav {
  position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column;
  background: var(--header-bg);
  padding: calc(var(--header-h) + 26px + env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (min-width: 900px) { .mobile-nav { display: none !important; } }
.mobile-nav a.navlink {
  color: #fff; text-decoration: none; font-size: 26px; font-weight: 300; letter-spacing: -0.01em;
  padding: 16px 0; border-top: 1px solid #262624; display: block;
}
.mobile-nav a.navlink.active { color: #fff; }
.mobile-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding: 0 0 16px; }
.mobile-sub a { color: #9a9a96; text-decoration: none; font-size: 15px; padding: 10px 0; }
.mobile-sub a:active { color: #fff; }
.mobile-cta {
  margin-top: auto; align-self: stretch; text-align: center; padding: 18px; background: #fff; color: #0f0f0f; text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.mobile-nav.open > * { animation: fadeUp .6s var(--ease) both; }
.mobile-nav.open > *:nth-child(1) { animation-delay: .05s; }
.mobile-nav.open > *:nth-child(2) { animation-delay: .1s; }
.mobile-nav.open > *:nth-child(3) { animation-delay: .15s; }
.mobile-nav.open > *:nth-child(4) { animation-delay: .2s; }
.mobile-nav.open > *:nth-child(5) { animation-delay: .25s; }
.mobile-nav.open > *:nth-child(6) { animation-delay: .3s; }
.mobile-nav.open > *:nth-child(7) { animation-delay: .35s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- buttons ---------- */
.btn-primary, .btn-ghost, .btn-dark, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 32px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; text-align: center;
  border: 1px solid; border-radius: 0; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-primary { background: #fff; color: #0f0f0f; border-color: #fff; }
.btn-primary:hover { background: transparent; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: transparent; color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line.on { background: transparent; color: var(--ink); }
.btn-line.on:hover { background: var(--ink); color: #fff; }
.btn-dark:disabled { opacity: .5; cursor: default; }

/* ---------- page hero (sub-pages) ---------- */
.page-hero { padding: clamp(124px, 15vw, 188px) 0 clamp(48px, 7vw, 84px); background: var(--header-bg); }
.page-hero .eyebrow { color: #8f8f8b; }
.page-hero h1 { font-size: clamp(34px, 5vw, 66px); font-weight: 200; color: #fff; line-height: 1.05; letter-spacing: -0.03em; max-width: 14em; }
.page-hero p { font-size: clamp(14.5px, 1.4vw, 16px); color: #a9a9a5; max-width: 560px; margin: 22px 0 0; line-height: 1.7; font-weight: 300; }

/* ---------- hero (home): full-bleed image carousel ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; background: #0f0f0f; overflow: hidden; }
.hero-stage { position: absolute; inset: 0; background: #1a1a19; touch-action: pan-y; }
.hero-inner {
  position: relative; z-index: 4; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 150px max(var(--gutter), env(safe-area-inset-right)) calc(clamp(92px, 15vh, 150px) + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  pointer-events: none;
}
.hero-inner a { pointer-events: auto; }
.hero .eyebrow { color: #d6d6d2; }
.hero h1 { font-size: clamp(38px, 5.8vw, 86px); font-weight: 200; color: #fff; line-height: 1.03; letter-spacing: -0.035em; max-width: 11em; text-shadow: 0 2px 40px rgba(0,0,0,.25); }
.hero p.lede { font-size: clamp(15px, 1.45vw, 17px); color: #e2e2de; max-width: 470px; margin: 26px 0 0; line-height: 1.7; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-inner > * { opacity: 0; animation: fadeUp 1.1s var(--ease) forwards; }
.hero-inner > *:nth-child(1) { animation-delay: .25s; }
.hero-inner > *:nth-child(2) { animation-delay: .4s; }
.hero-inner > *:nth-child(3) { animation-delay: .55s; }
.hero-inner > *:nth-child(4) { animation-delay: .7s; }
@media (max-width: 700px) {
  .hero-inner { padding-top: 96px; padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .hero p.lede { font-size: 14px; line-height: 1.6; margin-top: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 26px; }
  .hero-actions > a { width: 100%; }
}

/* slides: wipe reveal + slow zoom-out (Ken Burns) */
.slide {
  position: absolute; inset: 0; margin: 0; overflow: hidden; z-index: 0;
  clip-path: var(--hide, inset(0 0 0 100%));
  transition: clip-path 1.6s cubic-bezier(.77, 0, .18, 1);
}
.slide.active { clip-path: inset(0); z-index: 2; }
.slide.leaving { clip-path: inset(0); z-index: 1; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.slide.active img, .slide.leaving img { animation: kenburns 10s cubic-bezier(.22, .61, .36, 1) forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
/* showroom walls are bright: darken from the bottom and left so white type always reads */
.slide::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(8,8,8,.78) 0%, rgba(8,8,8,.46) 34%, rgba(8,8,8,.1) 66%, rgba(8,8,8,.12) 100%),
    linear-gradient(90deg, rgba(8,8,8,.42) 0%, rgba(8,8,8,0) 62%);
}
.cap {
  position: absolute; right: max(var(--gutter), env(safe-area-inset-right)); bottom: 104px; z-index: 5; display: block; text-align: right; color: #fff; text-decoration: none;
  opacity: 0; transform: translateY(14px);
}
.slide.active .cap { animation: capIn .9s var(--ease) 1s forwards; }
.slide.leaving .cap { opacity: 1; transform: none; }
@keyframes capIn { to { opacity: 1; transform: none; } }
.cap-name { display: block; font-size: clamp(18px, 1.8vw, 26px); font-weight: 200; letter-spacing: -0.02em; }
.cap-link { display: inline-block; margin-top: 8px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.55); padding-bottom: 3px; transition: border-color .3s; }
.cap-link::after { content: ' →'; }
.cap:hover .cap-link { border-color: #fff; }
@media (max-width: 700px) { .cap { display: none; } }

.hero-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; max-width: var(--max); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right)) calc(26px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); pointer-events: none; }
.hero-ui > * { pointer-events: auto; }
.hero-count { display: flex; align-items: baseline; gap: 8px; color: rgba(255,255,255,.72); font-size: 12px; letter-spacing: .14em; }
.hero-count b { color: #fff; font-weight: 400; font-size: 15px; }
.hero-nav { display: flex; gap: 8px; }
.hero-btn {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5); background: rgba(10,10,10,.22); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .3s, color .3s, border-color .3s;
}
.hero-btn:hover { background: #fff; color: #0f0f0f; border-color: #fff; }
.hero-btn .ico-play { display: none; }
.hero.manual-pause .hero-btn .ico-play { display: block; }
.hero.manual-pause .hero-btn .ico-pause { display: none; }

.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; gap: 3px; height: 3px; }
.seg { position: relative; flex: 1; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.28); cursor: pointer; overflow: hidden; }
.seg::before { content: ''; position: absolute; inset: -12px 0; }
.seg::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.seg.done::after { transform: scaleX(1); }
.seg.active::after { animation: segFill var(--dur, 7s) linear forwards; }
.hero.paused .seg.active::after { animation-play-state: paused; }
@keyframes segFill { to { transform: scaleX(1); } }

/* ---------- sections ---------- */
section { padding: clamp(72px, 10vw, 132px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(28px, 3.7vw, 48px); font-weight: 200; color: var(--ink); line-height: 1.12; letter-spacing: -0.03em; }
.section-head p { font-size: 15.5px; color: var(--mute); margin-top: 16px; line-height: 1.7; }
.section-alt { background: var(--paper-alt); }
.section-nav-row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-nav-row .section-head { margin-bottom: 0; }
.see-all {
  position: relative; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--ink); transition: opacity .2s;
}
.see-all:hover { opacity: .55; }

/* grid children must be allowed to shrink below their content width */
.collections-grid > *, .product-grid > *, .room-row > *, .marques-grid > *,
.about-strip > *, .contact-layout > *, .foot-grid > *, .search-grid > * { min-width: 0; }

/* ---------- teaser / category tiles ---------- */
.collections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 20px); }
@media (max-width: 860px) { .collections-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .collections-grid { grid-template-columns: 1fr; } }
.collection-card { position: relative; aspect-ratio: 4/5; overflow: hidden; display: flex; align-items: flex-end; padding: clamp(20px, 2.4vw, 32px); text-decoration: none; background: var(--paper-alt); }
@media (max-width: 560px) { .collection-card { aspect-ratio: 5/4; } }
.collection-card .ph { position: absolute; inset: 0; background: linear-gradient(150deg, var(--ph-a, #e2e2df), var(--ph-b, #c7c7c2)); transition: transform 1.1s var(--ease); }
.collection-card .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.collection-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,.72) 100%); }
.collection-card .label { position: relative; z-index: 1; font-weight: 300; font-size: clamp(19px, 1.9vw, 24px); letter-spacing: -0.01em; color: #fff; }
.collection-card .label::after { content: '→'; display: inline-block; margin-left: 12px; opacity: 0; transform: translateX(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.collection-card .sub { position: relative; z-index: 1; font-size: 11.5px; color: rgba(255,255,255,.72); margin-top: 6px; letter-spacing: 0.04em; }
@media (hover: hover) {
  .collection-card:hover .ph, .collection-card:hover .photo { transform: scale(1.05); }
  .collection-card:hover .label::after { opacity: 1; transform: none; }
}
@media (hover: none) { .collection-card .label::after { opacity: 1; transform: none; } }

/* ---------- category browsing (catalogue-*.html) ---------- */
.category-toolbar {
  position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 48px);
}
.filter-pills { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pill {
  flex-shrink: 0; min-height: 38px; padding: 0 18px; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-size: 12.5px; font-weight: 400; letter-spacing: 0.03em; cursor: pointer; transition: border-color .25s, background-color .25s, color .25s;
}
.filter-pill:hover { border-color: var(--ink); }
.filter-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.toolbar-right { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.item-count { font-size: 12.5px; color: var(--mute); white-space: nowrap; }
.sort-select {
  -webkit-appearance: none; appearance: none; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer;
  font: inherit; font-size: 12.5px; color: var(--ink); padding: 8px 22px 8px 0; min-height: 38px; border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%230f0f0f' stroke-width='1.4'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
@media (max-width: 700px) {
  .category-toolbar { gap: 8px; }
  .filter-pills { flex-basis: 100%; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .toolbar-right { width: 100%; justify-content: space-between; }
}

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(36px, 4vw, 56px) clamp(14px, 2vw, 28px); align-items: start; }
@media (max-width: 1020px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; } }
.product-card { color: var(--ink); animation: cardIn .6s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pmedia { position: relative; overflow: hidden; background: var(--paper-alt); margin-bottom: 16px; }
.photo-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.product-card .photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; transition: transform 1.1s var(--ease), opacity .3s; }
.quick-hint {
  position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 10px); opacity: 0; white-space: nowrap;
  background: rgba(255,255,255,.96); color: var(--ink); font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 12px 22px; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
@media (hover: hover) {
  .photo-btn:hover .photo { transform: scale(1.04); }
  .photo-btn:hover .quick-hint { opacity: 1; transform: translate(-50%, 0); }
}
@media (hover: none) { .quick-hint { display: none; } }
.heart-btn {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; transition: transform .3s var(--ease), background-color .3s;
}
.heart-btn svg { width: 19px; height: 19px; }
.heart-btn:hover { transform: scale(1.08); }
.heart-btn.on svg, .qv-fav.on svg { fill: currentColor; }
.pname { font-size: 14.5px; font-weight: 400; letter-spacing: 0.01em; }
.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.color-swatch {
  position: relative; width: 24px; height: 24px; border-radius: 50%; padding: 0; background: none; cursor: pointer; flex-shrink: 0;
  border: 1px solid var(--line); box-shadow: inset 0 0 0 2px #fff; overflow: hidden; transition: border-color .25s, transform .25s var(--ease);
}
.color-swatch::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; }
.color-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.color-swatch:hover { transform: scale(1.12); }
.color-swatch.active { border-color: var(--ink); }
@media (hover: none) { .color-swatch { width: 30px; height: 30px; } }
.load-more-row { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); }

.empty-state { max-width: 640px; padding: clamp(24px, 6vw, 72px) 0; }
.empty-state h2 { font-size: clamp(28px, 3.7vw, 46px); font-weight: 200; line-height: 1.12; letter-spacing: -0.03em; }
.empty-state p { color: var(--mute); font-size: 15.5px; line-height: 1.7; margin: 20px 0 32px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .empty-actions > a { width: 100%; } }

/* ---------- layers: search / quick view / favourites ---------- */
.layer { position: fixed; inset: 0; z-index: 100; }
.layer-backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s ease; }
.layer.open .layer-backdrop { opacity: 1; }
.layer-close { width: 44px; height: 44px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; color: inherit; transition: opacity .2s, transform .3s var(--ease); }
.layer-close:hover { opacity: .6; transform: rotate(90deg); }

/* search */
.search { z-index: 90; background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; opacity: 0; transition: opacity .3s ease; }
.search.open { opacity: 1; }
.search-bar { position: sticky; top: 0; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); }
.search-bar-inner { display: flex; align-items: center; gap: 8px; padding-top: calc(14px + env(safe-area-inset-top)); padding-bottom: 14px; }
.search-form { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; }
.search-ico { color: var(--ink); display: inline-flex; flex-shrink: 0; }
.search-ico svg { width: 26px; height: 26px; }
.search-input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; border-radius: 0; -webkit-appearance: none; appearance: none;
  font-family: inherit; font-weight: 200; font-size: clamp(22px, 3.4vw, 40px); letter-spacing: -0.02em; color: var(--ink); padding: 12px 0;
}
.search-input::placeholder { color: #b5b5b0; }
.search-input::-webkit-search-cancel-button, .search-input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.search-clear { width: 40px; height: 40px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--paper-alt); border: 0; border-radius: 50%; cursor: pointer; color: var(--ink); }
.search-clear svg { width: 16px; height: 16px; }
.search-body { padding: clamp(28px, 5vw, 56px) 0 clamp(60px, 8vw, 110px); min-height: 60vh; }
.search.open .search-body .wrap > * { animation: fadeUp .6s var(--ease) both; }
.sg-group { margin-bottom: clamp(26px, 4vw, 40px); }
.sg-title { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 20px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-family: inherit; font-size: 13.5px; text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-meta { font-size: 12.5px; color: var(--mute); letter-spacing: 0.02em; margin-bottom: 26px; }
.search-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px 20px; }
@media (max-width: 1100px) { .search-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) { .search-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .search-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; } }
.sr-card { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font-family: inherit; color: var(--ink); animation: cardIn .5s var(--ease) both; }
.sr-img { display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--paper-alt); margin-bottom: 12px; }
.sr-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
@media (hover: hover) { .sr-card:hover .sr-img img { transform: scale(1.05); } }
.sr-name { display: block; font-size: 14px; font-weight: 400; }
.sr-sub { display: block; font-size: 12px; color: var(--mute); margin-top: 3px; }
.search-empty { grid-column: 1 / -1; max-width: 520px; padding: 24px 0; }
.search-empty h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 200; line-height: 1.2; }
.search-empty p { color: var(--mute); font-size: 15px; line-height: 1.7; margin: 14px 0 26px; }

/* quick view */
.qv-panel {
  position: absolute; left: 50%; top: 50%; width: min(1120px, 94vw); height: min(680px, 90vh); height: min(680px, 90svh);
  background: #fff; display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden;
  opacity: 0; transform: translate(-50%, -47%); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.qv.open .qv-panel { opacity: 1; transform: translate(-50%, -50%); }
.qv-close { position: absolute; top: 10px; right: 10px; z-index: 4; background: rgba(255,255,255,.92); border-radius: 50%; color: var(--ink); }
.qv-media { position: relative; background: var(--paper-alt); overflow: hidden; min-height: 0; }
.qv-img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
.qv-img.swap { opacity: 0; }
.qv-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; transition: background-color .25s, transform .25s var(--ease);
}
.qv-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.qv-arrow.prev { left: 14px; }
.qv-arrow.next { right: 14px; }
.qv-count { position: absolute; left: 18px; bottom: 16px; font-size: 11.5px; letter-spacing: 0.16em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.qv-info { padding: clamp(28px, 4vw, 60px); display: flex; flex-direction: column; justify-content: center; overflow-y: auto; min-height: 0; }
.qv-cat { text-decoration: none; margin-bottom: 18px; }
.qv-cat:hover { color: var(--ink); }
.qv-name { font-size: clamp(28px, 3vw, 40px); font-weight: 200; line-height: 1.1; letter-spacing: -0.03em; }
.qv-color-row { display: flex; align-items: baseline; gap: 12px; margin-top: 30px; font-size: 13px; }
.qv-color-label { color: var(--mute); text-transform: uppercase; letter-spacing: 0.16em; font-size: 10.5px; }
.qv-color-name { font-weight: 500; }
.qv-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.qv-swatches .color-swatch { width: 38px; height: 38px; }
.qv-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 34px; }
.qv-fav { gap: 10px; }
.qv-fav svg { width: 17px; height: 17px; }
.qv-note { font-size: 12.5px; line-height: 1.7; color: var(--mute); margin: 24px 0 0; }
@media (max-width: 760px) {
  .qv-panel { left: 0; top: 0; width: 100%; height: 100%; height: 100dvh; display: block; overflow-y: auto; -webkit-overflow-scrolling: touch; transform: translateY(28px); }
  .qv.open .qv-panel { transform: none; }
  .qv-media { aspect-ratio: 4/5; max-height: 64vh; max-height: 64svh; width: 100%; }
  .qv-img { height: 100%; }
  .qv-info { padding: 24px max(var(--gutter), env(safe-area-inset-left)) calc(36px + env(safe-area-inset-bottom)); overflow: visible; }
  .qv-close { top: calc(10px + env(safe-area-inset-top)); }
}

/* favourites drawer */
.favs { z-index: 95; }
.favs-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease); padding-top: env(safe-area-inset-top);
}
.favs.open .favs-panel { transform: none; }
.favs-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 12px 18px 28px; border-bottom: 1px solid var(--line); }
.favs-head h2 { font-size: 22px; font-weight: 300; }
.favs-list { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 28px; }
.fav-row { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fav-thumb { width: 76px; height: 95px; padding: 0; border: 0; background: var(--paper-alt); cursor: pointer; flex-shrink: 0; overflow: hidden; }
.fav-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fav-meta { flex: 1; min-width: 0; }
.fav-name { font-size: 14.5px; font-weight: 400; }
.fav-sub { font-size: 12.5px; color: var(--mute); margin-top: 4px; }
.fav-rm { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; color: var(--mute); }
.fav-rm:hover { color: var(--ink); }
.fav-rm svg { width: 17px; height: 17px; }
.favs-empty { text-align: center; padding: 72px 12px; color: var(--mute); }
.favs-empty-ico svg { width: 34px; height: 34px; margin: 0 auto 18px; stroke-width: 1.2; }
.favs-empty p { color: var(--ink); font-size: 16px; margin: 0 0 8px; }
.favs-empty span { font-size: 13.5px; line-height: 1.6; }
.favs-foot { padding: 20px 28px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.favs-foot .btn-dark { width: 100%; }
.favs-foot p { font-size: 12px; color: var(--mute); line-height: 1.6; margin: 14px 0 0; text-align: center; }

/* ---------- rooms / univers ---------- */
.rooms-list { display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 20px); counter-reset: room; }
.room-row { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; counter-increment: room; background: var(--paper-alt); }
.room-row:nth-child(even) { grid-template-columns: 1.3fr 1fr; }
.room-row:nth-child(even) .room-ph { order: 2; }
@media (max-width: 760px) { .room-row, .room-row:nth-child(even) { grid-template-columns: 1fr; } .room-row:nth-child(even) .room-ph { order: 0; } }
.room-ph { position: relative; aspect-ratio: 5/4; background: linear-gradient(150deg, var(--ph-a, #e2e2df), var(--ph-b, #c7c7c2)); }
.room-ph::after { content: counter(room, decimal-leading-zero); position: absolute; left: clamp(20px, 3vw, 36px); bottom: clamp(14px, 2vw, 26px); font-size: clamp(56px, 9vw, 120px); font-weight: 200; line-height: 1; letter-spacing: -0.04em; color: rgba(255,255,255,.75); }
.room-row .room-copy { padding: clamp(28px, 5vw, 72px); }
.room-row h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 200; margin-bottom: 14px; letter-spacing: -0.03em; }
.room-row p { font-size: 15px; color: var(--mute); line-height: 1.75; margin: 0 0 26px; max-width: 460px; }
@media (max-width: 560px) { .room-row .btn-dark { width: 100%; } }

/* ---------- marques ---------- */
.marques-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.marque-tile {
  background: var(--paper); padding: 28px 18px; display: flex; align-items: center; justify-content: center; text-align: center;
  font-weight: 400; font-size: 12.5px; letter-spacing: 0.16em; color: var(--ink); min-height: 112px; text-transform: uppercase;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
@media (hover: hover) { .marque-tile:hover { background: var(--ink); color: #fff; } }
@media (max-width: 560px) { .marques-grid { grid-template-columns: repeat(2, 1fr); } .marque-tile { min-height: 92px; padding: 20px 12px; font-size: 11.5px; letter-spacing: 0.12em; } }

/* ---------- about strip ---------- */
.about-strip { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); align-items: stretch; }
@media (max-width: 780px) { .about-strip { grid-template-columns: 1fr; } }
.about-strip .about-copy { padding: clamp(32px, 5vw, 76px); background: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.about-copy h2 { font-size: clamp(26px, 3.2vw, 42px); font-weight: 200; line-height: 1.14; letter-spacing: -0.03em; }
.about-strip .ph-block { position: relative; min-height: 380px; overflow: hidden; background: linear-gradient(150deg, #e2e2df, #c7c7c2); }
.about-strip .ph-block img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.stat-row { display: flex; flex-wrap: wrap; gap: 28px clamp(28px, 4vw, 52px); margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.stat-row .num { font-weight: 200; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.stat-row .lbl { font-size: 11.5px; color: var(--mute); margin-top: 8px; letter-spacing: 0.06em; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 7vw, 110px); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info-card { padding: 26px 0; border-top: 1px solid var(--line); }
.contact-info-card:last-child { border-bottom: 1px solid var(--line); }
.contact-info-label { font-size: 10.5px; font-weight: 500; color: var(--mute); text-transform: uppercase; letter-spacing: 0.2em; }
.contact-info-value { font-size: clamp(17px, 1.8vw, 20px); font-weight: 300; margin-top: 10px; }
.contact-info-value a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .25s; }
.contact-info-value a:hover { border-color: var(--ink); }
.field { margin-bottom: 26px; }
.field label { display: block; font-size: 10.5px; font-weight: 500; color: var(--mute); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 4px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #cfcfca; border-radius: 0; background: transparent;
  font-family: inherit; font-size: 16px; font-weight: 300; color: var(--ink); -webkit-appearance: none; appearance: none; transition: border-color .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-note { font-size: 12px; color: var(--mute); line-height: 1.7; margin-top: 18px; }
.form-note a { color: inherit; }
.form-status { padding: 14px 16px; font-size: 14px; margin-bottom: 24px; display: none; line-height: 1.5; }
.form-status.show { display: block; }
.form-status.ok { background: #edeeea; color: #2d301c; }
.form-status.err { background: #f2e7e5; color: #6b2e22; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
@media (max-width: 560px) { #contact-form .btn-dark { width: 100%; } }

/* ---------- legal ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; font-weight: 300; margin: 44px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 15px; line-height: 1.8; color: #3d3d3a; font-weight: 300; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--ink); }
.todo { background: #f7f1d8; padding: 1px 6px; font-weight: 400; }

/* ---------- footer ---------- */
footer { background: var(--header-bg); color: #a9a9a5; padding: clamp(56px, 7vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px clamp(24px, 4vw, 64px); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-brand p { font-size: 14px; line-height: 1.7; margin: 20px 0 0; max-width: 300px; font-weight: 300; }
.foot-title { font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #6f6d68; margin-bottom: 18px; }
.foot-col { display: flex; flex-direction: column; gap: 4px; }
.foot-col a { color: #c9c9c5; text-decoration: none; font-size: 14px; padding: 6px 0; transition: color .2s; font-weight: 300; }
.foot-col a:hover { color: #fff; }
.foot-col p { font-size: 14px; line-height: 1.7; margin: 0 0 6px; font-weight: 300; }
.foot-cta { display: inline-flex; align-self: flex-start; margin-top: 12px; padding: 14px 24px !important; border: 1px solid rgba(255,255,255,.4); color: #fff !important; font-size: 11px !important; letter-spacing: 0.16em; text-transform: uppercase; transition: background-color .3s, color .3s !important; }
.foot-cta:hover { background: #fff; color: #0f0f0f !important; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid #242422; font-size: 12.5px; }
.foot-bottom a { color: #a9a9a5; text-decoration: none; }
.foot-bottom a:hover { color: #fff; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .hero-inner > * { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
