/* Bloomflour — Cake recipes site */
:root {
  --bg: #FDF9F5;
  --surface: #FFFFFF;
  --ink: #2A211C;
  --muted: #6B5E54;
  --accent: #C45C6A;
  --accent-soft: #F3D6DA;
  --sage: #7A8F7A;
  --gold: #C9A66B;
  --border: #EDE4DB;
  --shadow: 0 8px 30px rgba(42, 33, 28, 0.07);
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 1100px;
  --header: 70px;
  --ease: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: #a84856; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.35rem;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header);
  background: rgba(253, 249, 245, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand em {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 1.9rem;
  list-style: none;
}

.nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 2px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--ease);
}

.nav a:hover::after,
.nav a.is-active::after { width: 100%; }

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

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 0.35rem;
}

.burger svg { width: 26px; height: 26px; }

.drawer {
  display: none;
  position: fixed;
  inset: var(--header) 0 0 0;
  background: var(--bg);
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 1.1rem;
  z-index: 99;
}

.drawer.open { display: flex; }

.drawer a {
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 500;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow var(--ease), background var(--ease);
}

.btn-main {
  background: var(--accent);
  color: #fff;
}

.btn-main:hover {
  background: #a84856;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 92, 106, 0.28);
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

/* Hero */
.hero {
  padding: 4.25rem 0 3.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.25rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}

.hero h1 { margin-bottom: 1rem; }

.hero-lead {
  font-size: 1.12rem;
  max-width: 30rem;
  margin-bottom: 1.85rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 5/4;
  object-fit: cover;
}

/* Sections */
.block { padding: 3.75rem 0; }

.block-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 2.6rem;
}

.block-head p { margin-top: 0.55rem; }

/* Recipe cards */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.6rem;
}

.recipe {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}

.recipe:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.recipe-img {
  aspect-ratio: 16/11;
  object-fit: cover;
  width: 100%;
  background: #f0e8e0;
}

.recipe-body { padding: 1.2rem 1.3rem 1.45rem; }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.chip {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  background: rgba(122, 143, 122, 0.14);
  color: var(--sage);
}

.chip.sweet { background: var(--accent-soft); color: var(--accent); }
.chip.time { background: rgba(201, 166, 107, 0.18); color: #8a7040; }

.recipe h3 { margin-bottom: 0.35rem; font-size: 1.22rem; }

.recipe-desc {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.recipe-stats {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* Value row */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value {
  text-align: center;
  padding: 1.85rem 1.2rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.value-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
}

.value h3 { margin-bottom: 0.4rem; font-size: 1.15rem; }
.value p { font-size: 0.92rem; margin-bottom: 0; }

/* Band */
.band {
  background: var(--ink);
  color: #fff;
  padding: 3.4rem 0;
  text-align: center;
}

.band h2 { color: #fff; margin-bottom: 0.7rem; }
.band p { color: rgba(255,255,255,0.78); max-width: 460px; margin: 0 auto 1.4rem; }

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.fbtn {
  padding: 0.48rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--ease);
}

.fbtn:hover,
.fbtn.on {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Inner page hero */
.page-top {
  padding: 2.75rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.4rem;
}

.page-top h1 { margin-bottom: 0.45rem; }

/* About */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: start;
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* FAQ */
.faq { max-width: 700px; margin: 0 auto; }

.faq-row { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 400;
}

.faq-row.open .faq-q::after { content: "−"; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.faq-row.open .faq-a { max-height: 380px; }

.faq-a-inner {
  padding: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-split {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 2.75rem;
}

.field { margin-bottom: 1.15rem; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea { min-height: 130px; resize: vertical; }

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.7rem; }

.note-box {
  background: rgba(122, 143, 122, 0.1);
  border-left: 3px solid var(--sage);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 1.4rem 0;
}

/* Footer */
.foot {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 3rem 0 1.4rem;
  margin-top: 3.5rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2.25rem;
}

.foot-brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 0.55rem;
}

.foot-brand em { color: var(--accent); font-style: italic; }

.foot-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.85rem;
}

.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 0.4rem; }
.foot-col a { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.foot-col a:hover { color: #fff; }

.foot-base {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.82rem;
}

.foot-legal { max-width: 480px; line-height: 1.5; }

/* Responsive */
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { order: -1; max-height: 300px; }
  .values { grid-template-columns: 1fr; }
  .about-split, .contact-split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .burger { display: block; }
  .hero { padding: 2.5rem 0 2rem; }
  .block { padding: 2.75rem 0; }
}