:root {
  --paper: #f4eee2;
  --paper-2: #ebe3d3;
  --ink: #1d1a16;
  --ink-2: #4d463d;
  --ink-3: #6f665a;
  --brick: #b33b09;
  --brick-hover: #a5370a;
  --sky-a: #b9dcec;
  --sky-b: #f3ece0;
  --orb: #ffd27a;
  --pave: #c9c2b5;
  --pave-2: #b3ab9d;
  --body: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --win-h: clamp(210px, calc(100svh - 330px), 440px);
  --win-w: calc(var(--win-h) * 1.6);
  --door-w: calc(var(--win-h) * .42);
}
body[data-tod="dusk"] { --sky-a: #e9926a; --sky-b: #f7d9b5; --orb: #ffb36b; }
body[data-tod="night"] { --sky-a: #0d1626; --sky-b: #2b3550; --orb: #efe9d8; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--brick); color: #fff; }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; border-radius: 6px; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; border: 2px solid transparent; transition: background .25s, color .25s, transform .3s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--brick); color: #fff; }
.btn-solid:hover { background: var(--brick-hover); }
.btn-line { border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 17px; }

.top { position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 16px clamp(16px, 4vw, 48px); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; text-decoration: none; min-height: 44px; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 600 14px var(--mono); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(24px, 5vw, 64px) clamp(16px, 4vw, 48px) clamp(56px, 7vw, 96px); max-width: 1320px; margin: 0 auto; }
.plate {
  display: grid; justify-items: center; gap: 2px;
  background: #fbfbf8; padding: 18px 34px 20px; border-radius: 12px;
  box-shadow: inset 0 0 0 4px #fbfbf8, inset 0 0 0 7px var(--ink), 0 18px 30px -18px rgba(29, 26, 22, .5);
  transform: rotate(-3deg);
  transition: transform .8s var(--ease);
}
.plate:hover { transform: rotate(1deg); }
.plate-borough { font: 800 13px/1.2 "Overpass", var(--body); text-transform: uppercase; letter-spacing: .08em; color: #c8102e; }
.plate-name { font: 800 clamp(40px, 5vw, 64px)/1 "Overpass", var(--body); letter-spacing: -.01em; }
.plate-sub { font: 800 13px/1.2 "Overpass", var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
h1 { font: 800 clamp(44px, 6vw, 88px)/.98 var(--display); letter-spacing: -.025em; margin: 0 0 22px; text-wrap: balance; font-variation-settings: "SOFT" 100; }
h1 em { font-style: italic; color: var(--brick); padding-right: .1em; }
.lede { margin: 0 0 28px; max-width: 58ch; color: var(--ink-2); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Street ---------- */
.street { position: relative; height: 100svh; min-height: 560px; overflow: hidden; color: var(--ink); }
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky-a), var(--sky-b) 78%); transition: background 1s; }
.orb { position: absolute; top: 9%; left: 8%; width: clamp(56px, 7vw, 96px); aspect-ratio: 1; border-radius: 50%; background: var(--orb); box-shadow: 0 0 60px 10px color-mix(in srgb, var(--orb) 55%, transparent); will-change: transform; }
.uk-clock { position: absolute; z-index: 4; right: clamp(16px, 4vw, 48px); top: 20px; margin: 0; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(251, 251, 248, .85); font: 400 14px var(--mono); }
.uk-clock b { font-weight: 600; font-variant-numeric: tabular-nums; }
.pavement { position: absolute; left: 0; right: 0; bottom: 0; height: 128px; background: linear-gradient(180deg, var(--pave-2) 0 10px, var(--pave) 10px); z-index: 1; }
.pavement::before { content: ""; position: absolute; left: 0; right: 0; bottom: 34px; height: 6px; background: #9d9586; }

.street-track { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; gap: 0; padding: 0 8vw 64px; width: max-content; }

.shop { position: relative; flex: none; display: grid; grid-template-columns: auto 300px; grid-template-rows: auto auto auto; column-gap: 28px; align-items: end; }
.fascia, .awning, .front { grid-column: 1; }
.fascia {
  position: relative; z-index: 2;
  display: flex; align-items: baseline; justify-content: center; gap: 16px;
  background: var(--fascia); color: var(--sign);
  padding: 14px 24px 12px; border-radius: 6px 6px 0 0;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .25), 0 10px 18px -12px rgba(0, 0, 0, .55);
}
.sign { margin: 0; line-height: 1; white-space: nowrap; transition: text-shadow .6s; }
.sign-ember { font: 400 clamp(34px, 4vw, 48px)/1 "Yellowtail", cursive; }
.sign-crumb { font: 700 clamp(34px, 4vw, 48px)/1 "Fredoka", var(--body); letter-spacing: -.02em; }
.sign-brrr { font: 400 clamp(34px, 4vw, 48px)/1 "Archivo Black", var(--body); letter-spacing: -.03em; }
.sign-tolet { font: 800 clamp(30px, 3.6vw, 42px)/1 var(--display); font-style: italic; }
.fascia-sub { font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .82; }
body[data-tod="night"] .shop:not(.shop-tolet) .sign { text-shadow: 0 0 12px color-mix(in srgb, var(--sign) 70%, transparent), 0 0 30px color-mix(in srgb, var(--sign) 40%, transparent); }

.awning {
  position: relative; z-index: 1; height: 54px; margin: 0 -14px;
  background: repeating-linear-gradient(90deg, var(--s1) 0 28px, var(--s2) 28px 56px);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, radial-gradient(circle 14px at 50% 0, #000 96%, transparent 100%) bottom left / 28px 14px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, radial-gradient(circle 14px at 50% 0, #000 96%, transparent 100%) bottom left / 28px 14px repeat-x;
  transform-origin: top center;
  transform: perspective(500px) rotateX(-28deg);
  transition: transform .9s var(--ease);
  filter: drop-shadow(0 10px 6px rgba(0, 0, 0, .25));
}
.awning::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 40%, rgba(255, 255, 255, .08)); }
.shop:hover .awning { transform: perspective(500px) rotateX(-42deg); }

.front { display: flex; gap: 14px; align-items: flex-end; background: var(--frame); padding: 14px 14px 0; margin-top: -8px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .06); }
.window {
  position: relative; display: block; width: var(--win-w); height: var(--win-h);
  border: 6px solid color-mix(in srgb, var(--frame) 70%, #000); border-bottom-width: 14px; overflow: hidden; background: #000;
  margin-bottom: 14px; text-decoration: none;
}
.window img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease), filter .6s; }
.window:hover img { transform: scale(1.035); }
body[data-tod="night"] .window img { filter: brightness(1.08) saturate(1.05); }
.glare { position: absolute; inset: -20%; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 40%, transparent 48%, transparent 58%, rgba(255, 255, 255, .12) 62%, transparent 68%); transform: translateX(var(--gx, 0px)); pointer-events: none; transition: transform .5s var(--ease); }
.vinyl {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 8px); opacity: 0;
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px;
  background: rgba(251, 251, 248, .94); color: var(--ink); font: 600 15px var(--body);
  transition: opacity .3s, transform .4s var(--ease);
}
.window:hover .vinyl, .window:focus-visible .vinyl { opacity: 1; transform: translate(-50%, 0); }

.door { position: relative; display: block; flex: none; width: var(--door-w); height: calc(var(--win-h) + 34px); background: var(--door); border: 6px solid color-mix(in srgb, var(--frame) 70%, #000); border-bottom: 0; border-radius: 4px 4px 0 0; box-shadow: inset 0 0 0 10px rgba(0, 0, 0, .12); }
.door::before { content: ""; position: absolute; left: 14%; right: 14%; top: 8%; height: 46%; background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .05)); border: 3px solid rgba(0, 0, 0, .25); }
.knob { position: absolute; right: 12%; top: 58%; width: 9px; height: 26px; border-radius: 5px; background: #c9a24a; box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.hang { position: absolute; left: 50%; top: 16%; transform-origin: 50% -18px; animation: settle 2.6s var(--ease) both; }
.hang::before { content: ""; position: absolute; left: 50%; top: -18px; width: 34px; height: 20px; margin-left: -17px; border: 1.5px solid rgba(0, 0, 0, .55); border-bottom: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.shop:hover .hang { animation: swing 1.6s var(--ease); }
@keyframes swing { 0% { transform: translateX(-50%) rotate(0); } 20% { transform: translateX(-50%) rotate(12deg); } 45% { transform: translateX(-50%) rotate(-8deg); } 70% { transform: translateX(-50%) rotate(4deg); } 100% { transform: translateX(-50%) rotate(0); } }
@keyframes settle { 0% { transform: translateX(-50%) rotate(-10deg); } 40% { transform: translateX(-50%) rotate(6deg); } 70% { transform: translateX(-50%) rotate(-2deg); } 100% { transform: translateX(-50%) rotate(0); } }
.hang { transform: translateX(-50%); }
.hang-sign { display: grid; justify-items: center; min-width: 92px; padding: 6px 10px 7px; border-radius: 6px; background: #fbfbf8; color: #15803d; box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .45); }
.hang-sign b { font: 800 19px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.hang-sign small { font: 600 11px/1.3 var(--mono); color: var(--ink-2); white-space: nowrap; }
.shop.closed .hang-sign { color: #b91c1c; }
.hs-soon { color: var(--ink) !important; }

.aboard {
  grid-column: 2; grid-row: 1 / span 3; align-self: end;
  position: relative; margin-bottom: -40px; z-index: 3;
  background: #2b2e2a; color: #f1efe6;
  padding: 18px 18px 16px; border-radius: 6px;
  border: 8px solid #8a5a35;
  box-shadow: 0 18px 24px -14px rgba(0, 0, 0, .55);
}
.aboard::before, .aboard::after { content: ""; position: absolute; bottom: -30px; width: 8px; height: 34px; background: #6e4527; }
.aboard::before { left: 18px; transform: rotate(8deg); }
.aboard::after { right: 18px; transform: rotate(-8deg); }
.ab-title { margin: 0 0 10px; font: 600 17px/1.35 var(--body); }
.aboard ul { margin: 0 0 12px; padding: 0 0 0 18px; font-size: 14.5px; line-height: 1.45; color: #d9d5c8; }
.aboard li + li { margin-top: 6px; }
.aboard li::marker { color: var(--sign); }
.shop-tolet .aboard li::marker { color: #f1efe6; }
.ab-links { margin: 0; display: flex; gap: 16px; }
.ab-links a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 600; text-underline-offset: 4px; color: #fff; }
.ab-links a:hover { color: var(--sign); }

.lamp { flex: none; width: 90px; align-self: flex-end; position: relative; height: calc(var(--win-h) + 210px); margin-bottom: -16px; }
.lamp span { position: absolute; left: 50%; bottom: 0; top: 30px; width: 8px; margin-left: -4px; background: #2b2a27; border-radius: 4px 4px 0 0; }
.lamp::before { content: ""; position: absolute; left: 50%; top: 0; width: 30px; height: 34px; margin-left: -15px; background: #2b2a27; clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.lamp::after { content: ""; position: absolute; left: 50%; top: 10px; width: 18px; height: 20px; margin-left: -9px; background: #fff3c4; opacity: .35; transition: opacity 1s, box-shadow 1s; }
body[data-tod="night"] .lamp::after, body[data-tod="dusk"] .lamp::after { opacity: 1; box-shadow: 0 0 40px 18px rgba(255, 220, 140, .45); }

.window-tolet { background: #f3efe6; display: grid; place-items: center; }
.window-tolet::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, .7), transparent 60%); }
.tolet-board { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; max-width: 78%; padding: 22px 24px; background: #fbfbf8; border: 3px solid var(--brick); border-radius: 6px; transform: rotate(-2deg); box-shadow: 0 10px 18px -12px rgba(0, 0, 0, .5); transition: transform .5s var(--ease); }
.window-tolet:hover .tolet-board { transform: rotate(0) scale(1.03); }
.tolet-board b { font: 800 clamp(30px, 3vw, 44px)/1 var(--display); text-transform: uppercase; color: var(--brick); letter-spacing: .02em; }
.tolet-board > span { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.tolet-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink) !important; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Till ---------- */
.till { display: grid; grid-template-columns: 1fr minmax(300px, 420px); gap: clamp(32px, 6vw, 96px); align-items: start; max-width: 1180px; margin: 0 auto; padding: clamp(80px, 10vw, 140px) clamp(16px, 4vw, 48px); }
.till-copy { position: sticky; top: 40px; }
.till h2 { font: 800 clamp(40px, 5vw, 68px)/1 var(--display); letter-spacing: -.025em; margin: 0 0 18px; text-wrap: balance; }
.till-copy p { color: var(--ink-2); max-width: 46ch; margin: 0 0 28px; font-size: 19px; }
.receipt-slot { position: relative; padding-top: 16px; }
.receipt-slot::before { content: ""; position: absolute; left: -16px; right: -16px; top: 0; height: 22px; border-radius: 11px; background: var(--ink); box-shadow: inset 0 -6px 0 #000; z-index: 2; }
.receipt {
  position: relative; background: #fffdf8; color: #222; padding: 26px 24px 40px; font: 400 14px/1.6 var(--mono);
  box-shadow: 0 30px 40px -30px rgba(29, 26, 22, .45);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  font-variant-numeric: tabular-nums;
}
.js .receipt { clip-path: inset(0 0 100% 0); }
.js .receipt.printed { clip-path: inset(0 0 0 0); transition: clip-path 2.4s steps(24, end); }
.receipt p { margin: 0; }
.r-c { text-align: center; }
.r-head { font-weight: 600; font-size: 16px; letter-spacing: .06em; }
.r-small { font-size: 13px; color: #555; }
.r-rule { border-top: 1.5px dashed #999; margin: 12px 0 !important; }
.r-double { border-top: 3px double #555; }
.r-row { display: flex; justify-content: space-between; gap: 16px; }
.r-row b { font-weight: 600; }
.r-note { font-size: 12.5px; color: #666; margin: -2px 0 4px 12px !important; }
.r-total { font-weight: 600; font-size: 19px; margin: 6px 0 4px !important; }
.barcode { height: 52px; margin: 6px 12px 8px !important; background: repeating-linear-gradient(90deg, #222 0 2px, transparent 2px 4px, #222 4px 7px, transparent 7px 8px, #222 8px 9px, transparent 9px 12px, #222 12px 15px, transparent 15px 17px); }
.r-thanks { margin-top: 10px !important; font-size: 14px; }

/* ---------- Footer ---------- */
.foot { border-top: 2px solid var(--ink); padding: 32px clamp(16px, 4vw, 48px) 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.foot-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.foot-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-underline-offset: 4px; }
.foot-more { margin: 0; color: var(--ink-3); font-size: 15px; max-width: 60ch; }
.foot-more a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Small screens: the street stacks ---------- */
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .street { height: auto; min-height: 0; overflow: visible; }
  .sky { position: absolute; }
  .street-track { width: auto; height: auto; flex-direction: column; align-items: stretch; gap: 72px; padding: 84px 16px 160px; }
  .lamp { display: none; }
  .shop { grid-template-columns: 1fr; max-width: 760px; width: 100%; margin: 0 auto; }
  .aboard { grid-column: 1; grid-row: auto; margin: 22px 8px 0; }
  .aboard::before, .aboard::after { display: none; }
  .window { width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .window-tolet { aspect-ratio: 4 / 3; }
  .front { position: relative; }
  .door { position: absolute; right: 22px; top: 22px; width: auto; height: auto; background: none; border: 0; box-shadow: none; }
  .door::before, .knob { display: none; }
  .hang { position: relative; left: auto; top: auto; transform: none; animation: none; }
  .hang::before { display: none; }
  .shop:hover .hang { animation: none; }
  .vinyl { opacity: 1; transform: translate(-50%, 0); }
}
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; }
  .plate { justify-self: start; transform: rotate(-2deg); }
  .till { grid-template-columns: 1fr; }
  .till-copy { position: static; }
  .fascia { flex-direction: column; align-items: center; gap: 6px; }
  .awning { margin: 0 -8px; }
}
@media (max-width: 480px) {
  .top .btn { padding: 0 14px; font-size: 15px; }
  .brand span:last-child { display: none; }
  .uk-clock { top: 24px; right: 16px; }
  .receipt { padding: 22px 16px 36px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .receipt { clip-path: none; }
}
.door { text-decoration: none; }
