    /* =====================================================================
       v2 — one-hue palette, unified value glyphs, compact detail page
       ===================================================================== */
    .sg {
      display: inline-grid;
      place-items: center;
      color: var(--brown)
    }

    .sg svg {
      width: 18px;
      height: 18px
    }

    /* seats: one shape for "how full" — occupied chair is bold orange, free chair is faint */
    .seats {
      display: inline-flex;
      align-items: flex-end;
      gap: 2px
    }

    .seats i {
      width: 9px;
      height: 11px;
      border-radius: 3px 3px 2px 2px;
      background: var(--seat-free);
      box-shadow: inset 0 3px 0 var(--seat-free-b)
    }

    .seats i.o {
      background: var(--seat-occ);
      box-shadow: inset 0 3px 0 var(--brown)
    }

    .m {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      white-space: nowrap
    }

    .m b {
      font-weight: 800;
      color: var(--ink)
    }

    .m.big {
      gap: 10px
    }

    .m.big .seats i {
      width: 16px;
      height: 20px;
      box-shadow: inset 0 5px 0 var(--seat-free-b)
    }

    .m.big .seats i.o {
      box-shadow: inset 0 5px 0 var(--brown)
    }

    .m.big b {
      font-size: 34px
    }

    .m.big .sg svg {
      width: 36px;
      height: 36px
    }

    .mrow3 {
      display: flex;
      flex-wrap: wrap;
      gap: 6px
    }

    .mrow3 .m {
      background: var(--cream);
      border-radius: 10px;
      padding: 6px 10px
    }

    /* tag pills */
    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      font-size: 13px
    }

    .tagp2 {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 12px;
      border-radius: 999px;
      background: var(--sand2);
      border: 1px solid #F2D9A6;
      color: var(--brown);
      font-weight: 800;
      font-size: 13px;
      white-space: nowrap
    }

    .tagp2 svg {
      width: 15px;
      height: 15px
    }

    .tagp2.st {
      background: #FFF0D2;
      border-color: var(--amberL);
      color: var(--orange2)
    }

    .tagp2.st svg {
      width: 12px;
      height: 15px
    }

    .tagp2.st.closed {
      background: var(--cream);
      border-color: var(--line2);
      color: var(--ink3)
    }

    /* map markers */
    .mk-pill .seats {
      gap: 1.5px
    }

    .mk-pill .seats i {
      width: 6px;
      height: 8px;
      border-radius: 2px 2px 1px 1px;
      box-shadow: inset 0 2px 0 var(--seat-free-b)
    }

    .mk-pill .seats i.o {
      box-shadow: inset 0 2px 0 var(--brown)
    }

    .mk.hit {
      z-index: 4
    }

    .mk.hit .mk-name {
      opacity: 1;
      transform: none
    }

    .mk.hit .mk-pill {
      border-color: var(--brown)
    }

    .ex-map {
      background: #EFE4CF
    }

    /* filters: bigger, bolder group labels; noise hint sits above the slider */
    .fgrp>span {
      font-size: 15px;
      font-weight: 800;
      letter-spacing: 0;
      text-transform: none;
      color: var(--ink);
      gap: 8px
    }

    .fgrp>span svg {
      width: 18px;
      height: 18px;
      color: var(--brown)
    }

    .fpanel .tgl-row b {
      font-size: 15px
    }

    .sound-value {
      font-size: 15px
    }

    .sound-hint {
      min-height: 2.8em;
      margin: 4px 0 0;
      font-size: 13px;
      color: var(--ink2)
    }

    /* cafe card */
    .ccard {
      cursor: pointer;
      gap: 12px
    }

    .ccard.is-closed {
      background: #FDFBF7
    }

    .cc-top {
      align-items: center
    }

    .cc-t {
      flex: 1;
      min-width: 0
    }

    .cc-top .meta {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 13px
    }

    .cc-act {
      display: flex;
      gap: 6px;
      margin-left: auto;
      flex: none
    }

    .cc-act .heart,
    .cc-act .cmpb,
    .cd-act .heart,
    .cd-act .cmpb {
      width: 40px;
      height: 40px
    }

    .go-arr {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      display: inline-grid;
      place-items: center;
      background: var(--brown);
      color: #fff;
      flex: none;
      transition: background .2s, transform .2s
    }

    .go-arr svg {
      width: 18px;
      height: 18px
    }

    .go-arr:hover {
      background: var(--brown2)
    }

    .ccard:hover .go-arr {
      transform: translateX(3px)
    }

    .tile {
      padding: 12px 4px 10px;
      gap: 6px
    }

    .tile .ti {
      height: 26px
    }

    .tile .ti svg {
      width: 22px;
      height: 22px
    }

    .tile .ti .wf {
      width: 26px;
      height: 21px
    }

    .tile .seats i {
      width: 7px;
      height: 10px
    }

    .tile b {
      font-size: 14px
    }

    .heart[aria-pressed="true"] {
      border-color: var(--orange2);
      color: var(--orange2)
    }

    .heart[aria-pressed="true"] svg path {
      fill: var(--orange2)
    }

    .heart.burst::after {
      border-color: var(--orange2)
    }

    .toast .tk {
      background: var(--orange2)
    }

    .b-live {
      background: var(--sand2);
      color: var(--brown)
    }

    .lvl i.on {
      background: var(--brown)
    }

    /* home — numbers in heavier type */
    .lamp .stat b,
    .hstats b {
      font-family: var(--f-ui);
      font-weight: 800;
      letter-spacing: -.02em
    }

    .lamp .stat b {
      font-size: 42px
    }

    .lamp .stat span {
      font-weight: 800
    }

    /* home hero → it's a map app, visible at first glance */
    .arch {
      height: auto;
      min-height: 560px;
      padding: 64px 48px 34px
    }

    .hero-kick {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: var(--paper);
      color: var(--brown);
      font-weight: 800;
      font-size: 13px;
      padding: 6px 13px;
      border-radius: 999px;
      box-shadow: 0 4px 12px rgba(62, 42, 23, .1);
      margin-bottom: 14px
    }

    .hero-kick svg {
      width: 16px;
      height: 16px
    }

    .arch p {
      margin: 14px 0 18px
    }

    .hsearch .btn span {
      display: inline
    }

    .hero-map.ex-map {
      position: relative;
      width: 100%;
      height: 210px;
      margin-top: 18px;
      border-radius: 22px;
      overflow: hidden;
      border: 6px solid var(--brown);
      box-shadow: var(--sh);
      cursor: pointer;
      touch-action: auto;
      flex: none
    }

    .hm-legend {
      position: absolute;
      left: 10px;
      bottom: 10px;
      z-index: 6;
      display: flex;
      gap: 10px;
      align-items: center;
      background: var(--paper);
      border-radius: 999px;
      padding: 6px 12px;
      box-shadow: 0 3px 10px rgba(62, 42, 23, .15)
    }

    .hm-legend>span {
      display: inline-grid;
      place-items: center
    }

    .hm-legend .sg svg {
      width: 16px;
      height: 16px
    }

    .hm-open {
      position: absolute;
      right: 10px;
      bottom: 10px;
      z-index: 6;
      display: inline-flex;
      gap: 6px;
      align-items: center;
      background: var(--brown);
      color: #fff;
      padding: 7px 13px;
      border-radius: 999px;
      font-weight: 800;
      font-size: 13px;
      transition: background .2s
    }

    .hm-open svg {
      width: 16px;
      height: 16px
    }

    .hero-map:hover .hm-open {
      background: var(--brown2)
    }

    /* purpose = coffee cups on saucers */
    .purp.cups {
      gap: 20px
    }

    .purp .cupc {
      background: none;
      border: 0;
      border-radius: 24px;
      padding: 6px 8px 10px;
      align-items: center;
      text-align: center;
      gap: 4px
    }

    .purp .cupc:hover {
      transform: none;
      box-shadow: none;
      border-color: transparent
    }

    .cup-svg {
      width: min(200px, 100%);
      height: auto;
      overflow: visible
    }

    .cupg {
      transform-box: fill-box;
      transform-origin: 50% 100%;
      transition: transform .35s cubic-bezier(.3, 1.6, .5, 1)
    }

    .cupc:hover .cupg,
    .cupc:focus-visible .cupg {
      transform: translateY(-8px) rotate(-5deg)
    }

    .cupc .steam path {
      fill: none;
      stroke: #C08A4A;
      stroke-width: 3;
      stroke-linecap: round;
      opacity: 0;
      animation: stm 2.6s ease-in-out infinite
    }

    .cupc .steam path:nth-child(2) {
      animation-delay: .8s
    }

    .cupc .steam path:nth-child(3) {
      animation-delay: 1.6s
    }

    .cupc:hover .steam path {
      animation-duration: 1.4s
    }

    .purp .cupc b {
      font-size: 19px;
      font-weight: 800;
      color: var(--ink)
    }

    .purp .cupc span {
      font-size: 14px;
      color: var(--ink2)
    }

    /* map preview — the whole card opens the cafe */
    .pv {
      cursor: pointer;
      gap: 12px;
      transition: box-shadow .2s
    }

    .pv:hover {
      box-shadow: 0 20px 54px rgba(62, 42, 23, .28)
    }

    .pv-h .meta {
      display: flex;
      align-items: center;
      gap: 4px
    }

    .pv-btns {
      display: flex;
      gap: 6px;
      margin-left: auto;
      flex: none
    }

    .pv-btns .heart,
    .pv-btns .cmpb,
    .pv-btns .pv-x {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      margin: 0
    }

    .pv-btns .heart svg,
    .pv-btns .cmpb svg {
      width: 17px;
      height: 17px
    }

    .pv-mood {
      padding: 8px 12px;
      font-size: 13px
    }

    .pv-ms {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px
    }

    .pv-ms>div {
      background: var(--cream);
      border-radius: 14px;
      padding: 10px 4px 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      text-align: center;
      min-width: 0
    }

    .pv-ms>div>:first-child {
      height: 24px;
      display: grid;
      place-items: center
    }

    .pv-ms .seats {
      display: inline-flex
    }

    .pv-ms .seats i {
      width: 9px;
      height: 13px
    }

    .pv-ms .sg svg {
      width: 22px;
      height: 22px
    }

    .pv-ms b {
      font-size: 15px;
      font-weight: 800;
      line-height: 1.1
    }

    .pv-ms small {
      font-size: 11px;
      color: var(--ink2)
    }

    .pv-go {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
      font-weight: 800;
      font-size: 13px;
      color: var(--brown)
    }

    .pv-go svg {
      width: 16px;
      height: 16px;
      transition: transform .2s
    }

    .pv:hover .pv-go svg {
      transform: translateX(4px)
    }

    /* compare */
    .cmp-rec {
      display: flex;
      align-items: center;
      gap: 14px;
      background: var(--sand2);
      border: 1.5px solid var(--amberL);
      border-radius: 18px;
      padding: 14px 16px;
      margin-bottom: 14px;
      transition: transform .2s
    }

    .cmp-rec:hover {
      transform: translateY(-2px)
    }

    .cmp-rec .star {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background: var(--orange);
      color: #fff;
      display: grid;
      place-items: center;
      flex: none
    }

    .cmp-rec .star svg,
    .rec-tag svg,
    .best-k svg {
      width: 22px;
      height: 22px
    }

    .cmp-rec .star svg path,
    .rec-tag svg path,
    .best-k svg path {
      fill: currentColor
    }

    .cmp-rec small {
      display: block;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--ink2)
    }

    .cmp-rec b {
      display: block;
      font-size: 20px;
      color: var(--ink);
      line-height: 1.2
    }

    .cmp-rec em {
      font-style: normal;
      font-size: 13px;
      font-weight: 700;
      color: var(--brown)
    }

    .cmp-rec .go {
      margin-left: auto;
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: var(--brown);
      color: #fff;
      display: grid;
      place-items: center;
      flex: none
    }

    .cmp-rec .go svg {
      width: 18px;
      height: 18px
    }

    .cmp-t th {
      text-transform: none;
      letter-spacing: 0;
      width: 130px
    }

    .cmp-t .mh {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--ink);
      font-size: 14px;
      font-weight: 800;
      white-space: nowrap
    }

    .cmp-t .mh svg,
    .cmp-t .mh .wf {
      width: 18px;
      height: 18px;
      color: var(--brown)
    }

    .cmp-t td.rec {
      background: #FFF8EA
    }

    .cmp-t .cn {
      display: block;
      font-size: 18px
    }

    .cmp-t .open-st {
      font-size: 12px
    }

    .rec-tag {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .05em;
      background: var(--orange);
      color: #fff;
      border-radius: 999px;
      padding: 2px 8px 2px 6px;
      margin-bottom: 4px
    }

    .rec-tag svg {
      width: 11px;
      height: 11px
    }

    .cmp-t .cv {
      display: flex;
      align-items: center;
      gap: 7px;
      flex-wrap: wrap
    }

    .cmp-t .cv b {
      font-size: 15px
    }

    .cmp-t .cv small {
      width: 100%;
      font-size: 11px;
      color: var(--ink2)
    }

    .cmp-t td.best .cv>b::after {
      content: "★";
      color: var(--orange);
      margin-left: 4px
    }

    .cmp-key {
      font-size: 12px;
      margin: 14px 0 0;
      display: flex;
      gap: 6px;
      align-items: center;
      flex-wrap: wrap
    }

    .best-k {
      color: var(--orange);
      display: inline-grid
    }

    .best-k svg {
      width: 14px;
      height: 14px
    }

    .ropt .seats {
      margin-bottom: 2px
    }

    /* ---------- cafe detail: everything on one screen ---------- */
    .cd {
      padding-block: 16px 0
    }

    .cd-head {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 14px
    }

    .cd-head .back {
      flex: none
    }

    .cd-title {
      min-width: 0
    }

    .cd-title h1 {
      font-size: 30px;
      color: var(--ink);
      line-height: 1.1
    }

    .cd .mood-line {
      font-family: var(--f-ui);
      font-size: 14px;
      font-weight: 700;
      text-align: left;
      color: var(--brown);
      margin: 3px 0 0;
      max-width: none
    }

    .cd-pills {
      display: flex;
      gap: 6px;
      flex-wrap: wrap
    }

    .cd-act {
      display: flex;
      gap: 6px;
      align-items: center;
      margin-left: auto
    }

    .cd .cd-grid {
      grid-template-columns: minmax(0, 1fr) 340px;
      grid-template-areas: "plan side" "pred side";
      gap: 16px
    }

    .cd .card {
      padding: 16px
    }

    .plan-card {
      grid-area: plan
    }

    .cd .side-stack {
      grid-area: side;
      gap: 12px
    }

    .pred {
      grid-area: pred
    }

    .cd .card-h {
      margin-bottom: 10px;
      gap: 14px
    }

    .cd .card-h h2 {
      font-size: 18px
    }

    .cd .plan-legend {
      margin: 0;
      gap: 12px;
      font-size: 12px;
      font-weight: 700
    }

    .lg-seat {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--seat-free);
      border: 1.5px solid var(--seat-free-b);
      display: inline-grid;
      place-items: center;
      font-size: 9px;
      font-style: normal;
      font-weight: 800;
      color: var(--ink3)
    }

    .lg-seat.o {
      background: var(--seat-occ);
      border-color: var(--brown)
    }

    .lg-seat.u {
      border-style: dashed;
      background: none
    }

    .cd .plan-outer {
      max-width: max(340px, calc((100dvh - 470px) * 1.538));
      margin-inline: auto
    }

    .plan-tools .pt-sep {
      height: 1px;
      background: var(--line2);
      margin: 2px 6px
    }

    .plan-tools button {
      width: 36px;
      height: 36px
    }

    .plan-tools button svg {
      width: 18px;
      height: 18px
    }

    #seatInfo {
      position: absolute;
      left: 10px;
      right: 58px;
      bottom: 10px;
      z-index: 3;
      pointer-events: none
    }

    #seatInfo .seatinfo {
      margin: 0;
      background: var(--paper);
      box-shadow: var(--sh);
      padding: 10px 12px;
      max-width: 460px;
      pointer-events: auto
    }

    .seatinfo .si-ic {
      background: var(--cream);
      color: var(--ink3);
      width: 38px;
      height: 38px
    }

    .seatinfo .si-ic svg {
      width: 20px;
      height: 20px
    }

    .seatinfo.occ .si-ic {
      background: var(--seat-occ);
      color: var(--ink)
    }

    .seatinfo small {
      font-size: 12px
    }

    .seatinfo .pv-x {
      flex: none
    }

    .mcard h3 {
      margin-bottom: 8px
    }

    .mcard h3 svg,
    .pred h3 svg {
      width: 16px;
      height: 16px
    }

    .sc-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 8px;
      flex-wrap: wrap
    }

    .seatcard .big-pct b {
      font-size: 44px
    }

    .seatcard .big-pct span {
      font-weight: 800;
      color: var(--brown)
    }

    .chairs {
      gap: 4px;
      margin-top: 10px
    }

    .chairs i {
      width: 18px;
      height: 18px;
      border-color: var(--seat-free-b);
      background: var(--seat-free)
    }

    .chairs i.o {
      background: var(--seat-occ);
      border-color: var(--brown)
    }

    .ssbig {
      gap: 12px
    }

    .ssbig .art {
      width: 96px;
      height: 64px
    }

    .ssbig b {
      font-size: 14px
    }

    .ssbig small {
      font-size: 12px;
      line-height: 1.35;
      display: block
    }

    .play.icon {
      width: 40px;
      height: 40px;
      padding: 0;
      justify-content: center;
      border-radius: 12px;
      flex: none;
      margin-left: auto;
      align-self: center
    }

    .play.icon svg {
      width: 16px;
      height: 16px
    }

    .ss-scale {
      margin-top: 10px
    }

    .wfbig {
      gap: 12px
    }

    .wfbig .wf {
      width: 52px;
      height: 42px
    }

    .wfbig b {
      font-size: 17px
    }

    .wfbig .mb {
      font-size: 12px;
      color: var(--ink2);
      font-weight: 700;
      margin-left: 4px
    }

    .wfbig small {
      font-size: 12px
    }

    .pred h3 {
      font-family: var(--f-ui);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--ink2);
      display: flex;
      align-items: center;
      gap: 8px
    }

    .pr-h {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 6px;
      min-height: 30px
    }

    .pr-out {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: auto;
      font-size: 13px;
      flex-wrap: wrap
    }

    .pr-out>b {
      font-size: 16px
    }

    .pr-out .btn-g {
      padding: 4px 10px;
      font-size: 13px;
      border-radius: 8px;
      background: var(--cream)
    }

    .pr-bars {
      display: grid;
      grid-template-columns: repeat(15, 1fr);
      gap: 4px;
      height: 36px;
      margin-bottom: 16px
    }

    .pb {
      position: relative;
      height: 100%;
      display: flex;
      align-items: flex-end
    }

    .pb i {
      display: block;
      width: 100%;
      height: calc(var(--v) * .8 + 20%);
      border-radius: 4px;
      background: color-mix(in srgb, var(--ink) var(--v), #EBD5B3);
      transition: box-shadow .2s, transform .2s
    }

    .pb:hover i {
      transform: scaleY(1.06);
      transform-origin: bottom
    }

    .pb.now i {
      outline: 2px dashed var(--orange);
      outline-offset: 2px
    }

    .pb.sel i {
      box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink)
    }

    .pb span {
      position: absolute;
      top: calc(100% + 3px);
      left: 50%;
      transform: translateX(-50%);
      font-size: 10px;
      font-weight: 700;
      color: var(--ink2)
    }

    .pred input[type=range] {
      width: 100%;
      accent-color: var(--brown);
      height: 16px;
      margin: 0
    }

    .about-sg .sg {
      color: var(--brown)
    }

    .orbit .fl .seats i {
      width: 7px;
      height: 9px
    }

    @media (max-width:1100px) {
      .cd .cd-grid {
        grid-template-columns: minmax(0, 1fr) 300px
      }
    }

    @media (max-width:820px) {
      .arch {
        min-height: 0;
        padding: 56px 16px 28px
      }

      .hero-map.ex-map {
        height: 190px;
        border-width: 4px
      }

      .hsearch .btn span {
        display: none
      }

      .purp.cups {
        gap: 8px
      }

      .purp .cupc b {
        font-size: 16px
      }

      .purp .cupc span {
        font-size: 12px
      }

      .lamp .stat b {
        font-size: 30px
      }

      .cd .cd-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "plan" "side" "pred"
      }

      .cd .plan-outer {
        max-width: none
      }

      .cd-title h1 {
        font-size: 26px
      }

      .cd-act {
        margin-left: 0
      }

      .cd .plan-legend {
        order: 3;
        flex-basis: 100%
      }

      .cc-act .heart,
      .cc-act .cmpb,
      .go-arr {
        width: 38px;
        height: 38px
      }

      .pr-out {
        margin-left: 0
      }

      .cmp-t th {
        width: auto
      }
    }

    @media (max-width:480px) {
      .pr-bars {
        gap: 2px
      }

      .cc-top .pinic {
        display: none
      }
    }


    /* hero: the 4 purpose cups sit on the shelf — visible without scrolling */
    .hero {
      min-height: 0;
      margin-top: 16px
    }

    .arch {
      min-height: 0;
      margin-top: 56px;
      padding: 36px 40px 26px
    }

    .arch h1 {
      font-size: clamp(32px, 4vw, 50px)
    }

    .arch p {
      margin: 10px 0 14px
    }

    .hero-map.ex-map {
      height: 150px;
      margin-top: 14px
    }

    .hero-cups {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      width: 100%;
      margin-top: 8px;
      position: relative;
      z-index: 4
    }

    .hero-cups .cupc {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
      padding: 0;
      border-radius: 16px
    }

    .hero-cups .cup-svg {
      width: min(112px, 100%)
    }

    .hero-cups .cupc b {
      font-size: 15px;
      font-weight: 800;
      color: var(--ink);
      margin-top: -2px
    }

    .hero-cups .cupc span {
      display: none
    }

    @media (max-width:820px) {
      .arch {
        margin-top: 48px;
        padding: 30px 12px 18px
      }

      .arch p {
        font-size: 13px
      }

      .hero-map.ex-map {
        height: 120px
      }

      .hero-cups {
        gap: 2px
      }

      .hero-cups .cupc b {
        font-size: 12px
      }

      .hero-kick {
        margin-bottom: 8px
      }
    }

    .hsearch .btn svg {
      color: #fff;
      margin-left: 0
    }

    /* hero fits the screen height, so the 4 cups are always in view; the map window takes what's left */
    .hero {
      height: calc(100dvh - var(--hd) - 28px);
      min-height: 500px;
      max-height: 900px
    }

    .arch {
      height: calc(100% - 56px);
      min-height: 0;
      padding-top: clamp(16px, 3.5vh, 36px)
    }

    .arch h1 {
      font-size: clamp(28px, min(4vw, 5.6vh), 50px)
    }

    .hero-kick {
      margin-bottom: clamp(6px, 1.4vh, 14px)
    }

    .arch p {
      margin: clamp(4px, 1vh, 10px) 0 clamp(8px, 1.6vh, 14px)
    }

    .hero-map.ex-map {
      flex: 1 1 0;
      height: auto;
      min-height: 0;
      margin-top: clamp(8px, 1.6vh, 14px)
    }

    .hero-cups {
      flex: none
    }

    .hero-cups .cup-svg {
      width: min(112px, 100%, 13vh)
    }

    /* the search lives on the map, so the map never hides — it just keeps room for the search bar */
    .hero-map.ex-map {
      min-height: 120px
    }

    /* cafe detail: roof is back and carries the cafe's info */
    .cd-head.roof2 {
      position: relative;
      display: block;
      min-height: 210px;
      margin: 6px 0 16px;
      padding: 0
    }

    .roof-svg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%
    }

    .roof2 .back {
      position: absolute;
      left: 0;
      bottom: 6px;
      z-index: 1
    }

    .roof2 .cd-act {
      position: absolute;
      right: 0;
      bottom: 6px;
      z-index: 1;
      margin: 0
    }

    .roof2 .cd-title {
      position: relative;
      text-align: center;
      padding: 78px 120px 14px
    }

    .roof2 .cd-title h1 {
      font-size: clamp(30px, 3.4vw, 44px)
    }

    .roof2 .mood-line {
      text-align: center;
      margin: 4px auto 0
    }

    .roof2 .cd-pills {
      justify-content: center;
      margin-top: 12px
    }

    .roof2 .tagp2 {
      background: rgba(255, 249, 236, .92)
    }

    /* the floor plan uses the full column width again on desktop */
    .cd .plan-outer {
      max-width: none
    }

    .cd .cd-grid {
      grid-template-columns: minmax(0, 1fr) 320px
    }

    @media (max-width:820px) {
      .hero {
        height: calc(100dvh - var(--hd) - var(--tab) - 24px);
        min-height: 480px
      }

      .arch {
        height: calc(100% - 48px)
      }

      .cd .cd-grid {
        grid-template-columns: minmax(0, 1fr)
      }

      .cd-head.roof2 {
        min-height: 230px
      }

      .roof2 .cd-title {
        padding: 84px 8px 62px
      }

      .roof2 .cd-title h1 {
        font-size: 26px
      }

      .roof2 .mood-line {
        font-size: 12px
      }

      .roof-svg .chim {
        display: none
      }

      .roof2 .tagp2 {
        font-size: 12px;
        padding: 4px 9px
      }
    }

    /* detail: roof + floor plan + side cards fit one screen; only the forecast is below the fold */
    .cd {
      padding-block: 12px 0
    }

    .cd-head.roof2 {
      min-height: 176px;
      margin: 0 0 12px
    }

    .roof2 .cd-title {
      padding: 54px 120px 10px
    }

    .roof2 .cd-title h1 {
      font-size: clamp(28px, 2.8vw, 40px)
    }

    .roof2 .cd-pills {
      margin-top: 8px
    }

    .cd .cd-grid {
      align-items: start
    }

    .cd .plan-outer {
      max-width: max(420px, calc((100dvh - var(--hd) - 316px) * 1.538))
    }

    .cd .pred {
      margin-bottom: 8px
    }

    @media (max-width:820px) {
      .cd .plan-outer {
        max-width: none
      }

      .cd-head.roof2 {
        min-height: 230px
      }

      .roof2 .cd-title {
        padding: 84px 8px 62px
      }
    }


    /* hero: search is back; purposes are one calm row of icon pills (cups removed) */
    .hero-purp {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      width: 100%;
      margin-top: clamp(10px, 1.8vh, 16px);
      flex: none;
      position: relative;
      z-index: 4
    }

    .hp {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 10px;
      border-radius: 16px;
      background: var(--paper);
      border: 1.5px solid var(--line2);
      text-align: left;
      min-width: 0;
      transition: border-color .2s, transform .2s, box-shadow .2s
    }

    .hp:hover {
      border-color: var(--brown);
      transform: translateY(-2px);
      box-shadow: var(--sh)
    }

    .hp-ic {
      width: 36px;
      height: 36px;
      flex: none;
      border-radius: 11px;
      background: var(--sand2);
      color: var(--brown);
      display: grid;
      place-items: center
    }

    .hp-ic svg {
      width: 20px;
      height: 20px
    }

    .hp-t {
      min-width: 0;
      line-height: 1.2
    }

    .hp-t b {
      display: block;
      font-size: 14px;
      font-weight: 800;
      color: var(--ink)
    }

    .hp-t small {
      display: block;
      font-size: 11.5px;
      color: var(--ink2);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis
    }

    @media (max-width:820px) {
      .hero-purp {
        grid-template-columns: 1fr 1fr;
        gap: 6px
      }

      .hp {
        padding: 6px 8px;
        gap: 8px
      }

      .hp-ic {
        width: 30px;
        height: 30px
      }
    }

    /* hero search sits under the text, magnifier button on the right */
    .arch .hsearch {
      position: relative;
      z-index: 7;
      width: 100%;
      margin-top: clamp(4px, 1vh, 10px);
      gap: 6px;
      padding: 5px 5px 5px 6px;
      border-radius: 12px;
      cursor: auto;
      box-shadow: 0 4px 14px rgba(62, 42, 23, .18)
    }

    .arch .hsearch input {
      padding: 8px 10px
    }

    .hs-go {
      display: grid;
      place-items: center;
      flex: none;
      width: 40px;
      height: 40px;
      border: 0;
      border-radius: 10px;
      background: var(--brown);
      color: #fff;
      cursor: pointer;
      transition: background .2s
    }

    .hs-go:hover {
      background: var(--brown2)
    }

    .arch .hsearch .hs-go svg {
      width: 20px;
      height: 20px;
      margin: 0;
      color: #fff
    }

    @media (max-width:820px) {
      .hs-go {
        width: 34px;
        height: 34px
      }
    }

    /* desktop: the map fills the whole arch; kicker, title, text and search float on top of it */
    @media (min-width:1000px) {
      .arch {
        overflow: hidden;
        padding: clamp(44px, 7vh, 64px) 48px 18px
      }

      .arch::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: radial-gradient(ellipse 72% 46% at 50% 14%, rgba(255, 249, 236, .96) 40%, rgba(255, 249, 236, .75) 62%, rgba(255, 249, 236, 0) 82%)
      }

      .arch>.hero-kick,
      .arch>h1,
      .arch>p,
      .arch>.hsearch {
        position: relative;
        z-index: 3
      }

      .arch>p {
        color: var(--ink)
      }

      .arch .hsearch {
        width: min(520px, 100%);
        margin-top: 2px
      }

      .hero-map.ex-map {
        position: absolute;
        inset: 0;
        z-index: 0;
        height: auto;
        min-height: 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none
      }

      .hero-purp {
        margin-top: auto
      }

      .hm-legend,
      .hm-open {
        bottom: 84px
      }

      .hm-legend {
        left: 24px
      }

      .hm-open {
        right: 24px
      }
    }
