:root {
  --bg-dark: #090806;
  --bg-dark-alt: #12100d;
  --bg-card: rgba(22, 19, 15, 0.88);
  --bg-card-light: rgba(36, 31, 24, 0.75);
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-gold-bright: rgba(245, 175, 55, 0.6);
  
  --gold-primary: #e6c265;
  --gold-light: #f7e6a6;
  --amber-warmth: #f5af37;
  --wine-accent: #8b2b3e;
  --wine-dark: #3a1219;
  
  --text-main: #f9f6ef;
  --text-muted: #d6ccb8;
  --text-soft: #a89d89;
  
  --serif-display: 'Cormorant Garamond', 'Libre Caslon Display', serif;
  --serif-body: 'Literata', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--serif-body);
  color: var(--text-main);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(245, 175, 55, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 100% 50%, rgba(139, 43, 62, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

a {
  color: var(--gold-primary);
  transition: all 0.25s ease;
}

p {
  line-height: 1.8;
  color: var(--text-muted);
}

/* Canvas Fixed Background */
.ember-canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

/* Subtle ambient grain texture */
.paper-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Focus states */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber-warmth);
  outline-offset: 3px;
  box-shadow: 0 0 12px rgba(245, 175, 55, 0.4);
}

/* Eyebrows */
.eyebrow {
  font-family: var(--serif-display);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
  margin: 0 0 18px 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before, .eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary));
}
.eyebrow::after {
  background: linear-gradient(90deg, var(--gold-primary), transparent);
}

/* ANNIVERSARY BAR */
.anniversary-bar {
  background: linear-gradient(90deg, var(--wine-dark), var(--wine-accent), var(--wine-dark));
  color: var(--gold-light);
  text-align: center;
  padding: 12px 6vw;
  font-size: 0.95rem;
  font-style: italic;
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.anniversary-bar[hidden] { display: none; }

/* SITE NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 6vw;
  background: rgba(9, 8, 6, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  margin: 0;
}

.nav-name {
  font-family: var(--serif-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.nav-links a:not(.lang-link):hover {
  color: var(--gold-primary);
}

.lang-link {
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 4px 10px !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.08em;
  background: rgba(245, 175, 55, 0.05);
}

.lang-link:hover {
  background: rgba(245, 175, 55, 0.18);
  border-color: var(--amber-warmth);
  color: var(--gold-light) !important;
}

/* HERO SECTION - NO TOP GAP */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 6vw 60px 6vw;
  margin: 0;
  text-align: center;
  background: radial-gradient(circle at 50% 35%, rgba(245, 175, 55, 0.14) 0%, rgba(9, 8, 6, 0.98) 75%);
}

.hero-content {
  position: relative;
  max-width: 680px;
  z-index: 2;
  margin-top: 0;
}

.portrait {
  margin: 0 auto 24px auto;
  width: 150px;
  position: relative;
}

.portrait-frame {
  width: 145px;
  height: 175px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-gold-bright);
  box-shadow: 
    0 0 35px rgba(245, 175, 55, 0.25),
    0 18px 40px rgba(0, 0, 0, 0.8);
  animation: portrait-halo 6s ease-in-out infinite alternate;
}

@keyframes portrait-halo {
  0% {
    box-shadow: 0 0 25px rgba(245, 175, 55, 0.18), 0 18px 40px rgba(0, 0, 0, 0.8);
    border-color: rgba(212, 175, 55, 0.35);
  }
  100% {
    box-shadow: 0 0 45px rgba(245, 175, 55, 0.35), 0 22px 50px rgba(0, 0, 0, 0.9);
    border-color: var(--amber-warmth);
  }
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(0.2) contrast(1.05) brightness(0.96);
  transition: transform 0.6s ease;
}

.portrait:hover img {
  transform: scale(1.03);
}

.portrait-caption {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-soft);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  line-height: 1.06;
  margin: 0 0 14px 0;
  color: var(--text-main);
  background: linear-gradient(180deg, #ffffff 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dates {
  font-family: var(--serif-display);
  font-size: 1.25rem;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--amber-warmth);
  margin: 0 0 24px 0;
}

.hero-line {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 30px auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--serif-display);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.hero-btn-gold {
  background: linear-gradient(135deg, var(--gold-primary), var(--amber-warmth));
  color: #090806;
  border: none;
  box-shadow: 0 4px 18px rgba(245, 175, 55, 0.3);
}

.hero-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 175, 55, 0.5);
  color: #000000;
}

.hero-btn-amber {
  background: rgba(245, 175, 55, 0.12);
  color: var(--gold-light);
  border: 1px solid var(--border-gold-bright);
}

.hero-btn-amber:hover {
  background: rgba(245, 175, 55, 0.22);
  border-color: var(--amber-warmth);
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(245, 175, 55, 0.25);
}

.hero-btn-outline {
  background: rgba(22, 19, 15, 0.6);
  color: var(--text-muted);
  border: 1px solid var(--border-gold);
}

.hero-btn-outline:hover {
  background: rgba(36, 31, 24, 0.8);
  color: var(--gold-light);
  border-color: var(--amber-warmth);
  transform: translateY(-2px);
}

/* SECTIONS */
.section {
  padding: 80px 6vw;
  position: relative;
}

.section.light, .section.dark {
  background: transparent;
}

.mission {
  padding: 60px 6vw;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-alt) 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.mission-line {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--serif-display);
  font-size: 1.55rem;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.6;
}

.share-row {
  margin: 28px auto 0 auto;
  max-width: 600px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 18px;
}

.share-label {
  width: 100%;
  font-size: 0.88rem;
  color: var(--text-soft);
  font-style: italic;
  margin-bottom: 4px;
}

.share-row a {
  font-size: 0.92rem;
  color: var(--gold-primary);
  text-decoration: none;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.18);
  transition: all 0.25s ease;
}

.share-row a:hover {
  background: rgba(245, 175, 55, 0.15);
  border-color: var(--amber-warmth);
  color: var(--text-main);
  box-shadow: 0 0 12px rgba(245, 175, 55, 0.2);
}

/* STORY SECTION */
#story {
  max-width: 860px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--text-main);
  margin-bottom: 26px;
  line-height: 1.15;
}

.section-intro {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.story-body p {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* TIMELINE OF REMEMBRANCE */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 50px auto 30px auto;
  padding-left: 28px;
  border-left: 2px solid var(--border-gold);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber-warmth);
  border: 2px solid var(--bg-dark);
  box-shadow: 0 0 10px var(--amber-warmth);
}

.timeline-year {
  font-family: var(--serif-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--amber-warmth);
  margin-bottom: 4px;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 18px 22px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.timeline-content h3 {
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.timeline-content p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* LETTERS OF ARLÖV SECTION (.letters-grid) */
.letters-section {
  max-width: 900px;
  margin: 0 auto;
}

.letters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 36px 0;
}

.letter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-bright);
  border-radius: 12px;
  padding: 24px 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.letter-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber-warmth);
  box-shadow: 0 0 26px rgba(245, 175, 55, 0.25);
}

.letter-badge {
  font-family: var(--serif-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--amber-warmth);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.letter-excerpt {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.65;
  margin: 0 0 14px 0;
  border-left: 3px solid var(--amber-warmth);
  padding-left: 14px;
}

.letter-details {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.letter-note {
  font-size: 0.84rem;
  color: var(--text-soft);
  font-style: italic;
  border-top: 1px dashed rgba(212, 175, 55, 0.2);
  padding-top: 10px;
}

/* SOURCES SECTION */
.sources-section {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border-gold);
}

.sources-section h3 {
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.sources-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.sources-list li {
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.sources-list li:hover {
  border-color: var(--amber-warmth);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.sources-list a {
  text-decoration: none;
  font-weight: 500;
}

.sources-note {
  font-size: 0.92rem;
  color: var(--text-soft);
  font-style: italic;
}

/* AWARENESS SECTION */
#awareness {
  background: var(--bg-card-light);
  border-radius: 16px;
  border: 1px solid var(--border-gold);
  padding: 50px 6vw;
  max-width: 900px;
  margin: 50px auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.pull-figures {
  background: rgba(139, 43, 62, 0.2);
  border-left: 4px solid var(--wine-accent);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 28px 0;
}

.pull-line {
  margin: 0;
  font-size: 1.1rem;
  color: #ebd7be;
}

.pull-line strong {
  color: var(--amber-warmth);
}

.signs {
  margin-top: 36px;
}

.signs h3 {
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.signs ul {
  padding-left: 20px;
  margin: 0 0 20px 0;
}

.signs li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.signs-note {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-soft);
}

/* GLOBAL SOLIDARITY GRID (.map-section & .map-grid) */
.map-section {
  max-width: 920px;
  margin: 60px auto;
  text-align: center;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin: 36px 0 10px 0;
}

.map-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 20px 22px;
  backdrop-filter: blur(10px);
  text-align: left;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.map-card:hover {
  border-color: var(--amber-warmth);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(245, 175, 55, 0.2);
}

.map-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.country-code {
  font-family: var(--serif-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber-warmth);
  background: rgba(245, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: 0.08em;
}

.country-name {
  font-family: var(--serif-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.city-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--amber-warmth);
  margin-bottom: 4px;
}

.tribute-tag {
  font-size: 0.88rem;
  color: var(--text-soft);
  font-style: italic;
}

.node-pulse {
  width: 10px;
  height: 10px;
  background-color: var(--amber-warmth);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--amber-warmth);
  display: inline-block;
  animation: node-pulse-anim 2s infinite;
}

@keyframes node-pulse-anim {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* GET HELP SECTION (#help) */
#help {
  max-width: 900px;
  margin: 0 auto;
}

.help-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 32px 0 24px 0;
}

.help-row {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 20px 22px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.help-row:hover {
  border-color: var(--amber-warmth);
  box-shadow: 0 0 20px rgba(245, 175, 55, 0.2);
  transform: translateY(-2px);
}

.help-country {
  font-family: var(--serif-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--amber-warmth);
  letter-spacing: 0.02em;
}

.help-org {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.help-contact {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(245, 175, 55, 0.12);
  border: 1px solid rgba(245, 175, 55, 0.35);
  padding: 6px 12px;
  border-radius: 6px;
  margin-top: 6px;
  display: inline-block;
  width: fit-content;
}

.help-footnote {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-soft);
  margin-top: 16px;
}

/* WALL OF REMEMBRANCE & CANDLE FORM (#candles, #contact) */
.candles-section {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.candle-form {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-bright);
  border-radius: 16px;
  padding: 36px 5vw;
  max-width: 680px;
  margin: 40px auto 30px auto;
  box-shadow: 
    0 0 30px rgba(245, 175, 55, 0.12),
    0 16px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  text-align: left;
}

.tribute-picker {
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 16px 20px 20px 20px;
  margin: 0 0 26px 0;
  background: rgba(9, 8, 6, 0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-around;
}

.tribute-picker legend {
  font-family: var(--serif-display);
  font-size: 1.1rem;
  color: var(--gold-light);
  padding: 0 10px;
  font-style: italic;
}

.tribute-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(22, 19, 15, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.tribute-option input[type="radio"] {
  accent-color: var(--amber-warmth);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.tribute-option .icon-svg {
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px rgba(245, 175, 55, 0.4));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.tribute-option:has(input[type="radio"]:checked) {
  background: rgba(245, 175, 55, 0.18);
  border-color: var(--amber-warmth);
  color: var(--gold-light);
  box-shadow: 0 0 16px rgba(245, 175, 55, 0.35);
  transform: translateY(-1px);
}

.tribute-option:has(input[type="radio"]:checked) .icon-svg {
  transform: scale(1.18);
  filter: drop-shadow(0 0 8px rgba(245, 175, 55, 0.8));
}

.form-row {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
}

.form-row.honeypot {
  display: none !important;
}

.form-row label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-row label .optional {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-style: italic;
  font-weight: normal;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(9, 8, 6, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--serif-body);
  font-size: 1rem;
  transition: all 0.25s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--amber-warmth);
  background: rgba(9, 8, 6, 0.98);
  box-shadow: 0 0 14px rgba(245, 175, 55, 0.3);
  outline: none;
}

.candle-form button[type="submit"] {
  width: 100%;
  padding: 15px 28px;
  margin-top: 10px;
  background: linear-gradient(135deg, var(--gold-primary), var(--amber-warmth));
  border: none;
  border-radius: 8px;
  color: #090806;
  font-family: var(--serif-display);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(245, 175, 55, 0.35);
}

.candle-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(245, 175, 55, 0.5);
  filter: brightness(1.1);
}

.form-status {
  margin-top: 16px;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gold-light);
  text-align: center;
}

.privacy-note {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-style: italic;
  margin-top: 14px;
  text-align: center;
}

.wall-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 48px;
  margin-bottom: 12px;
}

.candle-flame-wrapper {
  display: inline-block;
  width: 32px;
  height: 48px;
  filter: drop-shadow(0 0 12px rgba(245, 175, 55, 0.7));
}

.candle-svg {
  width: 100%;
  height: 100%;
}

.flame-glow {
  fill: rgba(245, 175, 55, 0.35);
  animation: flame-pulse 2.5s ease-in-out infinite alternate;
  transform-origin: center bottom;
}

.flame-outer {
  fill: #f5af37;
  animation: flame-flicker-outer 1.8s ease-in-out infinite alternate;
  transform-origin: 12px 28px;
}

.flame-inner {
  fill: #ffffff;
  animation: flame-flicker-inner 1.2s ease-in-out infinite alternate;
  transform-origin: 12px 25px;
}

.candle-wick {
  stroke: #7a6e5d;
  stroke-width: 2;
}

@keyframes flame-pulse {
  0% { transform: scale(0.9); opacity: 0.4; }
  100% { transform: scale(1.18); opacity: 0.8; }
}

@keyframes flame-flicker-outer {
  0% { transform: scale(1) rotate(-2deg); fill: #f5af37; }
  25% { transform: scale(1.05) rotate(2deg); fill: #f7b731; }
  50% { transform: scale(0.95) rotate(-1deg); fill: #fa8231; }
  75% { transform: scale(1.08) rotate(3deg); fill: #f5af37; }
  100% { transform: scale(0.98) rotate(-2deg); fill: #f7b731; }
}

@keyframes flame-flicker-inner {
  0% { transform: scale(1) rotate(1deg); }
  50% { transform: scale(1.1) rotate(-2deg); }
  100% { transform: scale(0.9) rotate(1deg); }
}

.tribute-flower, .tribute-star {
  font-size: 2rem;
  filter: drop-shadow(0 0 10px rgba(245, 175, 55, 0.5));
}

.candle-field {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.candle {
  background: #fdfaf5;
  border: 1px solid #e2d9c6;
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  position: relative;
}

.candle::before {
  display: none;
}

.candle:hover {
  transform: translateY(-3px);
  border-color: #d1c1a3;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.candle-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-bottom: 12px;
  border-bottom: 1px solid #efe8da;
  padding-bottom: 12px;
  width: 100%;
}

.candle-header .wall-icon {
  margin-right: 16px;
  margin-bottom: 0;
  height: auto;
  display: flex;
  align-items: center;
}

.candle-meta {
  text-align: left;
  flex: 1;
}

.candle-name {
  font-family: var(--serif-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #3b2c1c;
  display: block;
}

.candle-relation {
  font-family: var(--serif-body);
  font-size: 0.85rem;
  font-style: italic;
  color: #7a6e5a;
  display: block;
  margin-top: 2px;
}

.candle-msg {
  font-family: var(--serif-body);
  font-size: 1.05rem;
  color: #383025;
  font-style: italic;
  line-height: 1.6;
  text-align: left;
  padding: 0;
}

.tribute-count {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 30px;
}

.contact-section {
  max-width: 940px;
  margin: 0 auto;
}

/* MUSIC TOGGLE BUTTON */
.music-toggle-btn {
  background: rgba(245, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  color: var(--gold-light);
  font-family: var(--serif-body);
  font-size: 0.85rem;
  padding: 5px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.music-toggle-btn:hover {
  background: rgba(245, 175, 55, 0.2);
  border-color: var(--amber-warmth);
  box-shadow: 0 0 12px rgba(245, 175, 55, 0.3);
}

.music-toggle-btn.playing {
  background: rgba(245, 175, 55, 0.25);
  border-color: var(--amber-warmth);
  color: var(--gold-light);
  box-shadow: 0 0 16px rgba(245, 175, 55, 0.4);
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 60px 6vw 40px 6vw;
  border-top: 1px solid var(--border-gold);
  color: var(--text-soft);
  font-size: 0.9rem;
  background: var(--bg-dark);
}

.footer-small {
  margin-top: 10px;
  font-style: italic;
}

/* ORNAMENTAL DIVIDERS */
.ornamental-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 600px;
  margin: 50px auto;
  opacity: 0.7;
}

.ornamental-divider::before,
.ornamental-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold-bright), transparent);
}

.diamond-badge {
  width: 8px;
  height: 8px;
  background: var(--amber-warmth);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--amber-warmth);
}

/* MEMORIAL QUOTE CARD */
.memorial-quote-card {
  max-width: 740px;
  margin: 40px auto 10px auto;
  padding: 30px 36px;
  background: rgba(22, 19, 15, 0.92);
  border: 1px solid var(--border-gold-bright);
  border-radius: 14px;
  box-shadow: 
    0 0 30px rgba(245, 175, 55, 0.12),
    0 12px 35px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  text-align: center;
  position: relative;
}

.memorial-quote-text {
  font-family: var(--serif-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.65;
  margin: 0 0 12px 0;
}

.memorial-quote-author {
  font-size: 0.88rem;
  color: var(--text-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .site-nav {
    padding: 14px 4vw;
  }
  .nav-links a {
    margin-left: 8px;
    font-size: 0.85rem;
  }
  .section {
    padding: 50px 5vw;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .candle-field, .map-grid, .letters-grid {
    grid-template-columns: 1fr;
  }
  .tribute-picker {
    flex-direction: column;
  }
}
