/* 404 Bakes - Bristol Vegan Bakery */
:root {
  --cream: #f8f4ec;
  --ink: #1c1c1a;
  --rose: #d38b7a;
  --sage: #7b8a6f;
  --gold: #b08b4f;
  --mute: #6c6658;
  --line: #e5dfd1;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lora', Georgia, serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rose); }

/* Header */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 18px 24px;
}
.nav-wrap {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900; font-size: 26px;
  letter-spacing: 0.02em;
}
.logo span { color: var(--rose); }
nav ul { list-style: none; display: flex; gap: 26px; flex-wrap: wrap; }
nav a {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
}
nav a.active { color: var(--rose); border-bottom: 2px solid var(--rose); padding-bottom: 2px; }
.menu-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

/* Hero */
.hero {
  padding: 80px 24px 60px; text-align: center;
  max-width: 1080px; margin: 0 auto;
}
.hero .kicker {
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 18px;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900; line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: var(--rose); }
.hero p.lede {
  font-size: 19px; color: var(--mute); max-width: 640px; margin: 0 auto 30px;
}
.btn {
  display: inline-block; padding: 14px 32px;
  background: var(--ink); color: var(--cream) !important;
  font-family: 'Inter', sans-serif; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  border-radius: 0; border: 2px solid var(--ink);
  transition: all .2s; cursor: pointer;
  min-height: 48px;
}
.btn:hover { background: var(--rose); border-color: var(--rose); color: white !important; }
.btn.outline { background: transparent; color: var(--ink) !important; }
.btn.outline:hover { background: var(--ink); color: var(--cream) !important; }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 64px 24px; }
.wrap { max-width: 1200px; margin: 0 auto; }
h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px); font-weight: 900;
  text-align: center; margin-bottom: 14px; letter-spacing: -0.01em;
}
h2.section-title em { font-style: italic; color: var(--rose); }
.section-sub {
  text-align: center; color: var(--mute); max-width: 640px;
  margin: 0 auto 48px; font-size: 17px;
}

/* Grid cards */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: white; border: 1px solid var(--line);
  overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(28,28,26,.08); }
.card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.card .body { padding: 20px 22px 24px; }
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; margin-bottom: 8px;
}
.card .price {
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: var(--rose); font-weight: 600;
  letter-spacing: 0.08em;
}
.card .desc { color: var(--mute); font-size: 15px; margin-top: 6px; }

/* Feature split */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 54px;
  align-items: center; padding: 32px 0;
}
.split img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.split.reverse > :first-child { order: 2; }
.split h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px,4vw,42px); margin-bottom: 18px; letter-spacing: -0.01em; }
.split h2 em { font-style: italic; color: var(--rose); }
.split p { color: var(--ink); margin-bottom: 16px; font-size: 17px; }

/* Testimonial */
blockquote.quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 32px); font-style: italic;
  text-align: center; max-width: 820px; margin: 0 auto;
  line-height: 1.4; color: var(--ink);
  padding: 48px 24px; position: relative;
}
blockquote.quote::before { content: "\201C"; font-size: 120px; color: var(--rose); position: absolute; top: -10px; left: 50%; transform: translateX(-50%); line-height: 1; opacity: .3; font-family: serif; }
blockquote.quote cite {
  display: block; font-size: 13px; font-style: normal;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-top: 18px; color: var(--mute); font-family: 'Inter', sans-serif;
}

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item summary {
  cursor: pointer; font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; padding: 4px 0;
  list-style: none; position: relative; padding-right: 32px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 2px; color: var(--rose); font-size: 22px; transition: transform .2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 14px; color: var(--mute); }

/* Info cols */
.info-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: center; }
.info-cols h4 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--rose); letter-spacing: 0.02em; }
.info-cols p { font-size: 15px; color: var(--ink); }
.info-cols p strong { display: block; font-weight: 600; }

/* Feature list with bullets */
.feature-bullets { list-style: none; columns: 2; column-gap: 40px; }
.feature-bullets li { padding: 8px 0 8px 24px; position: relative; font-size: 15px; }
.feature-bullets li::before { content: '✦'; position: absolute; left: 0; color: var(--rose); }

/* Form */
form.contact-form { max-width: 600px; margin: 0 auto; display: grid; gap: 16px; }
form.contact-form input, form.contact-form textarea {
  border: 1px solid var(--line); background: white;
  padding: 14px 16px; font-family: inherit; font-size: 15px;
  min-height: 48px; border-radius: 0; color: var(--ink);
}
form.contact-form input:focus, form.contact-form textarea:focus {
  outline: none; border-color: var(--rose);
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
form.contact-form button { border: 0; cursor: pointer; }

/* Hero image band */
.hero-img {
  width: 100%; height: clamp(280px, 50vw, 560px);
  object-fit: cover; object-position: center;
}

/* Accent bg */
.accent-bg { background: #efe7d6; }
.ink-bg { background: var(--ink); color: var(--cream); }
.ink-bg h2, .ink-bg h2 em { color: var(--cream); }
.ink-bg h2 em { color: var(--rose); }
.ink-bg p { color: rgba(248,244,236,.75); }

/* Footer */
footer.site-footer {
  background: var(--ink); color: var(--cream);
  padding: 70px 24px 40px; margin-top: 64px;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
}
.footer-grid h5 {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose);
  margin-bottom: 14px;
}
.footer-grid p, .footer-grid a, .footer-grid li { color: rgba(248,244,236,.75); font-size: 15px; }
.footer-grid a:hover { color: var(--rose); }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid .brand-block h4 { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--cream); margin-bottom: 10px; }
.footer-grid .brand-block p { max-width: 320px; }
.footer-base {
  max-width: 1200px; margin: 44px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(248,244,236,.14);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: rgba(248,244,236,.55);
}

/* Floating CTA mobile */
.fab-cta {
  display: none; position: fixed; bottom: 18px; right: 18px; z-index: 90;
  background: var(--rose); color: white !important;
  padding: 14px 22px; font-family: 'Inter', sans-serif; font-size: 13px;
  font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 40px; box-shadow: 0 8px 24px rgba(211,139,122,.5);
  min-height: 48px;
}

/* Mobile */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse > :first-child { order: 0; }
  .info-cols { grid-template-columns: 1fr; gap: 26px; }
  .feature-bullets { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .brand-block { grid-column: 1/-1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 48px 20px; }
  .hero { padding: 56px 20px 40px; }
  nav ul { display: none; flex-direction: column; width: 100%; gap: 10px; padding: 16px 0 0; }
  nav.open ul { display: flex; }
  .nav-wrap { flex-wrap: wrap; }
  .menu-toggle { display: block; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fab-cta { display: inline-block; }
}
