/* ==========================================================================
   John & Vevelyn — Elegant Romantic Theme
   ========================================================================== */

:root {
  --bg:           #fdf8f1;
  --bg-card:      #fffdf9;
  --fg:           #4a2f25;
  --fg-soft:      #6b4f3f;
  --muted:        #9c8275;
  --primary:      #c97b8a;       /* dusty rose */
  --primary-dark: #b15f6e;
  --secondary:    #f5e6d3;       /* blush */
  --accent:       #e8d4a8;       /* champagne */
  --border:       #ecdcc8;
  --rose-50:      #fdf2f4;
  --rose-100:     #fbe4e8;
  --amber-50:     #fef9ed;
  --shadow-sm:    0 1px 3px rgba(74, 47, 37, 0.06);
  --shadow-md:    0 4px 12px rgba(74, 47, 37, 0.08);
  --shadow-lg:    0 10px 30px rgba(201, 123, 138, 0.15);
  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fonts */
.font-script  { font-family: 'Dancing Script', 'Brush Script MT', cursive; }
.font-serif   { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; }

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

/* Gradients */
.text-gradient-rose {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 1.25rem 0;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(253, 248, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(236, 220, 200, 0.5);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.navbar-brand {
  display: flex; align-items: center; gap: 0.5rem;
  background: none; border: none; cursor: pointer;
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem; color: var(--primary);
  text-decoration: none;
}
.navbar-brand-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(201, 123, 138, 0.12); color: var(--primary);
  transition: all 0.3s ease;
}
.navbar-brand:hover .navbar-brand-icon {
  background: var(--primary); color: white;
}
.navbar-nav {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none;
}
.navbar-nav button {
  background: none; border: none; cursor: pointer;
  padding: 0.5rem 1rem; border-radius: 999px;
  font-size: 0.875rem; font-weight: 500;
  color: rgba(74, 47, 37, 0.7);
  transition: color 0.2s ease;
  font-family: inherit;
}
.navbar-nav button:hover { color: var(--primary); }
.navbar-nav button.active { color: var(--primary); }

.navbar-right { display: flex; align-items: center; gap: 0.75rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem; border-radius: 999px;
  font-size: 0.875rem; font-weight: 500; font-family: inherit;
  cursor: pointer; transition: all 0.3s ease;
  border: 1px solid transparent; text-decoration: none;
}
.btn-primary {
  background: var(--primary); color: white;
  box-shadow: 0 4px 12px rgba(201, 123, 138, 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(201, 123, 138, 0.35);
  transform: translateY(-1px);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(201, 123, 138, 0.3);
  color: var(--primary);
}
.btn-outline:hover {
  background: rgba(201, 123, 138, 0.1);
  border-color: var(--primary);
}
.btn-ghost {
  background: transparent; color: rgba(74, 47, 37, 0.7);
}
.btn-ghost:hover { background: var(--secondary); }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-destructive {
  background: transparent; color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.3);
}
.btn-destructive:hover {
  background: rgba(185, 28, 28, 0.1);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 6rem 0 4rem; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--rose-50) 0%, rgba(254, 249, 237, 0.4) 50%, rgba(251, 228, 232, 0.6) 100%);
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none;
}
.hero-blob.b1 { top: -8rem; left: -8rem; width: 24rem; height: 24rem; background: rgba(251, 228, 232, 0.4); }
.hero-blob.b2 { bottom: -8rem; right: -8rem; width: 28rem; height: 28rem; background: rgba(254, 249, 237, 0.4); }
.hero-blob.b3 { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 32rem; height: 32rem; background: rgba(253, 242, 244, 0.3); }

.hero-content {
  text-align: center; max-width: 900px; position: relative; z-index: 1;
}

.hero-ornament {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-ornament span {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em;
  color: rgba(201, 123, 138, 0.7); font-weight: 500;
}
.hero-ornament::before, .hero-ornament::after {
  content: ""; height: 1px; width: 48px; background: rgba(201, 123, 138, 0.4);
}

/* Photo pair */
.hero-photos {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .hero-photos { gap: 1.25rem; } }

.photo-card {
  position: relative; width: 6rem; height: 8rem;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid white;
  transition: transform 0.3s ease;
}
.photo-card:hover { transform: translateY(-4px) scale(1.04); }
.photo-card.left  { transform: rotate(-6deg); }
.photo-card.right { transform: rotate(6deg); }
.photo-card.left:hover  { transform: rotate(-6deg) translateY(-4px) scale(1.04); }
.photo-card.right:hover { transform: rotate(6deg) translateY(-4px) scale(1.04); }
@media (min-width: 640px) {
  .photo-card { width: 8rem; height: 10rem; }
}
@media (min-width: 1024px) {
  .photo-card { width: 10rem; height: 13rem; }
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-label {
  position: absolute; bottom: -0.75rem; left: 50%; transform: translateX(-50%);
  font-family: 'Dancing Script', cursive; font-size: 1.25rem; color: var(--primary);
  background: rgba(253, 248, 241, 0.85); padding: 0.15rem 0.75rem; border-radius: 999px;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .photo-label { font-size: 1.5rem; }
}

.hero-heart-bubble {
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgba(201, 123, 138, 0.1);
  animation: pulse 2s ease-in-out infinite;
}
@media (min-width: 640px) {
  .hero-heart-bubble { width: 4rem; height: 4rem; }
}
.hero-heart-bubble svg { width: 1.5rem; height: 1.5rem; fill: var(--primary); color: var(--primary); }
@media (min-width: 640px) {
  .hero-heart-bubble svg { width: 2rem; height: 2rem; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}

.hero-names {
  font-family: 'Dancing Script', cursive;
  font-size: 5rem; line-height: 1; margin-bottom: 1rem;
}
@media (min-width: 640px)  { .hero-names { font-size: 7rem; } }
@media (min-width: 1024px) { .hero-names { font-size: 9rem; } }
.hero-names .heart-between {
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 1rem; vertical-align: middle;
  animation: pulse 3s ease-in-out infinite;
}
.hero-names .heart-between svg {
  width: 2.5rem; height: 2.5rem; fill: var(--primary); color: var(--primary);
}
@media (min-width: 640px)  { .hero-names .heart-between svg { width: 3rem; height: 3rem; } }
@media (min-width: 1024px) { .hero-names .heart-between svg { width: 4rem; height: 4rem; } }

.hero-tagline {
  font-family: 'Playfair Display', Georgia, serif; font-style: italic;
  font-size: 1.25rem; color: rgba(74, 47, 37, 0.8);
  margin-top: 1.5rem;
}
@media (min-width: 640px)  { .hero-tagline { font-size: 1.5rem; } }
@media (min-width: 1024px) { .hero-tagline { font-size: 1.875rem; } }

.hero-subtag {
  color: rgba(74, 47, 37, 0.6); margin-top: 1rem; font-size: 1rem;
  max-width: 36rem; margin-left: auto; margin-right: auto;
}
@media (min-width: 640px) { .hero-subtag { font-size: 1.125rem; } }

.hero-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 2.5rem;
}
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }

.hero-since {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 3rem; font-size: 0.875rem; color: rgba(74, 47, 37, 0.5);
}
.hero-since::before, .hero-since::after {
  content: ""; height: 1px; width: 32px; background: rgba(74, 47, 37, 0.2);
}

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  background: none; border: none; cursor: pointer; color: rgba(201, 123, 138, 0.6);
  animation: bobble 1.8s ease-in-out infinite;
}
@keyframes bobble {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 6rem 0; }
@media (min-width: 768px) { section { padding: 8rem 0; } }

.section-heading {
  text-align: center; max-width: 42rem; margin: 0 auto;
}
.section-heading .eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  margin-bottom: 1rem;
}
.section-heading .eyebrow span {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--primary); font-weight: 500;
}
.section-heading .eyebrow::before, .section-heading .eyebrow::after {
  content: ""; height: 1px; width: 32px; background: rgba(201, 123, 138, 0.4);
}
.section-heading h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem; color: var(--fg); margin-bottom: 1rem; line-height: 1.2;
}
@media (min-width: 640px) { .section-heading h2 { font-size: 3rem; } }
.section-heading p {
  color: rgba(74, 47, 37, 0.65); font-size: 1rem;
}
@media (min-width: 640px) { .section-heading p { font-size: 1.125rem; } }

/* ==========================================================================
   Story Timeline
   ========================================================================== */
.timeline {
  max-width: 56rem; margin: 4rem auto 0; position: relative;
}
.timeline::before {
  content: ""; position: absolute;
  left: 1rem; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201, 123, 138, 0.3), transparent);
}
@media (min-width: 640px) { .timeline::before { left: 50%; transform: translateX(-50%); } }

.timeline-item {
  position: relative; display: flex; align-items: center;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .timeline-item:last-child { margin-bottom: 0; }
}

.timeline-marker {
  position: absolute; left: 1rem; transform: translateX(-50%);
  z-index: 2; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .timeline-marker { left: 50%; } }

.timeline-card {
  margin-left: 3.5rem; padding: 1.5rem; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: all 0.3s ease;
  width: 100%;
}
@media (min-width: 640px) {
  .timeline-card { width: calc(50% - 3rem); margin-left: 0; }
  .timeline-item.left  .timeline-card { margin-right: auto; }
  .timeline-item.right .timeline-card { margin-left: auto; }
}
.timeline-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 123, 138, 0.3);
}
.timeline-date {
  display: inline-block; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--primary); font-weight: 500;
  margin-bottom: 0.5rem;
}
.timeline-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; color: var(--fg); margin-bottom: 0.75rem;
}
@media (min-width: 640px) { .timeline-card h3 { font-size: 1.875rem; } }
.timeline-card p {
  color: rgba(74, 47, 37, 0.7); font-size: 0.95rem; line-height: 1.65;
}

/* ==========================================================================
   Our Family highlight
   ========================================================================== */
.family-section {
  background: linear-gradient(180deg, rgba(255, 245, 235, 0.6) 0%, rgba(245, 230, 211, 0.3) 100%);
}
.family-grid {
  margin-top: 4rem; display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .family-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .family-grid { grid-template-columns: repeat(4, 1fr); } }

.family-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center;
  box-shadow: var(--shadow-sm); transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.family-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), rgba(201, 123, 138, 0.3));
  opacity: 0; transition: opacity 0.3s ease;
}
.family-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(201, 123, 138, 0.3); }
.family-card:hover::before { opacity: 1; }

.family-card-accent {
  background: linear-gradient(135deg, rgba(201, 123, 138, 0.12), rgba(245, 200, 150, 0.12));
  border-color: rgba(201, 123, 138, 0.35);
}
.family-card-accent::before { opacity: 1; }

.family-emoji {
  font-size: 2.5rem; margin-bottom: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.6); box-shadow: var(--shadow-sm);
}
.family-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.375rem; color: var(--fg); margin-bottom: 0.5rem;
}
.family-role {
  color: rgba(74, 47, 37, 0.65); font-size: 0.9rem; line-height: 1.6; margin: 0;
}

.family-footnote {
  margin-top: 3rem; text-align: center; font-style: italic;
  font-size: 1.125rem; color: var(--primary); max-width: 42rem;
  margin-left: auto; margin-right: auto; line-height: 1.7;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-section { background: rgba(245, 230, 211, 0.3); }

.gallery-grid {
  margin-top: 4rem; display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  grid-auto-rows: 180px;
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; grid-auto-rows: 220px; }
}

.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--secondary); cursor: pointer;
  box-shadow: var(--shadow-sm); transition: all 0.5s ease;
  border: none; padding: 0; width: 100%; height: 100%;
  font-family: inherit;
}
.gallery-item:hover { box-shadow: var(--shadow-lg); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s ease;
  background: linear-gradient(to top, rgba(74, 47, 37, 0.6), transparent 60%);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .caption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem;
  color: white; font-size: 0.875rem; font-weight: 500;
  transform: translateY(8px); opacity: 0; transition: all 0.3s ease;
}
.gallery-item:hover .caption { transform: translateY(0); opacity: 1; }

/* Add-photo card */
.add-photo-card {
  grid-column: span 2; grid-row: span 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.5rem; text-align: center; text-decoration: none;
  border: 2px dashed rgba(201, 123, 138, 0.3);
  border-radius: var(--radius); background: rgba(255, 253, 249, 0.5);
  color: inherit; transition: all 0.3s ease;
}
.add-photo-card:hover {
  border-color: var(--primary); background: rgba(201, 123, 138, 0.05);
}

/* Media hosts */
.media-hosts {
  margin-top: 4rem; max-width: 56rem; margin-left: auto; margin-right: auto;
}
.media-hosts h3 {
  text-align: center; font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; margin-bottom: 0.5rem;
}
.media-hosts .sub { text-align: center; color: rgba(74, 47, 37, 0.6); font-size: 0.875rem; margin-bottom: 2rem; }
.media-hosts-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
}
@media (min-width: 768px) { .media-hosts-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.media-host {
  display: block; padding: 1rem; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  text-decoration: none; color: inherit; transition: all 0.3s ease;
}
.media-host:hover {
  border-color: rgba(201, 123, 138, 0.4);
  box-shadow: var(--shadow-md);
}
.media-host .emoji { font-size: 1.5rem; }
.media-host .name { font-weight: 500; color: var(--fg); margin-top: 0.5rem; font-size: 0.875rem; }
.media-host .desc { font-size: 0.75rem; color: rgba(74, 47, 37, 0.55); margin-top: 0.25rem; line-height: 1.5; }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-toolbar {
  margin-top: 3rem; max-width: 64rem; margin-left: auto; margin-right: auto;
  display: flex; flex-direction: column; gap: 0.75rem;
}
@media (min-width: 640px) {
  .blog-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
}

.search-input {
  flex: 1; max-width: 28rem; padding: 0.5rem 0.875rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-card); font-family: inherit; font-size: 0.875rem;
  color: var(--fg);
}
.search-input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 123, 138, 0.15);
}

/* Coming Soon banner */
.coming-soon {
  margin-top: 2.5rem; max-width: 64rem; margin-left: auto; margin-right: auto;
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 123, 138, 0.3);
  background: linear-gradient(135deg, var(--rose-50) 0%, rgba(254, 249, 237, 0.6) 50%, rgba(251, 228, 232, 0.5) 100%);
  padding: 2rem; box-shadow: var(--shadow-sm);
}
.coming-soon-inner {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem;
}
@media (min-width: 640px) { .coming-soon-inner { flex-direction: row; align-items: center; } }

.coming-soon-icon {
  flex-shrink: 0; width: 3.5rem; height: 3.5rem; border-radius: var(--radius);
  background: rgba(201, 123, 138, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.coming-soon-body { flex: 1; }
.coming-soon-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.125rem 0.75rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-rose   { background: rgba(201, 123, 138, 0.15); color: var(--primary); }
.badge-muted  { background: rgba(74, 47, 37, 0.1);    color: rgba(74, 47, 37, 0.7); }
.badge-john   { background: #dbeafe; color: #1d4ed8; }
.badge-veve   { background: #fce7f3; color: #be185d; }
.badge-together { background: #fef3c7; color: #b45309; }

.coming-soon-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; color: var(--fg); margin-bottom: 0.5rem;
}
@media (min-width: 640px) { .coming-soon-body h3 { font-size: 1.875rem; } }
.coming-soon-body p { color: rgba(74, 47, 37, 0.65); font-size: 0.95rem; line-height: 1.6; }

/* Blog grid */
.blog-grid {
  margin-top: 2.5rem; max-width: 64rem; margin-left: auto; margin-right: auto;
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }

.blog-card {
  padding: 1.5rem; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: all 0.3s ease;
  display: flex; flex-direction: column; cursor: pointer;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg); border-color: rgba(201, 123, 138, 0.3);
}
.blog-card-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.75rem;
}
.blog-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; color: var(--fg); margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
.blog-card:hover .blog-card-title { color: var(--primary); }
.blog-card-excerpt {
  color: rgba(74, 47, 37, 0.6); font-size: 0.875rem; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.blog-card-date { font-size: 0.75rem; color: rgba(74, 47, 37, 0.5); display: inline-flex; align-items: center; gap: 0.375rem; }
.blog-card-read { font-size: 0.75rem; font-weight: 500; color: var(--primary); text-decoration: none; }

.blog-card-actions { display: flex; gap: 0.25rem; opacity: 0; transition: opacity 0.3s ease; }
.blog-card:hover .blog-card-actions { opacity: 1; }
.icon-btn {
  background: none; border: none; cursor: pointer;
  padding: 0.375rem; border-radius: 0.375rem;
  color: rgba(74, 47, 37, 0.6); transition: all 0.2s ease;
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover { background: var(--secondary); color: var(--primary); }
.icon-btn.danger:hover { background: rgba(185, 28, 28, 0.1); color: #b91c1c; }

/* Empty state */
.empty-state {
  text-align: center; padding: 5rem 1rem;
  color: rgba(74, 47, 37, 0.6);
}
.empty-state svg { color: rgba(74, 47, 37, 0.3); margin: 0 auto 1rem; }

/* ==========================================================================
   Love Notes
   ========================================================================== */
.notes-section {
  background: linear-gradient(to bottom, rgba(253, 242, 244, 0.5) 0%, rgba(254, 249, 237, 0.3) 50%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.notes-grid {
  margin-top: 4rem; max-width: 56rem; margin-left: auto; margin-right: auto;
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 640px) { .notes-grid { grid-template-columns: repeat(2, 1fr); } }

.note-card {
  position: relative; padding: 2rem; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: all 0.5s ease;
}
.note-card:hover { box-shadow: var(--shadow-lg); }
.note-heart {
  position: absolute; top: -1rem; left: -1rem;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgba(201, 123, 138, 0.1);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.5s ease;
}
.note-card:hover .note-heart { background: rgba(201, 123, 138, 0.2); transform: scale(1.1); }
.note-heart svg { width: 1.25rem; height: 1.25rem; fill: var(--primary); color: var(--primary); }
.note-emoji { font-size: 2.25rem; display: block; margin-bottom: 1rem; }
.note-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; color: var(--fg); margin-bottom: 0.75rem;
}
.note-card p { color: rgba(74, 47, 37, 0.7); font-style: italic; line-height: 1.75; }
.note-signature {
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border);
  font-family: 'Dancing Script', cursive; font-size: 1.5rem; color: var(--primary);
}

/* ==========================================================================
   What She Means to Me
   ========================================================================== */
.why-section {
  background: linear-gradient(180deg, rgba(253, 242, 244, 0.4) 0%, rgba(254, 249, 237, 0.6) 100%);
}
.why-grid {
  margin-top: 4rem; display: grid; gap: 2rem;
  grid-template-columns: 1fr; max-width: 72rem; margin-left: auto; margin-right: auto;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-item {
  position: relative; padding: 2.25rem 1.75rem 1.75rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}
.why-item:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: rgba(201, 123, 138, 0.3);
}
.why-num {
  font-family: 'Playfair Display', Georgia, serif; font-style: italic;
  font-size: 2.25rem; color: var(--primary); opacity: 0.5; line-height: 1;
  margin-bottom: 0.75rem;
}
.why-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem; color: var(--fg); margin-bottom: 0.625rem; line-height: 1.35;
}
.why-item p {
  color: rgba(74, 47, 37, 0.72); font-size: 0.925rem; line-height: 1.7; margin: 0;
}

/* ==========================================================================
   Weather
   ========================================================================== */
.weather-grid {
  margin-top: 4rem; max-width: 64rem; margin-left: auto; margin-right: auto;
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 1024px) { .weather-grid { grid-template-columns: 2fr 1fr; gap: 1.5rem; } }

.weather-main {
  position: relative; overflow: hidden;
  padding: 2rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #e0f2fe 0%, var(--amber-50) 50%, var(--rose-50) 100%);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.weather-header {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}
.weather-location { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: rgba(74, 47, 37, 0.7); }
.weather-refresh {
  background: transparent; border: none; cursor: pointer;
  padding: 0.5rem; border-radius: 999px;
  color: rgba(74, 47, 37, 0.6); transition: all 0.2s ease;
}
.weather-refresh:hover { background: rgba(255, 255, 255, 0.6); color: var(--primary); }
.weather-current { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; position: relative; z-index: 1; }
@media (min-width: 640px) { .weather-current { flex-direction: row; align-items: center; } }

.weather-icon-large { width: 6rem; height: 6rem; color: var(--primary); flex-shrink: 0; }
.weather-temp { display: flex; align-items: baseline; gap: 0.25rem; }
.weather-temp-value { font-family: 'Playfair Display', Georgia, serif; font-size: 4.5rem; line-height: 1; color: var(--fg); }
.weather-temp-unit { font-size: 1.875rem; color: rgba(74, 47, 37, 0.6); }
.weather-desc { font-size: 1.125rem; color: rgba(74, 47, 37, 0.8); font-weight: 500; margin-top: 0.25rem; }
.weather-feels { font-size: 0.875rem; color: rgba(74, 47, 37, 0.6); }

.weather-stats {
  margin-top: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
  position: relative; z-index: 1;
}
@media (min-width: 640px) { .weather-stats { grid-template-columns: repeat(4, 1fr); } }
.weather-stat {
  padding: 0.75rem; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(236, 220, 200, 0.3);
}
.weather-stat-label { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: rgba(74, 47, 37, 0.6); margin-bottom: 0.25rem; }
.weather-stat-value { font-size: 0.875rem; font-weight: 600; color: var(--fg); }

.weather-side {
  padding: 1.5rem; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.weather-side h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; margin-bottom: 1rem; }
.weather-row { display: flex; align-items: center; justify-content: space-between; padding: 0.375rem 0; font-size: 0.875rem; }
.weather-row-label { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(74, 47, 37, 0.7); }
.weather-row-value { font-weight: 500; color: var(--fg); }
.weather-updated { margin-top: auto; padding-top: 1.5rem; font-size: 0.75rem; color: rgba(74, 47, 37, 0.5); }

.weather-forecast {
  margin-top: 1rem; padding: 1.5rem; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  max-width: 64rem; margin-left: auto; margin-right: auto;
}
.weather-forecast h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; margin-bottom: 1rem; }
.forecast-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; }
.forecast-day { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0.75rem; border-radius: var(--radius-sm); transition: background 0.2s ease; }
.forecast-day:hover { background: var(--secondary); }
.forecast-day-name { font-size: 0.75rem; font-weight: 500; color: rgba(74, 47, 37, 0.7); margin-bottom: 0.5rem; }
.forecast-day-icon { width: 1.75rem; height: 1.75rem; color: var(--primary); margin-bottom: 0.5rem; }
.forecast-day-max { font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.forecast-day-min { font-size: 0.75rem; color: rgba(74, 47, 37, 0.5); }
.forecast-day-precip { font-size: 0.625rem; color: #1d4ed8; margin-top: 0.25rem; }

/* ==========================================================================
   Modal / Dialog
   ========================================================================== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(74, 47, 37, 0.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg); border-radius: var(--radius-lg);
  max-width: 32rem; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal.modal-lg { max-width: 48rem; }
.modal-header {
  padding: 1.5rem 1.5rem 0.5rem;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.modal-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; color: var(--fg); display: flex; align-items: center; gap: 0.5rem; }
.modal-desc { color: rgba(74, 47, 37, 0.65); font-size: 0.875rem; margin-top: 0.25rem; }
.modal-body { padding: 1.5rem; }
.modal-footer { padding: 0 1.5rem 1.5rem; display: flex; justify-content: flex-end; gap: 0.5rem; }
.modal-close {
  background: transparent; border: none; cursor: pointer;
  padding: 0.375rem; border-radius: 0.375rem; color: rgba(74, 47, 37, 0.5);
}
.modal-close:hover { background: var(--secondary); color: var(--fg); }

/* Form elements */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.75rem; font-weight: 500; color: rgba(74, 47, 37, 0.7); margin-bottom: 0.375rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.5rem 0.75rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-card); color: var(--fg); font-family: inherit; font-size: 0.875rem;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 123, 138, 0.15);
}
.form-textarea { min-height: 300px; font-family: monospace; resize: vertical; line-height: 1.6; }

.form-hint {
  margin-top: 0.75rem; padding: 0.75rem; border-radius: var(--radius-sm);
  background: var(--secondary); font-size: 0.75rem; color: rgba(74, 47, 37, 0.65);
}
.form-hint .title { font-weight: 500; color: rgba(74, 47, 37, 0.8); margin-bottom: 0.25rem; display: block; }

.password-wrap { position: relative; }
.password-toggle {
  position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: rgba(74, 47, 37, 0.5); padding: 0.25rem;
}
.password-toggle:hover { color: var(--fg); }

/* Tabs */
.tabs { margin-top: 0.5rem; }
.tabs-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.25rem; }
.tab {
  background: none; border: none; cursor: pointer;
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; color: rgba(74, 47, 37, 0.7);
  font-family: inherit; transition: all 0.2s ease;
}
.tab:hover { background: var(--secondary); }
.tab.active { background: var(--primary); color: white; }

/* ==========================================================================
   Blog post view (prose)
   ========================================================================== */
.blog-prose { line-height: 1.75; }
.blog-prose h1, .blog-prose h2, .blog-prose h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #5e3a2c; margin-top: 1.5em; margin-bottom: 0.5em; font-weight: 600;
}
.blog-prose h1 { font-size: 1.875rem; }
.blog-prose h2 { font-size: 1.5rem; }
.blog-prose h3 { font-size: 1.25rem; }
.blog-prose p { margin-bottom: 1em; color: var(--fg); }
.blog-prose a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 2px; }
.blog-prose ul, .blog-prose ol { margin: 1em 0; padding-left: 1.5em; }
.blog-prose ul { list-style: disc; }
.blog-prose ol { list-style: decimal; }
.blog-prose li { margin-bottom: 0.4em; }
.blog-prose blockquote {
  border-left: 3px solid var(--primary); padding: 0.5em 1em; margin: 1em 0;
  font-style: italic; color: rgba(74, 47, 37, 0.7);
  background: rgba(245, 230, 211, 0.5); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.blog-prose img { max-width: 100%; border-radius: var(--radius); margin: 1em 0; box-shadow: var(--shadow-lg); }
.blog-prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); margin: 1em 0; box-shadow: var(--shadow-lg); }
.blog-prose code { background: var(--secondary); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.9em; }
.blog-prose pre { background: #2d1f17; color: #fdf8f1; padding: 1em; border-radius: var(--radius-sm); overflow-x: auto; margin: 1em 0; }
.blog-prose pre code { background: transparent; padding: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  margin-top: auto;
  background: linear-gradient(to bottom, var(--bg), rgba(253, 242, 244, 0.4));
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 768px) { .footer-inner { flex-direction: row; } }
.footer-brand { text-align: center; }
@media (min-width: 768px) { .footer-brand { text-align: left; } }
.footer-brand-name {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Dancing Script', cursive; font-size: 1.5rem; color: var(--primary);
}
.footer-brand-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: rgba(201, 123, 138, 0.1); color: var(--primary);
}
.footer-brand p { font-size: 0.875rem; color: rgba(74, 47, 37, 0.55); margin-top: 0.5rem; max-width: 24rem; }

.footer-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem; }
.footer-nav button {
  background: none; border: none; cursor: pointer;
  font-size: 0.875rem; color: rgba(74, 47, 37, 0.65); font-family: inherit;
  transition: color 0.2s ease;
}
.footer-nav button:hover { color: var(--primary); }

.footer-top {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: none; border: none; cursor: pointer;
  font-size: 0.875rem; color: rgba(74, 47, 37, 0.65); font-family: inherit;
}
.footer-top:hover { color: var(--primary); }
.footer-top-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: rgba(201, 123, 138, 0.1); color: var(--primary);
  transition: all 0.3s ease;
}
.footer-top:hover .footer-top-icon { background: var(--primary); color: white; }

.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 0.75rem; font-size: 0.75rem; color: rgba(74, 47, 37, 0.5);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

/* ==========================================================================
   Toasts
   ========================================================================== */
.toast-container {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  display: flex; flex-direction: column; gap: 0.5rem;
  pointer-events: none;
}
.toast {
  background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid var(--primary);
  padding: 0.875rem 1.125rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); min-width: 16rem; max-width: 22rem;
  animation: toastIn 0.3s ease; pointer-events: auto;
}
.toast.error { border-left-color: #b91c1c; }
.toast.success { border-left-color: #10b981; }
.toast-title { font-weight: 600; color: var(--fg); font-size: 0.875rem; }
.toast-desc { color: rgba(74, 47, 37, 0.65); font-size: 0.8125rem; margin-top: 0.125rem; }
@keyframes toastIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(100%); } }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.page { display: flex; flex-direction: column; min-height: 100vh; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Mobile menu */
.mobile-menu-toggle { display: none; }
/* Defensive: ensure mobile menu never renders on desktop even if inline style lingers */
@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 767px) {
  .navbar-nav { display: none; }
  .navbar-right .desktop-login { display: none; }
  .mobile-menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer;
    padding: 0.5rem; border-radius: 999px; color: var(--fg);
  }
  .mobile-menu-toggle:hover { background: var(--secondary); }
  .mobile-menu {
    margin: 0.75rem 1rem 0; padding: 0.5rem;
    background: rgba(253, 248, 241, 0.95); backdrop-filter: blur(12px);
    border-radius: var(--radius); box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
  }
  .mobile-menu button {
    display: block; width: 100%; text-align: left;
    background: none; border: none; cursor: pointer;
    padding: 0.75rem 1rem; border-radius: var(--radius-sm);
    font-size: 0.875rem; font-weight: 500; color: var(--fg); font-family: inherit;
  }
  .mobile-menu button:hover { background: var(--secondary); }
  .mobile-menu button.active { background: rgba(201, 123, 138, 0.1); color: var(--primary); }
  .mobile-menu .mobile-login { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--border); }
}

/* Floating hearts */
.floating-hearts { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.heart {
  position: absolute; bottom: -2rem; user-select: none;
  animation: floatUp 14s linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

/* Animations */
.fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
