﻿/* Bread Website &mdash; Shared Styles */
@font-face { font-family: 'Playfair Display'; src: url('fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype'), url('PlayfairDisplay-VariableFont_wght.ttf') format('truetype'); font-weight: 100 900; font-style: normal; }
@font-face { font-family: 'Playfair Display'; src: url('fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype'), url('PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype'); font-weight: 100 900; font-style: italic; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter-VariableFont_opsz_wght.ttf') format('truetype'), url('Inter-VariableFont_opsz_wght.ttf') format('truetype'); font-weight: 100 900; font-style: normal; }

:root {
  --bg: #1a0d04;
  --bg-deep: #0f0805;
  --surface: #2a1a0e;
  --surface-raised: #3a2412;
  --border: rgba(200,117,51,0.18);
  --border-active: rgba(232,148,58,0.5);
  --crust-500: #c87533;
  --crust-400: #e8943a;
  --crust-300: #f5a623;
  --bread-100: #f5e6c8;
  --bread-200: #d4a96a;
  --bread-300: #a87c50;
  --bread-400: #7a5c3a;
  --bread-500: #623a15;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--bread-200);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient warm glow */
body::before {
  content: ''; position: fixed; pointer-events: none; z-index: 0;
  top: -20%; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 1200px;
  background: radial-gradient(circle, rgba(200,117,51,0.08) 0%, transparent 60%);
}

/* Flour texture overlay */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03; mix-blend-mode: overlay;
}

main, nav, footer { position: relative; z-index: 2; }

h1, h2, h3 { font-family: var(--serif); color: var(--bread-100); margin: 0; line-height: 1.15; letter-spacing: -0.015em; }
h1 { font-size: clamp(48px, 8vw, 96px); font-weight: 800; }
h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; }
p  { margin: 0; color: var(--bread-200); }

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--crust-400);
}

/* â”€â”€ Nav â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  position: sticky; top: 0;
  background: rgba(26,13,4,0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--bread-100);
  font-family: var(--serif); font-size: 24px; font-weight: 800;
  letter-spacing: -0.02em;
}
.nav-brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a,
.more-trigger {
  color: var(--bread-300); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  padding: 10px 18px; border-radius: 999px;
  transition: color 200ms, background 200ms;
}
.more-trigger {
  display: inline-flex; align-items: center; gap: 7px;
  border: 0; background: transparent;
  font-family: var(--sans);
  cursor: pointer;
}
.more-trigger::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.nav-links a:hover,
.more-menu:hover .more-trigger,
.more-menu:focus-within .more-trigger {
  color: var(--bread-100);
  background: rgba(200,117,51,0.08);
}
.nav-links a.active,
.more-menu.active .more-trigger { color: var(--crust-400); }
.more-menu { position: relative; }
.more-menu::after {
  content: '';
  position: absolute;
  top: 100%; right: 0;
  width: 100%; height: 12px;
}
.more-panel {
  position: absolute;
  top: calc(100% + 10px); right: 0;
  min-width: 230px;
  padding: 8px;
  background: rgba(42,26,14,0.98);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms, transform 180ms;
}
.more-menu:hover .more-panel,
.more-menu:focus-within .more-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-links .more-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.nav-cta {
  background: var(--crust-500); color: var(--bg) !important;
  padding: 10px 20px !important; border-radius: 999px;
  font-weight: 700 !important; letter-spacing: 0.06em !important;
  text-transform: uppercase; font-size: 12px !important;
  box-shadow: 0 0 20px rgba(200,117,51,0.3);
  transition: transform 150ms, box-shadow 250ms, background 200ms;
}
.nav-cta:hover { background: var(--crust-400) !important; box-shadow: 0 0 30px rgba(232,148,58,0.5); transform: translateY(-1px); }

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 700;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 999px; border: none;
  cursor: pointer; text-decoration: none;
  transition: transform 150ms, box-shadow 250ms, background 200ms, border-color 200ms;
}
.btn-primary { background: var(--crust-500); color: var(--bg); box-shadow: 0 0 24px rgba(200,117,51,0.35); }
.btn-primary:hover { background: var(--crust-400); box-shadow: 0 0 36px rgba(232,148,58,0.55); transform: translateY(-2px); }
.btn-primary:active { transform: scale(0.97) translateY(0); }
.btn-secondary { background: transparent; color: var(--bread-100); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--border-active); background: rgba(200,117,51,0.08); }

/* â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px;
  margin-top: 80px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; color: var(--bread-100); font-size: 18px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 6px; }
.footer-meta { color: var(--bread-500); font-size: 13px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--bread-300); text-decoration: none; font-size: 13px; font-weight: 500; }
.footer-links a:hover { color: var(--crust-400); }

/* â”€â”€ Containers â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 0; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms ease-out, transform 800ms cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 100ms; }
.reveal.delay-2 { transition-delay: 200ms; }
.reveal.delay-3 { transition-delay: 300ms; }
.reveal.delay-4 { transition-delay: 400ms; }

@media (max-width: 720px) {
  .nav { padding: 16px 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .more-menu { display: none; }
  .container { padding: 0 24px; }
  .footer { padding: 30px 24px; flex-direction: column; text-align: center; }
}
