/* Test Vague Bakery — warm, soft light theme (cream + chocolate). Accent drives links/buttons/accents. */
:root {
  --accent: #6b3f1d;       /* chocolate brown — links/buttons/accents; ~8.1:1 as text on --bg */
  --on-accent: #fff8ef;    /* warm-white text used on top of the accent (buttons, ribbon); ~8.5:1 on --accent */
  --bg: #faf4ea;           /* warm cream page background */
  --ink: #3d2817;          /* espresso body text — ~12.7:1 on --bg */
  --card: #fffdf9;         /* cards, inputs, pills — warm near-white */
  --muted: #6b5d4f;        /* secondary text — ~5.8:1 on --bg, ~6.3:1 on --card, ~5.3:1 on tint */
  --line: #e7dccb;         /* subtle warm borders */
  --err: #a82c1a;          /* form error — ~6.3:1 on --bg, ~5.7:1 on tint */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font: 16px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 1.2rem; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.mt { margin-top: 1.6rem; }
a { color: var(--accent); }

/* visible keyboard focus */
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
main:focus, main:focus-visible { outline: none; }

/* skip link — hidden until focused */
.skip-link { position: absolute; left: 12px; top: -56px; z-index: 10000; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; padding: .6rem 1rem; border-radius: 8px; transition: top .15s ease; }
.skip-link:focus { top: 12px; }

/* preview ribbon (prospect preview only) — small, tucked into the top-right corner */
.rsw-preview-ribbon { position: fixed; top: 9px; right: -38px; width: 128px; text-align: center; transform: rotate(45deg); background: var(--accent); color: var(--on-accent); font: 800 .58rem/1.75 "Segoe UI", system-ui, sans-serif; letter-spacing: .14em; text-indent: .14em; z-index: 9999; pointer-events: none; box-shadow: 0 2px 9px rgba(61, 40, 23, .28); }

/* header */
.top { position: sticky; top: 0; background: rgba(250, 244, 234, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 10; }
.bar { display: flex; align-items: center; gap: 1.2rem; padding: .8rem 1.2rem; }
.brand { font-weight: 800; font-size: 1.05rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.nav { display: flex; gap: 1rem; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; }
.nav a:hover { color: var(--ink); }
.btn { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; padding: .55rem 1.1rem; border-radius: 10px; }
.btn:hover { filter: brightness(.92); }
.btn.big { padding: .8rem 1.5rem; font-size: 1.05rem; border-radius: 12px; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }

/* hero */
.hero { padding: 5.5rem 0 4rem; background:
  radial-gradient(760px 360px at 82% -12%, color-mix(in srgb, var(--accent) 12%, transparent), transparent),
  radial-gradient(520px 300px at -5% 112%, color-mix(in srgb, var(--accent) 8%, transparent), transparent); }
.kicker { font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; }
.tagline { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); margin: .9rem 0 1.6rem; max-width: 54ch; }
.cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hours-pill { display: inline-block; margin-top: 1.4rem; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1.1rem; font-size: .9rem; color: var(--muted); }

/* sections */
.section { padding: 4rem 0; }
.section.tint { background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 1rem; letter-spacing: -.01em; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }

/* range cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; margin-top: 1.4rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1.4rem 1.3rem; }
.card h3 { margin-bottom: .5rem; font-size: 1.08rem; color: var(--ink); }
.card p { color: var(--muted); font-size: .95rem; }

/* hours + contact */
.hours-block { white-space: pre-line; font-size: 1.05rem; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.3rem; display: inline-block; }
.eyebrow { margin-top: 1.8rem; color: var(--muted); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.phone-big { display: inline-block; margin-top: .15rem; font-size: clamp(1.9rem, 6vw, 2.7rem); font-weight: 800; letter-spacing: -.01em; color: var(--accent); text-decoration: none; }
.phone-big:hover { text-decoration: underline; }
.contact-line { font-size: 1.05rem; margin-top: 1.8rem; color: var(--muted); }
.contact-line a { text-decoration: none; font-weight: 700; }

/* contact / enquiry form */
.rsw-form { margin-top: 1.8rem; text-align: left; max-width: 560px; }
.rsw-form .field { margin-bottom: 1rem; }
.rsw-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--ink); }
.rsw-form input, .rsw-form textarea { width: 100%; font: inherit; color: var(--ink); padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.rsw-form input::placeholder, .rsw-form textarea::placeholder { color: var(--muted); opacity: 1; }
.rsw-form input:focus, .rsw-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.rsw-form textarea { resize: vertical; }
.rsw-form button { border: 0; cursor: pointer; margin-top: .3rem; }
/* Honeypot — kept out of view and off the tab order, but not display:none. */
.rsw-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: .8rem; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form-status.is-ok { color: var(--accent); }
.form-status.is-err { color: var(--err); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 2rem 0 2.4rem; background: var(--bg); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; justify-content: space-between; align-items: flex-start; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.foot-main { display: flex; flex-direction: column; gap: .15rem; }
.foot-name { font-weight: 800; color: var(--ink); font-size: 1rem; }
.foot-main a { color: var(--accent); text-decoration: none; font-weight: 700; }
.foot-main a:hover { text-decoration: underline; }
.foot-links { display: flex; gap: 1.2rem; }
.foot-links a { color: var(--muted); text-decoration: underline; }
.foot-links a:hover { color: var(--ink); }
.credit { width: 100%; padding-top: .9rem; margin-top: .4rem; border-top: 1px solid var(--line); color: var(--muted); }
.credit a { color: var(--muted); text-decoration: underline; }
.credit a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .nav { display: none; }
  /* trim the brand a touch so the top-right corner stays clear for the ribbon */
  .brand { font-size: .95rem; }
  .hero { padding: 3.5rem 0 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skip-link { transition: none; }
}

/* ============================================================
   POLICY PAGES  ·  /policies/privacy.html · terms.html · service-agreement.html
   Appended for the long-form policy pages only. Provides prose
   spacing (the global reset zeroes heading/paragraph margins) and
   a disclaimer callout. Everything is scoped under .policy so the
   home page is untouched. No inline styles are used anywhere
   (style-src 'self' forbids them).
   ============================================================ */
.policy .kicker { margin-bottom: .4rem; }
.policy h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em; }
.policy h2 { font-size: 1.15rem; margin-top: 2rem; margin-bottom: .35rem; letter-spacing: -.005em; color: var(--ink); }
.policy h3 { font-size: 1rem; margin-top: 1.3rem; margin-bottom: .3rem; color: var(--ink); }
.policy p { margin-top: .8rem; max-width: 68ch; }
.policy ul { max-width: 68ch; margin-top: .7rem; padding-left: 1.3rem; }
.policy li { margin-top: .35rem; }
.policy li::marker { color: var(--accent); }
.policy .meta { color: var(--muted); font-size: .9rem; }
.policy .disclaimer-note {
  max-width: 68ch; margin-top: 1.2rem; padding: .9rem 1.1rem;
  background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: 12px;
  color: var(--ink); font-size: .95rem;
}
.policy .back-row { margin-top: 2.6rem; }
