/* ═══════════════════════════════════════════════════════════════════════════
   Pho District Cafe — built from the skeleton (SKEL-1). The mechanical layer above
   the marked line is the house skeleton, unchanged except for the filled :root
   palette. Per-business styles are below the marked line.
═══════════════════════════════════════════════════════════════════════════ */

@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{
  /* PALETTE — read off their own world (PAL-1).
     ground  warm cream  = the paper stock of their 2026 menu booklet (img129, img344) and
                           the printed menu cover ground (img246)
     ink     deep green  = the fascia lozenge behind their sign (img001), the wainscot band
                           around the room (img230, img264), the booklet cover (img355, img360)
     muted   green-grey  = the wainscot in shade
     line    paper rule  = the booklet's printed frames
     panel   deeper paper
     action  signal red  = the fascia script and logo crest (img001, img241, img246) and the
                           wall rosettes (img251). POP-3's boldest member, CTAs only. */
  --ground:#FAF4E8;
  --ink:#16281E;          /* the ONE dark hue */
  --muted:#4F5F52;
  --line:#DDD2BA;
  --panel:#F2E9D6;
  --action:#C0201B;
  --action-dark:#96140F;
  --paper:#F3EBDA;        /* the cream that reads on the green band */
  /* semantic, never brand: clear green open, clear red closed, on every site */
  --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;
}

/* ---------- reset. height:auto IS THE RULE (the stretched-image bug). */
*{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);}
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;}

/* ---------- sticky header — wordmark LEFT, the one CTA button RIGHT at every width. */
.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:15px;
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;min-width:44px;}
.site-nav a:hover{color:var(--ink);}
@media (min-width:900px){ .site-nav{display:flex;} }

/* ---------- buttons — real buttons: label at all widths, generous side padding. */
.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;}
/* POP-1 verified for this business: #C0201B against #ffffff = 6.06:1, #96140F = 8.74:1. */
.btn-primary{background:var(--action);color:#fff;}
.btn-primary:hover{background:var(--action-dark);}
.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;}
/* CTA-8: the button's label is never shortened — the wordmark shrinks first. */
@media (max-width:430px){
  .wordmark{font-size:17px;}
  .btn-header{padding:10px 15px;min-width:0;}
}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--action);outline-offset:2px;}

/* 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 line + ALWAYS-STACKED micro-table */
.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:15px;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 columns ---------- */
.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 ---------- */
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:14px;}
.site-footer a{display:inline-flex;align-items:center;min-height:44px;}

/* ═══════════════════════════════════════════════════════════════════════════
   PER-BUSINESS STYLES BELOW THIS LINE
═══════════════════════════════════════════════════════════════════════════ */

/* ---------- shared section furniture ---------- */
h2{font-size:clamp(25px,4.4vw,34px);margin:0 0 14px;}
.menu,.gallery,.about,.reviews,.faq,.final-cta{padding:34px 0 6px;}
.about,.reviews,.faq,.final-cta{padding-top:40px;}
p{margin:0 0 14px;}

/* ---------- hero photo ---------- */
.hero-photo img{border-radius:12px;border:1px solid var(--line);}
/* a full-width 4:5 hero is right on a phone and too tall on a tablet */
@media (min-width:600px) and (max-width:899px){ .hero-photo{max-width:440px;} }

/* ---------- proof strip (quiet: no band, no slab) ---------- */
.proof{padding:20px 0 4px;}
.proof-quote{margin:0;max-width:660px;border-left:3px solid var(--line);padding:2px 0 2px 16px;}
.proof-quote p{margin:0 0 6px;font-family:var(--display);font-weight:700;
  font-size:19px;line-height:1.35;}
.proof-quote cite{font-style:normal;font-size:14px;color:var(--muted);
  font-family:var(--display);font-weight:700;letter-spacing:.04em;}

/* ---------- menu ---------- */
.section-intro{color:var(--muted);max-width:44em;margin:0;}

/* THE SIGNATURE ELEMENT (SIG-1) and the page's ONE heavy band (BAND-1):
   their own 2026 menu booklet — a cream page inside a deep-green board, double-ruled —
   carrying the six dishes their booklet stars. Their green is the site's single dark hue. */
.fav-band{background:var(--ink);color:var(--paper);padding:30px 0 34px;margin:24px 0 38px;}
.fav-frame{border:1px solid rgba(243,235,218,.5);padding:8px;}
.fav-inner{border:1px solid rgba(243,235,218,.28);padding:22px 18px 18px;}
.fav-title{font-size:20px;letter-spacing:.2em;text-transform:uppercase;text-align:center;
  margin:0;color:var(--paper);}
.fav-rule{width:52px;height:2px;background:var(--paper);opacity:.6;margin:12px auto 4px;}
.fav-list{list-style:none;margin:12px 0 0;padding:0;}
@media (min-width:740px){ .fav-list{display:grid;grid-template-columns:1fr 1fr;column-gap:46px;} }
.fav-list li{display:flex;align-items:baseline;gap:10px;padding:10px 0;
  border-bottom:1px solid rgba(243,235,218,.14);}
.fav-name{font-family:var(--display);font-weight:700;font-size:16px;letter-spacing:.02em;}
.fav-lead{flex:1 1 auto;min-width:12px;border-bottom:1px dotted rgba(243,235,218,.55);
  transform:translateY(-5px);}
.fav-price{font-family:var(--display);font-weight:700;font-size:16px;white-space:nowrap;}

.menu-body{margin:0 0 10px;}
@media (min-width:900px){ .menu-body{column-count:2;column-gap:54px;} }
.menu-group{margin:0 0 30px;}
.menu-group-title{font-size:14px;letter-spacing:.16em;text-transform:uppercase;
  padding:0 0 8px;border-bottom:2px solid var(--line);margin:0 0 10px;
  break-after:avoid;-webkit-column-break-after:avoid;}
.menu-list{list-style:none;margin:0;padding:0;}
.menu-item,.menu-note,.menu-lead{break-inside:avoid;-webkit-column-break-inside:avoid;
  page-break-inside:avoid;}
.menu-item{padding:9px 0;border-bottom:1px solid var(--line);}
.mi-top{display:flex;align-items:baseline;gap:10px;margin:0;}
.mi-name{font-family:var(--display);font-weight:700;font-size:16px;letter-spacing:.02em;}
.mi-lead{flex:1 1 auto;min-width:12px;border-bottom:1px dotted var(--line);
  transform:translateY(-5px);}
.mi-price{font-family:var(--display);font-weight:700;font-size:16px;white-space:nowrap;}
.mi-desc{margin:4px 0 0;font-size:16px;line-height:1.4;color:var(--muted);}
.menu-lead{padding:6px 0 12px;}
.mi-desc-inline{font-size:16px;color:var(--muted);}
.menu-note{padding:10px 0;font-size:16px;line-height:1.45;color:var(--muted);}

/* the three marks their booklet prints as icons, written as words (info.md's own key) */
.tag{display:inline-block;margin-left:7px;padding:2px 7px;border-radius:20px;
  background:var(--panel);color:var(--muted);border:1px solid var(--line);
  font-family:var(--display);font-weight:700;font-size:13px;letter-spacing:.04em;
  text-transform:none;vertical-align:1px;white-space:nowrap;}
.fav-list .tag,.fav-name .tag{background:transparent;color:var(--paper);
  border-color:rgba(243,235,218,.45);}

/* PRICE-1: the menu IS this page's pricing section, so it carries its own CTA. */
.menu-cta{display:flex;margin:26px 0 4px;}
.menu-cta .btn{width:100%;}
@media (min-width:600px){ .menu-cta .btn{width:auto;} }

/* ---------- gallery ---------- */
.tile img{border-radius:10px;border:1px solid var(--line);width:100%;}

/* ---------- about ---------- */
.about p{font-size:18px;margin:0;max-width:38em;}

/* ---------- reviews ---------- */
.review-grid{display:grid;gap:16px;}
@media (min-width:700px){ .review-grid{grid-template-columns:1fr 1fr;} }
.review-card{background:var(--panel);color:var(--ink);border:1px solid var(--line);
  border-radius:12px;padding:20px 20px 16px;margin:0;}
.review-card p{margin:0 0 12px;font-size:17px;line-height:1.45;}
.review-card cite{font-style:normal;font-size:14px;color:var(--muted);
  font-family:var(--display);font-weight:700;letter-spacing:.04em;}

/* ---------- questions ---------- */
.qa{border-top:1px solid var(--line);max-width:46em;}
.qa:last-of-type{border-bottom:1px solid var(--line);}
.qa summary{font-family:var(--display);font-weight:700;font-size:18px;line-height:1.35;
  cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;
  min-height:52px;padding:6px 0;}
.qa summary::-webkit-details-marker{display:none;}
.qa summary::before{content:"";flex:none;width:9px;height:9px;border-right:2px solid var(--muted);
  border-bottom:2px solid var(--muted);transform:rotate(45deg);margin-bottom:3px;}
.qa[open] summary::before{transform:rotate(-135deg);margin-bottom:0;}
.qa p{margin:0 0 16px;padding-left:19px;font-size:17px;color:var(--muted);max-width:42em;}

/* ---------- the ask ---------- */
.final-cta{padding-bottom:8px;}
.final-cta .ask{font-size:19px;margin:0;max-width:38em;}
.final-cta .hero-cta{margin-top:16px;}

/* ---------- footer ---------- */
.footer-name{font-family:var(--display);font-weight:700;font-size:17px;color:var(--ink);
  margin:0 0 10px;letter-spacing:-.01em;}
.footer-facts{display:grid;grid-template-columns:auto 1fr;gap:2px 16px;margin:0;
  align-items:center;}
.footer-facts dt{font-weight:500;}
.footer-facts dd{margin:0;}
.site-footer a{color:var(--muted);}
.site-footer a:hover{color:var(--ink);}
