/* =============================================================
   Lapidus Stone Features — Main Theme Stylesheet
   All colour tokens are driven by CSS custom properties that
   are overridden by the WordPress Customizer via inline styles
   injected in functions.php.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@200;300;400&display=swap');

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

/* ── Design Tokens (overridden by Customizer) ─────────────── */
:root {
  --stone:        #C4B89A;
  --stone-light:  #E8E0D0;
  --stone-dark:   #8A7D66;
  --marquee-bg:   #141210;
  --marquee-txt:  #C4B89A;
  --ink:          #141210;
  --ink-mid:      #1E1C18;
  --ink-soft:     #252320;
  --parchment:    #EDE7DA;
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'Jost', sans-serif;
  --body-text:    #F5F1EA;
  --body-muted:   rgba(245,241,234,.48);
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--body-text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom Cursor ──────────────────────────────────────────── */
.cursor {
  width: 8px; height: 8px;
  background: var(--stone);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s, background .3s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(196,184,154,.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s, opacity .3s;
}

/* ── Navigation ─────────────────────────────────────────────── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; height: 88px;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  transition: background .4s, backdrop-filter .4s;
}
nav.site-nav.scrolled {
  background: rgba(20,18,16,.96);
  backdrop-filter: blur(16px);
}
nav.site-nav::after {
  content: '';
  position: absolute; bottom: 0; left: 60px; right: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,184,154,.2), transparent);
}

.nav-logo {
  font-family: var(--sans);
  font-size: 22px; font-weight: 300;
  letter-spacing: .18em;
  color: var(--body-text);
  text-decoration: none;
  text-transform: uppercase;
  /* Hard-constrain the anchor so nothing can escape */
  display: block;
  height: 52px;
  max-height: 52px;
  max-width: 220px;
  overflow: hidden;
  flex-shrink: 0;
  line-height: 52px;
}
.nav-logo .logo-accent { color: var(--stone); }

/* ── Every possible WordPress logo img selector ─────────────── */
.nav-logo img,
.nav-logo img.site-logo-img,
.nav-logo img.custom-logo,
.nav-logo .custom-logo-link img,
.site-nav a img {
  display: block !important;
  width: auto !important;
  height: 52px !important;      /* fixed height — matches nav-logo container */
  max-height: 52px !important;
  max-width: 220px !important;
  min-height: unset !important;
  min-width: unset !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.nav-links { display: flex; gap: 44px; list-style: none; }
.nav-links a {
  font-size: 10px; font-weight: 300;
  letter-spacing: .25em; text-transform: uppercase;
  color: rgba(245,241,234,.5);
  text-decoration: none;
  transition: color .3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 100%; height: 1px;
  background: var(--stone);
  transition: right .4s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover { color: var(--stone); }
.nav-links a:hover::after { right: 0; }

.nav-cta {
  font-size: 10px; font-weight: 300;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  border: 1px solid rgba(196,184,154,.35);
  padding: 10px 24px;
  transition: all .3s;
}
.nav-cta:hover { background: var(--stone); color: var(--ink); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 1px;
  background: var(--body-text);
  transition: all .3s;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: grid; grid-template-columns: 55% 45%;
  overflow: hidden;
}

.hero-img-panel { position: relative; overflow: hidden; }
.hero-img-panel img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: brightness(.75) contrast(1.05);
  transition: transform 8s ease;
}
.hero-img-panel:hover img { transform: scale(1.03); }
.hero-img-panel::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, transparent 50%, var(--ink) 100%),
    linear-gradient(to top, rgba(20,18,16,.6) 0%, transparent 50%);
}

.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px 72px 80px 64px;
  position: relative; z-index: 2;
  background: var(--ink);
}
.hero-content::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(196,184,154,.25), transparent);
}

.hero-eyebrow {
  font-size: 10px; font-weight: 300;
  letter-spacing: .38em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 28px;
  display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--stone); }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(50px,4.5vw,76px);
  font-weight: 300; line-height: 1.06;
  color: var(--body-text); margin-bottom: 28px;
}
.hero-title em { font-style: italic; color: var(--stone); }

.hero-desc {
  font-size: 13px; font-weight: 200; line-height: 1.95;
  color: var(--body-muted);
  max-width: 360px; margin-bottom: 52px;
  border-left: 1px solid rgba(196,184,154,.2);
  padding-left: 22px;
}

.hero-actions { display: flex; align-items: center; gap: 28px; }

.btn-primary {
  display: inline-block;
  font-size: 10px; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase;
  text-decoration: none;
  color: var(--ink); background: var(--stone);
  padding: 16px 36px;
  position: relative; overflow: hidden;
  transition: color .4s;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--body-text);
  transform: translateX(-101%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }

.btn-ghost {
  font-size: 10px; font-weight: 300;
  letter-spacing: .28em; text-transform: uppercase;
  text-decoration: none;
  color: rgba(245,241,234,.45);
  display: flex; align-items: center; gap: 12px;
  transition: color .3s;
}
.btn-ghost:hover { color: var(--stone); }
.btn-ghost::after {
  content: '';
  width: 22px; height: 1px;
  background: currentColor;
  transition: width .3s;
}
.btn-ghost:hover::after { width: 38px; }

.hero-stats {
  position: absolute; bottom: 48px; left: 64px;
  display: flex; gap: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(196,184,154,.1);
}
.stat-num {
  font-family: var(--serif);
  font-size: 34px; font-weight: 300;
  color: var(--body-text); line-height: 1; margin-bottom: 5px;
}
.stat-num span { font-size: 18px; color: var(--stone); margin-left: 1px; }
.stat-label {
  font-size: 9px; letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(245,241,234,.3);
}

.scroll-ind {
  position: absolute; bottom: 48px; right: 52px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 10;
}
.scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, rgba(196,184,154,.5), transparent);
  position: relative; overflow: hidden;
}
.scroll-line::before {
  content: '';
  position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--stone);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { from { top: -100%; } to { top: 200%; } }
.scroll-label {
  font-size: 8px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(245,241,234,.25);
  writing-mode: vertical-rl; transform: rotate(180deg);
}

/* ── Marquee Band ────────────────────────────────────────────── */
.marquee-band {
  background: var(--marquee-bg);
  padding: 13px 0; overflow: hidden; white-space: nowrap;
}
.marquee-track { display: inline-flex; animation: marquee 28s linear infinite; }
.marquee-item {
  font-family: var(--serif);
  font-size: 15px; font-weight: 300; font-style: italic;
  color: var(--marquee-txt); padding: 0 44px; opacity: .65;
}
.marquee-sep { color: var(--marquee-txt); vertical-align: middle; font-size: 10px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Section Base ────────────────────────────────────────────── */
.section { padding: 130px 0; }
.container { max-width: 1380px; margin: 0 auto; padding: 0 60px; }

.eyebrow {
  font-size: 10px; letter-spacing: .38em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--stone); }

.sec-title {
  font-family: var(--serif);
  font-size: clamp(38px,3.8vw,56px);
  font-weight: 300; line-height: 1.1;
  color: var(--body-text);
}
.sec-title em { font-style: italic; color: var(--stone); }

/* ── Collections / Product Grid ─────────────────────────────── */
.collections-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; margin-bottom: 64px; align-items: end;
}
.collections-desc {
  font-size: 13px; line-height: 1.9;
  color: rgba(245,241,234,.4);
  font-weight: 200; max-width: 360px; align-self: end;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 3px;
}

.product-card {
  position: relative; overflow: hidden;
  cursor: none; background: var(--ink-mid);
}
.product-card:first-child { grid-row: span 2; }
.product-card img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .8s cubic-bezier(.4,0,.2,1);
  display: block;
}
.product-card:first-child img { height: 100%; }
.product-card:not(:first-child) { aspect-ratio: 4/3; }
.product-card:hover img { transform: scale(1.07); }

.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,12,10,.92) 0%, rgba(14,12,10,.15) 55%, transparent 100%);
  transition: opacity .4s;
}
.card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 26px;
  transform: translateY(6px);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .card-content { transform: translateY(0); }

.card-tag {
  font-size: 9px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 7px; opacity: .8;
}
.card-name {
  font-family: var(--serif);
  font-size: 22px; font-weight: 300;
  color: var(--body-text); line-height: 1.25; margin-bottom: 12px;
}
.product-card:first-child .card-name { font-size: 30px; }

.card-link {
  font-size: 9px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--stone); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s .08s, transform .3s .08s;
}
.card-link::after { content: '→'; }
.product-card:hover .card-link { opacity: 1; transform: translateY(0); }

.card-geo {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px;
  border: 1px solid rgba(196,184,154,.18);
  transform: rotate(45deg);
  transition: transform .5s, border-color .4s;
}
.product-card:hover .card-geo { transform: rotate(90deg); border-color: rgba(196,184,154,.45); }

/* ── About Section ───────────────────────────────────────────── */
.about-section {
  background: var(--ink-soft);
  padding: 0; overflow: hidden; position: relative;
}
.about-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,184,154,.2), transparent);
}

.about-grid { display: grid; grid-template-columns: 55% 45%; }

.about-img { position: relative; overflow: hidden; }
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  filter: brightness(.8);
}
.about-img::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, transparent 60%, var(--ink-soft) 100%),
    linear-gradient(to top, rgba(20,18,16,.5) 0%, transparent 40%);
}

.about-img-tag {
  position: absolute; bottom: 40px; left: 36px; z-index: 2;
}
.img-tag-num {
  font-family: var(--serif);
  font-size: 52px; font-weight: 300;
  color: var(--body-text); line-height: 1;
}
.img-tag-label {
  font-size: 9px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--stone); margin-top: 4px;
}

.about-text {
  padding: 100px 80px 100px 72px;
  display: flex; flex-direction: column; justify-content: center;
}

.about-body {
  font-size: 14px; line-height: 1.95;
  color: rgba(245,241,234,.45);
  font-weight: 200; margin: 28px 0 44px;
}
.about-body p + p { margin-top: 18px; }

.about-grid-mini {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; margin-top: 52px;
}
.mini-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mini-img:hover img { transform: scale(1.06); }
.mini-img::after { content: ''; position: absolute; inset: 0; background: rgba(20,18,16,.25); }

/* ── Process ─────────────────────────────────────────────────── */
.process-section { padding: 130px 0; }
.process-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; margin-bottom: 72px; align-items: end;
}
.process-desc {
  font-size: 13px; line-height: 1.9;
  color: rgba(245,241,234,.38);
  font-weight: 200; align-self: end;
}

.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(196,184,154,.08);
}
.process-step {
  background: var(--ink);
  padding: 44px 32px;
  position: relative; overflow: hidden;
  transition: background .4s;
}
.process-step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--stone);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.process-step:hover::before { transform: scaleX(1); }
.process-step:hover { background: rgba(196,184,154,.03); }

.process-num {
  font-family: var(--serif);
  font-size: 56px; font-weight: 300;
  color: rgba(196,184,154,.08); line-height: 1; margin-bottom: 28px;
}
.process-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(196,184,154,.25);
  margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
}
.process-icon::before {
  content: '';
  width: 14px; height: 14px;
  background: var(--stone); opacity: .55;
}
.process-step-title {
  font-family: var(--serif);
  font-size: 20px; font-weight: 300;
  color: var(--body-text); margin-bottom: 14px;
}
.process-step-desc {
  font-size: 13px; line-height: 1.85;
  color: rgba(245,241,234,.35);
  font-weight: 200;
}

/* ── Feature Band (Full-Width Quote) ────────────────────────── */
.feature-band { position: relative; height: 600px; overflow: hidden; }
.feature-band img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  filter: brightness(.55) contrast(1.1);
}
.feature-band-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20,18,16,.8) 0%, rgba(20,18,16,.3) 50%, rgba(20,18,16,.6) 100%);
}
.feature-band-content {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  text-align: center; width: 100%; padding: 0 60px;
}
.feature-quote {
  font-family: var(--serif);
  font-size: clamp(28px,3.5vw,52px);
  font-weight: 300; font-style: italic;
  color: var(--body-text); line-height: 1.4;
  max-width: 820px; margin: 0 auto 28px;
}
.feature-attr {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--stone); opacity: .7;
}

/* ── Gallery Strip ───────────────────────────────────────────── */
.gallery-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px;
}
.gallery-item { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.4,0,.2,1), filter .4s;
  filter: grayscale(20%) brightness(.85);
}
.gallery-item:hover img { transform: scale(1.06); filter: grayscale(0%) brightness(1); }
.gallery-item-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 18px;
  background: linear-gradient(to top, rgba(14,12,10,.88), transparent);
  transform: translateY(100%); transition: transform .4s;
  font-size: 13px; font-family: var(--serif);
  color: var(--stone-light);
}
.gallery-item:hover .gallery-item-label { transform: translateY(0); }

/* ── CTA / Contact ───────────────────────────────────────────── */
.cta-section {
  padding: 140px 0;
  background: var(--ink-mid);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 15% 50%, rgba(196,184,154,.05) 0%, transparent 70%);
}
.cta-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}

.cta-title {
  font-family: var(--serif);
  font-size: clamp(40px,4vw,62px);
  font-weight: 300; line-height: 1.08;
  color: var(--body-text);
}
.cta-title em { font-style: italic; color: var(--stone); }
.cta-sub {
  font-size: 13px; line-height: 1.9;
  color: rgba(245,241,234,.38);
  font-weight: 200; margin-top: 24px; max-width: 340px;
}

.form-group { margin-bottom: 4px; }
.form-input {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid rgba(196,184,154,.15);
  padding: 17px 0;
  font-family: var(--sans); font-size: 13px; font-weight: 200;
  color: var(--body-text); outline: none; letter-spacing: .04em;
  transition: border-color .3s;
}
.form-input::placeholder { color: rgba(245,241,234,.25); }
.form-input:focus { border-bottom-color: var(--stone); }
.form-input option { background: var(--ink-mid); }
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(196,184,154,.35)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}
.form-footer { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; }
.form-note { font-size: 11px; color: rgba(245,241,234,.22); }

/* ── Footer ──────────────────────────────────────────────────── */
footer.site-footer {
  background: #0C0B09;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(196,184,154,.08);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 56px; margin-bottom: 72px;
}

.footer-logo {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: .18em;
  color: var(--body-text);
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  height: 52px;
  max-height: 52px;
  max-width: 220px;
  overflow: hidden;
  line-height: 52px;
  margin-bottom: 18px;
}
.footer-logo .logo-accent { color: var(--stone); }
.footer-logo img,
.footer-logo img.site-logo-img,
.footer-logo img.custom-logo,
.site-footer a img {
  display: block !important;
  width: auto !important;
  height: 52px !important;
  max-height: 52px !important;
  max-width: 220px !important;
  min-height: unset !important;
  min-width: unset !important;
  object-fit: contain !important;
  object-position: left center !important;
}
.footer-tagline {
  font-size: 12px; line-height: 1.85;
  color: rgba(245,241,234,.28);
  font-weight: 200; max-width: 230px; margin-bottom: 30px;
}

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(196,184,154,.12);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: rgba(245,241,234,.35);
  font-size: 11px; letter-spacing: .05em;
  transition: all .3s;
}
.footer-social a:hover { border-color: var(--stone); color: var(--stone); }

.footer-col-title {
  font-size: 9px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 22px; opacity: .7;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  font-size: 13px; font-weight: 200;
  color: rgba(245,241,234,.35);
  text-decoration: none; transition: color .3s;
}
.footer-links a:hover { color: var(--stone); }

.footer-contact-item {
  font-size: 13px; font-weight: 200;
  color: rgba(245,241,234,.35);
  margin-bottom: 11px; line-height: 1.75;
}

.footer-bottom {
  border-top: 1px solid rgba(196,184,154,.07);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 11px; color: rgba(245,241,234,.18); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a {
  font-size: 11px; color: rgba(245,241,234,.18);
  text-decoration: none; transition: color .3s;
}
.footer-legal a:hover { color: var(--stone); }

/* ── Reveal Animations ───────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .85s cubic-bezier(.4,0,.2,1), transform .85s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }
.reveal-delay-4 { transition-delay: .48s; }

/* ── Product Single Page ─────────────────────────────────────── */
.product-hero {
  position: relative; height: 70vh; min-height: 500px;
  overflow: hidden; margin-top: 88px;
}
.product-hero img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: brightness(.65) contrast(1.05);
}
.product-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,.85) 0%, rgba(20,18,16,.1) 60%, transparent 100%);
}
.product-hero-content {
  position: absolute; bottom: 72px; left: 0; right: 0;
}

.product-body { padding: 80px 0; }
.product-layout {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 80px; align-items: start;
}

.product-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.product-gallery-main {
  grid-column: span 2;
  min-height: clamp(360px, 60vh, 700px);
  max-height: clamp(360px, 60vh, 700px);
  overflow: hidden;
  background: linear-gradient(145deg, #0f0e0c 0%, #171511 45%, #0e0d0b 100%);
  border: 1px solid rgba(196,184,154,.18);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  position: relative;
}
.product-gallery-main::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(196,184,154,.08);
  border-radius: 4px;
  pointer-events: none;
}
.product-gallery-main img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100% - 10px);
  object-fit: contain;
  object-position: center;
  border-radius: 3px;
  box-shadow: 0 26px 42px rgba(0,0,0,.42);
}
.product-gallery-thumb { aspect-ratio: 4/3; overflow: hidden; }
.product-gallery-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s; cursor: pointer;
}
.product-gallery-thumb:hover img { transform: scale(1.05); }

.product-info { position: sticky; top: 110px; }
.product-category {
  font-size: 9px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 16px; opacity: .8;
}
.product-title {
  font-family: var(--serif);
  font-size: clamp(32px,3vw,48px);
  font-weight: 300; line-height: 1.1;
  color: var(--body-text); margin-bottom: 24px;
}
.product-subtitle {
  margin: -8px 0 24px;
  font-family: var(--sans);
  font-size: clamp(20px,2.2vw,34px);
  line-height: 1.32;
  color: rgba(232,224,208,.92);
  font-weight: 300;
  max-width: 20ch;
}
.product-desc {
  font-size: 14px; line-height: 1.9;
  color: rgba(245,241,234,.45);
  font-weight: 200; margin-bottom: 36px;
}

.product-specs { margin-bottom: 36px; border-top: 1px solid rgba(196,184,154,.1); }
.product-spec {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(196,184,154,.08);
}
.spec-label {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(245,241,234,.3);
}
.spec-value {
  font-size: 13px; color: rgba(245,241,234,.65);
  font-weight: 200;
}

.product-actions { display: flex; flex-direction: column; gap: 12px; }
.product-actions .btn-primary { text-align: center; width: 100%; }
.btn-outline {
  display: block; text-align: center;
  font-size: 10px; font-weight: 300;
  letter-spacing: .25em; text-transform: uppercase;
  text-decoration: none;
  color: var(--stone);
  border: 1px solid rgba(196,184,154,.25);
  padding: 14px 24px;
  transition: all .3s;
}
.btn-outline:hover { background: rgba(196,184,154,.06); border-color: var(--stone); }

.product-analysis {
  margin-top: 96px;
  padding-top: 54px;
  border-top: 1px solid rgba(196,184,154,.16);
  position: relative;
}
.product-analysis::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 5% 0%, rgba(196,184,154,.08), transparent 34%);
}
.product-analysis-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(290px, 370px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.product-analysis-rail {
  position: sticky;
  top: 108px;
}
.product-analysis-header {
  margin-bottom: 22px;
}
.product-analysis-header h2 {
  margin: 8px 0 0;
  font-family: var(--sans);
  font-size: clamp(34px,2.9vw,44px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: .01em;
  color: var(--body-text);
}
.product-analysis-intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.92;
  color: rgba(245,241,234,.58);
  font-weight: 300;
}
.product-analysis-panels {
  display: grid;
  gap: 10px;
}
.product-analysis-panel {
  border: 1px solid rgba(196,184,154,.18);
  background: linear-gradient(160deg, rgba(255,255,255,.016), rgba(255,255,255,.004));
}
.product-analysis-panel summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(245,241,234,.9);
  font-weight: 500;
}
.product-analysis-panel summary::-webkit-details-marker {
  display: none;
}
.product-analysis-panel summary::marker {
  content: '';
}
.product-analysis-panel summary::after {
  content: '+';
  color: var(--stone);
  font-size: 16px;
  line-height: 1;
  transition: transform .25s ease;
}
.product-analysis-panel[open] summary::after {
  transform: rotate(45deg);
}
.product-analysis-panel ul,
.product-analysis-panel ol {
  margin: 0 !important;
  padding: 0 18px 18px !important;
  list-style: none !important;
  display: grid;
  gap: 8px;
}
.product-analysis-panel li {
  display: block;
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245,241,234,.52);
  font-weight: 300;
}
.product-analysis-panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .82em;
  width: 6px;
  height: 1px;
  background: rgba(196,184,154,.88);
}
.product-analysis-panel h4 {
  margin: 2px 0 10px;
  padding: 0 18px;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245,241,234,.62);
  font-weight: 500;
}
.product-analysis-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 18px;
}
.product-related { padding: 80px 0; border-top: 1px solid rgba(196,184,154,.08); }
.product-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 48px; }

/* ── Archive / Products Listing Page ────────────────────────── */
.archive-hero {
  height: 40vh; min-height: 320px;
  position: relative; overflow: hidden;
  margin-top: 88px;
  display: flex; align-items: center; justify-content: center;
}
.archive-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; filter: brightness(.45);
}
.archive-hero-content { position: relative; z-index: 2; text-align: center; }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 3px 0;
}

/* ── Mobile Hero Image Strip ─────────────────────────────────── */

/* Hidden on desktop — shown only on mobile */
.hero-mobile-images {
  display: none;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}

.hero-mobile-track {
  display: flex;
  /* Auto-scroll animation — pauses on hover/touch */
  animation: heroSlide 12s linear infinite;
  will-change: transform;
}
.hero-mobile-track:hover,
.hero-mobile-track:focus-within {
  animation-play-state: paused;
}

.hero-mobile-slide {
  flex: 0 0 85vw;          /* each slide = 85% of viewport width */
  max-width: 85vw;
  height: 56vw;            /* ~16:9 proportion */
  overflow: hidden;
  margin-right: 12px;
  border-radius: 4px;
}
.hero-mobile-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: brightness(.85) contrast(1.05);
  display: block;
}

/* Dot indicators */
.hero-mobile-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 4px;
}
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(196,184,154,.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.hero-dot.active {
  background: var(--stone);
  transform: scale(1.4);
}

/* Keyframe: slide the track left by one full set of images.
   JS overrides this for tap/swipe control. */
@keyframes heroSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* -50% because track is duplicated */
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  /* Switch hero to single-column stacked layout */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    height: auto;
    min-height: 100vh;
  }
  /* Desktop image panel — hidden, replaced by mobile strip */
  .hero-img-panel { display: none; }
  /* Mobile image strip — shown */
  .hero-mobile-images {
    display: block;
    order: -1;               /* appears above the content */
    padding: 88px 0 0;       /* clear the fixed nav */
  }
  .hero-content {
    padding: 40px 40px 120px;
    background: var(--ink);
  }
  .hero-stats { left: 40px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-img { height: 60vw; }
  .about-text { padding: 60px 40px; }

  .process-grid { grid-template-columns: repeat(2, 1fr); }

  .product-layout { grid-template-columns: 1fr; }
  .product-info { position: static; }

  .product-gallery-main {
    min-height: clamp(320px, 55vh, 560px);
    max-height: clamp(320px, 55vh, 560px);
    padding: 14px;
  }

  .product-analysis {
    margin-top: 72px;
    padding-top: 44px;
  }

  .product-analysis-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-analysis-rail {
    position: static;
    max-width: 760px;
  }
}

@media (max-width: 768px) {
  nav.site-nav { padding: 0 24px; }
  nav.site-nav .nav-links,
  nav.site-nav .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 88px; left: 0; right: 0;
    background: rgba(20,18,16,.98);
    padding: 32px 24px; gap: 24px;
  }

  .container { padding: 0 24px; }
  .section { padding: 80px 0; }

  .collections-header { grid-template-columns: 1fr; gap: 24px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card:first-child { grid-row: auto; grid-column: span 2; }

  .process-grid { grid-template-columns: 1fr; }
  .process-header { grid-template-columns: 1fr; }

  .gallery-strip { grid-template-columns: repeat(2, 1fr); }

  .product-analysis-subgrid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cta-grid { grid-template-columns: 1fr; gap: 48px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  .archive-grid { grid-template-columns: 1fr 1fr; }
  .product-related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card:first-child { grid-column: auto; }
  .gallery-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
}
