/* ==========================================================================
   Aviran StoneXperts — main stylesheet
   ========================================================================== */

:root {
  --ink: #14171b;
  --ink-2: #1d2733;
  --ink-3: #2a3542;
  --sand: #b48c55;
  --sand-2: #d6bb8c;
  --sand-3: #efe2c9;
  --cream: #f4eee4;
  --paper: #faf7f2;
  --white: #ffffff;
  --muted: #6f6a62;
  --muted-light: rgba(255, 255, 255, .62);
  --line: rgba(20, 23, 27, .12);
  --line-light: rgba(255, 255, 255, .14);

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 84px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 30px 60px -30px rgba(20, 23, 27, .35);
  --shadow-sm: 0 12px 30px -16px rgba(20, 23, 27, .3);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
main, footer { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--sand); color: var(--white); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }
h1, h2, h3, h4, .step__num, .stat strong, .stone-meta strong { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
h1 { font-size: clamp(2.8rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
h4 { font-size: 1.35rem; }
em, .italic { font-style: italic; color: var(--sand); }
.section--dark em { color: var(--sand-2); }
p { color: var(--muted); }
.section--dark p { color: var(--muted-light); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.75; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .74rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--sand);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section--tight { padding: clamp(60px, 7vw, 100px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--white); }
.section--navy { background: var(--ink-2); color: var(--white); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 72px); max-width: 760px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.section-head--split {
  max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px;
}
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--sand); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px; border-radius: 100px; overflow: hidden; isolation: isolate; white-space: nowrap;
  background: var(--bg); color: var(--fg);
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transition: color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ink); transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: var(--shadow-sm); }
.btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { --bg: var(--white); --fg: var(--ink); }
.btn--light:hover { color: var(--white); }
.btn--light::before { background: var(--sand); }
.btn--outline { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn--outline::before { background: var(--sand); }
.btn--outline:hover { color: var(--white); box-shadow: inset 0 0 0 1px var(--sand); }
.section--dark .btn::before, .page-hero .btn::before, .hero .btn::before { background: var(--white); }
.section--dark .btn:not(.btn--outline):hover, .hero .btn:not(.btn--outline):hover { color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--sand); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--ink);
  display: grid; place-items: center; transition: transform 1s var(--ease-in-out) .1s;
}
.preloader__inner { display: grid; justify-items: center; gap: 26px; }
.preloader img { width: 150px; opacity: 0; transform: translateY(14px); animation: preIn 1s var(--ease) .15s forwards; }
.preloader__bar { width: 160px; height: 1px; background: var(--line-light); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--sand); transform-origin: left; animation: preBar 1.3s var(--ease-in-out) forwards; }
.preloader.is-done { transform: translateY(-100%); }
.preloader.is-done .preloader__inner { opacity: 0; transition: opacity .4s; }
@keyframes preIn { to { opacity: 1; transform: none; } }
@keyframes preBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* page transition */
.page-shutter {
  position: fixed; inset: 0; z-index: 999; background: var(--ink); pointer-events: none;
  transform: translateY(100%); transition: transform .7s var(--ease-in-out);
}
.page-shutter.is-active { transform: translateY(0); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; color: var(--white);
  transition: background .5s var(--ease), color .5s var(--ease), height .5s var(--ease), box-shadow .5s, transform .6s var(--ease);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.header__logo { position: relative; display: block; width: 92px; flex-shrink: 0; }
.header__logo img { width: 100%; transition: opacity .4s; }
.header__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  position: relative; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 8px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--sand);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--sand-2); }
.header__cta { display: flex; align-items: center; gap: 22px; }
.header__phone { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; letter-spacing: .04em; }
.header__phone svg { width: 16px; height: 16px; color: var(--sand); }
.header .btn { padding: 13px 22px; font-size: .72rem; }
.header.is-scrolled, .header.is-light {
  background: rgba(250, 247, 242, .9); color: var(--ink);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-scrolled { height: 70px; }
.header.is-scrolled .logo-light, .header.is-light .logo-light { opacity: 0; }
.header.is-scrolled .logo-dark, .header.is-light .logo-dark { opacity: 1; }
.header.is-scrolled .nav a.is-active, .header.is-light .nav a.is-active { color: var(--sand); }
.header.is-hidden { transform: translateY(-100%); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; padding: 110px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 46px) 42px); transition: clip-path .9s var(--ease-in-out);
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 42px); }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--f-display); font-size: clamp(2.4rem, 10vw, 3.6rem); line-height: 1.2;
  opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease), color .3s;
}
.mobile-menu nav a:hover, .mobile-menu nav a.is-active { color: var(--sand-2); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .25s; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .35s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .4s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .45s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .5s; }
.mobile-menu__foot { margin-top: 48px; display: grid; gap: 6px; color: var(--muted-light); font-size: .95rem; }
.mobile-menu__foot a { color: var(--white); }
.menu-open .header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .header .logo-light { opacity: 1; }
.menu-open .header .logo-dark { opacity: 0; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; opacity: .16;
  background: url("../img/stones/black-basalt-thermal-brushed.jpg") center / 520px repeat;
  mix-blend-mode: luminosity;
}
.hero__glow {
  position: absolute; z-index: 0; width: 70vw; height: 70vw; right: -20vw; top: -20vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 140, 85, .28), transparent 62%);
  animation: glow 12s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-8vw, 10vw) scale(1.1); } }
.hero .container { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(30px, 5vw, 80px); padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
.hero__title { font-size: clamp(3rem, 6.6vw, 6.4rem); margin: 26px 0 30px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.is-ready .hero__title .line > span { transform: none; }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.hero__title .line:nth-child(3) > span { transition-delay: .24s; }
.hero__text { max-width: 520px; margin-bottom: 40px; }
.hero__fade { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease) .55s, transform 1.2s var(--ease) .55s; }
.hero__fade--2 { transition-delay: .7s; }
.hero__fade--3 { transition-delay: .85s; }
.is-ready .hero__fade { opacity: 1; transform: none; }

.hero__visual { position: relative; height: min(68vh, 640px); }
.hero__frame {
  position: absolute; overflow: hidden; border-radius: 220px 220px 18px 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  clip-path: inset(100% 0 0 0 round 220px 220px 18px 18px); transition: clip-path 1.6s var(--ease-in-out);
}
.is-ready .hero__frame { clip-path: inset(0 0 0 0 round 220px 220px 18px 18px); }
.hero__frame--main { inset: 0 12% 0 14%; }
.hero__frame--small { width: 38%; height: 42%; left: -2%; bottom: -4%; border-radius: 18px; clip-path: inset(100% 0 0 0 round 18px); transition-delay: .35s; border: 6px solid var(--ink); }
.is-ready .hero__frame--small { clip-path: inset(0 round 18px); }
.hero__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.4s ease, transform 7s linear; }
.hero__frame img.is-active { opacity: 1; transform: scale(1); }
.hero__badge {
  position: absolute; right: 0; top: 10%; width: 132px; height: 132px; border-radius: 50%;
  background: var(--sand); color: var(--white); display: grid; place-items: center; z-index: 3;
  opacity: 0; transform: scale(.6); transition: opacity .8s .9s, transform 1.2s var(--ease) .9s;
}
.is-ready .hero__badge { opacity: 1; transform: none; }
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge text { font-size: 8.4px; letter-spacing: 2.6px; fill: var(--white); font-weight: 700; text-transform: uppercase; }
.hero__badge strong { font-family: var(--f-display); font-size: 2.2rem; font-weight: 500; line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__caption {
  position: absolute; right: 2%; bottom: 6%; z-index: 3; padding: 14px 18px; border-radius: 12px;
  background: rgba(20, 23, 27, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; display: flex; gap: 10px; align-items: center;
}
.hero__caption i { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 4px rgba(180, 140, 85, .3); }

.hero__strip { position: relative; z-index: 2; border-top: 1px solid var(--line-light); }
.hero__meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: .82rem; color: var(--muted-light); }
.hero__meta a:hover { color: var(--sand-2); }
.scroll-cue { display: flex; align-items: center; gap: 12px; letter-spacing: .2em; text-transform: uppercase; font-size: .7rem; }
.scroll-cue span { width: 1px; height: 36px; background: var(--line-light); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; inset: 0; background: var(--sand); animation: cue 2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; background: var(--sand); color: var(--white); display: flex; user-select: none; }
.marquee--dark { background: var(--ink-2); }
.marquee__track { display: flex; flex-shrink: 0; align-items: center; gap: 40px; padding-right: 40px; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-style: italic; white-space: nowrap; }
.marquee__track b { width: 10px; height: 10px; transform: rotate(45deg); background: currentColor; opacity: .55; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="fade"] { transform: none; }
[data-reveal].is-in { opacity: 1; transform: none; }
.reveal-img { position: relative; overflow: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-in-out); transition-delay: var(--d, 0s); }
.reveal-img img { transform: scale(1.25); transition: transform 2s var(--ease); transition-delay: var(--d, 0s); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }
.reveal-img.is-in img { transform: scale(1); }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.split-words.is-in .w > span { transform: none; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding: 0 12% 18% 0; }
.about__img-main { border-radius: var(--radius); aspect-ratio: 4 / 5; }
.about__img-main img { width: 100%; height: 100%; object-fit: cover; }
.about__img-sub { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border-radius: var(--radius); border: 8px solid var(--paper); box-shadow: var(--shadow); }
.about__img-sub img { width: 100%; height: 100%; object-fit: cover; }
.about__tag {
  position: absolute; left: -18px; top: 12%; z-index: 2; background: var(--ink); color: var(--white);
  padding: 18px 22px; border-radius: 14px; box-shadow: var(--shadow); display: grid; gap: 2px;
}
.about__tag small { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand-2); }
.about__tag strong { font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; }
.about__body { display: grid; gap: 26px; }
.about__body h2 { margin-top: -6px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 8px 0 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: .95rem; }
.checks svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--sand); margin-top: 1px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(60px, 8vw, 100px); }
.stat { padding: 34px 24px 0 0; display: grid; gap: 8px; }
.stat + .stat { padding-left: 26px; border-left: 1px solid var(--line); }
.stat strong { font-family: var(--f-display); font-size: clamp(2.8rem, 5vw, 4.4rem); font-weight: 500; line-height: 1; color: var(--ink); }
.stat strong sup { font-size: .45em; color: var(--sand); vertical-align: top; margin-left: 2px; }
.stat > span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 38px 30px 34px; border-radius: var(--radius); background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-light); overflow: hidden; transition: background .5s, transform .6s var(--ease), border-color .5s;
}
.step:hover { background: rgba(180, 140, 85, .12); transform: translateY(-8px); border-color: rgba(180, 140, 85, .4); }
.step__num { font-family: var(--f-display); font-size: 4.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(214, 187, 140, .6); margin-bottom: 30px; display: block; }
.step__icon { position: absolute; right: 26px; top: 34px; width: 44px; height: 44px; color: var(--sand-2); opacity: .8; }
.step h4 { font-family: var(--f-display); font-size: 1.7rem; margin-bottom: 12px; color: var(--white); }
.step p { font-size: .94rem; }

/* ---------- Stone explorer (home) ---------- */
.explorer { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.explorer__list { display: grid; }
.explorer__item {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 18px; text-align: left;
  padding: 16px 4px; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), color .3s;
}
.explorer__item:first-child { border-top: 1px solid var(--line); }
.explorer__swatch { width: 52px; height: 52px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transition: transform .5s var(--ease); }
.explorer__name { font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.1; }
.explorer__name small { display: block; font-family: var(--f-body); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.explorer__count { font-size: .78rem; color: var(--muted); font-weight: 600; letter-spacing: .08em; }
.explorer__item:hover, .explorer__item.is-active { padding-left: 16px; }
.explorer__item.is-active .explorer__name { color: var(--sand); font-style: italic; }
.explorer__item.is-active .explorer__swatch, .explorer__item:hover .explorer__swatch { transform: scale(1.12) rotate(-8deg); }
.explorer__stage { position: sticky; top: 110px; }
.explorer__view { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: var(--cream); box-shadow: var(--shadow); }
.explorer__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s ease, transform 1.6s var(--ease); }
.explorer__view img.is-leaving { opacity: 0; transform: scale(1.06); }
.explorer__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 30px 26px; background: linear-gradient(transparent, rgba(10, 12, 14, .82)); color: var(--white); display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.explorer__info h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.explorer__info p { color: rgba(255, 255, 255, .78); font-size: .9rem; max-width: 380px; margin-top: 6px; }
.explorer__chips { display: flex; gap: 10px; margin-top: 18px; overflow: hidden; }
.explorer__chip { flex: 1; aspect-ratio: 1; border-radius: 12px; overflow: hidden; position: relative; }
.explorer__chip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.explorer__chip:hover img { transform: scale(1.1); }
.explorer__chip span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 7px; font-size: .62rem; font-weight: 700; letter-spacing: .06em; color: var(--white); background: linear-gradient(transparent, rgba(0, 0, 0, .7)); line-height: 1.2; }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.benefit { padding: 40px 26px; text-align: center; display: grid; justify-items: center; gap: 14px; transition: background .5s; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit__icon { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--sand); transition: background .5s, color .5s, transform .6s var(--ease); }
.benefit__icon svg { width: 32px; height: 32px; }
.benefit:hover { background: var(--paper); }
.benefit:hover .benefit__icon { background: var(--sand); color: var(--white); transform: rotate(-12deg) scale(1.06); }
.benefit h4 { font-family: var(--f-body); font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.benefit p { font-size: .88rem; line-height: 1.6; }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); color: var(--white); isolation: isolate; }
.product-card--wide { grid-column: span 2; aspect-ratio: auto; }
.product-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.product-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 12, 14, 0) 35%, rgba(10, 12, 14, .88)); transition: opacity .6s; }
.product-card:hover img { transform: scale(1.08); }
.product-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; display: grid; gap: 8px; }
.product-card__num { position: absolute; top: 24px; left: 28px; font-size: .74rem; letter-spacing: .2em; font-weight: 700; color: var(--sand-2); }
.product-card h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.product-card p { color: rgba(255, 255, 255, .72); font-size: .9rem; line-height: 1.55; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .5s; }
.product-card:hover p { max-height: 120px; opacity: 1; }
.product-card__arrow { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .4s, transform .6s var(--ease); }
.product-card__arrow svg { width: 18px; height: 18px; transform: rotate(-45deg); transition: transform .5s var(--ease); }
.product-card:hover .product-card__arrow { background: var(--sand); }
.product-card:hover .product-card__arrow svg { transform: rotate(0); }

/* ---------- Boulder band ---------- */
.band { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.band__bg { position: absolute; inset: -15% 0; z-index: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 16, 19, .95) 0%, rgba(14, 16, 19, .6) 55%, rgba(14, 16, 19, .2)); }
.band .container { position: relative; z-index: 2; }
.band__content { max-width: 600px; display: grid; gap: 24px; }
.band p { color: rgba(255, 255, 255, .75); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line-light); font-size: .82rem; font-weight: 600; letter-spacing: .04em; transition: background .4s, border-color .4s, color .4s; }
.tag-list li:hover { background: var(--sand); border-color: var(--sand); }
.tag-list--dark li { border-color: var(--line); background: var(--white); }
.tag-list--dark li:hover { color: var(--white); }

/* ---------- Gallery / masonry ---------- */
.masonry { columns: 4 260px; column-gap: 18px; }
.masonry__item { position: relative; display: block; margin-bottom: 18px; border-radius: 14px; overflow: hidden; break-inside: avoid; cursor: zoom-in; background: var(--cream); }
.masonry__item img { width: 100%; transition: transform 1.2s var(--ease), filter .6s; }
.masonry__item::after { content: ""; position: absolute; inset: 0; background: rgba(20, 23, 27, .35); opacity: 0; transition: opacity .5s; }
.masonry__item .zoom-ico { position: absolute; z-index: 2; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; transform: scale(.4); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.masonry__item .zoom-ico svg { width: 20px; height: 20px; }
.masonry__item:hover img { transform: scale(1.06); }
.masonry__item:hover::after { opacity: 1; }
.masonry__item:hover .zoom-ico { transform: scale(1); opacity: 1; }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden; padding: clamp(50px, 8vw, 100px) clamp(26px, 6vw, 90px); background: var(--ink-2); color: var(--white); display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -1; opacity: .3; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--ink-2) 30%, rgba(29, 39, 51, .55)); }
.cta h2 { margin: 18px 0 16px; }
.cta p { color: rgba(255, 255, 255, .72); max-width: 540px; }
.cta__actions { display: grid; gap: 14px; justify-items: end; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact__cards { display: grid; gap: 16px; margin-top: 34px; }
.info-card { display: flex; gap: 18px; padding: 22px 24px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease), box-shadow .5s; }
.info-card:hover { border-color: var(--sand); transform: translateX(6px); box-shadow: var(--shadow-sm); }
.info-card__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--cream); color: var(--sand); display: grid; place-items: center; flex-shrink: 0; }
.info-card__ico svg { width: 22px; height: 22px; }
.info-card small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.info-card strong, .info-card a { font-weight: 600; font-size: 1rem; line-height: 1.5; }
.info-card a:hover { color: var(--sand); }
.form { background: var(--white); border-radius: calc(var(--radius) + 4px); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form h3 { margin-bottom: 8px; }
.form > p { margin-bottom: 30px; font-size: .95rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: grid; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 22px 18px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
  outline: none; transition: border-color .3s, background .3s, box-shadow .3s; font-size: .96rem; appearance: none; -webkit-appearance: none;
}
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b48c55' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.field textarea { min-height: 130px; resize: vertical; }
.field label { position: absolute; left: 19px; top: 17px; font-size: .92rem; color: var(--muted); pointer-events: none; transition: all .3s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sand); background: var(--white); box-shadow: 0 0 0 4px rgba(180, 140, 85, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 7px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--sand); }
.form .btn { margin-top: 22px; width: 100%; justify-content: center; }
.form__note { margin-top: 14px; font-size: .8rem; text-align: center; }
.map { margin-top: clamp(50px, 6vw, 80px); border-radius: var(--radius); overflow: hidden; height: 420px; border: 1px solid var(--line); filter: grayscale(.4) contrast(1.05); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--white); padding-top: clamp(70px, 9vw, 120px); position: relative; overflow: hidden; }
.footer__big { font-family: var(--f-display); font-size: clamp(3rem, 10vw, 9.5rem); line-height: .95; letter-spacing: -.02em; margin-bottom: clamp(50px, 7vw, 90px); }
.footer__big a { display: inline-flex; align-items: center; gap: .25em; transition: color .4s; }
.footer__big a:hover { color: var(--sand-2); }
.footer__big svg { width: .55em; height: .55em; transition: transform .6s var(--ease); }
.footer__big a:hover svg { transform: rotate(45deg); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer__brand img { width: 120px; margin-bottom: 18px; }
.footer__brand p { font-size: .92rem; max-width: 300px; }
.footer h5 { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-2); margin-bottom: 20px; }
.footer ul { display: grid; gap: 10px; }
.footer li, .footer li a { color: rgba(255, 255, 255, .72); font-size: .94rem; transition: color .3s, padding .4s var(--ease); }
.footer li a:hover { color: var(--white); padding-left: 6px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.socials a:hover { background: var(--sand); border-color: var(--sand); transform: translateY(-4px); }
.socials svg { width: 17px; height: 17px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 26px 0 30px; font-size: .82rem; color: rgba(255, 255, 255, .5); }
.footer__note { font-size: .78rem; color: rgba(255, 255, 255, .45); max-width: 720px; }

/* ---------- Floating ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .5s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: ping 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }
.to-top {
  position: fixed; right: 30px; bottom: 96px; z-index: 90; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease), background .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--sand); }
.to-top svg { width: 18px; height: 18px; }
.to-top circle { fill: none; stroke: var(--sand-2); stroke-width: 2; stroke-dasharray: 126; stroke-dashoffset: var(--p, 126); transition: stroke-dashoffset .1s; }
.to-top .ring { position: absolute; inset: -3px; width: 50px; height: 50px; transform: rotate(-90deg); }

.cursor { position: fixed; top: 0; left: 0; z-index: 2000; pointer-events: none; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--sand); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s; mix-blend-mode: normal; opacity: 0; }
.cursor.is-visible { opacity: 1; }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(180, 140, 85, .22); border: 1px solid var(--sand); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1500; background: rgba(12, 14, 17, .96); display: grid; grid-template-rows: 1fr auto; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 70px 90px 20px; min-height: 0; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 40px 100px rgba(0, 0, 0, .5); transform: scale(.94); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.lightbox__img.is-loaded { transform: none; opacity: 1; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px var(--gutter) 26px; color: var(--white); }
.lightbox__cap { font-family: var(--f-display); font-size: 1.5rem; }
.lightbox__cap small { display: block; font-family: var(--f-body); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand-2); }
.lightbox__count { font-size: .82rem; letter-spacing: .16em; color: rgba(255, 255, 255, .6); }
.lb-btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--white); border: 1px solid var(--line-light); transition: background .3s, border-color .3s; z-index: 2; }
.lb-btn:hover { background: var(--sand); border-color: var(--sand); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 18px; right: 22px; }
.lb-prev { left: 22px; top: 50%; margin-top: -27px; }
.lb-next { right: 22px; top: 50%; margin-top: -27px; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; padding: calc(var(--header-h) + 60px) 0 clamp(50px, 7vw, 90px); }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 115%; object-fit: cover; opacity: .5; transform: scale(1.1); animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14, 16, 19, .5), rgba(14, 16, 19, .25) 40%, rgba(14, 16, 19, .9)); }
.page-hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.page-hero h1 { margin: 20px 0 0; }
.page-hero p { color: rgba(255, 255, 255, .78); }
.crumbs { display: flex; gap: 10px; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.crumbs a:hover { color: var(--sand-2); }
.crumbs span { color: var(--sand-2); }

/* ---------- Sticky sub-nav (tabs) ---------- */
.subnav { position: sticky; top: 70px; z-index: 50; transition: top .6s var(--ease); background: rgba(250, 247, 242, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-hidden .subnav { top: 0; }
.subnav__track { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.subnav__track::-webkit-scrollbar { display: none; }
.subnav a, .chip {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; padding: 9px 18px 9px 10px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--white); font-size: .82rem; font-weight: 600; white-space: nowrap;
  transition: background .35s, color .35s, border-color .35s;
}
.subnav a i { width: 24px; height: 24px; border-radius: 50%; background-size: cover; background-position: center; }
.subnav a.no-dot { padding-left: 18px; }
.subnav a:hover { border-color: var(--sand); }
.subnav a.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Collection page ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.chip { padding: 9px 18px; cursor: pointer; }
.chip:hover { border-color: var(--sand); }
.chip.is-active { background: var(--sand); color: var(--white); border-color: var(--sand); }
.filter-label { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-right: 6px; }

.stone-block { padding: clamp(70px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.stone-block:nth-child(even) { background: var(--cream); }
.stone-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: center; margin-bottom: clamp(40px, 6vw, 70px); }
.stone-block:nth-child(even) .stone-head__media { order: 2; }
.stone-head__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.stone-head__media img { width: 100%; height: 100%; object-fit: cover; }
.stone-head__tone { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 100px; background: rgba(255, 255, 255, .92); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.stone-head__tone i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.stone-head__body { display: grid; gap: 20px; }
.stone-head__body h2 span { display: block; font-size: .42em; font-style: italic; color: var(--sand); margin-top: 8px; }
.stone-meta { display: flex; flex-wrap: wrap; gap: 28px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stone-meta div { display: grid; gap: 2px; }
.stone-meta small { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.stone-meta strong { font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; }
.mini-benefits { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-benefits li { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 100px; background: var(--white); border: 1px solid var(--line); font-size: .78rem; font-weight: 600; }
.mini-benefits svg { width: 15px; height: 15px; color: var(--sand); }

.finish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.finish { position: relative; border-radius: 14px; overflow: hidden; background: var(--white); border: 1px solid var(--line); cursor: zoom-in; text-align: left; transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .5s; }
.finish:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.finish__img { aspect-ratio: 4 / 3; overflow: hidden; }
.finish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.finish:hover .finish__img img { transform: scale(1.12); }
.finish__body { padding: 14px 16px 16px; }
.finish__body strong { display: block; font-size: .96rem; font-weight: 700; }
.finish__body span { font-size: .78rem; color: var(--muted); }
.finish.is-dim { opacity: .18; }
.finish.is-match { box-shadow: 0 0 0 2px var(--sand), var(--shadow-sm); }
.stone-block.is-empty { display: none; }

.disclaimer { display: flex; gap: 16px; align-items: flex-start; padding: 22px 26px; border-radius: 14px; background: var(--white); border: 1px dashed rgba(180, 140, 85, .6); font-size: .88rem; }
.disclaimer svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--sand); }
.disclaimer p { color: var(--ink-3); }

/* ---------- Product detail page ---------- */
.p-block { padding: clamp(70px, 9vw, 120px) 0; scroll-margin-top: 130px; }
.p-block:nth-child(even) { background: var(--cream); }
.p-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.p-block:nth-child(even) .p-gallery { order: 2; }
.p-gallery { position: sticky; top: 150px; display: grid; gap: 12px; }
.p-gallery__main { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); cursor: zoom-in; }
.p-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform 1.2s var(--ease); }
.p-gallery__main:hover img { transform: scale(1.04); }
.p-gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
.p-gallery__thumbs button { aspect-ratio: 1; border-radius: 10px; overflow: hidden; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .3s, outline-color .3s; background: var(--white); }
.p-gallery__thumbs button.is-active, .p-gallery__thumbs button:hover { opacity: 1; }
.p-gallery__thumbs button.is-active { outline-color: var(--sand); }
.p-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.p-gallery__thumbs img.contain { object-fit: contain; padding: 4px; }
.p-info { display: grid; gap: 24px; }
.p-info h2 small { display: block; font-family: var(--f-body); font-size: .74rem; font-weight: 700; letter-spacing: .28em; color: var(--sand); text-transform: uppercase; margin-bottom: 14px; }
.spec { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.spec__row { display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid var(--line); }
.spec__row:last-child { border-bottom: 0; }
.spec__row dt { padding: 16px 20px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted); background: var(--paper); display: flex; align-items: center; }
.spec__row dd { padding: 14px 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-weight: 600; font-size: .95rem; }
.pill { padding: 6px 13px; border-radius: 8px; background: var(--sand-3); font-size: .85rem; font-weight: 600; white-space: nowrap; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare > div { padding: 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.compare h5 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); margin-bottom: 6px; }
.compare p { font-size: .9rem; }
.note { font-size: .86rem; padding-left: 16px; border-left: 2px solid var(--sand); }

.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-top: 44px; }
.design { position: relative; border-radius: 14px; overflow: hidden; background: var(--white); border: 1px solid var(--line); cursor: zoom-in; text-align: left; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.design:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.design__img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.design__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s, transform 1.2s var(--ease); }
.design__img img + img { opacity: 0; transform: scale(1.08); }
.design:hover .design__img img + img { opacity: 1; transform: none; }
.design__img--sq { aspect-ratio: 1; }
.design__img--white { background: var(--white); }
.design__img--white img { object-fit: contain; padding: 10px; }
.design__body { padding: 12px 14px 14px; font-weight: 700; font-size: .9rem; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.design__body small { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); font-weight: 700; }
.design__hint { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 4px 10px; border-radius: 100px; background: rgba(20, 23, 27, .6); color: var(--white); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }

.cut-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cut-row figure { background: var(--white); border-radius: 14px; border: 1px solid var(--line); padding: 14px; display: grid; place-items: center; aspect-ratio: 1.2; }
.cut-row img { max-height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.cut-row figure:hover img { transform: scale(1.08) rotate(-3deg); }

/* ---------- Projects page ---------- */
.apps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.app-card { padding: 30px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; gap: 12px; transition: transform .6s var(--ease), box-shadow .6s, border-color .4s; }
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sand); }
.app-card svg { width: 36px; height: 36px; color: var(--sand); }
.app-card h4 { font-family: var(--f-display); font-size: 1.55rem; }
.app-card p { font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .hero .container { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 30px); }
  .hero__visual { height: 58vh; max-width: 560px; width: 100%; margin: 0 auto; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .benefit:nth-child(4) { border-left: 0; }
  .benefit:nth-child(n+4) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section-head--split, .about, .explorer, .contact, .cta, .page-hero .container, .stone-head, .p-grid { grid-template-columns: 1fr; }
  .stone-block:nth-child(even) .stone-head__media, .p-block:nth-child(even) .p-gallery { order: 0; }
  .p-gallery, .explorer__stage { position: relative; top: 0; }
  .explorer__stage { order: -1; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .product-card--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .cta__actions { justify-items: start; }
  .cut-row { grid-template-columns: repeat(2, 1fr); }
  .page-hero { min-height: 70vh; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(40px); }
  .header__cta .btn { display: none; }
  .hero__visual { height: 50vh; }
  .hero__badge { width: 104px; height: 104px; }
  .hero__badge strong { font-size: 1.7rem; }
  .hero__meta > :not(.scroll-cue) { display: none; }
  .products, .process, .apps-grid { grid-template-columns: 1fr; }
  .product-card--wide { grid-column: auto; aspect-ratio: 4 / 5; }
  .product-card p { max-height: none; opacity: 1; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit { border-left: 0 !important; border-top: 1px solid var(--line); }
  .benefit:nth-child(-n+2) { border-top: 0; }
  .benefit:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .benefit:last-child { grid-column: 1 / -1; }
  .checks, .form__grid, .compare { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .spec__row { grid-template-columns: 1fr; }
  .spec__row dt { padding: 10px 16px; }
  .finish-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .design-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .masonry__item { margin-bottom: 10px; }
  .lightbox__stage { padding: 70px 12px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; margin: 0; width: 46px; height: 46px; }
  .lb-prev { left: auto; right: 78px; }
  .lb-next { right: 20px; }
  .lightbox__bar { padding-right: 140px; }
  .about__tag { left: 0; }
  .explorer__chips, .hero__caption, .explorer__info p { display: none; }
  .explorer__info { padding: 60px 20px 20px; }
  .explorer__info .btn { padding: 12px 18px; font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .reveal-img { opacity: 1; transform: none; clip-path: none; }
}
