/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --bg: #f4f1ec;
  --bg-alt: #ebe6de;
  --surface: #ffffff;
  --ink: #191817;
  --ink-2: #211f1d;
  --ink-3: #2c2926;
  --text: #1e1c1a;
  --muted: #5e584f;
  --line: rgba(25, 24, 23, 0.12);
  --line-strong: rgba(25, 24, 23, 0.24);
  --on-dark: #f3efe8;
  --on-dark-muted: #bdb5a8;
  --line-dark: rgba(243, 239, 232, 0.14);
  --accent: #7a5c30;
  --brass: #c9ae7c;
  --brass-2: #dcc497;
  --focus: #b58a45;
  --focus-dark: #e6c98a;
  --ok: #6f9a6a;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: 16px;
  --radius: 4px;
  --radius-lg: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  --bar-h: 0px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: var(--bar-h);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.section-dark :focus-visible, .site-footer :focus-visible, .mobile-bar :focus-visible { outline-color: var(--focus-dark); }
::selection { background: var(--brass); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

.ico { width: 20px; height: 20px; flex: none; }
.ico-sm { width: 18px; height: 18px; }

/* Type scale */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-dark .eyebrow { color: var(--brass); }

h1, .section h2, .final h2 {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.012em; text-wrap: balance;
}
.section h2 { font-size: clamp(2.25rem, 5.2vw, 3.9rem); line-height: 1.04; max-width: 20ch; }
.section-lead { margin-top: 20px; max-width: 58ch; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.15rem); }
.section-dark .section-lead { color: var(--on-dark-muted); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 600 0.95rem/1.2 var(--sans); letter-spacing: 0.01em; text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 0.9rem; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn-ink { background: var(--ink); color: var(--on-dark); }
.btn-ink:hover { background: var(--ink-3); box-shadow: 0 10px 24px -14px rgba(25,24,23,.6); }
.btn-line { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--ink); background: rgba(25,24,23,.04); }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: var(--brass-2); box-shadow: 0 12px 28px -16px rgba(201,174,124,.7); }
.btn:active { transform: translateY(1px); }
.btn .ico-sm { transition: transform .25s var(--ease); }
.btn:hover .ico-sm { transform: translateX(3px); }
.btn-line:hover .ico-sm { transform: translateY(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 236, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(244, 241, 236, 0.94); box-shadow: 0 8px 24px -20px rgba(25,24,23,.5); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); transition: min-height .3s var(--ease); }
.is-scrolled .header-inner { min-height: 60px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark { width: 30px; height: 30px; flex: none; transition: width .3s var(--ease), height .3s var(--ease); }
.is-scrolled .brand-mark { width: 26px; height: 26px; }
.brand-name {
  font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-top: 2px;
}
.main-nav { display: none; gap: 30px; margin-left: auto; }
.main-nav a { position: relative; text-decoration: none; color: var(--muted); font-size: 0.92rem; font-weight: 500; padding: 8px 0; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button {
  appearance: none; border: 0; background: transparent; color: var(--muted);
  font: 600 0.75rem/1 var(--sans); letter-spacing: 0.1em; min-width: 40px; min-height: 36px;
  padding: 0 10px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s;
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.lang-switch button:hover:not([aria-pressed="true"]) { color: var(--ink); }
.header-call-text { display: none; }
.header-call { width: 42px; padding: 0; }
@media (min-width: 640px) {
  .header-call-text { display: inline; }
  .header-call { width: auto; padding: 0 18px; }
}
@media (min-width: 1040px) {
  .main-nav { display: flex; }
  .header-actions { margin-left: 32px; }
  :root { --header-h: 84px; }
}

/* ==========================================================================
   Stone texture fallbacks (before JS paints)
   ========================================================================== */
.stone { background-color: #222; background-size: cover; background-position: center; }
[data-stone="black-galaxy"] { background-color: #121213; }
[data-stone="nero-assoluto"] { background-color: #101011; }
[data-stone="steel-grey"] { background-color: #55575b; }
[data-stone="kashmir-white"] { background-color: #e2ddd5; }
[data-stone="viscont-white"] { background-color: #d9d7d3; }
[data-stone="bianco-carrara"] { background-color: #e4e3e0; }
[data-stone="nero-marquina"] { background-color: #1c1c1e; }
[data-stone="crema-marfil"] { background-color: #dccab0; }
[data-stone="kvarts-hvit"] { background-color: #f1efeb; }
[data-stone="kvarts-calacatta"] { background-color: #eeebe6; }
[data-stone="kvarts-betong"] { background-color: #a5a29c; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 40px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(2.5rem, 9vw, 4.9rem); line-height: 1; max-width: 15ch; color: var(--ink);
}
.lead { margin-top: 26px; font-size: clamp(1.06rem, 1.8vw, 1.22rem); color: var(--muted); max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cta-row .btn { flex: 1 1 240px; }
.fine { margin-top: 18px; font-size: 0.9rem; color: var(--muted); }

.hero-slabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slab { position: relative; display: grid; gap: 10px; }
.slab-face {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius);
  box-shadow: 0 30px 50px -36px rgba(25,24,23,.55), inset 0 0 0 1px rgba(25,24,23,.06);
  overflow: hidden;
}
.slab-face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.16) 46%, rgba(255,255,255,0) 60%);
}
.slab figcaption { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.hero-facts {
  margin: 56px 0 0; display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--line);
}
.hero-facts > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.hero-facts dt { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; color: var(--ink); font-weight: 500; }
.hero-facts dd { margin: 0; color: var(--muted); font-size: 0.95rem; }

@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
  .hero-slabs { gap: 14px; align-items: end; }
  .slab:nth-child(1) .slab-face { aspect-ratio: 3 / 6.2; }
  .slab:nth-child(2) .slab-face { aspect-ratio: 3 / 7.2; }
  .slab:nth-child(3) .slab-face { aspect-ratio: 3 / 5.4; }
  .cta-row .btn { flex: 0 0 auto; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .hero-facts > div { display: block; border-bottom: 0; padding: 26px 28px 26px 0; }
  .hero-facts > div + div { border-left: 1px solid var(--line); padding-left: 28px; }
  .hero-facts dd { margin-top: 6px; }
}


/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 88px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-head { margin-bottom: 48px; }
@media (min-width: 900px) {
  .section { padding: 136px 0; }
  .section-head { margin-bottom: 64px; }
}

/* ==========================================================================
   Visualizer
   ========================================================================== */
.vz { padding-top: 80px; }
.vz .section-head { display: grid; gap: 0; }
@media (min-width: 900px) {
  .vz { padding-top: 120px; }
  .vz .section-head { grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: end; }
  .vz .section-head .eyebrow { grid-column: 1 / -1; justify-self: start; }
  .vz .section-head .section-lead { margin-top: 0; }
}
.vz-stage {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3; background: #e9e4dc;
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.9);
}
@media (min-width: 700px) { .vz-stage { aspect-ratio: 16 / 10; } }
.vz-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.vz-layer { transition: opacity .7s var(--ease); }
.vz-layer:not(.is-on) { opacity: 0; }
.vz-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .7s var(--ease);
}
.vz-img[hidden] { display: none; }
.vz-img.is-active { opacity: 1; z-index: 2; }
.vz-img.was-active { opacity: 1; z-index: 1; transition: none; }
.vz-art { transition: opacity .4s var(--ease); }
.vz-stage.has-photo .vz-art { opacity: 0; }
.vz-stage.is-loading::after {
  content: ""; position: absolute; right: 16px; top: 16px; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid rgba(25,24,23,.2); border-top-color: var(--ink); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.vz-badge {
  position: absolute; left: 14px; top: 14px;
  background: rgba(244,241,236,.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--muted); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px;
}
.vz-stage.has-photo .vz-badge { display: none; }

.vz-bar { display: grid; gap: 22px; padding: 28px 0 34px; border-bottom: 1px solid var(--line-dark); }
.vz-cap-type { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.vz-cap-name { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; margin-top: 6px; }
.vz-cap-desc { margin-top: 8px; color: var(--on-dark-muted); max-width: 52ch; }
.vz-cta { justify-self: stretch; }
.vz-cta > span { text-align: left; }
@media (min-width: 760px) {
  .vz-bar { grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
  .vz-cta { justify-self: end; }
}

.vz-picker { border: 0; margin: 0; padding: 30px 0 0; min-width: 0; }
.vz-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 18px 10px; }
@media (min-width: 1100px) { .vz-chips { grid-template-columns: repeat(11, 1fr); gap: 12px; } }
.vz-chip {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 4px; cursor: pointer; padding: 4px 2px; border-radius: var(--radius); min-width: 0;
}
.vz-chip[hidden] { display: none; }
.vz-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.vz-swatch {
  position: relative; width: 60px; height: 60px; border-radius: 50%; margin-bottom: 8px;
  box-shadow: 0 0 0 1px rgba(243,239,232,.18);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.vz-swatch::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid var(--brass); opacity: 0; transform: scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.vz-chip:hover .vz-swatch { transform: translateY(-2px); }
.vz-chip input:checked ~ .vz-swatch::after { opacity: 1; transform: scale(1); }
.vz-chip input:focus-visible ~ .vz-swatch { outline: 2px solid var(--focus-dark); outline-offset: 8px; }
.vz-name { font-size: 0.82rem; font-weight: 600; line-height: 1.25; color: var(--on-dark-muted); transition: color .2s; overflow-wrap: anywhere; }
.vz-chip input:checked ~ .vz-name, .vz-chip:hover .vz-name { color: var(--on-dark); }
.vz-type { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8f877b; }
@media (min-width: 700px) { .vz-swatch { width: 68px; height: 68px; } }

/* ==========================================================================
   Stones
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 36px; }
.filter {
  appearance: none; cursor: pointer; min-height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  font: 600 0.88rem/1 var(--sans); letter-spacing: 0.02em; transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

.stones { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: 1fr; }
.stone-card {
  background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line), 0 20px 40px -36px rgba(25,24,23,.45);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  animation: cardIn .45s var(--ease) both;
}
.stone-card[hidden] { display: none; }
.stone-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 30px 50px -34px rgba(25,24,23,.5); }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.swatch { position: relative; aspect-ratio: 4 / 3; }
.swatch::after, .compare-swatch::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.12) 48%, rgba(255,255,255,0) 62%),
              linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.08));
}
.stone-body { padding: 22px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.stone-type { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.stone-card h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1.1; color: var(--ink); }
.stone-card h3 .alt { font-size: 1.05rem; color: var(--muted); }
.stone-body > p:not(.stone-type) { color: var(--muted); font-size: 0.96rem; }
.stone-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.tag { font-size: 0.82rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.tag-soft::before { background: var(--brass); }
.try {
  appearance: none; border: 0; background: none; cursor: pointer; padding: 10px 0; min-height: 44px;
  font: 600 0.84rem/1 var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong);
  transition: text-decoration-color .2s;
}
.try:hover { text-decoration-color: var(--ink); }
.try[hidden] { display: none; }
@media (min-width: 600px) { .stones { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stones { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1200px) { .stones { grid-template-columns: repeat(4, 1fr); } }

.stone-more { margin-top: 36px; max-width: 70ch; color: var(--muted); }
.stone-more a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.versus { margin-top: 72px; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.versus article { padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.versus-no { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.1rem; }
.versus h3 { font-family: var(--serif); font-size: 2rem; font-weight: 500; margin-top: 4px; color: var(--ink); }
.versus article > p:last-child { margin-top: 10px; color: var(--muted); }
@media (min-width: 860px) {
  .versus { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .versus article { border-bottom: 0; padding: 36px 36px 40px 0; }
  .versus article + article { border-left: 1px solid var(--line); padding-left: 36px; }
}

/* ==========================================================================
   Services + bathroom
   ========================================================================== */
.services-top { display: grid; gap: 8px; }
.bath { margin-bottom: 48px; }
.bath-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: #e9e4dc; }
.bath-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.bath-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bath-media img[hidden] { display: none; }
.bath figcaption { display: grid; gap: 6px; margin-top: 18px; color: var(--muted); font-size: 0.98rem; max-width: 52ch; }
.bath-title { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
@media (min-width: 900px) {
  .services-top { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .bath { margin-bottom: 72px; }
}

.services { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.services li { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.services h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; color: var(--ink); line-height: 1.15; }
.services p { margin-top: 8px; color: var(--muted); font-size: 0.97rem; }
@media (min-width: 640px) {
  .services { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
}
@media (min-width: 1040px) {
  .services { grid-template-columns: repeat(4, 1fr); column-gap: 40px; }
  .services li { padding: 32px 0 36px; }
}

/* ==========================================================================
   Price
   ========================================================================== */
.price-grid { display: grid; gap: 48px; }
.price-grid .section-head { margin-bottom: 0; }
.why { margin-top: 28px; max-width: 60ch; display: grid; gap: 16px; }
.why-note { color: var(--muted); font-size: 0.97rem; border-left: 2px solid var(--brass); padding-left: 16px; }
.price-cta { margin-top: 34px; }
.compare { display: grid; gap: 16px; align-content: start; }
.compare-card { border-radius: var(--radius-lg); padding: 28px; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.compare-card h3 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.factors { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.factors li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; min-width: 0; }
.factors li::before { content: ""; width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg); flex: none; }
.compare-ours { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: 0; display: grid; }
.compare-swatch { position: relative; height: 96px; }
.compare-body { padding: 26px 28px 30px; }
.compare-ours h3 { color: var(--brass); }
.compare-big { font-family: var(--serif); font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1.06; margin-top: 10px; }
.compare-note { margin-top: 10px; color: var(--on-dark-muted); font-size: 0.95rem; }
@media (min-width: 640px) {
  .compare-ours { grid-template-columns: 120px 1fr; }
  .compare-swatch { height: auto; }
}
@media (min-width: 1000px) {
  .price-grid { grid-template-columns: 1.05fr 0.95fr; gap: 80px; align-items: start; }
  .compare { position: sticky; top: 100px; }
}

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.steps li { counter-increment: step; position: relative; padding: 26px 0 28px 64px; border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 24px;
  font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--accent); line-height: 1;
}
.steps h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; line-height: 1.15; color: var(--ink); }
.steps p { margin-top: 8px; color: var(--muted); font-size: 0.97rem; }
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
  .steps li { padding: 76px 28px 36px 0; border-bottom: 0; }
  .steps li + li { border-left: 1px solid var(--line); padding-left: 28px; }
  .steps li + li::before { left: 28px; }
  .steps li::before { top: 32px; font-size: 2rem; }
}

/* ==========================================================================
   Form
   ========================================================================== */
.form-wrap { display: grid; gap: 40px; }
.form-direct { margin-top: 22px; color: var(--on-dark-muted); }
.form-direct a { color: var(--brass-2); font-weight: 600; white-space: nowrap; }
.quote {
  display: grid; gap: 20px; grid-template-columns: 1fr;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 22px;
}
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 0.85rem; font-weight: 600; color: var(--on-dark); padding: 0; letter-spacing: 0.01em; }
.field legend { margin-bottom: 8px; }
input[type="text"], input[type="tel"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--radius);
  background: var(--ink); color: var(--on-dark); border: 1px solid rgba(243,239,232,0.2);
  font: 400 1rem/1.4 var(--sans); transition: border-color .2s;
}
input[type="text"]:hover, input[type="tel"]:hover, select:hover, textarea:hover { border-color: rgba(243,239,232,0.38); }
textarea { resize: vertical; min-height: 116px; }
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9ae7c' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px;
}
select optgroup { color: #111; background: #fff; }
select option { color: #111; background: #fff; }
input::placeholder, textarea::placeholder { color: #8f887d; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus-dark); outline-offset: 1px; border-color: transparent; }
input[aria-invalid="true"] { border-color: #e38a7a; }
select.is-flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,174,124,0); } 25% { box-shadow: 0 0 0 4px rgba(201,174,124,.55); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 0 14px; border-radius: 999px; border: 1px solid rgba(243,239,232,0.2);
  background: var(--ink); cursor: pointer; font-size: 0.93rem; user-select: none; color: var(--on-dark);
  transition: border-color .2s, background-color .2s;
}
.field .chip { padding: 0 18px 0 14px; gap: 10px; font-size: 0.93rem; font-weight: 500; }
.chip input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 18px; height: 18px; margin: 0; border: 1.5px solid rgba(243,239,232,0.45);
  border-radius: 5px; background: transparent; display: grid; place-content: center; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.chip input[type="radio"] { border-radius: 50%; }
.chip input:checked { background: var(--brass); border-color: var(--brass); }
.chip input[type="checkbox"]:checked::after {
  content: ""; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}
.chip input[type="radio"]:checked::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.chip:has(input:checked) { border-color: var(--brass); background: rgba(201,174,124,0.12); }
.chip:has(input:focus-visible) { outline: 2px solid var(--focus-dark); outline-offset: 2px; }
.photo-hint { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark-muted); font-size: 0.93rem; background: rgba(201,174,124,0.08); border-radius: var(--radius); padding: 12px 14px; }
.photo-hint .ico { color: var(--brass); margin-top: 2px; }
.form-error { color: #f0a597; font-weight: 600; }
.form-actions { display: grid; gap: 14px; }
.form-actions .btn { width: 100%; }
.mail-link { color: var(--brass-2); text-align: center; font-size: 0.93rem; overflow-wrap: anywhere; }
.form-done { border: 1px solid var(--brass); border-radius: var(--radius); padding: 14px 16px; background: rgba(201,174,124,0.1); display: grid; gap: 6px; color: var(--on-dark); }
.form-done a { color: var(--brass-2); }
.privacy { font-size: 0.82rem; color: #9d968a; }
@media (min-width: 640px) {
  .quote { grid-template-columns: 1fr 1fr; padding: 34px; gap: 22px; }
  .field-wide { grid-column: 1 / -1; }
  .form-actions { grid-template-columns: auto 1fr; align-items: center; }
  .form-actions .btn { width: auto; }
  .mail-link { text-align: left; }
}
@media (min-width: 1040px) {
  .form-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
  .form-intro { position: sticky; top: 110px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; gap: 0; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 56px 24px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.6rem); font-weight: 500; line-height: 1.25; color: var(--ink);
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); opacity: 0; }
.faq summary:hover { color: var(--accent); }
.faq-a p { padding: 0 0 26px; color: var(--muted); max-width: 64ch; }
.faq details[open] .faq-a { animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 1000px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
  .faq-grid .section-head { position: sticky; top: 110px; }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final { position: relative; isolation: isolate; color: var(--text); text-align: center; overflow: hidden; }
.final-bg { position: absolute; inset: 0; z-index: -2; }
.final-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(244,241,236,0.88) 0%, rgba(244,241,236,0.6) 70%, rgba(244,241,236,0.4) 100%); }
.final-inner { padding-top: 104px; padding-bottom: 104px; }
.final h2 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); line-height: 1.04; max-width: 18ch; margin: 0 auto; color: var(--ink); }
.final p { margin: 22px auto 0; max-width: 54ch; color: #3f3a33; font-size: 1.08rem; }
.final .btn-line { background: rgba(255,255,255,.45); }
.cta-center { justify-content: center; }
@media (min-width: 900px) { .final-inner { padding-top: 150px; padding-bottom: 150px; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 72px 0 28px; font-size: 0.95rem; }
.site-footer .brand { color: var(--on-dark); }
.site-footer .brand-mark { color: var(--brass); width: 34px; height: 34px; }
.site-footer .brand-name { font-size: 1.7rem; }
.footer-top { display: grid; gap: 16px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-tag { max-width: 40ch; font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; color: var(--on-dark); }
.footer-grid { display: grid; gap: 32px; padding-top: 40px; }
.footer-h { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; font-weight: 600; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-list a, .footer-legal a { color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; display: inline-block; padding: 6px 0; }
.footer-list a:hover, .footer-legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { line-height: 1.8; }
.footer-legal a { padding: 0; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 0.82rem; color: #8e877c; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.to-top { color: var(--on-dark-muted); text-underline-offset: 4px; padding: 8px 0; }
@media (min-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; align-items: end; }
  .footer-tag { justify-self: end; text-align: right; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Mobile sticky bar
   ========================================================================== */
.mobile-bar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; grid-template-columns: auto 1fr 1fr; gap: 6px; padding: 6px;
  background: rgba(25,24,23,0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-dark); border-radius: 999px;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.6);
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.js .mobile-bar { transform: translateY(140%); opacity: 0; }
.js .mobile-bar.is-visible { transform: none; opacity: 1; }
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.92rem;
}
.mb-call { color: var(--on-dark); width: 48px; padding: 0; }
.mb-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mb-quote { color: var(--on-dark); border: 1px solid rgba(243,239,232,.25); }
.mb-wa { background: var(--brass); color: var(--ink); }
body { --bar-h: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { --bar-h: 0px; }
}

/* ==========================================================================
   Scroll reveal (only with JS + motion allowed)
   ========================================================================== */
.reveal-on .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-on .reveal { opacity: 1; transform: none; }
}

@media (max-width: 400px) {
  .header-inner { gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-name { font-size: 1.2rem; letter-spacing: 0.12em; }
  .header-actions { gap: 6px; }
  .lang-switch button { min-width: 36px; padding: 0 8px; }
}


/* ------------------------------------------------------------------
   Visualizer: photo + stone picker in one frame
   ------------------------------------------------------------------ */
.vz-app { display: grid; grid-template-areas: "stage" "picker" "bar"; }
.vz-stage { grid-area: stage; }
.vz-picker { grid-area: picker; }
.vz-bar { grid-area: bar; }
.vz-app { scroll-margin-top: calc(var(--header-h) + 8px); }

@media (max-width: 999px) {
  .vz-stage { aspect-ratio: 4 / 3; max-height: 48svh; width: 100%; }
  .vz-picker { padding: 14px 0 0; margin: 0 calc(var(--gutter) * -1); }
  .vz-chips {
    display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity;
    padding: 6px var(--gutter) 8px; scrollbar-width: none;
  }
  .vz-chips::-webkit-scrollbar { display: none; }
  .vz-chip { flex: 0 0 74px; scroll-snap-align: start; }
  .vz-swatch { width: 50px; height: 50px; margin-bottom: 4px; }
  .vz-name { font-size: 0.74rem; }
  .vz-type { display: none; }
  .vz-bar { padding: 12px 0 8px; gap: 12px; border-bottom: 0; }
  .vz-cap-type { display: none; }
  .vz-cap-name { font-size: 1.7rem; margin-top: 0; }
  .vz-cap-desc { margin-top: 4px; font-size: 0.95rem; }
  .vz-cta { min-height: 52px; }
}

@media (min-width: 1000px) {
  .vz-app {
    grid-template-areas: "stage bar" "stage picker";
    grid-template-columns: minmax(0, 1fr) 340px;
    grid-template-rows: auto 1fr;
    column-gap: 40px; align-items: start;
  }
  .vz-stage {
    aspect-ratio: 3 / 2; width: 100%;
    max-height: calc(100svh - var(--header-h) - 64px);
    align-self: center;
  }
  .vz-bar { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 0 0 22px; align-items: start; }
  .vz-cta { justify-self: stretch; }
  .vz-cap-name { font-size: 2.2rem; }
  .vz-cap-desc { font-size: 0.98rem; }
  .vz-picker { padding: 22px 0 0; border-top: 1px solid var(--line-dark); }
  .vz-chips { grid-template-columns: repeat(4, 1fr); gap: 14px 6px; }
  .vz-swatch { width: 52px; height: 52px; margin-bottom: 4px; }
  .vz-name { font-size: 0.74rem; }
  .vz-type { font-size: 0.6rem; }
}

/* Price card: real stone photo instead of the generated strip */
.compare-photo {
  background: #141414 url("assets/visualizer/stone-black-galaxy.jpg") center / cover no-repeat;
}
.compare-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(25,24,23,0) 55%, rgba(25,24,23,.85));
}
@media (max-width: 639px) {
  .compare-photo { height: 110px; }
  .compare-photo::after { background: linear-gradient(180deg, rgba(25,24,23,0) 50%, rgba(25,24,23,.9)); }
}
@media (min-width: 640px) { .compare-ours { grid-template-columns: 150px 1fr; } }

/* Visualizer: fixed caption/CTA heights so switching stones never moves the layout */
.vz-cap-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vz-cap-desc {
  line-height: 1.55; min-height: 3.1em;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.vz-cta { min-height: 68px; line-height: 1.3; }
@media (min-width: 1000px) {
  .vz-stage { align-self: start; }
  .vz-cta { min-height: 76px; }
}


/* Form: keep labels on top when a neighbour field is taller */
.field { align-content: start; }

/* Photo upload */
.upload-label { font-size: 0.85rem; font-weight: 600; color: var(--on-dark); letter-spacing: 0.01em; }
.drop {
  display: flex; align-items: center; gap: 14px; cursor: pointer;
  border: 1.5px dashed rgba(201,174,124,0.45); border-radius: var(--radius);
  background: rgba(201,174,124,0.06); padding: 18px 18px; color: var(--on-dark-muted);
  transition: border-color .2s, background-color .2s;
}
.drop:hover, .drop.is-over { border-color: var(--brass); background: rgba(201,174,124,0.12); }
.drop:focus-within { outline: 2px solid var(--focus-dark); outline-offset: 2px; }
.drop .ico { width: 28px; height: 28px; color: var(--brass); flex: none; }
.drop-text { display: grid; gap: 2px; font-size: 0.9rem; line-height: 1.45; }
.drop-text strong { color: var(--on-dark); font-weight: 600; font-size: 0.95rem; }
.thumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: #111; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs button {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0;
  background: rgba(25,24,23,.8); color: #fff; font-size: 15px; line-height: 24px; cursor: pointer; padding: 0;
}
.upload-note { font-size: 0.85rem; color: var(--brass-2); }


/* Cutout options with photos */
.cuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 520px) { .cuts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cut {
  position: relative; display: grid; grid-template-rows: auto 1fr; cursor: pointer;
  border: 1px solid rgba(243,239,232,0.18); border-radius: 14px; overflow: hidden;
  background: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.cut:hover { border-color: rgba(201,174,124,0.6); }
.cut img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; display: block; transition: opacity .2s; opacity: .82; }
.cut:hover img { opacity: 1; }
.cut-name { padding: 10px 12px 12px 12px; font-size: 0.85rem; font-weight: 500; line-height: 1.3; color: var(--on-dark); }
.cut input {
  position: absolute; top: 10px; left: 10px; z-index: 1; margin: 0;
  appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,.85); background: rgba(25,24,23,.45);
  display: grid; place-content: center; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.cut input:checked { background: var(--brass); border-color: var(--brass); }
.cut input:checked::after {
  content: ""; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}
.cut:has(input:checked) { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass); }
.cut:has(input:checked) img { opacity: 1; }
.cut:has(input:focus-visible) { outline: 2px solid var(--focus-dark); outline-offset: 2px; }
