/* ==========================================================================
   Modul Marble — design system
   Type: Cormorant for the largest display titles, Mulish for everything else.
   Palette: warm white, stone surface, charcoal ink, gold accent.
   Each class here is also an Elementor global class; pages built in Elementor
   carry these class names, so this file is the single source of styling.
   ========================================================================== */

@font-face { font-family: "Mulish"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(../fonts/mulish.woff2) format("woff2"); }
@font-face { font-family: "Mulish"; font-style: italic; font-weight: 200 1000; font-display: swap; src: url(../fonts/mulish-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-italic.woff2) format("woff2"); }

:root {
  --white: #fff;
  --surface: #f7f6f4;
  --surface-2: #efede9;
  --ink: #333333;
  --ink-strong: #090402;
  --slate: #2b2a28;
  --text: rgba(51, 51, 51, .86);
  --muted: #696969;
  --gold: #a88b5d;
  --gold-dark: #8a7047;
  --line: rgba(51, 51, 51, .18);
  --line-strong: rgba(51, 51, 51, .55);

  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;

  --fs-display: clamp(3.25rem, 6.4vw, 7.5rem);
  --fs-h1: clamp(2.6rem, 4.6vw, 5rem);
  --fs-h2: clamp(2rem, 3.1vw, 3.5rem);
  --fs-h3: clamp(1.4rem, 1.8vw, 2rem);
  --fs-h4: clamp(1.15rem, 1.3vw, 1.4rem);
  --fs-lede: clamp(1.25rem, 1.7vw, 2rem);
  --fs-body: clamp(1rem, .95rem + .2vw, 1.15rem);
  --fs-small: .9rem;
  --fs-label: .82rem;
  --track-label: .12em;

  --gutter: clamp(1.25rem, 2.2vw, 2.5rem);
  --wrap: 1760px;
  --narrow: 860px;
  --section: clamp(4rem, 8vw, 8.5rem);
  --header-h: 80px;
  --topbar-h: 2rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--gold-dark); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--sans); font-weight: 400; line-height: 1.15; color: var(--ink); letter-spacing: -.005em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.visually-hidden, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: .5rem; z-index: 1000; background: var(--ink); color: var(--white); padding: .6rem 1rem; }
.skip-link:focus { left: .5rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.wrap--full { max-width: none; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--surface { background: var(--surface); }
.section--flush-top { padding-top: 0; }
.stack > * + * { margin-top: var(--stack, 1.5rem); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2vw, 2rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2vw, 2rem); }
.center { text-align: center; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Type ---------- */
.display { font-family: var(--serif); font-weight: 400; font-size: var(--fs-display); line-height: .98; letter-spacing: -.01em; color: var(--ink); }
.display em, .display i { font-style: italic; }
.title { font-size: var(--fs-h2); font-weight: 400; line-height: 1.12; }
.title--sm { font-size: var(--fs-h3); line-height: 1.25; }
.title--strong { color: var(--ink-strong); }
.lede { font-size: var(--fs-lede); line-height: 1.4; color: var(--ink); font-weight: 400; }
.eyebrow { display: block; font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold); line-height: 1.5; }
.muted { color: var(--muted); }
.caption { font-style: italic; color: var(--muted); font-size: var(--fs-small); }
.body-text { color: var(--text); }
.prose { color: var(--text); }
.prose > * + * { margin-top: 1em; }
.prose p { margin: 0 0 1em; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 1.6em 0 .6em; }
.prose h2 { font-size: var(--fs-h3); }
.prose h3 { font-size: var(--fs-h4); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); margin: 1.5em 0; }
.prose th, .prose td { text-align: left; padding: .75em 1em; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; color: var(--ink); background: var(--surface); }
.prose img { margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.25em; border-left: 2px solid var(--gold); font-style: italic; }

/* ---------- Links & buttons ---------- */
/* The design's primary action: uppercase label, arrow, rule underneath. */
.link-arrow { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.25rem; min-width: min(100%, 15.75rem); padding: .2rem 0 .55rem; border-bottom: 1px solid currentColor; color: var(--ink); font-family: var(--sans); font-size: .95rem; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; line-height: 1.3; transition: color .3s var(--ease), border-color .3s var(--ease), gap .3s var(--ease); }
.link-arrow::after, .btn--arrow::after { content: ""; flex: none; width: 1.1rem; height: .75rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M11.5 1 17 6l-5.5 5M17 6H1' fill='none' stroke='%23000' stroke-width='1.3'/%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 18 12'%3E%3Cpath d='M11.5 1 17 6l-5.5 5M17 6H1' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--gold-dark); border-color: var(--gold); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: var(--white); border-color: rgba(255,255,255,.7); }
.link-arrow--small { min-width: 0; font-size: .85rem; gap: 1.25rem; text-transform: none; letter-spacing: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 3.1rem; padding: .8rem 1.75rem; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
/* .btn--gold is retired (gold is an accent, not a fill); kept as an alias of .btn for legacy pages. */
.btn--gold { background: var(--ink); border-color: var(--ink); }
.btn--gold:hover { background: var(--gold); border-color: var(--gold); }
.btn--arrow:hover::after { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; margin-top: clamp(1.75rem, 3vw, 2.75rem); }

/* ---------- Header ---------- */
/* Showroom bar above the header (address + phone), as on the old site. */
.topbar { position: relative; z-index: 101; background: #d8dee1; /* above the header and the hero the overlay header pulls up (by its rounded-up height) */ color: #243746; font-size: .8125rem; line-height: 1.3; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: .6em; min-height: var(--topbar-h); margin: 0; padding-block: .3rem; text-align: center; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover, .topbar a:focus-visible { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 560px) { :root { --topbar-h: 2.625rem; } .topbar { font-size: .75rem; } .topbar__inner { flex-direction: column; padding-block: .35rem; } .topbar__sep { display: none; } }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
/* Transparent headers (dark hero: overlay; light photo: clear). --solid runs
   0 → 1 with the scroll (main.js sets --scroll-solid) and blends the fill, the
   fade behind and the overlay's white type into the solid header; an open
   panel, the search or a dropdown makes it solid at once. */
.site-header:is(.site-header--overlay, .site-header--clear) { --solid: var(--scroll-solid, 0); margin-bottom: calc(-1 * var(--header-h) - 1px); background: rgb(255 255 255 / var(--solid)); transition: background-color .2s linear, border-color .3s var(--ease); }
.site-header:is(.site-header--overlay, .site-header--clear):has(.is-open, .search-panel:not([hidden]), .account-menu__drop:not([hidden])) { --solid: 1; }
.site-header:is(.site-header--overlay, .site-header--clear)::before { content: ""; position: absolute; z-index: -1; opacity: calc(1 - var(--solid)); transition: opacity .2s linear; pointer-events: none; }
.site-header--overlay { --ink-solid: var(--ink); --gold-solid: var(--gold-dark); }
.site-header--overlay .site-header__bar { --ink: color-mix(in srgb, var(--white), var(--ink-solid) calc(var(--solid) * 100%)); --gold-dark: color-mix(in srgb, rgb(255 255 255 / .7), var(--gold-solid) calc(var(--solid) * 100%)); }
.site-header--overlay::before { inset: 0 0 -2.5rem; background: linear-gradient(rgba(9, 4, 2, .45), rgba(9, 4, 2, 0)); }
.site-header--overlay .icon-btn__count { color: color-mix(in srgb, var(--ink-strong), var(--white) calc(var(--solid) * 100%)); }
/* The hero starts under the header. */
.site-header--overlay ~ main [data-elementor-type] > .hero--collection:first-child { min-height: min(calc(100svh - var(--topbar-h)), 60rem); }
.site-header--overlay ~ main [data-elementor-type] > .hero--collection:first-child > .hero__content { padding-top: calc(var(--header-h) + 2rem); }
.site-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--header-h); gap: 1.5rem; }
.brand { display: block; color: var(--ink); width: clamp(76px, 6.4vw, 92px); }
.brand svg { width: 100%; height: auto; }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; justify-self: start; }
.nav__list { list-style: none; display: flex; gap: clamp(1rem, 1.8vw, 1.9rem); margin: 0; padding: 0; }
.nav__item { position: static; }
.nav__link { display: inline-flex; align-items: center; gap: .3rem; padding: 1.75rem 0; font-size: 1.15rem; font-weight: 400; letter-spacing: .005em; color: var(--ink); text-decoration: none; text-transform: lowercase; }
.nav__link:first-letter { text-transform: none; }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__link { text-decoration: underline; text-underline-offset: .3em; }
.nav__link .plus { font-size: .85em; line-height: 1; transition: transform .3s var(--ease); }
.nav__item.is-open > .nav__link .plus { transform: rotate(45deg); }
/* Linked item with a panel: label is a link, "+" is its own button. */
.nav__item.has-mega { display: inline-flex; align-items: center; }
a.nav__link + .nav__toggle { display: inline-grid; place-items: center; width: 1.4rem; height: 1.6rem; margin-left: .15rem; padding: 0; color: var(--ink); font-size: 1rem; line-height: 1; }
a.nav__link + .nav__toggle:hover { color: var(--gold-dark); }
a.nav__link + .nav__toggle .plus { transition: transform .3s var(--ease); }
.nav__item.is-open > .nav__toggle .plus { transform: rotate(45deg); }
.nav__link:hover { color: var(--gold-dark); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: clamp(.9rem, 1.4vw, 1.4rem); }
.header-account { font-size: 1.15rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-account:hover { color: var(--gold-dark); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 2rem; height: 2rem; color: var(--ink); text-decoration: none; }
.icon-btn svg { width: 1.2rem; height: 1.2rem; }
.icon-btn:hover { color: var(--gold-dark); }
.icon-btn__count { position: absolute; top: -.35rem; right: -.45rem; min-width: 1.15rem; height: 1.15rem; padding: 0 .25rem; border-radius: 1rem; background: var(--ink); color: var(--white); font-size: .66rem; font-weight: 700; line-height: 1.15rem; text-align: center; }
.menu-toggle { display: none; width: 2.5rem; height: 2.5rem; place-items: center; }
.menu-toggle span { display: block; width: 1.4rem; height: 1px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }

/* Mega panels */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: flex; gap: clamp(2rem, 4vw, 4.5rem); align-items: start; padding-block: clamp(1.75rem, 2.6vw, 2.5rem); }
/* Open group (Natural Stone): heading + grid of categories. */
.mega__group { flex: 1; min-width: 0; }
.mega__heading { padding-bottom: .9rem; margin-bottom: .6rem; border-bottom: 1px solid var(--line); font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold); }
.mega__heading a { text-decoration: none; }
.mega__heading a:hover { color: var(--gold-dark); }
.mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
/* Product cards beside the group (Semi-Precious, Porcelain): same heading, image + line. */
.mega__card { flex: none; width: clamp(12rem, 16vw, 17rem); }
.mega__card .mega__heading { margin-bottom: 1rem; }
.mega__card-link { display: grid; gap: .8rem; color: var(--muted); text-decoration: none; }
.mega__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .25s var(--ease); }
.mega__card-link span { font-size: .92rem; line-height: 1.45; }
.mega__card-link:hover img { opacity: .88; }
.mega__card-link:hover span { color: var(--ink); }
/* Side list (the whole Company dropdown; other links in wide panels). */
.mega__list { list-style: none; margin: 0; padding: 0; min-width: 14rem; }
.mega__group + .mega__list { padding-left: clamp(2rem, 4vw, 4.5rem); border-left: 1px solid var(--line); padding-top: 2.6rem; }
.mega__entry > a, .mega__row > a { display: block; padding: .45rem 0; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.mega__entry > a:hover, .mega__row > a:hover { color: var(--gold-dark); }
.mega__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mega__toggle { flex: none; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; font-size: 1.1rem; line-height: 1; color: var(--ink); }
.mega__toggle span[aria-hidden] { transition: transform .25s var(--ease); }
.mega__toggle[aria-expanded="true"] span[aria-hidden] { transform: rotate(45deg); }
.mega__toggle:hover { color: var(--gold-dark); }
/* Sub-lists stay closed until their "+" is used (open without JS). */
.mega__sub { list-style: none; margin: 0 0 .5rem; padding: 0 0 0 .9rem; border-left: 1px solid var(--line); }
.js .mega__entry:not(.is-open) > .mega__sub { display: none; }
.mega__sub--cols { columns: 2; column-gap: 1.5rem; }
.mega__sub--cols li { break-inside: avoid; }
.mega__sub a { display: block; padding: .25rem 0; font-size: .92rem; color: var(--muted); text-decoration: none; }
.mega__sub a:hover { color: var(--ink); text-decoration: underline; }
/* Compact dropdown (no open groups) under its header item. */
.nav__item.has-mega--compact { position: relative; }
.mega--compact { left: -1.75rem; right: auto; width: max-content; min-width: 17rem; max-width: 34rem; border: 1px solid var(--line); }
.mega--compact .mega__inner { display: block; padding: 1.1rem 1.75rem 1.4rem; }
.mega__feature { display: grid; gap: 1rem; align-content: start; color: var(--ink); text-decoration: none; }
.mega__feature img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mega__feature strong { font-weight: 400; font-size: 1.25rem; }
.mega__feature span { font-size: .9rem; color: var(--muted); }

/* Search */
.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 1.5rem; }
.search-panel[hidden] { display: none; }
.search-form { display: flex; gap: 1rem; align-items: stretch; }
.search-form input[type="search"] { flex: 1; min-width: 0; border: 0; border-bottom: 1px solid var(--ink); padding: .6rem 0; font: inherit; font-size: clamp(1.25rem, 2vw, 1.75rem); background: transparent; color: var(--ink); }
.search-form input[type="search"]:focus { outline: none; border-color: var(--gold); }
.search-form__submit { flex: none; min-height: 0; padding-inline: 1.5rem; font-size: .8rem; }
.search-form input[type="search"]::-webkit-search-decoration, .search-form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-panel { max-height: calc(100svh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 24px 40px -28px rgba(9, 4, 2, .35); }
/* Before typing: popular searches and the main collections. */
.search-start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem clamp(2rem, 5vw, 5rem); padding-top: 1.5rem; }
.search-start[hidden], .search-results[hidden] { display: none; }
.search-start .eyebrow, .search-group > .eyebrow { margin: 0 0 .85rem; display: flex; align-items: center; gap: .55rem; }
.search-start__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.search-start__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0 2rem; }
.search-start__links a { display: flex; align-items: baseline; gap: .55rem; padding: .55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.search-start__links a:hover { color: var(--gold-dark); }
.search-start__links .live-dot { align-self: center; }
.search-start__links small { margin-left: auto; color: var(--muted); font-size: .8rem; }
/* Results: In stock now | Collection | Pages & journal. */
.search-results { padding-top: 1.5rem; }
.search-results__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.5rem clamp(2rem, 4vw, 4rem); align-items: start; }
.search-results__note { margin: 0 0 1.25rem; color: var(--muted); font-size: var(--fs-small); }
.search-results__note a { color: var(--ink); }
.search-results__all { margin-top: 1.5rem; }
.search-group__more { margin-top: 1rem; }
.search-hit { display: flex; align-items: center; gap: .9rem; padding: .5rem .5rem .5rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color .2s; }
.search-hit:hover, .search-hit.is-active { background: var(--surface); color: var(--ink); }
.search-hit.is-active { box-shadow: inset 2px 0 0 var(--gold); }
.search-hit img, .search-hit__ph { flex: none; width: 3.5rem; height: 3.5rem; object-fit: cover; border-radius: var(--radius-img, 0); background: var(--surface-2); }
.search-hit__text { min-width: 0; flex: 1; display: grid; gap: .1rem; }
.search-hit strong { font-weight: 400; font-size: 1.05rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-hit em { font-style: normal; font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-hit mark { background: none; color: inherit; font-weight: 700; }
.search-hit__badge { flex: none; padding: .2rem .5rem; border: 1px solid var(--gold); color: var(--gold-dark); font-size: .72rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 760px) {
  .search-start { grid-template-columns: 1fr; }
  .search-form__submit { display: none; }
}

/* Mobile nav: full-screen sheet. White panel with the primary links set
   large in Cormorant and their sections inline beneath (no accordions), a
   bordered Live Inventory feature, then a dark showroom block. */
.mnav { position: fixed; inset: 0; z-index: 200; background: var(--white); color: var(--ink); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
.mnav.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mnav__scroll { height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; display: flex; flex-direction: column; }
.mnav__dark { flex: 1 0 auto; display: flex; flex-direction: column; min-height: calc(100svh - 11rem); padding: 0 var(--gutter) clamp(1.75rem, 5vw, 2.5rem); background: var(--white); color: var(--ink); text-align: center; }
.mnav__bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); padding-block: .5rem; }
.mnav__bar .brand { color: var(--ink); }
.mnav__bar .brand svg { height: 2.1rem; width: auto; }
.mnav__close { width: 2.5rem; height: 2.5rem; color: var(--ink); }
.mnav__close svg { width: 1.3rem; height: 1.3rem; }
.mnav__label { margin: clamp(1rem, 4vw, 2rem) 0 0; color: var(--gold); }
.mnav__body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(1.5rem, 4.5vh, 2.5rem); padding-block: clamp(1.25rem, 4vh, 2.5rem); }
.mnav__primary { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.1rem, 3.5vh, 1.9rem); }
.mnav__primary > li, .mnav__feature, .mnav__account { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + 80ms); }
.mnav.is-open .mnav__primary > li, .mnav.is-open .mnav__feature, .mnav.is-open .mnav__account { opacity: 1; transform: none; }
.mnav__primary > li > a, .mnav__primary > li > span { display: inline-block; font-family: var(--serif); font-size: clamp(2.3rem, 9.5vw, 3rem); font-weight: 400; line-height: 1.1; letter-spacing: -.005em; color: var(--ink); text-decoration: none; }
.mnav__primary > li > a:hover { color: var(--gold-dark); }
.mnav__families { margin: .5rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1rem; }
.mnav__families a { font-size: .74rem; font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); text-decoration: none; }
.mnav__families a:hover { color: var(--gold-dark); }
.mnav__feature { --i: 4; }
.mnav__live { display: flex; align-items: center; gap: .9rem; max-width: 24rem; margin-inline: auto; padding: 1rem 1.25rem; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; text-align: left; transition: border-color .3s var(--ease), color .3s var(--ease); }
.mnav__live::after { content: ""; flex: none; width: 1.1rem; height: .75rem; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M11.5 1 17 6l-5.5 5M17 6H1' fill='none' stroke='%23000' stroke-width='1.3'/%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 18 12'%3E%3Cpath d='M11.5 1 17 6l-5.5 5M17 6H1' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--ease); }
.mnav__live:hover { border-color: var(--gold); color: var(--gold-dark); }
.mnav__live:hover::after { transform: translateX(4px); }
.mnav__live > span:not(.live-dot) { flex: 1; font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; }
.mnav__live small { display: block; margin-top: .2rem; font-size: .8rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.live-dot { position: relative; display: inline-block; flex: none; width: .45rem; height: .45rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 .3rem rgba(168, 139, 93, .22); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: live-pulse 2.4s var(--ease) infinite; }
@keyframes live-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.2); opacity: 0; } }
.mnav__account { --i: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }
.mnav__account .link-arrow { min-width: 0; font-size: .8rem; gap: .75rem; color: var(--ink); }
.mnav__account .link-arrow:hover { color: var(--gold-dark); }
.mnav__light { flex: none; padding: clamp(1.75rem, 6vw, 2.5rem) var(--gutter) max(1.75rem, env(safe-area-inset-bottom)); background: var(--slate); color: var(--white); text-align: center; }
.mnav__light .btn { width: 100%; max-width: 24rem; background: var(--white); border-color: var(--white); color: var(--ink); }
.mnav__light .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.mnav__info { margin-top: 1.5rem; }
.mnav__info .eyebrow { margin-bottom: .6rem; color: var(--gold); }
.mnav__info p { margin: 0 0 .35rem; font-size: .9rem; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.mnav__info a { color: var(--white); text-decoration: none; }
.mnav__info a:hover { color: var(--gold); }
.mnav__hours { color: rgba(255, 255, 255, .55); }
.mnav__social { margin-top: 1.5rem; justify-content: center; gap: 1.5rem; }
.mnav__light .mnav__social a { color: var(--white); opacity: 1; }
.mnav__light .mnav__social svg { width: 1.45rem; height: 1.45rem; }
.mnav__light .mnav__social a:hover { color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .live-dot::after { animation: none; } }

@media (max-width: 1100px) {
  .nav, .header-account { display: none; }
  .menu-toggle { display: inline-grid; }
  .site-header__bar { grid-template-columns: 1fr auto 1fr; }
  .site-header__start { justify-self: start; }
  :root { --header-h: 68px; }
}
@media (min-width: 1101px) { .site-header__start .menu-toggle { display: none; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--surface); min-height: min(calc(100svh - var(--header-h) - var(--topbar-h)), 72rem); display: grid; }
.hero__slide { grid-area: 1 / 1; position: relative; display: grid; align-items: end; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.hero__slide.is-active, .hero__slide:only-child, .hero:not(.is-ready) .hero__slide:first-child { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero__content { position: relative; z-index: 1; padding: clamp(2rem, 6vw, 6rem) var(--gutter) clamp(3rem, 6vw, 6rem); max-width: 60rem; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: var(--fs-display); line-height: .98; color: var(--ink); letter-spacing: -.01em; }
.hero__title:not(.hero__title--md) span, .hero__title em { display: block; padding-left: clamp(2.5rem, 7.4vw, 9rem); font-style: normal; }
.hero__title--md span { white-space: nowrap; }
/* Kicker inside the H1 (location keywords), set like an eyebrow. */
.hero__title strong { display: block; margin-bottom: clamp(1rem, 2vw, 1.75rem); font-family: var(--sans); font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.5; color: var(--ink); }
.hero__sub { margin-top: clamp(1.25rem, 2.6vw, 2.5rem); font-size: var(--fs-lede); color: var(--ink); line-height: 1.3; }
.hero__content .link-arrow { margin-top: clamp(1.5rem, 3vw, 3rem); }
.slider-nav { display: flex; gap: .9rem; }
.slider-nav button { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; color: var(--ink); }
.slider-nav button svg { width: 1.9rem; height: 1.3rem; }
.slider-nav button:hover { color: var(--gold-dark); }
.slider-nav button[disabled] { opacity: .3; cursor: default; }
.hero > .slider-nav { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(1.25rem, 2.5vw, 2.25rem); }
/* Phones: full-screen photo, text over a fade into the surface colour at the bottom. */
@media (max-width: 760px) {
  .hero { min-height: min(calc(100svh - var(--header-h) - var(--topbar-h)), 48rem); }
  .hero__media img { object-position: 68% 22%; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--surface) 0%, rgb(247 246 244 / .92) 28%, rgb(247 246 244 / .55) 46%, rgb(247 246 244 / 0) 64%); }
  .hero__content { padding: 0 var(--gutter) 3.25rem; }
  .hero__title { font-size: clamp(2.9rem, 13vw, 4.25rem); }
  .hero__title:not(.hero__title--md) span { padding-left: 1.6em; }
  .hero__title strong { margin-bottom: 1rem; font-size: clamp(.62rem, 2.6vw, .75rem); letter-spacing: .12em; }
  .hero__sub { margin-top: 1rem; font-size: 1.15rem; }
  .hero__content .link-arrow { margin-top: 1.5rem; }
  .hero > .slider-nav { bottom: 1.1rem; }
}

/* ---------- Intro (two-column statement with staggered images) ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 8rem); align-items: start; }
.intro__text { padding-top: clamp(1rem, 5vw, 6rem); max-width: 42rem; }
.intro__text .title { margin-bottom: clamp(2rem, 4.4vw, 5rem); }
.intro__text .link-arrow { margin-top: clamp(1.5rem, 3.5vw, 3.75rem); }
.intro__media { display: grid; grid-template-columns: 38fr 62fr; gap: clamp(.75rem, 1.6vw, 1.75rem); align-items: start; }
.intro__media > :first-child { margin-top: clamp(2rem, 5.5vw, 5.8rem); }
.intro__media img { width: 100%; aspect-ratio: 330 / 760; object-fit: cover; }
.intro__media > :last-child img { aspect-ratio: 540 / 800; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .intro__text { padding-top: 0; } }

/* ---------- Rail (horizontal card carousel) ---------- */
.rail-section { display: grid; grid-template-columns: minmax(14rem, 22%) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start; }
/* Heading spans both rows so the cards sit beside it, under the arrows. */
.rail-section__head { grid-row: 1 / span 2; padding-top: clamp(3rem, 7vw, 7.5rem); }
.rail-section__head .title--sm { margin-bottom: 1.1rem; }
.rail-section__head p { color: var(--text); max-width: 20rem; }
.rail-section__head .link-arrow { margin-top: 1.25rem; }
.rail-section > .slider-nav { grid-column: 2; justify-self: end; grid-row: 1; margin-bottom: -1rem; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(15rem, 22vw, 25.6rem); gap: clamp(.9rem, 1.5vw, 1.8rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-section__body { grid-column: 2; grid-row: 2; display: grid; gap: 1.5rem; min-width: 0; }
@media (max-width: 860px) {
  .rail-section { grid-template-columns: 1fr; }
  .rail-section__head { grid-row: auto; padding-top: 0; }
  .rail-section__body, .rail-section > .slider-nav { grid-column: 1; grid-row: auto; }
  .rail-section > .slider-nav { order: 1; justify-self: start; margin: 0; }
  .rail-section__body { order: 2; }
  .rail { grid-auto-columns: 72vw; }
}

/* Stone card */
.stone-card { display: grid; gap: 1.25rem; color: var(--ink); text-decoration: none; }
.stone-card__img { background: var(--surface-2); aspect-ratio: 410 / 570; overflow: hidden; display: grid; place-items: center; }
.stone-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stone-card:hover .stone-card__img img { transform: scale(1.04); }
.stone-card__name { font-size: 1.15rem; line-height: 1.3; color: var(--ink); }
.stone-card__name:first-line { text-transform: lowercase; }
.stone-card__name span, .stone-card__type { display: block; text-transform: none; font-style: italic; font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.stone-card:hover { color: var(--ink); }
.stone-card:hover .stone-card__name { text-decoration: underline; }

/* ---------- Feature (collection spotlight) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: clamp(2rem, 4vw, 5rem); align-items: stretch; }
.feature__media { position: relative; padding-right: 30%; padding-bottom: 6%; }
.feature__media > :first-child img { width: 100%; aspect-ratio: 475 / 670; object-fit: cover; }
.feature__media > :nth-child(2) { position: absolute; right: 0; top: 17%; width: 57%; }
.feature__media > :nth-child(2) img { width: 100%; aspect-ratio: 277 / 310; object-fit: cover; }
.feature__aside { display: grid; grid-template-rows: auto 1fr auto; gap: 0; }
.feature__detail { justify-self: end; width: min(100%, 25rem); }
.feature__detail img { width: 100%; aspect-ratio: 400 / 216; object-fit: cover; }
.feature__detail .caption { margin-top: .9rem; font-size: 1.1rem; }
.feature__body { align-self: end; max-width: 41rem; }
.feature__body .eyebrow { margin-bottom: 1.1rem; }
.feature__body .title { color: var(--ink-strong); font-size: clamp(2rem, 2.6vw, 2.75rem); margin-bottom: 1.25rem; }
.feature__body p { color: var(--ink-strong); opacity: .9; }
.feature__body .link-arrow { margin-top: .5rem; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature__detail { display: none; } }

/* ---------- Testimonial ---------- */
.quote-band { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(16rem, 20rem); gap: clamp(1rem, 3vw, 3rem); align-items: start; }
.quote-band::before { content: "\201C"; font-family: var(--serif); font-size: clamp(5rem, 8vw, 8.5rem); line-height: .7; color: var(--gold); margin-top: .3rem; }
.quote-band .eyebrow { margin-bottom: 1.25rem; }
.quote__text { font-size: clamp(1.5rem, 2.5vw, 2.6rem); line-height: 1.5; color: var(--ink-strong); font-weight: 400; margin: 0; }
/* Long reviews are clamped so the band keeps a steady height; "Read more" (added by main.js) expands one in place. */
.quote__text { --quote-lines: 4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--quote-lines); line-clamp: var(--quote-lines); overflow: hidden; }
.quote.is-expanded .quote__text { -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.quote__more { margin-top: 1rem; padding: 0; border: 0; background: none; font: inherit; font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink); text-decoration: underline; text-underline-offset: .3em; cursor: pointer; }
.quote__more:hover { color: var(--gold); }
.quote__card { background: var(--white); padding: 1.5rem 1.25rem; align-self: center; }
.quote__card .slider-nav { margin-bottom: 1.25rem; }
.quote__name { font-weight: 700; font-size: 1.25rem; color: var(--ink-strong); margin: 0 0 .5rem; }
.quote__role { color: var(--muted); font-size: 1rem; line-height: 1.4; margin: 0; }
.quote__role em { color: var(--ink-strong); }
.quotes { display: grid; }
.quotes > .quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.quotes > .quote.is-active, .quotes:not(.is-ready) > .quote:first-child { opacity: 1; visibility: visible; transition-delay: 0s; }
@media (max-width: 900px) { .quote-band { grid-template-columns: 1fr; } .quote-band::before { margin: 0; } .quote__text { --quote-lines: 6; } }

/* ---------- Resources + Inspiration (four columns) ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3rem); }
.duo__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 3vw, 3rem); }
.duo__item img { width: 100%; height: 100%; aspect-ratio: 356 / 480; object-fit: cover; }
.duo__text .eyebrow { margin-bottom: clamp(1.5rem, 4vw, 4.5rem); max-width: 14rem; }
.duo__text .title--sm { margin-bottom: 1.5rem; }
.duo__text p { color: var(--muted); }
.duo__text .link-arrow { margin-top: 1.5rem; }
.resource-list { display: grid; gap: 1.75rem; margin-top: 1.5rem; }
.resource { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 1.25rem; text-decoration: none; color: var(--ink); }
/* Elementor positions container pseudo-elements absolutely; keep the icon in the grid. */
.resource::before { content: ""; position: static; inset: auto; width: 2rem; height: 3rem; background: currentColor; opacity: .75; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 46' fill='none' stroke='%23000' stroke-width='1.2'%3E%3Crect x='1' y='1' width='24' height='44' rx='3'/%3E%3Cpath d='M1 7h24M1 38h24'/%3E%3Ccircle cx='13' cy='41.5' r='1.6'/%3E%3Cpath d='M4 10h8.5v12H4zM13.5 10H22v12h-8.5zM4 23h8.5v12H4zM13.5 23H22v12h-8.5zM5 21l6-9M15 20l5-8M6 33c2-4 4-6 5-9M15 34l6-9'/%3E%3C/svg%3E"); }
.resource--docs::before { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 44' fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpath d='M1 1h22l10 10v32H1z'/%3E%3Cpath d='M23 1v10h10M7 18h20M7 24h20M7 30h20M7 36h12'/%3E%3C/svg%3E"); }
.resource strong { display: block; font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.resource span { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.resource:hover strong { text-decoration: underline; }
@media (max-width: 1100px) { .duo { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .duo__item { grid-template-columns: 1fr; } .duo__item img { aspect-ratio: 4 / 3; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); color: var(--ink); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr minmax(10rem, 1.1fr) 1fr 1fr; gap: 2rem; padding-block: clamp(3rem, 5vw, 4.5rem); align-items: start; }
.footer-col h2 { font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); margin-bottom: 1.6rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.footer-col a { text-decoration: none; font-size: 1.1rem; color: var(--ink); }
.footer-col a:hover { text-decoration: underline; color: var(--ink); }
.footer-brand { justify-self: center; display: grid; justify-items: center; gap: 1.5rem; color: var(--ink-strong); }
.footer-brand svg { width: clamp(120px, 10vw, 182px); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: var(--ink); opacity: .75; }
.footer-social a:hover { opacity: 1; color: var(--gold-dark); }
.footer-social svg { width: 1.2rem; height: 1.2rem; }
.footer-cta { background: var(--white); }
.footer-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; padding-block: clamp(2.5rem, 4vw, 3.5rem) clamp(2.5rem, 4vw, 4rem); align-items: end; }
.footer-cta__title { font-size: clamp(2.25rem, 3.4vw, 3.6rem); line-height: 1.2; color: var(--ink-strong); font-weight: 400; text-transform: lowercase; }
.footer-cta .link-arrow--small { margin-top: 1.5rem; }
.footer-contact { display: grid; grid-template-columns: repeat(3, auto); gap: 2rem clamp(2.5rem, 4.5vw, 5.5rem); margin: 0; }
.footer-contact dt { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.footer-contact dd { margin: 0; font-size: var(--fs-h4); line-height: 1.45; color: var(--ink-strong); }
.footer-contact address { font-style: normal; }
.footer-contact dd > a { text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .35s var(--ease), color .3s var(--ease); }
.footer-contact dd > a:hover { background-size: 100% 1px; }
.footer-contact .footer-contact__directions { display: inline-block; margin-top: .6rem; font-size: var(--fs-small); color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); background: none; }
.footer-contact .footer-contact__directions:hover { color: var(--gold-dark); text-decoration-color: currentColor; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--ink); }

@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; grid-row: 1; justify-self: start; justify-items: start; }
  .footer-cta__inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 700px) {
  .footer-contact { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-legal { flex-direction: column; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem); }
.page-hero__title { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.01em; }
.page-hero .lede { margin-top: 1.25rem; max-width: 46rem; }
/* Photo page hero: light photo across the width, the text over a fade into white on its left. */
.page-hero--photo { position: relative; display: grid; align-items: center; min-height: clamp(26rem, 40vw, 40rem); padding-block: 0; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / .94) 0%, rgb(255 255 255 / .82) 30%, rgb(255 255 255 / .3) 52%, rgb(255 255 255 / 0) 68%); }
.page-hero__content { position: relative; z-index: 1; padding-block: clamp(2.5rem, 5vw, 5rem); }
.page-hero--photo .breadcrumbs { color: var(--ink); }
.page-hero--photo .lede { max-width: 32rem; color: var(--ink); }
.page-hero--photo + .section { padding-top: clamp(2rem, 3.5vw, 3rem); }
/* Text pages (privacy, CCPA, member tools): a light marble band behind the
   title, warmed toward the surface tone on the text side. */
.page-hero--marble { position: relative; padding-block: 0; background: var(--surface) url("../images/textures/light-marble.jpg") center / cover no-repeat; }
.page-hero--marble::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(247 246 244 / .75) 0%, rgb(247 246 244 / .3) 50%, rgb(247 246 244 / 0) 80%); }
.page-hero--marble .page-hero__content { position: relative; padding-block: clamp(3rem, 6vw, 6.5rem) clamp(2.5rem, 5vw, 5rem); }
.page-hero--marble .breadcrumbs { color: var(--ink); }
.page-hero--marble + .section { padding-top: clamp(2.5rem, 4.5vw, 4rem); }
/* Under the clear header: the photo starts at the top of the page. */
.site-header--clear ~ main [data-elementor-type] > .page-hero--photo:first-child { min-height: calc(clamp(26rem, 40vw, 40rem) + var(--header-h)); }
.site-header--clear ~ main [data-elementor-type] > .page-hero--photo:first-child > .page-hero__content { padding-top: calc(var(--header-h) + clamp(1.5rem, 3vw, 3rem)); }
@media (max-width: 760px) {
  .page-hero--photo { align-items: end; min-height: min(calc(100svh - var(--header-h)), 36rem); }
  .page-hero__media img { object-position: 92% 50%; }
  .page-hero__media::after { background: linear-gradient(to top, var(--white) 0%, rgb(255 255 255 / .9) 32%, rgb(255 255 255 / .4) 55%, rgb(255 255 255 / 0) 72%); }
  .page-hero__content { padding-block: 0 2.5rem; }
  .site-header--clear ~ main [data-elementor-type] > .page-hero--photo:first-child { min-height: min(100svh, calc(36rem + var(--header-h))); }
}
.breadcrumbs { display: block; font-size: .85rem; color: var(--muted); margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .55rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .55rem; color: var(--line-strong); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: var(--ink); }

/* Split hero: title and intro beside a large image */
.split-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(72vh, 46rem); background: var(--surface); }
.split-hero__text { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(2rem, 5vw, 6rem) var(--gutter) clamp(2.5rem, 5vw, 5rem); }
.split-hero__text .page-hero__title { max-width: 14ch; }
.split-hero__text .lede, .split-hero__text .body-text { max-width: 38rem; margin-top: 1.5rem; }
.split-hero__media { position: relative; min-height: 22rem; }
.split-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split-hero { grid-template-columns: 1fr; min-height: 0; } .split-hero__media { order: -1; min-height: 62vw; } .split-hero__text > .breadcrumbs { margin-bottom: 0; padding-bottom: 0; } }

/* ---------- Content blocks ---------- */
.content-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.content-split__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.content-split__head .title { margin-bottom: 1rem; }
.content-split__body > * { margin-block: 0; }
.content-split__body > * + * { margin-top: 1.1rem; }
.content-split__body h2, .content-split__body h3 { margin-top: 2.2rem; }
.content-split__body h2 { font-size: var(--fs-h3); }
.content-split__body h3 { font-size: var(--fs-h4); }
.content-split__body p { color: var(--text); }
.content-split--reverse .content-split__head { order: 2; }
@media (max-width: 860px) { .content-split { grid-template-columns: 1fr; } .content-split__head { position: static; } }

.article { max-width: calc(var(--narrow) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.article > * + * { margin-top: 1.15rem; }
.article h2 { font-size: var(--fs-h3); margin-top: 2.5rem; }
.article h3 { font-size: var(--fs-h4); margin-top: 2rem; }
.article h4 { font-size: 1.1rem; margin-top: 1.5rem; }
.article p { color: var(--text); margin-bottom: 0; }

.media-band { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: clamp(.75rem, 1.5vw, 1.5rem); }
.media-band img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figure img { width: 100%; height: auto; }
.figure--wide img { aspect-ratio: 16 / 7; object-fit: cover; }

/* Category / collection cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: clamp(1.25rem, 2vw, 2rem) clamp(1rem, 1.6vw, 1.75rem); }
.card { display: grid; gap: 1rem; align-content: start; color: var(--ink); text-decoration: none; }
.card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__title { font-size: 1.2rem; line-height: 1.3; }
.card__meta { font-style: italic; font-weight: 700; font-size: .98rem; }
.card__text { color: var(--muted); font-size: .98rem; }
.card:hover { color: var(--ink); }
.card:hover .card__title { text-decoration: underline; }

/* Section head: title left, action right */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head > div { max-width: 46rem; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head p { color: var(--text); margin: 1rem 0 0; }

/* CTA band */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end; }
.cta-band .title { max-width: 22ch; }
.cta-band p { color: var(--text); margin: 1rem 0 0; max-width: 44rem; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* FAQ: Elementor nested accordion */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.faq__head .title { margin-top: 1rem; }
.faq__head > p:not(.eyebrow) { color: var(--text); margin-top: 1rem; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* Contact block */
.contact-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.contact-block .title { margin: 1rem 0; }
.contact-block p { color: var(--text); }
@media (max-width: 860px) { .contact-block { grid-template-columns: 1fr; } }

/* Contact page: LA photo hero with a button, then a full-bleed band of dark stone photo with the text | form | marble slab strip. */
.contact-hero .page-hero__media img { object-position: 70% 50%; }
.contact-hero .page-hero__media::after { background: linear-gradient(90deg, rgb(255 255 255 / .55) 0%, rgb(255 255 255 / .4) 30%, rgb(255 255 255 / 0) 50%); }
.contact-hero .contact-hero__btn { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.contact-panel { display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 42fr) minmax(0, 15fr); background: var(--surface); }
.contact-panel__media { position: absolute; inset: 0; }
.contact-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.contact-panel__intro { position: relative; overflow: hidden; background: var(--ink-strong); color: var(--white); }
.contact-panel__intro .contact-panel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(20 18 16 / .55) 0%, rgb(20 18 16 / .25) 55%, rgb(20 18 16 / 0) 75%); }
.contact-panel__text { position: relative; z-index: 1; padding: clamp(3rem, 7vw, 6.5rem) clamp(1.5rem, 5.5vw, 5.25rem); max-width: 38rem; }
.contact-panel__text .eyebrow { color: rgb(255 255 255 / .85); font-weight: 400; }
.contact-panel__title { margin: clamp(1rem, 2vw, 1.5rem) 0; font-family: var(--sans); font-size: var(--fs-h2); font-weight: 400; line-height: 1.12; color: var(--white); }
.contact-panel__body { margin: 0; font-size: var(--fs-body); line-height: 1.6; color: rgb(255 255 255 / .82); }
.contact-panel .contact-panel__form { max-width: none; padding: clamp(3rem, 5vw, 4.5rem) clamp(1.5rem, 4.5vw, 4.5rem) clamp(3.5rem, 6vw, 5.5rem); }
.contact-panel__aside { position: relative; overflow: hidden; background: var(--surface-2); }
.contact-panel__words { position: relative; z-index: 1; margin: 0; padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 2.5vw, 2.5rem) 0; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; line-height: 2.4; color: var(--ink); }
.contact-panel__words::after { content: ""; display: block; width: 3rem; height: 1px; margin-top: 1.5rem; background: var(--gold); }
@media (max-width: 1100px) {
  .contact-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contact-panel__aside { display: none; }
}
@media (max-width: 760px) {
  .contact-hero .page-hero__media img { object-position: 78% 50%; }
  .contact-hero .page-hero__media::after { background: linear-gradient(to top, var(--white) 0%, rgb(255 255 255 / .9) 32%, rgb(255 255 255 / .4) 55%, rgb(255 255 255 / 0) 72%); }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-panel__intro { min-height: 30rem; }
}

/* ---------- Stone, category and service-area pages ---------- */
/* Two white sections in a row share one gap. */
.section:not(.section--surface) + .section:not(.section--surface):not(.section--tight) { padding-top: 0; }
/* Prose rows: h2 on the left, text on the right, a hairline between rows. */
.content-split + .content-split { margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-top: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.content-split--solo > .content-split__body { grid-column: 2; }
.content-split__body ul, .content-split__body ol, .media-split__text ul { padding-left: 1.2em; color: var(--text); list-style: disc; }
.content-split__body ol { list-style: decimal; }
.content-split__body li + li { margin-top: .4em; }
.content-split__body li::marker { color: var(--gold); }
.content-split__body a { color: var(--ink); text-decoration-color: var(--gold); }
.content-split__body .link-arrow { margin-top: 1.75rem; }
@media (max-width: 860px) { .content-split--solo > .content-split__body { grid-column: 1; } }
/* Tables keep their width and scroll sideways on small screens. */
.table-scroll, .stone-compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table, .stone-compare-scroll table { min-width: 34rem; width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.table-scroll th, .table-scroll td, .stone-compare-scroll td { text-align: left; padding: .8em 1em; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
.table-scroll th, .stone-compare-scroll th { font-weight: 700; color: var(--ink); background: var(--surface); }
.table-scroll tbody tr > td:first-child { color: var(--ink); font-weight: 600; }
/* Hero actions */
/* Inner-page split hero: breadcrumbs at the top, title block at the bottom. */
.split-hero__text > .breadcrumbs { margin-bottom: auto; padding-bottom: 2.5rem; }
.split-hero__text .lede { max-width: 36rem; margin-top: 1.5rem; color: var(--text); }
@media (max-width: 860px) { .split-hero__text > .breadcrumbs { margin-bottom: 0; padding-bottom: 0; } }
.split-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.split-hero__text .eyebrow { margin-top: clamp(1.5rem, 4vw, 3rem); margin-bottom: 1rem; }
/* Wide image */
.media-wide img { width: 100%; height: auto; max-height: 42rem; object-fit: cover; }
/* Call-to-action band in a dark box */
.cta-band--boxed { background: linear-gradient(rgba(20, 18, 16, .15), rgba(20, 18, 16, .15)), var(--ink-strong) url("../images/textures/dark-marble.jpg") center / cover; color: var(--white); padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.cta-band--boxed .title { max-width: 30ch; color: var(--white); }
.cta-band--boxed p { color: rgba(255, 255, 255, .78); }
.cta-band--boxed .link-arrow { color: var(--white); }
.cta-band--boxed .link-arrow:hover { color: var(--gold); }
/* Last on the page: the box meets the footer, no white stripe. */
.section:last-child:has(> .cta-band--boxed) { padding-bottom: 0; }
/* Text beside an image (service areas) */
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.media-split__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.media-split--reverse .media-split__media { order: 2; }
.media-split__text > * { margin-block: 0; }
.media-split__text > * + * { margin-top: 1.1rem; }
.media-split__text .title { margin-bottom: .5rem; }
.media-split__text p { color: var(--text); }
@media (max-width: 860px) { .media-split { grid-template-columns: 1fr; } .media-split--reverse .media-split__media { order: 0; } }
/* Live inventory band */
.section-head--flush { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head__actions { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.section-head .title { margin-top: .25rem; }
.inventory-embed { min-height: 12rem; }
/* Natural stone hub: product switcher, category cards */
.product-switch__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 3rem; }
.product-switch__inner > p { margin: 0; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.category-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: var(--white); }
.category-card__img { position: relative; min-height: 16rem; overflow: hidden; }
.category-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.category-card:hover .category-card__img img { transform: scale(1.04); }
.category-card__body { padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.category-card__body > * { margin-block: 0; }
.category-card__body > * + * { margin-top: 1rem; }
.category-card__body h2 a { color: inherit; text-decoration: none; }
.category-card__body h2 a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.category-card__list ul { margin: 0; padding-left: 1.1em; list-style: disc; font-size: .95rem; color: var(--text); }
.category-card__list li + li { margin-top: .3em; }
.category-card__links { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; padding-top: .5rem; }
@media (max-width: 1100px) { .category-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .category-card { grid-template-columns: 1fr; } .category-card__img { min-height: 56vw; } }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card__img--square { aspect-ratio: 1; }
@media (max-width: 600px) { .cards--2 { grid-template-columns: 1fr; } }

/* Semi-precious: dark collection hero (slides behind a fixed title block) */
.hero--collection { background: var(--ink-strong); min-height: min(calc(100svh - var(--header-h)), 54rem); }
.hero--collection .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 4, 2, .82) 0%, rgba(9, 4, 2, .6) 38%, rgba(9, 4, 2, .12) 66%, rgba(9, 4, 2, 0) 80%), linear-gradient(0deg, rgba(9, 4, 2, .5), rgba(9, 4, 2, 0) 40%); }
.hero--collection > .hero__content { grid-area: 1 / 1; align-self: end; z-index: 2; color: var(--white); max-width: 46rem; }
.hero--collection .breadcrumbs, .hero--collection .breadcrumbs a { color: rgba(255, 255, 255, .75); }
.hero--collection .eyebrow { color: var(--gold); margin: 2rem 0 1rem; }
.hero--collection .hero__title, .hero--collection .hero__sub { color: var(--white); }
.hero__title--md { font-size: clamp(2.6rem, 4.8vw, 5.25rem); line-height: 1.02; }
.hero--collection .hero__sub { font-size: 1.1rem; line-height: 1.6; color: rgba(255, 255, 255, .86); max-width: 40rem; }
.hero--collection .link-arrow { color: var(--white); }
.hero__caption { position: absolute; right: var(--gutter); bottom: clamp(4.5rem, 7vw, 6rem); z-index: 3; color: var(--white); font-size: .9rem; }
.hero--collection > .slider-nav button { color: var(--white); }
/* Product pages (tile): one photo behind the title block, centred vertically. */
.hero--product > .hero__content { align-self: center; max-width: 44rem; padding-block: clamp(2rem, 5vw, 5rem); }
.hero--product .split-hero__top { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero--product .hero-section-label { color: var(--gold); }
.hero--product .hero-kicker { color: rgba(255, 255, 255, .72); }
.hero--product .page-hero__title { font-size: clamp(3rem, 5.6vw, 6.5rem); color: var(--white); max-width: 12ch; }
.hero--product .lede { max-width: 34rem; margin-top: clamp(1.25rem, 2.4vw, 2rem); font-size: 1.15rem; line-height: 1.6; color: rgba(255, 255, 255, .88); }
/* Live Inventory: light warehouse photo, title block over the bright left side. */
.hero--inventory { min-height: min(calc(100svh - var(--header-h)), 46rem); }
.hero--inventory .hero__media img { object-position: 60% 50%; }
.hero--inventory .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(247 246 244 / .82) 0%, rgb(247 246 244 / .55) 32%, rgb(247 246 244 / 0) 55%); }
.hero--inventory > .hero__content { grid-area: 1 / 1; align-self: center; max-width: 44rem; }
.hero--inventory .hero__sub { max-width: 30rem; font-size: clamp(1.1rem, 1.3vw, 1.4rem); line-height: 1.45; }
.hero--inventory .actions .link-arrow { margin-top: 0; }
.hero--inventory + .mm-listing { padding-top: clamp(2.5rem, 4vw, 4rem); }
.site-header--clear::before { inset: 0 0 -3rem; background: linear-gradient(rgb(247 246 244 / .9), rgb(247 246 244 / .55) 55%, rgb(247 246 244 / 0)); }
.site-header--clear ~ main > .hero--inventory:first-child { min-height: min(100svh, 52rem); }
.site-header--clear ~ main > .hero--inventory:first-child > .hero__content { padding-top: calc(var(--header-h) + 2rem); }
/* The home photo is light already: a lighter fade is enough. */
.home .site-header--clear::before { background: linear-gradient(rgb(247 246 244 / .55), rgb(247 246 244 / .25) 55%, rgb(247 246 244 / 0)); }
.site-header--clear ~ main [data-elementor-type] > .hero:first-child { min-height: min(100svh, calc(72rem + var(--header-h))); }
@media (max-width: 760px) { .site-header--clear ~ main [data-elementor-type] > .hero:first-child { min-height: min(100svh, calc(48rem + var(--header-h))); } }
/* Figures row: serif number over an uppercase label, hairline dividers. */
.stat-row { display: flex; flex-wrap: wrap; row-gap: 1.25rem; margin: clamp(2rem, 4vw, 3.5rem) 0 0; padding-top: clamp(1.25rem, 2vw, 1.75rem); border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding-inline: clamp(1rem, 1.8vw, 2rem); border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat__figure { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 2.6vw, 2.9rem); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.stat__label { max-width: 8rem; margin-top: .55rem; font-size: .72rem; letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.4; color: var(--muted); }
@media (max-width: 760px) {
	.hero--inventory > .hero__content { align-self: end; }
	.hero--inventory .hero__media::after { background: linear-gradient(to top, var(--surface) 0%, rgb(247 246 244 / .92) 40%, rgb(247 246 244 / .4) 62%, rgb(247 246 244 / 0) 78%); }
	.hero--inventory .actions { gap: 1.25rem; }
	.hero--inventory .actions .link-arrow { flex: 1 1 100%; }
	.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.hero--collection { min-height: calc(100svh - var(--header-h)); }
	.hero--collection .hero__media::after { background: linear-gradient(0deg, rgba(9, 4, 2, .88) 0%, rgba(9, 4, 2, .68) 55%, rgba(9, 4, 2, .3) 80%, rgba(9, 4, 2, .2) 100%); }
	.hero--collection > .hero__content { padding-bottom: 4.5rem; }
	.hero--product > .hero__content { align-self: end; }
	.hero__caption { bottom: 1.4rem; right: auto; left: var(--gutter); }
}
/* Collection grid with material chips */
.collection__filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: .92rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip span { color: var(--muted); font-size: .8rem; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip.is-active span { color: rgba(255, 255, 255, .7); }
.collection__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: clamp(1.5rem, 2.5vw, 2.5rem) clamp(1rem, 1.8vw, 1.75rem); }
.product-card { position: relative; display: grid; gap: .85rem; align-content: start; }
.product-card[hidden] { display: none; }
.product-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__meta { display: grid; gap: .1rem; padding-right: 2.5rem; }
.product-card__name { color: var(--ink); text-decoration: none; font-size: 1.05rem; text-transform: lowercase; }
.product-card__name::first-letter { text-transform: uppercase; }
.product-card__name:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.product-card__type { font-style: italic; font-weight: 700; font-size: .92rem; color: var(--ink); }
.product-card .site-fav-heart { position: absolute; right: 0; bottom: .2rem; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; background: none; border: 0; color: var(--ink); cursor: pointer; }
/* Featured piece */
.media-split--feature .media-split__media img { aspect-ratio: auto; height: auto; }
.feature-piece strong { color: var(--ink); letter-spacing: .04em; }
.feature-piece em { font-family: var(--serif); font-size: 1.35em; }
/* Exclusivity notice (semi-precious pages) */
.opulence { position: fixed; left: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem); z-index: 90; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); width: min(30rem, calc(100vw - 1.5rem)); background: var(--white); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.opulence.is-in { opacity: 1; transform: none; }
.opulence:not(:has(.opulence__img)) { grid-template-columns: minmax(0, 1fr); } /* no image found: text only */
.opulence__img img { width: 100%; height: 100%; object-fit: cover; }
.opulence__body { padding: 1.25rem 1.4rem 1.2rem; display: grid; gap: .6rem; }
.opulence__title { margin: 0; font-size: 1.2rem; font-weight: 400; line-height: 1.25; color: var(--ink); }
.opulence__title strong { display: block; font-weight: 500; }
.opulence__text { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--text); }
.opulence__text a { color: var(--ink); text-decoration-color: var(--gold); }
.opulence__close { justify-self: start; background: none; border: 0; padding: 0; cursor: pointer; }
@media (max-width: 480px) { .opulence { grid-template-columns: 1fr; } .opulence__img { display: none; } }

/* Nutshell forms (injected markup with generated class names; style by structure) */
#peanut-container { font-family: var(--sans); }
#peanut-container #form-fields-container { margin: 0; display: grid; gap: 1.25rem; }
#peanut-container#peanut-container #form-fields-container > * { margin: 0; }
#peanut-container label { display: block; margin-bottom: .45rem; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
#peanut-container label span { color: var(--gold); }
#peanut-container#peanut-container input[type="text"], #peanut-container#peanut-container input[type="email"], #peanut-container#peanut-container input[type="tel"], #peanut-container#peanut-container textarea, #peanut-container#peanut-container [class*="-control"] { width: 100%; min-height: 3rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 0; background: var(--white); font: inherit; font-size: 1rem; color: var(--ink); box-shadow: none; transition: border-color .2s; }
#peanut-container [class*="-control"] input { min-height: 0; padding: 0; border: 0; }
#peanut-container [class*="-placeholder"], #peanut-container ::placeholder { color: var(--muted); opacity: .8; }
#peanut-container input:focus, #peanut-container textarea:focus, #peanut-container [class*="-control"]:focus-within { outline: none; border-color: var(--ink); }
#peanut-container textarea { min-height: 7.5rem; resize: vertical; }
#peanut-container input[type="checkbox"] { width: 1.05rem; height: 1.05rem; margin-right: .5rem; accent-color: var(--ink); vertical-align: -.15em; }
#peanut-container fieldset { margin: 0; padding: 0; border: 0; }
#peanut-container#peanut-container legend { display: block; margin-bottom: .6rem; padding: 0; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
#peanut-container#peanut-container fieldset label { display: flex; align-items: center; margin: 0 0 .4rem; font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text); }
/* Nutshell's own rules use an id plus doubled classes; a doubled id outranks them. */
#peanut-container#peanut-container input[type="submit"], #peanut-container#peanut-container button[type="submit"] { justify-self: start; min-height: 3.2rem; padding: .9rem 2.4rem; border: 0; border-radius: 0; background: var(--ink); color: var(--white); font: inherit; font-size: .85rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
#peanut-container#peanut-container input[type="submit"]:hover, #peanut-container#peanut-container button[type="submit"]:hover { background: var(--ink-strong); }
.contact-block__form { max-width: 40rem; }

/* Film band (modul-film) */
.film { background: var(--ink-strong); color: var(--white); }
.film__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: end; }
.film__head > * { margin: 0; }
.film__head > * + * { margin-top: 1rem; }
.film__title { color: var(--white); font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3.6rem); line-height: 1.05; }
.film__text { color: rgba(255, 255, 255, .78); }
.film__meta { color: rgba(255, 255, 255, .55); font-size: var(--fs-small); letter-spacing: .08em; text-transform: uppercase; }
.film__player { position: relative; margin: 0; aspect-ratio: 16 / 9; background: #000; }
.film__player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .9rem; width: 100%; border: 0; background: linear-gradient(0deg, rgba(9, 4, 2, .35), rgba(9, 4, 2, .05)); color: var(--white); font: inherit; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.film__play svg { width: 4.25rem; height: 4.25rem; padding: 1.15rem 1rem 1.15rem 1.3rem; border: 1px solid rgba(255, 255, 255, .75); border-radius: 50%; transition: background .25s var(--ease), color .25s var(--ease); }
.film__play:hover svg, .film__play:focus-visible svg { background: var(--white); color: var(--ink-strong); }
.film__player.is-playing .film__play { display: none; }
@media (max-width: 900px) { .film__inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .film__play span { display: none; } }

/* Link index: page links as serif names on fine rules (slabs materials, product switcher, service areas) */
.link-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); column-gap: 2rem; }
.media-split__text > .link-index { margin-top: 1.75rem; margin-bottom: 1.25rem; }
.stack > .link-index { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.link-index__link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; text-decoration: none; transition: color .3s var(--ease), border-color .3s var(--ease); }
.link-index__link::after { content: ""; flex: none; width: 1rem; height: .7rem; background: currentColor; opacity: 0; transform: translateX(-6px); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M11.5 1 17 6l-5.5 5M17 6H1' fill='none' stroke='%23000' stroke-width='1.3'/%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 18 12'%3E%3Cpath d='M11.5 1 17 6l-5.5 5M17 6H1' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.link-index__link:hover { color: var(--gold-dark); border-color: var(--gold); }
.link-index__link:hover::after, .link-index__link:focus-visible::after { opacity: 1; transform: none; }
@media (hover: none) { .link-index__link::after { opacity: .45; transform: none; } }
.link-index__link.is-current { color: var(--gold-dark); border-bottom-color: var(--gold); pointer-events: none; }
.link-index__link.is-current::after { display: none; }
.product-switch__inner > .link-index { flex: 1 1 36rem; grid-template-columns: repeat(4, minmax(max-content, 1fr)); }
.product-switch__inner > .link-index .link-index__link { white-space: nowrap; }
@media (max-width: 760px) { .product-switch__inner > .link-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } .product-switch__inner > .link-index .link-index__link { white-space: normal; } }

/* Notice */
.notice { border: 1px solid var(--gold); background: #fbf8f2; padding: 1.25rem 1.5rem; font-size: .98rem; color: var(--ink); }
.notice strong { color: var(--gold-dark); }

/* ---------- Forms (Contact Form 7, WPForms, search) ---------- */
.form-wrap input[type="text"], .form-wrap input[type="email"], .form-wrap input[type="tel"], .form-wrap input[type="url"], .form-wrap input[type="number"], .form-wrap select, .form-wrap textarea,
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 input[type="number"], .wpcf7 select, .wpcf7 textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; padding: .7rem 0; font: inherit; color: var(--ink); border-radius: 0; }
.wpcf7 textarea, .form-wrap textarea { min-height: 8rem; resize: vertical; border: 1px solid var(--line-strong); padding: .75rem; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--gold); }
.wpcf7 label { display: block; font-size: .85rem; letter-spacing: .04em; color: var(--muted); }
.wpcf7 p { margin: 0 0 1.25rem; }
.wpcf7 input[type="submit"], .wpcf7 button[type="submit"] { display: inline-flex; align-items: center; min-height: 3.1rem; padding: .8rem 2rem; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font: inherit; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background-color .3s var(--ease); }
.wpcf7 input[type="submit"]:hover { background: var(--gold); border-color: var(--gold); }
.wpcf7-not-valid-tip { font-size: .82rem; color: #8c2f24; }
.wpcf7 form .wpcf7-response-output { margin: 1rem 0 0; padding: .9rem 1rem; border-color: var(--gold); font-size: .95rem; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: clamp(2rem, 3vw, 3rem) clamp(1.25rem, 2vw, 2rem); }
.post-card { display: grid; gap: 1rem; align-content: start; color: var(--ink); text-decoration: none; }
.post-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__meta { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold); font-weight: 700; }
.post-card__title { font-size: 1.45rem; line-height: 1.25; }
.post-card__excerpt { color: var(--muted); font-size: .98rem; }
.post-card:hover .post-card__title { text-decoration: underline; }
.post-hero { padding-block: clamp(2.5rem, 5vw, 5rem) 2rem; }
.post-hero .page-hero__title { max-width: 22ch; }
.post-hero__meta { margin-top: 1.25rem; color: var(--muted); font-size: .95rem; }
.post-hero__img { margin-top: clamp(2rem, 4vw, 3.5rem); }
.post-hero__img img { width: 100%; max-height: 42rem; object-fit: cover; }
.entry { padding-bottom: var(--section); }
.entry > * { max-width: var(--narrow); margin-inline: auto; }
.entry > .alignwide { max-width: 1200px; }
.entry > .alignfull { max-width: none; }
.entry h2 { font-size: var(--fs-h3); margin: 2.4rem auto 1rem; }
.entry h3 { font-size: var(--fs-h4); margin: 2rem auto .8rem; }
.entry p, .entry li { color: var(--text); }
.entry img { height: auto; }
.entry figure { margin-block: 2rem; }
.entry figcaption { font-size: .88rem; color: var(--muted); margin-top: .6rem; font-style: italic; }
.entry .wp-caption { max-width: 100% !important; }
.pagination { display: flex; gap: .75rem; justify-content: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } * { transition-duration: .01ms !important; } }

/* ---------- Account (portal session) ---------- */
.account-user { display: none; }
.is-logged-in .account-user { display: revert; }
.is-logged-in .account-guest { display: none; }
.account-menu { position: relative; }
.is-logged-in .account-menu { display: block; }
.account-menu__drop { position: absolute; right: 0; top: calc(100% + .75rem); min-width: 13rem; background: var(--white); border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(0,0,0,.25); padding: .5rem 0; display: grid; z-index: 5; }
.account-menu__drop[hidden] { display: none; }
.account-menu__drop a, .account-menu__drop button { display: block; text-align: left; padding: .55rem 1.1rem; font-size: .98rem; text-decoration: none; color: var(--ink); }
.account-menu__drop a:hover, .account-menu__drop button:hover { background: var(--surface); color: var(--ink); }
.account-menu__drop [hidden] { display: none; }

/* ==========================================================================
   Company and content pages (includes/cli/pages/company)
   ========================================================================== */
/* About (Our Story): dark quarry hero, statement, quarry-to-project path, expertise, next pages */
.about-hero .hero__media img { object-position: 50% 60%; }
.about-hero .hero__media::after { background: linear-gradient(0deg, rgba(9, 4, 2, .78) 0%, rgba(9, 4, 2, .42) 38%, rgba(9, 4, 2, .08) 68%, rgba(9, 4, 2, 0) 100%); }
.hero--collection > .about-hero__content { max-width: none; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 32rem); column-gap: clamp(2rem, 6vw, 8rem); align-items: end; }
.about-hero__content > .breadcrumbs, .about-hero__content > .eyebrow { grid-column: 1 / -1; }
.about-hero__content > .breadcrumbs { margin-bottom: auto; }
.about-hero__title { font-size: clamp(4rem, 11vw, 11rem); line-height: .9; }
.about-hero__lede { font-size: var(--fs-body); line-height: 1.65; color: rgba(255, 255, 255, .88); padding-bottom: .6em; }
.about-hero__lede a { color: var(--white); text-decoration-color: var(--gold); }
.about-hero__lede a:hover { color: var(--gold); }
.about-statement { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 8rem); align-items: start; }
.about-statement__year { margin: 0; font-family: var(--serif); font-size: clamp(4.5rem, 10vw, 10rem); line-height: .85; color: var(--gold); }
.about-statement__year span { display: block; margin-bottom: 1.25rem; font-family: var(--sans); font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.5; color: var(--muted); }
.about-statement__text { margin: 0; font-family: var(--serif); font-size: clamp(1.75rem, 2.9vw, 3.15rem); line-height: 1.2; color: var(--ink); }
.about-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.75rem); align-items: start; }
.about-path__item:nth-child(2) { margin-top: clamp(2rem, 6vw, 6rem); }
.about-path__item:nth-child(3) { margin-top: clamp(4rem, 12vw, 12rem); }
.about-path__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface-2); }
.about-path__img img { width: 100%; height: 100%; object-fit: cover; }
.about-path__label { display: flex; gap: 1rem; align-items: baseline; margin: 1.1rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--ink); }
.about-path__label span { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); color: var(--gold); }
.about-expertise { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 7vw, 9rem); align-items: center; }
.about-expertise__media { position: relative; padding-right: clamp(3rem, 9vw, 10rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.about-expertise__media > img:first-child { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.about-expertise__media > img:last-child { position: absolute; right: 0; bottom: 0; width: 38%; aspect-ratio: 3 / 4; object-fit: cover; border: clamp(.4rem, .8vw, .75rem) solid var(--surface); }
.about-expertise__text .eyebrow { margin-bottom: 1.5rem; }
.about-expertise__body { margin: 0; font-size: var(--fs-lede); line-height: 1.45; color: var(--ink); }
.about-expertise__body a { color: inherit; text-decoration-color: var(--gold); }
.about-next .eyebrow { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.about-next__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-next__cards .card__img { aspect-ratio: 4 / 3; }
@media (max-width: 860px) {
  .hero--collection > .about-hero__content { grid-template-columns: 1fr; }
  .about-hero__lede { margin-top: 1.5rem; }
  .about-statement, .about-expertise { grid-template-columns: 1fr; }
  .about-path { grid-template-columns: 1fr 1fr; }
  .about-path__item:nth-child(2) { margin-top: 3rem; }
  .about-path__item:nth-child(3) { margin-top: 0; grid-column: 1 / -1; }
  .about-path__item:nth-child(3) .about-path__img { aspect-ratio: 16 / 10; }
  .about-next__cards { grid-template-columns: 1fr; }
}

/* Projects */
.project-list { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.eyebrow-heading { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
.project-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.project-list li { color: var(--ink); font-size: 1.1rem; }
.gallery { columns: 3 18rem; column-gap: clamp(.75rem, 1.4vw, 1.25rem); }
.gallery__item { break-inside: avoid; margin-bottom: clamp(.75rem, 1.4vw, 1.25rem); }
.gallery__item img { width: 100%; height: auto; display: block; }

/* Inspiration grid */
.insp__filters { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; align-items: flex-end; padding-bottom: 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.filter-group__label { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold); margin: 0 0 .75rem; }
.filter-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-chip { display: inline-block; padding: .45rem .95rem; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .95rem; transition: border-color .2s, background .2s, color .2s; }
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-chip--reset { border-style: dashed; }
.insp__empty { color: var(--text); }
.insp__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: clamp(2rem, 3vw, 3rem) clamp(1rem, 1.6vw, 1.75rem); }
.insp-card { margin: 0; display: grid; gap: .85rem; align-content: start; }
.insp-card__img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--surface-2); }
.insp-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a.insp-card__img:hover img { transform: scale(1.04); }
.insp-card__credit { margin: -.35rem 0 0; font-size: .72rem; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.insp-card__title { font-size: 1.2rem; font-weight: 400; line-height: 1.3; margin: 0 0 .5rem; }
.insp-card__meta { margin: 0; display: grid; gap: .2rem; font-size: .95rem; }
.insp-card__meta div { display: flex; gap: .75rem; }
.insp-card__meta dt { min-width: 4.5rem; color: var(--muted); }
.insp-card__meta dd { margin: 0; color: var(--ink); }
.insp-card__actions { margin: .5rem 0 0; }
.insp-card__actions .link-arrow svg { width: 1rem; height: 1rem; }
.insp-card--social .link-arrow { gap: .6rem; }

/* Inspiration gallery (live inventory photos) and photo page */
.insp-gallery__bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.75rem, 3vw, 2.5rem); padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.link-index--rooms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.insp-gallery__tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 1.5rem; }
.insp-gallery__field { display: grid; min-width: min(100%, 13rem); }
.insp-gallery__field .filter-group__label { margin-bottom: .5rem; }
.insp-gallery__field select, .insp-gallery__input input { width: 100%; min-height: 2.75rem; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--ink); font: inherit; font-size: .95rem; }
.insp-gallery__field select { appearance: none; padding-right: 2.5rem; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23333' stroke-width='1.3'/%3E%3C/svg%3E") right .9rem center / .7rem no-repeat; }
.insp-gallery__field select:focus, .insp-gallery__input input:focus { outline: none; border-color: var(--ink); }
.insp-gallery__search { flex: 1 1 16rem; max-width: 24rem; }
.insp-gallery__input { position: relative; display: block; }
.insp-gallery__input svg { position: absolute; left: .85rem; top: 50%; width: 1.05rem; height: 1.05rem; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.insp-gallery__input input { padding-left: 2.5rem; }
.insp-gallery.is-live .insp-gallery__apply { display: none; }
.insp-gallery__status { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: baseline; margin: 1.25rem 0 clamp(1.5rem, 3vw, 2.5rem); font-size: .95rem; color: var(--muted); }
.insp-gallery__clear { color: var(--ink); }
.insp-gallery__more { display: flex; justify-content: center; margin: clamp(2.5rem, 5vw, 4rem) 0 0; }
.insp__grid--photos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: clamp(1.75rem, 2.6vw, 2.5rem) clamp(.75rem, 1.4vw, 1.25rem); }
.insp-card--photo { color: var(--ink); text-decoration: none; gap: .75rem; }
.insp-card--photo[hidden] { display: none; }
.insp-card--photo .insp-card__img { aspect-ratio: 4 / 3; }
.insp-card--photo:hover { color: var(--ink); }
.insp-card--photo:hover img { transform: scale(1.04); }
.insp-card--photo:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.insp-card__caption { display: grid; gap: .15rem; }
.insp-card__room { font-size: .72rem; font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold); }
.insp-card--photo .insp-card__title { margin: 0; font-size: 1.1rem; }

.insp-photo { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: start; padding-block: clamp(1.5rem, 3vw, 3rem) clamp(2.5rem, 5vw, 5rem); }
.insp-photo__stage { margin: 0; background: var(--surface); }
.insp-photo__zoom { display: block; width: 100%; cursor: zoom-in; }
.insp-photo__zoom img { width: 100%; max-height: calc(100vh - var(--header-h) - 3rem); object-fit: contain; }
.insp-photo__panel { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; align-content: start; }
.insp-photo__panel .breadcrumbs { margin-bottom: .25rem; }
.insp-photo__panel .eyebrow { margin-bottom: -.5rem; }
.insp-photo__title { font-family: var(--serif); font-size: var(--fs-h2); line-height: 1.05; }
.insp-photo__text { margin: 0; color: var(--text); font-size: .98rem; }
.insp-photo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin: .25rem 0 0; }
.insp-photo__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .9rem; }
.insp-photo__nav a { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; }
.insp-photo__nav a:hover { color: var(--gold-dark); }
.insp-photo__nav svg { width: 1.4rem; height: auto; }
.insp-photo__nav .insp-photo__all { margin-inline: auto; text-decoration: underline; }
.insp-more { border-top: 1px solid var(--line); }
.insp-more__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.insp-more__title { font-size: var(--fs-h3); font-weight: 400; line-height: 1.25; }
.insp-lightbox { max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(9, 4, 2, .92); }
.insp-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.insp-lightbox::backdrop { background: rgba(9, 4, 2, .92); }
.insp-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-out; }
.insp-lightbox__close { position: absolute; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; color: var(--white); }
.insp-lightbox__close svg { width: 1.5rem; height: 1.5rem; }
@media (max-width: 640px) {
  .link-index--rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
  .link-index--rooms .link-index__link { font-size: 1.3rem; }
  .insp-gallery__tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .75rem; }
  .insp-gallery__field { min-width: 0; }
  .insp-gallery__search { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 960px) {
  .insp-photo { grid-template-columns: 1fr; }
  .insp-photo__panel { position: static; }
  .insp-photo__zoom img { max-height: none; }
}

/* Contact: location and map */
.location { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.location__info { display: grid; gap: 2.5rem; }
.location__block > * + * { margin-top: .75rem; }
.location__block .eyebrow { margin-bottom: 1rem; }
.location__address { font-size: var(--fs-lede); line-height: 1.35; }
.location__address a, .location__line a { color: var(--ink); text-decoration-color: var(--gold); }
.location__line { color: var(--text); }
.location__map iframe { width: 100%; height: clamp(20rem, 38vw, 30rem); border: 0; display: block; filter: grayscale(.85) contrast(1.05); }
@media (max-width: 860px) { .location { grid-template-columns: 1fr; } }

/* App landing */
.split-hero--app { min-height: min(calc(100vh - var(--header-h)), 54rem); background: var(--white); }
.split-hero--app .split-hero__text > .breadcrumbs { margin-bottom: 2.5rem; }
.split-hero--app .split-hero__text { justify-content: center; }
.split-hero--app .page-hero__title { max-width: none; font-family: var(--serif); font-size: clamp(2.75rem, 4.3vw, 5rem); line-height: 1.02; }
.split-hero--app .body-text { max-width: 36rem; margin-top: 1rem; }
.app-badges { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; align-items: center; }
.app-badge { display: block; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.app-badge:hover { transform: translateY(-2px); opacity: .88; }
.app-badge img { height: 48px; width: auto; display: block; }
.app-badge--google img { height: 64px; margin: -8px 0; } /* the Play badge carries its own padding */
.app-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 36rem; }
.app-facts__item { margin: 0; color: var(--ink); font-size: 1rem; }
.app-facts__item span { display: block; margin-bottom: .2rem; font-size: .72rem; font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }

/* Hero stage: slab backdrop, phone, two floating chips */
.app-stage { display: grid; place-items: center; overflow: hidden; padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem); background: var(--surface-2); isolation: isolate; }
.app-stage__bg { position: absolute; inset: 0; z-index: -1; }
.app-stage__bg { overflow: hidden; }
.split-hero__media.app-stage .app-stage__bg img { filter: saturate(.85); transform: scale(1.7); object-position: 50% 45%; }
.app-stage__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(9, 4, 2, .05) 0%, rgba(9, 4, 2, .38) 100%); }
.app-phone { position: relative; width: min(100%, 20rem); aspect-ratio: 9 / 16; padding: .6rem; border-radius: 2.6rem; background: #111; box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 50px 90px -30px rgba(9, 4, 2, .65), 0 18px 36px -18px rgba(9, 4, 2, .5); }
.app-phone img { position: static; width: 100%; height: 100%; border-radius: 2.05rem; object-fit: cover; object-position: top; }
.app-stage__chip { position: absolute; display: inline-flex; align-items: center; gap: .6rem; margin: 0; padding: .7rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -14px rgba(9, 4, 2, .45); font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-strong); white-space: nowrap; }
.app-stage__chip--live { left: clamp(1rem, 7%, 5rem); top: 62%; }
.app-stage__chip--live span { width: .55rem; height: .55rem; border-radius: 50%; background: #3f9c6b; box-shadow: 0 0 0 .25rem rgba(63, 156, 107, .2); }
.app-stage__chip--tools { right: clamp(1rem, 7%, 5rem); top: 24%; font-weight: 700; font-size: .72rem; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold-dark); }
@media (max-width: 860px) { .split-hero--app { min-height: 0; } .app-stage { min-height: 0; padding-block: 3rem; } .app-phone { width: min(62vw, 17rem); } .app-stage__chip { font-size: .75rem; padding: .55rem .9rem; } .app-stage__chip--live { left: 1rem; top: auto; bottom: 1rem; } .app-stage__chip--tools { right: 1rem; top: 1rem; } }

/* In the app: the home intro layout, features as a plain list */
.app-intro .title { margin-bottom: clamp(1.25rem, 2.4vw, 2rem); }
.app-features { margin-top: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }
.app-feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: .5rem 2rem; padding-block: 1.25rem; border-top: 1px solid var(--line); }
.app-feature__title { margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.5; color: var(--ink); }
.app-feature__text { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
@media (max-width: 560px) { .app-feature { grid-template-columns: 1fr; } }

/* How it works */
.app-steps__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 6vw, 8rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.app-steps__head .eyebrow { grid-column: 1 / -1; margin-bottom: 1.25rem; }
.app-steps__head .body-text { margin: 0; max-width: 34rem; }
.app-steps__title { margin: 0; font-size: var(--fs-h2); font-weight: 400; line-height: 1.12; color: var(--ink); max-width: 18ch; }
.app-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); align-items: start; }
.app-step:nth-child(2) { margin-top: clamp(1.5rem, 4vw, 4rem); }
.app-step:nth-child(3) { margin-top: clamp(3rem, 8vw, 8rem); }
.app-step__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.app-step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.app-step:hover .app-step__img img { transform: scale(1.04); }
.app-step__label { display: flex; gap: 1rem; align-items: baseline; margin: 1.25rem 0 .6rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink-strong); }
.app-step__label span { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); color: var(--gold); }
.app-step__text { margin: 0; color: var(--text); max-width: 26rem; }
@media (max-width: 860px) { .app-steps__head { grid-template-columns: 1fr; row-gap: 1.25rem; } .app-steps { grid-template-columns: 1fr; gap: 3rem; } .app-step:nth-child(n) { margin-top: 0; } .app-step__img { aspect-ratio: 4 / 3; } }

/* App and Portal */
.app-portal { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 7vw, 9rem); align-items: center; }
.app-portal__media { padding: clamp(.5rem, 1vw, .9rem); background: var(--white); box-shadow: 0 40px 80px -40px rgba(9, 4, 2, .35); }
.app-portal__media img { width: 100%; }
.app-portal__text .eyebrow { margin-bottom: 1.5rem; }
.app-portal__title { margin: 0 0 1.25rem; font-size: var(--fs-lede); line-height: 1.35; color: var(--ink-strong); }
@media (max-width: 860px) { .app-portal { grid-template-columns: 1fr; } }

/* Designed for */
.app-audience-wrap > .eyebrow { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.app-audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.app-audience__item { padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.app-audience__label { margin: 0 0 .75rem; font-size: var(--fs-h3); font-weight: 400; line-height: 1.25; color: var(--ink); }
.app-audience__text { margin: 0; color: var(--text); }
@media (max-width: 1000px) { .app-audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .app-audience { grid-template-columns: 1fr; } }

/* Download band */
.app-cta { background: var(--ink-strong) url("../images/textures/dark-marble.jpg") center / cover; color: var(--white); }
.app-cta__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 8rem); align-items: end; }
.app-cta .eyebrow { margin-bottom: 1.5rem; }
.app-cta__title { margin: 0 0 1.25rem; font-size: var(--fs-h2); font-weight: 400; line-height: 1.12; color: var(--white); }
.app-cta__line { margin: 0; max-width: 34rem; color: rgba(255, 255, 255, .72); }
.app-cta__actions { display: grid; justify-items: start; gap: 1.75rem; }
.app-cta .app-badges { margin-top: 0; }
.app-badges--light .app-badge img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); border-radius: 8px; }
.app-badges--light .app-badge--google img { box-shadow: none; }
.app-cta .app-privacy { margin: 0; }
.app-cta .app-privacy a { color: rgba(255, 255, 255, .6); }
.app-cta .app-privacy a:hover { color: var(--gold); }
@media (max-width: 860px) { .app-cta__inner { grid-template-columns: 1fr; align-items: start; } }
.app-privacy a { color: var(--muted); font-size: var(--fs-small); }

/* Supporting documents */
.site-header--overlay ~ main [data-elementor-type] > .hero--collection.docs-hero:first-child { min-height: min(82svh, 46rem); }
.docs-hero .hero__media img { object-position: 50% 55%; }
.docs-hero .hero__sub { margin-top: 1.25rem; }
.docs-hero .actions { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.docs-hero .actions .link-arrow { margin-top: 0; }
.docs-jump { position: sticky; top: var(--header-h); z-index: 20; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.docs-jump__inner { display: flex; align-items: center; gap: 1rem 2.5rem; min-height: 3.75rem; }
.docs-jump__label { flex: none; margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold-dark); }
.docs-jump__links { display: flex; align-items: center; gap: .25rem clamp(1.25rem, 2.4vw, 2.5rem); margin: 0; overflow-x: auto; scrollbar-width: none; white-space: nowrap; padding-block: 1.1rem; }
.docs-jump__links::-webkit-scrollbar { display: none; }
.docs-jump .docs-jump__links a { font-size: .78rem; font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; text-decoration: none; color: var(--ink); }
.docs-jump .docs-jump__links a:hover { color: var(--gold-dark); text-decoration: underline; text-decoration-color: var(--gold); }
.docs-section { scroll-margin-top: calc(var(--header-h) + 3.75rem); }
.docs-group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2.5rem, 6vw, 8rem); align-items: start; }
.docs-group__head { position: sticky; top: calc(var(--header-h) + 6rem); }
.docs-group__head .eyebrow { margin-bottom: 1.25rem; }
.docs-group__head .title { margin-bottom: 1.25rem; }
.docs-group__head .body-text { max-width: 28rem; }
.docs-group__count { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .72rem; font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.doc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 1.2vw, 1rem); }
.doc-row { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "cover body" "cover cta"; column-gap: 1.25rem; align-items: start; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; scroll-margin-top: calc(var(--header-h) + 5.5rem); transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.doc-row:hover { color: var(--ink); border-color: var(--gold); box-shadow: 0 24px 44px -30px rgba(9, 4, 2, .4); transform: translateY(-2px); }
.doc-row:target { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.doc-row__cover { grid-area: cover; width: clamp(4.5rem, 6vw, 5.75rem); aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 10px 18px -12px rgba(9, 4, 2, .45); position: relative; }
.doc-row__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc-row__cover::after { content: "PDF"; position: absolute; left: 0; bottom: 0; padding: .15rem .4rem; background: var(--ink-strong); color: var(--white); font-size: .6rem; font-weight: 700; letter-spacing: .1em; }
.doc-row__body { grid-area: body; }
.doc-row__title { margin: 0 0 .5rem; font-size: 1.1rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.doc-row__meta { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.doc-row__cta { grid-area: cta; align-self: end; display: inline-flex; align-items: center; gap: .75rem; margin-top: 1rem; font-size: .78rem; font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink); transition: color .3s var(--ease); }
.doc-row:hover .doc-row__cta { color: var(--gold-dark); }
.doc-row__cta::after { content: ""; width: 1.1rem; height: .75rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M11.5 1 17 6l-5.5 5M17 6H1' fill='none' stroke='%23000' stroke-width='1.3'/%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 18 12'%3E%3Cpath d='M11.5 1 17 6l-5.5 5M17 6H1' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--ease); }
.doc-row:hover .doc-row__cta::after { transform: translateX(4px); }
.docs-help { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 7vw, 8rem); align-items: center; }
.docs-help__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.docs-help__text .eyebrow { margin-bottom: 1.5rem; }
.docs-help__title { margin: 0 0 1.25rem; font-size: var(--fs-h2); font-weight: 400; line-height: 1.12; color: var(--ink); }
.docs-help__facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 1.25rem clamp(1.5rem, 3vw, 3rem); margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.docs-help__fact { margin: 0; color: var(--ink); line-height: 1.5; }
.docs-help__fact span { display: block; margin-bottom: .35rem; font-size: .72rem; font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.docs-help .docs-help__fact a { color: inherit; text-decoration-color: var(--gold); }
@media (max-width: 1100px) { .docs-group { grid-template-columns: 1fr; } .docs-group__head { position: static; } }
@media (max-width: 860px) { .docs-help { grid-template-columns: 1fr; } .docs-help__facts { grid-template-columns: 1fr; } .docs-jump__label { display: none; } }
@media (max-width: 640px) { .doc-list { grid-template-columns: 1fr; } }

/* Projects page (/projects/) */
.projects-label { display: block; margin-bottom: 1.1rem; font-size: var(--fs-label); }
h3.projects-label { margin-top: 0; font-family: var(--sans); font-weight: 700; line-height: 1.5; }
.projects-title { margin: 0; font-size: var(--fs-h2); font-weight: 400; line-height: 1.12; color: var(--ink); }
.projects-section .body-text { color: var(--muted); }
.projects-dark { position: relative; color: rgba(255, 255, 255, .78); background: var(--ink-strong) url("../images/textures/dark-marble.jpg") center / cover; }
.projects-dark .projects-title { color: var(--white); }
.projects-dark .eyebrow { color: var(--gold); }
.projects-light { background: var(--surface); }
.projects-light .projects-head__line { color: var(--muted); }
.section--marble { background: var(--surface); }
.projects-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.projects-head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.projects-head__line { margin: 0; max-width: 32rem; color: rgba(255, 255, 255, .72); }
.projects-light .projects-title { color: var(--ink-strong); }
.projects-head .link-arrow { margin-bottom: .4rem; }
.section:not(.section--surface) + .section:is(.projects-dark, .projects-light, .app-cta):not(.section--tight), .section:is(.projects-dark, .projects-light, .app-cta) + .section:not(.section--surface):not(.section--tight) { padding-top: var(--section); }

/* Projects: hero */
.site-header--overlay ~ main [data-elementor-type] > .hero--collection.projects-hero:first-child { min-height: min(88svh, 48rem); }
.projects-hero .hero__media img { object-position: 70% 50%; }
.projects-hero .hero__media::after { background: linear-gradient(90deg, rgba(9, 4, 2, .9) 0%, rgba(9, 4, 2, .72) 32%, rgba(9, 4, 2, .2) 60%, rgba(9, 4, 2, 0) 78%), linear-gradient(0deg, rgba(9, 4, 2, .45), rgba(9, 4, 2, 0) 35%); }
.hero--collection > .projects-hero__content { align-self: center; padding-top: var(--header-h); }
.projects-hero__title { font-size: clamp(3.5rem, 7.4vw, 7.5rem); line-height: .95; }
.projects-hero__sub { margin: 1.1rem 0 .4rem; font-size: var(--fs-label) !important; font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: rgba(255, 255, 255, .7) !important; }
.projects-hero__line { margin: 0; max-width: 24rem; font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.45; color: var(--white); }
.projects-hero .actions { margin-top: clamp(1.75rem, 3vw, 2.5rem); flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.projects-hero .actions .link-arrow { margin-top: 0; }

/* Projects: approach */
.projects-approach { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 7rem); align-items: end; }
.projects-approach__lede { margin: 0 0 .75rem; font-family: var(--sans); font-size: var(--fs-body); font-weight: 600; line-height: 1.6; color: var(--ink); max-width: 40rem; }
.projects-approach__text .body-text { margin: 0; max-width: 40rem; }

/* Projects: sector cards */
.projects-types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.6rem, 1vw, 1rem); }
.projects-type { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: #000; color: var(--white); }
.projects-type__img, .projects-type__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.projects-type__img img { object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s var(--ease); }
.projects-type__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 4, 2, .92) 0%, rgba(9, 4, 2, .45) 38%, rgba(9, 4, 2, 0) 62%); }
.projects-type:hover .projects-type__img img { transform: scale(1.05); }
.projects-type__body { position: absolute; inset: auto 0 0; padding: clamp(1rem, 1.6vw, 1.5rem); }
.projects-type__num { margin: 0 0 .35rem; font-family: var(--serif); font-size: clamp(1.6rem, 2vw, 2.1rem); line-height: 1; color: var(--gold); }
.projects-type__name { margin: 0; font-weight: 600; font-size: .98rem; line-height: 1.3; color: var(--white); }
.projects-type__text { margin: .5rem 0 0; font-size: .85rem; line-height: 1.5; color: rgba(255, 255, 255, .72); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .6s var(--ease); }
.projects-type:hover .projects-type__text, .projects-type:focus-within .projects-type__text { max-height: 6rem; opacity: 1; }
@media (hover: none) { .projects-type__text { max-height: none; opacity: 1; } }

/* Projects: featured slider */
.projects-featured { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.projects-featured__head .projects-title { margin-bottom: 1.25rem; }
.projects-featured__head .body-text { margin: 0; max-width: 26rem; }
.projects-featured__btn { margin-top: 2rem; }
.projects-featured__head .slider-nav { margin-top: 2rem; }
.projects-featured__head .slider-nav button { width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); }
.projects-featured__head .slider-nav button svg { width: 1.2rem; }
.projects-slider { display: grid; }
.projects-slider > .projects-slide { grid-area: 1 / 1; }
.projects-slider.is-ready > .projects-slide { opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.projects-slider.is-ready > .projects-slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease); }
.projects-slide { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); background: var(--surface); }
.projects-slide__img { aspect-ratio: 4 / 3; overflow: hidden; }
.projects-slide__img img { width: 100%; height: 100%; object-fit: cover; }
.projects-slide__card { display: flex; flex-direction: column; padding: clamp(1.5rem, 2.5vw, 2.5rem); }
.projects-slide__kind { font-size: .72rem; font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold); }
.projects-slide__name { margin: 1rem 0 0; font-size: var(--fs-h3); font-weight: 400; line-height: 1.25; color: var(--ink); }
.projects-slide__place { margin: .75rem 0 0; font-size: .9rem; color: var(--muted); }
.projects-slide__count { margin-top: auto; padding-top: 2rem; align-self: flex-end; font-size: .78rem; letter-spacing: .12em; color: var(--muted); }

/* Projects: process */
.projects-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.projects-step { display: flex; flex-direction: column; align-items: flex-start; padding: 0 clamp(1rem, 2.2vw, 2.25rem); border-left: 1px solid var(--line); }
.projects-step:first-child { padding-left: 0; border-left: 0; }
.projects-step__num { margin: 0 0 1.25rem; font-family: var(--serif); font-size: clamp(2.75rem, 4vw, 4.25rem); line-height: 1; color: var(--gold); }
.projects-step__label { margin: 0 0 .6rem; font-weight: 600; color: var(--ink); }
.projects-step__text { margin: 0; font-size: .95rem; color: var(--muted); flex: 1; }
.projects-step .link-arrow { margin-top: 1.5rem; }

/* Projects: materials */
.projects-materials { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.projects-materials__text .projects-title { margin-bottom: 1.25rem; }
.projects-materials__text .body-text { margin: 0 0 2rem; max-width: 26rem; }
.projects-materials__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.2vw, 1.25rem); }
.projects-material { display: flex; flex-direction: column; background: var(--white); box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .4s var(--ease); }
.projects-material:hover { box-shadow: 0 0 0 1px var(--gold), 0 30px 60px -40px rgba(9, 4, 2, .45); color: var(--ink); }
.projects-material__img { aspect-ratio: 1; overflow: hidden; }
.projects-material__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.projects-material:hover .projects-material__img img { transform: scale(1.05); }
.projects-material__name { margin: 1.1rem 1.1rem .5rem; font-weight: 600; color: var(--ink-strong); }
.projects-material__kinds { position: relative; flex: 1; margin: 0 1.1rem; padding-bottom: 3rem; font-size: .85rem; line-height: 1.7; color: var(--muted); }
.projects-material__kinds::after { content: ""; position: absolute; left: 0; bottom: 1.1rem; width: 1.1rem; height: .75rem; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M11.5 1 17 6l-5.5 5M17 6H1' fill='none' stroke='%23000' stroke-width='1.3'/%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 18 12'%3E%3Cpath d='M11.5 1 17 6l-5.5 5M17 6H1' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--ease); }
.projects-material:hover .projects-material__kinds::after { transform: translateX(4px); }

/* Projects: gallery */
.projects-filters { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.projects-filter { padding: .4rem 0; border-bottom: 1px solid transparent; font-size: .74rem; font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); text-decoration: none; }
.projects-filter:hover { color: var(--ink-strong); }
.projects-filter.is-active { color: var(--ink-strong); border-color: var(--ink-strong); }
.projects-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(11rem, 17vw, 17rem); grid-auto-flow: dense; gap: clamp(.4rem, .7vw, .7rem); }
.projects-gallery__item { display: block; overflow: hidden; background: var(--surface-2); cursor: zoom-in; }
.projects-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(9, 4, 2, .92); color: var(--white); }
.projects-lightbox[open] { display: grid; grid-template: 1fr auto / auto 1fr auto; align-items: center; }
.projects-lightbox::backdrop { background: rgba(9, 4, 2, .6); }
.projects-lightbox__img { grid-area: 1 / 2; justify-self: center; max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; }
.projects-lightbox__caption { grid-area: 2 / 1 / 3 / 4; margin: 0; padding: 1rem 1.5rem 1.5rem; text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.projects-lightbox button { width: 3.5rem; height: 3.5rem; display: grid; place-items: center; color: var(--white); background: none; border: 0; cursor: pointer; }
.projects-lightbox button:hover { color: var(--gold); }
.projects-lightbox button svg { width: 1.9rem; height: 1.3rem; }
.projects-lightbox__prev { grid-area: 1 / 1; }
.projects-lightbox__next { grid-area: 1 / 3; }
.projects-lightbox__close { position: absolute; top: 1rem; right: 1rem; font-size: 2rem; line-height: 1; }
.projects-gallery__item[hidden] { display: none; }
.projects-gallery__item--wide { grid-column: span 2; }
.projects-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.projects-gallery__item:hover img { transform: scale(1.04); }
.projects-gallery__foot { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }

@media (max-width: 1200px) {
	.projects-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.projects-featured, .projects-materials { grid-template-columns: 1fr; }
	.projects-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
	.projects-step:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
	.projects-approach, .projects-head--split { grid-template-columns: 1fr; }
	.projects-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.projects-type:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
	.projects-slide { grid-template-columns: 1fr; }
	.projects-materials__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.projects-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 10rem; }
	.projects-hero .hero__media img { object-position: 75% 50%; }
}
@media (max-width: 560px) {
	.projects-steps { grid-template-columns: 1fr; }
	.projects-step { padding-left: 0; border-left: 0; }
}

/* Testimonials grid */
.review-grid { columns: 3 20rem; column-gap: clamp(1rem, 2vw, 1.75rem); }
.review-card { break-inside: avoid; margin: 0 0 clamp(1rem, 2vw, 1.75rem); padding: clamp(1.5rem, 2.5vw, 2.25rem); background: var(--surface); }
.review-card__stars { color: var(--gold); letter-spacing: .2em; margin: 0 0 1rem; }
.review-card__text { margin: 0 0 1.25rem; font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.review-card figcaption { display: grid; gap: .15rem; }
.review-card__name { font-weight: 700; color: var(--ink-strong); }
.review-card__meta { font-size: .9rem; color: var(--muted); }

/* Inspiration project (single-inspiration.php): photos cross-fade (main.js .hero fader) */
.insp-back { margin-bottom: 1.5rem; }
.insp-detail { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.insp-detail__slides.hero { min-height: 0; background: var(--surface); }
.insp-detail__slide { margin: 0; align-items: stretch; }
.insp-detail__slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--surface); }
.insp-detail__slide figcaption { position: absolute; left: 1rem; bottom: .75rem; }
.insp-detail__slides > .slider-nav { right: 1rem; bottom: auto; top: 1rem; background: rgba(255,255,255,.85); padding: .25rem .5rem; }
.insp-share { display: flex; gap: 1rem; margin-top: 1.5rem; }
.insp-share a { color: var(--ink); }
.insp-share svg { width: 1.25rem; height: 1.25rem; }
@media (max-width: 860px) { .insp-detail { grid-template-columns: 1fr; } }

/* Blog: featured images are 2:1 with the title set in the image; never crop them. */
.post-card__img { aspect-ratio: 2 / 1; }
.post-hero__img img { height: auto; max-height: none; object-fit: contain; }

/* Service-areas hub: links in columns */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); }
.area-row { display: flex; justify-content: space-between; width: 100%; padding: 1.15rem 0; border-bottom: 1px solid var(--line); text-transform: none; letter-spacing: 0; font-size: 1.15rem; }
.area-row:hover { border-bottom-color: var(--ink); }

/* HTML sitemap (WP Sitemap Page plugin) */
.html-sitemap { columns: 3 18rem; column-gap: 3rem; }
.html-sitemap h2 { break-after: avoid; font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold); margin: 2rem 0 .75rem; }
.html-sitemap h2:first-child { margin-top: 0; }
.html-sitemap ul { list-style: none; margin: 0; padding: 0; }
.html-sitemap ul ul { padding-left: 1rem; border-left: 1px solid var(--line); margin: .25rem 0 .5rem; }
.html-sitemap li { padding: .2rem 0; break-inside: avoid; }
.html-sitemap a { color: var(--ink); text-decoration: none; }
.html-sitemap a:hover { color: var(--gold-dark); text-decoration: underline; }

/* ---------- Product pages (porcelain, tile, outdoor tile) ---------- */
/* Hero top: breadcrumbs, "Products" label (h2) and its intro line. */
.split-hero__top { margin-bottom: auto; padding-bottom: 2.5rem; }
.split-hero__top .breadcrumbs { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero-section-label { margin: 0; font-size: var(--fs-label); }
.hero-kicker { margin: .35rem 0 0; font-size: var(--fs-small); font-style: italic; color: var(--muted); }
.split-hero__top + .eyebrow { margin-top: 0; }
@media (max-width: 860px) { .split-hero__top { margin-bottom: 0; padding-bottom: 1.5rem; } }
/* Mosaic hero (porcelain slabs): text beside one large image and two stacked ones. */
.split-hero--mosaic { grid-template-columns: minmax(0, 5fr) minmax(0, 9fr); min-height: min(calc(100vh - var(--header-h)), 54rem); background: var(--white); }
.split-hero--mosaic .split-hero__text { padding-right: clamp(1.5rem, 3.5vw, 4.5rem); }
.split-hero--mosaic .page-hero__title { max-width: 7ch; font-size: clamp(3rem, 5.6vw, 6.25rem); line-height: .98; }
.split-hero--mosaic .lede { font-size: var(--fs-body); line-height: 1.7; color: var(--text); }
.split-hero__mosaic { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: .5rem; padding-left: .5rem; background: var(--white); }
.mosaic-tile { position: relative; overflow: hidden; min-height: 14rem; background: var(--surface-2); }
.mosaic-tile--main { grid-row: span 2; }
.mosaic-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.mosaic-tile:hover img { transform: scale(1.03); }
.mosaic-tile::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(to top, rgba(9, 4, 2, .45), transparent); pointer-events: none; }
.mosaic-tile--light::after { display: none; }
.mosaic-tile__caption { position: absolute; z-index: 1; left: clamp(1rem, 2.2vw, 2.25rem); bottom: clamp(1rem, 2.2vw, 2.25rem); font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--white); line-height: 1.5; }
.mosaic-tile__caption::after { content: ""; display: block; width: 1.75rem; height: 1px; margin-top: .7rem; background: currentColor; opacity: .8; transition: width .4s var(--ease); }
a.mosaic-tile { display: block; text-decoration: none; }
a.mosaic-tile:hover .mosaic-tile__caption::after { width: 3.25rem; }
.mosaic-tile--light .mosaic-tile__caption { top: clamp(1rem, 2.2vw, 2.25rem); bottom: auto; color: var(--ink); }
@media (max-width: 1100px) and (min-width: 861px) { .split-hero--mosaic { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } .split-hero__mosaic { grid-template-columns: 1fr; grid-template-rows: 2fr 1fr; } .mosaic-tile--main { grid-row: auto; } .mosaic-tile:nth-child(3) { display: none; } }
@media (max-width: 860px) { .split-hero--mosaic { grid-template-columns: minmax(0, 1fr); min-height: 0; } .split-hero__mosaic { order: -1; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; padding-left: 0; } .mosaic-tile--main { grid-row: auto; grid-column: span 2; aspect-ratio: 4 / 3; } .mosaic-tile { min-height: 0; aspect-ratio: 1; } .mosaic-tile__caption { font-size: .66rem; letter-spacing: .18em; } }
/* Wide link cards (e.g. Outdoor Tile → Dimensional Stone). */
.cards--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); }
.card--wide .card__img { aspect-ratio: 16 / 10; }
.card--wide .card__title { font-size: var(--fs-h3); font-weight: 400; }
.card--wide .card__title a { text-decoration: none; }
/* A single card reads as a wide row: image left, title right. */
.cards--wide:has(> .card--wide:only-child) { grid-template-columns: 1fr; }
.card--wide:only-child { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(1.5rem, 5vw, 6rem); }
@media (max-width: 760px) { .card--wide:only-child { grid-template-columns: 1fr; } }

/* ==========================================================================
   Rounded media (sitewide, 2026-10-23). Every content image and every
   clipping image wrapper gets the same 9px radius as the slab detail pages
   on modulmarble.com. Full-bleed heroes, background media, lightboxes,
   badges and icons stay square.
   ========================================================================== */
:root { --radius-img: 9px; }
main img, .entry img, .prose img, .mega__card img, .mega__feature img, .site-footer .media img { border-radius: var(--radius-img); }
/* Wrappers that clip or scale their image: the clip itself must be rounded. */
.stone-card__img, .card__img, .category-card__img, .product-card__img, .post-card__img, .post-hero__img, .about-path__img,
.insp-card__img, .insp-card--photo, .app-step__img, .doc-row__cover, .projects-type, .projects-slide__img, .projects-material__img,
.projects-gallery__item, .mosaic-tile, .catalog-card__img, .gallery__item, .media-mosaic img, .media-band, .figure, .media-wide,
.media-split__media, .duo__item, .feature__media > *, .feature__detail, .intro__media > *, .about-expertise__media > img, .docs-help__media,
.opulence__img, .projects-slide__img, .product-gallery__main, .product-gallery__thumbs img, .mega__card, .mega__feature { border-radius: var(--radius-img); overflow: hidden; }
/* Keep square: full-bleed hero/background media, contained lightbox images, icons, badges, logos. */
.hero__media img, .page-hero__media img, .split-hero__media img, .contact-panel__media img, .app-stage__bg img, .film img,
.insp-lightbox img, .product-gallery__lightbox img, .insp-photo__zoom img, .app-badge img, .app-phone img, .icon img, img.icon,
.site-logo img, .logo img, img[src$=".svg"] { border-radius: 0; }
.app-phone img { border-radius: 2.05rem; }
.app-badges--light .app-badge img { border-radius: 8px; }
/* Slab detail pages sit outside <main>: round their gallery, thumbs, related
   lots and details card to match the listing and the ModulAI card. */
.slab-v2 .slab-v2-main, .slab-v2 .slab-v2-related-image-wrap { border-radius: var(--radius-img); overflow: hidden; }
.slab-v2 .slab-v2-thumb { border-radius: 6px; }
.slab-v2 .slab-v2-card { border-radius: .75rem; }

/* Staff-only tool links (SPS, Excel export, Inventory Manager) on slab cards and
   the slab page. Plain <a href> so staff can still right-click and copy them. */
.admin-tools { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.admin-tools:empty { display: none; }
.admin-tool { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .06em; line-height: 1.2; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.admin-tool::after { content: ""; flex: none; width: .7rem; height: .7rem; background: currentColor; opacity: .7; -webkit-mask: var(--admin-tool-icon) center / contain no-repeat; mask: var(--admin-tool-icon) center / contain no-repeat; }
.admin-tool--external { --admin-tool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.5 1.5h6v6M10.5 1.5 1.5 10.5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E"); }
.admin-tool--download { --admin-tool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v7M2.75 5 6 8.25 9.25 5M1.5 11h9' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E"); }
.admin-tool:hover { background: var(--ink-strong); border-color: var(--ink-strong); color: var(--white); }
.admin-tool:hover::after { opacity: 1; }
.admin-tool:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ModulAI cards (slab page and Live Inventory): a soft multicolour glow that
   drifts around the card and breathes, like an assistant thinking. Sits behind
   a position:relative card inside a position:relative wrapper. */
@property --ai-glow-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.ai-glow {
  position: absolute; inset: -3px; z-index: 0; border-radius: calc(.75rem + 3px); pointer-events: none;
  background: conic-gradient(from var(--ai-glow-angle), #4796e3, #9177c7, #ca6673, #e8a35a, #5bb5a2, #4796e3);
  filter: blur(14px); opacity: .55;
  animation: ai-glow-spin 6s linear infinite, ai-glow-breathe 3.2s ease-in-out infinite alternate;
}
@keyframes ai-glow-spin { to { --ai-glow-angle: 360deg; } }
@keyframes ai-glow-breathe { from { opacity: .4; } to { opacity: .75; } }
@media (prefers-reduced-motion: reduce) { .ai-glow { animation: none; } }

/* Live inventory: let the browser skip layout/paint for off-screen slab cards (the full
   list stays in the DOM). */
#slab-viewer .items > .item { content-visibility: auto; contain-intrinsic-size: auto 24rem; }

/* Server-rendered "Browse by stone" index under the viewer (crawlable lot links). */
.slab-index { border-top: 1px solid var(--line); }
.slab-index__intro { max-width: 46rem; margin: 1rem 0 2rem; color: var(--muted); }
.slab-index__groups { columns: 3; column-gap: clamp(1.5rem, 3vw, 3rem); }
.slab-index__group { break-inside: avoid; border-bottom: 1px solid var(--line); }
.slab-index__group > summary { list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; cursor: pointer; }
.slab-index__group > summary::-webkit-details-marker { display: none; }
.slab-index__group > summary:hover .slab-index__name { color: var(--gold-dark); }
.slab-index__name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }
.slab-index__meta { flex: none; font-size: .72rem; font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.slab-index__lots { list-style: none; margin: 0; padding: 0 0 .9rem; }
.slab-index__lots a { display: block; padding: .25rem 0; font-size: .92rem; color: var(--text); text-decoration: none; }
.slab-index__lots a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 1000px) { .slab-index__groups { columns: 2; } }
@media (max-width: 600px) { .slab-index__groups { columns: 1; } }

/* Search results page: Live Inventory matches above the site results. */
.search-stock { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.search-stock .eyebrow { display: flex; align-items: center; gap: .55rem; margin-bottom: 1rem; }
.search-stock__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 0 clamp(2rem, 4vw, 4rem); }
.page-hero .actions .search-form { flex: 1; max-width: 44rem; }

/* Favorites / collections apps: no page hero, the app toolbar heads the page. */
.portal-app { padding-top: clamp(1.5rem, 3vw, 3rem); }
