@font-face { font-family: "Epilogue"; src: url("../fonts/epilogue-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  /* From m00: white-painted brick, the sign board, its red frame, the shutter, the REGISTERED plate */
  --paper: #ECEAE5;
  --paper-2: #E1DED7;
  --ink: #141416;
  --muted: #55565C;
  --red: #D4202A;
  --red-deep: #B5161F;
  --spray: #F2414A;
  --board: #121214;
  --on-board: #EDEBE6;
  --board-muted: #A9A8A6;
  --steel: #2E3034;
  --on-steel: #E8E7E3;
  --steel-muted: #B4B3B0;
  --plate: #1F6B4A;

  --display: "Epilogue", "Arial Narrow", sans-serif;
  --text: "Figtree", system-ui, sans-serif;
  --pad: clamp(18px, 2.4vw, 32px);
  --anchor: 42%;
  --nav-h: 68px;
  --gap: clamp(96px, 12vw, 200px);

  --settle: cubic-bezier(.22, 1, .36, 1);
  --inout: cubic-bezier(.65, 0, .25, 1);
  --t-control: 220ms;
  --t-enter: 900ms;
  --t-scene: 1200ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.still { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--text); caret-color: var(--red); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--pad); top: -60px; background: var(--ink); color: var(--paper); padding: 12px 16px; z-index: 50; }
.skip:focus { top: 8px; }
.need { color: var(--red-deep); font-weight: 600; }

/* Buttons: flat, square like the sign board */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  font: 700 16px/1 var(--text); text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: background-color var(--t-control) ease, transform 160ms var(--settle);
}
.btn:active { transform: scale(.97); }
.btn.red { background: var(--red); color: #fff; }
.btn.light { background: var(--on-board); color: var(--ink); }
.btn.ink { background: var(--ink); color: var(--paper); }
.link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .btn.red:hover { background: var(--red-deep); }
  .btn.light:hover { background: #fff; }
  .btn.ink:hover { background: #2a2a2e; }
  .link:hover { text-decoration-thickness: 2px; }
}
.ctas { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* Nav */
.nav {
  height: var(--nav-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--pad);
  background: var(--board); color: var(--on-board);
}
.mark { font: 900 19px/1 var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.mark span { color: var(--board-muted); font-weight: 700; }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { font: 600 13px/1 var(--text); text-transform: uppercase; letter-spacing: .12em; text-decoration: none; padding: 14px 0; }
@media (hover: hover) and (pointer: fine) { .nav nav a:hover { text-decoration: underline; } }
.motion {
  font: 600 13px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--on-board);
  background: transparent; border: 0; min-height: 44px; padding: 0 4px; cursor: pointer; transition: transform 160ms var(--settle);
}
.motion:active { transform: scale(.97); }
.nav-call { min-height: 44px; }

/* Hero: the sign board beside the storefront */
.hero {
  display: grid; grid-template-columns: 1fr min(48vw, calc((100svh - var(--nav-h)) * .75));
  min-height: calc(100svh - var(--nav-h)); background: var(--board); color: var(--on-board);
}
.board { padding: var(--pad); display: flex; }
.board-in {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px;
  border: 6px solid var(--red); padding: clamp(28px, 4vw, 64px);
}
.name {
  margin: 0; font: 900 clamp(3rem, 6.4vw, 6.4rem)/.92 var(--display); text-transform: uppercase;
  letter-spacing: -.01em; max-width: 9ch;
}
.name em { display: inline-block; font-style: normal; transform: skewX(-9deg); transform-origin: left bottom; color: var(--red); }
.what { font: 700 clamp(1.4rem, 2.2vw, 2rem)/1.2 var(--display); max-width: 22ch; }
.facts { color: var(--board-muted); font-size: 17px; font-variant-numeric: tabular-nums; }
.facts [data-status] { color: var(--on-board); font-weight: 600; }
.dot { margin: 0 6px; }
.rating { color: var(--board-muted); font-size: 15px; }
.hero-photo { position: relative; overflow: hidden; }
.hero-photo picture, .hero-img { width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 50% 34%; transition: transform var(--t-scene) var(--settle), opacity var(--t-scene) var(--settle); }
.js .hero-img.wait { transform: scale(1.04); opacity: .001; }
.hero-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; font-size: 13px; color: #f3f2ef; background: rgba(18,18,20,.74); }

/* Section headings start on the anchor line */
.sec-h { margin: 0 0 clamp(32px, 4vw, 56px); font: 800 clamp(2rem, 3.4vw, 3.2rem)/1 var(--display); letter-spacing: -.02em; text-wrap: balance; }

/* Services: the sign's three lines */
.sign-strip { margin: 0 calc(-1 * var(--pad)) clamp(40px, 5vw, 72px) var(--anchor); }
.sign-strip img { width: 100%; }
.sign-strip figcaption, .plate figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.plate { margin-top: 28px; max-width: 320px; }
.plate img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.services { padding: var(--gap) var(--pad) 0; }
.services .sec-h { margin-left: var(--anchor); }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { display: grid; grid-template-columns: 62% 1fr; align-items: end; gap: 0 32px; padding: clamp(14px, 1.6vw, 22px) 0; }
.lines li + li { margin-top: 4px; }
.line {
  grid-column: 1; font: 900 clamp(3.4rem, 8.6vw, 8.6rem)/.86 var(--display); text-transform: uppercase; letter-spacing: -.035em;
}
.lines .note { grid-column: 2; max-width: 40ch; padding-bottom: .4em; font-size: 18px; }
.lines .general .line { font-size: clamp(2.2rem, 4.6vw, 4.4rem); font-weight: 800; color: var(--muted); }
.lines .general { margin-top: 20px; }

/* Hours: the sprayed OPEN, live */
.open {
  margin-top: var(--gap); background: var(--steel); color: var(--on-steel);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch;
}
.open-copy { padding: clamp(72px, 9vw, 140px) var(--pad); padding-right: clamp(24px, 5vw, 80px); }
.sprayed {
  display: inline-block;
  font: 900 clamp(5rem, 13vw, 12.5rem)/.85 var(--display); text-transform: uppercase; letter-spacing: -.02em;
  color: var(--spray); transform: rotate(-2deg); transform-origin: left bottom; margin-bottom: 26px;
}
.sprayed.closed { color: var(--steel-muted); }
.now { font: 700 clamp(1.2rem, 1.8vw, 1.6rem)/1.3 var(--display); max-width: 30ch; margin-bottom: 36px; }
.week { border-collapse: collapse; width: 100%; max-width: 460px; font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.week th, .week td { text-align: left; padding: 10px 12px; font-size: 17px; }
.week th { font-weight: 500; }
.week td { text-align: right; }
.week tr.today { background: #3D4045; }
.week tr.today th, .week tr.today td { font-weight: 800; }
.open .small { color: var(--steel-muted); margin-bottom: 32px; }
.small { font-size: 15px; color: var(--muted); }
.open-photo { position: relative; align-self: start; padding: clamp(72px, 9vw, 140px) 0 0; }
.open-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 60%; }
.open-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; font-size: 13px; color: #f3f2ef; background: rgba(46,48,52,.82); }

/* Reviews */
.reviews { padding: var(--gap) var(--pad) 0; display: grid; grid-template-columns: var(--anchor) 1fr; }
.reviews .sec-h { grid-column: 2; }
.score { grid-column: 1; grid-row: 2 / span 2; max-width: 22ch; padding-right: 32px; font-size: 18px; }
.score .big { display: block; font: 900 clamp(6rem, 12vw, 11rem)/.85 var(--display); letter-spacing: -.04em; color: var(--ink); margin-bottom: 12px; }
.quotes { grid-column: 2; list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
blockquote { margin: 0; font: 700 clamp(1.25rem, 1.8vw, 1.65rem)/1.25 var(--display); letter-spacing: -.01em; max-width: 36ch; }
.who { margin-top: 10px; color: var(--muted); font-size: 15px; }
.ahead { grid-column: 2; margin-top: 48px; padding: 24px 28px; background: var(--paper-2); max-width: 62ch; }
.ahead .who { display: inline; margin: 0; }

/* The earlier sign */
.earlier { margin-top: var(--gap); }
.earlier img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.earlier-copy { display: grid; grid-template-columns: var(--anchor) 1fr; padding: 40px var(--pad) 0; }
.earlier-copy .sec-h { grid-column: 1; padding-right: 32px; margin: 0; }
.earlier-copy p { grid-column: 2; max-width: 58ch; }
.earlier-copy .need { margin-top: 14px; font-size: 16px; }

/* Visit */
.visit { margin-top: clamp(96px, 10vw, 160px); padding: clamp(72px, 8vw, 120px) var(--pad) clamp(72px, 8vw, 120px); background: var(--paper-2); }
.street { font: 900 clamp(3rem, 12.4vw, 12rem)/.86 var(--display); text-transform: uppercase; letter-spacing: -.04em; margin-bottom: 48px; white-space: nowrap; }
.visit-grid { display: grid; grid-template-columns: var(--anchor) 1fr; gap: 32px 0; }
.visit-grid > div:first-child { padding-right: 32px; }
.visit-grid > div:last-child p { max-width: 46ch; margin-bottom: 24px; }
.addr { font: 800 clamp(1.3rem, 1.9vw, 1.7rem)/1.2 var(--display); margin-bottom: 10px; }
.reg { margin-top: 24px; font-size: 16px; max-width: 40ch; }
.reg span { display: inline-block; background: var(--plate); color: #fff; font: 800 13px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; padding: 6px 8px; margin-right: 8px; }

/* Footer: the sign board again */
.foot { background: var(--board); color: var(--on-board); padding: var(--pad); padding-bottom: 32px; }
.foot-board { border: 6px solid var(--red); padding: clamp(40px, 6vw, 88px) clamp(20px, 4vw, 64px); text-align: center; }
.foot-list { font: 700 14px/1 var(--text); text-transform: uppercase; letter-spacing: .16em; color: var(--board-muted); margin-bottom: 22px; }
.foot-name { font: 900 clamp(2.2rem, 6vw, 5.6rem)/.95 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.foot-name em { display: inline-block; font-style: normal; transform: skewX(-9deg); color: var(--red); }
.foot-tel { margin-top: 22px; font: 800 clamp(1.5rem, 3vw, 2.6rem)/1 var(--display); }
.foot-tel a { text-decoration: none; display: inline-block; padding: 8px 0; }
.foot-addr { margin-top: 14px; color: var(--board-muted); font-size: 16px; font-variant-numeric: tabular-nums; }
.fine { margin-top: 24px; font-size: 13px; color: var(--board-muted); line-height: 1.5; }

/* Phone bar */
.bar { display: none; }

/* Entrances: visible by default, JS adds the start state */
.js .rise { opacity: 0; transform: translateY(16px); transition: opacity var(--t-enter) var(--settle) var(--d, 0ms), transform var(--t-enter) var(--settle) var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }
.js .reveal.wait { clip-path: inset(0 0 100% 0); }
.js .reveal.shown { clip-path: inset(0); transition: clip-path var(--t-scene) var(--settle); }

html.still .rise, html.still .hero-img { transform: none !important; transition: opacity 400ms ease !important; }
html.still .reveal { clip-path: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .hero-img { transform: none !important; transition: opacity 400ms ease !important; }
  .reveal { clip-path: none !important; }
  .sprayed { transform: none; }
}

@media (max-width: 1100px) {
  .nav nav { display: none; }
  .mark span { display: none; }
}

@media (max-width: 760px) {
  :root { --nav-h: 60px; --anchor: 0%; --gap: 88px; }
  body { font-size: 17px; }
  .nav { gap: 12px; }
  .nav-call { display: none; }
  .motion { margin-left: auto; }
  .mark span { display: inline; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; height: 44svh; min-height: 300px; }
  .hero-img { object-position: 50% 36%; }
  .hero-photo figcaption { font-size: 12px; bottom: 10px; }
  .board { padding: 14px; }
  .board-in { padding: 24px 18px 22px; gap: 14px; border-width: 5px; }
  .hero .ctas .link { display: none; }
  .rating { display: none; }
  .name { font-size: clamp(2.4rem, 12vw, 3.2rem); }
  .what { font-size: 1.2rem; }
  .facts { font-size: 15px; }
  .hero .ctas { gap: 10px; }
  .ctas .btn { flex: 1 1 100%; }
  .services .sec-h { margin-left: 0; }
  .sign-strip { margin-left: calc(-1 * var(--pad)); }
  .sign-strip figcaption { padding: 0 var(--pad); }
  .lines li { grid-template-columns: 1fr; }
  .lines .note { grid-column: 1; margin-top: 10px; padding: 0; }
  .line { font-size: clamp(2.8rem, 15vw, 4.4rem); }
  .lines .general .line { font-size: 2.1rem; }
  .open { grid-template-columns: minmax(0, 1fr); }
  .open-photo { padding: 0; }
  .open-photo figcaption { bottom: 0; }
  .open-copy { padding: 56px var(--pad) 72px; }
  .sprayed { font-size: clamp(3.6rem, 21vw, 6rem); }
  .reviews { grid-template-columns: 1fr; }
  .reviews .sec-h, .score, .quotes, .ahead { grid-column: 1; grid-row: auto; }
  .score { max-width: none; padding: 0; margin-bottom: 40px; }
  .earlier img { aspect-ratio: 4 / 5; object-position: 45% 50%; }
  .earlier-copy { grid-template-columns: 1fr; gap: 20px; padding-top: 32px; }
  .earlier-copy .sec-h, .earlier-copy p { grid-column: 1; }
  .street { font-size: clamp(2.4rem, 13.4vw, 3.6rem); white-space: normal; }
  .street span { display: block; }
  .visit-grid { grid-template-columns: 1fr; }
  .foot { padding-bottom: 96px; }
  .bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--board);
    transform: translateY(110%); transition: transform 250ms var(--settle);
  }
  .bar.show { transform: none; }
  .bar .btn { min-height: 50px; }
}
