/* ═══════════════════════════════════════════
   1. VARIABLES, RESETS, BASE
   ═══════════════════════════════════════════ */

@font-face {
  font-family: 'EngravingShadedCC';
  src: url('EngravingCC/ttf/EngravingShadedCC.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* EngravingShadedCC: no HTML currently references this font-family.
   Previously used by .s1-engraved-callout (removed from HTML).
   Font file remains on disk — keeping @font-face for potential reuse. */

:root {
  --burgundy: #6B1D2A;
  --burgundy-deep: #4A1019;
  --navy: #1B2A4A;
  --navy-light: #2A3D66;
  --gold: #C9A84C;
  --gold-light: #DFC372;
  --cream: #FAF6EF;
  --cream-warm: #F5EDE0;
  --offwhite: #FFFDF9;
  --charcoal: #2C2C2C;
  --warm-gray: #8A8279;
  --taupe: #B8AFA4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] summary { color: var(--gold-light); }

details p {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease 0.1s, padding 0.5s ease;
  padding: 0 1.2rem !important;
}
details[open] p {
  max-height: 300px;
  opacity: 1;
  padding: 0.8rem 1.2rem 1rem !important;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--cream);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

@media (max-width: 768px) {
  section { max-width: 100vw; overflow-x: hidden; }
}
img { max-width: 100%; height: auto; }


/* ═══════════════════════════════════════════
   2. GLOBAL COMPONENTS
   ═══════════════════════════════════════════ */

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 1rem 2.2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ═══════════════════════════════════════════
   3. NAVIGATION
   ═══════════════════════════════════════════ */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(27, 42, 74, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.28);
  transition: all 0.4s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.nav-logo-text span { color: var(--gold); text-shadow: 1px 1px 0 var(--navy), -1px -1px 0 var(--navy), 1px -1px 0 var(--navy), -1px 1px 0 var(--navy); }

.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--burgundy);
  color: var(--cream) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s !important;
}
.nav-cta:hover {
  background: var(--burgundy-deep) !important;
  transform: translateY(-1px);
}

/* Hamburger button (disabled — display:none!important below) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 201;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--burgundy);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile drawer + overlay (disabled) */
.mobile-nav-drawer {
  display: none !important;
}
.drawer-overlay {
  display: none !important;
}
.nav-hamburger {
  display: none !important;
}


/* ═══════════════════════════════════════════
   4. OPENING — "Stuff Comes. Stuff Goes."
   ═══════════════════════════════════════════ */

.opening-section {
  background: var(--navy);
  padding: 6rem 2rem 3rem;
}

.opening-inner {
  max-width: 900px;
  margin: 0 auto;
}

.opening-hook {
  text-align: center;
  margin-bottom: 2.5rem;
}

.opening-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-align: center;
}

.opening-heading em {
  color: var(--gold);
}

.opening-line-1 {
  display: block;
  font-size: 1em;
  color: #C9A84C;
  margin-bottom: 0.15em;
  line-height: 1.1;
}

.opening-line-amp {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.4em;
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  line-height: 1;
  margin: 0.1em 0;
}

.opening-line-2 {
  display: block;
  font-size: 1em;
  color: #ffffff;
  margin-bottom: 0.3em;
  line-height: 1.1;
}

.opening-line-3 {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 5rem);
  letter-spacing: 0.05em;
  line-height: 1;
  color: #c8a028;
  text-align: center;
  margin: 1.2em auto 0.6em;
  padding-right: 0.5em; /* room for extrusion */
  text-shadow:
    1.2px 0.7px 0 #9a6e08,
    2.4px 1.4px 0 #92620a,
    3.6px 2.1px 0 #8a570d,
    4.8px 2.8px 0 #824c10,
    6.0px 3.5px 0 #7a4013,
    7.2px 4.2px 0 #733516,
    8.4px 4.9px 0 #6b2a18,
    9.6px 5.6px 0 #631e1b,
    10.8px 6.3px 0 #5b131e,
    12.0px 7.0px 0 #530e21,
    13.2px 7.7px 0 #4a1024,
    14.4px 8.4px 0 #411228,
    15.6px 9.1px 0 #39142b,
    16.8px 9.8px 0 #30162e,
    18.0px 10.5px 0 #271832,
    19.2px 11.2px 0 #1e1a35,
    20.4px 11.9px 0 #151c38,
    21.6px 12.6px 0 #0d1e3c;
}
.opening-line-3-dots { letter-spacing: 0; }

.opening-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--taupe);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

.opening-photos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  max-width: 820px;
  margin: 0 auto 2rem;
}

.opening-photo {
  border-radius: 8px;
  overflow: hidden;
}

.opening-photo:first-child {
  height: 300px;
}

.opening-photo:nth-child(2) {
  height: 300px;
}

.opening-photo:nth-child(3) {
  height: 300px;
}

.opening-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.opening-photo:nth-child(3) img {
  object-position: 70% 40%;
}


/* ═══════════════════════════════════════════
   5. HERO — taglines + room image
   ═══════════════════════════════════════════ */

.hero-section {
  background: var(--navy);
  padding: 8rem 2rem 0;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.hero-tagline-wrap {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2rem;
}

.hero-tagline-wrap-bottom {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.4;
}

.hero-tagline-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  line-height: 1.4;
  opacity: 0.85;
  margin-top: 0.3em;
}

.hero-tagline em {
  color: var(--gold);
}

.hero-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-section-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: var(--cream);
  margin-top: 0.6rem;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Hero wordmark — base display rules */
.hero-wordmark-desktop {
  display: none;
  width: clamp(260px, 55vw, 480px);
  height: auto;
}
.hero-wordmark-mobile {
  display: inline-block;
  width: clamp(180px, 45vw, 280px);
  height: auto;
}
@media (min-width: 900px) {
  .hero-wordmark-desktop { display: inline-block; }
  .hero-wordmark-mobile  { display: none; }
}


/* ═══════════════════════════════════════════
   6. QUESTION BOX — ordinary problem
   ═══════════════════════════════════════════ */

.problem-section {
  background: var(--navy);
  padding: 3rem 2rem 5rem;
}

.problem-box {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.problem-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.7;
  opacity: 0.85;
}




/* ═══════════════════════════════════════════
   7a. ITEM EXAMPLES — phone-framed pairs
   ═══════════════════════════════════════════ */

.examples-section {
  background: var(--navy);
  padding: 2rem 2rem 3rem;
}

.examples-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.example-pair {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-start;
}

.example-phone {
  width: 240px;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid rgba(201, 168, 76, 0.3);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  background: #0a0a0a;
}

.example-phone img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Bridge to use-cases ── */

.bridge-section {
  background: var(--navy);
  padding: 2rem 2rem 4rem;
}

.bridge-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.bridge-text {
  font-family: "Playfair Display", serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.7;
  opacity: 0.85;
}

@media (max-width: 599px) {
  .example-pair {
    gap: 0.75rem;
  }
  .example-phone {
    width: calc(50vw - 2.5rem);
    max-width: 180px;
    border-radius: 16px;
  }
  .opening-heading {
    font-size: 1.9rem;
  }
  .opening-line-amp {
    font-size: 1.6em;
  }
  .opening-photo:first-child,
  .opening-photo:nth-child(2),
  .opening-photo:nth-child(3) {
    height: 380px;
  }
  .hero-image-wrap {
    margin: 0 -1rem;
  }
}

@media (min-width: 600px) {
  .example-phone {
    width: 280px;
  }
}

@media (min-width: 900px) {
  .examples-inner {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    max-width: 1200px;
  }
  .example-phone {
    width: 260px;
  }
}


/* ═══════════════════════════════════════════
   7. PIVOT + PILLARS — accordion
   ═══════════════════════════════════════════ */

.pivot-section {
  background: var(--navy);
  padding: 3rem 2rem 4rem;
}

.pivot-inner {
  max-width: 780px;
  margin: 0 auto;
}

.pivot-headline-block {
  text-align: center;
  margin-bottom: 3rem;
}

.pivot-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.pivot-headline em {
  color: var(--gold);
}

.pivot-subhead-wrap {
  text-align: center;
  margin-bottom: 2rem;
}

.pivot-subhead {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--cream);
  line-height: 1.7;
}

.pillar-container {
  max-width: 620px;
  margin: 0 auto;
}

.pillar-item {
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  margin-bottom: 0.5rem;
  background: rgba(0, 0, 0, 0.15);
}

.pillar-summary {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
}

.pillar-num {
  color: var(--gold);
  margin-right: 0.5rem;
}

.pillar-content {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--cream);
  line-height: 1.7;
  margin-top: 0.8rem;
}

details[open] .pillar-content {
  opacity: 0.85;
}

.pillar-outro-wrap {
  max-width: 520px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.pillar-outro {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--cream);
  line-height: 1.8;
  opacity: 0.75;
}


/* ═══════════════════════════════════════════
   8. HERO LOGO — SVG wordmark
   ═══════════════════════════════════════════ */

.hero-logo-section {
  background: var(--navy);
  padding: 0 2rem 4rem;
  text-align: center;
}

/* Extends .hero-wordmark-desktop with fade-in animation */
.hero-wordmark-desktop {
  opacity: 0;
  animation: fadeSlideIn 0.6s ease 0.3s forwards;
  max-width: 100%;
  overflow: hidden;
}

.hero-logo-inner {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.hero-logo-svg {
  width: 100%;
  height: auto;
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

/* Extends .hero-wordmark-mobile with animation + decoration */
.hero-wordmark-mobile {
  opacity: 0;
  animation: fadeSlideIn 0.6s ease 0.3s forwards;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 6px;
}


/* ═══════════════════════════════════════════
   9. THE SHIFT — trend, stats, demo carousel
   ═══════════════════════════════════════════ */

.s1-shift {
  position: relative;
  overflow: hidden;
}

.s1-bg {
  position: relative;
  background: var(--burgundy);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(201,168,76,0.04) 0%, transparent 50%);
  padding: 4rem 1.5rem 3rem;
  color: var(--cream);
}

.s1-copy-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.s1-headline-serif {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.s1-headline-serif em { color: var(--gold); font-style: italic; }

.s1-body {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.75;
  color: var(--cream);
  opacity: 0.92;
  margin-bottom: 1.2rem;
}
.s1-body strong { color: var(--gold); font-weight: 700; }

.s1-stats-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 680px;
  margin: 2rem auto 0;
}
.s1-stat {
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 10px;
  padding: 1.3rem 1rem;
  text-align: center;
}
.s1-stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.s1-stat-lbl {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--cream);
  opacity: 0.8;
}

@media (min-width: 600px) {
  .s1-stats-ribbon { grid-template-columns: repeat(3, 1fr); }
  .s1-bg { padding: 5rem 2.5rem 4rem; }
}

@media (min-width: 900px) {
  .s1-bg { padding: 6rem 3rem 5rem; }
}

/* Demo set title (used by LV Crossbody label) */
.demo-set-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 3rem; margin-top: 2rem;
}

/* Demo thumbnails + carousel overlay */
.demo-scroll-outer {
  margin: 3rem auto;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.demo-thumb-row {
  display: flex;
  gap: 0.75rem;
  padding: 0 1.5rem;
  width: max-content;
  margin: 0 auto;
}

.demo-thumb {
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  text-align: center;
}
.demo-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}
.demo-thumb:hover::after {
  box-shadow: 0 0 0 2px var(--gold);
}
.demo-thumb-card {
  width: 130px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  border: 1px solid rgba(201,168,76,0.25);
}
.demo-thumb-img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  display: block;
}
.demo-thumb-img-top {
  object-position: top;
}
.demo-thumb-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Enlarged preview on hover (desktop only) */
@media (min-width: 769px) {
  .demo-enlarged-preview {
    position: fixed;
    z-index: 9000;
    pointer-events: none;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.7);
    border: 2px solid var(--gold);
    max-width: 700px;
    max-height: 630px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .demo-enlarged-preview.visible {
    opacity: 1;
  }
}

/* Carousel overlay */
.demo-carousel-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.demo-carousel-overlay.visible {
  opacity: 1;
}
.demo-carousel-img {
  max-width: 85vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  border: 2px solid rgba(201,168,76,0.4);
}
.demo-carousel-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  background: rgba(0,0,0,0.6);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
}
.demo-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  padding: 1rem;
  user-select: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.demo-carousel-nav:hover { opacity: 1; }
.demo-carousel-prev { left: 1rem; }
.demo-carousel-next { right: 1rem; }
.demo-carousel-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  opacity: 0.7;
  padding: 0.5rem;
}
.demo-carousel-close:hover { opacity: 1; }
.demo-carousel-counter {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* Mobile overrides — carousel */
@media (max-width: 768px) {
  .roger-photo-grid {
    grid-template-columns: 1fr;
  }
  .demo-carousel-img {
    max-width: 95vw;
    max-height: 80vh;
  }
  .demo-carousel-nav {
    font-size: 1.8rem;
    padding: 0.5rem;
  }
  .demo-carousel-prev { left: 0.3rem; }
  .demo-carousel-next { right: 0.3rem; }
  .demo-carousel-close {
    top: 0.8rem;
    right: 0.8rem;
  }
}


/* ═══════════════════════════════════════════
   10. SCOPE — 14 categories + redirects
   ═══════════════════════════════════════════ */

#scope {
  background: var(--navy);
  padding: 6rem 2rem;
}

.scope-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.scope-header {
  text-align: center;
  margin-bottom: 2rem;
}

.scope-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.scope-grid {
  margin-bottom: 4rem;
}

.scope-subheading {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.scope-intro {
  font-size: 1rem;
  color: rgba(250, 246, 239, 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scope-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  display: flex;
  gap: 1rem;
  align-items: baseline;
}

.scope-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  color: var(--gold);
  min-width: 2rem;
}

.scope-name {
  color: var(--cream);
}

.scope-desc {
  font-size: 0.85rem;
  color: rgba(250, 246, 239, 0.6);
}

.scope-redirects {
  margin-top: 2.5rem;
  background: var(--navy);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  color: var(--cream);
}

.scope-redirects-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.scope-redirects-intro {
  font-size: 0.9rem;
  color: var(--taupe);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.scope-redirect-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.scope-redirect-item {
  font-size: 0.85rem;
  color: var(--cream);
  padding: 0.2rem 0;
}

.scope-redirects-note {
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin-top: 1rem;
  font-style: italic;
}


/* ═══════════════════════════════════════════
   11. LV CROSSBODY — tap-cycle demo
   ═══════════════════════════════════════════ */

.lv-crossbody-section {
  background: var(--navy);
  padding: 4rem 2rem;
}
.lv-crossbody-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.lv-crossbody-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-start;
}

.tap-cycle {
  position: relative;
  width: 150px;
  cursor: pointer;
  transition: width 0.35s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  border: 1px solid rgba(201,168,76,0.3);
}
.tap-cycle img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.tap-cycle.enlarged {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 520px);
  z-index: 5000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.65);
}
.tap-cycle.enlarged img {
  max-height: 85vh;
  object-fit: contain;
}
.tap-cycle-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,8,20,0.72);
  z-index: 4999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.tap-cycle-backdrop.visible { opacity: 1; }


/* ═══════════════════════════════════════════
   12. EXTRAORDINARY SOLUTION
   ═══════════════════════════════════════════ */

.solution-section {
  background: var(--navy);
  padding: 6rem 2rem;
}

.solution-inner {
  max-width: 900px;
  margin: 0 auto;
}

.solution-statement {
  background: var(--navy);
  border-radius: 12px;
  padding: 2.5rem 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

.solution-statement-lead {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--taupe);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.solution-statement-punch {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.4;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.solution-card {
  border-left: 3px solid var(--gold);
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
}

.solution-card-alt {
  border-left-color: var(--burgundy);
}

.solution-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.solution-card-alt .solution-card-title {
  color: var(--taupe);
}

.solution-card-desc {
  font-size: 0.92rem;
  color: var(--taupe);
  line-height: 1.6;
}

.solution-marketplaces {
  margin-bottom: 3rem;
}

.solution-marketplaces-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 1.5rem;
}

.solution-marketplaces-list {
  font-size: 0.88rem;
  color: var(--warm-gray);
  line-height: 2.1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.solution-marketplace-donation {
  display: block;
  margin-top: 0.8rem;
  color: var(--taupe);
  font-style: italic;
}

.solution-appstore {
  background: var(--navy);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 0;
}

.solution-appstore-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.solution-appstore-sub {
  font-size: 0.88rem;
  color: var(--taupe);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.solution-qr-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: rgba(250, 246, 239, 0.08);
  border: 1px dashed rgba(201, 168, 76, 0.3);
  border-radius: 8px;
  margin: 0 auto 1rem;
}

.solution-qr-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(201, 168, 76, 0.4);
  text-align: center;
  line-height: 1.6;
}

.solution-appstore-note {
  font-size: 0.75rem;
  color: var(--taupe);
  margin-top: 0.5rem;
}


/* ═══════════════════════════════════════════
   13. 3×3 DEMO GRID
   ═══════════════════════════════════════════ */

.demo-grid-section {
  background: var(--navy);
  padding: 0 2rem 4rem;
}

.demo-grid {
  max-width: 1000px;
  margin: 0 auto;
}

.demo-grid-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.demo-grid-cell {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.demo-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.demo-grid-img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.demo-grid-caption {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 2.5rem;
}


/* ═══════════════════════════════════════════
   14. PROCESS — methodology, standards, MMFA
   ═══════════════════════════════════════════ */

.process-section {
  background: var(--navy);
  padding: 6rem 2rem;
}

.process-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.process-header {
  text-align: center;
  margin-bottom: 4rem;
}

.process-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.process-label-line {
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.process-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.process-heading em {
  color: var(--gold);
}

.process-subtitle {
  font-size: 1.1rem;
  color: var(--taupe);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.process-part {
  margin-bottom: 4rem;
}

.process-part-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.process-part-title-sm {
  margin-bottom: 0.8rem;
}

.process-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.process-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 10px;
  padding: 2rem;
}

.process-card-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.process-card-name {
  font-weight: 700;
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-card-desc {
  font-size: 0.9rem;
  color: var(--taupe);
  line-height: 1.7;
}

.process-part-summary {
  font-size: 0.95rem;
  color: var(--taupe);
  line-height: 1.7;
  margin-top: 1.5rem;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.process-part-intro {
  font-size: 1rem;
  color: var(--taupe);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.process-standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.process-standard-item {
  text-align: center;
  padding: 1.2rem;
}

.process-standard-name {
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.process-standard-desc {
  font-size: 0.8rem;
  color: var(--taupe);
  line-height: 1.5;
}

.process-mmfa {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
}

.process-mmfa-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.process-mmfa-sub {
  font-size: 0.85rem;
  color: var(--warm-gray);
}


/* ═══════════════════════════════════════════
   15. CLOSING STATEMENT
   ═══════════════════════════════════════════ */

.closing-statement {
  background: var(--navy);
  padding: 4rem 2rem;
  text-align: center;
}

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

.closing-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--cream);
  line-height: 1.2;
}

.closing-heading em {
  color: var(--gold);
}


/* ═══════════════════════════════════════════
   16. CTA — early access
   ═══════════════════════════════════════════ */

.section-cta {
  background: var(--navy);
  padding: 8rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 50%;
}
.section-cta::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border: 1px solid rgba(201, 168, 76, 0.05);
  border-radius: 50%;
}

.cta-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 3rem; margin-top: 2rem;
  position: relative;
  z-index: 2;
}
.cta-tagline em { color: var(--gold); font-style: italic; }

.cta-sub {
  font-size: 1.1rem;
  color: var(--taupe);
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.section-cta .btn-primary { font-size: 0.95rem; padding: 1.2rem 3rem; position: relative; z-index: 2; }

/* CTA extensions */
.cta-sub {
  max-width: 620px;
  margin: 0 auto 2rem;
}

.cta-find-block {
  margin-bottom: 1.5rem;
}

.cta-find-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
  font-style: italic;
}

.cta-appstore-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2.5rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.cta-email-row {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin-bottom: 0.8rem;
}

.cta-email-input {
  padding: 1rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  border: 1px solid rgba(201, 168, 76, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  width: 280px;
  outline: none;
}

.cta-waitlist-btn {
  border: 2px solid rgba(201, 168, 76, 0.5);
  cursor: pointer;
  background: transparent;
  font-size: 0.85rem;
}

.cta-disclaimer {
  font-size: 0.7rem;
  color: var(--taupe);
  margin-top: 0.5rem;
  position: relative;
  z-index: 2;
}


/* ═══════════════════════════════════════════
   17. FOOTER
   ═══════════════════════════════════════════ */

footer {
  background: var(--burgundy-deep);
  padding: 2.5rem 5rem 2.5rem;
  border-top: 1px solid rgba(201,168,76,0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--cream);
  opacity: 0.6;
}

.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.75rem;
  color: var(--cream);
  opacity: 0.4;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity 0.3s;
}
.footer-links a:hover { opacity: 0.8; }


/* ═══════════════════════════════════════════
   18. MOBILE FLOATING CTA
   ═══════════════════════════════════════════ */

@media (max-width: 900px) {
  .mobile-cta-float {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    background: var(--burgundy);
    color: var(--cream);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 8px 30px rgba(107, 29, 42, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
  }
  .mobile-cta-float:hover {
    background: var(--burgundy-deep);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 40px rgba(107, 29, 42, 0.5);
  }
  .mobile-cta-float.hidden {
    opacity: 0;
    pointer-events: none;
  }
}


/* ═══════════════════════════════════════════
   19. RESPONSIVE OVERRIDES
   ═══════════════════════════════════════════ */

@media (max-width: 900px) {
  nav { padding: 0.8rem 1rem; flex-wrap: wrap; gap: 0.5rem; }
  .nav-links { gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
  .nav-links a { font-size: 0.7rem; letter-spacing: 0.04em; }
  .section-cta { padding: 4rem 2rem; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 2rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .cta-tagline { font-size: 2.5rem; }
}

/* ═══════════════════════════════════════════
   USE CASES — Collapsible persona cards
   ═══════════════════════════════════════════ */

.usecase-section {
  background: var(--navy);
  padding: 5rem 2rem;
}

.usecase-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.usecase-header {
  text-align: center;
  margin-bottom: 1rem;
}

.usecase-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.usecase-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.usecase-sub {
  font-size: 1.05rem;
  color: var(--taupe);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

.usecase-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 2.5rem auto 3rem;
}

.usecase-container {
  max-width: 700px;
  margin: 0 auto;
}

.usecase-item {
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--burgundy);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.2s ease;
}

.usecase-item:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.usecase-item-alt {
  border-left-color: var(--gold);
}

.usecase-summary {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
}

.usecase-summary::-webkit-details-marker {
  display: none;
}

.usecase-summary > span {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.usecase-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  flex-shrink: 0;
}

.usecase-item-alt .usecase-num {
  color: var(--gold);
}

.usecase-content {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--taupe);
  line-height: 1.75;
  margin-top: 0.8rem;
  padding-left: 2rem;
}

details[open].usecase-item {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.usecase-footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--taupe);
  margin-top: 3rem;
  font-style: italic;
}

/* ═══════════════════════════════════════════
   APP DEMO CAROUSEL — horizontal scroll
   Phone-framed screenshots
   ═══════════════════════════════════════════ */

.carousel-section {
  background: var(--navy);
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.carousel-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.carousel-header {
  text-align: center;
  margin-bottom: 3rem;
}

.carousel-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.carousel-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.carousel-sub {
  font-size: 1rem;
  color: rgba(250, 246, 239, 0.7);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Track: horizontal scroll ── */

.carousel-track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 -2rem;
  padding: 0 2rem 1.5rem;
}

.carousel-track-wrap::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 1rem;
  width: max-content;
}

/* ── Individual cards ── */

.carousel-card {
  flex-shrink: 0;
  scroll-snap-align: center;
  width: 260px;
  text-align: center;
}

.carousel-phone {
  background: #000;
  border-radius: 28px;
  padding: 8px;
  box-shadow:
    0 0 0 2px rgba(201, 168, 76, 0.25),
    0 8px 32px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
}

.carousel-phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.carousel-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-top: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ── Footer ── */

.carousel-footer {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(250, 246, 239, 0.5);
  margin-top: 2.5rem;
  font-style: italic;
}

/* ── Responsive: wider cards on tablet+ ── */

@media (min-width: 768px) {
  .carousel-card {
    width: 300px;
  }
  .carousel-track {
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .carousel-card {
    width: 320px;
  }
}

/* ── Scroll hint: gradient fade on edges ── */

.carousel-track-wrap {
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 3%,
    black 97%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 3%,
    black 97%,
    transparent 100%
  );
}

/* ═══════════════════════════════════════════
   iPad target (769px–1024px) — Sep14
   ═══════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {
  .opening-heading { font-size: 2.4rem; }
  .opening-photo:first-child,
  .opening-photo:nth-child(2),
  .opening-photo:nth-child(3) { height: 360px; }
}

/* ═══════════════════════════════════════════
   06b — DEMO SWITCHER (Sep25 upgrade)
   ═══════════════════════════════════════════ */
.demo-switcher-section {
  background: var(--navy);
  padding: 5rem 1.25rem 4rem;
  color: var(--cream);
}
.demo-switcher-inner {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}
.demo-switcher-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--gold);
  margin: 0 0 0.4em;
}
.demo-switcher-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--cream);
  opacity: 0.85;
  margin: 0 0 1.75rem;
}

/* ── Tabs ── */
.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.5rem;
  margin: 0 auto 1.5rem;
}
.demo-tab {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cream);
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.28);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.demo-tab:hover {
  background: rgba(201,168,76,0.18);
  border-color: var(--gold);
}
.demo-tab.is-active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 600;
}

/* ── Viewer card ── */
.demo-viewer {
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 20px;
  padding: 1.5rem 1.25rem 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}
.demo-viewer-header {
  margin-bottom: 1rem;
}
.demo-viewer-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--gold);
  margin: 0 0 0.2em;
  letter-spacing: 0.02em;
}
.demo-viewer-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--cream);
  opacity: 0.7;
  letter-spacing: 0.03em;
}

/* ── Stage (image + nav arrows) ── */
.demo-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 0.75rem;
}
.demo-frame {
  flex: 1 1 auto;
  max-width: 100%;
  min-height: 300px;
  max-height: 82vh;
  background: #0a0a0a;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 36px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
}
.demo-img.is-fading { opacity: 0; }

/* Transition overlay */
.demo-transition {
  position: absolute;
  inset: 0;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 3;
}
.demo-transition.is-visible { opacity: 1; }

/* Nav arrows */
.demo-nav {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.demo-nav:hover {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
}

/* ── Slide label ── */
.demo-slide-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--cream);
  opacity: 0.75;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5em;
}
.demo-step {
  opacity: 0.65;
}
.demo-step-name {
  font-weight: 500;
  color: var(--gold);
  opacity: 1;
}

/* ── Progress bar ── */
.demo-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(250,246,239,0.12);
  border-radius: 3px;
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.demo-progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
  transition: width 0.35s ease;
  width: 0;
}

/* ── Dots ── */
.demo-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 0.75rem;
}
.demo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(250,246,239,0.2);
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.demo-dot:hover {
  background: rgba(250,246,239,0.45);
}
.demo-dot.is-active {
  background: var(--gold);
  transform: scale(1.35);
}

/* ── Controls ── */
.demo-controls {
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}
.demo-autoplay {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  background: none;
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.demo-autoplay:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
}
.demo-autoplay.is-playing {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
}
.demo-autoplay-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
}
.demo-autoplay-label {
  letter-spacing: 0.04em;
}

/* ── Branding ── */
.demo-branding {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--cream);
  opacity: 0.4;
  margin-top: 1.5rem;
  letter-spacing: 0.05em;
}
.demo-branding span {
  font-weight: 600;
  color: var(--gold);
  opacity: 1;
}

/* ── Mobile ≤768px ── */
@media (max-width: 768px) {
  .demo-switcher-section { padding: 3.5rem 1rem 3rem; }
  .demo-viewer { padding: 1rem 0.85rem 1rem; border-radius: 16px; }
  .demo-frame { max-width: 100%; min-height: 280px; border-radius: 10px; }
  .demo-nav { width: 36px; height: 36px; }
  .demo-tab { font-size: 0.8rem; padding: 0.4rem 0.7rem; }
  .demo-tabs { gap: 0.3rem 0.35rem; }
  .demo-viewer-title { font-size: 1.05rem; }
}

/* ── iPad 769–1024px ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .demo-frame { max-width: 100%; }
  .demo-viewer { max-width: 700px; }
}

/* ── Desktop ≥1025px ── */
@media (min-width: 1025px) {
  .demo-frame { max-width: 100%; min-height: 420px; }
  .demo-viewer { max-width: 860px; padding: 1.75rem 1.5rem 1.5rem; }
  .demo-img { max-height: 82vh; }
}

/* ── Group nav (Set 1 / Set 2 / Set 3) ── */
.demo-group-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.demo-group-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(201,168,76,0.2);
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.demo-group-btn:hover {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.5);
}
.demo-group-btn.is-active {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 768px) {
  .demo-group-btn { font-size: 0.76rem; padding: 0.4rem 0.85rem; }
}


/* ═══════════════════════════════════════════
   11b. MINI DEMOS (standalone single-item)
   ═══════════════════════════════════════════ */
.mini-demo-section {
  background: var(--navy);
  padding: 3.5rem 1.25rem;
  color: var(--cream);
}
.mini-demo-section + .mini-demo-section {
  padding-top: 0;
}
.mini-demo-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* Reuse all .demo-viewer, .demo-frame, .demo-img, .demo-nav,
   .demo-slide-label, .demo-progress-*, .demo-dots, .demo-autoplay,
   .demo-controls classes from the demo-switcher block above.
   Only the wrapper section + inner container differ. */

@media (max-width: 768px) {
  .mini-demo-section { padding: 2.5rem 1rem; }
  .mini-demo-section + .mini-demo-section { padding-top: 0; }
  .mini-demo-inner { max-width: 100%; }
}
@media (min-width: 1025px) {
  .mini-demo-inner { max-width: 620px; }
}
