:root {
  --bg-canvas: #211c18;
  --bg-surface: #302821;
  --bg-surface-elevated: #3b322a;
  --bg-surface-card: #2c251f;
  --text-primary: #f4f1ea;
  --text-muted: #d0c7b7;
  --accent-gold: #d4a84b;
  --accent-warm: #c27d38;
  --border-subtle: rgba(212, 168, 75, 0.22);
  --border-focus: #f1cf86;
  --radius-pill: 9999px;
  --radius-card: 20px;
  --shadow-elevation: 0 14px 34px -6px rgba(12, 9, 7, 0.45);
  --glow-warm: 0 0 20px -2px rgba(212, 168, 75, 0.25);
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.2s var(--ease-kinetic);
}

a:hover {
  color: #eed699;
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 3px;
}

/* Header Container */
.site-header {
  position: relative;
  max-width: var(--max-width);
  margin: 1.5rem auto 1rem;
  padding: 0 1.25rem;
}

.nav-shell {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.75rem;
  box-shadow: var(--shadow-elevation);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-warm));
  color: #171310;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.brand-text span {
  color: var(--accent-gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: all 0.2s var(--ease-kinetic);
}

.nav-link:hover {
  color: var(--accent-gold);
  text-decoration: none;
}

.nav-link.active {
  color: var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
}

.nav-mobile-trigger {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

.mobile-menu-drawer {
  display: none;
  margin-top: 0.75rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  box-shadow: var(--shadow-elevation);
}

.mobile-menu-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  display: block;
  font-size: 1.05rem;
  padding: 0.5rem 0.75rem;
  color: var(--text-primary);
  border-radius: 8px;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  background-color: var(--bg-surface-elevated);
  color: var(--accent-gold);
  text-decoration: none;
}

/* Layout Core */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.long-form-container {
  max-width: 72ch;
  margin: 0 auto;
}

/* Headings & Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.35rem, 4.5vw, 3.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: #faf6ee;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

p strong, li strong {
  color: var(--text-primary);
}

/* Gold Pill Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--accent-gold);
  color: #171310;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(212, 168, 75, 0.3);
  transition: transform 0.25s var(--ease-kinetic), background-color 0.25s var(--ease-kinetic), box-shadow 0.25s var(--ease-kinetic);
  text-decoration: none;
}

.btn-gold:hover {
  background-color: #eed699;
  color: #171310;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 168, 75, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: var(--accent-gold);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-gold);
  text-decoration: none;
  transition: all 0.25s var(--ease-kinetic);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-elevated);
  color: #ffffff;
  text-decoration: none;
}

/* Sections & Curved transitions */
.hero-solid {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: 2.75rem;
  box-shadow: var(--shadow-elevation);
  position: relative;
}

.hero-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #e2dbcd;
  max-width: 65ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.content-section {
  margin-bottom: 3.5rem;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 68ch;
}

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

/* Layout: Large planning block */
.large-planning-block {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2.25rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-elevation);
}

.planning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.plan-day-box {
  background-color: var(--bg-canvas);
  border: 1px solid rgba(212, 168, 75, 0.15);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.day-title {
  color: var(--accent-gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.day-menu {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.day-fallback {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: auto;
}

/* Two-Column Story Grid */
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

/* Photo-Topped Cards with Clean, Non-Overlapping Tags */
.story-card {
  background-color: var(--bg-surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-elevation);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-kinetic), box-shadow 0.3s var(--ease-kinetic);
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px -4px rgba(12, 9, 7, 0.6), var(--glow-warm);
}

.card-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-surface-elevated);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  bottom: auto;
  background-color: var(--accent-gold);
  color: #171310;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  z-index: 2;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  pointer-events: none;
}

.card-body {
  padding: 1.5rem 1.75rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-body p {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.card-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

/* Pantry & Inventory Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background-color: var(--bg-surface);
}

.clean-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.clean-table th,
.clean-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(212, 168, 75, 0.12);
  vertical-align: top;
}

.clean-table th {
  background-color: rgba(212, 168, 75, 0.08);
  color: var(--accent-gold);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.clean-table tr:last-child td {
  border-bottom: none;
}

.clean-table td {
  color: #ded7c9;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Callout and Process Blocks */
.substitution-callout {
  background-color: rgba(212, 168, 75, 0.09);
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  line-height: 1.6;
}

.substitution-callout strong {
  color: var(--accent-gold);
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
  position: relative;
}

.timeline-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background-color: var(--bg-surface);
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
}

.step-number {
  background-color: var(--accent-gold);
  color: #171310;
  font-family: var(--font-serif);
  font-weight: 700;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.step-text {
  flex: 1;
  min-width: 0;
}

.step-text h4 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.step-text p {
  margin: 0;
  font-size: 0.925rem;
  line-height: 1.55;
}

/* FAQ Accordion Styling */
.faq-group {
  margin-bottom: 2.5rem;
}

.faq-group-title {
  color: var(--accent-gold);
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 1.4rem;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-toggle span:first-child {
  flex: 1;
  min-width: 0;
}

.faq-toggle:hover {
  background-color: var(--bg-surface-elevated);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-gold);
  transition: transform 0.3s var(--ease-kinetic);
  flex-shrink: 0;
  line-height: 1;
}

.faq-answer {
  padding: 0 1.4rem 1.25rem;
  display: none;
}

.faq-answer p {
  line-height: 1.6;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

/* Contact Interactive Form / Plain Text Tool */
.contact-tool-panel {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2.25rem;
  box-shadow: var(--shadow-elevation);
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #ded7c9;
  font-size: 0.9rem;
  line-height: 1.35;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bg-canvas);
  border: 1px solid rgba(212, 168, 75, 0.25);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.5;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.tool-output-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background-color: var(--bg-canvas);
  border-radius: 10px;
  border: 1px dashed var(--border-subtle);
  font-family: monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  color: #e5dfd2;
  word-break: break-word;
}

.copy-status-msg {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-weight: 600;
  min-height: 1.2rem;
}

/* Footer Container */
.site-footer {
  background-color: #171310;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 1.25rem 2.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.footer-nav-title {
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-list a {
  color: var(--text-muted);
  line-height: 1.4;
}

.footer-links-list a:hover {
  color: var(--accent-gold);
}

.footer-bottom-bar {
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 168, 75, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Scroll reveal utility */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-kinetic), transform 0.6s var(--ease-kinetic);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Query Responsiveness */
@media (max-width: 820px) {
  .main-nav {
    display: none;
  }
  .nav-mobile-trigger {
    display: block;
  }
}

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