/* Sweet or Salty (preview): one site for Donuts in Paradise (sweet, the logo’s peach and aqua) and Johnny’s Pretzels (salty, the brand’s gold and red). Mobile first. */
:root {
  --ink: #1d1d1d; --soft: #4d4a47; --paper: #fffaf1; --card: #ffffff; --line: #ecd9bd; --cream: #fdf0dc;
  --peach: #f0b080; --peach-soft: #fde7d4; --aqua: #70c8d8; --aqua-soft: #e3f5f8; --teal: #176f7d; --teal-deep: #0f5560;
  --gold: #f4a62b; --gold-soft: #fde9bd; --red: #b01822; --red-deep: #7f1019;
  --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;
  /* the truck's own colours, set again on the body of each side */
  --accent: #3a2f28; --accent-deep: #1d1d1d; --on-accent: #ffffff; --tint: #fff1d9; --stripe: var(--gold);
}
body.sweet { --accent: var(--teal); --accent-deep: var(--teal-deep); --tint: var(--aqua-soft); --stripe: var(--peach); }
body.salty { --accent: var(--red); --accent-deep: var(--red-deep); --tint: var(--gold-soft); --stripe: var(--gold); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--text); }
/* A deterrent, not a lock: a picture cannot be dragged, selected or long-pressed into a menu, and the page has no script. Whoever can see a picture can always copy it. */
img { max-width: 100%; height: auto; -webkit-touch-callout: none; -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; pointer-events: none; }
a { color: var(--accent); }
a:hover { color: var(--accent-deep); }
a: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: 9; }
.skip:focus { left: 8px; top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.demo-bar { margin: 0; padding: 8px 16px; background: var(--ink); color: #fff; font: 14px/1.4 var(--text); text-align: center; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 18px; }
.wrap.narrow { max-width: 660px; }

/* The strip that crosses between the trucks: three equal doors, the one you are in is marked by an underline and the word, never by colour alone. */
.switch { display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--ink); }
.switch a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 6px 4px; color: #fff; text-decoration: none; border-bottom: 5px solid transparent; text-align: center; line-height: 1.2; }
.switch a:nth-child(1) { background: var(--peach); color: var(--ink); }
.switch a:nth-child(2) { background: #f4ead8; color: var(--ink); }
.switch a:nth-child(3) { background: var(--gold); color: var(--ink); }
.switch a:hover { filter: brightness(1.06); color: var(--ink); }
.switch a[aria-current="page"] { border-bottom-color: var(--ink); }
.switch a:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; }
.sw-label { font: 800 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: 0.08em; }
.sw-sub { font-size: 0.78rem; }

.top { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; justify-content: space-between; padding: 10px 18px; background: var(--paper); border-bottom: 4px solid var(--stripe); }
body.both .top { border-image: linear-gradient(90deg, var(--peach), var(--aqua) 35%, var(--gold) 70%, var(--red)) 1; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand .mini-donut { display: block; width: 40px; height: auto; }
.brand .mini-dog { display: block; width: 46px; height: auto; }
.brand .mini-word { display: block; width: 92px; height: auto; }
.brand-name { font: 800 1.25rem/1.1 var(--display); letter-spacing: 0.01em; }
.top nav { display: flex; flex-wrap: wrap; gap: 0 4px; }
.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(--accent-deep); border-bottom-color: var(--stripe); }
.top nav a[aria-current="page"] { border-bottom-color: var(--accent); }

h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 12px; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 7vw, 3.4rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 4.2vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
.lede { font-size: 1.2rem; color: var(--soft); max-width: 38rem; margin: 0 auto 20px; }
.eyebrow { margin: 0 0 8px; font: 800 0.85rem/1.3 var(--text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft); }

.hero { text-align: center; padding: 30px 0 0; background: linear-gradient(180deg, var(--tint) 0%, var(--paper) 100%); }
.hero-logo { margin: 0 auto 8px; width: min(62vw, 250px); }
.hero-logo img { display: block; width: 100%; height: auto; }
body.sweet .hero::after { content: ""; display: block; height: 28px; margin-top: 8px; background: url(/images/wave.svg) repeat-x bottom / 120px 28px; }
.lockup { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 12px; max-width: 640px; }
.lockup picture { display: block; }
.lockup picture:first-child { width: 34%; }
.lockup picture:last-child { width: 56%; }
.lockup-dog, .lockup-word { display: block; width: 100%; height: auto; }
.hero-logo picture { display: block; }
.intro { text-align: center; padding: 34px 0 10px; background: linear-gradient(180deg, var(--tint) 0%, var(--paper) 100%); }
.intro .lede { margin-bottom: 8px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 22px 0 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 26px; border: 2px solid var(--accent); border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 800 1rem/1.3 var(--text); text-decoration: none; transition: transform 0.15s ease; }
.button:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--on-accent); transform: translateY(-2px); }
.button.ghost { background: transparent; color: var(--accent-deep); }
.button.ghost:hover { background: var(--tint); color: var(--accent-deep); }

.band { padding: 38px 0; }
.band.tint { background: var(--tint); }
.band.plain { background: var(--paper); }
.band > .wrap > :last-child { margin-bottom: 0; }
.band.crossing { background: var(--paper); border-top: 6px solid var(--stripe); text-align: center; }
.band.salty-cross { --accent: var(--red); --accent-deep: var(--red-deep); --tint: var(--gold-soft); --stripe: var(--gold); }
.band.both-band { background: linear-gradient(100deg, var(--aqua-soft) 0%, var(--cream) 50%, var(--gold-soft) 100%); text-align: center; }
.band.both-band p { max-width: 36rem; margin-left: auto; margin-right: auto; }
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }

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

.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(--stripe); border-radius: 14px; 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(--tint); border: 1px solid var(--stripe); color: var(--ink); font: 700 0.72rem/1.5 var(--text); letter-spacing: 0.04em; 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: 14px; padding: 18px 20px 18px 70px; }
.focus > li::before { content: counter(focus); position: absolute; left: 18px; top: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--stripe); color: var(--ink); font: 800 1.1rem/38px var(--display); text-align: center; }
.focus > li h2 { font-size: 1.3rem; margin-bottom: 4px; }
.focus > li p { margin: 0; color: var(--soft); }

.stops { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.stops li { display: grid; gap: 2px; background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: 10px; padding: 12px 16px; }
.stops time { font: 800 1.15rem/1.3 var(--display); }
.stops .when { color: var(--soft); }
.stops .where { font-weight: 700; }
.stops .what { color: var(--soft); font-size: 0.95rem; }

/* The cover: two doors of equal weight, and a badge between them. */
.choose-hero { text-align: center; padding: 34px 0 44px; background: linear-gradient(180deg, var(--aqua-soft) 0, var(--cream) 50%, var(--gold-soft) 100%); }
.choices { position: relative; display: grid; gap: 18px; margin: 26px 0 8px; }
.choice { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 20px 24px; border: 3px solid var(--stripe); border-radius: 30px; color: var(--ink); text-decoration: none; box-shadow: 0 10px 30px rgba(29, 29, 29, 0.12); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.choice:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(29, 29, 29, 0.2); color: var(--ink); }
.choice:focus-visible { outline: 4px solid var(--ink); outline-offset: 4px; }
.sweet-choice { --stripe: var(--peach); background: linear-gradient(165deg, var(--peach-soft) 0%, #ffffff 60%, var(--aqua-soft) 100%); }
.salty-choice { --stripe: var(--gold); background: linear-gradient(165deg, var(--gold-soft) 0%, #ffffff 60%, #ffe3df 100%); }
.choice-art { display: flex; align-items: center; justify-content: center; gap: 8px; height: 190px; margin-bottom: 6px; }
.choice-art img { display: block; width: auto; max-height: 190px; max-width: 100%; }
.lockup-pair { flex-direction: column; gap: 6px; }
.lockup-pair picture:first-child img { max-height: 116px; }
.lockup-pair picture:last-child img { max-height: 70px; }
.choice-kind { font: 800 clamp(2.6rem, 9vw, 3.6rem)/1 var(--display); letter-spacing: -0.01em; }
.sweet-choice .choice-kind { color: var(--teal-deep); }
.salty-choice .choice-kind { color: var(--red); }
.choice-name { font: 700 1.2rem/1.2 var(--display); }
.choice-line { max-width: 20rem; color: var(--soft); }
.choice-go { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 12px; padding: 8px 26px; border-radius: 999px; background: var(--ink); color: #fff; font: 800 1rem/1.2 var(--text); }
.or { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: -36px auto -36px; border-radius: 50%; background: var(--ink); color: #fff; font: italic 800 1.4rem/1 var(--display); box-shadow: 0 0 0 6px var(--paper); }

/* The comparison: a table from 760 px, and a card for each row on a phone (the label of each cell comes from its data-label). */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare thead { display: none; }
.compare tbody, .compare tr { display: block; }
.compare tr { margin: 0 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.compare tbody th { display: block; padding: 10px 16px; background: var(--ink); color: #fff; font: 800 1rem/1.3 var(--display); text-align: left; }
.compare td { display: block; padding: 12px 16px; border-top: 1px solid var(--line); }
.compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 800 0.8rem/1.3 var(--text); letter-spacing: 0.1em; text-transform: uppercase; }
.compare td[data-label="Sweet"] { border-left: 8px solid var(--peach); }
.compare td[data-label="Sweet"]::before { color: var(--teal-deep); }
.compare td[data-label="Salty"] { border-left: 8px solid var(--gold); }
.compare td[data-label="Salty"]::before { color: var(--red); }
.compare a { font-weight: 800; }
.compare td[data-label="Sweet"] a { color: var(--teal-deep); }
.compare td[data-label="Salty"] a { color: var(--red); }

/* The booking preview: what the form will hold, drawn as boxes that cannot be typed in. There is no form element, no input and no button on this page. */
.preview { padding: 22px 20px 20px; background: var(--card); border: 2px dashed var(--ink); border-radius: 20px; }
.preview-tag { display: inline-block; margin: 0 0 8px; padding: 2px 12px; border-radius: 999px; background: var(--ink); color: #fff; font: 800 0.75rem/1.6 var(--text); letter-spacing: 0.1em; text-transform: uppercase; }
.preview-fields { margin: 12px 0 16px; display: grid; gap: 12px; }
.preview-field { margin: 0; }
.preview-field dt { font-weight: 800; margin: 0 0 4px; }
.preview-field dd { margin: 0; min-height: 46px; padding: 10px 12px; border: 2px solid #8a949b; border-radius: 8px; background: #f6f2ea; color: var(--soft); font-size: 0.95rem; }
.preview-button { margin: 0 0 12px; padding: 12px 20px; border-radius: 999px; background: #c9c3b8; color: #4d4a47; text-align: center; font-weight: 800; }

footer { background: var(--ink); color: #f3ede4; padding: 30px 0 34px; text-align: center; }
footer p { margin: 0 0 6px; }
footer .foot-name { font: 800 1.25rem/1.2 var(--display); color: #fff; }
footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; 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.four { grid-template-columns: repeat(2, 1fr); }
  .cards.menu { grid-template-columns: repeat(2, 1fr); }
  .stops li { grid-template-columns: 9rem 11rem 1fr; align-items: baseline; gap: 4px 16px; }
  .stops .what { grid-column: 2 / -1; }
  .hero-logo { width: 260px; }
  .sw-label { font-size: 1.2rem; }
}
@media (min-width: 760px) {
  .compare thead { display: table-header-group; }
  .compare tbody { display: table-row-group; }
  .compare tr { display: table-row; margin: 0; background: transparent; border: 0; border-radius: 0; overflow: visible; }
  .compare tbody th, .compare td { display: table-cell; vertical-align: top; padding: 14px 16px; border-top: 1px solid var(--line); background: var(--card); }
  .compare tbody th { width: 20%; background: var(--paper); color: var(--ink); font-size: 1rem; }
  .compare td::before { display: none; }
  .compare td[data-label="Sweet"] { border-left: 0; border-top: 1px solid var(--line); }
  .compare td[data-label="Salty"] { border-left: 0; }
  .compare thead th { padding: 12px 16px; text-align: left; border-radius: 14px 14px 0 0; }
  .compare thead .col-sweet { background: var(--peach-soft); border-bottom: 6px solid var(--peach); }
  .compare thead .col-salty { background: var(--gold-soft); border-bottom: 6px solid var(--gold); }
  .compare thead a { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-height: 52px; }
  .compare thead span { display: flex; flex-direction: column; font: 800 1.5rem/1.1 var(--display); }
  .compare thead small { font: 600 0.9rem/1.3 var(--text); color: var(--soft); }
  .compare thead img { display: block; height: auto; }
  .compare thead .mini-donut { width: 38px; }
  .compare thead .mini-dog { width: 46px; }
}
@media (min-width: 900px) {
  .top { padding: 12px 28px; }
  .cards.four { grid-template-columns: repeat(4, 1fr); }
  .cards.menu { grid-template-columns: repeat(3, 1fr); }
  .choose-hero { background: linear-gradient(90deg, var(--aqua-soft) 0, var(--aqua-soft) 50%, var(--gold-soft) 50%, var(--gold-soft) 100%); }
  .choices { grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px; }
  .or { position: absolute; left: 50%; top: 42%; margin: 0; transform: translateX(-50%); width: 72px; height: 72px; font-size: 1.6rem; }
  .choice { padding: 34px 28px 30px; }
  .choice-art { height: 230px; }
  .choice-art img { max-height: 230px; }
  .lockup-pair picture:first-child img { max-height: 140px; }
  .lockup-pair picture:last-child img { max-height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .choice, .button { transition: none; }
  .choice:hover, .button:hover { transform: none; }
}

/* webhatch-credit-css:sweet-or-salty-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 */
