/* ═══════════════════════════════════════════════════════════════
   DESIGNER METALS | Shared Lookbook Styles
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400&display=swap');

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

:root {
  --gold: #C8922A;
  --gold-light: #D4A84B;
  --gold-dark: #A07520;
  --charcoal: #141414;
  --charcoal-mid: #1E1E1E;
  --charcoal-light: #282828;
  --slate: #3A3A3A;
  --warm-gray: #9A9590;
  --cream: #FAF8F5;
  --cream-dark: #F0EDE8;
  --white: #FFFFFF;
  --text: #2C2C2C;
  --text-light: #6A6A6A;
  --heading: 'Montserrat', sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 16px 40px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.1), 0 32px 64px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════════════════════════
   SITE NAV
   ═══════════════════════════════════════════════════════════════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
}
.site-nav-logo {
  height: 38px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.site-nav-logo:hover { opacity: 1; }
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-nav-link {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.site-nav-link:hover { color: rgba(255,255,255,0.9); }
.site-nav-link.active { color: var(--gold-light); }
.site-nav-cta {
  padding: 0.5rem 1.4rem;
  border-radius: 6px;
  background: rgba(200,146,42,0.15);
  border: 1px solid rgba(200,146,42,0.3);
  color: var(--gold-light) !important;
  font-weight: 500;
}
.site-nav-cta:hover { background: rgba(200,146,42,0.25); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.3rem;
}

/* ═══════════════════════════════════════════════════════════════
   HERO (full - hub page)
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--charcoal);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 35%, rgba(200,146,42,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(200,146,42,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(200,146,42,0.04) 0%, transparent 60%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  opacity: 0.12;
  filter: grayscale(0.3);
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 950px;
}

.hero-logo {
  max-width: 320px;
  width: 100%;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}

.hero-rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2rem;
}

.hero h1 {
  font-family: var(--heading);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero h1 em { font-style: normal; font-weight: 800; color: var(--gold-light); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--warm-gray);
  font-weight: 300;
  letter-spacing: 0.03em;
  margin-bottom: 3.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-pills {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.hero-pill:hover {
  background: rgba(200,146,42,0.15);
  border-color: rgba(200,146,42,0.4);
  color: var(--white);
}

.hero-pill .pill-icon {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.65rem;
  color: var(--warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.4rem;
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--warm-gray);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  animation: bob 2.5s ease-in-out infinite;
}
.scroll-cue svg { display: block; margin: 0.4rem auto 0; width: 18px; stroke: var(--gold); }
@keyframes bob {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO (sub-pages, shorter header band)
   ═══════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  background: var(--charcoal);
  padding: 3.5rem 2rem 2.5rem;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 60%, rgba(200,146,42,0.06) 0%, transparent 70%);
}
.page-hero .ph-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.page-hero .sec-label { color: var(--gold-light); margin-bottom: 0.8rem; }
.page-hero .sec-title { color: var(--white); margin-bottom: 1rem; }
.page-hero .sec-desc { color: var(--warm-gray); max-width: 600px; margin: 0 auto; }
.page-hero .hero-rule { margin-bottom: 1.5rem; }

/* ═══════════════════════════════════════════════════════════════
   HUB CARDS (landing page 2x2 grid)
   ═══════════════════════════════════════════════════════════════ */
.hub-section { background: var(--cream); }

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.hub-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s, box-shadow 0.3s;
}
.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 60px rgba(0,0,0,0.15);
}

.hub-card-bg {
  position: absolute;
  inset: 0;
}
.hub-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
  transition: filter 0.4s, transform 0.6s;
}
.hub-card:hover .hub-card-bg img {
  filter: brightness(0.4);
  transform: scale(1.03);
}

.hub-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  z-index: 1;
}

.hub-card-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.hub-card-title {
  font-family: var(--heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.4rem;
}

.hub-card-desc {
  font-size: 0.82rem;
  color: var(--warm-gray);
  font-weight: 300;
  max-width: 340px;
  line-height: 1.55;
}

.hub-card-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(200,146,42,0.15);
  border: 1px solid rgba(200,146,42,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.hub-card:hover .hub-card-arrow {
  background: rgba(200,146,42,0.3);
  transform: translate(2px, -2px);
}
.hub-card-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.5;
}

/* ═══════════════════════════════════════════════════════════════
   SHARED SECTION STYLES
   ═══════════════════════════════════════════════════════════════ */
.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
section { padding: 7rem 0; }

.sec-header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.sec-label {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
}
.sec-title {
  font-family: var(--heading);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700; color: var(--charcoal);
  letter-spacing: -0.02em;
  line-height: 1.2; margin-bottom: 1rem;
}
.sec-desc {
  font-size: 1rem; color: var(--text-light);
  font-weight: 300; line-height: 1.75;
}

/* Dark variant */
.dark { background: var(--charcoal); color: var(--white); }
.dark .sec-label { color: var(--gold-light); }
.dark .sec-title { color: var(--white); }
.dark .sec-desc { color: var(--warm-gray); }

/* ═══════════════════════════════════════════════════════════════
   3D CONFIGURATOR
   ═══════════════════════════════════════════════════════════════ */
.configurator-section { background: var(--cream); }

.config-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--charcoal);
  margin-bottom: 4rem;
}

.config-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: var(--charcoal-mid);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-dot.red { background: #FF5F57; }
.browser-dot.yel { background: #FEBC2E; }
.browser-dot.grn { background: #28C840; }

.browser-url {
  flex: 1;
  margin-left: 0.8rem;
  padding: 0.35rem 1rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  font-family: var(--mono);
  font-size: 0.72rem;
  border: 1px solid rgba(255,255,255,0.04);
}

.config-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.config-iframe-wrap .iframe-fallback {
  position: relative;
  width: 100%;
  height: 100%;
}

.fallback-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}
.fallback-mosaic img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4); transition: filter 0.4s; }
.config-showcase:hover .fallback-mosaic img { filter: brightness(0.55); }

.fallback-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

.fallback-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(200,146,42,0.2);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
  transition: transform 0.3s, background 0.3s;
}
.config-showcase:hover .fallback-icon,
.viz-showcase:hover .fallback-icon,
.gallery-showcase:hover .fallback-icon {
  transform: scale(1.1);
  background: rgba(200,146,42,0.35);
}

.fallback-overlay p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  max-width: 400px;
}

.iframe-fallback p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  max-width: 360px;
  text-align: center;
}

.config-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.config-feat {
  padding: 1.8rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  transition: border-color 0.3s, transform 0.3s;
}
.config-feat:hover { border-color: var(--gold); transform: translateY(-2px); }

.config-feat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(200,146,42,0.12), rgba(200,146,42,0.04));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 1rem;
  color: var(--gold-dark);
}

.config-feat h4 {
  font-family: var(--heading);
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 0.4rem; color: var(--charcoal);
}
.config-feat p { font-size: 0.82rem; color: var(--text-light); font-weight: 300; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════
   PHOTO VISUALIZER
   ═══════════════════════════════════════════════════════════════ */
.visualizer-section { background: var(--charcoal); color: var(--white); }

.viz-flow {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 4rem;
  position: relative;
}

.viz-flow::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  opacity: 0.3;
  z-index: 0;
}

.viz-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.viz-step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--charcoal-light);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading); font-size: 1.1rem;
  font-weight: 700; color: var(--gold);
  margin: 0 auto 1rem;
}

.viz-step h4 {
  font-family: var(--heading);
  font-size: 1.05rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.5rem;
}

.viz-step p {
  font-size: 0.8rem; color: var(--warm-gray);
  font-weight: 300; line-height: 1.6;
  max-width: 180px; margin: 0 auto;
}

.viz-tech-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.viz-tech {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--charcoal-light);
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s;
}
.viz-tech:hover { border-color: rgba(200,146,42,0.3); }

.viz-tech h4 {
  font-family: var(--heading); font-size: 1.1rem;
  font-weight: 700; margin-bottom: 0.6rem;
}
.viz-tech p { font-size: 0.85rem; color: var(--warm-gray); font-weight: 300; line-height: 1.65; }

.viz-tech .tech-tag {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(200,146,42,0.12);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-family: var(--mono);
  font-weight: 400;
}

.viz-showcase {
  display: block;
  text-decoration: none;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  margin-bottom: 4rem;
  transition: box-shadow 0.4s;
}
.viz-showcase:hover { box-shadow: 0 12px 50px rgba(0,0,0,0.5); }

.viz-showcase-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.viz-showcase-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); transition: filter 0.4s, transform 0.6s; }
.viz-showcase:hover .viz-showcase-img img { filter: brightness(0.65); transform: scale(1.02); }

.viz-showcase-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.viz-showcase-overlay .fallback-icon { margin-bottom: 1rem; }
.viz-showcase-overlay p { color: var(--warm-gray); }

/* ── Visualizer Upload Hero ── */
.viz-upload-hero {
  text-align: center;
  padding: 4rem 2rem;
  margin-bottom: 3rem;
  border-radius: var(--radius-lg);
  background: var(--charcoal-light);
  border: 1px solid rgba(255,255,255,0.06);
}
.viz-upload-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}
.viz-upload-icon svg { width: 80px; height: 80px; }
.viz-upload-title {
  font-family: var(--heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.viz-upload-desc {
  font-size: 0.92rem;
  color: var(--warm-gray);
  font-weight: 300;
  max-width: 440px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.viz-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 1rem 2.6rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(200,146,42,0.3);
}
.viz-upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,146,42,0.45);
}
.viz-upload-btn svg { width: 16px; height: 16px; }
@media (max-width: 480px) {
  .viz-upload-hero { padding: 2.5rem 1.5rem; }
  .viz-upload-icon { width: 60px; height: 60px; }
  .viz-upload-icon svg { width: 60px; height: 60px; }
  .viz-upload-title { font-size: 1.2rem; }
  .viz-upload-desc { font-size: 0.82rem; }
  .viz-upload-btn { font-size: 0.82rem; padding: 0.85rem 2rem; }
}

/* ── Gallery Showcase Banner ── */
.gallery-showcase {
  display: block;
  text-decoration: none;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 4rem;
  transition: box-shadow 0.4s;
}
.gallery-showcase:hover { box-shadow: 0 12px 50px rgba(0,0,0,0.15); }

.gallery-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.gallery-banner img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55); transition: filter 0.4s; }
.gallery-showcase:hover .gallery-banner img { filter: brightness(0.7); }

.gallery-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.gallery-banner-overlay p { color: var(--warm-gray); }

/* ═══════════════════════════════════════════════════════════════
   GALLERY GRID
   ═══════════════════════════════════════════════════════════════ */
.gallery-section { background: var(--cream); }

.gallery-category { margin-bottom: 3rem; }
.cat-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cat-name {
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
}
.cat-count {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 400;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.g-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.g-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.g-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.g-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.g-card:hover .g-card-img img { transform: scale(1.03); }

.g-badge {
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  padding: 0.28rem 0.65rem;
  background: rgba(0,0,0,0.6);
  color: white;
  border-radius: 6px;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
}

.g-res {
  position: absolute;
  top: 0.8rem; right: 0.8rem;
  padding: 0.25rem 0.55rem;
  background: rgba(200,146,42,0.85);
  color: white;
  border-radius: 4px;
  font-size: 0.58rem; font-weight: 600;
}

.g-card-info { padding: 1.2rem 1.4rem; }
.g-card-info h4 { font-family: var(--heading); font-size: 1.05rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.35rem; }
.g-card-info p { font-size: 0.82rem; color: var(--text-light); font-weight: 300; line-height: 1.5; margin-bottom: 0.8rem; }

.color-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.22rem 0.55rem; border-radius: 20px;
  font-size: 0.65rem; font-weight: 500;
  background: var(--cream); color: var(--text-light);
  border: 1px solid rgba(0,0,0,0.05);
}
.chip .cdot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }


/* ═══════════════════════════════════════════════════════════════
   OVERVIEW / WHY CHOOSE US
   ═══════════════════════════════════════════════════════════════ */
.overview-section { background: var(--white); }

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ov-card {
  padding: 2.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.ov-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }

.ov-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.ov-card:hover::before { opacity: 1; }

.ov-card h4 {
  font-family: var(--heading); font-size: 1.15rem;
  font-weight: 700; margin-bottom: 0.6rem; color: var(--charcoal);
}
.ov-card p { font-size: 0.85rem; color: var(--text-light); font-weight: 300; line-height: 1.65; }

.ov-num {
  font-family: var(--heading); font-size: 2.2rem;
  font-weight: 800; color: var(--gold);
  margin-bottom: 0.6rem; line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════════════════ */
.cta {
  background: linear-gradient(135deg, var(--charcoal) 0%, #1a1a2e 50%, var(--charcoal) 100%);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(200,146,42,0.06) 0%, transparent 70%);
}

.cta-inner { position: relative; z-index: 1; }

.cta h2 {
  font-family: var(--heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--white);
  margin-bottom: 0.8rem;
}
.cta p {
  color: var(--warm-gray); font-weight: 300;
  font-size: 1rem; margin-bottom: 2.5rem;
  max-width: 480px; margin-left: auto; margin-right: auto;
}

.cta-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white); font-family: var(--sans);
  font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.95rem 2.4rem; border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(200,146,42,0.3);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,146,42,0.45);
}
.cta-btn svg { width: 15px; height: 15px; }

.cta-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--warm-gray); font-size: 0.82rem;
  text-decoration: none; margin-left: 2rem;
  font-weight: 400; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.cta-secondary:hover { color: var(--gold-light); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-logo { max-width: 160px; margin-bottom: 0.8rem; opacity: 0.7; }
.footer p { font-size: 0.68rem; color: rgba(255,255,255,0.2); letter-spacing: 0.1em; text-transform: uppercase; }
.footer a { color: var(--gold); text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════════ */
.lb { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.93); z-index: 9999; justify-content: center; align-items: center; cursor: zoom-out; backdrop-filter: blur(16px); }
.lb.on { display: flex; }
.lb img { max-width: 92vw; max-height: 92vh; object-fit: contain; border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,0.6); }
.lb-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); color: white; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.lb-close:hover { background: rgba(255,255,255,0.18); }

/* ═══════════════════════════════════════════════════════════════
   LIVE IFRAME EMBED
   ═══════════════════════════════════════════════════════════════ */
.live-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--charcoal);
  margin-bottom: 3rem;
}
.live-embed-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: var(--charcoal-mid);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.live-embed-bar .browser-url { flex: 1; }
.live-embed-bar .btn-fullscreen {
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  padding: 0.3rem 0.75rem;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.2s, color 0.2s;
}
.live-embed-bar .btn-fullscreen:hover {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
}
.live-embed iframe {
  display: block;
  width: 100%;
  height: 85vh;
  min-height: 600px;
  border: none;
  background: #111;
}
.live-embed-hint {
  padding: 0.6rem 1.2rem;
  background: var(--charcoal-light);
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
  font-size: 0.72rem;
  color: var(--warm-gray);
}
.live-embed-hint a {
  color: var(--gold-light);
  text-decoration: none;
}
.live-embed-hint a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   GALLERY: ENHANCED LIGHTBOX
   ═══════════════════════════════════════════════════════════════ */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(8px);
  z-index: 10;
}
.lb-nav:hover {
  background: rgba(200,146,42,0.3);
  border-color: var(--gold);
}
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }

.lb-info {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 10;
}
.lb-counter {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--sans);
  letter-spacing: 0.05em;
}
.lb-title {
  font-family: var(--heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.lb-download {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}
.lb-download:hover { background: rgba(200,146,42,0.3); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .config-features, .viz-tech-cards, .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .viz-flow { flex-wrap: wrap; }
  .viz-flow::before { display: none; }
  .hub-card-title { font-size: 1.25rem; }
}
@media (max-width: 768px) {
  .gallery-grid, .config-features, .viz-tech-cards, .overview-grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-card { aspect-ratio: 16 / 10; }
  .gallery-banner { grid-template-columns: repeat(2, 1fr); aspect-ratio: 2 / 1; }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .hero-pills { gap: 0.5rem; }
  section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }
  .hero-logo { max-width: 220px; }
  .cta-secondary { display: block; margin: 1.5rem auto 0; text-align: center; }
  .page-hero { padding: 3.5rem 1.5rem 3rem; }
  .site-nav-links { display: none; }
  .site-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--charcoal);
    padding: 1rem 2rem;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    z-index: 100;
  }
  .nav-toggle { display: block; }
  .live-embed iframe { height: 70vh; min-height: 450px; }
  .lb-nav { width: 36px; height: 36px; font-size: 1.1rem; }
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
  .lb-info { flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
  /* Viz flow: stack steps vertically on tablet */
  .viz-flow { flex-direction: column; align-items: center; gap: 1.5rem; }
  .viz-step p { max-width: 280px; }
  /* CTA button row: stack vertically */
  .cta-secondary { margin-left: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   HUB GRID: 3-COLUMN PORTRAIT (Variant A)
   ═══════════════════════════════════════════════════════════════ */
.hub-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.hub-grid-3 .hub-card { aspect-ratio: 3 / 4; }

/* ═══════════════════════════════════════════════════════════════
   HERO VARIANT B: MINIMAL (half-height)
   ═══════════════════════════════════════════════════════════════ */
.hero-minimal {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--charcoal);
  overflow: hidden;
}
.hero-minimal .hero-bg-single {
  position: absolute;
  inset: 0;
}
.hero-minimal .hero-bg-single img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: grayscale(0.3);
}
.hero-minimal .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}
.hero-minimal .hero-logo { max-width: 360px; margin-bottom: 2rem; }
.hero-minimal .hero-tagline {
  font-family: var(--heading);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.hero-minimal .hero-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 1rem 2.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(200,146,42,0.3);
}
.hero-minimal .hero-explore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,146,42,0.45);
}

/* Horizontal cards for Variant B */
.hub-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.hub-horizontal .hub-card { aspect-ratio: 16 / 9; }

/* ═══════════════════════════════════════════════════════════════
   HERO VARIANT C: CROSSFADING
   ═══════════════════════════════════════════════════════════════ */
.hero-crossfade {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--charcoal);
  overflow: hidden;
}
.hero-crossfade .hero-cf-bg {
  position: absolute;
  inset: 0;
}
.hero-crossfade .hero-cf-bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  filter: brightness(0.3);
}
.hero-crossfade .hero-cf-bg img.cf-active { opacity: 1; }

.hero-crossfade .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}
.hero-crossfade .hero-logo { max-width: 300px; margin-bottom: 1.5rem; }
.hero-crossfade .hero-sub {
  font-size: 1rem;
  color: var(--warm-gray);
  font-weight: 300;
  margin-bottom: 3rem;
}

/* Floating glass cards for Variant C */
.hero-float-cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-float-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.8rem 2.2rem;
  border-radius: var(--radius);
  background: rgba(20,20,20,0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.hero-float-card:hover {
  background: rgba(200,146,42,0.12);
  border-color: rgba(200,146,42,0.3);
  transform: translateY(-3px);
}
.hero-float-card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}
.hero-float-card-title {
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.hero-float-card-desc {
  font-size: 0.72rem;
  color: var(--warm-gray);
  font-weight: 300;
}

/* Progress dots for Variant C */
.hero-cf-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.6rem;
}
.hero-cf-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(200,146,42,0.3);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}
.hero-cf-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* CTA Band (compact) for Variant C */
.cta-compact {
  background: var(--charcoal-mid);
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(200,146,42,0.1);
}
.cta-compact h2 {
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.cta-compact p {
  color: var(--warm-gray);
  font-size: 0.88rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   GALLERY STORY CARDS (no categories, no filters)
   ═══════════════════════════════════════════════════════════════ */
.gallery-stories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.story-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.story-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.story-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.story-card:hover .story-card-img img { transform: scale(1.03); }

.story-badge {
  position: absolute;
  top: 0.8rem; left: 0.8rem;
  padding: 0.3rem 0.7rem;
  background: rgba(0,0,0,0.6);
  color: white;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
}
.story-card-body { padding: 1.4rem 1.6rem; }
.story-card-body h4 {
  font-family: var(--heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.story-card-body .story-text {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   SLIDESHOW: SHARED BASE
   ═══════════════════════════════════════════════════════════════ */
.slideshow {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--charcoal);
  flex-direction: column;
}
.slideshow.open { display: flex; }

.ss-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}
.ss-close:hover { background: rgba(200,146,42,0.3); }

.ss-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}
.ss-nav:hover { background: rgba(200,146,42,0.3); border-color: var(--gold); }
.ss-prev { left: 1.5rem; }
.ss-next { right: 1.5rem; }

.ss-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  z-index: 20;
  transition: width linear;
}

.ss-counter {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--sans);
  letter-spacing: 0.05em;
  z-index: 20;
}

.ss-playpause {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.4);
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background 0.2s;
}
.ss-playpause:hover { background: rgba(200,146,42,0.3); }

.ss-layout-toggle {
  position: absolute;
  bottom: 1rem;
  left: 1.5rem;
  display: flex;
  gap: 0.4rem;
  z-index: 20;
}
.ss-layout-btn {
  width: 32px; height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.4);
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.ss-layout-btn:hover { border-color: rgba(200,146,42,0.4); color: var(--white); }
.ss-layout-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(200,146,42,0.15); }

/* ── Slideshow Content Area ── */
.ss-content {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* ── Layout 1: Split Panel (60/40) ── */
.ss-layout-split .ss-slide {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.ss-layout-split .ss-slide.active { opacity: 1; }
.ss-layout-split .ss-slide-img {
  width: 60%;
  height: 100%;
  overflow: hidden;
}
.ss-layout-split .ss-slide-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ss-layout-split .ss-slide-info {
  width: 40%;
  padding: 2.5rem 2.5rem 2rem;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}
.ss-slide-info h3 {
  font-family: var(--heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.ss-slide-info .ss-location {
  font-size: 0.72rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.ss-slide-info .ss-story {
  font-size: 0.88rem;
  color: var(--warm-gray);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.ss-slide-info .color-chips { margin-top: auto; }
/* Color chips need dark-mode styling inside slideshow */
.slideshow .color-chips .chip {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}

/* ── Panel Specs (split panel detail section) ── */
.ss-specs {
  margin-bottom: 1.5rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}
.ss-specs-title {
  font-family: var(--heading);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(200,146,42,0.15);
}
.ss-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.5rem;
}
.ss-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.2rem 0;
}
.ss-spec-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}
.ss-spec-value {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-family: var(--sans);
}

/* ── Layout 2: Fullscreen + Overlay Bar ── */
.ss-layout-overlay .ss-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.ss-layout-overlay .ss-slide.active { opacity: 1; }
.ss-layout-overlay .ss-slide-img {
  width: 100%;
  height: 100%;
}
.ss-layout-overlay .ss-slide-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ss-layout-overlay .ss-slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 3rem 2.5rem;
  background: rgba(20,20,20,0.75);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.ss-layout-overlay .ss-slide-info .ss-story {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* ── Color Cards (large swatch display in slideshow) ── */
.ss-color-cards {
  margin-bottom: 1.5rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}
.ss-color-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.ss-color-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1;
  min-width: 110px;
}
.ss-color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.ss-color-name {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-family: var(--sans);
  line-height: 1.3;
}
.ss-layout-overlay .ss-color-cards { display: none; }
.ss-layout-cinematic .ss-color-cards { display: none; }
@media (max-width: 768px) {
  .ss-color-grid { gap: 0.6rem; }
  .ss-color-swatch { width: 32px; height: 32px; border-radius: 6px; }
  .ss-color-name { font-size: 0.65rem; }
  .ss-color-cards { padding: 0.8rem 1rem; margin-bottom: 0.8rem; }
}

.ss-layout-overlay .ss-specs { display: none; }

/* ── Layout 3: Ken Burns Cinematic ── */
.ss-layout-cinematic .ss-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.ss-layout-cinematic .ss-slide.active { opacity: 1; }
.ss-layout-cinematic .ss-slide-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.ss-layout-cinematic .ss-slide-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ss-layout-cinematic .ss-slide.active .ss-slide-img img {
  animation: kenburns-in 6s ease-out forwards;
}
.ss-layout-cinematic .ss-slide.active.kb-out .ss-slide-img img {
  animation: kenburns-out 6s ease-out forwards;
}
.ss-layout-cinematic .ss-slide-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 2rem;
  opacity: 0;
  animation: fade-in-text 0.8s 0.5s ease forwards;
}
.ss-layout-cinematic .ss-slide.active .ss-slide-info {
  opacity: 0;
  animation: fade-in-text 0.8s 0.5s ease forwards;
}
.ss-layout-cinematic .ss-slide-info h3 {
  font-size: 2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}
.ss-layout-cinematic .ss-slide-info .ss-location {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.ss-layout-cinematic .ss-slide-info .ss-story { display: none; }
.ss-layout-cinematic .ss-specs { display: none; }
.ss-layout-cinematic .ss-slide-info .ss-panel-tag {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
}

@keyframes kenburns-in {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@keyframes kenburns-out {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes fade-in-text {
  from { opacity: 0; transform: translate(-50%, -45%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

/* ═══════════════════════════════════════════════════════════════
   PLAY SLIDESHOW BUTTON (gallery page)
   ═══════════════════════════════════════════════════════════════ */
.play-slideshow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 16px rgba(200,146,42,0.3);
  margin-top: 1.2rem;
}
.play-slideshow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,146,42,0.45);
}

/* ═══════════════════════════════════════════════════════════════
   SLIDESHOW & GALLERY RESPONSIVE: TABLET (768px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Slideshow split: image 40%, info 60% for more reading space */
  .ss-layout-split .ss-slide { flex-direction: column; }
  .ss-layout-split .ss-slide-img { width: 100%; height: 40%; }
  .ss-layout-split .ss-slide-info { width: 100%; height: 60%; padding: 1.2rem 1.5rem 3.5rem; }
  .ss-slide-info h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
  .ss-slide-info .ss-location { font-size: 0.65rem; margin-bottom: 0.8rem; }
  .ss-slide-info .ss-story { font-size: 0.78rem; line-height: 1.6; margin-bottom: 1rem; }
  .ss-spec-grid { grid-template-columns: 1fr; gap: 0.3rem; }
  .ss-specs { padding: 0.8rem 1rem; margin-bottom: 0.8rem; }
  .ss-nav { width: 36px; height: 36px; font-size: 1.1rem; }
  .ss-prev { left: 0.5rem; }
  .ss-next { right: 0.5rem; }
  .ss-layout-overlay .ss-slide-info { padding: 1.2rem 1.5rem 2.5rem; }
  .ss-layout-cinematic .ss-slide-info h3 { font-size: 1.4rem; }
  /* Hide layout toggle on mobile; too small to be useful */
  .ss-layout-toggle { display: none; }
  .ss-counter { bottom: 0.8rem; font-size: 0.65rem; }
  .ss-playpause { bottom: 0.6rem; right: 0.8rem; width: 32px; height: 32px; }
  .ss-close { top: 0.8rem; right: 0.8rem; width: 38px; height: 38px; }
  /* Gallery cards single column */
  .gallery-stories { grid-template-columns: 1fr; }
  .hub-grid-3 { grid-template-columns: 1fr; }
  .hub-horizontal { grid-template-columns: 1fr; }
  .hero-float-cards { flex-direction: column; align-items: center; }
  /* Color chips in dark slideshow context */
  .slideshow .color-chips .chip {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
  }
  /* Live embed: hide browser dots, shrink bar */
  .live-embed-bar .browser-dot { display: none; }
  .live-embed-bar { padding: 0.5rem 0.8rem; }
  .live-embed-bar .browser-url { margin-left: 0; font-size: 0.65rem; }
  .live-embed-bar .btn-fullscreen { font-size: 0.62rem; padding: 0.25rem 0.55rem; }
  /* Hero stats: 2x2 grid on tablet */
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; justify-items: center; }
  .hero-stat-num { font-size: 2rem; }
}
@media (max-width: 1024px) {
  .hub-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hub-horizontal { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   SMALL PHONE (480px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Tighter section padding */
  section { padding: 3rem 0; }
  .container { padding: 0 1rem; }
  .page-hero { padding: 2.5rem 1.2rem 2rem; }
  /* Hero */
  .hero-logo { max-width: 180px; margin-bottom: 1.5rem; }
  .hero h1 { font-size: 1.6rem; }
  .hero-sub { font-size: 0.88rem; margin-bottom: 2rem; }
  .hero-pills { gap: 0.5rem; margin-bottom: 2rem; }
  .hero-pill { font-size: 0.7rem; padding: 0.45rem 0.9rem; }
  .hero-stats { gap: 1rem 1.5rem; }
  .hero-stat-num { font-size: 1.6rem; }
  .hero-stat-label { font-size: 0.58rem; }
  .scroll-cue { bottom: 1.5rem; }
  /* Page hero */
  .sec-title { font-size: 1.4rem; }
  .sec-desc { font-size: 0.85rem; }
  /* Hub cards */
  .hub-card-content { padding: 1.2rem; }
  .hub-card-title { font-size: 1.1rem; }
  .hub-card-desc { font-size: 0.75rem; }
  .hub-card-arrow { width: 32px; height: 32px; top: 1rem; right: 1rem; }
  .hub-card-arrow svg { width: 13px; height: 13px; }
  /* Story cards */
  .story-card-body { padding: 1rem 1.2rem; }
  .story-card-body h4 { font-size: 0.95rem; }
  .story-card-body .story-text { font-size: 0.76rem; line-height: 1.55; }
  /* Config features */
  .config-feat { padding: 1.2rem; }
  .config-feat h4 { font-size: 0.92rem; }
  .config-feat p { font-size: 0.76rem; }
  /* Viz flow steps */
  .viz-step-num { width: 40px; height: 40px; font-size: 0.95rem; }
  .viz-step h4 { font-size: 0.9rem; }
  .viz-step p { font-size: 0.72rem; max-width: 160px; }
  .viz-tech { padding: 1.4rem; }
  .viz-tech h4 { font-size: 0.95rem; }
  .viz-tech p { font-size: 0.78rem; }
  /* CTA */
  .cta { padding: 3.5rem 1.2rem; }
  .cta h2 { font-size: 1.3rem; }
  .cta p { font-size: 0.85rem; margin-bottom: 1.8rem; }
  .cta-btn { font-size: 0.8rem; padding: 0.8rem 1.8rem; }
  .cta-secondary { display: block; margin: 1rem auto 0; text-align: center; }
  /* Overview cards */
  .overview-grid { gap: 1rem; }
  .ov-card { padding: 1.4rem; }
  .ov-num { font-size: 1.6rem; }
  .ov-card h4 { font-size: 1rem; }
  .ov-card p { font-size: 0.78rem; }
  /* Footer */
  .footer { padding: 2rem 1.2rem; }
  .footer-logo { max-width: 120px; }
  /* Iframe: full width, shorter */
  .live-embed iframe { height: 60vh; min-height: 380px; }
  .live-embed { border-radius: 10px; }
  .live-embed-hint { font-size: 0.65rem; padding: 0.5rem 0.8rem; }
  /* Slideshow: tighter */
  .ss-layout-split .ss-slide-info { padding: 1rem 1.2rem 3rem; }
  .ss-slide-info h3 { font-size: 1.05rem; }
  .ss-slide-info .ss-story { font-size: 0.72rem; line-height: 1.5; margin-bottom: 0.6rem; }
  .ss-specs-title { font-size: 0.6rem; }
  .ss-spec-label { font-size: 0.62rem; }
  .ss-spec-value { font-size: 0.65rem; }
  /* Play slideshow button */
  .play-slideshow-btn { font-size: 0.78rem; padding: 0.7rem 1.6rem; }
}

@media print {
  .hero { min-height: auto; padding: 3rem 2rem; page-break-after: always; }
  .hero-bg, .scroll-cue, .site-nav { display: none; }
  .config-iframe-wrap { display: none; }
  .g-card { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
  .lb { display: none !important; }
  section { padding: 2rem 0; }
}
