/* Johnny's Pretzels (preview). Colours are the dog logo's own: the red bandana, the gold pretzels, the cream fur, the black lettering. Mobile first. */
:root {
  --ink: #1d1d1d; --soft: #494949; --paper: #fef5e3; --card: #ffffff; --line: #ecd9b4;
  --gold: #f4a62b; --gold-soft: #fde9bd; --gold-deep: #8a5a00;
  --red: #b01822; --red-deep: #7f1019; --on-red: #ffffff;
  --foot-text: #d7d0c6; --foot-hover: #ffffff; --foot-line: #494949;
  --display: "Avenir Next Rounded", ui-rounded, "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --text: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--text); }
img { -webkit-touch-callout: none; -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; pointer-events: none; }
img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-deep); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 5; }
.skip:focus { left: 8px; top: 8px; }
.demo-bar { margin: 0; padding: 8px 16px; background: var(--ink); color: #fff; font: 14px/1.4 var(--text); text-align: center; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 640px; }

.top { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; justify-content: space-between; padding: 10px 16px; background: var(--paper); border-bottom: 3px solid var(--gold); }
.brand { display: flex; align-items: center; gap: 8px; min-height: 48px; text-decoration: none; }
.brand .mini-dog { display: block; width: 48px; height: auto; }
.brand .mini-word { display: block; width: 110px; height: auto; }
.top nav { display: flex; flex-wrap: wrap; gap: 0 6px; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; }
.top nav a:hover { color: var(--red-deep); border-bottom-color: var(--red); }
.top nav a[aria-current="page"] { border-bottom-color: var(--gold); }

h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 12px; color: var(--ink); }
h1 { font-size: clamp(2rem, 6vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
.lede { font-size: 1.15rem; color: var(--soft); max-width: 36rem; margin: 0 auto 20px; }

.hero { text-align: center; padding: 28px 0 0; background: linear-gradient(180deg, var(--gold-soft) 0%, var(--paper) 100%); }
.lockup { display: flex; align-items: center; justify-content: center; gap: 4px; width: min(100%, 560px); margin: 0 auto 12px; }
.lockup picture:first-child { flex: 0 0 38%; }
.lockup picture:last-child { flex: 1 1 auto; }
.lockup img { display: block; width: 100%; height: auto; }
.hero::after { content: ""; display: block; height: 14px; margin-top: 18px; background: repeating-linear-gradient(90deg, var(--red) 0 24px, var(--gold) 24px 48px); }
.intro { text-align: center; padding: 32px 0 8px; }
.intro .lede { margin-bottom: 8px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 20px 0 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; border: 2px solid var(--red); border-radius: 999px; cursor: pointer;
  background: var(--red); color: var(--on-red); font: 700 1rem/1.3 var(--text); text-decoration: none; }
.button:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--on-red); }
.button.ghost { background: transparent; color: var(--red-deep); }
.button.ghost:hover { background: var(--gold-soft); color: var(--red-deep); }

.band { padding: 36px 0; }
.band.gold { background: var(--gold-soft); }
.band.gold + .band { background: var(--paper); }
.band > .wrap > :last-child { margin-bottom: 0; }
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

.note { display: inline-block; margin: 14px 0 0; padding: 6px 12px; border-left: 4px solid var(--gold); background: var(--gold-soft); color: var(--ink); font: 14px/1.5 var(--text); }
.band.gold .note { background: var(--card); }

.cards { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 16px; }
.cards > li { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: 12px; padding: 18px 20px; }
.cards > li h2, .cards > li h3 { margin-bottom: 6px; }
.cards > li p { margin: 0; color: var(--soft); }
.tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 1px 9px; border-radius: 999px; background: var(--gold-soft); border: 1px solid var(--gold); color: var(--ink); font: 700 0.72rem/1.5 var(--text); letter-spacing: 0.06em; text-transform: uppercase; }

.focus { list-style: none; counter-reset: focus; padding: 0; margin: 0 0 16px; display: grid; gap: 16px; }
.focus > li { counter-increment: focus; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 18px 68px; }
.focus > li::before { content: counter(focus); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: var(--on-red); font: 800 1.1rem/36px var(--display); text-align: center; }
.focus > li h2 { font-size: 1.3rem; margin-bottom: 4px; }
.focus > li p { margin: 0; color: var(--soft); }

footer { background: var(--ink); color: #f3ede4; padding: 28px 0 32px; text-align: center; }
footer p { margin: 0 0 6px; }
footer .foot-name { font: 800 1.2rem/1.2 var(--display); color: #fff; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); }
footer a:hover { color: #fff; }
footer .credit { font-size: 0.9rem; color: var(--foot-text); }

@media (min-width: 640px) {
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards.menu { grid-template-columns: repeat(2, 1fr); }
  .brand .mini-dog { width: 56px; }
  .brand .mini-word { width: 128px; }
}
@media (min-width: 900px) {
  .top { padding: 12px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* webhatch-credit-css:johnnys-pretzels-demo */
.wh-credit{margin-top:28px;padding-top:20px;border-top:1px solid var(--foot-line);font-size:12.5px;line-height:1.55;color:var(--foot-text);text-align:center}
.wh-credit p{margin:0}
.wh-credit-tag>span{display:block;text-wrap:balance}
.wh-nb{white-space:nowrap}
.wh-credit-by{margin-top:4px}
.wh-credit a{display:inline-flex;align-items:center;min-height:44px;padding:0 8px;color:var(--foot-text);text-decoration:underline;text-underline-offset:3px}
.wh-credit a:hover{color:var(--foot-hover)}
.wh-credit a:focus-visible{outline:2px solid var(--gold);outline-offset:2px;color:var(--foot-hover)}
/* /webhatch-credit-css */
