/* CHIPS! — colours taken from the CHIPS! logo and menu boards: red board, yellow-to-orange lettering, black outline */
:root {
  --red: #f43f3f;         /* menu board red */
  --red-deep: #c4161c;    /* darker red for text on light backgrounds */
  --orange: #ff8a00;
  --yellow: #ffe600;
  --gold: #ffc21a;
  --ink: #1a0b06;
  --ink-soft: #5b3a2c;
  --paper: #fff6e2;
  --cream: #fff1cc;
  --white: #ffffff;
  --head: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --board: 'Bebas Neue', 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-deep); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.02; margin: 0 0 .4em; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 12px; z-index: 99; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Logo-style lettering: yellow-to-orange fill with a black outline */
.hero h1 span, .band-red h2, .menu-board h2 {
  background: linear-gradient(180deg, var(--yellow) 10%, var(--orange) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill;
  filter: drop-shadow(4px 4px 0 var(--ink));
}

/* Header */
.site-head { background: var(--red); border-bottom: 4px solid var(--ink); position: sticky; top: 0; z-index: 40; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { height: 54px; width: auto; }
.split > *, .hero .wrap > *, .foot-grid > * { min-width: 0; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--white); text-decoration: none; font-weight: 700; padding: 10px 12px; border-radius: var(--radius); }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(0, 0, 0, .18); }
.nav a.cta { background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.nav a.cta:hover { background: var(--gold); }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .site-head > .wrap > .nav { display: none; }
  .menu-toggle { display: block; position: relative; }
  .menu-toggle summary { list-style: none; cursor: pointer; background: var(--ink); color: var(--yellow); font-weight: 700; padding: 10px 16px; border-radius: var(--radius); }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  .menu-toggle .nav { position: absolute; right: 0; top: calc(100% + 12px); flex-direction: column; align-items: stretch; width: min(260px, calc(100vw - 32px)); background: var(--red); border: 3px solid var(--ink); border-radius: var(--radius); padding: 8px; }
  .brand img { height: 44px; }
}

/* Buttons */
.btn { display: inline-block; font: 700 1rem/1 var(--body); text-decoration: none; padding: 15px 22px; border-radius: var(--radius); border: 3px solid var(--ink); background: var(--red); color: var(--white); box-shadow: 4px 4px 0 var(--ink); cursor: pointer; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-ghost { background: var(--white); color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* Sections */
section { padding: 64px 0; }
.band-paper { background: var(--cream); border-block: 4px solid var(--ink); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink h2, .band-ink h3 { color: var(--yellow); }
.band-ink a:not(.btn):not(.brand-card) { color: var(--yellow); }
.band-red { background: var(--red); color: var(--white); border-block: 4px solid var(--ink); }
.band-yellow { background: var(--yellow); border-block: 4px solid var(--ink); }
.band-yellow .kicker { color: var(--red-deep); }
.lead { font-size: 1.18rem; max-width: 62ch; }
.big { font: 400 2.4rem/1 var(--head); }
.big a { color: var(--red-deep); text-decoration: none; }
.kicker { font: 700 .8rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 12px; }
.band-ink .kicker { color: var(--orange); }
.band-red .kicker { color: var(--yellow); }
.prose { max-width: 70ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.small { font-size: .88rem; }

/* Hero */
.hero { background: var(--red); color: var(--white); padding: 56px 0 72px; border-bottom: 4px solid var(--ink); position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.hero h1 span { display: block; font-size: 1.12em; }
.hero-logo { width: min(440px, 100%); margin: 0 0 6px -6px; }
.hero .kicker { color: var(--yellow); }
.hero-art img { border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--ink); transform: rotate(1.5deg); max-height: 560px; width: 100%; object-fit: cover; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; padding: 0; margin: 30px 0 0; }
.stats li { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 12px 16px; min-width: 120px; }
.stats b { display: block; font: 400 2rem/1 var(--head); color: var(--yellow); }
.stats span { font-size: .85rem; }
.page-hero { padding: 52px 0 28px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art img { transform: none; max-height: 420px; } }

/* Scrolling ticker under the hero */
.ticker { background: var(--yellow); border-bottom: 4px solid var(--ink); overflow: hidden; white-space: nowrap; font: 400 1.5rem/1 var(--board); letter-spacing: .06em; padding: 12px 0; }
.ticker div { display: inline-block; animation: tick 30s linear infinite; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker div { animation: none; } }

.crumbs { font-size: .88rem; padding-top: 18px; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.crumbs span { margin: 0 6px; }

/* Grids and cards */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); }
.split img.mini, img.mini { width: 120px; border: 0; box-shadow: none; margin-bottom: 16px; border-radius: 8px; }
.special-art img { transform: rotate(-2deg); max-width: 440px; margin-inline: auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--white); color: var(--ink); border: 4px solid var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; box-shadow: 6px 6px 0 var(--ink); transition: transform .15s; }
.card:hover { transform: translateY(-4px); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-bottom: 4px solid var(--ink); }
.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card-body p { flex: 1; }
.go { font-weight: 700; color: var(--red-deep); }
.go::after { content: " →"; }
.brand-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.brand-card { display: block; background: var(--paper); color: var(--ink); text-decoration: none; border: 4px solid var(--ink); border-radius: var(--radius); padding: 18px; box-shadow: 6px 6px 0 var(--yellow); transition: transform .15s; }
.brand-card:hover { transform: translateY(-4px); }
.brand-card h3 { color: var(--ink) !important; }
.brand-card.bus { background: var(--yellow); }
.brand-card.poutine { background: var(--red); color: var(--white); }
.brand-card.poutine h3, .brand-card.poutine .go { color: var(--white) !important; }
.brand-card img { border-radius: 6px; margin-bottom: 14px; aspect-ratio: 4/3; object-fit: cover; width: 100%; border: 3px solid var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; border: 4px solid var(--ink); border-radius: var(--radius); }
img.teaser { aspect-ratio: 16/9; object-fit: cover; width: 100%; border: 4px solid var(--yellow); border-radius: var(--radius); }
@media (max-width: 860px) { .split, .brand-cards { grid-template-columns: 1fr; gap: 28px; } .split.flip > :first-child { order: 0; } section { padding: 46px 0; } }

/* Lists */
.ticks { list-style: none; padding: 0; }
.ticks li { padding: 6px 0 6px 34px; position: relative; }
.ticks li::before { content: "🍟"; position: absolute; left: 0; top: 5px; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.steps li { counter-increment: s; background: #2a150c; border: 3px solid var(--yellow); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: block; font: 400 2.6rem/1 var(--head); color: var(--yellow); margin-bottom: 8px; }
.steps b { display: block; color: var(--white); }
.logo-row { margin-top: 18px; }

/* Menu boards, styled like the printed CHIPS! board */
.menu-board { background: var(--red); color: var(--white); border: 4px solid var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: 8px 8px 0 var(--yellow); }
.band-yellow .menu-board, .band-paper .menu-board, section:not([class]) .menu-board { box-shadow: 8px 8px 0 var(--ink); }
.menu-board h2 { text-align: center; font-size: clamp(2.6rem, 6vw, 3.6rem); border-bottom: 4px solid var(--yellow); padding-bottom: 12px; }
.menu-board h3 { font: 400 1.75rem/1.1 var(--board); letter-spacing: .03em; color: var(--yellow) !important; margin: 20px 0 4px; }
.menu-board p { font: 400 1.05rem/1.3 var(--board); letter-spacing: .04em; text-transform: uppercase; margin: 0; }
.menu-board p.small { text-transform: none; font-family: var(--body); margin-top: 8px; }
.menu-board a { color: var(--white) !important; }
.menu-board .sub { text-align: center; color: var(--cream); }
.menu-board hr { border: 0; border-top: 4px solid var(--yellow); margin: 26px 0 0; }
.menu-board .section { font: 400 1.4rem/1 var(--head); text-align: center; margin: 28px 0 0; padding-top: 18px; border-top: 4px solid var(--yellow); color: var(--white); }
.menu-note { font: 400 1rem/1.3 var(--board); letter-spacing: .05em; text-transform: uppercase; text-align: center; border-top: 4px solid var(--yellow); margin-top: 26px; padding-top: 14px; }
.tag { display: inline-block; vertical-align: middle; font: 700 .7rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; background: var(--yellow); color: var(--ink); padding: 5px 8px; border-radius: 99px; margin-left: 6px; }

/* FAQ */
.faq-item { border-top: 3px solid var(--ink); padding: 14px 0; }
.faq-item:last-child { border-bottom: 3px solid var(--ink); }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; }
.faq-item p { margin: 10px 0 0; }

/* Link chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; text-decoration: none; color: var(--ink); background: var(--white); border: 2px solid var(--ink); padding: 8px 12px; border-radius: 99px; font-weight: 600; font-size: .92rem; }
.chip:hover { background: var(--yellow); }
.band-ink .chip { background: transparent; color: var(--paper) !important; border-color: var(--paper); }
.band-ink .chip:hover { background: var(--yellow); color: var(--ink) !important; border-color: var(--yellow); }
.link-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 24px; list-style: none; padding: 0; margin: 0; }

/* Form */
.form { display: grid; gap: 16px; background: var(--white); border: 4px solid var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: 8px 8px 0 var(--red); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 12px; border: 2px solid var(--ink); border-radius: 8px; background: var(--white); color: var(--ink); }
.form textarea { min-height: 120px; resize: vertical; }
.checks label { display: flex; gap: 10px; align-items: center; font-weight: 600; margin: 0 0 8px; }
.checks input { width: 20px; height: 20px; accent-color: var(--red); }
.form button { justify-self: start; }

/* Footer */
footer { background: var(--ink); color: var(--paper); padding: 56px 0 30px; font-size: .95rem; }
footer h2 { font-size: 1.3rem; color: var(--yellow); }
footer a { color: var(--paper); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { padding: 3px 0; }
.foot-base { border-top: 1px solid #4a2c20; margin-top: 32px; padding-top: 18px; font-size: .85rem; color: #e6cdb0; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.foot-base a { color: #e6cdb0; }
