/* Pat & Lorraine's Coffee Shop — pat-and-lorraines. Built from the house skeleton. */
@font-face{font-family:'Nunito';src:url('fonts/nunito-var.woff2?v=1') format('woff2-variations');
  font-weight:400 800;font-style:normal;font-display:swap;}
@font-face{font-family:'Rubik';src:url('fonts/rubik-var.woff2?v=1') format('woff2-variations');
  font-weight:300 600;font-style:normal;font-display:swap;}

:root{
  
  --ground:#FAF6F0;      /* whitewashed brick, exterior + interior walls (img005, img424) */
  --ink:#2B1D18;         /* the ONE dark hue: dark wood tables + the brown plate rim (img018, img053) */
  --muted:#6B564C;       /* weathered brown-grey, brick in shadow (img005) */
  --line:#E3D8C8;        /* the pale mortar line between the painted bricks */
  --panel:#F3EADB;       /* the cream stoneware plate body (img018, img053) */
  --action:#B5341F;      /* the oxide red of the trim, the door and the sign lettering (img248, img424, img043) */
  
  --open:#1B7F3B;
  --closed:#B0202F;
  --wrap:1080px;
  --display:'Nunito',system-ui,-apple-system,'Segoe UI',sans-serif;
  --body:'Rubik',system-ui,-apple-system,'Segoe UI',sans-serif;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}

body{
  background:var(--ground);color:var(--ink);
  font-family:var(--body);font-weight:400;font-size:17px;line-height:1.45;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block;}
a{color:var(--ink);}
/* anchor jumps must clear the sticky header (qa: sticky covers content) */
section[id]{scroll-margin-top:80px;}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px;}
h1,h2,h3{font-family:var(--display);font-weight:700;line-height:1.15;margin:0;letter-spacing:-.01em;}

.site-header{position:sticky;top:0;z-index:50;background:var(--ground);border-bottom:1px solid var(--line);}
.header-inner{max-width:var(--wrap);margin:0 auto;padding:10px 20px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;}

.wordmark{font-family:var(--display);font-weight:700;font-size:20px;letter-spacing:-.02em;
  color:var(--ink);text-decoration:none;white-space:nowrap;
  display:inline-flex;align-items:center;min-height:44px;}

.site-nav{display:none;gap:26px;align-items:center;}
.site-nav a{color:var(--muted);text-decoration:none;font-size:16px;
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;min-width:44px;padding:0 4px;}
.site-nav a:hover{color:var(--ink);}
@media (min-width:900px){ .site-nav{display:flex;} }

.btn{display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--display);font-weight:700;font-size:16px;
  border-radius:8px;text-decoration:none;border:2px solid transparent;
  padding:12px 22px;min-height:44px;transition:background .18s ease,color .18s ease;}

.btn-primary{background:var(--action);color:#fff;}
.btn-primary:hover{background:color-mix(in srgb,var(--action) 78%,var(--ink));}
.btn-secondary{background:transparent;color:var(--action);border-color:var(--action);}
.btn-secondary:hover{background:color-mix(in srgb,var(--action) 8%,transparent);}
.btn-header{padding:10px 20px;font-size:15px;white-space:nowrap;min-width:120px;}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--action);outline-offset:2px;}

/* [§2.3] mobile: both hero CTAs span the full content width, stacked, primary first */
.hero-cta{display:flex;flex-direction:column;gap:10px;margin:18px 0 20px;}
.hero-cta .btn{width:100%;}
@media (min-width:600px){ .hero-cta{flex-direction:row;} .hero-cta .btn{width:auto;} }

.hours-status{display:flex;align-items:center;gap:8px;font-weight:700;margin:0 0 6px;}
.dot{width:10px;height:10px;border-radius:50%;background:var(--muted);flex:none;}
.dot.open{background:var(--open);}
.dot.closed{background:var(--closed);}
.hours-table{display:grid;grid-template-columns:auto auto;gap:2px 18px;justify-content:start;
  margin:0;font-size:16px;color:var(--muted);}
.hours-table dt{font-weight:500;}
.hours-table dd{margin:0;}

/* ---------- hero ---------- */
.hero{padding:22px 0 8px;}
.hero-grid{display:grid;gap:20px;}
@media (min-width:900px){ .hero-grid{grid-template-columns:1.05fr .95fr;align-items:center;gap:44px;}
  .hero{padding:34px 0 8px;} }
.eyebrow{font-family:var(--display);font-weight:700;font-size:12px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--muted);margin:0 0 10px;}
h1{font-size:clamp(28px,6.7vw,50px);margin:0 0 12px;}
.sub{font-size:18px;color:var(--muted);margin:0;max-width:34em;}

.gallery-grid{display:grid;grid-template-columns:1fr;gap:14px;}
@media (min-width:600px){ .gallery-grid{grid-template-columns:1fr 1fr;} }
@media (min-width:760px){ .gallery-grid{grid-template-columns:1fr 1fr 1fr;} }

/* ---------- reveal-on-scroll (script.js adds .visible; content visible without JS,
   and with ?noanim=1 or prefers-reduced-motion nothing moves) ---------- */
html.js .reveal{opacity:0;transform:translateY(14px);transition:opacity .3s ease,transform .3s ease;}
html.js .reveal.visible,html.js.noanim .reveal{opacity:1;transform:none;transition:none;}
@media (prefers-reduced-motion:reduce){ html.js .reveal{opacity:1;transform:none;transition:none;} }

/* ---------- footer ---------- */
.site-footer{border-top:1px solid var(--line);margin-top:48px;padding:22px 0 30px;
  color:var(--muted);font-size:16px;}
.site-footer a{display:inline-flex;align-items:center;min-height:44px;} /* qa: 44px tap floor */

/* ═══════════════════════════════════════════════════════════════════════════
   PER-BUSINESS STYLES BELOW THIS LINE — sections, cards, panels, the signature
   element, everything §3/§5 decides for THIS business. Written fresh each build.
═══════════════════════════════════════════════════════════════════════════ */

/* ---------- wordmark lockup: the adjudicated name in full, stacked so the whole
   name fits beside the header button at 375px (CTA-7 / CTA-8 / VOICE-2) ---------- */
.wordmark{flex-direction:column;align-items:flex-start;justify-content:center;line-height:1.05;gap:1px;}
.wm-1{font-size:17px;white-space:nowrap;}
.wm-2{font-family:var(--body);font-weight:500;font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);white-space:nowrap;}
@media (min-width:600px){ .wm-1{font-size:20px;} .wm-2{font-size:12px;} }

/* ---------- shared section rhythm ---------- */
section{padding:34px 0;}
.hero{padding:22px 0 10px;}
h2{font-size:clamp(24px,4.6vw,34px);margin:0 0 6px;}
h3{font-size:20px;}
p{margin:0 0 14px;}

/* ---------- first screen ---------- */
.hours{margin-top:4px;}
.hours-note{font-size:16px;color:var(--muted);margin:8px 0 0;}
.hero-photo img{border-radius:10px;}
.sub{font-size:20px;color:var(--muted);}

.proof{padding:20px 0 6px;}
.proof-quote{margin:0;border-left:3px solid var(--muted);padding-left:16px;}
.proof-quote p{font-family:var(--display);font-weight:700;font-size:clamp(19px,3.2vw,25px);
  line-height:1.3;margin:0 0 6px;}
.proof-quote cite{font-style:normal;font-size:16px;color:var(--muted);}

.menu h2{margin-bottom:14px;}

/* the signature element: the FAVORITES plate — their menu's own layout (cream stock,
   dot leaders, the sunburst painted on their pole sign) carrying the five dishes first */
.favorites{background:var(--panel);border:1px solid var(--line);
  border-radius:12px;padding:20px 20px 16px;margin:0 0 34px;max-width:620px;}
.favorites .sunburst{display:inline-flex;vertical-align:-4px;margin-right:8px;}
.favorites h3{font-size:15px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted);margin:0 0 14px;display:flex;align-items:center;}
.fav-list{list-style:none;margin:0;padding:0;}
.fav-list li{display:grid;grid-template-columns:1fr auto;column-gap:10px;align-items:baseline;
  padding:11px 0;border-bottom:1px dotted var(--line);}
.fav-list li:last-child{border-bottom:0;}
.fav-list .i-name{font-family:var(--display);font-weight:700;font-size:19px;}
.fav-list .i-price{font-family:var(--display);font-weight:700;font-size:19px;white-space:nowrap;}

/* the fuller list */
.menu-day{margin:0 0 26px;}
.day-head{font-size:clamp(21px,3.4vw,27px);color:var(--ink);
  border-bottom:2px solid var(--line);padding-bottom:8px;margin:0 0 16px;}
.menu-cols{display:grid;grid-template-columns:1fr;gap:16px;}
@media (min-width:760px){ .menu-cols{grid-template-columns:1fr 1fr;align-items:start;} }
.menu-card{background:var(--panel);border:1px solid var(--line);border-radius:10px;
  padding:16px 18px;}
@media (min-width:760px){ .menu-card-wide{grid-column:1 / -1;} }
.menu-card h4{font-family:var(--display);font-weight:700;font-size:17px;margin:0 0 8px;
  letter-spacing:-.01em;}
.menu-card h4 .h-price{color:var(--muted);font-size:16px;}
.m-note{font-size:16px;line-height:1.45;color:var(--muted);margin:0 0 10px;max-width:66ch;}
.m-list{margin:0;padding:0 0 0 0;list-style:none;counter-reset:mi;}
ol.m-list{counter-reset:mi;}
.m-list li{display:grid;grid-template-columns:1fr auto;column-gap:10px;align-items:baseline;
  padding:7px 0;border-bottom:1px dotted var(--line);font-size:16px;line-height:1.45;}
.m-list li:last-child{border-bottom:0;}
ol.m-list li{counter-increment:mi;}
ol.m-list .i-name::before{content:counter(mi) ". ";color:var(--muted);}
.i-name{min-width:0;}
.i-price{white-space:nowrap;font-weight:500;}
.i-desc{grid-column:1 / -1;font-size:16px;line-height:1.45;color:var(--muted);margin-top:2px;max-width:66ch;}
@media (min-width:900px){ .m-list-2col{columns:2;column-gap:28px;}
  .m-list-2col li{break-inside:avoid;} }
.m-strip{font-size:16px;line-height:1.5;color:var(--ink);max-width:66ch;border:1px dashed var(--line);
  border-radius:8px;padding:12px 16px;margin:18px 0 0;}
.menu-foot{font-size:16px;color:var(--muted);margin:6px 0 18px;}
.menu-cta{margin:0;}
.menu-cta .btn{width:100%;}
@media (min-width:600px){ .menu-cta .btn{width:auto;} }

/* ---------- gallery ---------- */
.gallery-grid img{border-radius:10px;width:100%;}

/* ---------- about ---------- */
.about-grid{display:grid;gap:20px;}
@media (min-width:900px){ .about-grid{grid-template-columns:1fr 1fr;align-items:center;gap:40px;} }
.about p{font-size:18px;max-width:34em;}
.about-photo img{border-radius:10px;}

/* ---------- reviews ---------- */
.review-grid{display:grid;grid-template-columns:1fr;gap:14px;margin-top:14px;}
@media (min-width:600px){ .review-grid{grid-template-columns:1fr 1fr;} }
@media (min-width:900px){ .review-grid{grid-template-columns:1fr 1fr 1fr;} }
.review-card{margin:0;background:var(--panel);border:1px solid var(--line);border-radius:10px;
  padding:18px 20px;}
.review-card p{font-size:17px;line-height:1.45;margin:0 0 10px;}
.review-card cite{font-style:normal;font-size:16px;color:var(--muted);}

/* ---------- questions ---------- */
.faq details{border-bottom:1px solid var(--line);}
.faq summary{cursor:pointer;list-style:none;font-family:var(--display);font-weight:700;
  font-size:17px;padding:14px 30px 14px 0;position:relative;min-height:44px;
  display:flex;align-items:center;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:"";position:absolute;right:6px;top:50%;width:9px;height:9px;
  border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);
  transform:translateY(-70%) rotate(45deg);}
.faq details[open] summary::after{transform:translateY(-30%) rotate(225deg);}
.faq details p{font-size:16px;margin:0 0 16px;max-width:38em;}

/* ---------- final CTA — the ask only ---------- */
.final-cta{border-top:1px solid var(--line);padding-top:32px;}
.final-cta h2{margin-bottom:14px;}
.final-buttons{margin:0;}

/* ---------- footer ---------- */
.footer-name{font-family:var(--display);font-weight:700;font-size:16px;color:var(--ink);
  margin:0 0 6px;}
.footer-facts{display:grid;grid-template-columns:auto 1fr;gap:0 16px;margin:0;
  align-items:center;}
.footer-facts dt{font-weight:500;}
.footer-facts dd{margin:0;}

/* a two-value price does not fit beside a long dish name on a phone: give it its own line */
@media (max-width:599px){
  .m-list .i-price.wide{grid-column:1 / -1;margin-top:2px;font-size:16px;}
}

/* no single short word left alone on a last line (WRAP-1), applied where the text wraps */
h1,h2,h3,.faq summary,.sub,.proof-quote p,.review-card p,.about p,.faq details p,
.i-name,.i-desc,.m-note,.m-strip,.menu-foot,.hours-note{text-wrap:pretty;}
