/* ═══════════════════════════════════════════
   MAISON MOGHADAM — SHARED STYLES
   ═══════════════════════════════════════════ */

/* ── FUTURA PT — self-hosted ── */
/* Place your Futura PT font files in a /fonts/ folder at the site root */

/* Light (300) */
@font-face {
  font-family: 'Futura PT';
  src: url('fonts/FuturaPT-Light.woff2') format('woff2'),
       url('fonts/FuturaPT-Light.woff') format('woff'),
       url('fonts/FuturaPT-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('fonts/FuturaPT-LightObl.woff2') format('woff2'),
       url('fonts/FuturaPT-LightObl.woff') format('woff'),
       url('fonts/FuturaPT-LightObl.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Book (400 - regular) */
@font-face {
  font-family: 'Futura PT';
  src: url('fonts/FuturaPT-Book.woff2') format('woff2'),
       url('fonts/FuturaPT-Book.woff') format('woff'),
       url('fonts/FuturaPT-Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('fonts/FuturaPT-BookObl.woff2') format('woff2'),
       url('fonts/FuturaPT-BookObl.woff') format('woff'),
       url('fonts/FuturaPT-BookObl.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Medium (500) */
@font-face {
  font-family: 'Futura PT';
  src: url('fonts/FuturaPT-Medium.woff2') format('woff2'),
       url('fonts/FuturaPT-Medium.woff') format('woff'),
       url('fonts/FuturaPT-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('fonts/FuturaPT-MediumObl.woff2') format('woff2'),
       url('fonts/FuturaPT-MediumObl.woff') format('woff'),
       url('fonts/FuturaPT-MediumObl.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* Demi (600) */
@font-face {
  font-family: 'Futura PT';
  src: url('fonts/FuturaPT-Demi.woff2') format('woff2'),
       url('fonts/FuturaPT-Demi.woff') format('woff'),
       url('fonts/FuturaPT-Demi.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('fonts/FuturaPT-DemiObl.woff2') format('woff2'),
       url('fonts/FuturaPT-DemiObl.woff') format('woff'),
       url('fonts/FuturaPT-DemiObl.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* Bold (700) */
@font-face {
  font-family: 'Futura PT';
  src: url('fonts/FuturaPT-Bold.woff2') format('woff2'),
       url('fonts/FuturaPT-Bold.woff') format('woff'),
       url('fonts/FuturaPT-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: url('fonts/FuturaPT-BoldObl.woff2') format('woff2'),
       url('fonts/FuturaPT-BoldObl.woff') format('woff'),
       url('fonts/FuturaPT-BoldObl.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ivory: #F5F0EB;
  --cream: #EDE7DF;
  --charcoal: #2A2A2A;
  --dark: #1A1A1A;
  --gold: #B8965A;
  --gold-light: #D4B87A;
  --white: #FAFAF8;
  --text-muted: #7A7670;
  --emerald: #142D18;
  --border: rgba(42,42,42,0.1);
  --serif: 'Caudex', Georgia, serif;
  --sans: 'Futura PT', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Make Caudex appear lighter — uses subtle stroke to thin the characters */
h1, h2, h3, h4, h5, h6,
.hero-tagline, .page-hero h1, .logo, .footer-logo,
.section-heading {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-stroke: 0.35px transparent;
}

img { max-width: 100%; display: block; }

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.5s ease, box-shadow 0.5s ease;
  background: transparent;
}

.header.scrolled,
.header.solid {
  background: rgba(250,250,248,0.97);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 48px;
  gap: 64px;
  transition: padding 0.4s ease, gap 0.4s ease;
}

.header.scrolled .header-inner,
.header.solid .header-inner {
  padding: 16px 48px;
  gap: 56px;
}

.nav-left, .nav-right {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 8px 0;
  line-height: 1;
  transition: color 0.4s ease;
  cursor: pointer;
}

.header.scrolled .nav-item,
.header.solid .nav-item {
  color: var(--charcoal);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-item:hover::after,
.nav-item.active::after { width: 100%; }

.logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.4s ease;
  text-align: center;
}

.header.scrolled .logo,
.header.solid .logo { color: var(--charcoal); }

/* Dropdown */
.dropdown { position: relative; display: inline-flex; align-items: center; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: rgba(250,250,248,0.98);
  backdrop-filter: blur(16px);
  padding: 20px 28px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(8px);
}

.dropdown-menu a {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { color: var(--gold); padding-left: 6px; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 20px;
  justify-content: center;
}

.mobile-toggle span {
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

.header.scrolled .mobile-toggle span,
.header.solid .mobile-toggle span { background: var(--charcoal); }

/* Toggle active state — hamburger becomes X */
.mobile-toggle.active span { background: var(--charcoal); }
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile slide-in menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  padding: 100px 32px 40px;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-nav > a,
.mobile-dropdown-toggle {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-menu-nav > a:hover,
.mobile-dropdown-toggle:hover { color: var(--gold); }

.mobile-dropdown-toggle::after {
  content: '+';
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.open::after {
  transform: rotate(45deg);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  display: flex;
  flex-direction: column;
}

.mobile-submenu.open {
  max-height: 500px;
}

.mobile-submenu a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 14px 0 14px 16px;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-submenu a:hover {
  color: var(--gold);
  padding-left: 22px;
}

.mobile-menu-footer {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.mobile-menu-footer p {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-muted);
}

.mobile-menu-footer a {
  color: var(--charcoal);
  text-decoration: none;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* ── HERO (HOMEPAGE) ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #3a3530, #1a1815, #2a2520);
  background-size: cover;
  background-position: center;
  animation: heroShimmer 12s ease-in-out infinite;
}

.hero-media[style*="url"] {
  animation: none;
}

@keyframes heroShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  z-index: 0;
  pointer-events: none;
}

.placeholder.dark { color: rgba(42,42,42,0.2); }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 3px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
  text-transform: uppercase;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin-top: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── PAGE HERO (smaller, for subpages) ── */
.page-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  overflow: hidden;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #3a3530, #1a1815, #2a2520);
  background-size: cover;
  background-position: center;
  animation: heroShimmer 12s ease-in-out infinite;
}

.page-hero-media[style*="url"] {
  animation: none;
}

.page-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.page-hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 0.3s forwards;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 62px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 3px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
  text-transform: uppercase;
}

.page-hero-sub {
  font-family: var(--sans);
  font-style: normal;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  margin: 24px auto 0;
  max-width: 600px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 0.8s forwards;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ── SECTION LABELS ── */
.section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 24px;
  display: block;
}

/* ── INTRO / TEXT SECTIONS ── */
.intro {
  padding: 140px 48px;
  text-align: center;
  background: var(--ivory);
}

.intro-inner {
  max-width: 720px;
  margin: 0 auto;
}

.intro h2,
.section-heading {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--emerald);
  margin-bottom: 32px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.intro p,
.section-body {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--charcoal);
  max-width: 560px;
  margin: 0 auto 20px;
}

/* ── TWO COLUMN SECTION (Capston-style full-bleed split) ── */
.two-col {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  background: var(--ivory);
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

.two-col.alt { background: var(--ivory); }
.two-col.alt .two-col-inner {
  display: contents;
}

.two-col.on-white { background: var(--white); }

/* Reversed layout — image on right */
.two-col.reverse .two-col-image { order: 2; }
.two-col.reverse .two-col-text { order: 1; }

.two-col-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d4cec5, #bfb8ad);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  align-self: stretch;
}

.two-col-text {
  padding: 80px clamp(40px, 6vw, 96px);
  max-width: 620px;
  margin: 0 auto;
}

.two-col-text .section-label {
  margin-bottom: 20px;
}

.two-col-text h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  color: var(--emerald);
  line-height: 1.15;
  letter-spacing: 2px;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.two-col-text p {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 20px;
  max-width: 460px;
}

.two-col-text ul {
  max-width: 460px;
}

/* ── SPLIT FEATURE (Capston-style: full-bleed image + stacked text/image column) ── */
.split-feature {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--ivory);
  min-height: 100vh;
  align-items: stretch;
}

.split-feature.on-white { background: var(--white); }

.split-feature-image {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, #8a7560, #5a4a3a, #3a3028);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.split-feature-image .placeholder { color: rgba(255,255,255,0.3); }

.split-feature-stack {
  padding: 64px clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.split-feature.reverse .split-feature-image { order: 2; }
.split-feature.reverse .split-feature-stack { order: 1; }

.split-feature-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--emerald);
}

.split-feature-stack h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  color: var(--emerald);
  line-height: 1.15;
  letter-spacing: 0.5px;
  max-width: 440px;
  text-transform: uppercase;
}

.split-feature-inner-image {
  width: 45%;
  max-width: 240px;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #c9ad88, #8a6845, #5a3f28);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 1;
  min-height: 0;
}

.split-feature-stack p {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--charcoal);
  max-width: 420px;
}

.split-feature-stack .btn {
  margin-top: 4px;
}

/* ── GALLERY GRID ── */
.gallery {
  padding: 120px 48px;
  background: var(--white);
}

.gallery-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #d4cec5, #bfb8ad);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:nth-child(2n) { background: linear-gradient(135deg, #c5bfb5, #b0a99e); }
.gallery-item:nth-child(3n) { background: linear-gradient(135deg, #bfb8ad, #a8a196); }
.gallery-item:nth-child(5n) { background: linear-gradient(135deg, #c9c3ba, #b5aea3); }

.gallery-item:hover { transform: scale(0.98); }

.gallery-item-tall { grid-row: span 2; }

/* ── BRANDS GRID ── */
.brands {
  padding: 120px 48px;
  background: var(--ivory);
  text-align: center;
}

.brands-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.brand-item {
  aspect-ratio: 1;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-align: center;
  transition: color 0.4s ease, background 0.4s ease;
  text-transform: uppercase;
  min-width: 0;
}

.brand-item:hover {
  color: var(--gold);
  background: var(--cream);
}

/* ── FEATURED PRODUCTS ── */
.featured {
  padding: 120px 48px;
  background: var(--white);
}

.featured-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card { cursor: pointer; }

.product-image {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #d4cec5, #bfb8ad);
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:nth-child(2n) .product-image { background: linear-gradient(135deg, #c5bfb5, #b0a99e); }
.product-card:nth-child(3n) .product-image { background: linear-gradient(135deg, #bfb8ad, #a8a196); }

.product-card:hover .product-image { transform: scale(0.98); }

/* When the product image has swap layers, disable the scale and cross-fade instead */
.product-image.product-image-swap {
  background: var(--cream);
  cursor: pointer;
}
.product-card:hover .product-image.product-image-swap { transform: none; }

.product-image-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-image-primary { opacity: 1; }
.product-image-secondary { opacity: 0; }

.product-card:hover .product-image-primary,
.product-card.is-swapped .product-image-primary { opacity: 0; }
.product-card:hover .product-image-secondary,
.product-card.is-swapped .product-image-secondary { opacity: 1; }

.product-category {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 8px;
}

.product-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--emerald);
  margin-bottom: 6px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.product-card p {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
}

/* ── PROCESS STEPS ── */
.process {
  padding: 120px 48px;
  background: var(--ivory);
}

.process-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.step {
  text-align: left;
}

.step-image {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #d4cec5, #bfb8ad);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.step:nth-child(2n) .step-image { background: linear-gradient(135deg, #c5bfb5, #b0a99e); }
.step:nth-child(3n) .step-image { background: linear-gradient(135deg, #bfb8ad, #a8a196); }
.step:nth-child(4n) .step-image { background: linear-gradient(135deg, #c9c3ba, #b5aea3); }

.step-number {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.step h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--emerald);
  margin-bottom: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.step p {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── SERVICES LIST (for Services page) ── */
.services-list {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.service-row:last-child { border-bottom: none; }

.service-row-number {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.service-row h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  color: var(--emerald);
  margin-top: 16px;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.service-row-content p {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.service-row-content ul {
  list-style: none;
  margin-top: 20px;
}

.service-row-content li {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  padding: 10px 0;
  border-top: 1px solid var(--border);
  position: relative;
  padding-left: 24px;
}

.service-row-content li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ── IMAGE BREAK ── */
.image-break {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.image-break-bg {
  position: absolute;
  inset: -10%;
  background: linear-gradient(160deg, #3a3530, #2a2520, #1a1815);
  background-size: cover;
  background-position: center;
  transition: transform 0.1s ease-out;
}

.image-break-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.image-break-content h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 400;
  color: var(--white);
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.image-break-content a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  margin-top: 28px;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.4);
  transition: all 0.4s ease;
}

.image-break-content a:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

/* ── SLIDER (home + reusable) ── */
.services-section {
  padding: 120px 0;
  background: var(--ivory);
}

.services-header {
  text-align: center;
  padding: 0 48px;
  margin-bottom: 72px;
}

.services-header h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 400;
  color: var(--emerald);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.services-slider {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 48px;
}

.services-slider::-webkit-scrollbar { display: none; }

/* Centered variant for when all cards fit without scrolling (3-card homepage) */
.services-slider.centered {
  justify-content: center;
  overflow-x: visible;
  max-width: 1400px;
  margin: 0 auto;
}

.services-slider.centered .service-card {
  flex: 1 1 0;
  max-width: 420px;
}

.service-card {
  flex: 0 0 calc(25% - 2px);
  min-width: 300px;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-right: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.service-card:last-child { border-right: none; }

.service-image {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #d4cec5, #bfb8ad);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  flex-shrink: 0;
}

.service-card:hover .service-image { transform: scale(1.03); }

.service-info {
  padding: 32px 28px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-info h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--emerald);
  margin-bottom: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.service-info p {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.service-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease, gap 0.3s ease;
}

.service-link:hover { color: var(--gold); gap: 14px; }

.service-link span {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: currentColor;
}

/* ── JOURNAL (homepage) ── */
.journal {
  padding: 140px 48px;
  background: var(--ivory);
}

.journal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1300px;
  margin: 0 auto 64px;
}

.journal-header h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 400;
  color: var(--emerald);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.journal-header a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.journal-header a:hover { color: var(--gold); border-color: var(--gold); }

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1300px;
  margin: 0 auto;
}

.journal-card { cursor: pointer; }

.journal-image {
  width: 100%;
  aspect-ratio: 5/6;
  background: linear-gradient(135deg, #d4cec5, #c5bfb5);
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}

.journal-image-inner {
  width: 100%;
  height: 100%;
  background: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.journal-card:hover .journal-image-inner { transform: scale(1.05); }

.journal-category {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 12px;
}

.journal-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--emerald);
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.journal-card p {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── CTA ── */
.cta {
  padding: 140px 48px;
  background-color: var(--emerald);
  background-image: linear-gradient(rgba(20, 45, 24, 0.45), rgba(20, 45, 24, 0.45)), url('images/emerald-texture.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cta p {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: 44px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 40px;
  text-decoration: none;
  transition: all 0.4s ease;
  cursor: pointer;
  display: inline-block;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
}

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid var(--charcoal);
}

.btn-dark:hover {
  background: transparent;
  color: var(--charcoal);
}

.btn-emerald {
  background: var(--emerald);
  color: var(--white);
  border: 1px solid var(--emerald);
}

.btn-emerald:hover {
  background: transparent;
  color: var(--emerald);
}

/* ── FOOTER ── */
.footer {
  background-color: var(--emerald);
  background-image: linear-gradient(rgba(20, 45, 24, 0.45), rgba(20, 45, 24, 0.45)), url('images/emerald-texture.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 80px 48px 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 64px;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}

.footer-heading {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--gold); }

.footer-contact p {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
}

.footer-contact a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-social a img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Showroom facade illustration in footer */
.footer-house {
  display: block;
  width: 120px;
  height: auto;
  margin-top: 32px;
  opacity: 0.7;
}

.footer-bottom {
  max-width: 1300px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.9); }

/* ── CONTACT INFO GRID (Visit/Call/Write) ── */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: left;
}

.contact-info-value {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--charcoal);
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.contact-info-value a {
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-value a:hover { color: var(--emerald); }

.contact-info-email {
  font-size: 16px;
}

/* ── CONTACT FORM ── */
.contact-form-section {
  padding: 120px 48px;
  background: var(--ivory);
}

.contact-form-inner {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--charcoal);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--gold);
}

/* ── NUMBERS STRIP (editorial proof points) ── */
.numbers-strip {
  background: var(--ivory);
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.numbers-strip-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.number-item {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--border);
}

.number-item:last-child {
  border-right: none;
}

.number-value {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.number-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── QUOTE BREAK (editorial statement block on solid color) ── */
.quote-break {
  position: relative;
  width: 100%;
  padding: 140px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald);
}

.quote-break-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.quote-break-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 40px;
}

.quote-break-attribution {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ── STICKY SCROLL (like Capston) ── */
.sticky-scroll {
  background: var(--ivory);
  position: relative;
}

.sticky-scroll-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 100%;
  position: relative;
}

.sticky-scroll-images {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.sticky-scroll-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.sticky-scroll-image.active {
  opacity: 1;
}

.sticky-scroll-chapters {
  display: flex;
  flex-direction: column;
}

.sticky-scroll-chapter {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px clamp(40px, 5vw, 72px);
}

.sticky-scroll-chapter-inner {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.sticky-scroll-chapter-inner h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  color: var(--emerald);
  line-height: 1.15;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sticky-scroll-chapter-inner .split-feature-inner-image {
  width: 45%;
  max-width: 220px;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.sticky-scroll-chapter-inner p:not(.split-feature-eyebrow) {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--charcoal);
}

/* Two vertically-stacked detail images (for sticky scroll chapters with dual detail) */
.sticky-scroll-chapter-inner .detail-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px;
  width: 45%;
  max-width: 220px;
  align-items: center;
}
.sticky-scroll-chapter-inner .detail-stack .split-feature-inner-image {
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 1 !important;
  background-size: cover;
  background-position: center;
}

/* Square detail images (per-page override, e.g. bespoke-stone) */
.sticky-scroll.square-details .sticky-scroll-chapter-inner .split-feature-inner-image {
  aspect-ratio: 1;
}

/* ── STONES GALLERY (floating grid) ── */
.stones-section {
  padding: 120px 48px 140px;
  background: var(--ivory);
}

.stones-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}

.stones-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.stone-item {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stone-item:hover {
  transform: translateY(-4px);
}

.stone-item-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stone-item:hover .stone-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* ── VIBE SLIDER (3-col: text | image | caption) ── */
.vibe-slider {
  background: var(--ivory);
  padding: 80px 48px 64px;
  overflow: hidden;
}

.vibe-slider-inner {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

/* Track sets its own height via the first slide, all slides stack on top */
.vibe-slider-track {
  position: relative;
  display: grid;
}

/* All slides occupy the same grid cell so the track height is stable
   (tallest slide sets the height, no layout shift on change) */
.vibe-slide {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr min(32vw, 440px) 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.9s;
  pointer-events: none;
}

.vibe-slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
  pointer-events: auto;
}

/* Stagger text vs. image fade-in for a layered feel */
.vibe-slide-text,
.vibe-slide-caption {
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(8px);
}

.vibe-slide.active .vibe-slide-text,
.vibe-slide.active .vibe-slide-caption {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.vibe-slide-text {
  padding-right: 16px;
}

.vibe-slide-text h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--emerald);
  margin-bottom: 20px;
}

.vibe-slide-text p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--charcoal);
  max-width: 380px;
}

.vibe-slide-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
}

.vibe-slide-caption {
  padding-left: 16px;
}

.vibe-slide-caption-label {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 14px;
}

.vibe-slide-caption p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--charcoal);
  max-width: 300px;
}

/* Controls — positioned at bottom-right of the image column using the same grid */
.vibe-slider-controls {
  display: grid;
  grid-template-columns: 1fr min(32vw, 440px) 1fr;
  gap: 56px;
  margin-top: 20px;
}

.vibe-slider-controls-inner {
  grid-column: 3;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 16px;
}

.vibe-slider-arrow {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
  padding: 0;
}

.vibe-slider-arrow:hover {
  transform: translateX(var(--nudge, 2px));
}

.vibe-slider-arrow.prev:hover { --nudge: -3px; }
.vibe-slider-arrow.next:hover { --nudge: 3px; }

.vibe-slider-arrow svg {
  width: 30px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.2;
  fill: none;
}

.vibe-slider-arrow[disabled] {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.vibe-slider-counter {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-muted);
  min-width: 44px;
  text-align: center;
}

/* ── VIBE GRID 2×2 (outdoor page) ── */
.vibe-grid {
  padding: 40px 48px 120px;
  background: var(--ivory);
}

.vibe-grid-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}

.vibe-grid-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.vibe-grid-item {
  position: relative;
  overflow: hidden;
}

.vibe-grid-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vibe-grid-item:hover .vibe-grid-image {
  transform: scale(1.03);
}

.vibe-grid-caption {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--emerald);
}

/* ── RUG SIZES: image + diagram side-by-side ── */
.rug-sizes {
  background: var(--ivory);
  padding: 40px 48px 120px;
}

.rug-sizes-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.rug-sizes-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
}

/* Slideshow variant: stacked slides with crossfade */
.rug-sizes-slideshow {
  width: 100%;
  position: relative;
}

.rug-sizes-slideshow-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: var(--cream);
  overflow: hidden;
}

.rug-sizes-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rug-sizes-slide.active {
  opacity: 1;
}

/* Arrows overlaid on image sides */
.rug-sizes-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding: 0;
  z-index: 3;
  opacity: 0.9;
}

.rug-sizes-arrow:hover {
  opacity: 1;
}

.rug-sizes-arrow.prev {
  left: 20px;
}

.rug-sizes-arrow.next {
  right: 20px;
}

.rug-sizes-arrow.prev:hover {
  transform: translateY(-50%) translateX(-3px);
}

.rug-sizes-arrow.next:hover {
  transform: translateY(-50%) translateX(3px);
}

.rug-sizes-arrow svg {
  width: 34px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.3;
  fill: none;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

/* Counter below the image, centered */
.rug-sizes-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.rug-sizes-counter {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-align: center;
}

.sizes-diagram {
  padding: 24px 0;
  text-align: center;
}

.sizes-diagram-title {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 56px;
}

.sizes-diagram-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.size-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.size-shape {
  border: 1.5px solid var(--emerald);
  box-sizing: border-box;
}

.size-shape.circle {
  border-radius: 50%;
}

.size-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--emerald);
  margin-top: 10px;
}

/* ── RUG PROCESS: 6 alternating steps with dotted connector ── */
.rug-process {
  background: var(--ivory);
  padding: 100px 48px 120px;
  position: relative;
}

.rug-process-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.rug-process-heading {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  color: var(--emerald);
}

.rug-process-inner {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

/* Dotted vertical connector line down the middle */
.rug-process-inner::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-image: linear-gradient(to bottom, var(--emerald) 50%, transparent 0%);
  background-size: 1px 8px;
  background-repeat: repeat-y;
  transform: translateX(-0.5px);
  z-index: 0;
}

.rug-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.rug-step:last-child {
  margin-bottom: 0;
}

/* Small "node" dot where the step meets the center line */
.rug-step::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Odd steps: image left, text right */
.rug-step .rug-step-image { order: 1; }
.rug-step .rug-step-text { order: 2; padding-left: 24px; }

/* Even steps: text left, image right (alternating) */
.rug-step.reverse .rug-step-image { order: 2; }
.rug-step.reverse .rug-step-text { order: 1; padding-left: 0; padding-right: 24px; text-align: right; }

.rug-step-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
}

.rug-step-number {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--emerald);
  margin-bottom: 10px;
  display: block;
}

.rug-step-title {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--emerald);
  margin-bottom: 16px;
}

.rug-step-body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--charcoal);
  max-width: 380px;
}

.rug-step.reverse .rug-step-body {
  margin-left: auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .service-card { flex: 0 0 calc(50% - 1px); }
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
  .journal-card:last-child { display: none; }
  .two-col { grid-template-columns: 1fr; height: auto; max-height: none; overflow: visible; }
  .two-col.reverse .two-col-image { order: 1; }
  .two-col.reverse .two-col-text { order: 2; }
  .two-col-image { min-height: 60vh; height: auto; aspect-ratio: 4/5; }
  .split-feature { grid-template-columns: 1fr; height: auto; max-height: none; overflow: visible; }
  .split-feature.reverse .split-feature-image { order: 1; }
  .split-feature.reverse .split-feature-stack { order: 2; }
  .split-feature-image { min-height: 60vh; height: auto; aspect-ratio: 4/5; }
  .split-feature-stack { height: auto; overflow: visible; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  /* Vibe slider: tighten gaps at tablet size */
  .vibe-slide { gap: 32px; grid-template-columns: 1fr min(38vw, 380px) 1fr; }
  .vibe-slider-controls { grid-template-columns: 1fr min(38vw, 380px) 1fr; gap: 32px; }
  .vibe-slide-text, .vibe-slide-caption { padding: 0; }
}

@media (max-width: 768px) {
  .nav-left, .nav-right { display: none; }
  .mobile-toggle { display: flex; }
  .mobile-menu { display: block; }
  .header-inner { grid-template-columns: 1fr; justify-items: center; padding: 20px 24px; }
  .hero-tagline { font-size: 32px; }
  .intro { padding: 80px 24px; }
  .services-section { padding: 80px 0; }
  .services-slider { padding: 0 24px; }
  .service-card { flex: 0 0 85%; min-width: 260px; }
  .journal { padding: 80px 24px; }
  .journal-grid { grid-template-columns: 1fr; }
  .journal-card:last-child { display: block; }
  .journal-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta { padding: 80px 24px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer { padding: 60px 24px 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .two-col-text { padding: 60px 24px; }
  .split-feature-stack { padding: 60px 24px; gap: 32px; }
  .split-feature-inner-image { width: 85%; }
  .gallery, .brands, .featured, .process, .services-list, .contact-form-section { padding: 80px 24px; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .form-row { grid-template-columns: 1fr; }
  /* Contact: Visit/Call/Write — stack vertically on mobile */
  .contact-info-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info-value { font-size: 17px; }
  .contact-info-email { font-size: 15px; }
  /* Sticky scroll: release on mobile, show chapters with their own inner images */
  .sticky-scroll-inner { grid-template-columns: 1fr; position: relative; }
  .sticky-scroll-images { height: 100vh; position: sticky; top: 0; z-index: 1; grid-row: 1; grid-column: 1; }
  .sticky-scroll-chapters { position: relative; z-index: 2; grid-row: 1; grid-column: 1; }
  .sticky-scroll-chapter { min-height: 100vh; padding: 30vh 24px; display: flex; align-items: center; justify-content: center; background: transparent; }
  .sticky-scroll-chapter-inner { background: var(--ivory); padding: 36px 24px; max-width: 340px; gap: 18px; }
  .sticky-scroll-chapter-inner .split-feature-inner-image { width: 55%; max-width: 160px; aspect-ratio: 4/5; }
  .sticky-scroll-chapter-inner h2 { font-size: 24px; }
  .sticky-scroll-chapter-inner p:not(.split-feature-eyebrow) { font-size: 14px; }
  .sticky-scroll-chapter-inner .detail-stack { width: 55%; max-width: 160px; }

  /* ── STONE PAGE ONLY: simplified stacked flow on mobile ── */
  /* Hide the pinned image stack, instead show each room image inline above its chapter text */
  .sticky-scroll.square-details {
    background: var(--ivory);
    margin-top: 0;
  }
  .sticky-scroll.square-details .sticky-scroll-inner {
    display: block;
    background: var(--ivory);
  }
  .sticky-scroll.square-details .sticky-scroll-images {
    display: none;
  }
  .sticky-scroll.square-details .sticky-scroll-chapters {
    display: block;
  }
  .sticky-scroll.square-details .sticky-scroll-chapter {
    min-height: auto;
    padding: 0;
    display: block;
    background: var(--ivory);
  }
  .sticky-scroll.square-details .sticky-scroll-chapter::before {
    content: '';
    display: block;
    aspect-ratio: 3/4;
    margin: 0 24px;
    background-size: cover;
    background-position: center;
  }
  .sticky-scroll.square-details .sticky-scroll-chapter[data-chapter="1"]::before {
    background-image: url('images/bespoke-stone-room-1.jpg');
  }
  .sticky-scroll.square-details .sticky-scroll-chapter[data-chapter="2"]::before {
    background-image: url('images/bespoke-stone-room-2.jpg');
  }
  .sticky-scroll.square-details .sticky-scroll-chapter[data-chapter="3"]::before {
    background-image: url('images/bespoke-stone-room-3.jpg');
  }
  .sticky-scroll.square-details .sticky-scroll-chapter[data-chapter="4"]::before {
    background-image: url('images/bespoke-stone-room-4.jpg');
  }
  .sticky-scroll.square-details .sticky-scroll-chapter[data-chapter="5"]::before {
    background-image: url('images/bespoke-stone-room-5.jpg');
  }
  .sticky-scroll.square-details .sticky-scroll-chapter-inner {
    background: transparent;
    padding: 48px 24px 72px;
    max-width: 100%;
    margin: 0 auto;
    gap: 20px;
  }
  /* Stones marquee: smaller tiles on mobile */
  .stones-section { padding: 80px 24px 100px; }
  .stones-header { margin-bottom: 48px; }
  .stones-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  /* Numbers strip: stack 2x2 on mobile */
  .numbers-strip { padding: 60px 24px; }
  .numbers-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
  .number-item:nth-child(2) { border-right: none; }
  .number-item:nth-child(1), .number-item:nth-child(2) { padding-bottom: 40px; border-bottom: 1px solid var(--border); }
  /* Quote break: less padding on mobile */
  .quote-break { padding: 80px 24px; }
  /* Centered services slider: stack on mobile */
  .services-slider.centered { flex-direction: column; gap: 32px; padding: 0 24px; }
  .services-slider.centered .service-card { max-width: 100%; width: 100%; flex: 0 0 auto; min-width: 0; }
  /* Vibe slider: stack to single column on mobile */
  .vibe-slider { padding: 64px 24px 64px; }
  .vibe-slide { grid-template-columns: 1fr; gap: 28px; }
  .vibe-slide-text, .vibe-slide-caption { padding: 0; text-align: center; }
  .vibe-slide-text p, .vibe-slide-caption p { max-width: 100%; margin: 0 auto; }
  .vibe-slide-image { aspect-ratio: 3 / 4; max-width: 80%; margin: 0 auto; }
  .vibe-slider-controls { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .vibe-slider-controls-inner { grid-column: 1; justify-self: center; padding-left: 0; }
  /* Vibe grid: stack to single column on mobile */
  .vibe-grid { padding: 40px 24px 80px; }
  .vibe-grid-inner { grid-template-columns: 1fr; gap: 24px; }
  .vibe-grid-header { margin-bottom: 48px; }
  /* Rug sizes: stack image over diagram */
  .rug-sizes { padding: 40px 24px 80px; }
  .rug-sizes-inner { grid-template-columns: 1fr; gap: 48px; }
  /* Rug process: collapse to single column, no center line on mobile */
  .rug-process { padding: 80px 24px 80px; }
  .rug-process-header { margin-bottom: 56px; }
  .rug-process-inner::before { display: none; }
  .rug-step::before { display: none; }
  .rug-step { grid-template-columns: 1fr; gap: 20px; margin-bottom: 64px; }
  .rug-step .rug-step-image, .rug-step .rug-step-text,
  .rug-step.reverse .rug-step-image, .rug-step.reverse .rug-step-text {
    order: initial;
    padding: 0;
    text-align: left;
  }
  .rug-step .rug-step-image, .rug-step.reverse .rug-step-image { order: 1; }
  .rug-step .rug-step-text, .rug-step.reverse .rug-step-text { order: 2; }
  .rug-step.reverse .rug-step-body { margin-left: 0; }
}
