:root {
  --rust:  #cd5a37;
  --clay:  #c8856e;
  --steel: #738ea7;
  --peri:  #c9d4f2;
  --linen: #dfd2c0;
  --sage:  #9b9e89;
  --mocha: #aa846e;
  --dark:  #2d2926;
  --off:   #f8f3ed;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off);
  color: var(--dark);
  overflow-x: hidden;
  margin: 0px;
}

/* ── INTRO ── */
.intro {
  height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 40px;
  position: relative;
}
.intro-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--rust); margin-bottom: 20px;
}
.intro h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(48px, 7vw, 88px);
  font-weight: 800; color: var(--dark); line-height: 1.0; margin-bottom: 16px;
}
.intro h1 em { font-style: italic; color: var(--rust); }
.intro-sub {
  font-family: 'Cormorant Garamond', serif; font-size: 24px;
  font-style: italic; color: var(--clay); margin-bottom: 48px;
}
.scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--muted, #9a8f8a);
}
.scroll-arrow {
  width: 1px; height: 60px; background: var(--clay);
  animation: arrowDown 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes arrowDown {
  0%   { transform: scaleY(0); opacity: 0; transform-origin: top; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}

/* ── STACKED CARDS CONTAINER ── */
.stack-section {
  /* tall enough for all cards to scroll through */
  margin: 8px;
}

.stack-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* Each card sits absolutely, slides up via JS transform */
.stack-card {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: calc(100vh - 0px);
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.05s linear;
  /* Cards start below the viewport */
  transform: translateY(100%);
}

/* ── TAB (the coloured header strip like in the image) ── */
.card-tab {
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
}
.card-tab-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3.5px;
  text-transform: uppercase; color: #fff;
}
.card-tab-num {
  font-family: 'Playfair Display', serif; font-size: 20px;
  font-weight: 800; color: rgba(255,255,255,0.35);
}

/* ── CARD BODY ── */
.card-body {
  height: calc(100% - 56px);
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.card-left {
  padding: 52px 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid rgba(0,0,0,0.06);
}
.card-right {
  padding: 52px 48px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--off);
}

.card-num {
  font-family: 'Playfair Display', serif; font-size: 80px; font-weight: 800;
  line-height: 1; margin-bottom: 0;
  opacity: 0.08; position: absolute;
  top: 16px; left: 40px;
}
.card-content { position: relative; }
.card-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 12px;
}
.card-name {
  font-family: 'Playfair Display', serif; font-size: clamp(36px, 4vw, 60px);
  font-weight: 800; line-height: 1.0; margin-bottom: 10px; color: var(--dark);
}
.card-tagline {
  font-family: 'Cormorant Garamond', serif; font-size: 22px;
  font-style: italic; margin-bottom: 32px;
}
.card-price-wrap { margin-bottom: 32px; }
.card-price-label {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #999; margin-bottom: 4px;
}
.card-price {
  font-family: 'Playfair Display', serif; font-size: 42px;
  font-weight: 800; line-height: 1;
}
.card-bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.card-bullets li {
  font-size: 14px; line-height: 1.55; color: #5a5350;
  padding-left: 20px; position: relative;
}
.card-bullets li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  border: 1.5px solid;
}
.card-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 12px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 28px; border-radius: 40px; border: none;
  color: #fff; cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.card-cta:hover { transform: scale(1.05); }

/* Right panel — visual */
.card-visual {
  width: 100%; flex: 1;
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 20px; padding: 32px;
  position: relative;
}
.card-visual-num {
  font-family: 'Playfair Display', serif; font-size: 120px;
  font-weight: 800; line-height: 1; opacity: 0.12;
  position: absolute; bottom: -10px; right: 16px;
  color: var(--dark);
}
.card-includes-title {
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #999; margin-bottom: 16px;
}
.include-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 30px;
  font-size: 13px; font-weight: 500; margin: 4px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.07);
  color: var(--dark);
}
.include-pill-dot {
  width: 6px; height: 6px; border-radius: 50; flex-shrink: 0;
}
.pills-wrap { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }

/* ── CARD COLOUR THEMES ── */
.theme-rust  .card-tab { background: var(--rust); }
.theme-rust  .card-eyebrow { color: var(--rust); }
.theme-rust  .card-tagline { color: var(--clay); }
.theme-rust  .card-price { color: var(--rust); }
.theme-rust  .card-bullets li::before { border-color: var(--clay); background: var(--clay); }
.theme-rust  .card-cta { background: var(--rust); }
.theme-rust  .card-visual { background: linear-gradient(135deg, #fdf0eb 0%, #f5e0d8 100%); }

.theme-steel .card-tab { background: var(--steel); }
.theme-steel .card-eyebrow { color: var(--steel); }
.theme-steel .card-tagline { color: var(--steel); }
.theme-steel .card-price { color: var(--steel); }
.theme-steel .card-bullets li::before { border-color: var(--steel); background: var(--steel); }
.theme-steel .card-cta { background: var(--steel); }
.theme-steel .card-visual { background: linear-gradient(135deg, #eef2f8 0%, #dce6f0 100%); }

.theme-clay  .card-tab { background: var(--clay); }
.theme-clay  .card-eyebrow { color: var(--clay); }
.theme-clay  .card-tagline { color: var(--mocha); }
.theme-clay  .card-price { color: var(--clay); }
.theme-clay  .card-bullets li::before { border-color: var(--clay); background: var(--clay); }
.theme-clay  .card-cta { background: var(--clay); }
.theme-clay  .card-visual { background: linear-gradient(135deg, #faf3ef 0%, #f0e4dc 100%); }

.theme-dark  .card-tab { background: var(--dark); }
.theme-dark  .card-eyebrow { color: var(--dark); }
.theme-dark  .card-tagline { color: var(--mocha); }
.theme-dark  .card-price { color: var(--dark); }
.theme-dark  .card-bullets li::before { border-color: var(--dark); background: var(--dark); }
.theme-dark  .card-cta { background: var(--dark); }
.theme-dark  .card-visual { background: linear-gradient(135deg, #f2eeea 0%, #e5ddd6 100%); }

.theme-sage  .card-tab { background: var(--sage); }
.theme-sage  .card-eyebrow { color: var(--sage); }
.theme-sage  .card-tagline { color: var(--sage); }
.theme-sage  .card-price { color: var(--sage); }
.theme-sage  .card-bullets li::before { border-color: var(--sage); background: var(--sage); }
.theme-sage  .card-cta { background: var(--sage); }
.theme-sage  .card-visual { background: linear-gradient(135deg, #f2f3ee 0%, #e4e5dc 100%); }

.theme-mocha .card-tab { background: var(--mocha); }
.theme-mocha .card-eyebrow { color: var(--mocha); }
.theme-mocha .card-tagline { color: var(--mocha); }
.theme-mocha .card-price { color: var(--mocha); }
.theme-mocha .card-bullets li::before { border-color: var(--mocha); background: var(--mocha); }
.theme-mocha .card-cta { background: var(--mocha); }
.theme-mocha .card-visual { background: linear-gradient(135deg, #f5f0eb 0%, #ece0d4 100%); }

/* ── OUTRO ── */
.outro {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 80px 40px;
  background: var(--dark);
}
.outro-script {
  font-family: 'Cormorant Garamond', serif; font-size: 48px;
  font-style: italic; color: var(--clay); margin-bottom: 16px;
}
.outro-sub {
  font-size: 13px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 48px;
}
.outro-cta {
  background: var(--rust); color: #fff; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 18px 48px; border-radius: 50px; cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.outro-cta:hover { transform: scale(1.05); }

/* ── PROGRESS DOTS ── */
.progress-dots {
  position: fixed; right: 28px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; z-index: 100;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(45,41,38,0.18); cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.dot.active { background: var(--rust); transform: scale(1.4); }

/* ── MOBILE ── */
@media(max-width:768px){
  .card-body { grid-template-columns: 1fr; }
  .card-right { display: none; }
  .card-left { padding: 32px 24px; }
  .card-name { font-size: 36px; }
  .card-tab { padding: 0 24px; }
  .intro h1 { font-size: 40px; }
}