:root {
  --bg-canvas: #fbf1f0;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f7e6e5;
  --text-primary: #1c1917;
  --text-muted: #57534e;
  --accent-primary: #6b2155;
  --accent-secondary: #9f3a80;
  --accent-subtle: #ebd0e0;
  --border-subtle: #eddcdb;
  --border-frame: #dfc8c7;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 12px rgba(107, 33, 85, 0.05);
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  overflow-wrap: anywhere;
  hyphens: auto;
  border: 10px solid #ecd5d4;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

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

a:hover, a:focus {
  color: var(--accent-secondary);
  text-decoration: underline;
}

/* Header & Navigation */
.site-header {
  position: static;
  background: transparent;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.brand-wrapper {
  text-align: left;
}

.brand-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-primary);
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.desktop-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.desktop-nav a:hover, .desktop-nav a.active {
  color: var(--accent-primary);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-primary);
  padding-bottom: 2px;
}

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

.mobile-nav-panel {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 2rem;
}

.mobile-nav-panel.open {
  display: block;
}

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

/* Layout Framework */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.content-narrow {
  max-width: 72ch;
  margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.75rem;
  line-height: 1.15;
}

h2 {
  font-size: 2rem;
  line-height: 1.25;
}

h3 {
  font-size: 1.35rem;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(107,33,85,0.92) 0%, rgba(69,21,54,0.95) 100%),
              url('images/scandic-banquet-table-spread.jpg') center/cover;
  color: #ffffff;
  padding: 5rem 1.5rem;
  text-align: center;
  border-radius: 4px;
  margin-bottom: 3rem;
}

.hero h1 {
  color: #ffffff;
  max-width: 850px;
  margin: 0 auto 1.5rem;
}

.hero p {
  color: #ebd0e0;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2rem;
}

/* Interactive Pill Button */
.btn-primary {
  display: inline-block;
  background: var(--accent-primary);
  color: #ffffff;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background-color 0.2s var(--ease-kinetic), transform 0.2s var(--ease-kinetic);
}

.btn-primary:hover, .btn-primary:focus {
  background: var(--accent-secondary);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 0.75rem 1.85rem;
  border-radius: 9999px;
  font-weight: 700;
  margin-left: 0.75rem;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #ffffff;
  color: var(--accent-primary);
  text-decoration: none;
}

/* Split Column Story Panels */
.story-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
}

.story-panel.reversed {
  direction: rtl;
}

.story-panel.reversed > * {
  direction: ltr;
}

.story-panel img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Card Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 1.25rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  flex-grow: 1;
}

/* Scaler Tool Component */
.tool-box {
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2rem;
  margin: 2.5rem 0;
}

.scaler-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.scaler-controls label {
  font-weight: 700;
  color: var(--accent-primary);
}

.scaler-controls input[type="number"] {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-size: 1rem;
  width: 80px;
}

.ingredient-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.ingredient-table th, .ingredient-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.ingredient-table th {
  background: var(--bg-canvas);
  color: var(--accent-primary);
  font-weight: 800;
}

/* Timeline & Accordion */
.timeline-item {
  border-left: 3px solid var(--accent-primary);
  padding-left: 1.5rem;
  margin-left: 0.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 4px;
  width: 15px;
  height: 15px;
  background: var(--accent-primary);
  border-radius: 50%;
}

.timeline-time {
  font-weight: 800;
  color: var(--accent-primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

/* FAQ Accordion */
.faq-block {
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  border-radius: 4px;
  margin-bottom: 1rem;
}

.faq-q {
  padding: 1.25rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--accent-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
}

.faq-block.open .faq-q::after {
  content: '−';
}

.faq-a {
  padding: 0 1.25rem 1.25rem;
  display: none;
  color: var(--text-muted);
}

.faq-block.open .faq-a {
  display: block;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
}

.form-group input, .form-group textarea, .form-group select {
  padding: 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 120px;
}

/* Footer */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  margin-top: 4rem;
  padding: 3.5rem 1.5rem 2rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

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

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    border-width: 6px;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .story-panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .story-panel.reversed {
    direction: ltr;
  }
  h1 {
    font-size: 2.15rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

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