@font-face { font-family: "Anton"; src: url("fonts/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("fonts/worksans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0b0c0a;
  --surface: #171a14;
  --ink: #eff0ec;
  --muted: #a9ab9f;
  --accent: #8fdc4a;
  --accent-ink: #0b0c0a;
  --bone: #e4e5e0;
  --bone-ink: #14160f;
  --bone-muted: #55584b;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem);
  --m: clamp(20px, 2.2vw, 32px);
  --gap: clamp(96px, 14vw, 200px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Work Sans", system-ui, sans-serif; font-size: var(--step-body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.bone :focus-visible, .lime :focus-visible { outline-color: var(--bone-ink); }

.display { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.9; }
.head { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.92; font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.35; }
.small { font-size: var(--step-small); }
.muted { color: var(--muted); }
.tab { font-variant-numeric: tabular-nums; }

.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 600;
  padding: 16px 24px; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease);
}
.btn:hover { background: #a6ea66; transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn.dark { background: var(--bone-ink); color: var(--bone); }
.btn.dark:hover { background: #2a2d20; }
.link { font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 2px; transition: color 160ms var(--ease); }
.link:hover { color: var(--accent); }
.bone .link:hover, .lime .link:hover { color: inherit; text-decoration-thickness: 4px; }

/* Nav */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 20px var(--m); }
.nav .mark { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-size: 1.375rem; letter-spacing: 0.01em; color: var(--accent); text-decoration: none; font-weight: 400; }
.nav .mark span { color: var(--ink); }
.nav ul { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: var(--step-small); transition: color 160ms var(--ease); }
.nav a:hover { color: var(--accent); }

/* Hero */
[data-p], [data-pin] { --p: 1; }
.hero-pin { height: 230svh; }
.hero { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.hero-photo { position: absolute; z-index: 1; right: var(--m); top: 104px; width: 17vw; margin: 0; overflow: hidden; aspect-ratio: 3 / 4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2) translateY(calc(var(--p) * -9%)); will-change: transform; }
.hero-copy { position: relative; z-index: 2; padding: 150px var(--m) 0; max-width: 46ch; }
.hero-copy p { font-size: var(--step-lead); line-height: 1.3; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--muted); }
.status.open .dot { background: var(--accent); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.5); opacity: 0.55; } }
.monument {
  position: absolute; left: -5vw; bottom: -0.105em; margin: 0; white-space: nowrap; color: var(--accent);
  font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-size: 37vw; line-height: 0.8; letter-spacing: -0.02em;
  transform: translateX(calc(var(--p) * var(--travel, 0px) * -1)); will-change: transform;
}

/* Band */
.band { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--m); padding: var(--gap) var(--m) 0; align-items: end; }
.band figure { margin: 0; overflow: hidden; }
.band .big { grid-column: 1 / 8; aspect-ratio: 4 / 5; }
.band .side { grid-column: 9 / 13; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band .side img { aspect-ratio: 3 / 4; }
.band .side p { margin-top: 24px; }
figcaption { margin-top: 10px; color: var(--muted); font-size: var(--step-small); }
.drift { will-change: transform; transform: scale(1.12); }

/* Growing photograph */
.grow-pin { height: 240svh; }
.grow { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.grow figure { position: absolute; inset: 0; margin: 0; --g: min(1, calc(var(--p) * 1.5)); clip-path: inset(calc((1 - var(--g)) * 22%) calc((1 - var(--g)) * 31%)); will-change: clip-path; }
.grow img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(calc(1.3 - var(--g) * 0.3)); will-change: transform; }
.grow-note { position: absolute; left: var(--m); bottom: var(--m); max-width: 22ch; margin: 0; background: var(--accent); color: var(--accent-ink); padding: 22px 24px; --n: clamp(0, calc((var(--p) - 0.55) * 3.2), 1); opacity: var(--n); transform: translateY(calc((1 - var(--n)) * 60px)); }

/* Moving words */
.marq { overflow: hidden; padding: clamp(64px, 9vw, 130px) 0 0; }
.marq div { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; white-space: nowrap; font-size: clamp(4.5rem, 14vw, 13rem); line-height: 0.95; letter-spacing: -0.01em; will-change: transform; }
.marq div:first-child { transform: translateX(calc(var(--p) * -34%)); }
.marq div:last-child { color: #8b8f81; transform: translateX(calc(-34% + var(--p) * 34%)); }

/* Services */
.services { padding: 22vh var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--m); }
.services h2 { grid-column: 1 / -1; margin-bottom: 72px; }
.col { grid-row: 2; }
.col { grid-column: span 3; }
.col h3 { font: inherit; font-weight: 600; margin-bottom: 1.25em; }
.col ul { list-style: none; margin: 0; padding: 0; }
.col li { color: var(--muted); line-height: 1.25; padding: 5px 0; cursor: default; transition: color 160ms var(--ease), transform 200ms var(--ease); }
.col li:hover, .col li:focus { color: var(--ink); transform: translateX(6px); outline: none; }
.col .sum { display: none; }
.desc { grid-column: 10 / 13; grid-row: 2; align-self: start; min-height: 9em; color: var(--ink); }
.desc strong { display: block; color: var(--accent); font-weight: 600; margin-bottom: 0.4em; }

/* Reader */
.reader { background: var(--surface); padding: var(--gap) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--m); align-items: center; }
.reader-copy { grid-column: 1 / 7; }
.reader-copy > p { margin-top: 24px; max-width: 44ch; }
.reader form { margin-top: 36px; }
.reader label { display: block; font-weight: 600; margin-bottom: 10px; }
.reader input {
  width: min(100%, 460px); font-family: "Anton", Impact, sans-serif; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: 0.01em; text-transform: uppercase;
  background: var(--bg); color: var(--accent); border: 0; padding: 14px 18px; border-radius: 0;
}
.reader dl { margin: 32px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px; max-width: 520px; }
.reader dt, .reader dd { margin: 0; padding: 14px 16px; background: var(--bg); }
.reader dt { font-family: "Anton", Impact, sans-serif; font-size: var(--step-lead); color: var(--accent); min-width: 4.2em; }
.reader dd span { display: block; color: var(--muted); font-size: var(--step-small); }
.reader .hint { margin-top: 18px; color: var(--muted); font-size: var(--step-small); }
.tire { grid-column: 8 / 13; }
.tire svg { width: 100%; height: auto; display: block; }
.spin { transform-origin: 200px 200px; transform: rotate(calc(var(--p) * 420deg)); will-change: transform; }

/* Slip */
.offers { padding: var(--gap) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--m); align-items: start; }
.offers-copy { grid-column: 1 / 6; }
.offers-copy p { margin-top: 24px; max-width: 30ch; }
.offers-copy figure { margin: 56px 0 0; }
.offers-copy img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.printer { grid-column: 7 / 12; border-top: 14px solid var(--surface); }
.printer > .slip-clip { clip-path: inset(0 0 calc((1 - min(1, var(--p) * 2.3)) * 100%) 0); will-change: clip-path; }
.slip {
 background: var(--bone); color: var(--bone-ink); padding: 36px 28px 64px; font-size: 1rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 96% 100%, 92% calc(100% - 14px), 88% 100%, 84% calc(100% - 14px), 80% 100%, 76% calc(100% - 14px), 72% 100%, 68% calc(100% - 14px), 64% 100%, 60% calc(100% - 14px), 56% 100%, 52% calc(100% - 14px), 48% 100%, 44% calc(100% - 14px), 40% 100%, 36% calc(100% - 14px), 32% 100%, 28% calc(100% - 14px), 24% 100%, 20% calc(100% - 14px), 16% 100%, 12% calc(100% - 14px), 8% 100%, 4% calc(100% - 14px), 0 100%);
}
.slip img { width: 150px; filter: none; }
.slip h3 { font: inherit; font-weight: 600; margin-top: 28px; margin-bottom: 8px; }
.row { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; }
.row .dots { flex: 1; border-bottom: 3px dotted currentColor; opacity: 0.45; transform: translateY(-4px); }
.row b { font-weight: 600; white-space: nowrap; }
.slip .total { margin: 32px -28px 0; background: var(--bone-ink); color: var(--bone); padding: 12px 28px; display: flex; justify-content: space-between; font-weight: 600; }
.slip .fine { margin-top: 18px; color: var(--bone-muted); font-size: var(--step-small); }

/* Voices */
.bone { background: var(--bone); color: var(--bone-ink); }
.voices { min-height: 100svh; padding: var(--gap) var(--m) 32px; display: grid; grid-template-rows: auto 1fr auto; }
.voices .leadq { margin: 0 auto; max-width: 26ch; text-align: center; font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.2; font-weight: 600; }
.voices .leadq footer { margin-top: 20px; font-size: var(--step-small); font-weight: 400; }
.leadq span { opacity: clamp(0.14, calc((var(--p) * 2.7 - 0.62 - var(--w)) * 5), 1); }
.corners { grid-row: 3; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--m); align-items: end; }
.corners blockquote { margin: 0; grid-column: span 3; }
.corners blockquote:nth-child(2) { grid-column: 10 / 13; }
.corners footer, .leadq footer { color: var(--bone-muted); margin-top: 12px; font-size: var(--step-small); }

/* App */
.app { padding: var(--gap) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--m); align-items: center; }
.app figure { grid-column: 1 / 8; margin: 0; overflow: hidden; }
.app figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.app-copy { grid-column: 9 / 13; }
.app-copy p { margin-top: 20px; }
.app-copy ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 6px; }
.app-copy li { background: var(--surface); padding: 14px 16px; }
.app-copy li b { display: block; font-weight: 600; }
.app-copy li span { color: var(--muted); display: block; }

/* Hours */
.hours { padding: 0 var(--m) var(--gap); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--m); align-items: start; }
.hours-col { grid-column: 1 / 7; container-type: inline-size; }
.hours-col h2 { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-size: 43cqw; line-height: 0.8; letter-spacing: -0.01em; margin-bottom: 20px; }
.day { display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 18px; margin-bottom: 6px; background: var(--surface); font-weight: 600; transition: transform 200ms var(--ease); }
.day:hover { transform: translateX(6px); }
.day.today { background: var(--accent); color: var(--accent-ink); }
.day.closed span:last-child { color: var(--muted); font-weight: 400; }
.hours-side { grid-column: 8 / 13; }
.hours-side figure { margin: 0; overflow: hidden; }
.hours-side img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hours-side address { font-style: normal; margin-top: 24px; }
.hours-side .btn { margin-top: 20px; }

/* Contact */
.lime { background: var(--accent); color: var(--accent-ink); }
.contact { min-height: 100svh; padding: 40px var(--m) 32px; display: grid; grid-template-rows: auto 1fr auto auto; }
.contact > p:first-child { max-width: 24ch; }
.mail { grid-row: 3; display: block; font-family: "Anton", Impact, sans-serif; text-transform: uppercase; text-decoration: none; font-size: 10.6vw; line-height: 0.86; letter-spacing: -0.01em; margin-bottom: 8vh; transition: transform 300ms var(--ease); transform-origin: left bottom; }
.mail:hover { transform: scale(0.985); }
.mail span { display: block; will-change: transform; }
.mail .l1 { transform: translateX(calc((1 - min(1, var(--p) * 2)) * -22%)); }
.mail .l2 { transform: translateX(calc((1 - min(1, var(--p) * 2)) * 22%)); }
.contact { overflow: hidden; }
.contact-foot { grid-row: 4; display: flex; justify-content: space-between; align-items: end; gap: var(--m); }
.contact-foot a { font-weight: 600; }
.contact-foot div:last-child { text-align: right; }

/* Footer */
.foot { min-height: 100svh; padding: 40px var(--m) 20px; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--m); }
.foot-cols > div { grid-column: span 3; }
.foot-cols p:first-child { font-weight: 600; margin-bottom: 8px; }
.foot-cols a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; transition: color 160ms var(--ease); }
.foot-cols a:hover { color: var(--accent); }
.foot-cols span { display: block; color: var(--muted); }
.foot-mark { grid-row: 3; }
.foot-mark svg { display: block; width: 100%; height: auto; fill: var(--accent); transform-origin: 50% 100%; will-change: transform; }
.foot-mark p { max-width: 62ch; margin-top: 20px; color: var(--muted); font-size: var(--step-small); }
.foot-mark p a { color: inherit; }

/* Legal pages */
.legal-nav { position: static; }
.legal { padding: 72px var(--m) var(--gap); max-width: 1100px; }
.legal h1 { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-size: clamp(3rem, 9vw, 7.5rem); line-height: 0.88; letter-spacing: -0.01em; color: var(--accent); }
.legal .lead { margin-top: 28px; max-width: 48ch; }
.legal article { margin-top: 72px; max-width: 68ch; }
.legal h2 { font-weight: 600; font-family: inherit; font-size: var(--step-lead); margin: 48px 0 12px; }
.legal article p, .legal article li { margin-bottom: 12px; }
.legal article ul, .legal article ol { padding-left: 1.2em; margin: 0 0 12px; }
.legal .box { background: var(--surface); padding: 24px; margin: 28px 0; }
.legal .btn { margin-top: 8px; }

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

/* Entrances */
.js [data-r] { opacity: 0; transform: translateY(26px); }
.js .day[data-r] { transform: translateX(-48px); }
.js [data-r].in { opacity: 1; transform: none; transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }

@media (max-width: 860px) {
  .nav ul { display: none; }
  .col { grid-row: auto; }
  .hero-copy { padding-top: 110px; max-width: 58%; }
  .hero-copy p { font-size: 1.0625rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .monument { writing-mode: vertical-rl; left: auto; right: -13vw; bottom: auto; top: -3vh; font-size: 62vw; line-height: 0.8; transform: translateY(calc(var(--p) * var(--travel, 0px) * -1)); }
  .hero-photo { right: auto; left: var(--m); top: auto; bottom: 28px; width: 46%; }
  .grow figure { clip-path: inset(calc((1 - var(--g)) * 26%) calc((1 - var(--g)) * 14%)); }
  .grow-note { right: var(--m); max-width: none; bottom: 96px; }
  .printer { margin: 48px -4px 0; }
  .tire svg { transform: translateX(calc((var(--p) - 0.5) * 70%)); }
  .reader { overflow: hidden; }
  body { padding-bottom: 60px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; transform: translateY(100%); transition: transform 320ms var(--ease); }
  .scrolled .callbar { transform: none; }
  .callbar a { background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; text-align: center; padding: 18px 8px; }
  .callbar a + a { background: var(--bone); color: var(--bone-ink); }
  .band { display: block; padding-top: 96px; }
  .band .big { aspect-ratio: 4 / 5; }
  .band .side { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; }
  .band .side p { margin: 0; }
  .services { display: block; padding: 96px var(--m); }
  .services h2 { margin-bottom: 48px; }
  .col { margin-bottom: 40px; }
  .col li { font-size: 1.125rem; line-height: 1.4; }
  .col .sum { display: block; margin-top: 12px; color: var(--muted); }
  .desc { display: none; }
  .reader, .offers, .app, .hours { display: block; }
  .tire { margin: 48px auto 0; max-width: 420px; }
  .offers-copy figure { margin-top: 40px; }
  .voices { display: block; padding-top: 96px; min-height: 0; padding-bottom: 72px; }
  .voices .leadq { text-align: left; margin: 0 0 96px; font-size: 1.5rem; }
  .corners { display: block; }
  .corners blockquote + blockquote { margin: 40px 0 0 25%; }
  .app-copy { margin-top: 40px; }
  .hours-side { margin-top: 56px; }
  .hours { padding-top: 120px; }
  .hours-side img { width: 72%; }
  .contact { min-height: 86svh; }
  .mail { font-size: 11.2vw; }
  .contact-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact-foot div:last-child { text-align: left; }
  .foot-cols > div { grid-column: span 6; margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-r], .js .day[data-r] { opacity: 1; transform: none; }
  .status.open .dot { animation: none; }
  [data-p], [data-pin] { --p: 1 !important; }
  .hero-pin, .grow-pin { height: auto; }
  .monument { --travel: 0px !important; }
  .btn, .col li, .day, .mail { transition: none; }
}
