/* =========================================================================
   FLAME & GRILL — Design System
   Palette born from char, ember and glow — not the usual cream/terracotta.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,500;9..144,600;9..144,700;9..144,900&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  /* Core palette */
  --char-950: #120d0a;
  --char-900: #1b140f;
  --char-800: #241a14;
  --char-700: #33241b;
  --char-600: #4a3324;

  --cream: #fbf3e7;
  --cream-dim: #efe3d0;

  --ember: #ff5a1f;
  --ember-hot: #ff7a3d;
  --ember-deep: #c93f0f;
  --gold: #f4a93b;
  --gold-soft: #ffd68a;

  --smoke: #8a7d72;
  --smoke-light: #b8ab9e;

  --success: #4a9463;
  --danger: #d0473a;

  /* Semantic */
  --bg: var(--cream);
  --ink: var(--char-900);
  --ink-soft: #5a473b;

  /* Type */
  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shape & motion */
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.22,.9,.32,1);

  --shadow-soft: 0 10px 30px -12px rgba(18,13,10,0.25);
  --shadow-lift: 0 20px 45px -15px rgba(18,13,10,0.35);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--char-900);
}

::selection { background: var(--ember); color: var(--cream); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--ember);
  display: inline-block;
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 5%;
  background: rgba(27, 20, 15, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244, 169, 59, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.logo svg { width: 30px; height: 30px; flex-shrink: 0; }
.logo .accent { color: var(--gold); font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--cream-dim);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.25s var(--ease);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--ember);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }

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

.cart-btn {
  background: var(--ember);
  color: var(--char-950) !important;
  padding: 9px 16px;
  border-radius: 30px;
  display: flex; gap: 8px; align-items: center;
  font-weight: 800 !important;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.cart-btn:hover { background: var(--gold); transform: translateY(-2px); }
.cart-btn::after { display: none !important; }
#cartCount {
  background: var(--char-950);
  color: var(--gold);
  padding: 1px 8px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 15% 0%, #2a1c13 0%, var(--char-950) 60%);
  color: var(--cream);
  padding: 6.5rem 5% 5.5rem;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw; height: 60vw;
  max-width: 780px; max-height: 780px;
  background: radial-gradient(circle, rgba(255,90,31,0.38) 0%, rgba(255,90,31,0) 68%);
  filter: blur(10px);
  z-index: -1;
  animation: emberPulse 7s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto auto -30% -8%;
  width: 45vw; height: 45vw;
  max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(244,169,59,0.28) 0%, rgba(244,169,59,0) 70%);
  z-index: -1;
}
@keyframes emberPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  color: var(--cream);
  margin-bottom: 1.3rem;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--ember-hot), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: 1.15rem;
  color: var(--smoke-light);
  max-width: 520px;
  margin-bottom: 2.2rem;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 2.8rem; }

.hero-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-soft);
}
.hero-stats div span {
  font-size: 0.8rem;
  color: var(--smoke-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4/5;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .badge {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  background: rgba(18,13,10,0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(244,169,59,0.35);
  color: var(--cream);
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-visual .badge strong { color: var(--gold-soft); font-family: var(--font-display); font-size: 1.1rem; }

/* Simple hero for inner pages */
.page-header {
  position: relative;
  background: radial-gradient(120% 160% at 85% 0%, #2a1c13 0%, var(--char-950) 62%);
  color: var(--cream);
  padding: 4.5rem 5% 4rem;
  text-align: center;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: -30% -10% auto auto;
  width: 50vw; height: 50vw;
  max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(255,90,31,0.32) 0%, rgba(255,90,31,0) 70%);
  z-index: 0;
}
.page-header * { position: relative; z-index: 1; }
.page-header .eyebrow { color: var(--gold-soft); justify-content: center; }
.page-header .eyebrow::before { display: none; }
.page-header h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: var(--cream); margin-bottom: 0.9rem; }
.page-header p { font-size: 1.1rem; max-width: 640px; margin: 0 auto; color: var(--smoke-light); line-height: 1.7; }

/* Torn / flame edge divider between hero and content */
.flame-edge {
  display: block;
  width: 100%;
  height: 34px;
  margin-top: -1px;
}
.flame-edge path { fill: var(--bg); }

/* =========================================================================
   MAIN / LAYOUT
   ========================================================================= */
main { flex: 1; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 5%; }
.section { padding: 5rem 0; }
.section-tight { padding: 2.5rem 0; }
.section-dark {
  background: var(--char-900);
  color: var(--cream);
}
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: var(--smoke-light); }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 0.6rem;
}
.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; max-width: 640px; }
.section-head.center .section-sub { margin: 0 auto; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

/* =========================================================================
   GRID & CARDS
   ========================================================================= */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: var(--white, #fff);
  background: #fffdfa;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border: 1px solid rgba(36,26,20,0.06);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card .card-media { position: relative; overflow: hidden; height: 210px; }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.08); }
.card .tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--char-950); color: var(--gold-soft);
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em;
  padding: 5px 10px; border-radius: 20px; text-transform: uppercase;
}
.card-content { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.card p.desc { color: var(--ink-soft); margin-bottom: 16px; line-height: 1.55; flex: 1; font-size: 0.95rem; }
.price-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; gap: 12px; }
.price { font-family: var(--font-mono); font-size: 1.2rem; font-weight: 700; color: var(--ember-deep); }

/* Icon feature cards */
.feature-card {
  background: #fffdfa;
  border: 1px solid rgba(36,26,20,0.07);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-5px); }
.feature-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--ember), var(--gold));
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  padding: 13px 26px;
  background: var(--ember);
  color: var(--char-950);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 8px 20px -8px rgba(255,90,31,0.55);
}
.btn:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(244,169,59,0.6); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-outline {
  background: transparent;
  border: 2px solid rgba(251,243,231,0.5);
  color: var(--cream);
  box-shadow: none;
}
.btn-outline:hover { background: var(--cream); color: var(--char-950); border-color: var(--cream); }

.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--char-900);
  color: var(--char-900);
  box-shadow: none;
}
.btn-outline-dark:hover { background: var(--char-900); color: var(--cream); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  padding: 10px 18px;
}
.btn-ghost:hover { background: rgba(36,26,20,0.06); transform: none; }

.btn-danger { background: var(--danger); color: #fff; box-shadow: none; }
.btn-danger:hover { background: #a83226; }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-icon {
  width: 34px; height: 34px; padding: 0; border-radius: 8px;
  background: var(--cream-dim); color: var(--ink); box-shadow: none; font-weight: 700;
}
.btn-icon:hover { background: var(--ember); color: var(--char-950); transform: none; }

/* =========================================================================
   TABS / FILTERS (menu categories)
   ========================================================================= */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 2.6rem; }
.filter-chip {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1.5px solid rgba(36,26,20,0.15);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter-chip:hover { border-color: var(--ember); color: var(--ember-deep); }
.filter-chip.active { background: var(--char-900); border-color: var(--char-900); color: var(--gold-soft); }

/* =========================================================================
   STATS BAND
   ========================================================================= */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 3.4rem 5%;
  background: var(--char-900);
  color: var(--cream);
}
.stats-band .stat { text-align: center; }
.stats-band .stat strong {
  display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-soft);
}
.stats-band .stat span { color: var(--smoke-light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testimonial-card {
  background: #fffdfa;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(36,26,20,0.06);
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 1rem; }
.testimonial-card p.quote { font-size: 1.02rem; margin-bottom: 20px; color: var(--ink); font-style: italic; }
.testimonial-who { display: flex; align-items: center; gap: 12px; }
.avatar-badge {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ember), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--char-950); font-weight: 800; font-family: var(--font-display);
}
.testimonial-who strong { display: block; font-size: 0.95rem; }
.testimonial-who span { font-size: 0.8rem; color: var(--ink-soft); }

/* =========================================================================
   CTA BAND
   ========================================================================= */
.cta-band {
  background: linear-gradient(120deg, var(--ember-deep), var(--ember) 55%, var(--gold));
  color: var(--char-950);
  border-radius: 24px;
  padding: 3.4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--char-950); margin-bottom: 6px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-band p { color: rgba(18,13,10,0.75); font-size: 1.02rem; }

/* =========================================================================
   FORMS
   ========================================================================= */
.form-container {
  max-width: 560px;
  margin: 0 auto;
  background: #fffdfa;
  padding: 2.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(36,26,20,0.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block; margin-bottom: 7px; font-weight: 700; font-size: 0.88rem;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 14px; border: 1.5px solid rgba(36,26,20,0.15);
  border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit;
  background: #fff; color: var(--ink); transition: border-color 0.2s var(--ease);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--ember); outline: none;
}
.form-group textarea { height: 120px; resize: vertical; }
.form-group small { display: block; margin-top: 6px; color: var(--smoke); font-size: 0.82rem; }
.form-hint { text-align: center; color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.6rem; line-height: 1.6; }

/* =========================================================================
   CART & CHECKOUT
   ========================================================================= */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; background: #fffdfa; box-shadow: var(--shadow-soft); border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { padding: 16px; text-align: left; border-bottom: 1px solid rgba(36,26,20,0.07); }
.cart-table th { background: var(--char-900); color: var(--gold-soft); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.cart-table tr:last-child td { border-bottom: none; }
.cart-item-info { display: flex; align-items: center; gap: 15px; }
.cart-item-info img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.qty-control { display: inline-flex; align-items: center; gap: 12px; background: var(--cream-dim); border-radius: 20px; padding: 4px 6px; }
.qty-control button { width: 28px; height: 28px; border-radius: 50%; border: none; background: #fff; cursor: pointer; font-weight: 700; box-shadow: var(--shadow-soft); }
.qty-control button:hover { background: var(--ember); color: #fff; }

.cart-summary { background: var(--char-900); color: var(--cream); padding: 2rem; border-radius: var(--radius); max-width: 420px; margin-left: auto; }
.cart-summary h3 { color: var(--cream); margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 13px; font-size: 1rem; color: var(--smoke-light); }
.summary-total { font-size: 1.4rem; font-weight: 800; color: var(--gold-soft); border-top: 1px solid rgba(251,243,231,0.15); padding-top: 15px; margin-top: 5px; }

.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state .icon { font-size: 3.4rem; margin-bottom: 1rem; }
.empty-state h2 { margin-bottom: 10px; }
.empty-state p { color: var(--ink-soft); margin-bottom: 24px; }

/* =========================================================================
   PROFILE / ORDERS
   ========================================================================= */
.profile-header {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--char-900); color: var(--cream);
  padding: 2rem; border-radius: var(--radius); margin-bottom: 2.4rem; flex-wrap: wrap; gap: 16px;
}
.profile-id { display: flex; align-items: center; gap: 16px; }
.profile-avatar {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ember), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--char-950);
}
.profile-header h2 { color: var(--cream); font-size: 1.4rem; margin-bottom: 4px; }
.profile-header p { color: var(--smoke-light); font-size: 0.9rem; }

.order-card { background: #fffdfa; padding: 22px; border-radius: var(--radius); margin-bottom: 18px; border-left: 4px solid var(--ember); box-shadow: var(--shadow-soft); }
.order-header { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(36,26,20,0.07); padding-bottom: 12px; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.order-header strong { font-family: var(--font-mono); }
.status-pill { padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; background: rgba(74,148,99,0.12); color: var(--success); text-transform: uppercase; letter-spacing: 0.03em; }
.order-items { color: var(--ink-soft); margin-bottom: 12px; padding-left: 4px; }
.order-items li { padding: 3px 0; list-style: none; }
.order-items li::before { content: '— '; color: var(--ember); }

/* =========================================================================
   GALLERY
   ========================================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery-grid figure { position: relative; overflow: hidden; border-radius: var(--radius-sm); margin: 0; cursor: pointer; }
.gallery-grid figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.1); }
.gallery-grid figure figcaption {
  position: absolute; inset: auto 0 0 0; padding: 14px;
  background: linear-gradient(0deg, rgba(18,13,10,0.85), transparent);
  color: var(--cream); font-size: 0.85rem; font-weight: 700;
  opacity: 0; transform: translateY(8px);
  transition: all 0.3s var(--ease);
}
.gallery-grid figure:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-grid figure.big { grid-column: span 2; grid-row: span 2; }

/* =========================================================================
   TIMELINE (about page)
   ========================================================================= */
.timeline { position: relative; padding-left: 34px; border-left: 2px solid rgba(36,26,20,0.12); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -41px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--ember);
  border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--ember);
}
.timeline-item .yr { font-family: var(--font-mono); color: var(--ember-deep); font-weight: 700; font-size: 0.85rem; }
.timeline-item h4 { margin: 4px 0 6px; }
.timeline-item p { color: var(--ink-soft); font-size: 0.95rem; }

/* =========================================================================
   ALERT / TOAST
   ========================================================================= */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 1.6rem; display: none; font-weight: 600; }
.alert-success { background: rgba(74,148,99,0.12); color: var(--success); border: 1px solid rgba(74,148,99,0.3); }
.alert-danger { background: rgba(208,71,58,0.1); color: var(--danger); border: 1px solid rgba(208,71,58,0.3); }

.toast {
  position: fixed; bottom: 26px; right: 26px; z-index: 3000;
  background: var(--char-950); color: var(--cream);
  padding: 15px 22px; border-radius: 12px;
  box-shadow: var(--shadow-lift);
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 0.92rem;
  border-left: 4px solid var(--ember);
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: all 0.35s var(--ease);
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.danger { border-left-color: var(--danger); }

/* =========================================================================
   FOOTER
   ========================================================================= */
footer { background: var(--char-950); color: var(--cream); margin-top: auto; }
.footer-top { padding: 4rem 5% 3rem; }
.footer-grid { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col .logo { margin-bottom: 14px; }
.footer-col p { color: var(--smoke-light); font-size: 0.92rem; line-height: 1.7; }
.footer-col h4 { color: var(--gold-soft); margin-bottom: 18px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; font-family: var(--font-body); font-weight: 800; }
.footer-col a { color: var(--smoke-light); text-decoration: none; display: block; margin-bottom: 11px; font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(251,243,231,0.08);
  display: flex; align-items: center; justify-content: center; margin: 0;
}
.social-row a:hover { background: var(--ember); color: var(--char-950); }
.newsletter-form { display: flex; gap: 8px; margin-top: 8px; }
.newsletter-form input { flex: 1; padding: 11px 14px; border-radius: 30px; border: 1px solid rgba(251,243,231,0.2); background: rgba(251,243,231,0.06); color: var(--cream); font-size: 0.9rem; }
.newsletter-form input::placeholder { color: var(--smoke); }
.newsletter-form button { border-radius: 30px; padding: 11px 18px; }

.footer-bottom {
  border-top: 1px solid rgba(251,243,231,0.1);
  padding: 1.6rem 5%;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  max-width: 1360px; margin: 0 auto;
  color: var(--smoke);
  font-size: 0.85rem;
}
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom a { color: var(--smoke); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* =========================================================================
   UTILITIES
   ========================================================================= */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 20px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; aspect-ratio: 16/10; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); height: 100vh;
    background: var(--char-950);
    flex-direction: column; align-items: flex-start;
    padding: 6rem 2rem 2rem; gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; width: 100%; }
  .nav-links .cart-btn { margin-top: 10px; }
  .nav-scrim {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999;
  }
  .nav-scrim.show { display: block; }

  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-grid figure.big { grid-column: span 2; grid-row: span 1; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cta-band { flex-direction: column; text-align: center; padding: 2.6rem 1.8rem; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { padding: 14px 0; border-bottom: 1px solid rgba(36,26,20,0.08); }
  .cart-table td { border: none; padding: 6px 16px; }
  .cart-summary { max-width: 100%; margin-left: 0; }
}

@media (max-width: 560px) {
  .hero { padding: 5.5rem 6% 4rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-stats { justify-content: space-between; gap: 1rem; }
  .section { padding: 3.4rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .profile-header { flex-direction: column; align-items: flex-start; }
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}
