/* ==========================================================================
   Fahad Marble & Granite â€” main stylesheet
   1. Tokens & base        6. Home sections        11. Projects
   2. Layout & type        7. Product card         12. Services / About
   3. Components           8. Catalogue            13. Contact / Quote / FAQ / Prose
   4. Header & menus       9. Product detail       14. Footer & floating contact
   5. Page hero           10. Drawer & lightbox    15. Motion & responsive
   ========================================================================== */

/* 1. Tokens & base ------------------------------------------------------- */
:root {
    --c-bg: #f4f1eb;
    --c-bg-alt: #ebe6dc;
    --c-paper: #faf8f4;
    --c-ink: #1a1917;
    --c-ink-2: #3a3732;
    --c-muted: #6f6a62;
    --c-line: rgba(26, 25, 23, .14);
    --c-line-strong: rgba(26, 25, 23, .32);
    --c-gold: #a47e3b;
    --c-gold-deep: #86652c;
    --c-dark: #151413;
    --c-dark-2: #1e1d1b;
    --c-on-dark: #f1ede6;
    --c-on-dark-muted: rgba(241, 237, 230, .62);
    --c-line-dark: rgba(241, 237, 230, .16);
    --c-error: #9b3b2a;
    --c-success: #3f5a3c;

    --f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
    --f-body: "Jost", "Helvetica Neue", Arial, sans-serif;

    --gutter: clamp(20px, 4vw, 64px);
    --max: 1480px;
    --header-h: 92px;
    --section: clamp(5rem, 10vw, 10rem);
    --ease: cubic-bezier(.22, .61, .2, 1);
    --ease-in-out: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--c-bg);
    color: var(--c-ink);
    font-family: var(--f-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; font-family: var(--f-display); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--c-ink); color: var(--c-bg); }
:focus-visible { outline: 1px solid var(--c-gold); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link {
    position: fixed; top: 8px; left: 8px; z-index: 1000;
    padding: .6rem 1rem; background: var(--c-ink); color: var(--c-bg);
    transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 2. Layout & type ------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-dark); color: var(--c-on-dark); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .9rem;
    margin: 0 0 1.4rem;
    font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
    color: var(--c-muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--c-gold); }
.eyebrow--light { color: var(--c-on-dark-muted); }

.display-1, .display-2, .hero__title, .page-hero__title {
    font-family: var(--f-display);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.012em;
}
.display-2 { font-size: clamp(2.5rem, 4.6vw, 4.6rem); line-height: 1.02; }
.display-2 em, .page-hero__title em, .hero__title em { font-style: italic; font-weight: 300; }
h3 { font-family: var(--f-display); font-weight: 400; }

.prose { color: var(--c-ink-2); max-width: 64ch; }
.prose--lead { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.75; }
.prose h2 { font-family: var(--f-display); font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin: 2.8rem 0 1rem; color: var(--c-ink); line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 1.4rem; margin-bottom: .45rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: .8em; width: .6rem; height: 1px; background: var(--c-gold); }
.prose a { border-bottom: 1px solid var(--c-line-strong); }

.section-head {
    display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem var(--gutter);
    align-items: end; margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.section-head > :first-child { grid-column: 1 / 8; }
.section-head__aside { grid-column: 9 / 13; color: var(--c-muted); }
.section-head__aside p { margin-bottom: 1.2rem; }

/* 3. Components ---------------------------------------------------------- */
.btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
    min-height: 54px; padding: 0 1.75rem;
    font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
    border: 1px solid currentColor; white-space: nowrap;
    transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    transform: scaleY(0); transform-origin: bottom;
    transition: transform .5s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn .icon { transition: transform .45s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--dark { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.btn--dark::before { background: var(--c-gold-deep); }
.btn--dark:hover { border-color: var(--c-gold-deep); }
.btn--outline { color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--outline::before { background: var(--c-ink); }
.btn--outline:hover { color: var(--c-bg); border-color: var(--c-ink); }
.btn--light { background: var(--c-on-dark); color: var(--c-ink); border-color: var(--c-on-dark); }
.btn--light::before { background: #fff; }
.btn--ghost-light { color: var(--c-on-dark); border-color: rgba(241, 237, 230, .4); }
.btn--ghost-light::before { background: var(--c-on-dark); }
.btn--ghost-light:hover { color: var(--c-ink); border-color: var(--c-on-dark); }
/* WhatsApp order button: WhatsApp green so it is instantly recognisable */
.btn--wa { background: #1f9d55; color: #fff; border-color: #1f9d55; }
.btn--wa::before { background: #17803f; }
.btn--wa:hover { border-color: #17803f; }
.btn--wa .icon { width: 18px; height: 18px; }
.product-card { min-width: 0; }
.product-card__wa { margin-top: 1rem; white-space: normal; text-align: center; line-height: 1.3; padding: .5rem .8rem; }
.btn--small { min-height: 40px; padding: 0 1.1rem; font-size: .7rem; letter-spacing: .16em; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
    color: var(--c-ink); padding-bottom: .35rem;
    background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
    transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 0 1px; background-position: right bottom; }
.link-arrow .icon { transition: transform .45s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }
.link-arrow--light { color: var(--c-on-dark); }
.link-quiet {
    font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted);
    transition: color .3s;
}
.link-quiet:hover { color: var(--c-ink); }

.icon-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border-radius: 50%; transition: background-color .3s;
}
.icon-btn:hover { background: rgba(26, 25, 23, .06); }
.icon-btn .icon { width: 20px; height: 20px; }

.img-placeholder {
    display: block; width: 100%; height: 100%; min-height: 200px;
    background: linear-gradient(135deg, #e6e0d5, #d9d2c5);
}

.breadcrumbs { margin-bottom: 2rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--c-line-strong); }
.breadcrumbs a:hover { color: var(--c-ink); }
.breadcrumbs [aria-current] { color: var(--c-ink); }

/* Forms */
.form { display: grid; gap: 1.6rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.field { display: grid; gap: .35rem; position: relative; }
.field label { font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
.field__opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%; padding: .7rem 0; border: 0; border-bottom: 1px solid var(--c-line-strong);
    background: transparent; border-radius: 0; font-size: 1rem; outline: none;
    transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.field select {
    appearance: none; -webkit-appearance: none; padding-right: 1.6rem; cursor: pointer;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231a1917' stroke-width='1.2'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") right .2rem center no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--c-ink); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-bottom-color: var(--c-error); }
.field__error { font-size: .8rem; color: var(--c-error); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-top: .4rem; }
.form__note { font-size: .82rem; color: var(--c-muted); }
.form__note a { border-bottom: 1px solid var(--c-line-strong); }
.form__error { padding: .9rem 1rem; border-left: 2px solid var(--c-error); background: rgba(155, 59, 42, .06); color: var(--c-error); font-size: .9rem; }
.notice { padding: 1.4rem 1.6rem; border-left: 2px solid var(--c-gold); background: var(--c-paper); }
.notice--success { border-left-color: var(--c-success); }
.notice h3 { font-size: 1.6rem; margin-bottom: .4rem; }

/* 4. Header & menus ------------------------------------------------------ */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100;
    height: var(--header-h);
    transition: height .45s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.site-header::after {
    content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px;
    background: var(--c-line); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.site-header.is-scrolled { --header-h: 70px; background: rgba(244, 241, 235, .97); }
.site-header.is-scrolled::after { transform: scaleX(1); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.site-header__logo { flex: none; margin-right: auto; }
.site-header__logo img { height: 48px; width: auto; transition: height .45s var(--ease); }
.site-header.is-scrolled .site-header__logo img { height: 40px; }

.site-nav__list { display: flex; gap: clamp(1.2rem, 2.2vw, 2.4rem); }
.site-nav__link {
    position: relative; display: block; padding: .6rem 0;
    font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.site-nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.site-header__actions { display: flex; align-items: center; gap: .9rem; }
.site-header__wa .icon { width: 16px; height: 16px; }

/* Products panel */
.nav-panel {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    background: var(--c-paper); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.has-panel:hover .nav-panel, .has-panel:focus-within .nav-panel, .nav-panel.is-open {
    opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.nav-panel__inner { display: grid; grid-template-columns: 3fr 5fr 4fr; gap: var(--gutter); padding-block: 3rem; }
.nav-panel__intro { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.nav-panel__list a {
    display: grid; grid-template-columns: 3rem 1fr auto; align-items: baseline;
    padding: .7rem 0; border-bottom: 1px solid var(--c-line);
    transition: padding .4s var(--ease), color .3s;
}
.nav-panel__list li:first-child a { border-top: 1px solid var(--c-line); }
.nav-panel__list a:hover { padding-left: .6rem; }
.nav-panel__num, .nav-panel__count { font-size: .72rem; letter-spacing: .12em; color: var(--c-muted); }
.nav-panel__name { font-family: var(--f-display); font-size: 1.9rem; line-height: 1.2; }
.nav-panel__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg-alt); }
.nav-panel__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span {
    position: absolute; left: 11px; right: 11px; height: 1px; background: var(--c-ink);
    transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 90; background: var(--c-bg);
    padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem; overflow-y: auto;
}
.mobile-menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
.mobile-menu__list a {
    display: flex; align-items: baseline; gap: 1.2rem; padding: .55rem 0;
    font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 300; line-height: 1.1;
    border-bottom: 1px solid var(--c-line);
}
.mobile-menu__list a[aria-current] { font-style: italic; }
.mobile-menu__num { font-family: var(--f-body); font-size: .7rem; letter-spacing: .14em; color: var(--c-gold); }
.mobile-menu__footer { display: grid; gap: .8rem; font-size: .95rem; }
.mobile-menu__footer a { display: inline-flex; align-items: center; gap: .7rem; }
.menu-open { overflow: hidden; }

.search-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(244, 241, 235, .985); overflow-y: auto; }
.search-overlay__inner { padding-top: 14vh; padding-bottom: 4rem; position: relative; }
.search-overlay__close { position: absolute; top: 1.4rem; right: var(--gutter); }
.search-overlay__field { display: flex; align-items: center; border-bottom: 1px solid var(--c-ink); }
.search-overlay__field input {
    flex: 1; min-width: 0; padding: .8rem 0; border: 0; background: transparent; outline: none;
    font-family: var(--f-display); font-size: clamp(2rem, 5vw, 4rem); font-weight: 300;
}
.search-overlay__field input::-webkit-search-cancel-button { display: none; }
.search-overlay__field button .icon { width: 32px; height: 32px; }
.search-overlay__results { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem 2rem; }
.search-hit { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--c-line); }
.search-hit img { width: 72px; height: 72px; object-fit: cover; background: var(--c-bg-alt); }
.search-hit strong { display: block; font-family: var(--f-display); font-size: 1.35rem; font-weight: 400; line-height: 1.2; }
.search-hit span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.search-overlay__all { grid-column: 1 / -1; }

/* 5. Page hero (inner pages) --------------------------------------------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); align-items: end; }
.page-hero__text { grid-column: 1 / 9; }
.page-hero--split .page-hero__text { grid-column: 1 / 7; align-self: center; }
.page-hero__title { font-size: clamp(3rem, 7vw, 6.6rem); line-height: .98; margin-bottom: 1.6rem; }
.page-hero__intro { max-width: 46ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--c-ink-2); }
.page-hero__meta { margin-top: 2rem; }
.page-hero__media { grid-column: 7 / 13; margin: 0; aspect-ratio: 5 / 4; overflow: hidden; background: var(--c-bg-alt); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* 6. Home sections ------------------------------------------------------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3.5rem)); min-height: 100svh; display: flex; flex-direction: column; }
.hero__grid { flex: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); align-items: center; }
.hero__text { grid-column: 1 / 7; position: relative; z-index: 2; padding-bottom: 2rem; }
.hero__title { font-size: clamp(3.4rem, 7.2vw, 7.6rem); line-height: .92; margin-bottom: 1.6rem; }
.hero__title em { color: var(--c-gold); }
.hero__subtitle { font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.25; margin-bottom: 1.3rem; color: var(--c-ink-2); }
.hero__lead { max-width: 42ch; color: var(--c-muted); margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__visual { grid-column: 7 / 13; position: relative; align-self: stretch; display: flex; align-items: center; }
.hero__media { margin: 0; width: 100%; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 8rem); overflow: hidden; background: var(--c-bg-alt); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.hero__inset {
    position: absolute; left: clamp(-11rem, -12vw, -5rem); bottom: 6%; z-index: 3; margin: 0;
    width: clamp(130px, 12.5vw, 205px);
}
.hero__inset video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border: 6px solid var(--c-bg); background: var(--c-bg-alt); }
.hero__inset figcaption { margin-top: .5rem; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); }
.hero__index {
    display: flex; align-items: center; gap: 2rem; padding-top: 1.6rem; padding-bottom: 1.6rem; margin-top: 1.5rem;
    border-top: 1px solid var(--c-line); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
}
.hero__index-label { color: var(--c-gold); }
.hero__index ul { display: flex; flex-wrap: wrap; gap: .4rem 2rem; flex: 1; }
.hero__index a { color: var(--c-ink-2); transition: color .3s; }
.hero__index a:hover { color: var(--c-ink); }
.hero__scroll { color: var(--c-muted); display: inline-flex; align-items: center; gap: .8rem; }
.hero__scroll::after { content: ""; width: 1px; height: 28px; background: var(--c-line-strong); animation: scrollcue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Intro */
.intro__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); margin-bottom: clamp(3rem, 6vw, 6rem); }
.intro__head .eyebrow { grid-column: 1 / 4; padding-top: 1rem; }
.intro__title { grid-column: 4 / 12; }
.intro__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); align-items: start; }
.intro__img { margin: 0; overflow: hidden; background: var(--c-bg-alt); }
.intro__img img { width: 100%; height: 100%; object-fit: cover; }
.intro__img--main { grid-column: 1 / 6; grid-row: 1 / span 2; aspect-ratio: 4 / 5; }
.intro__text { grid-column: 7 / 12; grid-row: 1; padding-top: 2rem; }
.intro__text .prose { margin-bottom: 2.2rem; }
.intro__img--secondary { grid-column: 9 / 13; grid-row: 2; aspect-ratio: 3 / 4; margin-top: 1rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 var(--gutter); margin: clamp(4rem, 8vw, 7rem) 0 0; }
.facts--3 { grid-template-columns: repeat(3, 1fr); }
.facts--2 { grid-template-columns: repeat(2, 1fr); }
.facts--1 { grid-template-columns: 1fr; }
.facts__item { border-top: 1px solid var(--c-line-strong); padding-top: 1.4rem; }
.facts__value { font-family: var(--f-display); font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 300; line-height: 1; margin-bottom: .8rem; }
.facts__label { margin: 0; font-size: .82rem; color: var(--c-muted); max-width: 24ch; }

/* Collections */
.collections__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.collections__grid--3 { grid-template-columns: repeat(3, 1fr); }
.collections__grid--2 { grid-template-columns: repeat(2, 1fr); }
.collection-card { display: block; }
.collection-card:nth-child(even) { margin-top: clamp(2rem, 6vw, 6rem); }
.collection-card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--c-bg); }
.collection-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform 1.4s var(--ease); }
.collection-card__media::after { content: ""; position: absolute; inset: 0; background: rgba(21, 20, 19, .18); opacity: 0; transition: opacity .6s var(--ease); }
.collection-card:hover .collection-card__media img { transform: scale(1.07); }
.collection-card:hover .collection-card__media::after { opacity: 1; }
.collection-card__body { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "num title arrow" "num count arrow"; gap: 0 1rem; align-items: baseline; padding-top: 1.2rem; }
.collection-card__num { grid-area: num; font-size: .72rem; letter-spacing: .14em; color: var(--c-gold); }
.collection-card__title { grid-area: title; font-size: clamp(1.7rem, 2.3vw, 2.3rem); line-height: 1.1; transition: transform .6s var(--ease); }
.collection-card__count { grid-area: count; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.collection-card__arrow { grid-area: arrow; align-self: center; overflow: hidden; width: 1.4rem; }
.collection-card__arrow .icon { transform: translateX(-120%); transition: transform .6s var(--ease); }
.collection-card:hover .collection-card__title { transform: translateX(.5rem); }
.collection-card:hover .collection-card__arrow .icon { transform: none; }

/* Applications (dark) */
.applications { position: relative; overflow: hidden; }
.applications__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--gutter); }
.applications__head { grid-column: 1 / 5; align-self: start; position: sticky; top: calc(var(--header-h) + 2rem); }
.applications__head .display-2 { margin-bottom: 2.4rem; }
.applications__list { grid-column: 6 / 13; border-top: 1px solid var(--c-line-dark); }
.applications__list a {
    position: relative; z-index: 2; display: grid; grid-template-columns: 3.4rem 1fr auto auto; align-items: center; gap: 1rem;
    padding: 1.5rem 0; border-bottom: 1px solid var(--c-line-dark); color: var(--c-on-dark-muted);
    transition: color .4s var(--ease), padding .5s var(--ease);
}
.applications__list a:hover { color: var(--c-on-dark); padding-left: 1rem; }
.applications__num { font-size: .72rem; letter-spacing: .14em; color: var(--c-gold); }
.applications__name { font-family: var(--f-display); font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 300; line-height: 1.05; }
.applications__thumb { display: none; width: 56px; height: 56px; overflow: hidden; }
.applications__thumb img { width: 100%; height: 100%; object-fit: cover; }
.applications__arrow .icon { width: 26px; height: 26px; transition: transform .5s var(--ease); }
.applications__list a:hover .applications__arrow .icon { transform: rotate(45deg); }
.applications__float {
    position: absolute; top: 0; left: 0; z-index: 1; width: 300px; aspect-ratio: 4 / 5; pointer-events: none; overflow: hidden;
    opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .35s var(--ease);
}
.applications__float.is-visible { opacity: 1; }
.applications__float img { width: 100%; height: 100%; object-fit: cover; }

/* Yard: film + process */
.yard__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--gutter); align-items: center; }
.yard__film { grid-column: 1 / 6; }
.yard__text { grid-column: 7 / 13; }
.yard__lead { color: var(--c-muted); max-width: 46ch; margin: 1.6rem 0 2.6rem; }
.film { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-dark); }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film__play {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
    color: var(--c-on-dark); background: linear-gradient(to top, rgba(21, 20, 19, .45), rgba(21, 20, 19, .05));
    font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; transition: background-color .4s;
}
.film__play .icon { width: 84px; height: 84px; padding: 28px; border-radius: 50%; border: 1px solid rgba(241, 237, 230, .6); transition: transform .6s var(--ease), background-color .4s; }
.film__play:hover .icon { transform: scale(1.08); background: rgba(241, 237, 230, .12); }
.film.is-playing .film__play { opacity: 0; pointer-events: none; }
.steps { border-top: 1px solid var(--c-line); }
.steps__item { display: grid; grid-template-columns: 3.4rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--c-line); }
.steps__num { font-size: .72rem; letter-spacing: .14em; color: var(--c-gold); padding-top: .5rem; }
.steps__title { font-size: 1.6rem; line-height: 1.2; margin-bottom: .3rem; }
.steps p { color: var(--c-muted); font-size: .95rem; }

/* Feature projects */
.feature-project { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); align-items: center; }
.feature-project + .feature-project { margin-top: clamp(4rem, 8vw, 8rem); }
.feature-project__media { grid-column: 1 / 8; aspect-ratio: 4 / 3; overflow: hidden; display: block; background: var(--c-bg); }
.feature-project__media { position: relative; }
.feature-project__body { grid-column: 9 / 13; }
.feature-project--reverse .feature-project__media { grid-column: 6 / 13; order: 2; }
.feature-project--reverse .feature-project__body { grid-column: 1 / 5; order: 1; }
.feature-project__title { font-size: clamp(2rem, 3vw, 2.9rem); line-height: 1.08; margin-bottom: 1.2rem; }
.feature-project__body > p:not(.eyebrow) { color: var(--c-muted); }
.feature-project__materials { font-size: .9rem; margin: 1.2rem 0 2rem; }
.feature-project__materials span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold); margin-right: .6rem; }

/* CTA band */
.cta-band { position: relative; color: var(--c-on-dark); overflow: hidden; background: var(--c-dark); }
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { opacity: .75; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 20, 19, .88) 0%, rgba(21, 20, 19, .62) 45%, rgba(21, 20, 19, .25) 100%); }
.cta-band__inner { position: relative; padding-block: clamp(6rem, 13vw, 12rem); }
.cta-band__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: 1; max-width: 14ch; margin-bottom: 1.6rem; }
.cta-band__title em { font-style: italic; }
.cta-band__text { max-width: 46ch; color: var(--c-on-dark-muted); margin-bottom: 2.6rem; font-size: 1.05rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* 7. Product card -------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem) clamp(1.2rem, 2.4vw, 2.4rem); }
.product-card { display: flex; flex-direction: column; }
.product-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-bg-alt); }
.product-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .7s var(--ease); }
.product-card__img--hover { opacity: 0; }
.product-card:hover .product-card__img { transform: scale(1.045); }
.product-card:hover .product-card__img--hover { opacity: 1; }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 1.3rem; }
.product-card__cat { margin-bottom: .45rem; font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--c-gold-deep); }
.product-card__title { font-size: clamp(1.55rem, 2vw, 1.95rem); line-height: 1.12; margin-bottom: .6rem; }
.product-card__title a { background: linear-gradient(currentColor, currentColor) left 92% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.product-card__title a:hover { background-size: 100% 1px; }
.product-card__desc { color: var(--c-muted); font-size: .94rem; line-height: 1.6; margin-bottom: .8rem; }
.product-card__meta { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 1.2rem; }
.product-card__actions { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--c-line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }

/* 8. Catalogue ----------------------------------------------------------- */
.catalog { padding-bottom: var(--section); }
.catalog__layout { display: grid; grid-template-columns: minmax(220px, 3fr) 9fr; gap: 3rem var(--gutter); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 1.5rem); max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto; padding-right: .5rem; scrollbar-width: thin; }
.filters__head { display: none; }
.filters__group { padding: 1.3rem 0; border-top: 1px solid var(--c-line); }
.filters__group:first-of-type { border-top: 0; padding-top: 0; }
.filters__title { font-family: var(--f-body); font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .8rem; }
.filters__search { display: flex; align-items: center; border-bottom: 1px solid var(--c-line-strong); }
.filters__search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .6rem 0; outline: none; }
.filters__search button { padding: .4rem; }
.filters__list a, .filters__list label {
    display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .32rem 0;
    color: var(--c-ink-2); cursor: pointer; font-size: .95rem; transition: color .3s;
}
.filters__list a::before, .filters__list label::before {
    content: ""; flex: none; width: 7px; height: 7px; border: 1px solid var(--c-line-strong); border-radius: 50%; transition: background-color .3s, border-color .3s;
}
.filters__list a span:first-child, .filters__list label span:first-child { flex: 1; }
.filters__list .is-active, .filters__list input:checked + label { color: var(--c-ink); }
.filters__list .is-active::before, .filters__list input:checked + label::before { background: var(--c-ink); border-color: var(--c-ink); }
.filters__list a:hover, .filters__list label:hover { color: var(--c-ink); }
.filters__list input { position: absolute; opacity: 0; pointer-events: none; }
.filters__count { font-size: .75rem; color: var(--c-muted); }
.filters__clear { margin-top: 1rem; }
.filters__submit { display: none; }
.catalog__toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1.4rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--c-line); }
.catalog__count { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.catalog__count strong { color: var(--c-ink); font-weight: 500; }
.catalog__sort { display: flex; align-items: center; gap: .8rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.catalog__sort select { appearance: none; -webkit-appearance: none; border: 0; border-bottom: 1px solid var(--c-line-strong); background: transparent; padding: .3rem 1.4rem .3rem 0; font-size: .9rem; letter-spacing: 0; text-transform: none; color: var(--c-ink); cursor: pointer;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231a1917' stroke-width='1.2'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") right .1rem center no-repeat; }
.catalog__filter-btn { display: none; }
.catalog__active { display: flex; flex-wrap: wrap; gap: .5rem; margin: -1.2rem 0 2rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border: 1px solid var(--c-line-strong); font-size: .78rem; transition: background-color .3s, color .3s; }
.chip:hover { background: var(--c-ink); color: var(--c-bg); }
.chip .icon { width: 12px; height: 12px; }
.catalog__results { transition: opacity .35s var(--ease); }
.catalog__results.is-loading { opacity: .35; pointer-events: none; }
.catalog .product-grid { grid-template-columns: repeat(3, 1fr); }
.empty-state { padding: 4rem 0; text-align: left; max-width: 46ch; }
.empty-state h2 { font-family: var(--f-display); font-size: 2.4rem; font-weight: 300; margin-bottom: 1rem; }
.empty-state p { color: var(--c-muted); margin-bottom: 1.6rem; }

.category-intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); margin-bottom: 3rem; }

.pagination { display: flex; justify-content: center; align-items: center; gap: .3rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--c-line); }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .6rem; font-family: var(--f-display); font-size: 1.3rem; color: var(--c-muted); transition: color .3s; }
.pagination a:hover { color: var(--c-ink); }
.pagination [aria-current] { color: var(--c-ink); border-bottom: 1px solid var(--c-ink); }
.pagination__step { font-family: var(--f-body) !important; font-size: .72rem !important; letter-spacing: .16em; text-transform: uppercase; }

/* 9. Product detail ------------------------------------------------------ */
.product { padding-top: calc(var(--header-h) + 2rem); }
.product__layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--gutter); align-items: start; }
.product__gallery { grid-column: 1 / 8; }
.product__info { grid-column: 8 / 13; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.gallery__main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-bg-alt); cursor: zoom-in; }
.gallery__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.gallery__slide.is-active { opacity: 1; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__counter { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; padding: .3rem .7rem; background: rgba(244, 241, 235, .9); font-size: .72rem; letter-spacing: .12em; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; margin-top: .6rem; }
.gallery__thumb { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--c-bg-alt); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .4s; }
.gallery__thumb:hover img, .gallery__thumb.is-active img { opacity: 1; }
.gallery__thumb.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--c-ink); }
.product__cat { display: inline-block; margin-bottom: 1rem; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--c-gold-deep); }
.product__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.6rem, 4.4vw, 4.4rem); line-height: 1; margin-bottom: 1.4rem; }
.product__lead { font-size: 1.08rem; color: var(--c-ink-2); margin-bottom: 1.8rem; }
.product__price { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; border-top: 1px solid var(--c-line-strong); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.product__price strong { font-family: var(--f-display); font-size: 1.5rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--c-ink); }
.attr-list { margin: 0 0 2rem; border-top: 1px solid var(--c-line); }
.attr-list div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--c-line); font-size: .95rem; }
.attr-list dt { font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); padding-top: .2rem; }
.attr-list dd { margin: 0; }
.product__actions { display: grid; gap: .8rem; }
.product__note { margin-top: 1.4rem; font-size: .85rem; color: var(--c-muted); }
.product__details { margin-top: clamp(4rem, 8vw, 7rem); }
.detail-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem var(--gutter); padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--c-line-strong); }
.detail-row__label { grid-column: 1 / 4; font-family: var(--f-display); font-size: 1.7rem; line-height: 1.2; }
.detail-row__body { grid-column: 5 / 12; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: .85rem 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.spec-table th { width: 38%; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); padding-right: 1rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.tag-list a, .tag-list span { padding: .45rem .9rem; border: 1px solid var(--c-line-strong); font-size: .85rem; transition: background-color .3s, color .3s; }
.tag-list a:hover { background: var(--c-ink); color: var(--c-bg); }
.size-list li { padding: .7rem 0; border-bottom: 1px solid var(--c-line); }
.related { padding-block: var(--section); }
.related .product-grid { grid-template-columns: repeat(4, 1fr); }
.mobile-actions { display: none; }

/* 10. Drawer & lightbox -------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 300; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(21, 20, 19, .5); opacity: 0; transition: opacity .5s var(--ease); }
.drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(600px, 100%);
    background: var(--c-paper); padding: clamp(2.2rem, 4vw, 3.4rem); overflow-y: auto;
    transform: translateX(100%); transition: transform .65s var(--ease-in-out);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; top: 1rem; right: 1rem; }
.drawer__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1.05; margin-bottom: 2rem; }
.drawer__title em { font-style: italic; }
.drawer__product { display: flex; align-items: center; gap: 1rem; padding: .8rem; margin-bottom: 2rem; background: var(--c-bg); }
.drawer__product img { width: 64px; height: 64px; object-fit: cover; }
.drawer__product-label { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
.drawer__product strong { font-family: var(--f-display); font-size: 1.4rem; font-weight: 400; }
.drawer__success p { color: var(--c-ink-2); margin-bottom: 1.4rem; }
.drawer-open { overflow: hidden; }

.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(21, 20, 19, .96); display: grid; place-items: center; padding: 4rem 1rem; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; color: var(--c-on-dark); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 1rem; }
.lightbox__prev .icon { transform: rotate(180deg); }
.lightbox__next { right: 1rem; }
.lightbox .icon-btn:hover { background: rgba(241, 237, 230, .1); }

/* 11. Projects ----------------------------------------------------------- */
.project-filter { display: flex; gap: 2rem; overflow-x: auto; margin-bottom: clamp(2.5rem, 5vw, 4rem); padding-bottom: 1rem; border-bottom: 1px solid var(--c-line); scrollbar-width: none; }
.project-filter::-webkit-scrollbar { display: none; }
.project-filter a { flex: none; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); padding-bottom: .3rem; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.project-filter a:hover { color: var(--c-ink); }
.project-filter a[aria-current] { color: var(--c-ink); border-bottom-color: var(--c-ink); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 4vw, 4rem); padding-bottom: var(--section); }
.project-card:nth-child(even) { margin-top: clamp(3rem, 10vw, 9rem); }
.project-card__media { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--c-bg-alt); }
.project-card:nth-child(4n+2) .project-card__media, .project-card:nth-child(4n+3) .project-card__media { aspect-ratio: 4 / 3; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.045); }
.project-card__body { display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; padding-top: 1.3rem; }
.project-card__meta { grid-column: 1 / -1; font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--c-gold-deep); }
.project-card__title { font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.08; }
.project-card__summary { grid-column: 1 / -1; color: var(--c-muted); max-width: 52ch; }
.project-card__arrow { align-self: center; transition: transform .5s var(--ease); }
.project-card:hover .project-card__arrow { transform: translateX(6px); }

.project-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); }
.project-hero__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(3rem, 7vw, 6.4rem); line-height: .98; max-width: 16ch; margin-bottom: 2.5rem; }
.project-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 var(--gutter); margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.project-meta div { border-top: 1px solid var(--c-line-strong); padding-top: 1rem; }
.project-meta dt { font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .3rem; }
.project-meta dd { margin: 0; font-family: var(--f-display); font-size: 1.35rem; line-height: 1.3; }
.project-cover { margin: 0; overflow: hidden; aspect-ratio: 16 / 9; max-height: 88vh; width: 100%; background: var(--c-bg-alt); }
.project-cover { position: relative; }
.project-cover img { width: 100%; height: 100%; object-fit: cover; }
.project-body { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); padding-block: clamp(4rem, 8vw, 7rem); }
.project-body__lead { grid-column: 1 / 6; font-family: var(--f-display); font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.2; font-weight: 300; }
.project-body__text { grid-column: 7 / 12; }
.project-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 2rem); padding-bottom: var(--section); }
.project-gallery__item { margin: 0; overflow: hidden; background: var(--c-bg-alt); cursor: zoom-in; grid-column: span 6; aspect-ratio: 4 / 3; }
.project-gallery__item:nth-child(3n+1) { grid-column: span 12; aspect-ratio: 16 / 9; }
.project-gallery__item:nth-child(3n+2) { grid-column: 1 / 6; aspect-ratio: 4 / 5; }
.project-gallery__item:nth-child(3n) { grid-column: 7 / 13; aspect-ratio: 4 / 5; margin-top: 6rem; }
.project-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.project-gallery__item:hover img { transform: scale(1.03); }
.project-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--c-line-strong); }
.project-nav a { display: block; padding: 2.4rem 0; transition: color .3s; }
.project-nav a + a { text-align: right; border-left: 1px solid var(--c-line); padding-left: 2rem; }
.project-nav span { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .5rem; }
.project-nav strong { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.1; }
.project-nav a:hover strong { font-style: italic; }

/* 12. Services / About --------------------------------------------------- */
.service-list { padding-bottom: var(--section); counter-reset: service; }
.service-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--c-line-strong); align-items: start; scroll-margin-top: calc(var(--header-h) + 1rem); }
.service-row__num { grid-column: 1 / 2; font-size: .74rem; letter-spacing: .14em; color: var(--c-gold); padding-top: .9rem; }
.service-row__text { grid-column: 2 / 7; }
.service-row__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.05; margin-bottom: 1.2rem; }
.service-row__summary { font-size: 1.1rem; color: var(--c-ink-2); margin-bottom: 1rem; }
.service-row__desc { color: var(--c-muted); }
.service-row__media { grid-column: 8 / 13; aspect-ratio: 4 / 3; overflow: hidden; margin: 0; background: var(--c-bg-alt); }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; }

.story { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); align-items: center; }
.story__media { grid-column: 1 / 6; aspect-ratio: 4 / 5; overflow: hidden; margin: 0; background: var(--c-bg-alt); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__text { grid-column: 7 / 12; }
.story__text .display-2 { margin-bottom: 2rem; }
.story--reverse .story__media { grid-column: 8 / 13; order: 2; }
.story--reverse .story__text { grid-column: 1 / 7; order: 1; }
.statements { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--c-line-dark); }
.statement { padding: clamp(2.5rem, 5vw, 4rem) clamp(0rem, 3vw, 3rem) 0 0; }
.statement + .statement { border-left: 1px solid var(--c-line-dark); padding-left: clamp(1.5rem, 4vw, 4rem); }
.statement blockquote { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.2; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem var(--gutter); }
.why-item { border-top: 1px solid var(--c-line-strong); padding-top: 1.4rem; }
.why-item__num { font-size: .72rem; letter-spacing: .14em; color: var(--c-gold); }
.why-item h3 { font-size: 1.75rem; line-height: 1.15; margin: 1.6rem 0 .8rem; }
.why-item p { color: var(--c-muted); font-size: .95rem; }
.timeline { display: grid; grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 0 1.5rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--c-line-strong); }
.timeline__step { position: relative; padding-top: 2.4rem; }
.timeline__step::before { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--c-bg); border: 1px solid var(--c-ink); }
.timeline__num { font-size: .7rem; letter-spacing: .14em; color: var(--c-gold); }
.timeline__step h3 { font-size: 1.55rem; margin: .4rem 0 .6rem; line-height: 1.15; }
.timeline__step p { color: var(--c-muted); font-size: .92rem; }

/* 13. Contact / Quote / FAQ / Prose -------------------------------------- */
.contact-layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--gutter); padding-bottom: var(--section); }
.contact-info { grid-column: 1 / 5; }
.contact-form { grid-column: 6 / 13; }
.contact-block { padding: 1.4rem 0; border-top: 1px solid var(--c-line); }
.contact-block:last-child { border-bottom: 1px solid var(--c-line); }
.contact-block dt { font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .4rem; }
.contact-block dd { margin: 0; font-family: var(--f-display); font-size: 1.5rem; line-height: 1.35; }
.contact-block a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact-block a:hover { border-bottom-color: currentColor; }
.contact-block .btn { font-family: var(--f-body); margin-top: .6rem; }
.contact-form__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.1; margin-bottom: 2rem; }
.map { position: relative; height: clamp(320px, 45vw, 520px); background: var(--c-bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) opacity(.92); transition: filter .6s var(--ease); }
.map:hover iframe { filter: none; }
.map__link { position: absolute; left: var(--gutter); bottom: 1.5rem; }

.faq-list { max-width: 900px; padding-bottom: var(--section); }
.faq-item { border-top: 1px solid var(--c-line-strong); }
.faq-item:last-child { border-bottom: 1px solid var(--c-line-strong); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.6rem 0; cursor: pointer; font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 22px; height: 22px; transition: transform .45s var(--ease); flex: none; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item__answer { padding: 0 0 1.8rem; color: var(--c-ink-2); max-width: 70ch; }

.legal { padding-bottom: var(--section); }
.legal__meta { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 3rem; }

.quote-layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem var(--gutter); padding-bottom: var(--section); }
.quote-layout__form { grid-column: 1 / 8; }
.quote-layout__aside { grid-column: 9 / 13; }
.aside-card { padding: 2rem; background: var(--c-paper); }
.aside-card h2 { font-size: 1.7rem; font-family: var(--f-display); font-weight: 400; margin-bottom: 1rem; }
.aside-card ol { counter-reset: n; display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.aside-card li { display: grid; grid-template-columns: 2rem 1fr; color: var(--c-ink-2); font-size: .95rem; }
.aside-card li::before { counter-increment: n; content: counter(n, decimal-leading-zero); font-size: .72rem; color: var(--c-gold); padding-top: .2rem; }

.search-page__form { display: flex; align-items: center; max-width: 760px; border-bottom: 1px solid var(--c-ink); margin-bottom: 3rem; }
.search-page__form input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: .6rem 0; font-family: var(--f-display); font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 300; }
.search-page__form button .icon { width: 28px; height: 28px; }
.result-group + .result-group { margin-top: 5rem; }
.result-group__title { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-line); font-family: var(--f-body); }

.error-page { min-height: 80vh; display: flex; align-items: center; padding-top: var(--header-h); }
.error-page__code { font-family: var(--f-display); font-size: clamp(6rem, 18vw, 14rem); font-weight: 300; line-height: .9; color: var(--c-bg-alt); -webkit-text-stroke: 1px var(--c-line-strong); }

/* 14. Footer & floating contact ----------------------------------------- */
.site-footer { background: var(--c-dark); color: var(--c-on-dark-muted); padding-top: clamp(4.5rem, 8vw, 7rem); font-size: .94rem; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: var(--c-on-dark); }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 3rem var(--gutter); padding-bottom: clamp(3.5rem, 6vw, 5rem); }
.site-footer__logo img { height: 52px; width: auto; margin-bottom: 1.6rem; }
.site-footer__brand p { max-width: 34ch; }
.site-footer__title { font-family: var(--f-body); font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--c-on-dark); margin-bottom: 1.3rem; }
.site-footer__title--spaced { margin-top: 2.2rem; }
.site-footer__col li + li { margin-top: .55rem; }
.site-footer__contact p { margin-bottom: .55rem; }
.site-footer__hours { margin-top: 1.2rem; font-size: .88rem; }
.site-footer__follow { margin: 1.8rem 0 .8rem; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--c-on-dark); }
.social-links { display: flex; gap: .5rem; }
.site-footer__directions { display: inline-flex; align-items: center; gap: .45rem; border-bottom: 1px solid var(--c-line-dark); padding-bottom: .15rem; }
.site-footer__directions .icon { width: 15px; height: 15px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--c-line-dark); border-radius: 50%; transition: border-color .3s, color .3s; }
.social-links a:hover { border-color: var(--c-on-dark); }
.social-links .icon { width: 17px; height: 17px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding: 1.8rem 0 2.2rem; border-top: 1px solid var(--c-line-dark); font-size: .8rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }

.float-contact { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 80; display: grid; gap: .7rem; justify-items: end; transition: opacity .4s, transform .4s var(--ease); }
.float-contact.is-tucked { opacity: 0; transform: translateY(12px); pointer-events: none; }
.float-contact__btn {
    position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    background: var(--c-ink); color: var(--c-bg); box-shadow: 0 10px 30px -12px rgba(21, 20, 19, .5);
    transition: background-color .35s var(--ease), transform .35s var(--ease);
}
.float-contact__btn:hover { background: var(--c-gold-deep); transform: translateY(-2px); }
.float-contact__btn .icon { width: 21px; height: 21px; }
.float-contact__btn--wa { width: 58px; height: 58px; background: #1f9d55; }
.float-contact__btn--wa:hover { background: #17803f; }
.float-contact__btn--wa .icon { width: 25px; height: 25px; }
.float-contact__label {
    position: absolute; right: calc(100% + .7rem); top: 50%; padding: .5rem .9rem; white-space: nowrap;
    background: var(--c-ink); color: var(--c-bg); font-size: .76rem; letter-spacing: .06em;
    opacity: 0; transform: translate(8px, -50%); pointer-events: none; transition: opacity .3s, transform .4s var(--ease);
}
.float-contact__btn:hover .float-contact__label, .float-contact__btn:focus-visible .float-contact__label { opacity: 1; transform: translate(0, -50%); }

/* Parallax images overscan their frame so movement never reveals an edge */
[data-parallax] { position: absolute; left: 0; top: -8%; width: 100%; height: 116% !important; object-fit: cover; }

/* 15. Motion states ------------------------------------------------------ */
.page-curtain { position: fixed; inset: 0; z-index: 500; background: var(--c-bg); pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); }
.is-leaving .page-curtain { opacity: 1; }
/* Hide animated elements until GSAP sets them up (removed by a 3s safety timeout) */
.motion:not(.motion-ready) [data-hero-item],
.motion:not(.motion-ready) [data-split],
.motion:not(.motion-ready) [data-hero-image],
.motion:not(.motion-ready) [data-hero-inset] { visibility: hidden; }
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line__inner { display: block; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1200px) {
    .product-grid, .catalog .product-grid { grid-template-columns: repeat(2, 1fr); }
    .related .product-grid { grid-template-columns: repeat(2, 1fr); }
    .site-header__wa span { display: none; }
    .site-header__wa { padding: 0; width: 40px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    :root { --header-h: 72px; }
    .site-header.is-scrolled { --header-h: 64px; }
    .site-nav { display: none; }
    .menu-toggle { display: block; }
    .site-header__logo img { height: 40px; }
    .site-header.is-scrolled .site-header__logo img { height: 36px; }
    .menu-open .site-header { background: var(--c-bg); }

    .section-head { grid-template-columns: 1fr; }
    .section-head > :first-child, .section-head__aside { grid-column: auto; }

    .hero { min-height: auto; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__text, .hero__visual { grid-column: auto; }
    .hero__text { padding-bottom: 0; }
    .hero__media { aspect-ratio: 4 / 4.4; max-height: none; }
    .hero__inset { left: auto; right: 1rem; bottom: -2rem; width: clamp(110px, 26vw, 170px); }
    .hero__index { margin-top: 3.5rem; flex-wrap: wrap; gap: 1rem 2rem; }
    .hero__scroll { display: none; }

    .intro__head .eyebrow, .intro__title { grid-column: 1 / -1; }
    .intro__img--main { grid-column: 1 / 9; grid-row: 1; }
    .intro__img--secondary { grid-column: 7 / 13; grid-row: 2; margin-top: -30%; }
    .intro__text { grid-column: 1 / -1; grid-row: 3; padding-top: 1rem; }
    .facts, .facts--3 { grid-template-columns: repeat(2, 1fr); gap: 2rem var(--gutter); }

    /* Collections become a swipeable rail */
    .collections__grid, .collections__grid--3, .collections__grid--2 {
        display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
        margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none;
    }
    .collections__grid::-webkit-scrollbar { display: none; }
    .collection-card { flex: 0 0 min(72vw, 360px); scroll-snap-align: start; }
    .collection-card:nth-child(even) { margin-top: 0; }

    .applications__head { grid-column: 1 / -1; position: static; }
    .applications__list { grid-column: 1 / -1; }
    .applications__thumb { display: block; }
    .applications__float { display: none; }

    .yard__film { grid-column: 1 / -1; max-width: 520px; }
    .yard__text { grid-column: 1 / -1; }

    .feature-project__media, .feature-project--reverse .feature-project__media { grid-column: 1 / -1; order: 0; }
    .feature-project__body, .feature-project--reverse .feature-project__body { grid-column: 1 / -1; order: 1; }

    .page-hero__text, .page-hero--split .page-hero__text { grid-column: 1 / -1; }
    .page-hero__media { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

    .catalog__layout { grid-template-columns: 1fr; }
    .catalog__filter-btn { display: inline-flex; }
    .filters {
        position: fixed; inset: auto 0 0 0; top: auto; z-index: 310; max-height: 85vh; padding: 1.5rem var(--gutter) 2rem;
        background: var(--c-paper); transform: translateY(100%); transition: transform .55s var(--ease-in-out); box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .3);
    }
    .filters.is-open { transform: none; }
    .filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
    .filters__head h2 { font-family: var(--f-display); font-size: 2rem; font-weight: 300; }
    .filters__submit { display: flex; margin-top: 1.4rem; }
    .filters-backdrop { position: fixed; inset: 0; z-index: 305; background: rgba(21, 20, 19, .45); }

    .product__gallery, .product__info { grid-column: 1 / -1; position: static; }
    .detail-row__label, .detail-row__body { grid-column: 1 / -1; }
    .mobile-actions {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: flex; gap: .6rem;
        padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(250, 248, 244, .97); border-top: 1px solid var(--c-line);
        transform: translateY(110%); transition: transform .45s var(--ease);
    }
    .mobile-actions.is-visible { transform: none; }
    .mobile-actions .btn { flex: 1; min-height: 48px; }
    .has-mobile-actions .float-contact { bottom: 84px; }

    .project-body__lead, .project-body__text { grid-column: 1 / -1; }
    .project-meta { grid-template-columns: repeat(2, 1fr); gap: 1.5rem var(--gutter); }

    .service-row__num { grid-column: 1 / -1; padding-top: 0; }
    .service-row__text, .service-row__media { grid-column: 1 / -1; }
    .service-row__media { order: -1; }

    .story__media, .story--reverse .story__media { grid-column: 1 / -1; order: 0; aspect-ratio: 4 / 3; }
    .story__text, .story--reverse .story__text { grid-column: 1 / -1; order: 1; }
    .timeline { grid-template-columns: 1fr; gap: 0; }
    .timeline::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
    .timeline__step { padding: 0 0 2rem 2.4rem; }

    .contact-info, .contact-form, .quote-layout__form, .quote-layout__aside { grid-column: 1 / -1; }

    .site-footer__top { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    body { font-size: .98rem; }
    .site-header__wa { display: none; }
    .hero__title { font-size: clamp(3rem, 13.5vw, 4.4rem); }
    .hero__actions .btn { flex: 1 1 auto; }
    .hero__media { margin-inline: calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); }
    .hero__inset { right: 0; }
    .hero__index ul { gap: .4rem 1.2rem; }
    .hero__index-label { width: 100%; }

    .intro__img--main { grid-column: 1 / 11; }
    .intro__img--secondary { grid-column: 6 / 13; }

    .product-grid, .catalog .product-grid { grid-template-columns: 1fr; }
    .related .product-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
    .related .product-card__desc, .related .product-card__meta, .related .link-quiet { display: none; }
    .related .product-card__title { font-size: 1.3rem; }
    .related .product-card__wa { font-size: .62rem; letter-spacing: .1em; gap: .4rem; }

    .applications__list a { grid-template-columns: 2.4rem 1fr auto; padding: 1.1rem 0; }
    .applications__arrow { display: none; }
    .applications__name { font-size: 1.85rem; }

    .form__row { grid-template-columns: 1fr; }
    .attr-list div { grid-template-columns: 7rem 1fr; }
    .gallery__main { margin-inline: calc(var(--gutter) * -1); }
    .gallery__thumbs { grid-template-columns: repeat(5, 1fr); }

    .project-grid { grid-template-columns: 1fr; }
    .project-card:nth-child(even) { margin-top: 0; }
    .project-card__media, .project-card:nth-child(4n+2) .project-card__media, .project-card:nth-child(4n+3) .project-card__media { aspect-ratio: 4 / 3.6; }
    .project-gallery__item, .project-gallery__item:nth-child(3n+1), .project-gallery__item:nth-child(3n+2), .project-gallery__item:nth-child(3n) { grid-column: 1 / -1; aspect-ratio: 4 / 3; margin-top: 0; }
    .project-nav { grid-template-columns: 1fr; }
    .project-nav a + a { text-align: left; border-left: 0; padding-left: 0; border-top: 1px solid var(--c-line); }
    .project-cover { aspect-ratio: 4 / 3.4; }

    .statements { grid-template-columns: 1fr; }
    .statement + .statement { border-left: 0; padding-left: 0; }
    .why-grid { grid-template-columns: 1fr; }
    .facts, .facts--3, .facts--2 { grid-template-columns: 1fr 1fr; }

    .site-footer__top { grid-template-columns: 1fr; }
    .site-footer__bottom { flex-direction: column; }
    .float-contact__btn { width: 48px; height: 48px; }
    .float-contact__btn--wa { width: 54px; height: 54px; }
    .float-contact__label { display: none; }
    .drawer__panel { padding-top: 3.2rem; }
}

.statements--single { grid-template-columns: 1fr; }
.statements--single blockquote { max-width: 26ch; font-size: clamp(2rem, 3.8vw, 3.4rem); }
