/* =========================================================
   Cafe 95 — Highway Cafe · Sandpoint, Idaho
   Retro-diner / route-sign design system
   ========================================================= */

:root{
  --red:#c4302b;
  --red-dk:#7a1714;
  --gold:#ffd24a;
  --gold-dk:#d9a92e;
  --cream:#fff4dd;
  --ink:#2a1410;
  --paper:#fbf1dc;
  --muted:#6a564a;
  --line:#d8c39a;

  --maxw:1120px;
  --nav-h:74px;

  --shadow-hard:5px 5px 0 var(--red);
  --shadow-soft:0 14px 30px rgba(0,0,0,.30);

  --f-display:'Anton', Impact, sans-serif;
  --f-head:'Oswald', 'Arial Narrow', sans-serif;
  --f-body:'DM Sans', system-ui, sans-serif;
  --f-script:'Pacifico', cursive;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--head-h, 150px) + 20px); overflow-x:clip; }
body{
  font-family:var(--f-body);
  background:var(--paper);
  color:var(--ink);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
}
img{ display:block; max-width:100%; }
a{ color:inherit; }

.wrap{ max-width:var(--maxw); margin:0 auto;
  padding-left:calc(24px + env(safe-area-inset-left, 0px));
  padding-right:calc(24px + env(safe-area-inset-right, 0px)); }
.center{ text-align:center; }

/* Skip link for accessibility */
.skip{ position:absolute; left:-9999px; top:0; background:var(--gold); color:var(--red-dk);
  padding:10px 16px; font-family:var(--f-head); font-weight:700; z-index:999; border-radius:0 0 8px 0; }
.skip:focus{ left:0; }

/* Visible focus states */
a:focus-visible, button:focus-visible{ outline:3px solid var(--ink); outline-offset:2px; border-radius:4px; }

/* ---------- Buttons ---------- */
.btn{ font-family:var(--f-head); font-weight:700; text-transform:uppercase; letter-spacing:.06em;
  font-size:15px; padding:14px 26px; border-radius:8px; text-decoration:none; display:inline-block;
  border:none; cursor:pointer; transition:transform .12s ease, box-shadow .12s ease; }
.btn-gold{ background:var(--gold); color:var(--red-dk); box-shadow:0 4px 0 var(--gold-dk); }
.btn-gold:hover{ transform:translateY(-2px); box-shadow:0 6px 0 var(--gold-dk); }
.btn-gold:active{ transform:translateY(2px); box-shadow:0 2px 0 var(--gold-dk); }
.btn-out{ background:transparent; color:var(--cream); border:2px solid var(--cream); }
.btn-out:hover{ background:var(--cream); color:var(--red-dk); }
.btn-red{ background:var(--red); color:var(--cream); box-shadow:0 4px 0 var(--red-dk); }
.btn-red:hover{ transform:translateY(-2px); box-shadow:0 6px 0 var(--red-dk); }

/* ---------- Top bar ---------- */
.topbar{ background:var(--red-dk); color:var(--gold); font-family:var(--f-head); font-weight:500;
  font-size:13px; letter-spacing:.08em; text-transform:uppercase; text-align:center; padding:8px 20px; }
.topbar a{ color:var(--gold); text-decoration:none; white-space:nowrap; }

/* Owner / "own this site" promo bar */
/* The whole top block sticks as one unit, so the bars can never overlap */
.topstack{ position:sticky; top:0; z-index:60; }
.ownbar{ background:var(--ink); color:var(--cream); font-family:var(--f-body);
  font-size:12.5px; letter-spacing:.02em; text-align:center;
  padding:11px 20px; line-height:1.35; }
.ownbar a{ color:var(--gold); text-decoration:none; font-weight:700; white-space:nowrap; }
.ownbar a:hover,.ownbar a:focus{ text-decoration:underline; }

/* ---------- Nav ---------- */
.nav{ background:var(--red); border-bottom:4px solid var(--red-dk); position:relative; z-index:50; }
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; height:var(--nav-h); }
.logo{ display:flex; align-items:center; gap:13px; text-decoration:none; }
.logo .plate{ width:56px; height:56px; border-radius:12px; background:var(--cream);
  display:flex; align-items:center; justify-content:center; box-shadow:0 3px 0 var(--red-dk); overflow:hidden; flex:none; }
.logo .plate img{ width:44px; height:44px; object-fit:contain; }
.logo .name{ font-family:var(--f-head); color:var(--gold); font-weight:600; font-size:11px;
  letter-spacing:.22em; text-transform:uppercase; line-height:1; }
.logo .name small{ display:block; font-family:var(--f-head); font-weight:600; font-size:11px;
  letter-spacing:.22em; color:var(--gold); }

/* Nav links live in the hamburger drawer at every screen size */
.nav-links{
  position:absolute; top:var(--nav-h); left:0; right:0; list-style:none;
  display:flex; flex-direction:column; align-items:stretch; gap:0;
  font-family:var(--f-head); font-weight:600; text-transform:uppercase; letter-spacing:.06em; font-size:15px;
  background:var(--red); border-bottom:4px solid var(--red-dk); padding:8px 0;
  max-height:0; overflow:hidden; transition:max-height .28s ease; box-shadow:var(--shadow-soft); z-index:49; }
.nav-links.open{ max-height:440px; }
.nav-links li{ border-top:1px solid rgba(255,255,255,.12); }
.nav-links li:first-child{ border-top:none; }
.nav-links a{ display:block; color:var(--cream); text-decoration:none; opacity:.95; padding:15px 24px;
  transition:color .12s, background .12s; }
.nav-links a:hover{ color:var(--gold); background:rgba(0,0,0,.10); }
.nav-links a.active{ color:var(--gold); background:rgba(0,0,0,.14); }
.nav-links a.cta{ background:var(--gold); color:var(--red-dk); margin:10px 24px; border-radius:6px;
  font-weight:700; box-shadow:0 3px 0 var(--gold-dk); text-align:center; opacity:1; }
.nav-links a.cta:hover{ background:var(--gold); color:var(--red-dk); }

.nav-toggle{ display:block; background:none; border:none; cursor:pointer; padding:8px; }
.nav-toggle span{ display:block; width:26px; height:3px; background:var(--cream); border-radius:2px; margin:5px 0;
  transition:transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* ---------- Checkerboard trim ---------- */
.checker{ height:22px; width:100%;
  background-image:
    linear-gradient(45deg,var(--red-dk) 25%,transparent 25%),
    linear-gradient(-45deg,var(--red-dk) 25%,transparent 25%),
    linear-gradient(45deg,transparent 75%,var(--red-dk) 75%),
    linear-gradient(-45deg,transparent 75%,var(--red-dk) 75%);
  background-size:22px 22px; background-position:0 0,0 11px,11px -11px,-11px 0; opacity:.5; }

/* ---------- Hero (home) ---------- */
.hero{ position:relative; background:var(--red); overflow:hidden; }
.hero .shield-wm{ position:absolute; top:50%; left:24px; transform:translateY(-54%) rotate(-8deg);
  width:300px; height:300px; opacity:.07; pointer-events:none; filter:brightness(0) invert(1); z-index:0; }
.hero .wrap{ position:relative; z-index:1; display:grid; grid-template-columns:1.05fr .95fr; gap:34px;
  align-items:center; padding:56px 22px 72px; }
.hero .eyebrow{ font-family:var(--f-head); font-weight:600; color:var(--gold); letter-spacing:.26em;
  text-transform:uppercase; font-size:13px; }
.hero h1{ font-family:var(--f-display); color:var(--cream); font-size:clamp(48px,8vw,78px); line-height:.86;
  text-transform:uppercase; margin:14px 0 0; text-shadow:4px 4px 0 var(--red-dk); }
.hero h1 .gold{ color:var(--gold); }
.hero p.lede{ color:#ffe6c0; font-size:17px; line-height:1.55; margin-top:18px; max-width:460px; }
.hero .btns{ display:flex; gap:14px; margin-top:26px; flex-wrap:wrap; }
.hero .photo{ position:relative; }
.hero .photo img{ border-radius:18px; border:5px solid var(--cream); box-shadow:var(--shadow-soft);
  aspect-ratio:4/3; object-fit:cover; width:100%; background:#a8231f; }
.starburst{ position:absolute; top:-22px; right:-12px; width:108px; height:108px; z-index:3;
  background:var(--gold); color:var(--red-dk); border-radius:50%;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  font-family:var(--f-display); transform:rotate(-12deg); box-shadow:0 6px 0 var(--gold-dk);
  border:3px dashed var(--red-dk); }
.starburst small{ font-family:var(--f-head); font-weight:600; font-size:10px; letter-spacing:.08em; }
.starburst b{ font-size:24px; line-height:.9; }
@media (max-width:820px){
  .hero .wrap{ grid-template-columns:1fr; text-align:center; padding:44px 22px 60px; }
  .hero .btns{ justify-content:center; }
  .hero p.lede{ margin-left:auto; margin-right:auto; }
  .hero .shield-wm{ display:none; }
  .hero .photo{ max-width:440px; margin:0 auto; }
}

/* ---------- Feature strip ---------- */
.strip{ background:var(--gold); border-top:4px solid var(--red-dk); border-bottom:4px solid var(--red-dk); }
.strip .wrap{ display:flex; justify-content:center; gap:18px 46px; flex-wrap:wrap; padding:16px 22px;
  font-family:var(--f-head); font-weight:600; text-transform:uppercase; letter-spacing:.1em;
  color:var(--red-dk); font-size:15px; }
.strip span{ display:flex; align-items:center; gap:9px; }
.strip .star{ color:var(--red); }

/* ---------- Section headings ---------- */
section{ padding:64px 0; }
.sec-head{ text-align:center; margin-bottom:40px; }
.sec-head .kicker{ font-family:var(--f-head); font-weight:600; color:var(--red); letter-spacing:.22em;
  text-transform:uppercase; font-size:13px; }
.sec-head h2{ font-family:var(--f-display); font-size:clamp(34px,5vw,46px); text-transform:uppercase;
  color:var(--ink); margin-top:8px; letter-spacing:.01em; }
.sec-head .rule{ width:70px; height:5px; background:var(--red); margin:16px auto 0; border-radius:3px; }

/* ---------- Home menu preview ---------- */
.menu-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.mcard{ background:#fff; border:3px solid var(--ink); border-radius:14px; padding:22px 24px;
  box-shadow:var(--shadow-hard); }
.mcard h3{ font-family:var(--f-display); text-transform:uppercase; font-size:22px; color:var(--red-dk);
  margin-bottom:14px; letter-spacing:.02em; }
.mrow{ display:flex; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1.5px dotted var(--line); }
.mrow:last-child{ border-bottom:0; }
.mrow .nm{ font-weight:700; }
.mrow .ds{ font-size:13px; color:var(--muted); font-weight:400; margin-top:2px; }
.mrow .pr{ font-family:var(--f-head); font-weight:700; color:var(--red); white-space:nowrap; }
.menu-note{ text-align:center; margin-top:26px; }
.tagchip{ display:inline-block; background:#ffe9b0; border:1.5px dashed var(--red); color:var(--red-dk);
  font-size:12px; font-family:var(--f-head); font-weight:600; letter-spacing:.04em; padding:5px 12px;
  border-radius:20px; margin-bottom:18px; }
@media (max-width:780px){ .menu-grid{ grid-template-columns:1fr; } }

/* ---------- Visit / hours (home + page) ---------- */
.visit{ background:var(--red); color:var(--cream); }
.visit .sec-head h2{ color:var(--cream); }
.visit .sec-head .kicker{ color:var(--gold); }
.visit .sec-head .rule{ background:var(--gold); }
.visit-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; align-items:start; }
.vcard{ background:var(--cream); color:var(--ink); border-radius:14px; padding:26px 28px;
  border:4px solid var(--red-dk); }
.vcard h3{ font-family:var(--f-display); text-transform:uppercase; font-size:22px; color:var(--red-dk); margin-bottom:16px; }
.hours-row{ display:flex; justify-content:space-between; padding:9px 0; border-bottom:1.5px dotted var(--line);
  font-family:var(--f-head); font-size:16px; }
.hours-row:last-child{ border-bottom:0; }
.hours-row.closed{ color:#9a4; opacity:.7; }
.hours-row.today{ background:#fff7e3; margin:0 -10px; padding:9px 10px; border-radius:6px; border-bottom:1.5px dotted var(--line); }
.hours-row b{ font-weight:700; }
.vcard .addr{ font-size:17px; line-height:1.7; }
.vcard .addr .big{ font-family:var(--f-head); font-weight:700; font-size:19px; }
.vcard .addr a{ color:var(--red); font-weight:600; text-decoration:none; }
.vcard .addr a:hover{ text-decoration:underline; }
@media (max-width:780px){ .visit-grid{ grid-template-columns:1fr; } }

/* ---------- Map ---------- */
.map-embed{ width:100%; border:0; border-radius:14px; height:360px; display:block;
  box-shadow:var(--shadow-soft); }

/* ---------- Photos ---------- */
.photos-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.photos-grid figure{ margin:0; }
.photos-grid img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:12px;
  border:4px solid var(--ink); box-shadow:var(--shadow-hard); background:#ddd; }
.photos-grid figcaption{ font-family:var(--f-head); font-weight:500; text-transform:uppercase;
  letter-spacing:.06em; font-size:12px; color:var(--muted); margin-top:8px; text-align:center; }
@media (max-width:780px){ .photos-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .photos-grid{ grid-template-columns:1fr; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero{ background:var(--red); color:var(--cream); text-align:center; padding:46px 22px 36px;
  position:relative; }
.page-hero h1{ font-family:var(--f-display); font-size:clamp(40px,7vw,60px); text-transform:uppercase;
  text-shadow:3px 3px 0 var(--red-dk); }
.page-hero p{ font-family:var(--f-head); font-weight:500; letter-spacing:.06em; color:#ffe6c0;
  margin-top:8px; font-size:16px; }
.page-hero .checker{ position:absolute; bottom:0; left:0; right:0; height:18px; }

/* =========================================================
   MENU PAGE
   ========================================================= */
.jump{ background:var(--gold); border-bottom:3px solid var(--red-dk); position:sticky; top:var(--head-h, 156px); z-index:40; }
.jump .wrap{ display:flex; flex-wrap:wrap; gap:8px 18px; justify-content:center; padding:12px 22px;
  font-family:var(--f-head); font-weight:600; text-transform:uppercase; letter-spacing:.05em; font-size:13px; }
.jump a{ color:var(--red-dk); text-decoration:none; padding:3px 4px; border-bottom:2px solid transparent; }
.jump a:hover{ border-color:var(--red-dk); }

.menu-main{ padding-top:30px; padding-bottom:50px; }
.menu-section{ margin-top:46px; }
.menu-section:first-child{ margin-top:24px; }

/* Meal banner (Breakfast / Lunch dividers) */
.meal-banner{ display:flex; align-items:center; gap:18px; margin:54px 0 6px; }
.meal-banner:first-child{ margin-top:14px; }
.meal-banner h2{ font-family:var(--f-display); text-transform:uppercase; color:var(--red);
  font-size:clamp(40px,7vw,64px); line-height:.9; letter-spacing:.01em; text-shadow:3px 3px 0 rgba(122,23,20,.18); }
.meal-banner .line{ flex:1; height:5px; background:repeating-linear-gradient(90deg,var(--red) 0 16px,transparent 16px 26px); border-radius:3px; }
.meal-banner .note{ font-family:var(--f-script); color:var(--red-dk); font-size:18px; white-space:nowrap; }

/* Jump bar meal labels */
.jump .glabel{ color:var(--red-dk); opacity:.55; font-weight:700; }
.jump .sep{ width:100%; height:0; }
.sec-title{ background:#fff; border:3px solid var(--ink); border-radius:12px; padding:12px 22px;
  box-shadow:var(--shadow-hard); display:flex; align-items:baseline; justify-content:space-between;
  gap:14px; flex-wrap:wrap; }
.sec-title h2{ font-family:var(--f-display); text-transform:uppercase; font-size:clamp(26px,4.5vw,34px);
  color:var(--red-dk); letter-spacing:.02em; }
.sec-title .sub{ font-family:var(--f-head); font-weight:600; color:var(--red); font-size:13px;
  letter-spacing:.04em; text-transform:uppercase; }
.subhead{ font-family:var(--f-head); text-transform:uppercase; letter-spacing:.06em; color:var(--red);
  margin:22px 0 2px; font-size:18px; }
.served{ font-family:var(--f-head); font-weight:500; color:var(--muted); font-size:14px; margin:14px 2px 4px;
  font-style:italic; }
.cols{ display:grid; grid-template-columns:1fr 1fr; gap:0 46px; margin-top:10px; }
.item{ padding:13px 0; border-bottom:1.5px dotted var(--line); }
.item .top{ display:flex; align-items:baseline; gap:8px; }
.item .nm{ font-family:var(--f-head); font-weight:700; text-transform:uppercase; letter-spacing:.02em;
  font-size:16px; color:var(--ink); }
.item .dots{ flex:1; border-bottom:2px dotted #cdb78c; transform:translateY(-4px); min-width:14px; }
.item .pr{ font-family:var(--f-head); font-weight:700; color:var(--red); font-size:16px; white-space:nowrap; }
.item .pr .noprice{ color:#a0521a; font-style:italic; font-size:13px; font-weight:600; }
.item .ds{ font-size:13.5px; color:var(--muted); line-height:1.5; margin-top:3px; }
.item .add{ font-size:12.5px; color:var(--red); font-weight:600; margin-top:3px; font-family:var(--f-head); letter-spacing:.02em; }
.flag{ background:#fff3cf; border:1.5px dashed var(--red); color:var(--red-dk); font-family:var(--f-head);
  font-weight:600; font-size:12.5px; border-radius:8px; padding:8px 14px; margin-top:18px; display:inline-block; }
.cols.simple .item .ds{ display:none; }
@media (max-width:760px){ .cols{ grid-template-columns:1fr; } }

/* ---------- Footer ---------- */
footer.site{ background:var(--red-dk); color:var(--cream); padding:46px 0 28px; }
footer.site .wrap{ display:flex; justify-content:space-between; gap:28px; flex-wrap:wrap; }
footer.site .brand .row{ display:flex; align-items:center; gap:12px; }
footer.site .brand .plate{ width:62px; height:62px; border-radius:12px; background:var(--cream);
  display:flex; align-items:center; justify-content:center; overflow:hidden; flex:none; }
footer.site .brand .plate img{ width:50px; height:50px; object-fit:contain; }
footer.site .brand .name{ font-family:var(--f-display); font-size:26px; text-transform:uppercase; color:var(--gold); }
footer.site .brand .tag{ font-family:var(--f-script); color:var(--cream); font-size:17px; margin-top:8px; opacity:.92; }
footer.site .col h4{ font-family:var(--f-head); text-transform:uppercase; letter-spacing:.1em; font-size:13px;
  color:var(--gold); margin-bottom:10px; }
footer.site .col p, footer.site .col a{ font-size:15px; line-height:1.9; color:var(--cream); text-decoration:none; }
footer.site .col a:hover{ color:var(--gold); }
footer.site .fine{ text-align:center; margin-top:32px; font-size:12px; opacity:.6; font-family:var(--f-head); letter-spacing:.06em; }

/* ---------- Thin-screen buffer / overflow fixes ---------- */
@media (max-width:820px){
  /* keep the starburst inside the photo so it never pokes past the gutter */
  .hero .starburst{ right:6px; top:-16px; width:92px; height:92px; }
  .hero .starburst b{ font-size:21px; }
}
@media (max-width:560px){
  /* let the meal banner wrap instead of forcing the script note off-screen */
  .meal-banner{ flex-wrap:wrap; gap:10px 16px; }
  .meal-banner h2{ flex-basis:100%; }
  .meal-banner .note{ font-size:15px; }
}
@media (max-width:480px){
  /* drop dotted leaders on narrow screens so long prices can't overflow */
  .item .dots{ display:none; }
  .item .top{ justify-content:space-between; gap:14px; }
  .item .pr{ white-space:normal; text-align:right; }
  .strip .wrap{ gap:12px 26px; font-size:14px; }
  /* keep generous side buffers on the full-bleed coloured sections too */
  .hero .wrap{ padding:40px 24px 56px; }
  .page-hero{ padding:44px 24px 34px; }
  section{ padding:52px 0; }
}

/* ---------- Print (menu) ---------- */
@media print{
  .topbar,.nav,.jump,footer.site,.page-hero .checker{ display:none !important; }
  body{ background:#fff; }
  .sec-title{ box-shadow:none; }
  .cols{ grid-template-columns:1fr 1fr; }
}
