/*
  Design rationale: Deep space midnight mirrors Moon Coffee's after-dark identity — the first café built to face the STAR Tollway at night. Moonlight silver speaks to the celestial brand name; bonfire amber channels the outdoor warmth of glamping evenings in Batangas.
  Heading: Cardo — classical literary serif evoking "where conversations orbit around coffee"; timeless, nocturnal, intimate.
  Body: Poppins — clean geometric humanist sans; young, approachable, readable under night-sky ambiance.
*/

/* Google Fonts loaded via <link> in HTML */

/* 1. Reset & Custom Properties */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --dark:        #060912;
  --bg-alt:      #0C1022;
  --accent:      #AFC8D8;
  --highlight:   #E8A03C;
  --cream:       #F3EFE8;
  --cream-dim:   rgba(243, 239, 232, 0.65);
  --accent-dim:  rgba(175, 200, 216, 0.14);
  --border:      rgba(175, 200, 216, 0.22);
  --ff-display:  'Cardo', Georgia, serif;
  --ff-body:     'Poppins', sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--dark);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* 2. Typography */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 0.95rem; color: var(--cream-dim); line-height: 1.75; }
.label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.section-tag {
  display: inline-block; padding: 0.25rem 0.9rem;
  background: var(--accent-dim); border: 1px solid var(--border);
  border-radius: 100px; font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}

/* 3. Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 6px; font-family: var(--ff-body);
  font-size: 0.88rem; font-weight: 600; cursor: pointer;
  transition: all 0.25s ease; border: 2px solid transparent; text-decoration: none;
}
.btn-primary {
  background: var(--highlight); color: var(--dark); border-color: var(--highlight);
}
.btn-primary:hover { background: #f0ab42; border-color: #f0ab42; transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--cream); border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline {
  background: transparent; color: var(--accent); border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--dark); }

/* 4. Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 5%; transition: all 0.35s ease;
}
.navbar.scrolled {
  background: var(--dark); padding: 0.9rem 5%;
  box-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.nav-brand {
  display: flex; align-items: center; gap: 0.7rem;
}
.nav-logo {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--border);
  filter: invert(1);
}
.nav-name {
  font-family: var(--ff-display); font-size: 1.15rem; font-weight: 700;
  color: var(--cream);
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: 0.85rem; font-weight: 500; color: var(--cream-dim);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { margin-left: 1rem; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 5px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--cream);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-overlay {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--dark); flex-direction: column; align-items: center;
  justify-content: center; gap: 2.5rem;
}
.mobile-overlay.open { display: flex; }
.mobile-overlay a {
  font-family: var(--ff-display); font-size: 1.8rem;
  color: var(--cream); transition: color 0.2s;
}
.mobile-overlay a:hover { color: var(--accent); }

/* 5. Hero */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/banner.jpg?v=1');
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,9,18,0.55) 0%, rgba(6,9,18,0.7) 60%, rgba(6,9,18,0.9) 100%);
}
.hero-content {
  position: relative; z-index: 1; max-width: 800px; padding: 0 1.5rem;
}
.hero-content .label { margin-bottom: 1rem; }
.hero-content h1 { color: var(--cream); margin-bottom: 0.5rem; }
.hero-subtitle {
  font-size: 1rem; font-weight: 500; color: var(--accent);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero-tagline {
  font-family: var(--ff-display); font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.3rem); color: var(--cream-dim);
  margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 1; animation: bounce 2s infinite;
}
.scroll-indicator svg { width: 24px; height: 24px; color: var(--accent); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* 6. Features strip */
.features-strip {
  background: var(--accent); padding: 3.5rem 5%;
}
.features-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem;
  max-width: 1200px; margin: 0 auto; text-align: center;
}
.feature-item { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.feature-icon {
  width: 48px; height: 48px; color: var(--dark);
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-item h4 {
  font-size: 0.9rem; font-weight: 700; color: var(--dark); text-transform: uppercase;
  letter-spacing: 0.05em;
}
.feature-item p { font-size: 0.78rem; color: rgba(6,9,18,0.7); line-height: 1.4; }

/* 7. Offerings grid */
.offerings-section { padding: 6rem 5%; background: var(--dark); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { color: var(--cream); margin-bottom: 0.75rem; }
.section-header p { max-width: 550px; margin: 0 auto; }
.offerings-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  max-width: 900px; margin: 0 auto 2.5rem;
}
.offering-tile {
  position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px;
  cursor: pointer; border: 1px solid var(--border);
}
.offering-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.offering-tile:hover img { transform: scale(1.06); }
.offering-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,9,18,0.85) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem;
}
.offering-tile-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--highlight); margin-bottom: 0.25rem;
}
.offering-tile h4 { font-size: 1.05rem; color: var(--cream); }
.offerings-cta { text-align: center; }

/* 8. Brand teaser */
.brand-teaser {
  padding: 6rem 5%; background: var(--bg-alt);
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: center; max-width: 1200px; margin: 0 auto;
}
.brand-teaser-img {
  position: relative; border-radius: 8px; overflow: hidden;
  aspect-ratio: 4/3;
}
.brand-teaser-img img { width: 100%; height: 100%; object-fit: cover; }
.brand-teaser-img::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--border); border-radius: 8px;
  pointer-events: none;
}
.brand-teaser-content { display: flex; flex-direction: column; gap: 1.25rem; }
.brand-teaser-content h2 { color: var(--cream); }
.brand-teaser-content p { color: var(--cream-dim); }

/* 9. Stats row */
.stats-section { padding: 4.5rem 5%; background: var(--dark); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  max-width: 1000px; margin: 0 auto; text-align: center;
}
.stat-item { padding: 2rem 1rem; border: 1px solid var(--border); border-radius: 8px; }
.stat-number {
  font-family: var(--ff-display); font-size: 2.8rem; font-weight: 700;
  color: var(--highlight); line-height: 1; margin-bottom: 0.4rem;
}
.stat-label { font-size: 0.8rem; font-weight: 500; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }

/* 10. Review cards */
.reviews-section { padding: 6rem 5%; background: var(--bg-alt); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  max-width: 1100px; margin: 0 auto;
}
.review-card {
  background: var(--dark); border: 1px solid var(--border);
  border-radius: 8px; padding: 2rem;
}
.review-stars { display: flex; gap: 4px; margin-bottom: 1rem; color: var(--highlight); }
.review-stars svg { width: 16px; height: 16px; }
.review-text {
  font-family: var(--ff-display); font-style: italic;
  font-size: 1rem; color: var(--cream); line-height: 1.65; margin-bottom: 1.25rem;
}
.review-author { font-size: 0.8rem; font-weight: 600; color: var(--accent); }

/* 11. Social CTA */
.social-cta {
  padding: 5rem 5%; background: var(--dark); text-align: center;
}
.social-cta h2 { color: var(--cream); margin-bottom: 0.75rem; }
.social-cta p { max-width: 500px; margin: 0 auto 2.5rem; }
.platform-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.platform-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 1.4rem; border-radius: 6px; font-size: 0.85rem; font-weight: 600;
  transition: all 0.25s; text-decoration: none;
}
.platform-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.platform-btn-whatsapp { background: #25D366; color: #fff; }
.platform-btn-whatsapp:hover { background: #20bb5a; }
.platform-btn-instagram { background: var(--accent-dim); color: var(--cream); border: 1px solid var(--border); }
.platform-btn-instagram:hover { border-color: var(--accent); color: var(--accent); }
.platform-btn-facebook { background: var(--accent-dim); color: var(--cream); border: 1px solid var(--border); }
.platform-btn-facebook:hover { border-color: var(--accent); color: var(--accent); }
.platform-btn-tiktok { background: var(--accent-dim); color: var(--cream); border: 1px solid var(--border); }
.platform-btn-tiktok:hover { border-color: var(--accent); color: var(--accent); }

/* 12. Social feed grid */
.social-feed { padding: 1rem 5% 5rem; background: var(--dark); }
.social-feed-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  max-width: 1200px; margin: 0 auto;
}
.feed-item { aspect-ratio: 1; overflow: hidden; position: relative; }
.feed-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.feed-item:hover img { transform: scale(1.06); }
.feed-item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(6,9,18,0); transition: background 0.3s;
}
.feed-item:hover::after { background: rgba(175,200,216,0.15); }

/* 13. Footer */
.footer {
  background: var(--bg-alt); border-top: 1px solid var(--border);
  padding: 5rem 5% 2.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem;
  max-width: 1200px; margin: 0 auto 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: invert(1); }
.footer-logo span { font-family: var(--ff-display); font-size: 1.1rem; color: var(--cream); }
.footer-tagline { font-size: 0.85rem; color: var(--cream-dim); font-style: italic; }
.footer-socials { display: flex; gap: 1rem; margin-top: 0.5rem; }
.footer-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid var(--border);
  border-radius: 50%; color: var(--cream-dim); transition: all 0.25s;
}
.footer-socials a svg { width: 16px; height: 16px; }
.footer-socials a:hover { border-color: var(--accent); color: var(--accent); }
.footer-col h4 {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a { font-size: 0.85rem; color: var(--cream-dim); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact-item { display: flex; gap: 0.6rem; margin-bottom: 0.75rem; align-items: flex-start; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 0.85rem; color: var(--cream-dim); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 2rem;
  border-top: 1px solid var(--border); display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--cream-dim); }
.footer-badges { display: flex; gap: 0.75rem; }
.badge {
  font-size: 0.72rem; padding: 0.3rem 0.75rem; border-radius: 100px;
  border: 1px solid var(--border); color: var(--accent-dim);
  background: var(--accent-dim); color: var(--accent);
}

/* 14. Page hero */
.page-hero {
  position: relative; min-height: 380px; display: flex;
  align-items: center; justify-content: center; text-align: center;
  overflow: hidden; padding: 8rem 5% 4rem;
  background-image: var(--page-hero-bg);
  background-size: cover; background-position: center;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-content h1 { color: var(--cream); margin-bottom: 0.75rem; }
.page-hero-content p { max-width: 550px; margin: 0 auto; font-size: 1rem; }

/* 15. About page */
.about-origin { padding: 6rem 0; background: var(--dark); }
.about-origin-img {
  border-radius: 8px; overflow: hidden; aspect-ratio: 3/4; position: relative;
}
.about-origin-img img { width: 100%; height: 100%; object-fit: cover; }
.about-origin-content { display: flex; flex-direction: column; gap: 1.25rem; }
.about-origin-content h2 { color: var(--cream); }

.philosophy-section { padding: 6rem 5%; background: var(--bg-alt); }
.philosophy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  max-width: 1100px; margin: 0 auto;
}
.philosophy-card {
  background: var(--dark); border: 1px solid var(--border);
  border-radius: 8px; padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem;
}
.philosophy-icon {
  width: 44px; height: 44px; color: var(--accent);
}
.philosophy-icon svg { width: 100%; height: 100%; }
.philosophy-card h3 { color: var(--cream); font-size: 1.2rem; }

.values-section { padding: 6rem 0; background: var(--dark); }
.values-list { display: flex; flex-direction: column; gap: 0; }
.value-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 2rem;
  align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--border);
}
.value-num {
  font-family: var(--ff-display); font-size: 2.5rem; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.value-text h4 { color: var(--cream); margin-bottom: 0.35rem; }

.timeline-section { padding: 6rem 0; background: var(--bg-alt); }
.timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 120px; top: 0; bottom: 0;
  width: 1px; background: var(--border);
}
.timeline-entry {
  display: grid; grid-template-columns: 120px 1fr; gap: 2rem;
  padding: 2rem 0 2rem 3rem; position: relative;
}
.timeline-entry::before {
  content: ''; position: absolute; left: 113px; top: 2.5rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--dark);
}
.timeline-date {
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  padding-top: 0.25rem; text-align: right;
}
.timeline-content h4 { color: var(--cream); margin-bottom: 0.4rem; }

.cta-split-section {
  padding: 6rem 5%; background: var(--dark);
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: center; max-width: 1200px; margin: 0 auto;
}
.cta-split-content { display: flex; flex-direction: column; gap: 1.25rem; }
.cta-split-content h2 { color: var(--cream); }
.cta-split-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.cta-split-visual {
  background: var(--bg-alt); border-radius: 8px; border: 1px solid var(--border);
  padding: 3rem; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 1.5rem;
}
.cta-split-visual .big-num {
  font-family: var(--ff-display); font-size: 5rem; color: var(--highlight); line-height: 1;
}
.cta-split-visual p { color: var(--accent); font-size: 0.9rem; }

/* 16. Offerings / Menu page */
.menu-disclaimer {
  background: var(--accent-dim); border: 1px solid var(--border);
  padding: 1rem 5%; text-align: center;
}
.menu-disclaimer p { font-size: 0.85rem; color: var(--accent); }
.menu-disclaimer a { color: var(--highlight); font-weight: 600; }

.category-tiles-section { padding: 5rem 5%; background: var(--dark); }
.category-tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.category-tile {
  position: relative; border-radius: 8px; overflow: hidden;
  cursor: pointer; border: 1px solid var(--border); min-height: 220px;
  display: flex; align-items: flex-end; transition: border-color 0.25s;
}
.category-tile:hover { border-color: var(--accent); }
.category-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.category-tile:hover img { transform: scale(1.05); }
.category-tile-bg {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,9,18,0.9) 0%, rgba(6,9,18,0.4) 50%, transparent 100%);
}
.category-tile-content {
  position: relative; z-index: 1; padding: 2rem;
  display: flex; flex-direction: column; gap: 0.25rem; width: 100%;
}
.category-tile-content h3 { color: var(--cream); }
.category-tile-content .count { font-size: 0.78rem; color: var(--accent); }
.category-tile-text {
  position: relative; z-index: 1; padding: 2rem;
  display: flex; flex-direction: column; gap: 0.25rem; width: 100%;
  background: var(--bg-alt);
}
.category-tile-text h3 { color: var(--cream); }
.category-tile-text .count { font-size: 0.78rem; color: var(--accent); }

.menu-sections { padding: 0 5% 6rem; background: var(--dark); }
.menu-category-section {
  max-width: 900px; margin: 0 auto; padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
.menu-category-section:last-child { border-bottom: none; }
.menu-category-header { margin-bottom: 2.5rem; }
.menu-category-header h2 { color: var(--cream); margin-bottom: 0.5rem; }
.menu-items-list { display: flex; flex-direction: column; gap: 0; }
.menu-item {
  padding: 1.75rem 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 1rem;
}
.menu-item:last-child { border-bottom: none; }
.menu-item-body { flex: 1; }
.menu-item-body h4 {
  color: var(--cream); margin-bottom: 0.4rem; display: flex;
  align-items: center; gap: 0.6rem; flex-wrap: wrap;
}
.badge-sig, .badge-best {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 100px;
}
.badge-sig { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--border); }
.badge-best { background: rgba(232,160,60,0.15); color: var(--highlight); border: 1px solid rgba(232,160,60,0.3); }
.menu-item-body p { font-size: 0.88rem; color: var(--cream-dim); line-height: 1.6; }

.menu-bottom-cta {
  padding: 5rem 5%; background: var(--bg-alt); text-align: center;
}
.menu-bottom-cta h2 { color: var(--cream); margin-bottom: 0.75rem; }
.menu-bottom-cta p { margin-bottom: 2rem; }

/* 17. Gallery page */
.gallery-filter { padding: 2.5rem 5% 1rem; background: var(--dark); }
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-btn {
  padding: 0.5rem 1.25rem; border-radius: 100px; font-size: 0.82rem;
  font-weight: 600; cursor: pointer; transition: all 0.25s;
  border: 1px solid var(--border); background: transparent; color: var(--cream-dim);
  font-family: var(--ff-body);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); color: var(--dark); border-color: var(--accent); }

.masonry-section { padding: 2rem 5% 6rem; background: var(--dark); }
.masonry-group { margin-bottom: 4rem; }
.masonry-group-header { margin-bottom: 1.5rem; }
.masonry-group-header h3 { color: var(--cream); margin-bottom: 0.25rem; }
.masonry-group-header .date-label { font-size: 0.78rem; color: var(--accent); }
.masonry-grid {
  columns: 3; column-gap: 0.75rem;
}
.masonry-item {
  break-inside: avoid; margin-bottom: 0.75rem; cursor: pointer;
  position: relative; overflow: hidden; border-radius: 6px;
  border: 1px solid var(--border);
}
.masonry-item img { width: 100%; display: block; transition: transform 0.4s; }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(6,9,18,0); transition: 0.3s;
}
.masonry-item:hover::after { background: rgba(175,200,216,0.1); }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(6,9,18,0.95); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem; background: none;
  border: none; color: var(--cream); cursor: pointer; font-size: 2rem; line-height: 1;
}
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--accent-dim); border: 1px solid var(--border);
  color: var(--cream); cursor: pointer; padding: 0.75rem 1rem;
  border-radius: 6px; font-size: 1.25rem; transition: all 0.2s;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); color: var(--dark); }
.lightbox-counter {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  font-size: 0.85rem; color: var(--cream-dim);
}

.gallery-cta { padding: 5rem 5%; background: var(--bg-alt); text-align: center; }
.gallery-cta h2 { color: var(--cream); margin-bottom: 0.75rem; }
.gallery-cta p { margin-bottom: 2rem; }

/* 18. Contact page */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
}
.contact-blocks { display: flex; flex-direction: column; gap: 2rem; }
.contact-block {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem;
}
.contact-block-header { display: flex; align-items: center; gap: 0.75rem; }
.contact-block-header svg { width: 20px; height: 20px; color: var(--accent); }
.contact-block-header h4 { color: var(--cream); }
.contact-block p { font-size: 0.88rem; color: var(--cream-dim); }
.contact-block a { color: var(--accent); font-size: 0.88rem; }
.contact-block a:hover { color: var(--highlight); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr td { padding: 0.4rem 0; font-size: 0.85rem; color: var(--cream-dim); }
.hours-table tr td:last-child { text-align: right; color: var(--accent); }

/* Contact form */
.contact-form-wrap { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form-wrap h2 { color: var(--cream); }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--accent); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 6px; padding: 0.75rem 1rem; color: var(--cream);
  font-family: var(--ff-body); font-size: 0.9rem;
  transition: border-color 0.2s; outline: none; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
}
.form-group input.error, .form-group select.error, .form-group textarea.error {
  border-color: #e05a5a;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark); }
#formSuccess {
  display: none; text-align: center; padding: 3rem; background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: 8px;
}
#formSuccess svg { color: #5aad6a; width: 48px; height: 48px; margin: 0 auto 1rem; }
#formSuccess h3 { color: var(--cream); margin-bottom: 0.5rem; }
#formSuccess p { font-size: 0.9rem; }

/* Map placeholder */
.map-placeholder {
  max-width: 1100px; margin: 0 auto; padding: 0 5% 4rem;
  background: var(--dark);
}
.map-box {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 8px;
  padding: 3rem; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
}
.map-box svg { width: 48px; height: 48px; color: var(--accent); }
.map-box h4 { color: var(--cream); }
.map-box p { font-size: 0.88rem; color: var(--cream-dim); }
.map-box a { color: var(--highlight); font-weight: 600; font-size: 0.9rem; }

/* 19. FAQ accordion */
.faq-section { padding: 6rem 5%; background: var(--bg-alt); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; cursor: pointer; color: var(--cream);
  font-family: var(--ff-body); font-size: 0.95rem; font-weight: 600;
  gap: 1rem;
}
.faq-question svg {
  width: 20px; height: 20px; color: var(--accent);
  flex-shrink: 0; transition: transform 0.3s;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner { padding: 0 0 1.5rem; }
.faq-answer-inner p { font-size: 0.9rem; color: var(--cream-dim); }

/* 20. Scroll to top */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: all 0.3s;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--highlight); }
.scroll-top svg { width: 20px; height: 20px; color: var(--dark); }

/* 21. Fade-in */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* 22. Responsive */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .brand-teaser { grid-template-columns: 1fr; gap: 3rem; }
  .cta-split-section { grid-template-columns: 1fr; gap: 3rem; }
  .about-origin { grid-template-columns: 1fr; gap: 3rem; }
  .timeline::before { left: 90px; }
  .timeline-entry { grid-template-columns: 90px 1fr; }
  .timeline-entry::before { left: 83px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .offerings-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .social-feed-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-grid { columns: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 0; }
  .timeline::before { left: 70px; }
  .timeline-entry { grid-template-columns: 70px 1fr; gap: 1rem; padding-left: 2rem; }
  .timeline-entry::before { left: 63px; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .offerings-grid { grid-template-columns: 1fr; }
  .social-feed-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-grid { columns: 1; }
  .category-tiles { grid-template-columns: 1fr; }
  .value-item { grid-template-columns: 60px 1fr; }
  .value-num { font-size: 1.8rem; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* 23. Inner page utility classes */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }

.section-label {
  display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.section-sub { max-width: 550px; margin: 0 auto; font-size: 0.95rem; color: var(--cream-dim); }
.section-header .section-sub { text-align: center; margin-top: 0.5rem; }

/* Page hero sub-elements */
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,9,18,0.6), rgba(6,9,18,0.82));
  z-index: 0;
}
.page-hero-label {
  display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.page-hero-title { color: var(--cream); margin-bottom: 0.75rem; }
.page-hero-sub { color: var(--cream-dim); font-size: 1rem; max-width: 520px; margin: 0 auto; }
.page-hero-gradient {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--dark) 50%, var(--bg-alt) 100%);
}

/* Footer nav alias for .footer-col */
.footer-nav h4 {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-nav ul li, .footer-nav ul li a { font-size: 0.85rem; color: var(--cream-dim); transition: color 0.2s; }
.footer-nav ul li a:hover { color: var(--accent); }
img.footer-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: invert(1); }

/* About split layout */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: center;
}
.about-split-image {
  border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; position: relative;
}
.about-split-image img { width: 100%; height: 100%; object-fit: cover; }
.about-split-text { display: flex; flex-direction: column; gap: 1.25rem; }
.about-split-text h2 { color: var(--cream); }

/* Values grid (about page) */
.values-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
  max-width: 1100px; margin: 0 auto;
}
.value-card {
  background: var(--dark); border: 1px solid var(--border);
  border-radius: 8px; padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem;
}
.section-alt .value-card { background: var(--bg-alt); }
.value-icon { width: 44px; height: 44px; color: var(--accent); }
.value-icon svg { width: 100%; height: 100%; }
.value-card h3 { color: var(--cream); font-size: 1.2rem; }

/* Timeline — alternate naming (item/marker/year) */
.timeline-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 2rem;
  padding: 2rem 0 2rem 3rem; position: relative;
}
.timeline-marker {
  position: absolute; left: 113px; top: 2.5rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--dark);
}
.timeline-year {
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  padding-top: 0.25rem; text-align: right;
}
.timeline-item .timeline-content h3 { color: var(--cream); margin-bottom: 0.4rem; font-size: 1.15rem; }

/* Stats band alias */
.stats-band { padding: 4.5rem 0; }
.stats-band .stats-grid { max-width: 1000px; margin: 0 auto; }

/* CTA block */
.cta-section { padding: 6rem 0; }
.cta-block { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-block h2 { color: var(--cream); margin-bottom: 0.75rem; }
.cta-block p { margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* Hours banner */
.hours-banner {
  background: var(--accent); padding: 0.9rem 0; text-align: center;
}
.hours-inner {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-size: 0.88rem; color: var(--dark); font-weight: 500;
}
.hours-inner svg { color: var(--dark); flex-shrink: 0; }
.hours-inner strong { font-weight: 700; }

/* Menu category hero */
.menu-category-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: center; max-width: 1000px; margin: 0 auto 3rem;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
}
.menu-category-hero img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.menu-category-hero-text { padding: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.menu-category-hero-text h3 { color: var(--cream); }

/* Offering cards (menu filter items) */
.offering-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.offering-card {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 8px; padding: 2rem; display: flex; gap: 1.25rem; align-items: flex-start;
}
.offering-icon { color: var(--accent); flex-shrink: 0; width: 36px; height: 36px; margin-top: 2px; }
.offering-icon svg { width: 100%; height: 100%; }
.offering-info { display: flex; flex-direction: column; gap: 0.4rem; }
.offering-info h3 { color: var(--cream); font-size: 1.1rem; }
.offering-tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--highlight);
}

/* Masonry hover label */
.masonry-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(6,9,18,0.85) 0%, transparent 100%);
  padding: 1.5rem 1rem 1rem;
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-overlay span {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
}

/* Gallery section alias */
.gallery-section { padding: 2rem 0 6rem; background: var(--dark); }

/* Contact cards */
.contact-section { background: var(--dark); }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
}
.contact-icon { color: var(--accent); flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; }
.contact-icon svg { width: 100%; height: 100%; }
.contact-card h3 { color: var(--cream); font-size: 1rem; margin-bottom: 0.35rem; }
.contact-card p { font-size: 0.85rem; color: var(--cream-dim); }
.contact-card a { color: var(--accent); font-size: 0.85rem; }
.contact-card a:hover { color: var(--highlight); }

/* Contact form header */
.contact-form-header { margin-bottom: 2rem; }
.contact-form-header h2 { color: var(--cream); margin-bottom: 0.5rem; }

/* Form row */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* Form success state */
.form-success-content {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.form-success-content svg { color: #5aad6a; }
.form-success-content h3 { color: var(--cream); }
.form-success-content p { font-size: 0.9rem; max-width: 400px; text-align: center; }

/* Map CTA block */
.map-cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: start; max-width: 1000px; margin: 0 auto;
}
.map-cta-text { display: flex; flex-direction: column; gap: 1rem; }
.map-cta-text h2 { color: var(--cream); }
.map-cta-hours {
  background: var(--dark); border: 1px solid var(--border);
  border-radius: 8px; padding: 2rem;
}
.map-cta-hours h3 { color: var(--cream); font-size: 1.1rem; margin-bottom: 1.25rem; }
.hours-list { display: flex; flex-direction: column; gap: 0.5rem; }
.hours-row {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.85rem; color: var(--cream-dim);
  padding: 0.4rem 0; border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: none; }
.hours-note { font-size: 0.78rem; color: var(--accent-dim); margin-top: 1rem; font-style: italic; color: var(--accent); opacity: 0.7; }

/* Additional responsive for inner pages */
@media (max-width: 1024px) {
  .about-split { grid-template-columns: 1fr; gap: 3rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .menu-category-hero { grid-template-columns: 1fr; }
  .menu-category-hero img { min-height: 220px; }
  .map-cta { grid-template-columns: 1fr; gap: 3rem; }
  .offering-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-item { grid-template-columns: 90px 1fr; }
  .timeline-marker { left: 83px; }
}
@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
  .offering-card { flex-direction: column; gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .offering-cards-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 70px 1fr; gap: 1rem; padding-left: 2rem; }
  .timeline-marker { left: 63px; }
  .timeline::before { left: 70px; }
  .map-cta-hours { padding: 1.5rem; }
}
