:root {
  --bg: #f7f5f1;
  --paper: #ffffff;
  --ink: #1d1b18;
  --muted: #6b655c;
  --line: #e4dfd6;
  --accent: #7a5c2e;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 6px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--muted); margin: 0 0 .6em; font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }
.muted { color: var(--muted); font-size: .9rem; }

/* header / footer */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--ink); text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.brand span { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.brand.small { font-size: 1.15rem; display: inline; }
@media (max-width: 560px) { .brand span { display: none; } }
.main-nav { display: flex; gap: 20px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { border-color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 32px 0 48px; }
.site-footer p { margin: 0 0 8px; max-width: 60em; }

main { padding-top: 24px; }
.crumbs { font-size: .85rem; color: var(--muted); margin: 0 0 24px; }
.crumbs a { color: var(--muted); }
.page-head { margin: 8px 0 32px; }
.section-title { margin: 48px 0 20px; }

/* homepage banner */
.banner { position: relative; margin: 0 0 48px; border-radius: var(--radius); overflow: hidden; background: #2a2723; color: #fff; }
.banner-img { margin: 0; }
.banner-img img { width: 100%; height: clamp(420px, 68vh, 640px); object-fit: cover; }
.banner-img figcaption { position: absolute; right: 12px; bottom: 10px; font-size: .75rem; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 18, 15, .82) 0%, rgba(20, 18, 15, .55) 45%, rgba(20, 18, 15, .05) 80%); pointer-events: none; }
.banner-text { position: absolute; z-index: 1; left: 0; bottom: 0; top: 0; display: flex; flex-direction: column; justify-content: center; padding: 28px; max-width: 640px; }
.banner-text .eyebrow { color: rgba(255, 255, 255, .75); }
.banner-text .lead { color: rgba(255, 255, 255, .88); }
@media (max-width: 700px) {
  .banner::after { background: linear-gradient(0deg, rgba(20, 18, 15, .9) 0%, rgba(20, 18, 15, .6) 55%, rgba(20, 18, 15, .15) 100%); }
  .banner-text { justify-content: flex-end; padding: 20px; }
  .banner-img figcaption { right: auto; bottom: auto; left: 14px; top: 12px; max-width: 70%; }
  .banner-text h1 { font-size: 2rem; }
  .banner-text .lead { font-size: 1rem; }
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 999px; font-weight: 500; margin-top: 8px; }
.button:hover { background: var(--accent); color: #fff; }
.banner .button { background: #fff; color: var(--ink); }
.banner .button:hover { background: var(--bg); color: var(--ink); }
.banner .button.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .7); }
.banner .button.ghost:hover { background: rgba(255, 255, 255, .12); }
.slider { position: relative; height: clamp(420px, 68vh, 640px); }
.slider .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.slider .slide.is-active { opacity: 1; }
.dots { position: absolute; z-index: 2; right: 14px; top: 14px; display: flex; gap: 8px; }
.dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .9); background: transparent; cursor: pointer; }
.dot.is-active { background: #fff; }
.banner-img figcaption { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .slider .slide { transition: none; } }
.featured { display: grid; gap: 28px; align-items: center; margin: 56px 0 0; }
@media (min-width: 900px) { .featured { grid-template-columns: 1fr 1fr; gap: 48px; } }
.featured-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.featured p { color: var(--muted); }
.intro-band { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.intro-band p { max-width: 52em; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--ink); background: var(--bg); font-size: .92rem; }
.chip span { color: var(--muted); margin-left: 4px; }
.chip:hover { border-color: var(--accent); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.card { display: block; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(29, 27, 24, .08); color: var(--ink); }
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.card-body { display: block; padding: 14px 16px 16px; }
.card-title { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.card-meta { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }

/* stone page */
.stone-head { margin-bottom: 24px; }
.stone-layout { display: grid; gap: 32px; }
@media (min-width: 900px) { .stone-layout { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); align-items: start; } }
.gallery-main { all: unset; cursor: zoom-in; display: block; width: 100%; }
.gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--line); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 10px; }
.thumb { all: unset; cursor: pointer; display: block; border-radius: 4px; overflow: hidden; outline: 2px solid transparent; outline-offset: 1px; }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumb[aria-current="true"], .thumb:focus-visible { outline-color: var(--accent); }
.facts { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
@media (min-width: 900px) { .facts { position: sticky; top: 88px; } }
.facts h2 { font-size: 1.4rem; }
.facts dl { margin: 0; }
.facts dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 2px 0 0; }
.prose { max-width: 44em; margin-top: 40px; font-size: 1.05rem; }
.prose h2 { margin-top: 1.6em; }
.prose.intro { margin-top: 0; }
.related { margin-top: 64px; }
.summary { color: var(--ink); font-size: 1.12rem; }

/* suppliers */
.suppliers { max-width: 44em; margin-top: 48px; }
.suppliers ul { list-style: none; padding: 0; margin: 0 0 12px; border-top: 1px solid var(--line); }
.suppliers li { display: grid; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .suppliers li { grid-template-columns: 1fr auto; } .sup-link { grid-row: 1 / span 2; grid-column: 2; align-self: center; } }
.sup-name { font-weight: 600; }
.sup-name a { color: var(--ink); }
.sup-meta { color: var(--muted); font-size: .9rem; }
.tag { font-style: normal; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; background: var(--accent); color: #fff; padding: 2px 6px; border-radius: 3px; margin-left: 6px; }
.supplier-list { list-style: none; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.supplier { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.supplier h2 { font-size: 1.5rem; margin-bottom: .2em; }
.supplier p { margin: .4em 0; }

/* faq */
.faq { margin-top: 48px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 8px 0 0; color: var(--muted); }
.updated { margin-top: 24px; }

/* compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.compare { border-collapse: collapse; width: 100%; min-width: 760px; font-size: .95rem; }
.compare caption { text-align: left; padding: 12px 16px; }
.compare th, .compare td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--bg); }

/* lightbox */
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(15, 14, 12, .94); color: #fff; }
.lightbox::backdrop { background: rgba(15, 14, 12, .94); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 24px; }
.lightbox img { max-height: calc(100vh - 120px); width: auto; object-fit: contain; }
.lightbox figcaption { margin-top: 12px; font-size: .9rem; color: #cfc9bf; text-align: center; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; padding: 8px 16px; line-height: 1; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
