/* ==========================================================================
   JULIE & ISAAC WEDDING WEBSITE - BESPOKE STYLESHEET
   Faithfully modeled after Canva: Burgundy (#7a0000), Champagne Gold (#c59056),
   Linen/Cream (#faf8f5, #f2f4ea), and Classic Editorial Typography.
   ========================================================================== */

:root {
  --burgundy: #7a0000;
  --burgundy-dark: #520000;
  --burgundy-light: #941111;
  --gold: #c59056;
  --gold-light: #dfb37c;
  --gold-dark: #a87438;
  --taupe: #b8a893;
  --cream: #faf8f5;
  --linen: #f2f4ea;
  --card-bg: #ffffff;
  --text-dark: #222222;
  --text-muted: #666666;
  --text-light: #ffffff;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-parisienne: 'Parisienne', cursive;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.2);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Common Styling */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-script {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 4px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--burgundy);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 16px auto;
  font-weight: 400;
}

.divider-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
}

.floral-divider-img {
  max-width: 180px;
  opacity: 0.8;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--burgundy);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--burgundy-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.btn-outline:hover {
  background-color: var(--burgundy);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold-dark);
  border-color: var(--gold);
}

.btn-outline-gold:hover {
  background-color: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-block {
  display: block;
  width: 100%;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(122, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(197, 144, 86, 0.3);
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  color: #ffffff;
}

.brand-monogram {
  font-family: var(--font-parisienne);
  font-size: 2.15rem;
  line-height: 1.1;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.nav-menu {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold-light);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  margin: 5px 0;
  transition: var(--transition);
}

/* ==========================================================================
   HERO / SAVE THE DATE
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  background: radial-gradient(circle at center, #8f0606 0%, #7a0000 60%, #4f0000 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px 20px;
  overflow: hidden;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  text-align: center;
}

/* ==========================================================================
   LETTER OPENING ANIMATION SCENE
   ========================================================================== */
.envelope-scene {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  perspective: 1500px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* The Authentic Kraft Envelope - Normal Envelope Dimensions & Realistic Images */
.envelope-outer {
  position: relative;
  width: 560px;
  max-width: calc(100vw - 32px);
  margin: 24px auto 32px;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
  outline: none;
  transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s, max-height 0.6s ease 0.8s, margin 0.6s ease 0.8s, visibility 0.6s ease 0.8s;
  max-height: 800px;
}

.envelope-stage {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.5));
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.envelope-outer:hover .envelope-stage {
  transform: translateY(-4px) scale(1.015);
}

.envelope-img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.envelope-closed-img {
  position: relative;
  opacity: 1;
  transition: opacity 0.45s ease;
}

.envelope-open-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

/* When envelope opens */
.envelope-scene.opened .envelope-closed-img {
  opacity: 0;
}

.envelope-scene.opened .envelope-open-img {
  opacity: 1;
}

.envelope-scene.opened .envelope-outer {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  margin: 0 auto;
  pointer-events: none;
  transform: translateY(-20px) scale(0.95);
}

/* Authentic Red Wax Seal Callout & Hotspot */
.wax-seal-btn {
  position: absolute;
  top: 54.8%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 7;
  outline: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.seal-pulse-ring {
  position: absolute;
  top: -45px;
  left: -45px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(223, 179, 124, 0.8);
  animation: sealPulse 2.2s infinite;
  pointer-events: none;
}

@keyframes sealPulse {
  0% { transform: scale(0.92); opacity: 0.95; box-shadow: 0 0 12px rgba(223, 179, 124, 0.5); }
  60% { transform: scale(1.4); opacity: 0; box-shadow: 0 0 24px rgba(223, 179, 124, 0); }
  100% { transform: scale(1.4); opacity: 0; }
}

.seal-instruction {
  position: absolute;
  top: 54px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  background-color: rgba(30, 8, 8, 0.92);
  border: 1px solid rgba(223, 179, 124, 0.5);
  padding: 6px 18px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.wax-seal-btn:hover .seal-instruction {
  background-color: var(--burgundy);
  border-color: var(--gold-light);
  transform: scale(1.05);
}

.envelope-scene.opened .wax-seal-btn {
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   PHYSICAL STATIONERY & KEEPSAKE PHOTO COLLAGE PRESENTATION
   ========================================================================== */

/* Stationery Stage: Tucked inside until envelope opens */
.stationery-stage {
  position: relative;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: visible;
  pointer-events: none;
  transform: translateY(35px) scale(0.95);
  transition: opacity 0.8s ease 0.3s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s, max-height 0.8s ease 0.2s;
}

.envelope-scene.opened .stationery-stage {
  opacity: 1;
  visibility: visible;
  max-height: 5000px;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  z-index: 10;
}

/* Open Kraft Envelope Backdrop */
.open-envelope-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  max-width: 95%;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.open-envelope-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Central Distinct Invitation Card */
.invitation-card {
  position: relative;
  z-index: 5;
  width: 440px;
  max-width: 92%;
  margin: 40px auto 30px;
  background: #fbf9f6 url('../images/decorations/crumpled_paper.jpg') center/cover no-repeat;
  border-radius: 4px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(197, 144, 86, 0.45);
  padding: 42px 30px 32px;
  box-sizing: border-box;
}

.card-inner-body {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Botanical Accents Overlapping Card */
.card-botanical-tl {
  position: absolute;
  top: -24px;
  left: -20px;
  width: 100px;
  height: 120px;
  pointer-events: none;
  z-index: 6;
}

.card-fern {
  position: absolute;
  top: 22px;
  left: -12px;
  width: 90px;
  height: auto;
  transform: rotate(-145deg);
  display: block;
}

.card-daisy {
  position: absolute;
  top: 0;
  left: 0;
  width: 76px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.card-botanical-br {
  position: absolute;
  bottom: -28px;
  right: -24px;
  width: 150px;
  height: 160px;
  pointer-events: none;
  z-index: 6;
}

.card-yellow-sprig {
  position: absolute;
  bottom: 35px;
  right: 25px;
  width: 100px;
  height: auto;
  display: block;
}

.card-peonies {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 135px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
}

/* Card Typography */
.std-script {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--burgundy);
  line-height: 1.1;
  margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
}

.std-couple {
  font-family: var(--font-serif);
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 12px;
}

.std-couple .bride-name,
.std-couple .groom-name {
  white-space: nowrap;
}

.std-couple .ampersand {
  font-family: var(--font-script);
  color: var(--gold);
  font-weight: normal;
  display: inline-block;
  font-size: 2.3rem;
  margin: 0;
  line-height: 1;
}

.std-date-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 8px 0 16px 0;
}

.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  width: 50px;
}

.std-date {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--burgundy);
}

/* Concise Venue Details */
.invite-concise-venue {
  margin: 14px 0 18px 0;
  padding: 12px 10px;
  border-top: 1px solid rgba(197, 144, 86, 0.35);
  border-bottom: 1px solid rgba(197, 144, 86, 0.35);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.venue-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
}

.venue-tag {
  font-family: var(--font-sans);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--burgundy);
  background: rgba(197, 144, 86, 0.18);
  padding: 2px 8px;
  border-radius: 10px;
}

.venue-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.venue-time-loc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.venue-sep-flourish {
  color: var(--gold);
  font-size: 0.85rem;
  line-height: 1;
  margin: 2px 0;
}

/* Surrounding Keepsake Photo Collage */
.photo-collage-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.collage-item {
  position: absolute;
  pointer-events: auto;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
  cursor: pointer;
}

.collage-item:hover {
  transform: scale(1.08) !important;
  z-index: 10;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.6)) !important;
}

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

.collage-polaroid {
  left: -20px;
  top: 18%;
  width: 205px;
  transform: rotate(-16deg);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}

.collage-grass {
  left: 135px;
  top: 5px;
  width: 200px;
  transform: rotate(-8deg);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}

.collage-formal {
  left: 135px;
  bottom: 10px;
  width: 185px;
  transform: rotate(-13deg);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}

.collage-proposal {
  right: 115px;
  top: 18%;
  width: 240px;
  transform: rotate(8deg);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
}

/* Countdown */
.countdown-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 14px 0 20px 0;
  padding: 10px 14px;
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 144, 86, 0.35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.countdown-item {
  display: flex;
  flex-direction: column;
  min-width: 60px;
}

.count-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1;
}

.count-label {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.count-sep {
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: bold;
  margin-top: -12px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.scroll-down-indicator {
  display: inline-block;
  margin-top: 30px;
  animation: bounce 2s infinite;
}

.scroll-arrow-icon {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(10px); }
  60% { transform: translateY(5px); }
}

/* ==========================================================================
   OUR STORY (TIMELINE)
   ========================================================================== */
.story-section {
  background: radial-gradient(circle at top, #840202 0%, #7a0000 100%);
  color: #ffffff;
}

.story-section .section-title {
  color: #ffffff;
}

.story-section .section-script {
  color: var(--gold-light);
}

/* ==========================================================================
   VISUAL JOURNALISM SCROLLYTELLING ("OUR STORY")
   ========================================================================== */

.scrollytelling-section {
  position: relative;
  background: radial-gradient(ellipse at 50% 20%, #8a0303 0%, #520000 70%, #360000 100%);
  color: #ffffff;
  padding: 80px 0 100px 0;
  overflow: visible;
}

.scrolly-container-outer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.story-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px auto;
}

.story-narrative-intro {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  color: #ffe6c2;
  margin-top: 18px;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Two-Column Scrollytelling Layout: Text Left, Visuals Right */
.scrolly-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
  position: relative;
}

.scrolly-mobile-layout {
  display: none;
}

/* --------------------------------------------------------------------------
   STICKY VISUAL STAGE (Right Column on Desktop)
   -------------------------------------------------------------------------- */
.scrolly-visual-column {
  position: sticky;
  top: 90px;
  height: calc(100vh - 110px);
  min-height: 540px;
  max-height: 720px;
  display: flex;
  flex-direction: column;
  z-index: 15;
}

.scrolly-sticky-frame {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

/* Simpler Progress Tracker: Date & Day ##/## (No Chapters, Unframed) */
.scrolly-progress-tracker {
  display: flex;
  flex-direction: column;
  background: transparent;
  padding: 0 0 14px 0;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.progress-tracker-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.progress-tracker-date {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.progress-tracker-day {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffe699;
  letter-spacing: 1px;
}

.progress-tracker-bar {
  position: relative;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
}

.progress-tracker-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #c59056, #f3d19c, #fff2b2);
  box-shadow: 0 0 10px rgba(243, 209, 156, 0.8);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   DYNAMIC VISUAL CANVAS & PANELS
   -------------------------------------------------------------------------- */
.scrolly-canvas {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  border-radius: 14px;
}

.scrolly-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
  pointer-events: none;
  z-index: 1;
}

.scrolly-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 5;
}

.panel-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------------------------------
   UNFRAMED ARCHIVAL PHOTOS & MEDIA PANELS
   -------------------------------------------------------------------------- */
.unframed-photo-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.unframed-photo-img {
  max-width: 100%;
  max-height: 540px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  transition: transform 0.5s ease;
}

.scrolly-panel.active .unframed-photo-img {
  transform: scale(1.02);
}

.proposal-img {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(223, 179, 124, 0.3);
}

.panel-caption-bar {
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  line-height: 1.4;
}

.panel-caption-bar span {
  color: var(--gold-light);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   UNFRAMED LINKEDIN INVESTIGATION ALL-IMAGE SHOWCASE
   -------------------------------------------------------------------------- */
.panel-linkedin {
  width: 100%;
  height: 100%;
}

.unframed-linkedin-wrap.linkedin-showcase-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.linkedin-gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  padding: 8px 4px;
}

.linkedin-photo-card {
  position: relative;
  border-radius: 8px;
  overflow: visible;
  background: rgba(10, 102, 194, 0.08);
  border: 1.5px solid rgba(112, 181, 249, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, z-index 0.35s ease, border-color 0.3s ease;
  z-index: 1;
}

.linkedin-all-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 7px;
  object-fit: contain;
}

.linkedin-hover-badge {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  color: #d6f4ff;
  background: rgba(2, 40, 56, 0.88);
  border: 1px solid rgba(143, 227, 255, 0.5);
  padding: 2px 8px;
  border-radius: 10px;
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Hover & Tap-to-Enlarge Zoom */
.linkedin-photo-card:hover,
.linkedin-photo-card.is-enlarged {
  transform: scale(1.15) translateY(-2px);
  z-index: 30;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 25px rgba(112, 181, 249, 0.55);
  border-color: #70b5f9;
}

.linkedin-photo-card:hover .linkedin-hover-badge,
.linkedin-photo-card.is-enlarged .linkedin-hover-badge {
  opacity: 0;
}

/* --------------------------------------------------------------------------
   UNFRAMED TEXT MESSAGE EXCERPTS (Julie backs out)
   -------------------------------------------------------------------------- */
.panel-chat {
  width: 100%;
  height: 100%;
}

.unframed-chat-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.unframed-chat-img {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

/* --------------------------------------------------------------------------
   UNFRAMED WALKING DATA PLOT
   -------------------------------------------------------------------------- */
.panel-walking {
  width: 100%;
  height: 100%;
}

.walking-card-window.interactive-chart-window {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  padding: 0;
  position: relative;
}

.walking-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(223, 179, 124, 0.25);
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.walking-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.walking-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #ffffff;
}

.walking-cue-hint {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: #ffe699;
  letter-spacing: 0.5px;
}

.walking-header-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.walking-stat-pill {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.walking-stat-pill.pre-pill {
  background: rgba(125, 64, 64, 0.35);
  color: #e0b0b0;
  border-color: rgba(168, 88, 88, 0.5);
}

.walking-stat-pill.rel-pill {
  background: rgba(197, 144, 86, 0.3);
  color: #ffe699;
  border-color: var(--gold);
}

.walking-stat-badge {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffe699;
  background: rgba(197, 144, 86, 0.25);
  border: 1px solid var(--gold);
  padding: 3px 10px;
  border-radius: 12px;
}

/* SVG Chart Container */
.interactive-svg-container {
  flex: 1;
  position: relative;
  width: 100%;
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.walking-interactive-svg {
  width: 100%;
  height: 100%;
  max-height: 380px;
  display: block;
}

/* SVG Bar Groups & Interactions */
.plot-bar-group {
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
  outline: none;
}

.chart-bar-rect {
  transition: transform 0.25s ease, fill 0.25s ease, filter 0.25s ease, stroke-width 0.25s ease;
}

/* When a bar is hovered/active, dim the others */
.has-active-bar .plot-bar-group:not(.is-active) {
  opacity: 0.32;
}

.plot-bar-group.is-active {
  opacity: 1;
}

.plot-bar-group.is-active .chart-bar-rect {
  filter: drop-shadow(0 0 8px rgba(223, 179, 124, 0.9));
  stroke: #ffffff;
  stroke-width: 2.2px;
}

/* Winter Bar special glow */
.is-winter-bar .chart-bar-rect {
  filter: drop-shadow(0 0 5px rgba(143, 227, 255, 0.6));
}

.is-winter-bar.is-active .chart-bar-rect {
  filter: drop-shadow(0 0 12px rgba(143, 227, 255, 1));
  stroke: #c2f3ff;
  stroke-width: 2.8px;
}

/* --------------------------------------------------------------------------
   INTERACTIVE FLOATING TOOLTIP & WINTER IMAGE REVEAL
   -------------------------------------------------------------------------- */
.walking-plot-tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 100;
  background: rgba(26, 1, 1, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid var(--gold-light);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(223, 179, 124, 0.3);
  width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -10px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.walking-plot-tooltip.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

.tooltip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(223, 179, 124, 0.25);
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.tooltip-date {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.tooltip-status-pill {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 8px;
  text-transform: uppercase;
}

.tooltip-status-pill.status-pre {
  background: rgba(125, 64, 64, 0.4);
  color: #e0b0b0;
  border: 1px solid rgba(168, 88, 88, 0.6);
}

.tooltip-status-pill.status-rel {
  background: rgba(197, 144, 86, 0.3);
  color: #ffe699;
  border: 1px solid var(--gold);
}

.tooltip-metrics {
  display: flex;
  margin-bottom: 6px;
}

.tooltip-metric.single-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.metric-num {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffe699;
  line-height: 1;
}

.metric-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.tooltip-note {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #ffd57e;
  background: rgba(255, 213, 126, 0.12);
  border: 1px solid rgba(255, 213, 126, 0.3);
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: 6px;
}

/* WINTER IMAGE TOOLTIP REVEAL (Jan-26 Hover) */
.walking-plot-tooltip.is-winter-tooltip {
  width: 290px;
  border-color: #8fe3ff;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.92), 0 0 30px rgba(143, 227, 255, 0.45);
}

.tooltip-winter-card {
  margin-top: 8px;
  border-top: 1px solid rgba(143, 227, 255, 0.3);
  padding-top: 8px;
  animation: fadeInWinter 0.3s ease;
}

@keyframes fadeInWinter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tooltip-winter-badge {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  color: #d6f4ff;
  background: rgba(2, 40, 56, 0.85);
  border: 1px solid rgba(143, 227, 255, 0.5);
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 6px;
}

.tooltip-winter-media {
  width: 100%;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(143, 227, 255, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  background: #000;
}

.tooltip-winter-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tooltip-winter-card:hover .tooltip-winter-img {
  transform: scale(1.04);
}

.tooltip-winter-desc {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.4;
  color: #e3f6fc;
  margin-top: 6px;
}

.walking-swipe-cue {
  display: none;
}

.walking-mobile-detail-card {
  display: none;
}

/* LIVE SPOTLIGHT PANE FOR WINTER PHOTO */
.walking-spotlight-pane {
  display: none;
  background: rgba(2, 28, 40, 0.9);
  border: 1.5px solid #8fe3ff;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 0 20px rgba(143, 227, 255, 0.3);
  animation: fadeInSpotlight 0.35s ease;
}

.walking-spotlight-pane.active-spotlight {
  display: block;
}

@keyframes fadeInSpotlight {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.spotlight-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spotlight-badge {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: #8fe3ff;
}

.spotlight-cue {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.spotlight-media-wrap {
  width: 100%;
  height: 160px;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}

.spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-caption {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

.spotlight-caption strong {
  color: #8fe3ff;
}

/* --------------------------------------------------------------------------
   UNFRAMED EDITORIAL GRAPHICS (Bicycle, Playbook, Routine, Milestone)
   -------------------------------------------------------------------------- */
.panel-graphic {
  width: 100%;
  height: 100%;
}

.unframed-graphic-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  text-align: center;
}

/* Bicycle Menace Unframed */
.bicycle-wrap .bicycle-illustration {
  color: var(--gold-light);
  width: 140px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

.bike-svg {
  width: 100%;
  height: auto;
}

.graphic-quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  color: #ffffff;
  max-width: 460px;
  margin: 0 auto 16px auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   FBC WACO HERO IMAGE ENLARGEMENT
   -------------------------------------------------------------------------- */
.fbc-waco-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fbc-waco-img {
  width: 100% !important;
  max-width: 480px !important;
  height: auto !important;
  max-height: 480px !important;
  object-fit: cover !important;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(223, 179, 124, 0.25);
  transition: transform 0.4s ease;
}

.scrolly-panel.active .fbc-waco-img {
  transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   INTERACTIVE GAME PLAN TACTICAL DOSSIER
   -------------------------------------------------------------------------- */
.panel-game-plan {
  width: 100%;
  height: 100%;
}

.game-plan-dossier {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: rgba(35, 2, 2, 0.88);
  border: 1.5px solid rgba(223, 179, 124, 0.4);
  border-radius: 12px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75);
  padding: 18px 20px;
  text-align: left;
}

.dossier-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(223, 179, 124, 0.25);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.dossier-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dossier-tag {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.dossier-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.dossier-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffd57e;
  background: rgba(197, 144, 86, 0.18);
  border: 1px solid rgba(223, 179, 124, 0.35);
  padding: 3px 10px;
  border-radius: 12px;
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5252;
  box-shadow: 0 0 6px #ff5252;
}

/* Tactic Navigation Buttons */
.tactic-nav-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(223, 179, 124, 0.4) transparent;
}

.tactic-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  padding: 5px 11px;
  border-radius: 16px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.tactic-btn:hover {
  background: rgba(197, 144, 86, 0.25);
  border-color: var(--gold-light);
  color: #ffffff;
}

.tactic-btn.active {
  background: linear-gradient(135deg, rgba(197, 144, 86, 0.4), rgba(120, 15, 15, 0.6));
  border-color: var(--gold);
  color: #ffe699;
  box-shadow: 0 0 12px rgba(223, 179, 124, 0.45);
}

.tactic-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tactic-btn.active .tactic-num {
  background: var(--gold);
  color: #3b0101;
}

/* Tactic Inspector Stage */
.tactic-stage-container {
  min-height: 250px;
  position: relative;
}

.tactic-detail-panel {
  display: none;
  animation: fadeInTactic 0.3s ease;
}

.tactic-detail-panel.active {
  display: block;
}

@keyframes fadeInTactic {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tactic-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.tactic-badge {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.tactic-result-badge {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
}

.tactic-result-badge.failed {
  background: rgba(255, 82, 82, 0.18);
  border: 1px solid rgba(255, 82, 82, 0.4);
  color: #ff9e9e;
}

.tactic-result-badge.backed-out {
  background: rgba(255, 152, 0, 0.18);
  border: 1px solid rgba(255, 152, 0, 0.4);
  color: #ffd08a;
}

.tactic-headline {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.tactic-description {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 12px;
}

.tactic-outcome-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
}

.outcome-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.outcome-text {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #ffe6c2;
}

.outcome-text strong {
  color: #ffd57e;
}

/* Sub-Navigation for Group Activities */
.sub-tactic-tabs {
  display: flex;
  gap: 8px;
  margin: 10px 0 12px 0;
  border-bottom: 1px solid rgba(223, 179, 124, 0.2);
  padding-bottom: 8px;
  flex-wrap: wrap;
}

.sub-tactic-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(223, 179, 124, 0.25);
  color: rgba(255, 255, 255, 0.85);
  padding: 4px 12px;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sub-tactic-btn:hover {
  background: rgba(197, 144, 86, 0.3);
  border-color: var(--gold-light);
  color: #ffffff;
}

.sub-tactic-btn.active {
  background: var(--gold);
  border-color: var(--gold-light);
  color: #3b0101;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(223, 179, 124, 0.5);
}

.sub-activity-stage {
  position: relative;
}

.sub-activity-panel {
  display: none;
  animation: fadeInTactic 0.25s ease;
}

.sub-activity-panel.active {
  display: block;
}

.sub-activity-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  flex-wrap: wrap;
  gap: 6px;
}

.sub-event-name {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffe699;
}

.sub-status-pill {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(255, 107, 107, 0.2);
  border: 1px solid rgba(255, 107, 107, 0.45);
  color: #ffb4b4;
  padding: 2px 7px;
  border-radius: 6px;
}

.sub-event-note {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  line-height: 1.4;
}

/* Evidence Frame (iMessage Screenshot) */
.tactic-evidence-frame {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(223, 179, 124, 0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  margin-top: 4px;
}

.evidence-top-bar {
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
}

.evidence-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  color: #ffd08a;
  letter-spacing: 0.5px;
}

.evidence-img-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  padding: 6px;
}

.rejection-chat-img {
  max-width: 100%;
  max-height: 260px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.rejection-chat-img:hover {
  transform: scale(1.03);
}

/* Dossier Footer */
.dossier-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(223, 179, 124, 0.25);
  padding-top: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 6px;
}

.dossier-stamp {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  color: #ff7b7b;
  background: rgba(255, 82, 82, 0.15);
  border: 1px solid rgba(255, 82, 82, 0.4);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.dossier-conclusion {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
}

/* Routine Unframed */
.routine-wrap {
  max-width: 460px;
  margin: 0 auto;
}

.routine-sparkle {
  color: var(--gold-light);
  letter-spacing: 4px;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.routine-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.routine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.routine-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(223, 179, 124, 0.25);
  border-radius: 8px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.routine-icon {
  font-size: 1.5rem;
}

.routine-text {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffe6c2;
}

/* Milestone Ask (June 15, 2025) Unframed */
.milestone-wrap {
  max-width: 460px;
  margin: 0 auto;
}

.milestone-ornament {
  margin-bottom: 12px;
}

.milestone-divider-svg {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.milestone-seal-wrap {
  margin-bottom: 8px;
}

.milestone-star {
  color: var(--gold-light);
  font-size: 1.2rem;
}

.milestone-callout-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #ffe699;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.milestone-callout-sub {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.milestone-callout-quote {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.65;
  color: #ffffff;
  max-width: 420px;
  margin: 0 auto;
}

.milestone-callout-quote strong {
  color: #ffe699;
  font-size: 1.45rem;
  display: block;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   SCROLLING NARRATIVE BEATS (Left Column) - UNFRAMED DESCRIPTION TEXT ALONE
   -------------------------------------------------------------------------- */
.scrolly-narrative-column {
  display: flex;
  flex-direction: column;
  padding-top: 40px;
  padding-bottom: 240px;
  gap: 0;
}

/* Unframed Narrative Step (Description Text Alone) */
.scrolly-step {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 50px 0;
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}

.scrolly-step:hover .step-description {
  opacity: 0.6;
}

.step-description {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.85;
  color: #ffffff;
  opacity: 0.22;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.4s ease;
  letter-spacing: 0.25px;
  max-width: 480px;
}

.scrolly-step.active-step .step-description {
  opacity: 1;
  transform: translateY(0);
  color: #fffaf0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}

/* Story Conclusion Card */
.scrolly-conclusion-card {
  text-align: center;
  background: rgba(45, 1, 1, 0.85);
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  padding: 36px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.conclusion-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.conclusion-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.conclusion-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 20px auto;
}

.conclusion-btn {
  display: inline-block;
}

/* ==========================================================================
   ORDER OF SERVICE (PROGRAM)
   ========================================================================== */
.schedule-section {
  background-color: var(--cream);
}

.program-card-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.program-card {
  background-color: var(--linen);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197, 144, 86, 0.4);
}

.program-inner-border {
  border: 2px solid var(--gold);
  border-radius: 4px;
  padding: 50px 40px;
  background-color: #ffffff;
  text-align: center;
}

.program-header {
  margin-bottom: 40px;
}

.program-ornament {
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
}

.program-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--burgundy);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 8px 0;
}

.program-sub {
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.program-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 520px;
  margin: 0 auto;
}

.program-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
}

.program-event-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.program-event {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.program-location-tag {
  font-size: 0.72rem;
  color: var(--gold-dark);
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-top: 2px;
  text-transform: uppercase;
}

.program-leader-dots {
  flex-grow: 1;
  border-bottom: 2px dotted var(--taupe);
  margin: 0 12px;
  position: relative;
  top: -4px;
}

.program-time {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--burgundy);
  letter-spacing: 1px;
  white-space: nowrap;
}

.program-footer {
  margin-top: 36px;
}

.program-venue-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 10px;
  line-height: 1.6;
}

.program-venue-note strong {
  color: var(--burgundy);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.78rem;
}

/* ==========================================================================
   IN THE AREA (LOCAL GUIDE)
   ========================================================================== */
.area-section {
  background-color: #f7f3ec;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.area-category-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(197, 144, 86, 0.25);
  display: flex;
  flex-direction: column;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--linen);
}

.category-icon {
  font-size: 1.8rem;
}

.category-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--burgundy);
  font-weight: 700;
}

.category-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.place-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.place-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.place-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.place-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  background-color: var(--linen);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}

.place-address, .place-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.map-link {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--burgundy);
  background-color: var(--linen);
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  border: 1px solid rgba(122, 0, 0, 0.15);
}

.map-link:hover {
  background-color: var(--burgundy);
  color: #ffffff;
  border-color: var(--burgundy);
}

/* ==========================================================================
   REGISTRY
   ========================================================================== */
.registry-section {
  background-color: var(--cream);
}

.registry-funds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.registry-fund-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(197, 144, 86, 0.3);
  transition: var(--transition);
}

.registry-fund-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.fund-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.fund-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--burgundy);
  margin-bottom: 10px;
}

.fund-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.registry-stores-wrapper {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.stores-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.registry-stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.store-card {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 24px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.store-card:hover {
  border-color: var(--burgundy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.store-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--burgundy);
}

.store-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.store-cta {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  margin-top: 8px;
}

/* ==========================================================================
   PHOTO GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-section {
  background-color: var(--linen);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background-color: #ffffff;
}

.gallery-item-inner {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* 1:1 square thumbnails */
  overflow: hidden;
}

.gallery-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(122, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-zoom-icon {
  font-size: 1.8rem;
  color: #ffffff;
  transform: scale(0.8);
  transition: var(--transition);
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-zoom-icon {
  transform: scale(1);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 4px solid #ffffff;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-top: 12px;
  letter-spacing: 1px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 2010;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--gold-light);
  transform: scale(1.1);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2010;
  transition: var(--transition);
}

.lightbox-arrow:hover {
  background: rgba(197, 144, 86, 0.8);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* ==========================================================================
   RSVP SECTION
   ========================================================================== */
.rsvp-section {
  background: radial-gradient(circle at center, #840202 0%, #7a0000 100%);
  color: #ffffff;
}

.rsvp-section .section-title {
  color: #ffffff;
}

.rsvp-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.rsvp-section .section-script {
  color: var(--gold-light);
}

.rsvp-card-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

.rsvp-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  color: var(--text-dark);
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--burgundy);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid #d4c8b8;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: #fdfbf7;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(122, 0, 0, 0.15);
  background-color: #ffffff;
}

.radio-options {
  display: flex;
  gap: 20px;
  margin-top: 4px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
}

.radio-label input[type="radio"] {
  accent-color: var(--burgundy);
  width: 18px;
  height: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--burgundy);
  color: #ffffff;
  border-color: var(--burgundy);
}

.btn-primary:hover {
  background-color: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(122, 0, 0, 0.25);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.btn-outline:hover {
  background-color: #faf4ed;
  color: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #4a0000;
  color: #ffffff;
  padding: 60px 20px 40px 20px;
  text-align: center;
  border-top: 1px solid rgba(197, 144, 86, 0.3);
}

.footer-monogram {
  font-family: var(--font-parisienne);
  font-size: 3.3rem;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.footer-couple {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.footer-date {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-credits {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #6a0000;
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav-menu.open {
    max-height: 400px;
    border-bottom: 2px solid var(--gold);
  }

  .nav-list {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    align-items: flex-start;
  }

  .nav-link {
    font-size: 1rem;
  }

  /* WSJ-Style Single-Column Mobile Layout */
  .scrolly-desktop-layout {
    display: none !important;
  }

  .scrolly-mobile-layout {
    display: block !important;
    width: 100%;
    position: relative;
  }

  /* Slim Sticky Progress Header (Locks under navbar, takes only 34px) */
  .mobile-sticky-tracker {
    position: sticky;
    top: 60px;
    z-index: 50;
    background: rgba(45, 1, 1, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 8px 16px 10px 16px;
    border-bottom: 1px solid rgba(223, 179, 124, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    margin: 0 -15px 32px -15px;
  }

  .mobile-tracker-content {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
  }

  .mobile-tracker-date {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
  }

  .mobile-tracker-day {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffe699;
    letter-spacing: 0.8px;
  }

  .mobile-tracker-bar {
    position: relative;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
    width: 100%;
  }

  .mobile-tracker-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #c59056, #f3d19c, #fff2b2);
    box-shadow: 0 0 8px rgba(243, 209, 156, 0.8);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* WSJ In-Stream Single-Column Beats */
  .mobile-stream-track {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding-bottom: 60px;
  }

  .mobile-story-beat {
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-margin-top: 120px;
  }

  .mobile-beat-media {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mobile-beat-prose {
    width: 100%;
  }

  .mobile-beat-prose .step-description {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.8;
    color: #fffaf0;
    opacity: 1;
    max-width: 100%;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  }

  .mobile-conclusion {
    margin-top: 20px;
  }

  /* Mobile Walking Plot Rescaling & Touch Optimization */
  .walking-card-window.interactive-chart-window {
    padding: 8px 10px;
    border-radius: 10px;
  }

  .walking-header-bar {
    padding-bottom: 5px;
    margin-bottom: 4px;
    gap: 6px;
  }

  .walking-card-title {
    font-size: 0.88rem;
  }

  .walking-cue-hint {
    display: none;
  }

  .walking-header-pills {
    gap: 4px;
  }

  .walking-stat-pill {
    font-size: 0.62rem;
    padding: 2px 6px;
  }

  .walking-stat-badge {
    font-size: 0.64rem;
    padding: 2px 7px;
  }

  .walking-swipe-cue {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    color: #ffe082;
    background: rgba(197, 144, 86, 0.15);
    border: 1px solid rgba(223, 179, 124, 0.25);
    border-radius: 12px;
    padding: 2px 8px;
    margin: 2px 0 5px 0;
    letter-spacing: 0.3px;
  }

  .interactive-svg-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    justify-content: flex-start;
    min-height: 180px;
    max-height: 195px;
    padding-bottom: 3px;
    scrollbar-width: thin;
    scrollbar-color: rgba(223, 179, 124, 0.5) rgba(255, 255, 255, 0.05);
  }

  .interactive-svg-container::-webkit-scrollbar {
    height: 4px;
  }

  .interactive-svg-container::-webkit-scrollbar-thumb {
    background: rgba(223, 179, 124, 0.5);
    border-radius: 2px;
  }

  .walking-interactive-svg {
    min-width: 660px;
    width: 660px;
    height: 185px;
    max-height: 185px;
    flex-shrink: 0;
  }

  /* Mobile Detail Card */
  .walking-mobile-detail-card {
    display: block;
    background: rgba(35, 3, 3, 0.95);
    border: 1px solid rgba(223, 179, 124, 0.4);
    border-radius: 8px;
    padding: 6px 10px;
    margin-top: 5px;
    transition: border-color 0.3s ease, background 0.3s ease;
  }

  .walking-mobile-detail-card.is-winter-detail {
    border-color: #8fe3ff;
    background: rgba(2, 35, 50, 0.95);
    box-shadow: 0 0 16px rgba(143, 227, 255, 0.35);
  }

  .detail-placeholder {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
  }

  .detail-hint-icon {
    font-size: 0.95rem;
  }

  .detail-placeholder strong {
    color: #8fe3ff;
  }

  .detail-active-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .detail-left-meta {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .detail-month-title {
    font-family: var(--font-serif);
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
  }

  .detail-right-metric {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }

  .detail-miles-val {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffe699;
    line-height: 1;
  }

  .detail-miles-unit {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
  }

  .mobile-winter-reveal-card {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid rgba(143, 227, 255, 0.3);
    align-items: center;
    animation: fadeInWinter 0.25s ease;
  }

  .mobile-winter-media {
    width: 60px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #8fe3ff;
  }

  .mobile-winter-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-winter-info {
    flex: 1;
    min-width: 0;
  }

  .mobile-winter-badge {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.64rem;
    font-weight: 700;
    color: #d6f4ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-winter-caption {
    font-family: var(--font-serif);
    font-size: 0.68rem;
    font-style: italic;
    color: #e3f6fc;
    line-height: 1.3;
    margin: 1px 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mobile-note-banner {
    margin-top: 4px;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    color: #ffd57e;
    background: rgba(255, 213, 126, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
  }

  /* Hide floating tooltip on touch / mobile screens */
  .walking-plot-tooltip {
    display: none !important;
  }

  .mobile-story-beat .unframed-photo-img {
    max-height: 340px;
    width: 100%;
    object-fit: contain;
  }

  .mobile-story-beat .fbc-waco-img {
    width: 100% !important;
    max-width: 380px !important;
    max-height: 380px !important;
  }

  .mobile-story-beat .unframed-chat-img {
    max-height: 340px;
    width: 100%;
    object-fit: contain;
  }

  .mobile-story-beat .linkedin-gallery-grid {
    max-width: 100%;
    gap: 10px;
    padding: 4px 0;
  }

  .mobile-story-beat .game-plan-dossier {
    padding: 14px 12px;
    border-radius: 10px;
  }

  .mobile-story-beat .tactic-headline {
    font-size: 1.05rem;
  }

  .mobile-story-beat .rejection-chat-img {
    max-height: 220px;
  }

  .mobile-story-beat .graphic-quote {
    font-size: 1.25rem;
    line-height: 1.6;
    padding: 0 10px;
  }

  /* Program Card */
  .program-inner-border {
    padding: 30px 18px;
  }

  .program-title {
    font-size: 1.8rem;
  }

  .program-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .program-leader-dots {
    display: none;
  }

  /* Envelope Responsive */
  .wax-seal-img {
    width: 76px;
    height: 76px;
  }

  .seal-pulse-ring {
    width: 80px;
    height: 80px;
  }

  .wax-seal-btn {
    bottom: -35px;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .rsvp-card {
    padding: 24px 18px;
  }
}

/* Tablet Responsive Collage Adjustments */
@media (max-width: 991px) and (min-width: 768px) {
  .open-envelope-backdrop {
    width: 640px;
  }
  .invitation-card {
    width: 390px;
    padding: 36px 24px 28px;
  }
  .collage-polaroid {
    left: -15px;
    top: 15%;
    width: 165px;
    transform: rotate(-12deg);
  }
  .collage-grass {
    left: 85px;
    top: 5px;
    width: 160px;
    transform: rotate(-6deg);
  }
  .collage-formal {
    left: 85px;
    bottom: 10px;
    width: 150px;
    transform: rotate(-10deg);
  }
  .collage-proposal {
    right: 65px;
    top: 18%;
    width: 185px;
    transform: rotate(6deg);
  }
}

/* Mobile Responsive Keepsake Grid & Adaptive Card */
@media (max-width: 767px) {
  .open-envelope-backdrop {
    width: 100%;
    max-width: 460px;
    opacity: 0.35;
  }
  .invitation-card {
    width: 100%;
    max-width: 400px;
    margin: 20px auto 0;
    padding: 32px 18px 24px;
  }
  .photo-collage-wrap {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 14px;
    max-width: 360px;
    margin: 24px auto 0;
    padding: 0 8px;
    pointer-events: auto;
  }
  .collage-item {
    position: static;
    width: 100%;
    max-width: 165px;
    margin: 0 auto;
  }
  .collage-polaroid {
    transform: rotate(-3deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
  }
  .collage-grass {
    transform: rotate(3deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
  }
  .collage-formal {
    transform: rotate(-3deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
  }
  .collage-proposal {
    transform: rotate(3deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
  }
  .card-botanical-tl {
    width: 80px;
    height: 95px;
    top: -16px;
    left: -14px;
  }
  .card-daisy {
    width: 60px;
  }
  .card-fern {
    width: 70px;
    top: 16px;
    left: -8px;
  }
  .card-botanical-br {
    width: 115px;
    height: 120px;
    bottom: -20px;
    right: -16px;
  }
  .card-peonies {
    width: 100px;
  }
  .card-yellow-sprig {
    width: 75px;
    bottom: 24px;
    right: 18px;
  }
  .venue-row {
    flex-direction: column;
    gap: 2px;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .wax-seal-img {
    width: 68px;
    height: 68px;
  }

  .seal-pulse-ring {
    width: 72px;
    height: 72px;
  }

  .wax-seal-btn {
    bottom: -30px;
  }

  .seal-instruction {
    font-size: 0.65rem;
    padding: 3px 10px;
  }
  .std-script {
    font-size: 2.4rem;
  }
  .std-couple {
    font-size: 2rem;
    gap: 8px;
  }
  .std-couple .ampersand {
    font-size: 1.7rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }

  .countdown-wrapper {
    gap: 6px;
    padding: 10px;
  }

  .countdown-item {
    min-width: 45px;
  }

  .count-number {
    font-size: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}
