/* Nutty But Nice concept. Colours are taken from the real kiosk: awning, price boards, copper kettle, counter board. */
:root {
  --awning: #5C1A1E;
  --awning-deep: #43121A;
  --red: #C5221F;
  --red-dark: #A11B19;
  --copper: #B5652B;
  --copper-text: #8E4A1A;
  --gold: #E3B04B;
  --board: #F6EBD3;
  --paper: #FFFFFF;
  --ink: #2A1712;
  --muted: #6B5249;
  --line: #E8DCCB;
  --display: "Alfa Slab One", "Rockwell", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-text); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; color: var(--awning); margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
section[id] { scroll-margin-top: 84px; }
.lede { font-size: 1.12rem; max-width: 62ch; color: var(--ink); }
.small { font-size: .9rem; color: var(--muted); max-width: 70ch; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

/* concept bar */
.concept { background: var(--ink); color: #F3E6D6; font-size: .8rem; text-align: center; padding: 6px var(--gutter); }
.concept a { color: var(--gold); }

/* THE AWNING: maroon band with a gold-trimmed scalloped edge, like the kiosk */
.awning { position: sticky; top: 0; z-index: 10; background: var(--awning); color: #fff; }
.awning::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; pointer-events: none;
  background:
    radial-gradient(circle at 50% 0, var(--awning) 13px, transparent 13.5px) 0 0 / 30px 16px repeat-x,
    radial-gradient(circle at 50% 0, var(--gold) 15px, transparent 15.5px) 0 0 / 30px 16px repeat-x;
}
.awning-inner { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gutter); display: flex; align-items: center; gap: 18px; }
.brand img { width: 168px; height: auto; filter: drop-shadow(0 2px 0 rgba(0,0,0,.35)); }
.awning nav { display: flex; gap: 4px; margin-left: auto; }
.awning nav a { color: #FBEFD9; text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 6px; }
.awning nav a:hover { background: var(--awning-deep); color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 700 1rem/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-line { background: transparent; border-color: var(--awning); color: var(--awning); }
.btn-line:hover { background: var(--awning); color: #fff; }
.btn-wa { background: #187A41; color: #fff; }
.btn-wa:hover { background: #12612F; color: #fff; }
.head-wa { min-height: 42px; padding: 8px 16px; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr; gap: 0; }
.hero-banner { position: relative; overflow: hidden; background: var(--awning-deep); min-height: 78vh; display: flex; align-items: flex-end; }
.hero-bg, .hero-bg img, .hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg .hero-note { position: absolute; inset: 12px 12px auto auto; width: auto; height: auto; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hero-film { display: none; } .hero-bg { background: url(/media/hero-poster.jpg) center / cover; } }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(67, 18, 26, .25) 0%, rgba(67, 18, 26, .55) 45%, rgba(42, 12, 16, .92) 100%); }
.hero-text { position: relative; z-index: 1; padding: 120px var(--gutter) 36px; color: #fff; }
.hero-text h1 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.hero-text .lede { margin-bottom: 22px; color: var(--board); }
.hero-chip { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--awning-deep); font-size: .82rem; font-weight: 700; }
.btn-cream { background: var(--board); color: var(--awning-deep); border: 2px solid var(--board); }
.btn-cream:hover { background: #fff; color: var(--awning-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-photo figcaption { font-size: .82rem; color: var(--muted); padding: 8px var(--gutter) 0; }
.price-tag {
  position: absolute; right: 14px; top: 14px; background: var(--red); color: #fff; border: 3px solid #fff;
  border-radius: 10px; padding: 8px 14px; display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: baseline;
  box-shadow: 0 6px 18px rgba(42, 23, 18, .35); transform: rotate(3deg);
}
.price-tag span { font-size: .8rem; font-weight: 600; }
.price-tag b { font: 400 1.7rem/1.1 var(--display); }

/* facts */
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 40px auto 0; padding: 0; max-width: calc(var(--wrap) - 2 * var(--gutter)); }
@media (max-width: 1219px) { .facts { margin-left: var(--gutter); margin-right: var(--gutter); } }
.facts li { background: #fff; padding: 16px 18px; }
.facts strong { display: block; font: 400 1.25rem/1.15 var(--display); color: var(--red); }
.facts span { font-size: .92rem; color: var(--muted); }

/* christmas */
.christmas { margin-top: 72px; background: #10233A; color: #F4EBDD; padding-bottom: 72px; }
.christmas h2 { color: #fff; }
.christmas .lede { color: #F4EBDD; }
.christmas .small { color: #C9BBA6; }
.christmas a { color: var(--gold); }
.xmas-art { position: relative; }
.xmas-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 18%; }
.xmas-body { margin-top: -40px; position: relative; }
.xmas-body > h2 { background: #10233A; display: inline-block; padding: 14px 18px 4px 0; }
.art-note { position: absolute; left: 12px; bottom: 12px; background: rgba(16, 35, 58, .82); color: #fff; font-size: .75rem; padding: 3px 8px; border-radius: 4px; }
.where .art-note, .map .art-note { background: rgba(42, 23, 18, .75); }
.board { list-style: none; margin: 24px 0 16px; padding: 0; display: grid; gap: 12px; }
.market { background: var(--board); color: var(--ink); border-radius: 12px; padding: 16px 18px; display: grid; grid-template-columns: 1fr; gap: 6px; border-left: 8px solid var(--red); }
.market h3 { color: var(--awning); margin-bottom: 2px; font-size: 1.25rem; }
.market p { margin: 0; color: var(--muted); }
.market a { color: var(--copper-text); }
.m-when { font-weight: 700; color: var(--red-dark); }
.m-status { justify-self: start; font-size: .8rem; font-weight: 700; background: #fff; color: var(--awning); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }

/* real christmas photo next to the market board */
.xmas-grid { display: grid; gap: 20px; margin: 24px 0 16px; }
.xmas-grid .board { margin: 0; grid-template-columns: 1fr; align-content: start; }
.xmas-photo { margin: 0; }
.xmas-photo img { border-radius: 14px; width: 100%; aspect-ratio: 1440 / 945; object-fit: cover; }
.xmas-photo figcaption { font-size: .85rem; color: #C9BBA6; margin-top: 8px; }
.review-cta .btn-line { white-space: normal; text-align: center; }

/* nuts */
.nut-grid { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nut { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.nut img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.nut-body { padding: 12px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.nut h3 { margin-bottom: 4px; }
.nut p { font-size: .93rem; color: var(--muted); }
.nut-buy { margin-top: auto; font-weight: 700; font-size: .95rem; }
.allergy { background: var(--board); border-radius: 12px; padding: 14px 18px; max-width: 70ch; }
.fudge { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-weight: 600; color: var(--awning); }
.fudge img { width: 52px; height: auto; flex: none; }

/* how */
.how { background: var(--board); }
.steps { list-style: none; counter-reset: step; margin: 20px 0 0; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: step; position: relative; }
.steps img { border-radius: 14px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 14px; }
.steps h3::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border-radius: 50%; background: var(--red); color: #fff; font: 400 1.05rem/1 var(--display); vertical-align: 2px; }
.steps p { color: var(--ink); }

/* about */
.about-grid { display: grid; gap: 28px; align-items: center; }
.about figure { margin: 0; }
.about img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* gallery */
.out { background: #FBF6EE; }
.gallery { list-style: none; margin: 24px 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; grid-auto-flow: dense; }
.g-item a { position: relative; display: block; border-radius: 10px; overflow: hidden; height: 100%; }
.g-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .35s ease; }
.g-item a:hover img { transform: scale(1.03); }
.g-wide { grid-column: span 2; }
.g-wide img { aspect-ratio: 2 / 1; }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: .8rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(30, 12, 10, .78)); }
.follow { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .g-item img { transition: none; } }

/* where */
.where-grid { display: grid; gap: 28px; align-items: start; }
.map { position: relative; }
.map img { border-radius: 14px; width: 100%; }
.pitches { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.pitches li { border-left: 4px solid var(--copper); padding-left: 14px; }
.pitches h3 { margin-bottom: 4px; }
.pitches p { margin: 0; color: var(--muted); }

/* reviews */
.review-row { display: grid; gap: 16px; margin: 20px 0 12px; }
.review { margin: 0; background: var(--board); border-radius: 14px; padding: 20px 22px; }
.review blockquote { margin: 0 0 10px; font-size: 1.08rem; }
.review blockquote p { margin: 0; }
.review figcaption { font-size: .9rem; color: var(--muted); }
.stars { color: var(--red); letter-spacing: 2px; margin: 0 0 6px; font-size: 1.1rem; }

/* book */
.book { background: var(--awning); color: #FBEFD9; }
.book h2 { color: #fff; }
.book .lede { color: #FBEFD9; }
.book-grid { display: grid; gap: 28px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); -webkit-mask: none; }
.ticks li::after { content: ""; position: absolute; left: 6px; top: .52em; width: 5px; height: 9px; border: solid var(--awning); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.book-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.book-card h3 { margin: 0; }
.book-card p { margin: 0 0 4px; color: var(--muted); }
.book-card .btn { width: 100%; }
.book-card .btn-line { word-break: break-word; }

/* shop */
.shop-grid { display: grid; gap: 28px; align-items: center; }
.shop figure { margin: 0; }
.shop img { border-radius: 14px; aspect-ratio: 2 / 1; object-fit: cover; width: 100%; }

/* footer */
.foot { background: var(--awning-deep); color: #EBD9C2; padding: 48px 0 24px; }
.foot h2 { color: #fff; font-size: 1.6rem; }
.foot a { color: var(--gold); }
.foot-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.badge { width: 120px; }
.hygiene { width: 150px; background: #fff; border-radius: 8px; padding: 4px; }
.credit { font-size: .8rem; color: #BFA98F; margin-top: 28px; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 94vh; }
.lightbox::backdrop { background: rgba(20, 8, 6, .88); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lb-cap { color: #fff; text-align: center; margin: 10px 0 0; font-weight: 600; }
.lb-close { position: fixed; top: 12px; right: 12px; background: #fff; color: var(--ink); border: 0; border-radius: 999px; padding: 10px 16px; font: 700 .95rem var(--body); cursor: pointer; }

/* phones: nav sits under the awning as a scroll row */
@media (max-width: 719px) {
  .awning-inner { flex-wrap: wrap; row-gap: 2px; }
  .brand img { width: 128px; }
  .awning nav { order: 3; width: 100%; margin: 0 -8px; overflow-x: auto; scrollbar-width: none; }
  .awning nav::-webkit-scrollbar { display: none; }
  .awning nav a { padding: 6px 10px; white-space: nowrap; }
  .head-wa { margin-left: auto; }
  .section { padding: 56px 0; }
}

@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .nut-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .review-row { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .foot-grid { grid-template-columns: 160px 1fr 1fr; }
}
@media (min-width: 960px) {
  .hero-banner { min-height: 72vh; align-items: center; }
  .hero-text { max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 96px var(--gutter); }
  .hero-text h1, .hero-text .lede { max-width: 640px; }
  .hero-photo { max-width: var(--wrap); margin: 40px auto 0; padding: 0 var(--gutter); }
  .hero h1 { font-size: clamp(2.4rem, 4.3vw, 3.9rem); }
  .hero-photo img { border-radius: 16px; }
  .hero-photo figcaption { padding-left: 0; }
  .price-tag { right: -14px; top: -14px; }
  .about-grid, .shop-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .where-grid { grid-template-columns: .9fr 1.1fr; gap: 48px; }
  .book-grid { grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
  .xmas-art img { aspect-ratio: 21 / 8; }
  .xmas-grid { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
}

/* hero film framing (4 Nov): the film is 16:9, so the box is 16:9 too and nothing gets cropped */
@media (max-width: 719px) {
  .hero-banner { display: block; min-height: 0; }
  .hero-bg { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(67, 18, 26, 0) 70%, rgba(67, 18, 26, .9) 100%); }
  .hero-text { padding: 20px var(--gutter) 36px; }
}
@media (min-width: 720px) {
  .hero-banner { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (min-width: 960px) {
  .hero-banner { min-height: 0; }
  .hero-text { padding: 48px var(--gutter); }
}
