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

/* DILE showroom — one system: warm white ground, near-black ink, one bronze accent. */
:root {
  --bg: #f4f1eb;
  --surface: #ebe6dd;
  --plate: #ffffff;
  --ink: #171614;
  --ink-2: #3b3833;
  --muted: #6b655c;
  --line: #d9d2c5;
  --accent: #8a6a43;
  --accent-2: #6f5434;
  --dark: #1a1917;
  --dark-2: #2a2825;
  --on-dark: #f4f1eb;
  --on-dark-muted: #b9b2a6;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 2px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 10px 16px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Type */
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.h2 { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.01em; }
.h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 40px 0 14px; }
.h1-page { font-family: var(--serif); font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -.015em; }
.lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 36em; margin-top: 20px; }
.muted { color: var(--muted); }

/* Buttons: one pair (solid, line), one radius */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--radius); border: 1px solid var(--ink); font-size: 15px; font-weight: 500; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-solid { background: var(--ink); color: var(--on-dark); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--on-dark); }
.btn-light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn-light:hover { background: var(--accent); border-color: var(--accent); color: var(--on-dark); }
.btn-line-light { color: var(--on-dark); border-color: rgba(244, 241, 235, .7); }
.btn-line-light:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.link-arrow { font-size: 15px; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease), color .2s; white-space: nowrap; }
.link-arrow::after { content: ' \2192'; }
.link-arrow:hover { background-size: 100% 1px; color: var(--accent-2); }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--surface); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(244, 241, 235, .92); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.is-home .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; color: var(--on-dark); }
.is-home .site-header { position: fixed; left: 0; right: 0; }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.logo { font-family: var(--serif); font-size: 30px; letter-spacing: .28em; text-decoration: none; line-height: 1; white-space: nowrap; padding-left: .28em; margin-left: -.28em; }
.logo-lg { font-size: 44px; }
@media (max-width: 600px) { .logo { font-size: 22px; letter-spacing: .2em; padding-left: .2em; margin-left: -.2em; } .logo-lg { font-size: 30px; } }
.main-nav { display: flex; gap: 32px; margin-left: auto; }
.main-nav a { font-size: 15px; text-decoration: none; padding: 12px 0; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.main-nav a:hover, .main-nav a[aria-current] { background-size: 100% 1px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-inquiry { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid currentColor; border-radius: var(--radius); background: transparent; cursor: pointer; font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.btn-inquiry:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; }
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle span:first-child { top: 18px; } .menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; background: var(--bg); color: var(--ink); z-index: 39; }
.mobile-menu nav { display: flex; flex-direction: column; padding-top: 24px; }
.mobile-menu a { font-family: var(--serif); font-size: 40px; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-open .site-header { background: var(--bg) !important; color: var(--ink) !important; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; background: var(--dark); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20, 18, 16, .62) 0%, rgba(20, 18, 16, .34) 42%, rgba(20, 18, 16, 0) 70%),
  linear-gradient(180deg, rgba(20, 18, 16, .42) 0%, rgba(20, 18, 16, 0) 22%, rgba(20, 18, 16, 0) 50%, rgba(20, 18, 16, .55) 100%); }
.hero-inner { position: relative; padding-bottom: clamp(48px, 9vh, 104px); padding-top: calc(var(--header-h) + 40px); }
.hero .eyebrow { color: rgba(244, 241, 235, .82); }
.hero h1 { font-family: var(--serif); font-size: clamp(44px, 5.6vw, 88px); line-height: .98; letter-spacing: -.015em; max-width: 9.6em; text-shadow: 0 1px 24px rgba(20, 18, 16, .25); }
.hero-lede { font-size: 19px; max-width: 32em; margin-top: 24px; color: rgba(244, 241, 235, .9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Entrance: once, on load. Pure CSS so content never stays hidden. */
@keyframes enter-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes enter-zoom { from { transform: scale(1.06); } }
[data-enter] .hero-media img { animation: enter-zoom 2.2s var(--ease) both; }
[data-enter] .hero-inner > *, [data-enter] .page-head > *, [data-enter] .pdp-grid > *, [data-enter] .about-grid > *, [data-enter] .contact-grid > * { animation: enter-up .9s var(--ease) both; }
[data-enter] .hero-inner > :nth-child(2), [data-enter] .page-head > :nth-child(2), [data-enter] .pdp-grid > :nth-child(2), [data-enter] .about-grid > :nth-child(2), [data-enter] .contact-grid > :nth-child(2) { animation-delay: .12s; }
[data-enter] .hero-inner > :nth-child(3) { animation-delay: .24s; }
[data-enter] .hero-inner > :nth-child(4) { animation-delay: .36s; }

/* Sections */
.section { padding-block: clamp(80px, 11vw, 160px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }

/* Categories with hover-swapped plate (the page's dealt moment) */
.cats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cat-list { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.cat-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s var(--ease), color .2s; }
.cat-name { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; }
.cat-count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.cat-row:hover, .cat-row.is-on { padding-left: 14px; color: var(--accent-2); }
.cat-stage { position: relative; aspect-ratio: 1 / 1; background: var(--plate); overflow: hidden; }
.cat-plate { position: absolute; inset: 0; display: grid; place-items: center; padding: 3%; opacity: 0; transform: scale(1.03); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.cat-plate.is-on { opacity: 1; transform: none; }
.cat-plate img { width: 100%; height: 100%; object-fit: contain; }

/* Cards */
.card { position: relative; display: flex; flex-direction: column; background: var(--plate); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(23, 22, 20, .45); }
.card-link { display: flex; flex-direction: column; text-decoration: none; flex: 1; }
.plate { display: block; aspect-ratio: 4 / 3; overflow: hidden; padding: 7%; }
.plate img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.card:hover .plate img { transform: scale(1.03); }
.card-meta { display: flex; flex-direction: column; gap: 2px; padding: 4px 18px 64px; }
.card-model { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.card-name { font-size: 14px; color: var(--muted); }
.add { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 6px; border: 0; border-radius: var(--radius); background: transparent; cursor: pointer; font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.add-plus { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ink); border-radius: 50%; font-size: 18px; line-height: 1; transition: transform .3s var(--ease), background .2s, color .2s; }
.add:hover { background: var(--bg); }
.add:hover .add-plus { background: var(--ink); color: var(--on-dark); }
.add:active { transform: translateY(1px); }
.add.is-added .add-plus { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.add-big .add-plus { border-color: currentColor; width: 24px; height: 24px; }
.add-big.is-added { background: var(--accent); border-color: var(--accent); }
.add-big.is-added .add-plus { background: #fff; color: var(--accent); border-color: #fff; }

/* Rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.rail > .card { scroll-snap-align: start; }

/* Rooms */
.room-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; margin-top: 40px; height: min(72vh, 760px); }
.room { position: relative; overflow: hidden; display: block; text-decoration: none; color: var(--on-dark); background: var(--dark); }
.room-wide { grid-row: span 2; }
.room-photo, .room-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-photo img { transition: transform .8s var(--ease); }
.room:hover .room-photo img { transform: scale(1.03); }
.room::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 18, 16, .55), rgba(20, 18, 16, 0) 45%); }
.room-label { position: absolute; left: 24px; bottom: 20px; z-index: 1; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 40px); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.room-label::after { content: ' \2192'; font-family: var(--sans); font-size: .6em; }
.room:hover .room-label { background-size: 100% 1px; }

/* Process */
.process { background: var(--surface); }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.steps li { padding: 28px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { display: block; font-size: 13px; letter-spacing: .14em; color: var(--accent-2); margin-bottom: 40px; }
.steps h3 { font-family: var(--serif); font-size: 34px; line-height: 1.1; margin-bottom: 12px; }
.steps p { color: var(--ink-2); }

/* Statement */
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.statement-photo { aspect-ratio: 4 / 5; overflow: hidden; }
.statement-photo img { width: 100%; height: 100%; object-fit: cover; }
.statement-line { font-family: var(--serif); font-size: clamp(52px, 7vw, 112px); line-height: .98; letter-spacing: -.02em; }
.statement-line em { color: var(--accent); }

/* Dark close band */
.close-band { background: var(--dark); color: var(--on-dark); }
.close-band .lede { color: var(--on-dark-muted); }
.close-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.close-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.contact-lines { list-style: none; margin: 0; padding: 0; width: 100%; }
.contact-lines li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(244, 241, 235, .16); font-size: 17px; }
.contact-lines span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); padding-top: 3px; }
.contact-lines a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); justify-self: start; }
.contact-lines a:hover { background-size: 100% 1px; }
.contact-lines-dark li { border-top-color: var(--line); }
.contact-lines-dark span { color: var(--muted); }

/* Catalogue */
.cat-page, .pdp, .contact-page { padding-top: calc(var(--header-h) + 16px); padding-bottom: 96px; }
.page-head { padding-block: 40px 32px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-block: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); background: var(--bg); z-index: 5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 22px; background: transparent; cursor: pointer; font-size: 14px; transition: background .2s, border-color .2s, color .2s; }
.chip span { color: var(--muted); margin-left: 4px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: var(--on-dark-muted); }
.chips-links { margin-bottom: 32px; }
.chips-links .chip { display: inline-flex; align-items: center; text-decoration: none; }
.chip[aria-current="page"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); cursor: default; }
.chip[aria-current="page"] span { color: var(--on-dark-muted); }
.search { flex: 1 1 300px; max-width: 380px; }
.search input { width: 100%; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 22px; background: var(--plate); }
.search input:focus { outline: none; border-color: var(--ink); }
.result-count { font-size: 14px; color: var(--muted); padding-block: 20px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid .card[hidden] { display: none; }
.no-results { padding: 48px 0; color: var(--muted); }

/* Product page */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); padding-block: 24px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pdp-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.stage { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 6%; border: 0; background: var(--plate); cursor: zoom-in; overflow: hidden; }
.stage img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease), opacity .25s; }
.stage:hover img { transform: scale(1.02); }
/* 3D view */
.gallery { position: relative; }
.btn-3d { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 12px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .92); font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.btn-3d:hover { border-color: var(--ink); }
.btn-3d[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.btn-3d-icon { width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M12 2.8 20.5 7.4v9.2L12 21.2 3.5 16.6V7.4z'/%3E%3Cpath d='M3.5 7.4 12 12l8.5-4.6M12 12v9.2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M12 2.8 20.5 7.4v9.2L12 21.2 3.5 16.6V7.4z'/%3E%3Cpath d='M3.5 7.4 12 12l8.5-4.6M12 12v9.2'/%3E%3C/svg%3E") center / contain no-repeat; }
.viewer3d { position: relative; aspect-ratio: 4 / 3; background: var(--plate); }
.viewer3d model-viewer { width: 100%; height: 100%; --poster-color: transparent; }
.viewer3d:has(.viewer3d-versions) { display: flex; flex-direction: column; }
.viewer3d:has(.viewer3d-versions) model-viewer { flex: 1; min-height: 0; height: auto; }
/* the version buttons get their own strip under the model, so long layout names never cover it */
.viewer3d-versions { position: relative; z-index: 2; justify-content: center; padding: 4px 14px 38px; }
.viewer3d-versions .chip { min-height: 40px; background: rgba(255, 255, 255, .92); }
.viewer3d-versions .chip[aria-pressed="true"] { background: var(--ink); }
.viewer3d-hint { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 13px; color: var(--muted); pointer-events: none; }
.stage[hidden], .thumbs[hidden], .viewer3d[hidden] { display: none; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.thumb { width: 96px; aspect-ratio: 4 / 3; padding: 6px; border: 1px solid transparent; background: var(--plate); cursor: pointer; transition: border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover, .thumb[aria-current="true"] { border-color: var(--ink); }
.pdp-title { font-family: var(--serif); font-size: clamp(56px, 6vw, 96px); line-height: .95; letter-spacing: -.01em; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.add-big { position: static; padding: 0 24px; gap: 12px; border: 1px solid var(--ink); background: var(--ink); color: var(--on-dark); }
.add-big:hover { background: var(--accent); border-color: var(--accent); }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.drawing { margin-top: 32px; background: var(--plate); padding: 20px; }
.drawing img { width: 100%; height: auto; mix-blend-mode: multiply; }
.related { padding-top: 64px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.lightbox { width: min(1400px, 94vw); max-height: 92vh; padding: 0; border: 0; background: var(--plate); }
.lightbox::backdrop { background: rgba(20, 18, 16, .78); }
.lightbox img { width: 100%; max-height: 92vh; object-fit: contain; }
.lb-close { position: absolute; top: 8px; right: 8px; background: var(--plate); }

/* Projects */
.proj-page, .proj-detail { padding-top: calc(var(--header-h) + 16px); }
.proj-page { padding-bottom: 96px; }
.proj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 32px); }
.proj-grid-3 { grid-template-columns: repeat(3, 1fr); }
.proj-card { display: block; text-decoration: none; }
.proj-photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); }
.proj-grid-3 .proj-photo { aspect-ratio: 4 / 5; }
.proj-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj-card:hover .proj-photo img { transform: scale(1.03); }
.proj-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-top: 16px; }
.proj-name { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.proj-card:hover .proj-name { background-size: 100% 1px; }
.proj-where { font-size: 14px; color: var(--muted); }
.proj-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; padding-block: 8px 40px; }
.proj-intro .lede { margin-top: 0; }
.proj-rooms { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.proj-rooms li { font-size: 13px; letter-spacing: .04em; border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; color: var(--ink-2); }
.proj-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.proj-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; cursor: zoom-in; }
.proj-cover img { width: 100%; height: 100%; object-fit: cover; }
.proj-gallery-sec { padding-top: clamp(16px, 2vw, 32px); }
.proj-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: clamp(12px, 1.6vw, 24px); }
.proj-shot { display: block; overflow: hidden; aspect-ratio: 2 / 3; cursor: zoom-in; background: var(--surface); }
.proj-shot.is-wide { grid-column: span 2; aspect-ratio: auto; }
.proj-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj-shot:hover img { transform: scale(1.02); }
.proj-next { display: flex; flex-direction: column; align-items: flex-end; margin-top: clamp(56px, 7vw, 104px); padding-top: 32px; border-top: 1px solid var(--ink); text-decoration: none; }
.proj-next .eyebrow { margin-bottom: 8px; }
.proj-next-name { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 64px); line-height: 1; }
.proj-next-name::after { content: ' →'; font-family: var(--sans); font-size: .5em; }
.proj-next:hover .proj-next-name { color: var(--accent-2); }
.lightbox-dark { background: #0f0e0d; width: 100vw; height: 100vh; max-width: none; max-height: none; }
.lightbox-dark img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.lightbox-dark .icon-btn { position: absolute; color: var(--on-dark); background: rgba(255, 255, 255, .08); z-index: 1; }
.lightbox-dark .icon-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
[data-enter] .proj-head > *, [data-enter] .proj-cover { animation: enter-up .9s var(--ease) both; }
[data-enter] .proj-head > :nth-child(2) { animation-delay: .12s; }
[data-enter] .proj-cover { animation-delay: .22s; }

/* About */
.about-hero { padding-top: calc(var(--header-h) + 56px); padding-bottom: 40px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; min-height: calc(100svh - var(--header-h) - 96px); }
.about-photo { aspect-ratio: 4 / 5; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--ink); }
.fact-grid > div { padding: 28px 28px 0 0; }
.fact-grid > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.fact-grid h3 { font-family: var(--serif); font-size: 30px; line-height: 1.1; margin-bottom: 12px; }
.fact-grid p { color: var(--ink-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding-top: 40px; align-items: start; }
.contact-grid .contact-lines { margin-top: 40px; }
.contact-photo { margin-top: 40px; aspect-ratio: 3 / 2; overflow: hidden; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-card { background: var(--plate); padding: clamp(24px, 4vw, 48px); }
.contact-card .h3 { margin-top: 0; }

/* Forms */
.inq-form { display: grid; gap: 16px; margin-top: 24px; }
.inq-form h3 { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--plate); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.has-error input { border-color: #a3402e; }
.field-error { font-size: 13px; color: #a3402e; }
.form-error { font-size: 14px; color: #a3402e; }
.drawer-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.drawer-note { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Drawer */
.scrim { position: fixed; inset: 0; background: rgba(20, 18, 16, .45); z-index: 60; opacity: 0; transition: opacity .3s; }
.scrim.is-on { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: var(--bg); z-index: 61; display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s linear .45s; }
.drawer.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; box-shadow: -20px 0 50px -30px rgba(0, 0, 0, .4); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--serif); font-size: 32px; }
.drawer-body { overflow-y: auto; padding: 24px; flex: 1; }
.drawer-empty { color: var(--muted); }
.inq-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.inq-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: start; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.inq-item img { width: 72px; height: 54px; object-fit: contain; background: var(--plate); padding: 4px; }
.inq-model { font-family: var(--serif); font-size: 22px; line-height: 1.1; text-decoration: none; }
.inq-name { font-size: 13px; color: var(--muted); }
.inq-fields { display: grid; grid-template-columns: 76px 1fr; gap: 8px; margin-top: 8px; }
.inq-fields input { min-height: 44px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--plate); font-size: 14px; width: 100%; }
.inq-remove { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; font-size: 22px; color: var(--muted); border-radius: 50%; }
.inq-remove:hover { background: var(--surface); color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--on-dark); padding: 12px 20px; border-radius: var(--radius); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); z-index: 70; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark); padding-top: 80px; }
.close-band + .site-footer, main:has(> .close-band:last-child) + .site-footer { border-top: 1px solid rgba(244, 241, 235, .12); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 64px; }
.footer-line { margin-top: 16px; color: var(--on-dark-muted); max-width: 22em; }
.footer-h { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-list a { text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-list a:hover { color: #d9b98c; }
.footer-list li { color: var(--on-dark); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid rgba(244, 241, 235, .12); font-size: 14px; color: var(--on-dark-muted); }
.footer-base a { text-decoration: none; color: var(--on-dark); }
.footer-base a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1100px) {
  .grid, .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .steps, .fact-grid { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3), .fact-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li, .fact-grid > div { padding-bottom: 32px; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .cats-grid, .statement-grid, .close-grid, .pdp-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cat-stage { display: none; }
  .cat-row.is-on:not(:hover) { padding-left: 0; color: inherit; }
  .gallery { position: static; }
  .room-grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .room, .room-wide { grid-row: auto; aspect-ratio: 4 / 3; }
  .statement-photo, .about-photo { aspect-ratio: 4 / 3; }
  .about-grid { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .toolbar { position: static; }
  .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .chip { white-space: nowrap; flex: none; }
  .search, .search input { width: 100%; }
  .proj-grid-3 { grid-template-columns: 1fr; }
  .proj-grid-3 .proj-photo { aspect-ratio: 3 / 2; }
  .proj-head { grid-template-columns: 1fr; }
  .proj-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid, .grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rail { grid-auto-columns: 72%; }
  .steps, .fact-grid { grid-template-columns: 1fr; }
  .steps li + li, .fact-grid > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .steps li, .fact-grid > div { padding: 24px 0; }
  .step-n { margin-bottom: 12px; }
  .card-meta { padding: 2px 12px 58px; }
  .plate { padding: 5%; }
  .card-model { font-size: 20px; }
  .add { left: 6px; bottom: 6px; padding-right: 8px; }
  .add-label { font-size: 13px; }
  .hero-actions .btn, .pdp-actions .btn, .close-actions .btn, .drawer-actions .btn { width: 100%; }
  .btn-inquiry { padding: 0 12px; }
  .btn-inquiry { font-size: 0; gap: 0; }
  .btn-inquiry::before { content: 'List'; font-size: 14px; margin-right: 8px; }
  .lede { font-size: 17px; }
  .hero-lede { font-size: 17px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(20, 18, 16, .45) 0%, rgba(20, 18, 16, .1) 18%, rgba(20, 18, 16, .35) 40%, rgba(20, 18, 16, .78) 70%, rgba(20, 18, 16, .85) 100%); }
  .hero-media img { object-position: 30% 50%; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .contact-lines li { grid-template-columns: 1fr; gap: 2px; }
  .footer-base { flex-direction: column; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-gallery { grid-template-columns: 1fr; }
  .proj-shot.is-wide { grid-column: auto; }
  .proj-shot { aspect-ratio: auto; }
  .proj-cover { aspect-ratio: 4 / 3; }
  .proj-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-enter] * { animation: none !important; }
}
