/* ==========================================================================
   Vihaan Creations: landing page
   Design tokens, then base, components, sections, responsive.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/CormorantGaramond-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/CormorantGaramond-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #faf6f0;
  --bg-sand: #f0e9de;
  --ink: #1d1b18;
  --ink-2: #3a362f;
  --muted: #6f685d;
  --line: rgba(29, 27, 24, 0.12);
  --gold: #b8964a;
  --wine: #8c2f39;
  --white: #fff;

  --r-xl: 36px;
  --r-lg: 26px;
  --r-md: 18px;
  --pill: 999px;

  --wrap: 1320px;
  --gutter: clamp(14px, 2.6vw, 36px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill); z-index: 100; }
.skip:focus { left: 12px; }

/* ----- type ----- */
.serif {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  font-size: 1.08em;
}
.display {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.h2 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.025em;
  max-width: 18ch;
  text-wrap: balance;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); }
.eyebrow--light { color: rgba(255, 255, 255, 0.82); }
.small-copy { font-size: 0.9rem; line-height: 1.65; color: var(--muted); max-width: 38ch; }
.small-copy--wide { max-width: 52ch; margin-top: 18px; font-size: 1rem; }
.note { margin-top: 20px; font-size: 0.82rem; color: var(--muted); }

section { padding-block: clamp(40px, 5.5vw, 72px); }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 7px 7px 7px 26px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.005em; white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn__ico {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 1.05rem;
  transition: transform 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__ico { transform: scale(1.08) rotate(8deg); }
.btn--sm { padding: 5px 5px 5px 20px; gap: 14px; font-size: 0.85rem; }
.btn--sm .btn__ico { width: 32px; height: 32px; font-size: 0.95rem; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark .btn__ico { background: #fff; color: var(--ink); }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light .btn__ico { background: var(--ink); color: #fff; }
.btn--ghost-light { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost-light .btn__ico { background: rgba(255, 255, 255, 0.22); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.26); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline .btn__ico { background: var(--ink); color: #fff; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--outline:hover .btn__ico { background: #fff; color: var(--ink); }

.round-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; font-size: 1.1rem;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, opacity 0.3s;
}
.round-btn:hover:not(:disabled) { transform: scale(1.07); }
.round-btn:disabled { opacity: 0.35; cursor: default; }
.round-btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }

.link { font-size: 0.85rem; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: border-color 0.3s; }
.link:hover { border-color: var(--ink); }

/* ----- AI-illustration tags ----- */
.ai-tag {
  position: absolute; z-index: 5;
  padding: 5px 12px; border-radius: var(--pill);
  background: rgba(20, 18, 15, 0.5); color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.06em; line-height: 1.3;
  pointer-events: auto;
}
.ai-tag--sm { top: 14px; right: 14px; font-size: 0.6rem; padding: 4px 10px; }

/* ----- reveal on scroll ----- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav {
  pointer-events: auto;
  margin-inline: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 9px 9px 9px 24px;
  background: rgba(250, 246, 240, 0.74);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--pill);
  transition: box-shadow 0.4s, background 0.4s;
}
.site-header.is-scrolled .nav { background: rgba(250, 246, 240, 0.9); box-shadow: 0 10px 40px rgba(29, 27, 24, 0.12); }
.nav__logo img { height: 32px; width: auto; }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 38px); font-size: 0.86rem; font-weight: 500; color: var(--ink-2); }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links .nav__quote { display: none; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; place-items: center; font-size: 1.3rem; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding-block: 12px 0; margin-bottom: clamp(10px, 1.4vw, 18px); }
.hero__card {
  position: relative; overflow: hidden;
  height: clamp(620px, 88vh, 880px);
  border-radius: var(--r-xl);
  background: #2a2520;
  isolation: isolate;
}
.hero__slides, .hero__shade { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 9s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade { background:
  linear-gradient(90deg, rgba(14, 11, 8, 0.72) 0%, rgba(14, 11, 8, 0.38) 42%, rgba(14, 11, 8, 0.05) 78%),
  linear-gradient(0deg, rgba(14, 11, 8, 0.55) 0%, transparent 48%); }

.hero__copy { position: absolute; z-index: 3; left: clamp(24px, 4.2vw, 64px); bottom: clamp(36px, 5vw, 68px); width: min(760px, calc(100% - 360px)); color: #fff; text-shadow: 0 1px 18px rgba(14, 11, 8, 0.35); }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.07; font-weight: 400; letter-spacing: -0.028em; text-wrap: balance; }
.hero__sub { margin-top: 22px; max-width: 46ch; font-size: clamp(0.92rem, 1.1vw, 1.02rem); color: rgba(255, 255, 255, 0.84); }
.ai-tag--hero { top: 100px; right: 24px; }
.hero__dots { position: absolute; z-index: 4; right: clamp(22px, 3vw, 44px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.hero__dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.45); transition: background 0.3s, height 0.3s var(--ease); }
.hero__dots button.is-active { background: #fff; height: 26px; border-radius: 8px; }

/* small photograph of the real slab, shown with its room scene */
.hero__inset {
  position: absolute; z-index: 4; right: clamp(18px, 2.4vw, 34px); bottom: clamp(18px, 2.4vw, 34px);
  width: clamp(190px, 18vw, 250px); padding: 7px 7px 10px; border-radius: 18px;
  background: rgba(250, 246, 240, 0.94); color: var(--ink); cursor: zoom-in;
  box-shadow: 0 18px 44px -16px rgba(0, 0, 0, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), visibility 0.7s;
}
.hero__inset.is-active { opacity: 1; visibility: visible; transform: none; }
.hero__inset img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 12px; }
.hero__inset figcaption { padding: 8px 6px 0; line-height: 1.25; }
.hero__inset small { display: block; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero__inset b { font-size: 0.86rem; font-weight: 600; }

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; margin-top: 8px; }
.ticker__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: ticker 60s linear infinite; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.ticker__track i { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }
@keyframes ticker { to { transform: translateX(calc(-33.333% - 12px)); } }

/* ==========================================================================
   INTRO + COLLECTIONS CAROUSEL
   ========================================================================== */
.intro { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 3.2vw, 44px); align-items: end; }
.intro__text { display: flex; flex-direction: column; gap: 34px; align-items: flex-start; padding-bottom: 6px; }
.intro__carousel { min-width: 0; }

.carousel {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 4px; outline-offset: 6px;
  margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter);
}
.carousel::-webkit-scrollbar { display: none; }
.card { position: relative; flex: 0 0 min(300px, 72%); aspect-ratio: 4 / 5.3; border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: start; background: #d9d1c4; isolation: isolate; }
.card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover > img { transform: scale(1.06); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 11, 8, 0.82) 0%, rgba(14, 11, 8, 0.2) 48%, transparent 70%); z-index: 1; }
.card__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px 22px 20px; color: #fff; }
.card h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
.card p { margin-top: 6px; font-size: 0.84rem; line-height: 1.5; color: rgba(255, 255, 255, 0.82); }
.card__link { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; padding: 8px 14px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background 0.3s, color 0.3s; }
.card__link:hover { background: #fff; color: var(--ink); }
.carousel-ctrl { margin-top: 22px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.carousel-ctrl--left { justify-content: flex-start; margin-top: 36px; }
.counter { margin-right: 8px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.carousel-ctrl--left .counter { margin: 0 0 0 10px; }

/* ==========================================================================
   STATEMENT
   ========================================================================== */
.statement { padding-block: clamp(12px, 2vw, 28px); text-align: center; }
.arch {
  position: relative; max-width: 780px; margin-inline: auto;
  padding: clamp(104px, 15vw, 180px) clamp(26px, 7vw, 96px) clamp(44px, 6vw, 72px);
  border: 1.5px solid var(--gold); border-radius: 390px 390px 26px 26px;
  background: linear-gradient(180deg, var(--bg-sand) 0%, rgba(240, 233, 222, 0.25) 100%);
}
.arch::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(184, 150, 74, 0.55); border-radius: 380px 380px 18px 18px; pointer-events: none; }
.arch__gem { position: absolute; left: 50%; top: 0; width: 14px; height: 14px; background: var(--gold); border: 3px solid var(--bg); box-sizing: content-box; transform: translate(-50%, -50%) rotate(45deg); }
.statement__text { position: relative; max-width: 24ch; margin-inline: auto; font-family: "Cormorant Garamond", "Times New Roman", serif; font-size: clamp(1.85rem, 3.9vw, 3.1rem); line-height: 1.24; font-weight: 500; color: var(--ink-2); text-wrap: balance; }
.statement__text .serif { display: block; margin-top: 6px; font-size: 1.15em; color: #8a6d2c; }

/* ==========================================================================
   SECTION HEAD (shared)
   ========================================================================== */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head--solo { justify-content: flex-start; }

/* ==========================================================================
   FEATURED STONES (bento)
   ========================================================================== */
.stones { padding-top: clamp(40px, 5vw, 72px); }
.stone-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(150px, 15.5vw, 224px);
}
.stone { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #d9d1c4; cursor: zoom-in; }
.stone img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.stone:hover img { transform: scale(1.05); }
.stone figcaption {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: flex; flex-direction: column; gap: 1px;
  padding: 9px 16px 9px; border-radius: 16px;
  background: rgba(250, 246, 240, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  line-height: 1.25;
}
.stone figcaption b { font-size: 0.84rem; font-weight: 600; letter-spacing: -0.005em; }
.stone figcaption span { font-size: 0.72rem; color: var(--muted); }
.s-a { grid-column: 1 / 9;  grid-row: 1 / 3; }
.s-b { grid-column: 9 / 13; grid-row: 1 / 2; }
.s-c { grid-column: 9 / 13; grid-row: 2 / 3; }
.s-d { grid-column: 1 / 5;  grid-row: 3 / 4; }
.s-e { grid-column: 5 / 9;  grid-row: 3 / 4; }
.s-f { grid-column: 9 / 13; grid-row: 3 / 4; }
.s-g { grid-column: 1 / 7;  grid-row: 4 / 5; }
.s-h { grid-column: 7 / 13; grid-row: 4 / 5; }
/* zoom a little on photos where the warehouse wall shows above the slab */
.stone.s-a img, .stone.s-g img { transform: scale(1.3); }
.stone.s-a:hover img, .stone.s-g:hover img { transform: scale(1.34); }

/* ==========================================================================
   BACKLIGHT
   ========================================================================== */
.glow { padding-block: clamp(20px, 3vw, 40px); }
.glow__card { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(32px, 4.6vw, 68px) clamp(16px, 4.4vw, 64px) clamp(26px, 3.4vw, 44px); background: #14120f; color: #fff; text-align: center; isolation: isolate; }
/* warm light that spills onto the panel when the switch is on */
.glow__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 55% at 50% 56%, rgba(232, 150, 50, 0.34), transparent 72%); opacity: 0; transition: opacity 1.4s ease; }
.glow__card.is-lit::before { opacity: 1; }
.glow__title { max-width: none; margin-inline: auto; }
.glow__title .serif { color: #d8c28a; }
.glow__sub { max-width: 54ch; margin: 14px auto 0; font-size: 0.98rem; color: rgba(255, 255, 255, 0.72); }
.glow__stage { position: relative; margin-top: clamp(24px, 3.4vw, 44px); aspect-ratio: 7 / 2; overflow: hidden; border-radius: 12px; cursor: pointer; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9); transition: box-shadow 1.4s ease; }
.glow__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glow__set { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.glow__set.is-active { opacity: 1; }
.glow__set img:first-child { filter: brightness(0.82); }
.glow__picker { margin-top: clamp(14px, 1.8vw, 22px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); max-width: 760px; margin-inline: auto; }
.glow__pick { padding: 5px 5px 9px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.18); background: transparent; color: #fff; line-height: 1.25; transition: border-color 0.3s, background 0.3s; }
.glow__pick:hover { border-color: rgba(255, 255, 255, 0.6); }
.glow__pick[aria-pressed="true"] { border-color: var(--gold); background: rgba(184, 150, 74, 0.16); }
.glow__pick img { width: 100%; height: auto; aspect-ratio: 7 / 3; object-fit: cover; border-radius: 9px; }
.glow__pick b { display: block; margin-top: 7px; font-size: 0.8rem; font-weight: 500; }
.glow__pick span { display: block; font-size: 0.68rem; color: rgba(255, 255, 255, 0.55); }
.glow__lit { opacity: 0; transition: opacity 1.4s ease; }
.glow__card.is-lit .glow__lit { opacity: 1; }
.glow__card.is-lit .glow__stage { box-shadow: 0 0 70px -6px rgba(240, 160, 55, 0.55); }
.glow__switch { margin-top: clamp(22px, 2.8vw, 34px); display: inline-flex; align-items: center; gap: 14px; padding: 10px 24px 10px 10px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 0.9rem; font-weight: 500; transition: border-color 0.3s, background 0.3s; }
.glow__switch:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.glow__track { position: relative; width: 58px; height: 32px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.2); transition: background 0.4s; }
.glow__knob { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.glow__switch[aria-checked="true"] .glow__track { background: var(--gold); }
.glow__switch[aria-checked="true"] .glow__knob { transform: translateX(26px); box-shadow: 0 0 14px 3px rgba(255, 220, 150, 0.8); }
.glow__note { max-width: 70ch; margin: 18px auto 0; font-size: 0.76rem; color: rgba(255, 255, 255, 0.52); }

/* ==========================================================================
   SPACES (slider + details)
   ========================================================================== */
.spaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: center; }
.spaces__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-right: clamp(0px, 2vw, 28px); }
.spaces__text .h2 { max-width: 16ch; font-size: clamp(1.8rem, 2.9vw, 2.6rem); }
.spaces__stage { grid-column: 2 / -1; position: relative; min-width: 0; }
.space-slides { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-xl); overflow: hidden; background: #2a2520; }
.space { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.space.is-active { opacity: 1; z-index: 1; }
.space img { width: 100%; height: 100%; object-fit: cover; }
.space figcaption { position: absolute; left: 18px; bottom: 18px; padding: 9px 18px; border-radius: var(--pill); background: rgba(250, 246, 240, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 0.82rem; font-weight: 500; }
.ai-tag--stage { top: 16px; right: 16px; z-index: 6; }
.details { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.detail { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: #d9d1c4; }
.detail img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.detail:hover img { transform: scale(1.05); }
.detail figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 15px; border-radius: var(--pill); background: rgba(250, 246, 240, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 0.78rem; font-weight: 500; }

/* ==========================================================================
   CATALOGUES
   ========================================================================== */
.catalogues { padding-block: clamp(24px, 4vw, 56px); }
.cat-panel { background: var(--bg-sand); border-radius: calc(var(--r-xl) + 6px); padding: clamp(26px, 4.4vw, 64px); }
.cat-grid { --cat-gap: clamp(18px, 2.2vw, 30px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--cat-gap); margin-bottom: calc(var(--cat-gap) * -1); }
.cat { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; justify-items: start; margin-bottom: var(--cat-gap); }
.cat__cover { justify-self: stretch; }
.cat__cover { position: relative; display: block; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(29, 27, 24, 0.08), 0 18px 40px -18px rgba(29, 27, 24, 0.35); transition: transform 0.6s var(--ease), box-shadow 0.6s; }
.cat__cover img { width: 100%; height: auto; aspect-ratio: 595 / 842; object-fit: cover; }
.cat__cover:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 1px 2px rgba(29, 27, 24, 0.08), 0 28px 50px -18px rgba(29, 27, 24, 0.45); }
.cat__badge { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em; }
.cat h3 { margin-top: 20px; font-size: 1.08rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.cat p { margin-top: 5px; font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.cat .cat__meta { margin-top: 8px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); opacity: 0.7; }
.cat__actions { margin-top: 16px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cat--ask { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 32px); }
.cat--ask h3 { margin-top: 0; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 400; line-height: 1.2; }
.cat--ask p { color: rgba(255, 255, 255, 0.7); margin-top: 12px; }
.cat--ask .eyebrow { margin-bottom: 16px; }
.cat--ask .btn { align-self: flex-start; }

/* ==========================================================================
   WHY + STEPS
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 36px); }
.why-item { padding-top: 22px; border-top: 1px solid var(--ink); }
.why-item__n { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; color: var(--gold); margin-bottom: 40px; }
.why-item h3 { font-size: 1.28rem; font-weight: 400; letter-spacing: -0.015em; line-height: 1.22; }
.why-item p { margin-top: 14px; font-size: 0.9rem; color: var(--muted); }

.steps { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); counter-reset: s; position: relative; }
.steps li { position: relative; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.steps li span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.85rem; font-weight: 600; margin-bottom: 22px; }
.steps h4 { font-size: 1.02rem; font-weight: 500; line-height: 1.3; }
.steps p { margin-top: 8px; font-size: 0.86rem; color: var(--muted); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { padding-block: clamp(24px, 4vw, 56px); }
.cta__card { position: relative; overflow: hidden; border-radius: var(--r-xl); min-height: clamp(380px, 52vw, 560px); display: grid; place-items: center; text-align: center; isolation: isolate; background: #1a1612; }
.cta__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(14, 11, 8, 0.45), rgba(14, 11, 8, 0.72)); }
.cta__copy { color: #fff; padding: 40px 24px; }
.cta__kicker { margin-bottom: 16px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.cta h2 { font-size: clamp(2.2rem, 5.6vw, 4.8rem); line-height: 1.05; font-weight: 400; letter-spacing: -0.03em; text-wrap: balance; }
.cta__actions { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.ai-tag--cta { top: auto; bottom: 16px; right: 16px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact-list { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; align-items: center; gap: 18px; }
.contact-list__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.25rem; }
.contact-list small { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-size: 1.2rem; font-weight: 400; letter-spacing: -0.01em; border-bottom: 1px solid transparent; transition: border-color 0.3s; overflow-wrap: anywhere; }
.contact-list a:hover { border-color: var(--gold); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 20px; box-shadow: 0 30px 60px -40px rgba(29, 27, 24, 0.35); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.form label em { color: var(--wine); font-style: normal; }
.form input[type="text"], .form input[type="email"], .form textarea {
  font: inherit; font-size: 0.98rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink);
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); width: 100%;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(184, 150, 74, 0.2); }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 12px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.form label.chip { flex-direction: row; display: inline-flex; letter-spacing: 0; text-transform: none; font-size: 0.88rem; font-weight: 500; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { padding: 9px 18px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--bg); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.form__hint { font-size: 0.78rem; color: var(--muted); }
.form__error { color: var(--wine); font-size: 0.85rem; font-weight: 500; }
.form input.is-invalid { border-color: var(--wine); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); border-radius: var(--r-xl) var(--r-xl) 0 0; padding-block: clamp(30px, 3.2vw, 44px) 18px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 28px 32px; }
.footer__brand { max-width: 340px; }
.footer__brand img { height: 36px; width: auto; }
.footer__brand p { margin-top: 14px; font-size: 0.86rem; line-height: 1.55; }
.footer__member { display: inline-flex; align-items: center; gap: 16px; margin-top: 16px; padding: 9px 20px 9px 16px; border: 1px solid var(--gold); border-radius: var(--r-md); background: rgba(184, 150, 74, 0.12); }
.footer__member i { flex: none; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }
.footer__brand .footer__member p { margin: 0; line-height: 1.2; }
.footer__member small { display: block; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.footer__member b { display: block; margin-top: 2px; font-size: 1.15rem; font-weight: 600; letter-spacing: 0.14em; color: #e2c98f; }
.footer__links { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; font-size: 0.86rem; }
.footer__nav a { transition: color 0.3s; }
.footer__nav a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 1.15rem; transition: background 0.3s, color 0.3s; }
.footer__social a:hover { background: #fff; color: var(--ink); }
.footer__sign { text-align: center; }
.footer__word { font-size: clamp(52px, 6vw, 84px); line-height: 0.95; font-weight: 600; letter-spacing: -0.045em; user-select: none;
  background: linear-gradient(180deg, rgba(250, 246, 240, 0.78) 10%, rgba(250, 246, 240, 0.28) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__motto { margin-top: 4px; font-size: clamp(1rem, 1.3vw, 1.12rem); color: #d8c28a; }
.footer__bottom { padding-top: 18px; display: flex; justify-content: flex-end; gap: 12px 40px; flex-wrap: wrap; font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(14, 11, 8, 0.9); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { max-width: min(1200px, 92vw); text-align: center; color: #fff; }
.lightbox img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: 16px; background: #222; }
.lightbox figcaption { margin-top: 16px; font-size: 0.9rem; }
.lightbox__close { position: fixed; top: 20px; right: 20px; }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__sign { grid-column: 1 / -1; order: 1; }
}

@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav__links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 10px 24px;
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: 0 24px 60px rgba(29, 27, 24, 0.2);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.3s, transform 0.3s;
  }
  .nav__links a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__links a:last-child { border: 0; }
  .nav__links a::after { display: none; }
  .nav__links .nav__quote { display: block; margin: 10px 0 6px; padding: 13px 18px; border: 0; border-radius: var(--pill); background: var(--ink); color: #fff; text-align: center; }
  .nav__links a:nth-last-child(2) { border: 0; }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav { position: relative; }
  .nav__toggle { display: grid; }
  .nav__cta { display: none; }

  .intro, .spaces, .contact { grid-template-columns: 1fr; }
  .spaces { gap: 28px; }
  .spaces__stage { grid-column: auto; }
  .spaces__text { padding-right: 0; }
  .intro__text { gap: 26px; }
  .carousel-ctrl { justify-content: flex-start; }
  .hero__dots { top: auto; bottom: 22px; left: 24px; right: auto; flex-direction: row; transform: none; }
  .hero__dots button.is-active { height: 8px; width: 26px; }
  .hero__copy { width: auto; right: 24px; bottom: 190px; }
  .hero__inset { width: 180px; right: 16px; bottom: 16px; }
  .ai-tag--hero { top: 90px; right: 16px; }

  .stone-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .stone { aspect-ratio: 16 / 10; }
  .s-a, .s-b, .s-c, .s-d, .s-e, .s-f, .s-g, .s-h { grid-column: auto; grid-row: auto; }
  .s-a, .s-h { grid-column: 1 / -1; }
  .s-a, .s-h { aspect-ratio: 16 / 7; }
}

@media (max-width: 680px) {
  :root { --r-xl: 26px; --r-lg: 20px; }
  .hero__card { height: clamp(600px, 86vh, 760px); }
  .hero__copy { left: 20px; right: 20px; bottom: 172px; }
  .hero__sub { margin-top: 14px; }
  .hero__inset { width: 150px; padding: 5px 5px 8px; border-radius: 14px; }
  .hero__inset b { font-size: 0.76rem; }
  .hero__dots { left: 20px; gap: 7px; }
  .hero__dots button.is-active { width: 20px; }
  .cat__badge { left: 8px; top: 8px; padding: 3px 8px; font-size: 0.56rem; white-space: nowrap; }
  .cat-grid { --cat-gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .cat--ask { grid-column: 1 / -1; grid-row: span 1; }
  .glow__stage { aspect-ratio: 16 / 9; }
  .glow__picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid, .steps { grid-template-columns: 1fr; }
  .why-item__n { margin-bottom: 18px; }
  .form__row { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; justify-content: space-between; }
  .details { grid-template-columns: 1fr; }
  .detail { aspect-ratio: 16 / 10; }
  .stone-grid { grid-template-columns: 1fr; }
  .stone-grid .stone { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .section-head .btn { width: 100%; justify-content: space-between; }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .footer__links { justify-self: start; align-items: flex-start; }
  .footer__nav { justify-content: flex-start; }
  .footer__bottom { justify-content: flex-start; }
  .card { flex-basis: 78%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}
