/* -------------------------------------------------------------
   ROTTERDAMSCHE AERO CLUB (1926 - 2026) · 100 JAAR JUBILEUM
   Digital Centenary Invitation & Guest Briefing Experience
-------------------------------------------------------------- */

@font-face {
  font-family: 'Playfair';
  src: url('assets/playfair.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/inter-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/inter-semibold.woff2') format('woff2');
  font-weight: 600 800;
  font-display: swap;
}

:root {
  --navy-deep: #081426;
  --navy-primary: #12283d;
  --navy-light: #1b3a57;
  --gold-pure: #d4af37;
  --gold-accent: #c49a45;
  --gold-light: #fdf3dc;
  --gold-muted: #8e6c2d;
  --cream-bg: #f9f6f0;
  --card-bg: #ffffff;
  --text-dark: #122333;
  --text-muted: #536474;
  --border-subtle: #e2d7c5;
  --border-gold: #c9a86a;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(8, 20, 38, 0.05);
  --shadow-md: 0 8px 24px rgba(8, 20, 38, 0.08);
  --shadow-lg: 0 16px 40px rgba(8, 20, 38, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 70px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--cream-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* =============================================================
   1. INVITATION ENVELOPE OVERLAY (OPENING ANIMATION)
============================================================= */
.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at center, #142a42 0%, #081322 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
  perspective: 1400px;
}

.envelope-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.envelope-overlay.hidden-overlay {
  display: none !important;
}

/* Ambient golden dust particles in background */
.envelope-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(212, 175, 55, 0.2) 1.5px, transparent 1.5px),
    radial-gradient(circle at 85% 15%, rgba(212, 175, 55, 0.25) 2px, transparent 2px),
    radial-gradient(circle at 45% 75%, rgba(212, 175, 55, 0.15) 1.5px, transparent 1.5px),
    radial-gradient(circle at 75% 85%, rgba(212, 175, 55, 0.2) 2px, transparent 2px);
  background-size: 220px 220px;
  opacity: 0.8;
  pointer-events: none;
}

.envelope-wrapper {
  position: relative;
  width: min(520px, 92vw);
  height: 330px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
  user-select: none;
}

@media (max-width: 480px) {
  .envelope-wrapper {
    height: 280px;
  }
}

.envelope-wrapper:hover {
  transform: translateY(-5px);
}

/* Base box */
.envelope-box {
  position: absolute;
  inset: 0;
  background: #0e2136;
  border-radius: 12px;
  border: 2px solid var(--border-gold);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.25);
  overflow: hidden;
  z-index: 2;
}

.envelope-wrapper.flap-opened .envelope-box {
  overflow: visible;
}

/* The card inside that rises */
.inner-letter {
  position: absolute;
  top: 8px;
  left: 12px;
  right: 12px;
  height: 310px;
  background: #fdfbf7;
  border-radius: 10px;
  border: 1px solid var(--border-gold);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.inner-card-frame {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 6px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #ffffff 60%, #faf6ee 100%);
}

@media (max-width: 480px) {
  .inner-letter {
    height: 260px;
    padding: 10px;
  }
  .inner-card-frame {
    padding: 12px 8px;
  }
}

.envelope-wrapper.card-rising .inner-letter {
  transform: translateY(-165px);
}

.inner-logo {
  height: 48px;
  max-width: 230px;
  width: auto;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 4px rgba(10, 28, 56, 0.15));
}

.inner-divider {
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
  margin-bottom: 6px;
}

.inner-eyebrow {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #9a7322;
  font-weight: 700;
  margin-bottom: 4px;
}

.inner-title {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.2;
  margin-bottom: 5px;
}

.inner-date {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #b8861e;
  margin-bottom: 4px;
}

.inner-sub {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: #64748b;
}

/* Pocket Flaps (Left, Right, Bottom) covering the card completely */
.pocket-left {
  position: absolute;
  inset: 0;
  z-index: 3;
  clip-path: polygon(0 0, 50% 50%, 0 100%);
  background: linear-gradient(135deg, #10243a 0%, #0a1828 100%);
  border-right: 1px solid rgba(212, 175, 55, 0.25);
}

.pocket-right {
  position: absolute;
  inset: 0;
  z-index: 3;
  clip-path: polygon(100% 0, 50% 50%, 100% 100%);
  background: linear-gradient(225deg, #10243a 0%, #0a1828 100%);
  border-left: 1px solid rgba(212, 175, 55, 0.25);
}

.pocket-bottom {
  position: absolute;
  inset: 0;
  z-index: 4;
  clip-path: polygon(0 100%, 50% 48%, 100% 100%);
  background: linear-gradient(180deg, #132a44 0%, #0c1c2e 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
}

/* 3D Top Flap pointing down when closed */
.pocket-top-flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 58%;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(180deg, #183350 0%, #11263d 100%);
  border-bottom: 2px solid var(--border-gold);
  transform-origin: top center;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
}

.envelope-wrapper.flap-opened .pocket-top-flap {
  transform: rotateX(180deg);
  z-index: 0;
}

/* Centered Golden Wax Seal / Medallion with RAC Wings */
.envelope-seal-btn {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.seal-graphic {
  width: 172px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.55));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

@media (max-width: 480px) {
  .seal-graphic {
    width: 136px;
  }
}

.envelope-wrapper:hover .seal-graphic {
  transform: scale(1.04);
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.65));
}

.envelope-wrapper.flap-opened .envelope-seal-btn {
  transform: translate(-50%, -120%) scale(0.6);
  opacity: 0;
  pointer-events: none;
}

/* Prompt button under envelope */
.envelope-prompt {
  margin-top: 32px;
  text-align: center;
  z-index: 10;
}

.open-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  background: linear-gradient(135deg, #ecd18a 0%, #b88d3e 100%);
  color: #0b1828;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 1px solid #ffecb8;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
}

.open-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.65);
  background: linear-gradient(135deg, #f7dfa0 0%, #c89e4e 100%);
}

.skip-link {
  display: block;
  margin-top: 14px;
  background: transparent;
  border: none;
  color: rgba(255, 245, 225, 0.7);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s;
  width: 100%;
}

.skip-link:hover {
  color: #ffffff;
}

/* =============================================================
   2. STICKY TOP NAVBAR
============================================================= */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(14, 28, 44, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
}

.top-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .top-nav-inner {
    padding: 8px 14px;
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff9ed;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  height: 30px;
  width: auto;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}

.nav-brand-text {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #fce6ba;
  display: flex;
  flex-direction: column;
}

.nav-brand-text small {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 1.2px;
  color: #c9b38c;
  text-transform: uppercase;
}

.desktop-nav {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
}

.nav-links a {
  color: #e5d8c3;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 4px 0;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-nav-gold {
  background: var(--gold-accent);
  color: #0b1828;
}

.btn-nav-gold:hover {
  background: #deb664;
}

.btn-nav-outline {
  border: 1px solid var(--border-gold);
  color: #f7ebd4;
}

.btn-nav-outline:hover {
  background: rgba(212, 175, 55, 0.15);
}

.btn-replay {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #d8c39d;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-replay:hover {
  border-color: var(--gold-pure);
  color: #ffffff;
}

/* Mobile Hamburger Toggle Button */
.btn-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  padding: 8px 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-menu-toggle:hover,
.btn-menu-toggle:focus {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-accent);
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: #f2e2be;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  display: block;
}

.btn-menu-toggle.is-open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.btn-menu-toggle.is-open .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.btn-menu-toggle.is-open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .btn-menu-toggle {
    display: flex;
  }
  .btn-replay {
    display: none;
  }
}

@media (max-width: 580px) {
  .nav-actions .btn-nav-outline {
    display: none;
  }
}

@media (max-width: 440px) {
  .nav-actions .btn-nav-gold {
    display: none;
  }
  .nav-brand-text small {
    display: none;
  }
}

/* Mobile Slide-out Drawer */
.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 22, 36, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--gold-accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  padding: 14px 16px 20px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
}

.mobile-drawer.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 8px;
  color: #fff9ed;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-accent);
  color: #ffffff;
}

.mobile-nav-link span {
  font-size: 1.1rem;
  display: inline-block;
  width: 22px;
  text-align: center;
}

.mobile-reserve-highlight {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(18, 40, 61, 0.7));
  border: 1px solid var(--gold-accent);
  color: #ffd983;
  font-weight: 600;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.btn-mobile-act {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
}

.btn-mobile-gold {
  background: var(--gold-accent);
  color: #0b1828;
}

.btn-mobile-gold:hover {
  background: #deb664;
}

.btn-mobile-outline {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: #f7ebd4;
}

.btn-mobile-outline:hover {
  background: rgba(212, 175, 55, 0.12);
}

.btn-mobile-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d8c39d;
}

/* =============================================================
   3. MAIN INVITATION CONTAINER
============================================================= */
.main-wrapper {
  max-width: 860px;
  margin: 28px auto 60px;
  padding: 0 16px;
}

.invitation-sheet {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

/* Golden header masthead with official logo */
.sheet-masthead {
  background: var(--navy-primary);
  color: #e5cc9b;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 3px solid var(--gold-accent);
}

.masthead-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.masthead-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}

.masthead-dates {
  color: #dfc18b;
  font-weight: 600;
  font-size: 0.76rem;
}

/* Wide Hero Banner matching official centenary visual */
.sheet-hero-banner {
  position: relative;
  height: 350px;
  overflow: hidden;
  background: #d8d8d1;
}

.hero-art-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 88%;
}

.hero-art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(246, 232, 206, 0.94) 0%, rgba(246, 232, 206, 0.68) 28%, transparent 56%);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  top: 32px;
  left: 36px;
  z-index: 2;
  color: #112b42;
}

.hero-eyebrow {
  color: #57462e;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-title {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 1px;
  color: #112b42;
  margin-bottom: 14px;
}

.hero-years {
  font-size: 1.15rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: #1c3d5a;
}

/* Centenary Event Strip matching user visual */
.event-strip {
  background: #142c42;
  color: #fffaf0;
  border-bottom: 3px solid #b79960;
  padding: 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.strip-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  padding-bottom: 6px;
}

.strip-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.strip-label {
  color: #d0b987;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
}

.strip-value {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .sheet-masthead {
    padding: 12px 16px;
    font-size: 0.7rem;
  }
  .masthead-logo {
    height: 22px;
  }
  .sheet-hero-banner {
    height: 250px;
  }
  .hero-copy {
    top: 18px;
    left: 20px;
  }
  .hero-eyebrow {
    font-size: 0.68rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-years {
    font-size: 0.95rem;
  }
  .event-strip {
    padding: 14px 18px;
    gap: 8px;
  }
  .strip-label {
    font-size: 0.72rem;
  }
  .strip-value {
    font-size: 1rem;
  }
}

/* Quick Action Toolbar */
.action-toolbar {
  background: #f4eee2;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  background: #ffffff;
  color: var(--navy-primary);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

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

/* =============================================================
   4. CONTENT BLOCKS
============================================================= */
.content-body {
  padding: 36px 36px;
}

@media (max-width: 600px) {
  .content-body {
    padding: 24px 18px;
  }
}

/* Welcome Letter */
.intro-block {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--navy-primary);
  margin-bottom: 32px;
}

.intro-block p {
  margin-bottom: 14px;
}

/* SPECIAL HIGHLIGHT: Commissaris van de Koning */
.cdk-highlight-card {
  background: linear-gradient(135deg, #faf5ea 0%, #f4ebd8 100%);
  border: 1px solid var(--border-gold);
  border-left: 5px solid var(--gold-accent);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 28px 0 36px;
  box-shadow: 0 4px 18px rgba(196, 154, 69, 0.12);
  position: relative;
  overflow: hidden;
}

.cdk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--navy-primary);
  color: #f9ecc9;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cdk-highlight-card h3 {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.cdk-highlight-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-dark);
}

/* Section Dividers & Headers */
.section-header {
  margin: 36px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-muted);
  display: block;
  margin-bottom: 4px;
}

.section-title {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1.2;
}

/* Info Cards & Callouts */
.info-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.info-card:hover {
  box-shadow: var(--shadow-md);
}

.info-card-cream {
  background: #faf6ee;
  border-color: #ded1b8;
}

.info-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-kmar {
  display: inline-block;
  background: #fdf3dc;
  color: #8c6a28;
  border: 1px solid #d8be86;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

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

@media (max-width: 680px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Program Timeline */
.program-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #dfd5c4;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 20px 0 30px;
}

.program-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid #e9e0cf;
  background: #ffffff;
  align-items: baseline;
}

@media (max-width: 540px) {
  .program-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 18px;
  }
}

.program-row:nth-child(even) {
  background: #faf6ee;
}

.program-time {
  display: inline-block;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 5px 10px;
  background: #ede3d1;
  color: var(--navy-primary);
  border-radius: 4px;
  white-space: nowrap;
}

.program-content h4 {
  font-size: 1.1rem;
  color: var(--navy-primary);
  margin-bottom: 5px;
  font-weight: 700;
}

.program-content p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dark);
}

/* Feature Fly-By Highlight Row */
.program-row.highlight-flyby {
  background: var(--navy-primary);
  color: #fff9ed;
  border-top: 2px solid var(--gold-accent);
  border-bottom: 2px solid var(--gold-accent);
}

.program-row.highlight-flyby .program-time {
  background: var(--gold-accent);
  color: #0b1828;
}

.program-row.highlight-flyby .program-content h4 {
  color: #f7e3b8;
  font-size: 1.15rem;
}

.program-row.highlight-flyby .program-content p {
  color: #fff6e8;
}

/* Mindervaliden Alert Box */
.accessibility-box {
  background: #f5f8fc;
  border: 1px solid #c7d8ed;
  border-left: 4px solid #1d4ed8;
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.accessibility-box h4 {
  color: #1e40af;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.email-btn {
  display: inline-block;
  margin-top: 10px;
  color: #1e40af;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Modal Trigger Button */
.btn-reserve-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
  color: #ffffff;
  border: 1px solid #1d4ed8;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.28);
  transition: all 0.25s ease;
}

.btn-reserve-trigger:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.38);
}

.btn-reserve-trigger span {
  font-size: 1.15rem;
}

.urgent-help-text {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 10px;
  text-align: center;
  line-height: 1.4;
}

.urgent-help-text a {
  color: #64748b;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.urgent-help-text a:hover {
  color: var(--navy-deep);
}

/* =============================================================
   MODAL DIALOG · MINDERVALIDEN RESERVERING
============================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 28, 56, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  padding: 32px 32px 28px;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.is-active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
  color: var(--navy-deep);
  background: #f1f5f9;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.modal-badge-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: #eff6ff;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid #bfdbfe;
}

.modal-title {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.25;
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 500;
}

.modal-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.form-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 16px;
  line-height: 1.45;
}

.form-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

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

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }
  .modal-card {
    padding: 24px 20px 22px;
  }
}

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

.form-group label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
}

.form-group label .req {
  color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  color: #1e293b;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.form-group input.plate-input {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1.5px;
  font-family: 'SF Mono', Consolas, Monaco, monospace;
}

.form-group textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.btn-cancel {
  padding: 10px 18px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.btn-submit {
  padding: 11px 24px;
  background: linear-gradient(135deg, var(--navy-deep), #15325c);
  color: #ffffff;
  border: 1px solid var(--gold-accent);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(10, 28, 56, 0.25);
  transition: all 0.2s ease;
}

.btn-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #15325c, #1f4782);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Modal Success State */
.modal-success {
  text-align: center;
  padding: 20px 10px 10px;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
  border: 2px solid #86efac;
}

.modal-success h3 {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.modal-success p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

.plate-badge {
  display: inline-block;
  background: #ffcc00;
  color: #111111;
  padding: 2px 10px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 800;
  letter-spacing: 1px;
  border: 1.5px solid #111111;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.success-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 18px 0;
  text-align: left;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
}

.success-hint {
  font-size: 0.82rem;
  color: #64748b;
}

/* =============================================================
   5. FOOTER
============================================================= */
.invitation-footer {
  background: var(--navy-deep);
  color: #fff9ee;
  padding: 36px 28px;
  text-align: center;
  border-top: 3px solid var(--gold-accent);
}

.footer-logo {
  height: 48px;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.footer-title {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e5cc9b;
  margin-bottom: 10px;
}

.footer-meta {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #d8c7ad;
  max-width: 520px;
  margin: 0 auto 16px;
}

.footer-meta a {
  color: #fff9ee;
  text-decoration: underline;
}

.footer-urgent {
  font-size: 0.72rem;
  color: #94a3b8;
  display: inline-block;
  margin-top: 6px;
}

.footer-urgent a {
  color: #cbd5e1;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.footer-urgent a:hover {
  color: #ffffff;
}

.footer-copyright {
  font-size: 0.76rem;
  color: #8c9fae;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding-top: 16px;
  margin-top: 20px;
}

/* Print Overrides */
@media print {
  .envelope-overlay, .top-nav, .action-toolbar, .btn-replay {
    display: none !important;
  }
  .main-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
  .invitation-sheet {
    box-shadow: none;
    border: none;
  }
}
