/* ============================================================
   A Taste of Home — Main Stylesheet
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --red: #7A5C2E;
  --deep-red: #4A3518;
  --gold: #C4A35A;
  --warm-cream: #B5A882;
  --dark: #2C2210;
  --charcoal: #3D3020;
  --green: #6B7A4A;
  --light-green: #9AAA72;
  --text-muted: #5C4E30;
  --border: rgba(90,68,32,0.25);

  /* Extended palette from menu image */
  --olive: #B5A882;
  --olive-light: #CFC8A8;
  --olive-dark: #8A7D5A;
  --olive-darker: #5C5035;
  --parchment: #EDE8D8;
  --ink: #2C2210;
  --accent: #C4A35A;
  --accent-muted: rgba(196,163,90,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--olive);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── Decorative SVG patterns ── */
.lotus-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23D4A843' stroke-width='0.4' opacity='0.18'%3E%3Cellipse cx='30' cy='30' rx='8' ry='14' transform='rotate(0 30 30)'/%3E%3Cellipse cx='30' cy='30' rx='8' ry='14' transform='rotate(45 30 30)'/%3E%3Cellipse cx='30' cy='30' rx='8' ry='14' transform='rotate(90 30 30)'/%3E%3Cellipse cx='30' cy='30' rx='8' ry='14' transform='rotate(135 30 30)'/%3E%3Ccircle cx='30' cy='30' r='4' fill='%23D4A843' opacity='0.3'/%3E%3C/g%3E%3C/svg%3E");
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--olive-darker);
  color: var(--parchment);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 9999;
  border-top: 2px solid var(--accent);
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.cookie-banner p { flex: 1; min-width: 200px; }
.cookie-banner p strong { color: var(--gold); }
.cookie-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-btn {
  padding: 0.5rem 1.2rem;
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s;
}
.cookie-btn.accept { background: var(--accent); color: var(--ink); }
.cookie-btn:hover { opacity: 0.8; }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(44,34,16,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(196,163,90,0.2);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo .lotus-icon {
  width: 32px; height: 32px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--parchment);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
  font-family: 'Jost', sans-serif;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { right: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--warm-cream);
  transition: all 0.3s;
}

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--olive-darker);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--parchment);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .close-btn {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 2rem;
  color: var(--gold);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: var(--olive-darker);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(196,163,90,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(107,122,74,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(181,168,130,0.12) 0%, transparent 60%);
}

/* Lantern decorations */
.lanterns {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  pointer-events: none;
  overflow: hidden;
}
.lantern {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: sway 4s ease-in-out infinite;
}
.lantern:nth-child(2) { animation-delay: -1.2s; }
.lantern:nth-child(3) { animation-delay: -2.4s; }
.lantern:nth-child(4) { animation-delay: -0.6s; }
.lantern:nth-child(5) { animation-delay: -1.8s; }
@keyframes sway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
.lantern-string {
  width: 1px;
  height: 30px;
  background: rgba(212,168,67,0.5);
}
.lantern-body {
  width: 22px;
  height: 32px;
  background: linear-gradient(135deg, #C8392B, #8B1A10);
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  position: relative;
  box-shadow: 0 0 12px rgba(200,57,43,0.6), inset 0 0 6px rgba(255,200,100,0.3);
}
.lantern-body::before {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 4px;
  background: var(--gold);
  border-radius: 2px;
}
.lantern-body::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 8px;
  background: var(--gold);
}

/* Bamboo decorations */
.bamboo-left, .bamboo-right {
  position: absolute;
  bottom: 0;
  width: 60px;
  height: 60%;
  pointer-events: none;
  opacity: 0.15;
}
.bamboo-left { left: 3%; }
.bamboo-right { right: 3%; transform: scaleX(-1); }

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease both;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '✦';
  margin: 0 0.75em;
  opacity: 0.6;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 600;
  line-height: 1.0;
  color: var(--parchment);
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero-title .highlight {
  color: var(--accent);
  font-style: italic;
}
.hero-title .accent-line {
  display: block;
  color: var(--olive-light);
}

.hero-divider {
  margin: 2rem auto;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s 0.25s ease both;
}
.hero-divider::before {
  content: '❧';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent);
  font-size: 1rem;
  background: var(--olive-darker);
  padding: 0 0.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(237,232,216,0.8);
  max-width: 560px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s 0.35s ease both;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.hero-cta {
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s 0.5s ease both;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--olive-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary span { position: relative; z-index: 1; }

/* ── Keyframe Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes sway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

/* ── Shared Section Styles ── */
section { padding: 6rem 2rem; }

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
}
.section-label::before, .section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 60px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-body {
  color: var(--olive-darker);
  line-height: 1.75;
  max-width: 560px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* ── Ticker / Chili Band ── */
.chili-band {
  background: var(--olive-darker);
  padding: 1.2rem 2rem;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.chili-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink), var(--olive-darker), var(--ink));
  opacity: 0.4;
}
.chili-ticker {
  display: inline-flex;
  gap: 3rem;
  animation: ticker 20s linear infinite;
  position: relative;
  z-index: 1;
}
.chili-ticker span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(237,232,216,0.85);
  font-family: 'Jost', sans-serif;
}
.chili-ticker span::before { content: '✦  '; color: var(--accent); }

/* ── Category Cards ── */
.cards-section {
  background: var(--olive-darker);
  padding: 5rem 2rem;
}
.cards-section .section-title { color: var(--parchment); }
.cards-section .section-body { color: rgba(237,232,216,0.65); }
.cards-section .section-label { justify-content: center; }

.cards-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.cards-intro .section-body { margin: 0 auto; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--border);
}

.card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--charcoal);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.card-img {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}
.card:hover .card-img { transform: scale(1.08); }

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,16,8,0.92) 0%, rgba(28,16,8,0.2) 60%, transparent 100%);
  transition: opacity 0.4s;
}
.card:hover .card-overlay {
  background: linear-gradient(to top, rgba(28,16,8,0.98) 0%, rgba(28,16,8,0.5) 70%, rgba(28,16,8,0.1) 100%);
}

.card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem 1.8rem;
}
.card-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease 0.05s;
}
.card:hover .card-label { opacity: 1; transform: translateY(0); }

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--parchment);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.82rem;
  color: rgba(250,243,232,0.65);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s;
  opacity: 0;
}
.card:hover .card-desc { max-height: 100px; opacity: 1; }

.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.4s ease 0.1s;
}
.card-arrow::after { content: '→'; font-size: 1rem; }
.card:hover .card-arrow { opacity: 1; transform: translateX(0); }

/* Card background illustrations (CSS only) */
.card-heritage .card-img {
  background: linear-gradient(135deg, #4A3518 0%, #2C2210 40%, #1A1508 100%);
}
.card-heritage .card-img::before {
  content: '🌶';
  position: absolute;
  font-size: 8rem;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%) rotate(-15deg);
  opacity: 0.25;
  filter: grayscale(0.3);
}

.card-food .card-img {
  background: linear-gradient(135deg, #4A4A2A 0%, #2E2E1A 40%, #1A1A0D 100%);
}
.card-food .card-img::before {
  content: '🍜';
  position: absolute;
  font-size: 8rem;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  opacity: 0.28;
}

.card-people .card-img {
  background: linear-gradient(135deg, #5C4A20 0%, #3A2E10 40%, #201A06 100%);
}
.card-people .card-img::before {
  content: '🏮';
  position: absolute;
  font-size: 8rem;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  opacity: 0.28;
}

.card-restaurants .card-img {
  background: linear-gradient(135deg, #3A3520 0%, #20200D 40%, #101006 100%);
}
.card-restaurants .card-img::before {
  content: '🏯';
  position: absolute;
  font-size: 8rem;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  opacity: 0.22;
}

.card-world .card-img {
  background: linear-gradient(135deg, #3A4A20 0%, #202E0A 40%, #101804 100%);
}
.card-world .card-img::before {
  content: '🌿';
  position: absolute;
  font-size: 8rem;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  opacity: 0.28;
}

/* ── Welcome Section ── */
.welcome-section {
  background: var(--olive-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.welcome-visual {
  position: relative;
  height: 420px;
}

.welcome-frame {
  position: absolute;
  border: 2px solid var(--gold);
}
.welcome-frame-1 {
  inset: 0 30px 30px 0;
  background: linear-gradient(135deg, #5C5035, #8A7D5A, #3D3020);
  overflow: hidden;
}
.welcome-frame-1::before {
  content: '🌶️';
  font-size: 12rem;
  position: absolute;
  bottom: -1rem; right: -1rem;
  opacity: 0.2;
  transform: rotate(20deg);
}
.welcome-frame-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(212,168,67,0.05) 10px,
    rgba(212,168,67,0.05) 20px
  );
}
.welcome-frame-2 {
  bottom: 0; right: 0;
  width: 60%;
  height: 55%;
  background: var(--olive-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
}
.welcome-frame-2 .stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 600;
  line-height: 1;
}
.welcome-frame-2 .stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,243,232,0.6);
  text-align: center;
}

.welcome-text .section-title span {
  color: var(--olive-darker);
  display: block;
  font-style: italic;
}

.welcome-quote {
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: rgba(196,163,90,0.1);
}
.welcome-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--olive-darker);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Philosophy Section ── */
.philosophy-section {
  background: var(--olive-dark);
  padding: 6rem 2rem;
  position: relative;
}
.philosophy-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='1' fill='%23D4A843' opacity='0.15'/%3E%3C/svg%3E");
}

.philosophy-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 4rem;
  background: var(--border);
}
.phil-card {
  background: rgba(44,34,16,0.92);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: background 0.3s;
}
.phil-card:hover { background: rgba(61,48,32,0.95); }
.phil-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  display: block;
  filter: drop-shadow(0 0 8px rgba(212,168,67,0.3));
}
.phil-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--parchment);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}
.phil-body {
  font-size: 0.85rem;
  color: rgba(237,232,216,0.6);
  line-height: 1.7;
  letter-spacing: 0.03em;
}
.phil-divider {
  width: 30px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 0;
  opacity: 0.5;
}

/* ── Footer ── */
footer {
  background: #1A1508;
  border-top: 1px solid rgba(196,163,90,0.2);
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.footer-brand .brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--accent);
}
.footer-brand p {
  font-size: 0.82rem;
  color: var(--olive-dark);
  margin-top: 0.4rem;
  max-width: 220px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}
.footer-links h4 {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: var(--olive-dark);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
  letter-spacing: 0.04em;
}
.footer-links a:hover { color: var(--parchment); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(120,96,64,0.7);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.75rem;
  color: rgba(120,96,64,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold); }

/* ── Scroll to Top ── */
.scroll-top {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--accent);
  color: var(--ink);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  clip-path: polygon(50% 0%, 100% 50%, 85% 50%, 85% 100%, 15% 100%, 15% 50%, 0% 50%);
  z-index: 998;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }

/* ── Popup Overlay ── */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28,16,8,0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(4px);
}
.popup-overlay.open { display: flex; }
.popup-box {
  background: var(--parchment);
  max-width: 460px;
  width: 100%;
  padding: 3rem 2.5rem;
  position: relative;
  border-top: 4px solid var(--accent);
}
.popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}
.popup-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin-bottom: 0.75rem;
}
.popup-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.1;
  color: var(--ink);
}
.popup-body {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.popup-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.popup-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(90,80,53,0.2);
  transition: color 0.2s;
  letter-spacing: 0.06em;
}
.popup-nav a:hover { color: var(--olive-dark); }
.popup-nav a::after { content: '→'; color: var(--gold); }
.popup-links {
  display: flex;
  gap: 1.5rem;
}
.popup-links a {
  font-size: 0.75rem;
  color: var(--olive-darker);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.05em;
}
.popup-links a:hover { color: var(--olive-dark); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .welcome-inner { grid-template-columns: 1fr; }
  .welcome-visual { display: none; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .lanterns .lantern:nth-child(n+4) { display: none; }
}
@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
}
