/* 4homes v2 — "Maison + Film": white, editorial, slow. Thin Cormorant serif, tracked Jost capitals,
   one Tavola red accent (#C8102E) used sparingly. */
:root {
  --paper: #ffffff;
  --ivory: #f6f6f4;
  --ink: #141414;
  --ink-2: #4a4a4a;
  --mute: #6b6b6b; /* ≥4.5:1 on white and on ivory */
  --taupe: var(--mute); /* referenced by inline styles inherited from the v1 generator */
  --line: #e7e5e1;
  --red: #c8102e;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1360px;
  --gut: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(.16, .84, .24, 1);
  --head-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink-2); font: 300 16.5px/1.75 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 1px solid var(--red); outline-offset: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { left: 8px; }
.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; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 300; color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
em { font-style: italic; }
.dot { color: var(--red); }

/* small tracked capitals: the house voice */
.kicker, .eyebrow { display: block; font: 400 11px/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.eyebrow { color: var(--red); }
.line-link { display: inline-block; font: 400 11.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding-bottom: 9px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .6s var(--ease), color .3s; }
.line-link:hover { background-size: 30% 1px; }
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; text-decoration: none; font: 400 11.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; padding: 18px 28px; border: 1px solid var(--ink); cursor: pointer; transition: background .4s, color .4s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn .arr { display: none; }

/* ---------- header: logo centred, navigation either side ---------- */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); transition: background .5s, border-color .5s, color .5s; }
.hwrap { position: relative; height: var(--head-h); display: flex; align-items: center; }
.logo { display: block; line-height: 0; }
.logo img { display: block; height: 28px; width: auto; }
.hwrap > .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
nav.main { flex: 1; display: flex; justify-content: space-between; align-items: center; }
nav.main .grp { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
nav.main a, .nav-drop > button { font: 400 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: inherit; text-decoration: none; background: none; border: 0; padding: 10px 0; cursor: pointer; position: relative; }
nav.main .grp > a::after, .nav-drop > button::after { content: ""; position: absolute; left: 0; right: .26em; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
nav.main .grp > a:hover::after, nav.main .grp > a.active::after, .nav-drop > button:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-drop { position: relative; }
.nav-menu { position: absolute; top: calc(100% + 18px); left: -24px; min-width: 280px; background: #fff; border: 1px solid var(--line); padding: 14px 24px; display: none; color: var(--ink); }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu, .nav-drop.open .nav-menu { display: block; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -19px; height: 19px; } /* hover bridge */
.nav-menu a { display: block; padding: 11px 0; font: 400 19px/1.2 var(--serif) !important; letter-spacing: 0 !important; text-transform: none !important; }
.nav-menu a:hover { color: var(--red); }
.nav-menu a.all { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font: 400 11px/1 var(--sans) !important; letter-spacing: .26em !important; text-transform: uppercase !important; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; color: inherit; margin-left: auto; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* home: the header floats over the film until the visitor scrolls */
body.home header.site { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; }
/* shadow only while the header floats over the film (JS on, not scrolled, menu closed) */
.js body.home:not(.menu-open) header.site:not(.scrolled) nav.main .grp > a, .js body.home:not(.menu-open) header.site:not(.scrolled) .nav-drop > button { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.js body.home:not(.menu-open) header.site:not(.scrolled) .burger span { box-shadow: 0 0 8px rgba(0,0,0,.5); height: 1.5px; }
/* without JS the header never turns solid on scroll: keep it solid from the start */
html:not(.js) body.home header.site { position: sticky; background: #fff; color: var(--ink); border-color: var(--line); }
body.home header.site.scrolled, body.home.menu-open header.site { background: rgba(255,255,255,.97); border-color: var(--line); color: var(--ink); }

@media (max-width: 1100px) {
  :root { --head-h: 68px; }
  .burger { display: block; }
  .logo img { height: 24px; }
  nav.main { position: fixed; inset: var(--head-h) 0 0 0; background: #fff; color: var(--ink); flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 24px var(--gut) 48px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  body.menu-open nav.main { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
  nav.main .grp { flex-direction: column; align-items: stretch; gap: 0; }
  nav.main .grp > a, .nav-drop > button { font: 300 30px/1.2 var(--serif); letter-spacing: 0; text-transform: none; padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; width: 100%; }
  nav.main .grp > a::after, .nav-drop > button::after { display: none; }
  .nav-menu, .nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { position: static; display: none; border: 0; padding: 4px 0 14px; min-width: 0; }
  .nav-drop.open .nav-menu { display: block; }
  .nav-drop > button::before { content: "+"; float: right; transition: transform .4s var(--ease); }
  .nav-drop.open > button::before { transform: rotate(45deg); }
  nav.main .grp > a.btn-nav { margin-top: 28px; border: 1px solid var(--ink); text-align: center; font: 400 11.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; padding: 18px; }
}

/* ---------- motion primitives ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .wi { display: inline-block; }
.js .split .wi { transform: translateY(105%); transition: transform 1.4s var(--ease); transition-delay: calc(var(--i) * 60ms + 80ms); }
.js .split.is-in .wi { transform: none; }
.js .fade { opacity: 0; transform: translateY(16px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); transition-delay: var(--d, 0ms); }
.js .fade.is-in { opacity: 1; transform: none; }

/* ---------- the film (home hero) ---------- */
.film { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: #1a1a1a; color: #fff; }
.film-shot { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; }
.film-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08); }
.film-shot.on { opacity: 1; }
.film-shot.on img { animation: kenburns var(--shot, 5s) linear both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
/* object shots: one product on white, entering with a short lift */
.film-shot.is-object { background: #fff; }
.film-shot.is-object img { position: absolute; left: auto; right: 9%; top: 44%; width: auto; height: auto; max-width: 34vw; max-height: 50vh; object-fit: contain; transform: translateY(-50%); }
.film-shot.is-object.on img { animation: objIn var(--shot, 2.6s) var(--ease) both; }
/* first paint: the opening shot is visible at once (it is the LCP element); objIn runs from the second shot on */
.film:not(.played) .film-shot:first-child img { animation: none; }
@keyframes objIn { 0% { opacity: 0; transform: translateY(-44%) scale(.94); } 22% { opacity: 1; } 100% { opacity: 1; transform: translateY(-50%) scale(1); } }
/* light shots: dark type, no veil */
.film::after { transition: opacity .55s ease; }
.film.is-light::after { opacity: 0; }
.film.is-light .film-word, .film.is-light .film-row h1 { color: var(--ink); }
.film.is-light .film-cap, .film.is-light .film-side { color: var(--ink-2); }
.film.is-light .film-side .line-link { color: var(--ink); }
.film.is-light .film-row { border-top-color: var(--line); }
.film.is-light .film-bar .wrap { color: var(--mute); }
.film.is-light .film-track { background: var(--line); }
.film.is-light .film-track b { background: var(--ink); }
.film-word, .film-cap, .film-row h1, .film-side, .film-side .line-link, .film-bar .wrap { transition: color .55s ease; }
body.home.film-light header.site:not(.scrolled) { color: var(--ink); }
.js body.home.film-light header.site:not(.scrolled) nav.main .grp > a, .js body.home.film-light header.site:not(.scrolled) .nav-drop > button { text-shadow: none; }
.js body.home.film-light header.site:not(.scrolled) .burger span { box-shadow: none; }
header.site { transition: background .5s, border-color .5s, color .55s; }
.motion-paused .film-shot.on img { animation-play-state: paused; }
.film::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.62) 0, rgba(0,0,0,.38) 120px, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 45%, rgba(0,0,0,.6) 100%), linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0) 60%); }
.film-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; top: var(--head-h); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 92px; }
/* the flex column would otherwise shrink-wrap and centre the .wrap; keep it on the page grid */
.film-copy > .wrap { width: 100%; }
.film-word { font: 300 clamp(84px, 13vw, 210px)/.9 var(--serif); letter-spacing: -.02em; min-height: .95em; color: #fff; }
.film-word .c { display: inline-block; opacity: 0; transform: translateY(.22em); filter: blur(8px); transition: opacity .6s ease, transform .8s var(--ease), filter .6s ease; transition-delay: calc(var(--i) * 32ms); }
.film-word.on .c { opacity: 1; transform: none; filter: none; }
.film-word.out .c { opacity: 0; filter: blur(6px); transition-duration: .22s; transition-delay: 0ms; }
.film-word i { font-style: italic; }
.film-cap { margin: 10px 0 0 6px; color: rgba(255,255,255,.82); }
.film-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-top: clamp(28px, 4vw, 56px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.28); }
.film-row h1 { color: #fff; font-size: clamp(30px, 3.2vw, 50px); line-height: 1.08; max-width: 18ch; }
.film-side { max-width: 340px; font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.88); }
.film-side .line-link { color: #fff; margin-top: 18px; }
.film-bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; }
.film-bar .wrap { display: flex; align-items: center; gap: 20px; height: 56px; font: 400 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.film-track { flex: 1; height: 1px; background: rgba(255,255,255,.25); position: relative; }
.film-track b { position: absolute; inset: 0 auto 0 0; width: 0; background: #fff; }
.film-tc { font-variant-numeric: tabular-nums; }
.film-btn { background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; padding: 8px 0; }
.film-btn:hover { color: #fff; }
.film.is-light .film-btn:hover { color: var(--ink); }

/* ---------- home sections ---------- */
.sec { padding: clamp(96px, 12vw, 176px) 0; }
.sec.ivory { background: var(--ivory); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 6vw, 80px); }
.sec-head h2, .h2 { font-size: clamp(40px, 5vw, 76px); line-height: 1.02; margin-top: 22px; }
.sec-head p { margin: 24px auto 0; max-width: 56ch; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.intro p { max-width: 50ch; margin: 28px 0 0; }
.intro figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.intro figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 2.4s var(--ease); }
.intro figure:hover img { transform: scale(1.03); }
.figures { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: clamp(24px, 4vw, 56px); margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.figures b { display: block; font: 300 clamp(40px, 4vw, 60px)/1 var(--serif); color: var(--ink); }
.figures span { display: block; margin-top: 10px; font: 400 10.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }

.maisons { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.maison { display: grid; place-items: center; min-height: 140px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .6s; }
.maison:hover { background: var(--ivory); }
.maison img { max-width: 70%; max-height: 48px; object-fit: contain; display: block; transition: transform 1s var(--ease); }
.maison:hover img { transform: scale(1.05); }
.center-link { text-align: center; margin-top: 52px; }

.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.channel { padding: 44px clamp(20px, 3vw, 44px) 8px 0; text-decoration: none; color: inherit; display: block; }
.channel + .channel { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 44px); }
.channel .num { font: italic 300 22px/1 var(--serif); color: var(--red); }
.channel h3 { font-size: clamp(32px, 3vw, 46px); line-height: 1.05; margin: 22px 0 16px; transition: color .4s; }
.channel p { margin: 0 0 26px; max-width: 36ch; }
a.channel:hover h3 { color: var(--red); } /* only linked channels react */

.worlds { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 24vw, 330px); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.world { scroll-snap-align: start; text-decoration: none; color: inherit; display: block; }
.world .ph { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); }
.world .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.8s var(--ease); }
.world:hover .ph img { transform: scale(1.06); }
.world .nm { display: block; margin-top: 20px; font: 300 26px/1.15 var(--serif); color: var(--ink); }
.world .ct { display: block; margin-top: 8px; font: 400 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }

.library { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.library p { margin: 26px 0 34px; max-width: 42ch; }
.covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: end; }
.covers a { display: block; box-shadow: 0 30px 50px -30px rgba(0,0,0,.35); transition: transform 1s var(--ease); }
.covers a:hover { transform: translateY(-8px); }
.covers img { width: 100%; display: block; }

/* academy (Tavola Studio) */
.academy-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.academy-head p { margin: 0; max-width: 52ch; }
.creds { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font: 400 10.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.creds span { position: relative; }
.creds span + span::before { content: ""; position: absolute; left: -15px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--red); transform: translateY(-50%); }
.disciplines { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-top: clamp(48px, 6vw, 80px); }
.disciplines > div { padding: 32px clamp(16px, 2vw, 32px) 8px 0; }
.disciplines > div + div { border-left: 1px solid var(--line); padding-left: clamp(16px, 2vw, 32px); }
.disciplines .num { font: italic 300 20px/1 var(--serif); color: var(--red); }
.disciplines h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; margin: 16px 0 12px; }
.disciplines p { margin: 0; font-size: 15px; }
.ws-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: clamp(56px, 7vw, 96px) 0 24px; }
.workshops { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.ws { text-decoration: none; color: inherit; display: block; }
.ws .ph { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #fff; }
.ws .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.8s var(--ease); }
.ws:hover .ph img { transform: scale(1.06); }
.ws .nm { display: block; margin-top: 16px; font: 300 22px/1.2 var(--serif); color: var(--ink); }
.ws:hover .nm { color: var(--red); }
.studios { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(64px, 8vw, 112px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.studios figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.studios figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.studios h3 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.04; margin: 18px 0 26px; }
.studios ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.studios li b { display: block; font: 400 10.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.studios li span { font: 400 19px/1.3 var(--serif); color: var(--ink); }

.closing { text-align: center; }
.closing h2 { font-size: clamp(44px, 6vw, 92px); line-height: 1; max-width: 16ch; margin: 22px auto 0; }
.closing .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 40px; align-items: center; margin-top: 44px; }
.closing .acts a:not(.btn) { font: 300 22px/1 var(--serif); color: var(--ink); text-decoration: none; }
.closing .acts a:not(.btn):hover { color: var(--red); }

/* ---------- hospitality ---------- */
.head-acts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 36px; margin-top: 40px; }
.supply .brands-line { display: block; margin-top: 18px; font: 400 10.5px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.range + .range { margin-top: clamp(48px, 6vw, 72px); }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-top: 1px solid var(--ink); padding-top: 18px; margin-bottom: 28px; }
.range-head h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; }
.closing p { margin: 22px auto 0; max-width: 54ch; }

/* ---------- inner pages (shared builders) ---------- */
.page-head { padding: clamp(80px, 11vw, 160px) 0 clamp(48px, 6vw, 80px); text-align: center; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(48px, 7vw, 108px); line-height: 1; margin: 24px auto 0; max-width: 16ch; }
.page-head .lede { margin: 30px auto 0; max-width: 58ch; font-size: 17px; }
.crumb { font: 400 11px/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.crumb a { color: var(--mute); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section.greige, .section.soft { background: var(--ivory); }
.section.ink { background: var(--paper); }
.section-title { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.04; margin: 18px 0 0; }
.section-sub { max-width: 60ch; margin: 18px 0 0; }
.section-sub a, .prose a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lede { font-size: 17px; }
/* CMS category images are small (≤ 809 px): show them at a size they can hold, centred */
.figure-band { display: flex; justify-content: center; }
.figure-band img { width: auto; max-width: min(100%, 560px); max-height: 420px; object-fit: cover; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-bottom: 40px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.chip { font: 400 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: 10px 0; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--mute); cursor: pointer; transition: color .3s, border-color .3s; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-card { position: relative; background: #fff; min-height: 140px; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .6s; }
.brand-card:hover { background: var(--ivory); }
/* logos always in their own brand colours */
.brand-card.has-logo img { max-width: 70%; max-height: 48px; object-fit: contain; display: block; }
.brand-name-text { font: 300 22px/1.2 var(--serif); color: var(--ink); }
.cat-badge { position: absolute; top: 10px; right: 10px; font: 400 9px/1 var(--sans); letter-spacing: .2em; color: var(--mute); }
.az-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin: 0 0 30px; position: sticky; top: var(--head-h); background: rgba(255,255,255,.97); z-index: 5; padding: 14px 0; border-bottom: 1px solid var(--line); }
.az-bar a { font: 300 21px/1 var(--serif); text-decoration: none; padding: 6px; color: var(--ink); }
.az-bar a:hover { color: var(--red); }
.az-bar a.off { color: #cfcfcf; pointer-events: none; }
.letter-group { margin-top: 56px; }
.letter-head { font: 300 64px/1 var(--serif); color: var(--ink); margin-bottom: 18px; }
.count-note { color: var(--mute); }
.cat-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 44px 26px; }
.book { text-decoration: none; color: inherit; display: block; }
.book .cover { display: block; position: relative; aspect-ratio: 3 / 4; background: var(--ivory); overflow: hidden; box-shadow: 0 28px 44px -30px rgba(0,0,0,.35); transition: transform 1s var(--ease); }
.book.is-wide .cover { aspect-ratio: 4 / 3; }
.book:hover .cover { transform: translateY(-6px); }
.book .cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book .cover-art { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; }
.book .cover-art .brand-name { font: 300 24px/1.1 var(--serif); color: var(--ink); }
.book .under { display: block; margin-top: 16px; font-size: 13.5px; line-height: 1.5; color: var(--mute); }
.book .under b { font: 400 17px/1.3 var(--serif); color: var(--ink); }
.lang-badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: #fff; color: var(--ink); font: 400 9.5px/1 var(--sans); letter-spacing: .2em; padding: 6px 8px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); border-top: 1px solid var(--ink); }
.card { display: block; text-decoration: none; color: inherit; padding: 40px 32px 40px 0; border-bottom: 1px solid var(--line); }
.card .meta { display: block; font: 400 10.5px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.card h3 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.04; margin: 18px 0 14px; transition: color .4s; }
.card p { margin: 0 0 18px; }
.card .go { font: 400 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.card:hover h3 { color: var(--red); }
/* a single concept card spans the row instead of sitting in a third of it */
.card-grid > .card:only-child { grid-column: 1 / -1; max-width: 760px; }
.stat-rail { display: grid; border-top: 1px solid var(--ink); }
.stat-rail .stat { padding: 26px 16px 26px 0; }
.stat-rail .stat b { display: block; font: 300 52px/1 var(--serif); color: var(--ink); }
.stat-rail .stat span { font: 400 10.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.prose { max-width: 70ch; font-size: 17px; margin-left: auto; margin-right: auto; } /* centred under the centred page head */
.prose h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 26px; margin: 1.4em 0 .4em; }
.loc-acc details { border-top: 1px solid var(--line); }
.loc-acc details:last-child { border-bottom: 1px solid var(--line); }
.loc-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; padding: 26px 0; font: 300 clamp(28px, 3vw, 40px)/1.1 var(--serif); color: var(--ink); }
.loc-acc summary::-webkit-details-marker { display: none; }
.loc-acc summary .n { font: 400 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.loc-acc summary:hover { color: var(--red); }
.loc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px 32px; padding: 6px 0 34px; }
.loc b { display: block; font: 400 18px/1.3 var(--serif); color: var(--ink); }
.loc span { display: block; color: var(--mute); font-size: 14.5px; }
.loc a { color: var(--ink); font-size: 14.5px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
#contactForm { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
#contactForm .full { grid-column: 1 / -1; }
.field label { display: block; font: 400 10.5px/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font: 300 17px/1.5 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #8a8a8a; padding: 10px 0; border-radius: 0; -webkit-appearance: none; appearance: none; transition: border-color .3s; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 24px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.req { color: var(--red); }
.err-msg { display: none; color: var(--red); font-size: 13px; margin-top: 6px; }
.field.error .err-msg { display: block; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; }
/* the consent box is drawn here: the generic .field input rule (appearance:none, bottom border only) left it invisible */
.consent input[type="checkbox"] { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; min-width: 20px; margin: 3px 0 0; padding: 0; border: 1px solid var(--ink); border-radius: 0; background: #fff; display: grid; place-content: center; cursor: pointer; flex: 0 0 auto; }
.consent input[type="checkbox"]::before { content: ""; width: 11px; height: 11px; background: var(--ink); transform: scale(0); transition: transform .15s ease; }
.consent input[type="checkbox"]:checked::before { transform: scale(1); }
.consent input[type="checkbox"]:focus-visible { outline: 1px solid var(--red); outline-offset: 3px; }
.field.error .consent input[type="checkbox"] { border-color: var(--red); }
.consent label { text-transform: none; letter-spacing: 0; font: 300 14.5px/1.6 var(--sans); color: var(--ink-2); margin: 0; cursor: pointer; }
.status-box { display: none; padding: 14px 16px; border-left: 2px solid var(--red); background: var(--ivory); font-size: 14.5px; }
.status-box.show { display: block; }
.form-note { font-size: 13px; color: var(--mute); }
.success-panel { display: none; border-top: 1px solid var(--ink); padding-top: 28px; }
.success-panel.show { display: block; }
.success-panel h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; }
.contact-aside .row { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-aside .row:first-child { border-top: 1px solid var(--ink); }
.contact-aside .row span { display: block; font: 400 10.5px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.contact-aside .row b { font: 400 20px/1.35 var(--serif); color: var(--ink); }
.contact-aside .row a { text-decoration: none; }
.contact-aside .row a:hover { color: var(--red); }
.contact-aside .note { color: var(--mute); font-size: 14.5px; margin-top: 22px; }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: clamp(72px, 9vw, 120px) 0 32px; }
/* footer logo: small, on the left edge of the grid, above the company blurb */
.foot-mark { display: block; width: max-content; margin: 0 0 36px; line-height: 0; }
.foot-mark img { display: block; height: 40px; width: auto; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin: 0; max-width: 40ch; font-size: 15px; }
.foot-col span { display: block; font: 400 10.5px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.foot-col a { display: block; text-decoration: none; padding: 6px 0; font: 400 19px/1.3 var(--serif); color: var(--ink); }
.foot-col a:hover { color: var(--red); }
.foot-social { display: flex; gap: 8px; margin-top: 26px; }
.foot-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: border-color .3s; }
.foot-social a:hover { border-color: var(--ink); }
.foot-social svg { width: 15px; height: 15px; }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font: 400 10.5px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.foot-legal a { color: var(--mute); text-decoration: none; }
.foot-legal a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .intro, .library, .contact-grid { grid-template-columns: 1fr; }
  .channels { grid-template-columns: 1fr; }
  .academy-head, .studios { grid-template-columns: 1fr; }
  .disciplines { grid-template-columns: 1fr 1fr; }
  .disciplines > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .disciplines > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .workshops { grid-template-columns: repeat(5, minmax(200px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .ws { scroll-snap-align: start; }
  .channel + .channel { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .maisons { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .film-row { flex-direction: column; align-items: flex-start; gap: 22px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .film { min-height: 560px; }
  .film-copy { padding-bottom: 80px; }
  .film-word { font-size: clamp(64px, 22vw, 110px); }
  .film-side { font-size: 14.5px; }
  .film-shot.is-object img { right: 50%; top: calc(var(--head-h) + 16px); max-width: 70vw; max-height: max(64px, min(30vh, calc(100svh - var(--film-text, 470px) - var(--head-h) - 32px))); transform: translateX(50%); }
  @keyframes objIn { 0% { opacity: 0; transform: translate(50%, 6%) scale(.94); } 22% { opacity: 1; } 100% { opacity: 1; transform: translate(50%, 0) scale(1); } }
  .figures { grid-template-columns: 1fr 1fr; gap: 26px; }
  .maisons { grid-template-columns: repeat(2, 1fr); }
  .maison:nth-child(n+13) { display: none; } /* 12 maisons on phones */
  .maison { min-height: 110px; }
  .covers { grid-template-columns: repeat(2, 1fr); }
  .worlds { grid-auto-columns: 72%; }
  #contactForm { grid-template-columns: 1fr; }
  .cat-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-rail { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .disciplines { grid-template-columns: 1fr; }
  .disciplines > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .workshops { grid-template-columns: repeat(5, 62%); }
  .studios ul { grid-template-columns: 1fr; }
  .ws-head { flex-direction: column; gap: 10px; }
  .creds { gap: 8px 18px; }
  .creds span + span::before { display: none; }
}

/* short phones: compact type block so the product image keeps room above it */
@media (max-width: 640px) and (max-height: 720px) {
  .film-word { font-size: clamp(52px, 17vw, 78px); }
  .film-row { margin-top: 16px; padding-top: 16px; }
  .film-row h1 { font-size: 26px; }
  /* visually hidden, still read by screen readers */
  .film-side .side-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .film-side br { display: none; }
  .film-side .line-link { margin-top: 4px; }
  .film-copy { padding-bottom: 68px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .film-shot.is-photo.on img { animation: none !important; transform: none; }
  .film-shot.is-object.on img { animation: none !important; }
}

/* ---------- v2 page builders: about, content pages, categories, brands, Tavola ---------- */
.page-body { padding-top: clamp(56px, 7vw, 96px); }
.split-text, .retail-intro { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.split-text .prose, .retail-intro .prose, .cat-intro .prose { margin: 0; max-width: 60ch; }
.cat-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.cat-intro.no-img { grid-template-columns: 1fr; max-width: 820px; }
.cat-intro figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); }
.cat-intro figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-intro .kicker { margin-bottom: 22px; }
.sec-head p a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.maison .txt { font: 300 24px/1.15 var(--serif); color: var(--ink); text-align: center; }
/* logos trimmed at build time and sized by visual area (logos_block.mjs): --lw is the display width */
.maison img[style*="--lw"] { width: var(--lw); height: auto; max-width: 82%; max-height: none; }
/* full brand lists: every tile keeps its frame and a short last row sits centred, not ragged */
.maisons.all { display: flex; flex-wrap: wrap; justify-content: center; border: 0; }
.maisons.all .maison { flex: 0 0 20%; border: 1px solid var(--line); margin: 0 -1px -1px 0; }
/* catalogue covers share one 3:4 frame; landscape covers sit inside it on ivory */
.book.is-wide .cover { aspect-ratio: 3 / 4; }
.book.is-wide .cover-img { object-fit: contain; padding: 12px; }
.dir-name { position: sticky; top: calc(var(--head-h) + 90px); align-self: start; }
/* brands A–Z: the letter on the left, its houses in a left-aligned row of tiles */
.page-body .chips { justify-content: safe center; }
.letter-group { display: grid; grid-template-columns: clamp(56px, 8vw, 120px) 1fr; gap: 0 clamp(16px, 3vw, 40px); align-items: start; margin-top: 0; padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--line); scroll-margin-top: 64px; }
.letter-group .letter-head { margin: 0; font-size: clamp(44px, 5vw, 64px); }
.letter-group:first-child { border-top: 0; }
.letter-group .maisons.all { justify-content: flex-start; }
.letter-group .maisons.all .maison { flex-basis: 25%; }
/* store directory */
.dir-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 14px 0 18px; margin-bottom: clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--line); position: sticky; top: var(--head-h); background: rgba(255,255,255,.97); z-index: 5; }
.dir-nav a { font: 400 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); text-decoration: none; padding: 8px 0; }
.dir-nav a span { color: var(--red); margin-left: 6px; }
.dir-nav a:hover { color: var(--ink); }
.dir-country { display: grid; grid-template-columns: 1fr 3fr; gap: clamp(24px, 4vw, 64px); padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: 56px; }
.dir-country:first-child { border-top-color: var(--ink); }
.dir-name h3 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; }
.dir-name span { display: block; margin-top: 12px; font: 400 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.dir-stores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px clamp(20px, 3vw, 40px); }
.store h4 { margin: 0; font: 400 22px/1.2 var(--serif); color: var(--ink); }
.store p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; }
.store p.city { margin-top: 2px; color: var(--mute); }
.store-acts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }
.store-acts a { font: 400 10.5px/1.7 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.store-acts a:hover { border-color: var(--ink); }
@media (max-width: 1100px) {
  .split-text, .retail-intro, .cat-intro { grid-template-columns: 1fr; }
  .cat-intro figure { max-width: 560px; }
  .dir-country { grid-template-columns: 1fr; }
  .dir-name { position: static; }
  .maisons.all .maison { flex-basis: 25%; }
  .dir-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .maisons.all .maison:nth-child(n+13) { display: grid; } /* full lists on brands and categories */
  .maisons.all .maison { flex-basis: 50%; }
  .letter-group { grid-template-columns: 1fr; }
  .letter-group .letter-head { margin-bottom: 14px; }
  .letter-group .maisons.all .maison { flex-basis: 50%; }
  .figures:has(> div:nth-child(3):last-child) { grid-template-columns: repeat(3, auto); gap: 22px; } /* three figures stay on one row */
  .maison .txt { font-size: 20px; }
  .dir-stores { grid-template-columns: 1fr; }
  .dir-nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .dir-nav::-webkit-scrollbar { display: none; }
  .dir-nav a { flex: 0 0 auto; }
  .page-body .chips { justify-content: flex-start; }
  /* home: all 20 houses on phones, three across, the short last row centred */
  .maisons.home { display: flex; flex-wrap: wrap; justify-content: center; border: 0; }
  .maisons.home .maison { flex: 0 0 33.333%; min-height: 84px; padding: 14px; border: 1px solid var(--line); margin: 0 -1px -1px 0; }
  .maisons.home .maison:nth-child(n+13) { display: grid; }
  .maisons.home .maison img { max-width: 78%; max-height: 36px; }
  .maison img[style*="--lw"] { width: calc(var(--lw) * .8); }
  .maisons.home .maison img[style*="--lw"] { width: calc(var(--lw) * .6); max-height: none; }
}
