:root {
  --gold: #a07a3a;
  --gold-soft: #c9b08a;
  --taupe: #b0a089;
  --teal: #30cdc5;
  --ink: #1b1b1b;
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --serif-text: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }

/* Header */
.site-header {
  position: relative;
  background: #f6f6f5 url("images/marble-header.jpg") center / cover no-repeat;
  min-height: 170px;
  padding: 60px 16px 14px;
  text-align: center;
}
.brand { display: inline-flex; flex-direction: column; align-items: center; color: var(--gold); text-decoration: none; }
.brand__mark { width: 34px; height: auto; margin-bottom: 4px; margin-top: -26px; }
.brand__name {
  font-family: var(--serif);
  font-variant: small-caps;
  font-weight: 500;
  font-size: clamp(1.25rem, 5.6vw, 2.1rem);
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
}
.menu-btn {
  position: absolute; top: 18px; right: 16px;
  width: 44px; height: 44px; padding: 10px 4px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: none; border: 0; cursor: pointer;
}
.menu-btn span { display: block; height: 3px; background: var(--gold); border-radius: 2px; }
.menu-btn:focus-visible, .carousel__arrow:focus-visible, .btn:focus-visible, .dots button:focus-visible, .carousel__track:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.site-nav {
  position: absolute; z-index: 10; top: 100%; right: 0; left: 0;
  background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.12);
  display: flex; flex-direction: column;
}
.site-nav[hidden] { display: none; }
.site-nav a { padding: 16px 24px; color: var(--gold); text-decoration: none; font-family: var(--serif); font-size: 1.25rem; border-top: 1px solid #eee; }

/* Band */
.band { background: var(--taupe); color: #fff; padding: 8px 12px; }
.band ul { display: flex; justify-content: center; align-items: center; font-family: Arial, Helvetica, sans-serif; font-size: clamp(1rem, 4.4vw, 1.5rem); }
.band li + li::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #e6d9c3; margin: 0 .9em; vertical-align: middle;
}

/* Hero */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 960 / 952; min-height: 340px;
  padding: 24px 5% 24px;
  background:
    linear-gradient(180deg, rgba(20,15,10,.45) 0%, rgba(20,15,10,.1) 55%, rgba(20,15,10,.15) 100%),
    url("images/hero-interior.jpg") center / cover no-repeat;
}
.hero__title {
  margin: 0; max-width: 11ch;
  font-family: var(--serif-text); font-weight: 400; color: #fff;
  font-size: clamp(2rem, 8.4vw, 4.75rem); line-height: 1.12;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.btn {
  display: inline-block; text-decoration: none; border-radius: 999px; text-align: center;
  font-family: var(--sans); font-weight: 700; text-transform: uppercase;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn--teal {
  align-self: flex-end; background: var(--teal); color: #12343a;
  letter-spacing: .18em; font-size: clamp(.85rem, 3.4vw, 1.15rem);
  padding: .95em 2.4em; margin-right: -1%;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}

/* Slabs */
.slabs { padding: 24px 0 36px; text-align: center; }
.slabs h2 {
  margin: 0 16px 16px; font-family: var(--serif-text); font-weight: 500;
  font-size: clamp(1.15rem, 5vw, 2rem); letter-spacing: .14em; text-transform: uppercase;
}
.carousel { position: relative; max-width: 1200px; margin: 0 auto; }
.carousel__track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 4.2%; scroll-padding: 0 4.2%; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.slide {
  position: relative; flex: 0 0 83%; scroll-snap-align: start;
  aspect-ratio: 795 / 346; border-radius: 6px; overflow: hidden; background: #ddd;
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide__label {
  position: absolute; top: 9%; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.95); color: #6b5530; white-space: nowrap;
  font-family: var(--serif-text); font-size: clamp(.8rem, 3.6vw, 1.2rem);
  padding: .4em 1.4em; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: #5a4a2c; font-size: 1.5rem; line-height: 1; padding: 0 0 3px;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.carousel__arrow--prev { left: 2%; }
.carousel__arrow--next { right: 2%; }
.carousel__arrow[disabled] { cursor: default; }

/* Marble placeholders (no source crop was usable for these slabs) */
.slide--ph { background-color: #e9e7e4; }
.slide--calacatta { background:
  linear-gradient(115deg, transparent 38%, rgba(190,150,70,.55) 40%, transparent 42%),
  linear-gradient(60deg, transparent 55%, rgba(80,80,85,.45) 56.5%, transparent 58.5%),
  linear-gradient(135deg, #f4f3f1, #dcdad6); }
.slide--statuario { background:
  linear-gradient(70deg, transparent 30%, rgba(110,110,115,.4) 31%, transparent 32.5%),
  linear-gradient(125deg, transparent 62%, rgba(140,140,145,.35) 63%, transparent 64.5%),
  linear-gradient(135deg, #fafaf9, #e6e5e3); }
.slide--marquina { background:
  linear-gradient(105deg, transparent 45%, rgba(255,255,255,.75) 46%, transparent 47.2%),
  linear-gradient(40deg, transparent 20%, rgba(255,255,255,.5) 21%, transparent 22%),
  linear-gradient(135deg, #1c1c1e, #0d0d0e); }
.slide--arabescato { background:
  linear-gradient(80deg, transparent 25%, rgba(70,70,75,.45) 27%, transparent 29%),
  linear-gradient(150deg, transparent 50%, rgba(120,120,125,.4) 52%, transparent 54%),
  linear-gradient(135deg, #f1f0ee, #d9d7d3); }
.slide--bianco { background:
  linear-gradient(100deg, transparent 40%, rgba(150,150,155,.35) 41%, transparent 42.5%),
  linear-gradient(135deg, #f7f7f6, #e3e2df); }
.slide--marquina .slide__label { color: #3a2d14; }

.dots { display: flex; justify-content: center; gap: 10px; margin: 18px 0 20px; }
.dots button {
  width: 13px; height: 13px; padding: 0; border: 0; border-radius: 999px;
  background: #ddd3c3; cursor: pointer; transition: width .25s, background .25s;
}
.dots button[aria-selected="true"] { width: 40px; background: var(--gold); }

.btn--gold {
  background: var(--gold); color: #fff; letter-spacing: .14em;
  font-size: clamp(.8rem, 3.2vw, 1.1rem); padding: 1.05em 2.8em;
  width: min(82%, 560px);
}

/* Desktop */
@media (min-width: 900px) {
  .site-header { min-height: 190px; padding-top: 52px; }
  .brand__mark { width: 44px; height: auto; margin-top: -24px; }
  .brand__name { font-size: 2.6rem; }
  .menu-btn { top: 36px; right: 48px; width: 52px; height: 52px; padding: 12px 4px; }
  .band { padding: 12px; }
  .band ul { font-size: 1.4rem; }
  .hero { aspect-ratio: auto; min-height: 640px; padding: 72px max(6%, calc((100% - 1200px) / 2)); justify-content: center; gap: 40px; }
  .hero__title { max-width: 14ch; font-size: clamp(3.5rem, 5.6vw, 5.5rem); }
  .btn--teal { align-self: flex-start; margin: 0; font-size: 1.05rem; }
  .slabs { padding: 64px 0 80px; }
  .slabs h2 { font-size: 2.2rem; margin-bottom: 32px; }
  .carousel__track { padding: 0 24px; scroll-padding: 0 24px; gap: 20px; }
  .slide { flex-basis: calc((100% - 40px - 48px) / 3); }
  .slide__label { font-size: 1.05rem; }
  .carousel__arrow { width: 48px; height: 48px; font-size: 1.9rem; }
  .carousel__arrow--prev { left: -24px; }
  .carousel__arrow--next { right: -24px; }
  .btn--gold { width: auto; font-size: 1rem; padding: 1.1em 3.2em; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Mobile — matches mockup (960px reference width => 1vw = 9.6px) */
@media (max-width: 720px) {
  .site-header { min-height: 0; height: 40.6vw; padding: 16.1vw 0 0; }
  .brand__mark { width: 11vw; height: 14.6vw; object-fit: contain; margin: 0 0 1.4vw; }
  .brand__name { font-size: 5.9vw; letter-spacing: .03em; }
  .menu-btn { top: 17.2vw; right: 4.3vw; width: 9.4vw; height: 7.2vw; padding: 0; }
  .menu-btn span { height: .75vw; border-radius: 1vw; }

  .band { height: 9.9vw; padding: 0 3vw; display: flex; align-items: center; justify-content: center; }
  .band ul { font-size: 4.5vw; }
  .band li + li::before { width: 1.7vw; height: 1.7vw; margin: 0 2.4vw; }

  .hero {
    display: block; aspect-ratio: 960 / 952; min-height: 0; padding: 0;
    background: url("images/hero-mobile.jpg") center / 100% 100% no-repeat;
  }
  .hero__title {
    position: absolute; left: 5%; top: 15.5%; max-width: 62%;
    font-size: 9.9vw; line-height: 1.1; letter-spacing: -.005em;
    text-shadow: 0 .2vw 1.4vw rgba(0,0,0,.35);
  }
  .btn--teal {
    position: absolute; left: 62.5%; top: 65.8%; width: 33.9%; height: 11.2%;
    display: flex; align-items: center; justify-content: center;
    margin: 0; padding: 0; font-size: 3vw; letter-spacing: .17em; box-shadow: none;
  }

  .slabs { padding: 2.8vw 0 4vw; }
  .slabs h2 { margin: 0 2vw 3.2vw; font-size: 4.5vw; line-height: 1.2; letter-spacing: .1em; }
  .carousel__track { gap: 6vw; }
  .slide { flex-basis: 83%; aspect-ratio: 793 / 346; border-radius: .8vw; }
  .slide__label { top: 6%; font-size: 3vw; padding: .5em 1.6em; box-shadow: none; }
  .carousel__arrow { width: 8vw; height: 8vw; font-size: 4.4vw; padding: 0 0 .5vw; }
  .carousel__arrow--prev { left: 2.3%; }
  .carousel__arrow--next { right: 2.3%; }
  .dots { gap: 1.6vw; margin: 2.2vw 0 2.4vw; }
  .dots button { width: 1.7vw; height: 1.7vw; }
  .dots button[aria-selected="true"] { width: 5.4vw; }
  .btn--gold { width: 55.4%; font-size: 2.75vw; letter-spacing: .15em; padding: 0; height: 9vw; line-height: 9vw; }
}
