/* The boards, 1:1. Every number below is read off V-home.dc.html (the design canvas, v62) and
   parts.py/kit.py of the generator: 1440 board, 1312 column, 64 side padding, SIZE/TYPE/RADIUS scales.
   Below 1440 the same composition shrinks; the phone composition (V-home-phone) takes over under 834. */

:root { --fest-bg: #fde6dc; --po: #808080; --bw: 1.5px; }
:root[data-theme="dark"] { --fest-bg: #29241f; --po: #8a837c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --fest-bg: #29241f; --po: #8a837c; } }

.isvg { overflow: visible; display: block; max-width: none; }

/* ---------------------------------------------------------------- buttons (kit.SIZE, kit.KIND) */
.bbtn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; flex-shrink: 0; border-radius: 999px; border: var(--bw) solid transparent;
  font: 600 17px/1 'Nunito Sans', system-ui, sans-serif; white-space: nowrap; text-decoration: none; height: 48px; padding: 0 22px 0 24px; gap: 8px; cursor: pointer; transition: transform .15s ease; }
.bbtn .ico { width: 20px; height: 20px; }
.bbtn-l { height: 56px; padding: 0 28px 0 18px; font-size: 19px; gap: 10px; }
.bbtn-s { height: 40px; padding: 0 16px; font-size: 15px; gap: 6px; }
.bbtn-s .ico { width: 18px; height: 18px; }
.bbtn-xs { height: 32px; padding: 0 12px; font-size: 13px; gap: 6px; }
.bbtn-fill { background: var(--orange); border-color: var(--orange); color: #fff; }
.bbtn-fill:hover { color: #fff; filter: brightness(.96); }
.bbtn-ink { background: var(--ink); color: var(--cream); }
.bbtn-ink:hover { color: var(--cream); }
.bbtn-grey { background: transparent; border-color: var(--rule); color: var(--ink); }
.bbtn-grey:hover { color: var(--ink); border-color: var(--ink); }
.bbtn-outline { background: transparent; border-color: var(--orange); color: var(--orange-deep); }
.bbtn:active { transform: scale(.98); }

/* ---------------------------------------------------------------- header (parts.header) */
.bh { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1440px; margin: 0 auto; padding: 24px 64px 0; box-sizing: border-box; }
.bh-left, .bh-nav, .bh-right { display: flex; align-items: center; flex-wrap: nowrap; }
.bh-left { gap: 24px; }
.bh .logo svg { width: 149px; height: 31px; }
.district { position: relative; width: 199px; height: 40px; display: inline-flex; align-items: stretch; flex-shrink: 0; }
.district-frame { position: absolute; left: 0; top: 0; pointer-events: none; }
.district-loc { position: relative; width: 46px; display: flex; align-items: center; justify-content: center; border-radius: 999px 0 0 999px; color: var(--ink); }
.district-loc .ico { width: 18px; height: 18px; }
.district-name { position: relative; flex-grow: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 6px 0 2px; text-decoration: none;
  font: 600 15px/1 'Nunito Sans', sans-serif; color: var(--orange-deep); white-space: nowrap; }
.district-name .ico { width: 18px; height: 18px; }
.bh-nav { gap: 24px; }
.bh-nav a { font-size: 17px; line-height: 24px; font-weight: 400; color: var(--graphite); text-decoration: none; white-space: nowrap; }
.bh-nav a[aria-current="page"] { font-weight: 600; color: var(--ink); }
.bh-nav a:hover { color: var(--ink); }
.bh-right { gap: 8px; }
.bh-search { position: relative; width: 240px; height: 40px; flex-shrink: 0; }
.bh-search .ico { position: absolute; left: 16px; top: 11px; width: 18px; height: 18px; color: var(--graphite); pointer-events: none; }
.bh-search input { width: 100%; height: 40px; box-sizing: border-box; border-radius: 999px; border: var(--bw) solid var(--rule); background: transparent; padding: 0 16px 0 44px;
  font: 400 17px/24px 'Nunito Sans', sans-serif; color: var(--ink); }
.bh-search input::placeholder { color: var(--graphite); }
.bh-search input:focus { outline: none; border-color: var(--orange); }
.bh-tools { height: 40px; box-sizing: border-box; display: inline-flex; align-items: center; gap: 0; padding: 0 3px; flex-shrink: 0; border-radius: 999px; border: var(--bw) solid var(--rule); }
.bh-tool { position: relative; width: 44px; height: 32px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; }
.bh-tool .ico { width: 20px; height: 20px; }
.bh-tool .lamp-on { display: none; }
:root[data-theme="dark"] .bh-tool .lamp-on { display: inline-block; }
:root[data-theme="dark"] .bh-tool .lamp-off { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bh-tool .lamp-on { display: inline-block; } :root:not([data-theme="light"]) .bh-tool .lamp-off { display: none; } }
.bh-badge { position: absolute; right: 5px; top: 3px; min-width: 16px; height: 16px; box-sizing: border-box; padding: 0 4px; border-radius: 999px; background: var(--orange); color: #fff;
  font: 700 11px/16px 'Nunito Sans', sans-serif; text-align: center; box-shadow: 0 0 0 2px var(--cream); }
.bh-avatar { width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; background: var(--orange-soft); display: flex; align-items: center; justify-content: center; text-decoration: none;
  font: 600 17px/24px 'Nunito Sans', sans-serif; color: var(--orange-deep); }
.bh-avatar .ico { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- home column */
.bhome { width: 100%; position: relative; max-width: 1440px; margin: 0 auto; padding: 0 64px; box-sizing: border-box; }

/* festival banner (parts.festival_banner) */
.fest { position: relative; height: 264px; margin-top: 32px; border-radius: 28px; background: var(--fest-bg); overflow: hidden; }
.fest > img { position: absolute; }
.fest .f1 { left: 59.98%; top: 42px; width: 72px; } .fest .f2 { left: 69.97%; top: 132px; width: 64px; } .fest .f3 { left: 78.96%; top: 32px; width: 56px; }
.fest .f4 { left: 86.97%; top: 137px; width: 60px; } .fest .f5 { left: 92.99%; top: 26px; width: 56px; } .fest .f6 { left: 52.97%; top: 148px; width: 52px; }
.fest .f7 { left: 97.03%; top: 158px; width: 44px; }
.fest-body { position: absolute; left: 40px; top: 32px; display: flex; flex-direction: column; gap: 10px; max-width: 682px; }
.fest-date { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--orange-deep); }
.fest-title { font: 400 40px/44px 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.fest-sub { font-size: 17px; line-height: 24px; color: var(--ink); }
.fest-act { display: flex; padding-top: 6px; }

/* headline row */
.hh { display: flex; flex-direction: column; gap: 24px; padding-top: 16px; margin-top: 32px; }
.hh-row { display: flex; align-items: flex-end; justify-content: space-between; }
.hh-h1 { margin: 0; padding-bottom: 16px; white-space: nowrap; font: 400 96px/100px 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.hh-under { position: relative; display: inline-block; }
.hh-under > span { position: relative; }
.hh-line { position: absolute; left: -3%; width: 106%; bottom: -13px; height: 19px; }
.hh-surprise { position: relative; width: 330px; height: 150px; flex-shrink: 0; }
.hh-note { position: absolute; left: 0; top: 4px; font: 400 28px/1 'Marck Script', 'Caveat', cursive; color: var(--orange); transform: rotate(-6deg); white-space: nowrap; display: inline-block; }
.hh-arrow { position: absolute; left: 40px; top: 40px; }
.hh-btn { position: absolute; right: 0; bottom: 18px; }
.hh-btn .dice { display: inline-flex; width: 34px; height: 34px; }
.hh-chips { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hh-chiprow { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.bchip { height: 48px; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; padding: 0 20px 0 12px; flex-shrink: 0; border-radius: 999px; border: var(--bw) solid var(--rule);
  background: transparent; text-decoration: none; font-size: 17px; font-weight: 400; color: var(--ink); white-space: nowrap; }
.bchip img { width: 32px; height: 32px; }
.bchip:hover { border-color: var(--orange); color: var(--ink); }
.bchip.on { border-color: var(--orange); background: var(--orange); font-weight: 600; color: #fff; }
.bchip.on img { filter: brightness(0) invert(1); }
.bchip.off { opacity: .45; cursor: default; }
.seg { display: inline-flex; gap: 4px; padding: 3px; height: 40px; box-sizing: border-box; border-radius: 999px; border: var(--bw) solid var(--rule); }
.seg a { width: 48px; height: 32px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.seg a .ico { width: 18px; height: 18px; }
.seg a.on { background: var(--ink); color: var(--cream); }

/* filters + grid */
.hmain { position: relative; display: flex; align-items: flex-start; gap: 64px; margin-top: 32px; }
.hfilters { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; width: 200px; flex-shrink: 0; position: relative; z-index: 1; }
.hfg { display: flex; flex-direction: column; gap: 8px; }
.hfg-title { font-size: 22px; line-height: 28px; font-weight: 600; }
.hfg-items { display: flex; flex-direction: column; gap: 4px; }
.hfi { display: flex; align-items: center; gap: 8px; height: 28px; text-decoration: none; font-size: 17px; line-height: 24px; font-weight: 400; color: var(--graphite); white-space: nowrap; }
.hfi.on { font-weight: 600; color: var(--ink); }
.hfi:hover { color: var(--ink); }
.hfi-tick { width: 18px; display: flex; }
.bprice { display: inline-flex; font-size: 17px; line-height: 24px; font-weight: 400; letter-spacing: 0.04em; white-space: nowrap; }
.bprice.b { font-weight: 600; }
.bprice .pi { color: var(--ink); }
.bprice .po { color: var(--po); }
.hgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; flex-grow: 1; }
.bcard { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 1px solid var(--rule); background: var(--cream); color: var(--ink); text-decoration: none; position: relative; }
.bcard:hover { color: var(--ink); }
.bcard-top { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.bcard-top .ico { width: 20px; height: 20px; color: var(--graphite); transition: transform .2s ease; }
.bcard:hover .bcard-top .ico { transform: translateX(3px); color: var(--orange); }
.bbadge { height: 24px; box-sizing: border-box; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; flex-shrink: 0; border: var(--bw) solid var(--orange);
  color: var(--orange-deep); font: 600 13px/1 'Nunito Sans', sans-serif; white-space: nowrap; }
.bbadge-empty { height: 24px; }
.bphoto { width: 100%; height: 180px; box-sizing: border-box; border-radius: 16px; background: var(--paper); position: relative; flex-shrink: 0; }
.bphoto-label { position: absolute; left: 12px; bottom: 10px; font-size: 12px; line-height: 14px; font-weight: 600; color: var(--graphite); }
.bphoto-mark { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.bphoto-mark svg { width: 100%; height: 100%; }
.bphoto-spark { position: absolute; right: -16px; top: -18px; pointer-events: none; }
.bphoto-note { position: absolute; right: 14px; bottom: 12px; pointer-events: none; font: 400 26px/1 'Marck Script', 'Caveat', cursive; color: var(--orange); transform: rotate(-5deg); white-space: nowrap; display: inline-block; }
.bcard-row { display: flex; align-items: flex-end; gap: 12px; justify-content: space-between; }
.bcard-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bcard-title { font-size: 22px; line-height: 28px; font-weight: 600; }
.bcard-meta { display: flex; align-items: baseline; gap: 8px; }
.bcard-kind { font-size: 13px; line-height: 18px; color: var(--graphite); }
.bcard-quote { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 18px; color: var(--graphite); }
.bcard-quote .it { font-style: italic; }
.bcard-quote .ico { width: 16px; height: 16px; color: var(--graphite); flex-shrink: 0; }

/* the board's own pencil lines */
.bline { pointer-events: none; }
.bline-loop { position: absolute; left: -102px; bottom: -2px; width: 218px; z-index: 0; }
.bline-heart { width: 100%; max-width: 1440px; margin: 30px auto 0; overflow: visible; }
.bline.bline-heart svg { width: 108.2%; height: auto; margin-left: -5.14%; }
.bline-spiral { position: absolute; right: -104px; top: -168px; width: 543px; }
.bline svg { width: 100%; height: auto; }
.doodle-r { position: absolute; right: -104px; top: 290px; width: 190px; z-index: 2; pointer-events: none; }
.doodle-l { position: absolute; left: -118px; top: 122px; width: 160px; z-index: 2; pointer-events: none; }
.doodle-r svg, .doodle-l svg { width: 100%; height: auto; }

/* sections (parts.section_head) */
.hsec { position: relative; }
.hsec-rev { margin-top: 34px; }
.hsec-colls { margin-top: 128px; }
.hsec-journal { margin-top: 192px; }
.bsec-head { display: flex; align-items: flex-end; gap: 24px; justify-content: space-between; margin-bottom: 24px; }
.bsec-titles { display: flex; flex-direction: column; gap: 4px; }
.bsec-titles h2 { margin: 0; font: 400 40px/44px 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.bsec-titles span { font-size: 17px; line-height: 24px; color: var(--graphite); }
.hlink { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 17px; line-height: 24px; font-weight: 600; color: var(--orange-deep); white-space: nowrap; }
.hlink .ico { width: 18px; height: 18px; }

/* reviews (parts.review_card) */
.hrev { display: flex; align-items: flex-start; gap: 32px; }
.rv { flex: 1 1 0; min-width: 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px; border: var(--bw) solid var(--line); background: var(--cream); }
.rv-top { display: flex; align-items: flex-start; gap: 12px; justify-content: space-between; }
.rv-who { display: flex; align-items: center; gap: 12px; }
.rv-who > div { display: flex; flex-direction: column; }
.rv-av { width: 40px; height: 40px; border-radius: 999px; background: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 17px; line-height: 24px; font-weight: 600; color: var(--graphite); flex-shrink: 0; }
.rv-line { display: flex; align-items: baseline; gap: 6px; }
.rv-name { font-size: 17px; line-height: 24px; font-weight: 600; }
.rv-visits, .rv-when { font-size: 13px; line-height: 18px; color: var(--graphite); }
.rv-when { text-align: right; }
.rv-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--orange-deep); white-space: nowrap; }
.rv-rate { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; }
.rv-stars { display: inline-flex; gap: 2px; align-items: center; }
.rv-stars .star svg { width: 16px; height: 16px; }

.rv-place { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--orange-deep); }
.rv-text { font-size: 17px; line-height: 24px; }
.rv-photos { display: flex; align-items: center; gap: 8px; }
.rv-ph { width: 96px; height: 72px; border-radius: 12px; background: var(--paper); flex-shrink: 0; }
.rv-dish { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; color: var(--graphite); }
.rv-dish .ico { width: 16px; height: 16px; }
.hrev-empty { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 28px; border-radius: 20px; border: var(--bw) solid var(--line); background: var(--cream); }
.hrev-empty p { font-size: 17px; line-height: 24px; color: var(--graphite); margin: 4px 0 8px; max-width: 60ch; }
.hand-note { font: 400 28px/1 'Marck Script', 'Caveat', cursive; color: var(--orange); transform: rotate(-6deg); white-space: nowrap; display: inline-block; }

/* collections (parts.collection_card) */
.hcolls { display: flex; gap: 32px; }
.coll { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; color: var(--ink); text-decoration: none; }
.coll-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.coll-grid > div { height: 96px; border-radius: 14px; background: var(--paper); }
.coll-sticker { position: absolute; left: calc(50% - 36px); top: 64px; width: 72px; height: 72px; border-radius: 999px; background: var(--cream); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 var(--bw) var(--line); }
.coll-sticker img { width: 44px; height: 44px; }
.coll-heart { position: absolute; left: -14px; top: -16px; transform: rotate(-10deg); }
.coll-title { display: flex; align-items: baseline; gap: 10px; }
.coll-title span:first-child { font-size: 22px; line-height: 28px; font-weight: 600; }
.coll-count { font-size: 13px; line-height: 18px; color: var(--graphite); }

/* journal (parts.article_card) */
.harts { display: flex; gap: 32px; }
.art { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; }
.art-photo { position: relative; width: 100%; aspect-ratio: 416 / 220; border-radius: 20px; background: var(--paper); }
.art-meta { display: flex; gap: 6px; font-size: 13px; line-height: 18px; color: var(--graphite); }
.art-rub { color: var(--orange-deep); font-weight: 600; text-transform: lowercase; }
.art-title { font-size: 22px; line-height: 28px; font-weight: 600; }

/* ---------------------------------------------------------------- footer (parts.footer) */
.bf { margin-top: 68px; min-height: 244px; box-sizing: border-box; padding: 32px max(64px, calc((100% - 1312px) / 2)); background: var(--orange); display: flex; gap: 48px; align-items: flex-start; color: var(--on-orange); position: relative; z-index: 1; }
main + .bf { margin-top: 68px; }
.bf-brand { display: flex; flex-direction: column; gap: 6px; height: 180px; width: 170px; flex-shrink: 0; }
.bf-brand .logo { color: var(--on-orange); }
.bf-brand .logo svg { width: 169px; height: 35px; }
.bf-tag { font-size: 13px; line-height: 18px; opacity: .85; }
.bf-copy { font-size: 13px; line-height: 18px; opacity: .7; margin-top: auto; }
.bf-cols { display: flex; gap: 40px; flex-grow: 1; justify-content: space-between; }
.bf-cols > div { display: flex; flex-direction: column; gap: 6px; white-space: nowrap; }
.bf-h { font-size: 17px; line-height: 24px; font-weight: 600; opacity: .8; }
.bf-cols a { font-size: 14px; line-height: 20px; color: var(--on-orange); text-decoration: none; }
.bf-cols a:hover { text-decoration: underline; }
.bf-cta { width: 460px; height: 180px; box-sizing: border-box; padding: 24px 12px 0 28px; border-radius: 24px; background: #fffbf8; flex-shrink: 0; display: grid; grid-template-columns: minmax(0, 1fr) 112px; column-gap: 12px; }
:root[data-theme="dark"] .bf-cta { background: #1d1a18; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bf-cta { background: #1d1a18; } }
.bf-cta > div:first-child { display: flex; flex-direction: column; gap: 6px; padding-bottom: 24px; }
.bf-cta b { font: 400 24px/28px 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.bf-cta span { font-size: 13px; line-height: 18px; color: #4b4b48; }
:root[data-theme="dark"] .bf-cta span { color: #bdb3a9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bf-cta span { color: #bdb3a9; } }
.bf-cta .bbtn { align-self: flex-start; margin-top: auto; }
.bf-chef { display: flex; align-items: flex-end; justify-content: center; }
.bf-chef img { height: 150px; width: auto; }

/* ---------------------------------------------------------------- narrower screens: the same parts, fewer columns */
@media (max-width: 1439px) {
  .bh { padding-left: 48px; padding-right: 48px; }
  .bhome { padding-left: 48px; padding-right: 48px; }
  .bf { padding-left: 48px; padding-right: 48px; }
}
@media (max-width: 1279px) {
  .bh-nav { gap: 16px; }
  .bh-search { width: 190px; }
  .hh-h1 { font-size: 80px; line-height: 84px; }
  .hfilters { width: 170px; }
  .hmain { gap: 40px; }
  .hgrid { gap: 40px 24px; }
  .bf { flex-wrap: wrap; }
  .bf-cta { width: 100%; max-width: 460px; }
}
@media (max-width: 1099px) {
  .bh { flex-wrap: wrap; row-gap: 12px; }
  .bh-nav { order: 3; width: 100%; }
  .hgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hrev, .hcolls, .harts { flex-wrap: wrap; }
  .rv, .coll, .art { flex: 1 1 320px; }
  .fest .f6, .fest .f1 { display: none; }
}
@media (max-width: 1099px) { .bphoto { height: auto; aspect-ratio: 330 / 180; } }
@media (max-width: 833px) {
  .bh, .bhome, .bf { padding-left: 16px; padding-right: 16px; }
  .bh .district, .bh-search { display: none; }
  .hh-row { flex-direction: column; align-items: flex-start; }
  .hh-h1 { font-size: 44px; line-height: 48px; white-space: normal; }
  .hh-surprise { width: 100%; max-width: 330px; }
  .hh-chips { flex-direction: column; align-items: flex-start; }
  .hh-chiprow { overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .hmain { flex-direction: column; }
  .hfilters { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .hgrid { grid-template-columns: 1fr; width: 100%; }
  .fest { height: auto; min-height: 208px; }
  .fest-body { position: relative; left: auto; top: auto; padding: 20px; max-width: 60%; }
  .fest-title { font-size: 22px; line-height: 26px; }
  .fest .f2, .fest .f4, .fest .f5, .fest .f7 { display: none; }
  .bline-loop, .bline-spiral, .doodle-r, .doodle-l { display: none; }
  .hsec-colls { margin-top: 72px; } .hsec-journal { margin-top: 96px; }
  .bsec-titles h2 { font-size: 32px; line-height: 36px; }
  .bf { flex-direction: column; }
  .bf-brand { height: auto; }
  .bf-cols { flex-wrap: wrap; gap: 24px; }
}
