/* ============================================
   style.css — Main Stylesheet
   Our Story Website
   ============================================ */

/* --- CSS Variables (Color Palette) --- */
:root {
  --cream:       #fff1f5;
  --warm-white:  #fff8fb;
  --blush:       #ffc7d6;
  --rose:        #e85d75;
  --deep-rose:   #9f1d3b;
  --terracotta:  #c73650;
  --dark:        #2a0712;
  --mid:         #5b2030;
  --light-mid:   #8f5664;
  --gold:        #d99aa8;
  --gold-light:  #ffd8e1;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  cursor: none;
}

[data-lang] {
  display: none;
}

html[lang="en"] [data-lang="en"],
html[lang="de"] [data-lang="de"] {
  display: contents;
}

img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

@media (hover: hover) and (pointer: fine) {
  *,
  *::before,
  *::after {
    cursor: none !important;
  }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transition: opacity 0.2s ease, transform 0.24s ease;
  will-change: left, top, transform;
}

.cursor svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(159,29,59,0.28));
  animation: cursorBeat 1.15s ease-in-out infinite;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor.hovering svg {
  animation: cursorBeatHover 0.62s ease-in-out infinite;
  filter: drop-shadow(0 6px 16px rgba(159,29,59,0.42));
}

.cursor.clicking {
  transform: translate3d(-50%, -50%, 0) scale(0.82);
}

.heart-trail,
.heart-burst {
  position: fixed;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
}

.heart-trail {
  z-index: 99997;
  opacity: 0;
  animation: cursorTrailFloat 0.78s ease-out forwards;
}

.heart-trail svg,
.heart-burst svg {
  width: 100%;
  height: 100%;
}

.heart-burst {
  width: 58px;
  height: 58px;
  z-index: 99996;
  animation: cursorBurst 0.58s ease-out forwards;
}

@keyframes cursorBeat {
  0%, 100% { transform: rotate(-10deg) scale(1); }
  35% { transform: rotate(-10deg) scale(1.18); }
  55% { transform: rotate(-10deg) scale(0.96); }
  75% { transform: rotate(-10deg) scale(1.08); }
}

@keyframes cursorBeatHover {
  0%, 100% { transform: rotate(-10deg) scale(1.2); }
  50% { transform: rotate(-10deg) scale(1.55); }
}

@keyframes cursorTrailFloat {
  0% {
    opacity: 0.72;
    transform: translate3d(-50%, -55%, 0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(-50%, -150%, 0) scale(0.25) rotate(18deg);
  }
}

@keyframes cursorBurst {
  0% {
    opacity: 0.9;
    transform: translate3d(-50%, -50%, 0) scale(0.24) rotate(-10deg);
  }
  58% {
    opacity: 0.42;
    transform: translate3d(-50%, -50%, 0) scale(2.3) rotate(-10deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(3.1) rotate(-10deg);
  }
}

@media (hover: none), (pointer: coarse) {
  body {
    cursor: auto;
  }

  .cursor,
  .heart-trail {
    display: none;
  }

  .heart-burst {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor svg,
  .heart-trail,
  .heart-burst {
    animation: none;
  }
}

/* ============================================
   FLOATING MENU BAR
   ============================================ */
.floating-menu-bar {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(255, 248, 251, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  box-shadow: 0 8px 32px rgba(159, 29, 59, 0.08);
  border: 1px solid rgba(232, 93, 117, 0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 90%;
  width: auto;
}

.floating-menu-bar.open {
  /* Only applies to mobile, see media query */
}

.floating-menu-toggle {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--mid);
  padding: 0.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
}

.floating-menu-toggle:hover {
  color: var(--rose);
  transform: scale(1.1);
}

.menu-icon {
  display: inline;
  transition: all 0.3s ease;
}

.menu-close {
  display: none;
  transition: all 0.3s ease;
}

.floating-menu-bar.open .menu-icon {
  display: none;
}

.floating-menu-bar.open .menu-close {
  display: inline;
}

.floating-menu-links {
  display: flex;
  list-style: none;
  flex-direction: row;
  gap: 2rem;
  width: auto;
  align-items: center;
}

.floating-menu-bar.open .floating-menu-links {
  display: flex;
}

.floating-menu-links li {
  width: auto;
}

.story-menu {
  position: relative;
}

.story-submenu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 150px;
  list-style: none;
  padding: 0.55rem;
  border: 1px solid rgba(232, 93, 117, 0.16);
  border-radius: 8px;
  background: rgba(255, 248, 251, 0.97);
  box-shadow: 0 18px 40px rgba(159, 29, 59, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.story-menu:hover .story-submenu,
.story-menu:focus-within .story-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.story-submenu a {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
}

.story-submenu a::after {
  display: none;
}

.story-submenu a:hover,
.story-submenu a.active {
  background: rgba(232, 93, 117, 0.1);
}

.floating-menu-links a {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-mid);
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  border-radius: 0;
  min-height: auto;
}

.floating-menu-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.floating-menu-links a:hover,
.floating-menu-links a:active,
.floating-menu-links a.active {
  color: var(--rose);
  background: transparent;
}

.floating-menu-links a:hover::after,
.floating-menu-links a:active::after,
.floating-menu-links a.active::after {
  transform: scaleX(1);
}

@media (min-width: 901px) {
  .floating-menu-bar {
    width: min(80vw, 1510px);
    max-width: calc(100% - 8rem);
    padding: 1rem 2rem;
  }

  .floating-menu-links {
    width: 100%;
    justify-content: space-between;
  }
}

.floating-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem !important;
  font-weight: 300 !important;
  letter-spacing: 0.15em !important;
  color: var(--mid) !important;
  text-transform: none !important;
  padding: 0.5rem 0 !important;
  margin-bottom: 0 !important;
  border-bottom: none !important;
  display: inline-block !important;
  min-height: auto !important;
  margin-right: 2rem;
}

.floating-logo span {
  color: var(--rose);
  font-style: italic;
}

.floating-logo:hover {
  background: transparent !important;
  color: var(--rose) !important;
}

.floating-logo:hover::after {
  display: none !important;
}

/* Animation for menu appearance */
@keyframes floatMenuAppear {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.floating-menu-bar {
  animation: floatMenuAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.section {
  padding: 8rem 0;
}

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

.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--rose);
}

.section-label.gold        { color: var(--gold); }
.section-label.gold::before { background: var(--gold); }
.section-label.center      { justify-content: center; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.section-title.light  { color: var(--cream); }
.section-title.center { text-align: center; }

.section-title em { font-style: italic; color: var(--rose); }
em.gold-em        { color: var(--gold) !important; }

.section-text {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--light-mid);
  font-weight: 300;
  max-width: 600px;
}

.page-section {
  min-height: 100vh;
  padding-top: 12rem;
}

/* ============================================
   YEAR STORY PAGES
   ============================================ */
.year-story-hero {
  padding: 12rem 4rem 5rem;
  background:
    radial-gradient(ellipse 45% 45% at 20% 20%, rgba(255,199,214,0.5), transparent 65%),
    radial-gradient(ellipse 40% 45% at 80% 55%, rgba(232,93,117,0.16), transparent 65%),
    var(--cream);
  text-align: center;
}

.year-story-hero .section-label {
  justify-content: center;
}

.year-story-list {
  background: var(--warm-white);
  padding: 2rem 4rem 8rem;
}

.year-story-list-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.year-story-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(232, 93, 117, 0.16);
}

.year-story-card:last-child {
  border-bottom: 0;
}

.year-story-date {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--rose);
}

.year-story-title {
  grid-area: title;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: 1rem;
}

.year-story-text {
  grid-area: text;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--light-mid);
  font-weight: 300;
}

.year-story-card > div:last-child {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(390px, 1.15fr);
  grid-template-areas:
    "title title"
    "text text"
    "media details";
  align-items: start;
  gap: 0 2rem;
}

.year-story-card:nth-of-type(even) > div:last-child {
  grid-template-columns: minmax(390px, 1.15fr) minmax(0, 0.85fr);
  grid-template-areas:
    "title title"
    "text text"
    "details media";
}

.year-story-card-media {
  grid-area: media;
  margin: 1.5rem 0 0;
}

.year-story-card-media .photo-slideshow {
  aspect-ratio: 4 / 5;
}

.first-date-grid.year-story-details {
  grid-area: details;
  margin-top: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.year-story-details .first-date-card {
  display: block;
  min-height: 210px;
  padding: 1.15rem;
  background: var(--warm-white);
  border: 1px solid rgba(232,93,117,0.18);
  overflow: hidden;
}

.year-story-details .first-date-card::before {
  top: 0.4rem;
  right: 0.65rem;
  bottom: auto;
  left: auto;
  width: auto;
  text-align: center;
  font-size: 3.5rem;
  color: rgba(232,93,117,0.07);
  z-index: 1;
}

.year-story-details .first-date-icon {
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--deep-rose));
  color: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  position: relative;
}

.year-story-details .first-date-icon::before,
.year-story-details .first-date-icon::after {
  content: '';
  display: block;
  position: absolute;
}

.year-story-details .first-date-icon[data-icon="place"]::before {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: translateY(-4px) rotate(-45deg);
}

.year-story-details .first-date-icon[data-icon="place"]::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-4px);
}

.year-story-details .first-date-icon[data-icon="heart"]::before {
  content: '♥';
  position: static;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  line-height: 1;
}

.year-story-details .first-date-icon[data-icon="spark"]::before,
.year-story-details .first-date-icon[data-icon="spark"]::after {
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.year-story-details .first-date-icon[data-icon="spark"]::before {
  transform: rotate(45deg);
}

.year-story-details .first-date-icon[data-icon="spark"]::after {
  transform: rotate(-45deg);
}

.year-story-details .first-date-icon[data-icon="moon"]::before {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: -7px 0 0 0 currentColor;
  transform: translateX(7px);
}

.year-story-details .first-date-card h3 {
  margin: 0.9rem 0 0.55rem;
  font-size: 1.3rem;
}

.year-story-details .first-date-card p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.65;
}

.year-story-slideshow {
  background: var(--warm-white);
  padding: 0 4rem 3rem;
}

.year-story-slideshow-inner {
  max-width: 980px;
  margin: 0 auto;
}

.photo-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blush), var(--rose));
  box-shadow: 0 22px 54px rgba(159, 29, 59, 0.12);
}

.photo-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.photo-slideshow .slide.active {
  opacity: 1;
}

.photo-slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.slide-placeholder .icon {
  font-size: 2.5rem;
  opacity: 0.5;
}

.slide-placeholder p {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  opacity: 0.72;
}

.slideshow-controls {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slideshow-dot {
  width: 7px;
  height: 7px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: rgba(255,255,255,0.45);
  transition: background 0.3s, transform 0.3s;
}

.slideshow-dot.active {
  background: white;
  transform: scale(1.3);
}

.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  backdrop-filter: blur(4px);
  z-index: 10;
}

.slideshow-arrow:hover {
  background: rgba(255,255,255,0.3);
}

.slideshow-arrow.prev {
  left: 1rem;
}

.slideshow-arrow.next {
  right: 1rem;
}

.story-hub {
  min-height: 100vh;
  padding: 12rem 4rem 8rem;
  background:
    radial-gradient(ellipse 45% 45% at 18% 20%, rgba(255,199,214,0.5), transparent 65%),
    radial-gradient(ellipse 44% 48% at 82% 70%, rgba(232,93,117,0.14), transparent 65%),
    var(--cream);
}

.story-hub-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.story-hub-intro {
  margin: 0 auto;
  text-align: center;
}

.story-year-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.story-year-card {
  position: relative;
  min-height: 320px;
  padding: 2.5rem;
  border: 1px solid rgba(232, 93, 117, 0.16);
  border-radius: 8px;
  background: rgba(42, 7, 18, 0.42);
  box-shadow: 0 18px 44px rgba(159, 29, 59, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.story-year-card-2025 {
  background:
    linear-gradient(180deg, rgba(42,7,18,0.08), rgba(42,7,18,0.62)),
    url('../images/photos/first-date-1.jpg') center / cover no-repeat;
}

.story-year-card-2026 {
  background:
    linear-gradient(180deg, rgba(42,7,18,0.08), rgba(42,7,18,0.62)),
    url('../images/photos/first-date-2.jpg') center / cover no-repeat;
}

.story-year-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,7,18,0.08), rgba(42,7,18,0.72));
  z-index: 1;
}

.story-year-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.story-year-card > span,
.story-year-card > strong {
  position: relative;
  z-index: 2;
}

.story-year-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 93, 117, 0.32);
  box-shadow: 0 24px 56px rgba(159, 29, 59, 0.14);
}

.story-year-kicker {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 14px rgba(42,7,18,0.48);
}

.story-year-card strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 300;
  line-height: 0.9;
  color: var(--warm-white);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 24px rgba(42,7,18,0.56);
}

.story-year-card span:last-child {
  max-width: 360px;
  color: rgba(255,248,251,0.82);
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 300;
  text-shadow: 0 2px 14px rgba(42,7,18,0.5);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--warm-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(42,7,18,0.16) 0%, rgba(42,7,18,0.48) 100%),
    url('../assets/hero-background.jpg') center / cover no-repeat;
  background-attachment: scroll;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 241, 245, 0.12);
}

.hero-ornament {
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(232,93,117,0.15);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: breathe 6s ease-in-out infinite;
}

.hero-ornament:nth-child(2) {
  width: 700px;
  height: 700px;
  border-color: rgba(232,93,117,0.08);
  animation-delay: 1s;
}

.hero-ornament:nth-child(3) {
  width: 900px;
  height: 900px;
  border-color: rgba(232,93,117,0.05);
  animation-delay: 2s;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  animation: fadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--warm-white);
  font-weight: 400;
  margin-bottom: 2rem;
  text-shadow: 0 2px 18px rgba(42,7,18,0.55);
  animation: fadeUp 1.4s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--warm-white);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 24px rgba(42,7,18,0.55);
  animation: fadeUp 1.4s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  display: block;
}

.hero-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--warm-white);
  font-weight: 300;
  margin-bottom: 3rem;
  text-shadow: 0 2px 18px rgba(42,7,18,0.55);
  animation: fadeUp 1.4s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold-light);
  text-shadow: 0 2px 18px rgba(42,7,18,0.55);
  animation: fadeUp 1.4s 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeUp 1.4s 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--warm-white);
  text-shadow: 0 2px 14px rgba(42,7,18,0.55);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--rose), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

/* ============================================
   LOVE COUNT UP
   ============================================ */
.love-counter-section {
  background:
    radial-gradient(ellipse 40% 45% at 15% 20%, rgba(255,199,214,0.42), transparent 65%),
    radial-gradient(ellipse 45% 50% at 85% 70%, rgba(232,93,117,0.16), transparent 65%),
    var(--cream);
  position: relative;
  overflow: hidden;
  padding-bottom: 1.5rem;
}

.love-counter {
  position: relative;
  text-align: center;
}

.love-counter::before {
  content: '♥';
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(232,93,117,0.06);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(12rem, 30vw, 26rem);
  line-height: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.love-counter-note {
  position: relative;
  max-width: 560px;
  margin: 0 auto 3rem;
  color: var(--light-mid);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
}

.love-counter-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.love-counter-card {
  min-height: 150px;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,248,251,0.86);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(232,93,117,0.18);
  box-shadow: 0 18px 50px rgba(159,29,59,0.08);
  position: relative;
  overflow: hidden;
}

.love-counter-card::after {
  content: '♥';
  position: absolute;
  right: 0.75rem;
  bottom: -0.85rem;
  color: rgba(232,93,117,0.08);
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  line-height: 1;
}

.love-counter-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1;
  color: var(--deep-rose);
  font-variant-numeric: tabular-nums;
}

.love-counter-label {
  margin-top: 0.9rem;
  color: var(--light-mid);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.love-counter-photo {
  position: relative;
  z-index: 3;
  width: min(520px, 58vw);
  margin: -11rem auto -3.5rem;
  pointer-events: none;
  filter: drop-shadow(0 24px 45px rgba(159,29,59,0.18));
}

.love-counter-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* ============================================
   HOW WE MET
   ============================================ */
.how-we-met {
  background: var(--warm-white);
}

.how-we-met-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.photo-frame {
  position: relative;
}

.photo-frame-inner {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blush), var(--rose));
}

.photo-frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffd8e1, #ff9fb4, #d8435d);
  color: white;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}

.photo-placeholder .icon { font-size: 3rem; opacity: 0.6; }
.photo-placeholder p     { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }

.photo-frame-border {
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 1px solid var(--blush);
  z-index: -1;
}

.photo-frame-label {
  position: absolute;
  bottom: -2.5rem;
  right: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--light-mid);
}

.quote-block {
  position: relative;
  padding: 2rem 0 2rem 3rem;
  margin: 2.5rem 0;
  border-left: 2px solid var(--blush);
}

.quote-block::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--blush);
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  line-height: 1;
}

.quote-block p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--mid);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.timeline-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(232,93,117,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 100% 50%, rgba(255,199,214,0.1) 0%, transparent 60%);
}

.timeline {
  position: relative;
  margin-top: 5rem;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(232,93,117,0.46) 10%,
    rgba(232,93,117,0.46) 90%,
    transparent
  );
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content { grid-column: 1; text-align: right; }
.timeline-item:nth-child(odd) .timeline-node    { grid-column: 2; }
.timeline-item:nth-child(odd) .timeline-empty   { grid-column: 3; }

.timeline-item:nth-child(even) .timeline-empty   { grid-column: 1; }
.timeline-item:nth-child(even) .timeline-node    { grid-column: 2; }
.timeline-item:nth-child(even) .timeline-content { grid-column: 3; }

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border: 2px solid var(--rose);
  border-radius: 50%;
  background: var(--dark);
  margin-top: 0.4rem;
  transition: background 0.3s, box-shadow 0.3s;
}

.timeline-item:hover .timeline-dot {
  background: var(--rose);
  box-shadow: 0 0 20px rgba(232,93,117,0.5);
}

.timeline-content {
  padding: 0 2rem;
}

.timeline-date {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.timeline-event-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.timeline-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,241,245,0.58);
  font-weight: 300;
}

.timeline-photo-small {
  margin-top: 1rem;
  width: 200px;
  height: 120px;
  overflow: hidden;
  display: inline-block;
}

.timeline-item:nth-child(odd) .timeline-photo-small { float: right; }

.timeline-photo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   FIRST DATE
   ============================================ */
.first-date-section {
  background: var(--cream);
}

.first-date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.first-date-card {
  background: var(--warm-white);
  padding: 3rem;
  position: relative;
  border: 1px solid rgba(232,93,117,0.15);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.first-date-card[role="button"] {
  cursor: pointer;
}

.first-date-card[role="button"]:hover,
.first-date-card[role="button"]:focus-visible {
  border-color: rgba(232,93,117,0.38);
  box-shadow: 0 16px 36px rgba(159, 29, 59, 0.1);
  transform: translateY(-3px);
  outline: none;
}

.first-date-card::before {
  content: attr(data-num);
  font-family: 'Cormorant Garamond', serif;
  font-size: 7rem;
  font-weight: 300;
  color: rgba(232,93,117,0.08);
  position: absolute;
  top: -1rem;
  right: 1.5rem;
  line-height: 1;
}

.first-date-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.first-date-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.first-date-card p {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--light-mid);
  font-weight: 300;
}

.first-date-full {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--deep-rose), var(--terracotta));
  padding: 4rem;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.first-date-full::before {
  content: '♥';
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12rem;
  opacity: 0.06;
}

.first-date-full h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.first-date-full p {
  font-size: 0.95rem;
  line-height: 2;
  opacity: 0.85;
  max-width: 700px;
  font-weight: 300;
}

.story-side-panel-backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(42, 7, 18, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 1600;
}

.story-side-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100vh;
  padding: 7rem 2.25rem 2.25rem;
  background:
    radial-gradient(ellipse 65% 45% at 20% 10%, rgba(255,199,214,0.34), transparent 70%),
    var(--warm-white);
  border-left: 1px solid rgba(232,93,117,0.18);
  box-shadow: -24px 0 60px rgba(42, 7, 18, 0.18);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1601;
  overflow-y: auto;
}

.story-panel-open .story-side-panel-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.story-panel-open .story-side-panel {
  transform: translateX(0);
}

.story-side-panel-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(232,93,117,0.24);
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  color: var(--mid);
  font-size: 1.35rem;
  line-height: 1;
}

.story-side-panel-kicker {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.5rem;
}

.story-side-panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.story-side-panel-text {
  color: var(--light-mid);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
}

/* ============================================
   LOVE LETTER
   ============================================ */
.letter-section {
  background: var(--warm-white);
  text-align: center;
  padding: 8rem 0;
}

.letter-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 4rem;
}

.letter-paper {
  background: white;
  padding: 5rem;
  position: relative;
  box-shadow: 0 20px 80px rgba(159,29,59,0.08), 0 2px 8px rgba(159,29,59,0.04);
  margin-top: 3rem;
  text-align: left;
}

.letter-paper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--blush), var(--rose), var(--gold), var(--rose), var(--blush)
  );
}

.letter-paper p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  line-height: 2.1;
  color: var(--mid);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.letter-signature {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-style: italic;
  color: var(--rose);
  margin-top: 2rem;
}

/* ============================================
   CINEMATIC PARALLAX LOVE SECTION
   ============================================ */

.parallax-photos {
  position: relative;

  height: 120vh;
  min-height: 1000px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background: #080204;
}

/* Background */
.parallax-photos-bg {
  position: absolute;

  inset: -140px 0;

  background:
    linear-gradient(
      to bottom,
      rgba(10,10,10,0.45) 0%,
      rgba(10,10,10,0.18) 35%,
      rgba(10,10,10,0.62) 100%
    ),
    url('../images/photos/first-date-1.jpg') center center / cover no-repeat;

  background-attachment: fixed;

  transform: translate3d(0, 0, 0) scale(1.08);

  will-change: transform;
}

/* Luxury Glow Overlay */
.parallax-photos::before {
  content: '';

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,0.05),
      transparent 60%
    );

  z-index: 1;
}

/* Floating Decorative Border */
.parallax-photos::after {
  content: '';

  position: absolute;

  width: 78%;
  height: 78%;

  border: 1px solid rgba(255,255,255,0.08);

  z-index: 1;

  pointer-events: none;
}

/* Content */
.parallax-photos-content {
  position: relative;
  z-index: 2;

  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;

  max-width: 1000px;

  padding: 0 2rem;
}

/* Label */
.parallax-label {
  font-family: 'Jost', sans-serif;

  font-size: 0.72rem;

  font-weight: 300;

  letter-spacing: 0.45em;

  text-transform: uppercase;

  color: rgba(255,255,255,0.7);

  margin-bottom: 2.5rem;
}

/* Title */
.parallax-title {
  font-family: 'Cormorant Garamond', serif;

  font-size: clamp(4.5rem, 8vw, 8.5rem);

  font-weight: 300;

  line-height: 0.95;

  color: #fff;

  margin-bottom: 2rem;

  text-shadow:
    0 8px 40px rgba(0,0,0,0.35),
    0 2px 10px rgba(0,0,0,0.25);
}

.parallax-title em {
  display: block;

  font-style: italic;

  color: var(--gold-light);
}

/* Subtitle */
.parallax-sub {
  max-width: 760px;

  font-family: 'Jost', sans-serif;

  font-size: 1rem;

  line-height: 2;

  font-weight: 300;

  letter-spacing: 0.08em;

  color: rgba(255,255,255,0.78);
}

/* Button */
.parallax-btn {
  margin-top: 3rem;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 1.15rem 3.5rem;

  border: 1px solid rgba(255,255,255,0.28);

  color: #fff;

  font-family: 'Jost', sans-serif;

  font-size: 0.72rem;

  font-weight: 400;

  letter-spacing: 0.35em;

  text-transform: uppercase;

  background: rgba(255,255,255,0.06);

  backdrop-filter: blur(10px);

  transition:
    background 0.35s ease,
    transform 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;

  overflow: hidden;
}

.parallax-btn:hover {
  background: #fff;

  color: #111;

  border-color: #fff;

  transform: translateY(-4px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {

  .parallax-photos {
    height: 100vh;
    min-height: 850px;
  }

  .parallax-photos-bg {
    background-attachment: scroll;
    inset: 0;
  }

  .parallax-title {
    font-size: clamp(3.5rem, 11vw, 5.8rem);
  }

  .parallax-sub {
    font-size: 0.95rem;
  }

  .parallax-photos::after {
    width: 88%;
    height: 84%;
  }
}

@media (max-width: 600px) {

  .parallax-photos {
    min-height: 720px;
  }

  .parallax-photos-content {
    padding: 0 1.2rem;
  }

  .parallax-title {
    line-height: 1.02;
  }

  .parallax-sub {
    line-height: 1.85;
    font-size: 0.92rem;
  }

  .parallax-btn {
    width: 100%;
  }

  .parallax-photos::after {
    width: 92%;
    height: 88%;
  }
}

@media (max-width: 420px) {

  .parallax-photos {
    min-height: 640px;
  }

  .parallax-title {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .parallax-label {
    letter-spacing: 0.3em;
  }
}
/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--terracotta);
  padding: 2rem 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-bg-heart {
  position: absolute;
  font-size: 8rem;
  color: rgba(255,255,255,0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  text-shadow:
    0 0 28px rgba(255,255,255,0.1),
    0 0 72px rgba(255,255,255,0.08),
    0 0 120px rgba(255,255,255,0.06);
}

.footer-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.footer-names em {
  font-style: italic;
  color: var(--gold);
}

.footer-since {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.78;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-break {
  display: inline;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-nav a {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--cream);
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet and below (900px) */
@media (max-width: 900px) {
  .floating-menu-bar {
    top: 1rem;
    padding: 0.6rem 0.8rem;
    max-width: calc(100% - 1rem);
    width: auto;
    flex-wrap: wrap;
  }

  .floating-menu-toggle {
    display: flex !important;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.2rem;
    order: -1;
  }

  .floating-menu-links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100vw;
    position: fixed;
    top: calc(3rem + 10px);
    left: 0;
    right: 0;
    bottom: auto;
    background: rgba(255, 248, 251, 0.98);
    padding: 0.8rem;
    border-radius: 0;
    align-items: flex-start;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .floating-menu-bar.open {
    position: fixed;
  }

  .floating-menu-bar.open .floating-menu-links {
    display: flex;
    z-index: 999;
  }

  .floating-menu-links li {
    width: 100%;
  }

  .story-submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    width: 100%;
    margin: -0.2rem 0 0.35rem;
    padding: 0 0 0 1.4rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .story-menu:hover .story-submenu,
  .story-menu:focus-within .story-submenu {
    transform: none;
  }

  .floating-menu-links a {
    font-size: 0.8rem;
    padding: 0.7rem 1.2rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    width: 100%;
  }

  .floating-menu-links a:hover {
    background: rgba(232, 93, 117, 0.1);
  }

  .story-submenu a {
    justify-content: flex-start;
    min-height: 38px;
    padding: 0.45rem 1rem;
    font-size: 0.72rem;
    color: var(--rose);
  }

  .floating-menu-links a::after {
    display: none;
  }

  .floating-logo {
    font-size: 0.95rem !important;
    padding: 0.7rem 1.2rem !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(232, 93, 117, 0.15) !important;
    margin-right: 0 !important;
    width: 100%;
  }

  .section-inner { padding: 0 2rem; }

  .year-story-hero {
    padding: 10rem 2rem 4rem;
  }

  .year-story-list {
    padding: 1rem 2rem 6rem;
  }

  .year-story-slideshow {
    padding: 0 2rem 5rem;
  }

  .year-story-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2.5rem 0;
  }

  .year-story-card > div:last-child,
  .year-story-card:nth-of-type(even) > div:last-child {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "text"
      "media"
      "details";
  }

  .first-date-grid.year-story-details {
    grid-template-columns: 1fr;
  }

  .year-story-details .first-date-card {
    min-height: auto;
  }

  .year-story-date {
    letter-spacing: 0.22em;
  }

  .year-story-title,
  .year-story-text {
    max-width: none;
  }

  .story-hub {
    padding: 10rem 2rem 6rem;
  }

  .story-year-grid {
    grid-template-columns: 1fr;
  }

  .how-we-met-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .first-date-grid {
    grid-template-columns: 1fr;
  }

  .first-date-full { grid-column: 1; }

  .timeline-item {
    grid-template-columns: 1fr 40px;
  }

  .timeline-item:nth-child(n) .timeline-content {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
  }

  .timeline-item:nth-child(n) .timeline-node {
    grid-column: 2;
    grid-row: 1;
  }

  .timeline-item:nth-child(n) .timeline-empty { display: none; }

  .timeline-line { left: calc(100% - 20px); }

  .letter-paper { padding: 3rem 2rem; }

  .love-counter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .love-counter-photo {
    width: min(430px, 68vw);
    margin-top: -8.5rem;
    margin-bottom: -2.75rem;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(42,7,18,0.16) 0%, rgba(42,7,18,0.48) 100%),
      url('../assets/hero-background.jpg') center top / cover no-repeat;
  }

  /* Disable fixed parallax on tablet/mobile (iOS bug) */
  .parallax-photos-bg {
    background-attachment: scroll;
    inset: 0;
  }

  .footer-break {
    display: block;
    margin-top: 0.75rem;
  }

  .footer-nav { gap: 1.5rem; flex-wrap: wrap; }
}

/* Mobile - Medium (768px and below) */
@media (max-width: 768px) {
  .floating-menu-bar {
    top: 0.8rem;
    max-width: calc(100% - 1rem);
  }

  .floating-menu-toggle {
    font-size: 1.1rem;
  }

  .floating-menu-links {
    width: 100vw;
    top: calc(2.6rem + 10px);
    padding: 0.8rem;
  }

  .section-inner { padding: 0 1.5rem; }

  .year-story-hero {
    padding: 8rem 1.5rem 3.5rem;
  }

  .year-story-list {
    padding: 0.5rem 1.5rem 5rem;
  }

  .year-story-slideshow {
    padding: 0 1.5rem 4.5rem;
  }

  .photo-slideshow {
    aspect-ratio: 4 / 5;
  }

  .year-story-title {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
    line-height: 1;
  }

  .year-story-text {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .story-hub {
    padding: 8rem 1.5rem 5rem;
  }

  .story-year-grid {
    margin-top: 3rem;
  }

  .story-year-card {
    aspect-ratio: 4 / 5;
    min-height: unset;
    padding: 2rem;
  }

  .parallax-photos { height: 420px; }
}

/* Mobile - Small (600px and below) */
@media (max-width: 600px) {
  .floating-menu-bar {
    top: 0.6rem;
    left: auto;
    right: auto;
    transform: none;
    max-width: none;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    width: calc(100% - 1rem);
    margin: 0 0.5rem;
  }

  .floating-menu-toggle {
    font-size: 1rem;
    min-width: 40px;
    min-height: 40px;
    padding: 0.4rem;
  }

  .menu-icon,
  .menu-close {
    font-size: 1.1rem;
  }

  .floating-menu-links {
    width: 100vw;
    left: 0;
    right: 0;
    top: calc(2.2rem + 10px);
    padding: 0.6rem;
    gap: 0;
    border-radius: 0;
  }

  .floating-menu-links a {
    font-size: 0.75rem; 
    padding: 0.6rem 1rem;
    min-height: 40px;
  }

  .floating-logo {
    font-size: 0.85rem !important;
    padding: 0.6rem 1rem !important;
    min-height: 40px !important;
    margin-bottom: 0.4rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(42,7,18,0.16) 0%, rgba(42,7,18,0.48) 100%),
      url('../assets/hero-background.jpg') center 20% / cover no-repeat;
  }

  .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); }
  .section-inner { padding: 0 1rem; }
  .section-title { font-size: clamp(1.8rem, 8vw, 3rem); }
  .year-story-hero {
    padding: 7rem 1rem 3rem;
  }
  .year-story-list {
    padding: 0 1rem 4.5rem;
  }
  .year-story-slideshow {
    padding: 0 1rem 4rem;
  }
  .year-story-card {
    padding: 2rem 0;
  }
  .year-story-date {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }
  .year-story-title {
    font-size: clamp(2rem, 12vw, 3rem);
    margin-bottom: 0.85rem;
  }
  .year-story-details .first-date-card {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 150px;
  }
  .year-story-details .first-date-card::before,
  .year-story-details .first-date-icon {
    width: 58px;
  }
  .year-story-details .first-date-card::before {
    font-size: 3.5rem;
  }
  .year-story-details .first-date-icon {
    font-size: 1.15rem;
  }
  .year-story-details .first-date-card h3 {
    margin-top: 1.25rem;
    margin-right: 1rem;
  }
  .year-story-details .first-date-card p {
    margin-right: 1rem;
    margin-bottom: 1.25rem;
  }
  .slideshow-arrow {
    width: 34px;
    height: 34px;
  }
  .slideshow-arrow.prev {
    left: 0.65rem;
  }
  .slideshow-arrow.next {
    right: 0.65rem;
  }
  .story-hub {
    padding: 7rem 1rem 4.5rem;
  }
  .story-year-card {
    aspect-ratio: 4 / 5;
    min-height: unset;
    padding: 1.5rem;
  }
  .story-year-card strong {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }
  .story-side-panel {
    top: auto;
    bottom: 0;
    width: 100%;
    height: min(72vh, 560px);
    padding: 4.5rem 1.5rem 1.5rem;
    border-left: 0;
    border-top: 1px solid rgba(232,93,117,0.18);
    border-radius: 14px 14px 0 0;
    transform: translateY(100%);
  }
  .story-panel-open .story-side-panel {
    transform: translateY(0);
  }
  .story-side-panel-close {
    top: 1rem;
    right: 1rem;
  }
  .love-counter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .love-counter-card {
    min-height: 126px;
    padding: 1.5rem 0.75rem;
  }
  .love-counter-photo {
    width: 78vw;
    margin-top: -6.5rem;
    margin-bottom: -2.25rem;
  }
  .letter-inner { padding: 0 1rem; }
  footer { padding: 3rem 1rem 5rem; }

  .parallax-photos { height: 380px; }
}

/* Mobile - Extra Small (420px and below) */
@media (max-width: 420px) {
  .floating-menu-bar {
    top: 0.5rem;
    width: calc(100% - 0.6rem);
    margin: 0 0.3rem;
    padding: 0.4rem;
  }

  .floating-menu-toggle {
    font-size: 0.9rem;
    min-width: 36px;
    min-height: 36px;
    padding: 0.3rem;
  }

  .floating-menu-links {
    width: 100vw;
    left: 0;
    right: 0;
    top: calc(1.8rem + 10px);
    padding: 0.5rem;
  }

  .floating-menu-links a {
    font-size: 0.7rem;
    padding: 0.5rem 0.9rem;
    min-height: 36px;
  }

  .floating-logo {
    font-size: 0.75rem !important;
    padding: 0.5rem 0.9rem !important;
    min-height: 36px !important;
  }

  .hero-title { font-size: clamp(2rem, 10vw, 3.5rem); }
  .section-title { font-size: clamp(1.5rem, 7vw, 2.5rem); }
  .section-inner { padding: 0 0.75rem; }

  .parallax-photos { height: 340px; }
}
