/* =============================================================================
   WEST END BAKERY, Guelph ON - blueprint recreation of food/sundayinbrooklyn
   -----------------------------------------------------------------------------
   FONTS (chosen for this prospect, documented per protocol):
   - Young Serif (display): a warm, rounded old-style serif. The blueprint's
     identity is high-contrast serif caps used as display typography; for a
     two-generation, from-scratch neighbourhood bakery the sharp editorial
     serif of a NYC restaurant would ring false. Young Serif keeps the serif
     caps idea but with soft, bread-like terminals that sit naturally next to
     the hand-painted arch of their real logo. (Fraunces is banned; this is
     not it.)
   - Karla (details/body): the blueprint pairs its serif with a tiny,
     utilitarian sans for nav, addresses and times. Karla is a humanist
     grotesque that stays friendly and legible letter-spaced in small caps,
     matching the bakery's plain-spoken voice.
   PALETTE (prospect siteScheme drives surfaces; logo colours are accents):
   - Ground #fbf8f1: the blueprint is ink-on-white with all warmth in the
     photos; the prospect's real site canvas is warm cream #f2ead2 (light,
     coherent), so the ground is white warmed toward their cream.
   - Band #f2ead2: their exact site cream, used for the order band.
   - Ink #2a2118: warm near-black.
   - ONE accent #ad4708: the logo's burnt orange (#f4803c / brandStrong
     #c9510b) deepened until it clears WCAG AA as text on the cream ground
     and as a button fill. Blueprint law: exactly one accent colour. The
     logo's berry red #da4e60 is deliberately unused.
   - The short accent rule under display headings is the page's repeated
     typographic motif (the blueprint's "one idea used twice").
   ========================================================================== */

:root {
  --paper: #fbf8f1;
  --band: #f2ead2;
  --ink: #2a2118;
  --ink-soft: #5c5044;
  --accent: #ad4708;
  --serif: "Young Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Karla", "Segoe UI", Arial, sans-serif;
  --wrap: 1080px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

html { background: var(--paper); }
body {
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.16vw, 1.0625rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

/* ---------- shared display treatment ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.15;
  margin: 0;
}
.rule {
  width: 72px;
  height: 3px;
  background: var(--accent);
  margin: 1.1rem auto 0;
}
.rule-sm { width: 40px; height: 2px; margin-top: 0.65rem; }

.btn {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
  border: 2px solid var(--accent);
  border-radius: 3px;
  padding: 0.8em 1.7em;
  cursor: pointer;
  color: var(--accent);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #8f3a06; border-color: #8f3a06; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: rgba(173, 71, 8, 0.08); }

/* ---------- header ---------- */
.site-header {
  text-align: center;
  padding: clamp(1.25rem, 3vw, 2.25rem) var(--gutter) 0;
}
.brand { display: inline-block; }
.brand img {
  width: clamp(120px, 14vw, 168px);
  height: auto;
  margin: 0 auto;
}
.tagline {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem clamp(1rem, 2.5vw, 2rem);
  padding: 1.1rem 0 1.35rem;
}
.site-nav a:not(.btn) {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 0.35em 0;
}
.site-nav a:not(.btn):hover { color: var(--accent); }
.btn-nav { padding: 0.55em 1.2em; font-size: 0.78rem; }

/* ---------- hero: full-bleed, no text ---------- */
.hero { width: 100%; }
.hero img {
  width: 100%;
  height: clamp(320px, 62vh, 640px);
  object-fit: cover;
}

/* ---------- location + hours ---------- */
.place {
  text-align: center;
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
  max-width: var(--wrap);
  margin: 0 auto;
}
.place-name { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.2rem); }
.place-line {
  margin: 1.4rem auto 0;
  max-width: 34em;
  color: var(--ink-soft);
}
.address {
  margin: 1rem auto 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.dayparts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin: clamp(2.25rem, 5vw, 3.5rem) 0;
}
.daypart { max-width: 24em; }
.daypart h2 { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.8rem); }
.daypart-days {
  margin: 0.9rem 0 0;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.daypart-note { margin: 0.35rem 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.order-note { margin: 1rem auto 0; color: var(--ink-soft); font-size: 0.95rem; max-width: 32em; }

/* ---------- offerings strip ---------- */
.treats {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(3rem, 7vw, 5rem);
  max-width: var(--wrap);
  margin: 0 auto;
  border-top: 1px solid #e4dac2;
}
.treats-title { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem); }
.tiles {
  list-style: none;
  margin: clamp(2rem, 5vw, 3.25rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  text-align: left;
}
.tile img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}
.tile h3 {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  margin: 1rem 0 0.3rem;
}
.tile p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.treats-more {
  margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
  max-width: 44em;
  color: var(--ink-soft);
}
.quote {
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  max-width: 34em;
}
.quote p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.35rem);
  line-height: 1.5;
  margin: 0;
}
.quote cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- order band ---------- */
.order-band {
  background: var(--band);
  padding: clamp(3rem, 7vw, 5rem) var(--gutter);
}
.order-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.order-band .display { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem); }
.order-lede { margin: 1.4rem auto 0; max-width: 36em; color: var(--ink-soft); }
.order-form { margin-top: 2.25rem; text-align: left; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { margin: 0 0 1rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.field .opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7em 0.85em;
  border: 1px solid #cbbfa2;
  border-radius: 3px;
  background: #fffdf8;
}
.field :is(input, select, textarea):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin: 1.4rem 0 0;
}
.honest-note {
  margin: 1.4rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.order-summary {
  margin-top: 2rem;
  text-align: left;
  background: #fffdf8;
  border: 1px solid #cbbfa2;
  border-radius: 4px;
  padding: 1.5rem;
}
.order-summary h3 {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1rem;
  margin: 0 0 0.7rem;
}
.order-summary p { margin: 0; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #f4eee2;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) 5.5rem;
}
.footer-logo { width: 96px; height: auto; margin: 0 auto; }
.footer-name {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 1rem 0 0;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 1.1rem;
}
.footer-social a {
  color: #f4eee2;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}
.footer-social a:hover { color: #f4a464; }
.footer-disclosure {
  margin: 1.75rem 0 0;
  font-size: 0.78rem;
  color: #b3a58f;
}

/* ---------- preview badge (toolkit classes, styled per prospect) ---------- */
.preview-badge {
  position: fixed;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 100;
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
}
.preview-badge a {
  text-decoration: none;
  padding: 0.5em 0.9em;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(42, 33, 24, 0.25);
}
.preview-badge-info { background: #fffdf8; color: var(--ink); }
.preview-badge-cta { background: var(--accent); color: #fff; font-weight: 700; }

/* ---------- mobile ---------- */
@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .tiles { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .hero img { height: clamp(300px, 55vh, 460px); }
  .dayparts { gap: 1.75rem; }
}
