/* Sweet Home Bakery
   Tone: a paper board propped against the till. Warm, unhurried, a little
   hand-written. The whole design is one idea: the board is the page. A bakery
   that sells out by noon is not selling a brand, it is telling you what is left
   and when to come, so the menu and the hours are the first screen and the order
   action never leaves the thumb.
   Type: Fraunces for display, because its soft axis and wonky italic read as
   hand-cut rather than corporate, and Archivo for anything a person has to scan
   quickly. Neither is used anywhere else in this workspace.
   Palette: #fdf6ec proof cloth, #3a2418 crust, #8c2f39 the cranberry in the pie. */

:root{
  --bg:#fdf6ec;
  --paper:#fffdf8;
  --ink:#3a2418;
  --ink-soft:#7a604d;
  --line:#e0cdb0;
  --accent:#8c2f39;
  --accent-ink:#fdf6ec;
  --thumb-h:0px;
  --display:"Fraunces",Georgia,"Times New Roman",serif;
  --body:"Archivo","Helvetica Neue",Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:400 17px/1.6 var(--body);-webkit-font-smoothing:antialiased;padding-bottom:var(--thumb-h)}
img{max-width:100%;display:block}
h1,h2,.wordmark,.price,.board-head h2{font-family:var(--display);font-optical-sizing:auto;font-weight:600;letter-spacing:-.015em}
a{color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:2px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
section{padding:0 clamp(18px,5vw,56px)}

/* ---------- masthead ---------- */
.mast{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 24px;padding:clamp(18px,3vw,26px) clamp(18px,5vw,56px);border-bottom:1px solid var(--line)}
.wordmark{font-size:clamp(1.5rem,3.4vw,2rem);line-height:.95;text-decoration:none;font-weight:700}
.wordmark span{display:block;font-size:.62em;letter-spacing:.16em;text-transform:uppercase;font-family:var(--body);font-weight:500;color:var(--accent);margin-top:.35em}
.mast-hours{margin:0;font-size:.95rem;color:var(--ink-soft);flex:1 1 auto;text-align:center}
.mast-order{font-family:var(--body);font-weight:600;font-size:.95rem;text-decoration:none;background:var(--accent);color:var(--accent-ink);padding:12px 20px;border-radius:999px;min-height:44px;display:inline-flex;align-items:center}
.mast-order:hover{background:#6f2029}

/* ---------- hero ---------- */
.hero{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(24px,4vw,56px);align-items:center;padding-top:clamp(28px,4vw,52px);padding-bottom:clamp(28px,4vw,52px);max-width:1180px;margin:0 auto}
.hero-photo img{width:100%;height:clamp(240px,38vw,440px);object-fit:cover;border:1px solid var(--line)}
.hero h1{font-size:clamp(2.2rem,5.4vw,3.9rem);line-height:1.02;margin:0 0 .5em}
.hero-words p{color:var(--ink-soft);max-width:44ch;margin:0 0 1em;font-size:1.06rem}
.hero-sign{font-family:var(--display);font-style:italic;font-size:1.15rem;color:var(--ink)}

/* ---------- the board ----------
   A price list read across a counter, so the dots run the eye from the thing to
   the number the way a printed menu does, and the number is set in the display
   face at a size you can see from the door. */
.board{max-width:1180px;margin:0 auto;padding-top:clamp(32px,5vw,64px);padding-bottom:clamp(32px,5vw,64px);border-top:2px solid var(--ink)}
.board-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;margin-bottom:clamp(20px,3vw,32px)}
.board-head h2{font-size:clamp(1.9rem,4vw,2.8rem);margin:0}
.board-when{margin:0;color:var(--ink-soft);font-size:.98rem}
.board-list{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.board-list li{display:grid;grid-template-columns:auto 1fr auto;align-items:baseline;gap:0 12px;padding:16px 0;border-bottom:1px solid var(--line)}
.board-list .item{font-family:var(--display);font-size:clamp(1.15rem,2.2vw,1.45rem);font-weight:600}
.board-list .dots{border-bottom:2px dotted var(--line);transform:translateY(-.24em)}
.board-list .price{font-family:var(--display);font-size:clamp(1.15rem,2.2vw,1.45rem);font-weight:700;font-variant-numeric:tabular-nums;color:var(--accent)}
.board-list .say{grid-column:1/-1;color:var(--ink-soft);font-size:.96rem;margin-top:4px;max-width:52ch}
.board-list .out{grid-column:1/-1;justify-self:start;margin-top:8px;font-family:var(--body);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600;border:1px solid var(--accent);color:var(--accent);padding:4px 9px;border-radius:2px}
.board-list .is-out .item,.board-list .is-out .price{color:var(--ink-soft);text-decoration:line-through;text-decoration-thickness:1px}
.board-note{margin:clamp(20px,3vw,28px) 0 0;color:var(--ink-soft);font-size:.98rem}

/* ---------- pies ---------- */
.pies{background:var(--accent);color:var(--accent-ink);padding-top:clamp(40px,6vw,80px);padding-bottom:clamp(40px,6vw,80px)}
.pies-inner{max-width:1180px;margin:0 auto}
.pies h2{font-size:clamp(1.9rem,4.4vw,3rem);margin:0 0 .4em;max-width:16ch;line-height:1.04}
.pies-cut{font-family:var(--display);font-style:italic;font-size:clamp(1.15rem,2.4vw,1.5rem);margin:0 0 1em}
.pies p{max-width:52ch;color:#f3dcd7}
.pies-act{margin-top:1.6em}
.btn{display:inline-flex;align-items:center;min-height:48px;background:var(--accent-ink);color:var(--accent);font-family:var(--body);font-weight:600;text-decoration:none;padding:12px 26px;border-radius:999px}
.btn:hover{background:#fff}

/* ---------- where ---------- */
.where{max-width:1180px;margin:0 auto;padding-top:clamp(40px,6vw,72px);padding-bottom:clamp(40px,6vw,72px)}
.where-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,64px)}
.where h2{font-size:clamp(1.7rem,3.4vw,2.4rem);margin:0 0 .6em}
.addr{margin:0 0 .6em;font-size:1.1rem;line-height:1.5}
.tel a{font-family:var(--display);font-size:clamp(1.5rem,3.4vw,2.2rem);font-weight:700;color:var(--accent);text-decoration:none;font-variant-numeric:tabular-nums}
.tel a:hover{text-decoration:underline}
.hours{border-collapse:collapse;width:100%;font-size:1.02rem}
.hours th,.hours td{text-align:left;padding:14px 0;border-bottom:1px solid var(--line);font-weight:400}
.hours th{color:var(--ink)}
.hours td{text-align:right;color:var(--ink-soft);font-variant-numeric:tabular-nums}

/* ---------- order ---------- */
.order{background:var(--paper);border-top:1px solid var(--line);padding-top:clamp(40px,6vw,80px);padding-bottom:clamp(40px,6vw,80px)}
.order-grid{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,4fr) minmax(0,6fr);gap:clamp(24px,4vw,64px)}
.order h2{font-size:clamp(1.8rem,3.8vw,2.6rem);margin:0 0 .5em;line-height:1.05}
.order-lead p{color:var(--ink-soft);max-width:38ch}
.order-form{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;margin:0}
.f{margin:0}
.f-wide{grid-column:1/-1}
.order-form label{display:block;font-size:.76rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600;color:var(--ink-soft);margin-bottom:7px}
.order-form input,.order-form textarea{width:100%;font:400 1rem/1.5 var(--body);color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:3px;padding:13px 14px}
.order-form input:focus,.order-form textarea:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.order-form button{font:600 1rem var(--body);background:var(--ink);color:var(--bg);border:0;border-radius:999px;padding:15px 34px;min-height:48px;cursor:pointer}
.order-form button:hover{background:var(--accent)}
.status{grid-column:1/-1;margin:0;font-size:.98rem;color:var(--accent);max-width:52ch}

/* ---------- foot ---------- */
.foot{padding:clamp(32px,5vw,56px) clamp(18px,5vw,56px);border-top:1px solid var(--line);color:var(--ink-soft);font-size:.96rem}
.foot-mark{font-family:var(--display);font-size:1.3rem;color:var(--ink);margin:0 0 .3em;font-weight:600}
.foot p{margin:0}

/* ---------- the thumb bar ----------
   The one thing the caption on the studio page promises: the order action never
   leaves the thumb. Phones only, because on a laptop the masthead button is
   already in reach and a fixed bar would just eat the page. */
.thumb{display:none}
@media (max-width:760px){
  .hero,.where-grid,.order-grid{grid-template-columns:1fr}
  /* The plate on the studio page says the menu and the hours are the whole first
     screen. They were not: the board's top edge landed at 814px on a 812px
     screen, so a phone saw a photograph and a headline and no prices at all.
     The photo comes down to a band, the hero tightens, and the board heading and
     the first loaf now sit above the fold where the caption promised them. */
  .hero{padding-top:18px;padding-bottom:18px;gap:18px}
  .hero-photo img{height:150px}
  .hero h1{font-size:1.95rem}
  .hero-words p{font-size:1rem;margin-bottom:.7em}
  .board{padding-top:22px}
  .board-head{margin-bottom:14px}
  .hero-words p,.order-lead p{max-width:none}
  .mast{justify-content:flex-start}
  .mast-hours{flex:1 1 100%;text-align:left;order:3}
  .mast-order{display:none}
  .order-form{grid-template-columns:1fr}
  .board-list li{grid-template-columns:1fr auto}
  .board-list .dots{display:none}
  :root{--thumb-h:74px}
  .thumb{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:98;gap:10px;padding:11px clamp(14px,4vw,20px);padding-bottom:calc(11px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line)}
  .thumb a{flex:1;display:inline-flex;align-items:center;justify-content:center;min-height:50px;font:600 1.02rem var(--body);text-decoration:none;background:var(--accent);color:var(--accent-ink);border-radius:999px}
  .thumb .thumb-call{flex:0 0 32%;background:transparent;color:var(--ink);border:1px solid var(--line)}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
