/* ========================================================================
   Sifted & Sweet Baking Company — Stylesheet
   Palette: cream / coffee / raspberry / butter
   Type: Fraunces (display serif) + DM Sans (body)
   ======================================================================== */

:root {
  --cream:        #FBF6EE;
  --cream-dark:   #F2E9D8;
  --coffee:       #3A2818;
  --coffee-light: #6B5340;
  --raspberry:    #C13F5C;
  --raspberry-dk: #9B2D45;
  --butter:       #E8B547;
  --white:        #FFFFFF;

  --shadow-sm: 0 1px 3px  rgba(58, 40, 24, 0.08);
  --shadow-md: 0 4px 12px rgba(58, 40, 24, 0.10);
  --shadow-lg: 0 12px 32px rgba(58, 40, 24, 0.14);

  --container: 1180px;
  --radius:    14px;
}

/* Reset ----------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--coffee);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--cream-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.brand:hover { opacity: 0.78; }

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 32px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--coffee);
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--raspberry); }

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 110px 0 130px;
  background:
    radial-gradient(circle at 18% 28%, rgba(232, 181, 71, 0.14), transparent 55%),
    radial-gradient(circle at 82% 72%, rgba(193, 63, 92, 0.10), transparent 55%),
    var(--cream);
  overflow: hidden;
  text-align: center;
}

.hero-decoration {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(232, 181, 71, 0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 820px;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--raspberry);
  font-weight: 500;
  margin-bottom: 22px;
}

.hero-logo {
  display: block;
  margin: 0 auto 28px;
  width: clamp(240px, 38vw, 380px);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(58, 40, 24, 0.10));
  animation: hero-logo-in 0.9s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}

@keyframes hero-logo-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.hero-tagline {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--coffee-light);
  margin: 0 auto 40px;
  max-width: 540px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  font-family: inherit;
  cursor: pointer;
}

.btn-primary {
  background: var(--coffee);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--raspberry);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--coffee);
  border-color: var(--coffee);
}

.btn-secondary:hover {
  background: var(--coffee);
  color: var(--cream);
}

/* Section headings ------------------------------------------------------ */
.section-heading { margin-bottom: 56px; }
.section-heading.center { text-align: center; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--raspberry);
  font-weight: 500;
  margin-bottom: 12px;
}

.section-heading h2,
.story-section h2,
.ordering-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variation-settings: 'opsz' 144;
}

/* Menu ------------------------------------------------------------------ */
.menu-section { padding: 100px 0; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1;
}

.menu-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.menu-card ul { list-style: none; }

.menu-card > ul > li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--cream-dark);
  color: var(--coffee-light);
  font-size: 16px;
}

.menu-card > ul > li:last-child { border-bottom: none; }

.menu-card .parent-item {
  font-weight: 600;
  color: var(--coffee) !important;
}

.sub-list {
  margin-top: 10px;
  padding-left: 16px;
  border-left: 2px solid var(--raspberry);
}

.sub-list li {
  padding: 5px 0 !important;
  font-size: 15px;
  color: var(--coffee-light);
  font-weight: 400;
  border: none !important;
}

/* Story ----------------------------------------------------------------- */
.story-section {
  padding: 100px 0;
  background: var(--cream-dark);
}

.story-inner {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

.story-section h2 {
  margin: 12px 0 32px;
}

.story-section p {
  font-size: 18px;
  color: var(--coffee-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Ordering -------------------------------------------------------------- */
.ordering-section {
  padding: 90px 0;
  text-align: center;
}

.cart-emoji {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 16px;
}

.ordering-inner h2 { margin-bottom: 20px; }

.ordering-inner p {
  font-size: 18px;
  color: var(--coffee-light);
  margin-bottom: 12px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.ordering-inner .callout {
  margin-top: 22px;
  font-size: 17px;
  color: var(--coffee);
}

.ordering-inner .callout a {
  color: var(--raspberry);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--raspberry);
  padding-bottom: 1px;
}

.ordering-inner .callout a:hover {
  background: var(--raspberry);
  color: var(--cream);
}

/* Visit ----------------------------------------------------------------- */
.visit-section {
  padding: 100px 0;
  background: var(--coffee);
  color: var(--cream);
}

.visit-section .eyebrow { color: var(--butter); }
.visit-section h2 { color: var(--cream); }

.visit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.visit-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.visit-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  margin-bottom: 18px;
  color: var(--cream);
  font-weight: 600;
}

.visit-card p {
  margin-bottom: 12px;
  line-height: 1.6;
  color: var(--cream);
  opacity: 0.92;
}

.visit-card a {
  color: var(--butter);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.visit-card a:hover { border-bottom-color: var(--butter); }

/* Hours list */
.hours-list { list-style: none; }

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
}

.hours-list li:last-child { border-bottom: none; }

.hours-list span:first-child { color: var(--cream); }

.hours-list span:last-child {
  font-weight: 500;
  color: var(--butter);
  font-variant-numeric: tabular-nums;
}

.hours-list .hours-tbd {
  font-style: italic;
  opacity: 0.65;
  color: var(--cream) !important;
  font-weight: 400;
}

.hours-list li.closed { opacity: 0.55; }
.hours-list li.closed span:last-child { color: var(--cream); }

/* Facebook badge */
.fb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 18px;
  background: var(--butter);
  color: var(--coffee) !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border-bottom: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fb-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(232, 181, 71, 0.35);
  border-bottom: none !important;
}

/* Footer ---------------------------------------------------------------- */
.site-footer {
  padding: 36px 0;
  background: var(--coffee);
  color: var(--cream);
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer p {
  margin-bottom: 4px;
  opacity: 0.8;
}

.site-footer .footer-tagline {
  color: var(--butter);
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
  opacity: 1;
  font-size: 15px;
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 720px) {
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 14px; }
  .brand { font-size: 19px; }
  .hero { padding: 70px 0 90px; }
  .menu-section,
  .story-section,
  .ordering-section,
  .visit-section { padding: 70px 0; }
  .menu-card { padding: 28px 24px; }
  .visit-card { padding: 28px 24px; }
}

@media (max-width: 420px) {
  .header-inner { padding: 14px 18px; }
  .container { padding: 0 18px; }
  .hero h1 { font-size: clamp(40px, 12vw, 60px); }
  .btn { padding: 12px 22px; font-size: 14px; }
}
