/* Archivo, one family for everything: headlines heavy and slightly wide, like a painted shop window; text at normal width. */
@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  /* Brand: black ground, red from the logo and old site (#AF2625), gold from the capes and PURE (#EBBA4D). */
  --black: #0e0e0f;
  --paper: #eeebe5;
  --ink: #141414;
  --ink-soft: #4a4642;
  --on-dark: #eeebe5;
  --on-dark-soft: #c9c2b6;
  --red: #af2625;
  --red-press: #8f1d1c;
  --gold: #ebba4d;

  --display: "Archivo", Arial, sans-serif;
  --display-weight: 800;
  --display-stretch: 112%;
  --display-track: 0.005em;
  --display-leading: 0.95;
  --name-size: clamp(2.6rem, 5.4vw, 6.25rem);
  --name-size-phone: 11.4vw;
  --foot-call: clamp(2rem, 11.5vw, 16rem);
  --text: "Archivo", Arial, sans-serif;

  /* Five sizes on the page. */
  --step-small: clamp(1rem, 0.97rem + 0.1vw, 1.0625rem);
  --step-body: clamp(1.0625rem, 1.01rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.2vw, 4.25rem);
  --step-hero: clamp(3.5rem, 19vw, 9rem);

  --m: clamp(16px, 2.3vw, 32px);
  --gap: clamp(48px, 6vw, 80px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
@media (min-width: 761px) {
  :root { --step-hero: clamp(8.75rem, 13vw, 12.5rem); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--black); color: var(--on-dark); font: 400 var(--step-body)/1.55 var(--text); font-kerning: normal; font-variant-numeric: lining-nums; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a[href^="tel:"] { white-space: nowrap; }
h1, h2, h3, p { margin: 0; }
h1, h2, .foot__call, .board td:last-child { font-stretch: var(--display-stretch); }
h1, h2 { text-wrap: balance; font-family: var(--display); font-weight: var(--display-weight); text-transform: uppercase; letter-spacing: var(--display-track); line-height: var(--display-leading); }
h2 { font-size: var(--step-head); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -100px; z-index: 10; background: var(--paper); color: var(--ink); padding: 12px 16px; }
.skip:focus { top: var(--m); }

/* Buttons: one shape, square corners, red only on actions. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px;
  background: var(--red); color: #fff; font: 500 var(--step-body)/1 var(--text); text-decoration: none;
  border: 0; border-radius: 0; cursor: pointer;
  transition: background-color 160ms ease, transform 120ms var(--ease-out);
}
.btn:hover { background: var(--red-press); }
.btn:active { transform: scale(0.97); }
.btn--small { min-height: 48px; padding: 0 20px; font-size: var(--step-small); }
.btn--quiet { background: var(--paper); color: var(--ink); }
.btn--quiet:hover { background: #fff; }
.btn--block { display: flex; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; min-height: 100svh; overflow: clip;
  display: grid; grid-template-rows: 1fr auto auto; padding: var(--m); padding-top: calc(var(--m) + 88px);
}
.hero__pic, .hero__pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__pic { z-index: -1; }
.hero__pic img { object-fit: cover; object-position: 70% 45%; }
/* A neutral scrim only under the type at the bottom. The rest of the picture stays ungraded. taste-skill-ignore */
.hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.hero::after { inset: auto 0 0 0; height: 52%; background: linear-gradient(to top, rgb(0 0 0 / 0.82), rgb(0 0 0 / 0.5) 45%, rgb(0 0 0 / 0)); } /* taste-skill-ignore */

.nav { position: absolute; top: var(--m); right: var(--m); display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); font-size: var(--step-small); z-index: 2; }
.nav a { text-decoration: none; padding: 12px 0; }
.nav a:not(.nav__logo):hover { text-decoration: underline; }
.nav__logo img { width: 64px; height: 64px; border-radius: 50%; outline: 2px solid var(--on-dark-soft); outline-offset: 2px; }
.nav__logo { padding: 0 !important; }

/* The name reads as one block, with the opening line and the call right under it. The tools sit above (phones) or beside (wide screens). */
.hero__title { grid-row: 2; font-size: var(--name-size); max-width: 46vw; }
.lines .line { display: block; overflow: clip; padding-bottom: 0.04em; }
.lines [data-line] { display: block; white-space: nowrap; }

.hero__body { grid-row: 3; position: relative; z-index: 1; max-width: min(30rem, 44vw); display: grid; gap: 12px; justify-items: start; margin-top: clamp(18px, 2.2vw, 28px); }
.hero__lede { font-size: var(--step-lead); line-height: 1.25; }
.status { font-size: var(--step-body); color: var(--on-dark); }
.status strong { color: var(--gold); font-weight: 500; }
.hero__body .btn { margin-top: 8px; }

@media (max-width: 760px) {
  .nav { gap: 14px; }
  .nav__logo img { width: 52px; height: 52px; }
  .hero { padding-top: calc(var(--m) + 72px); padding-bottom: calc(var(--m) + 24px); }
  .hero__title { font-size: var(--name-size-phone); max-width: none; }
  .hero__body { max-width: 32ch; }
  .hero__lede { font-size: var(--step-body); }
  .hero::after { height: 68%; }
}
/* Short phones: a smaller name so the tools, the name and the call all fit the first screen. */
@media (max-width: 760px) and (max-height: 700px) {
  .hero__title { font-size: calc(var(--name-size-phone) * 0.8); }
  .hero__body { gap: 8px; }
  /* The picture fades to black at every edge, so it can shrink toward the top without a seam. */
  .hero__pic img { object-position: 50% 0; transform-origin: 50% 14%; scale: 0.7; }
}
/* Portrait tablets: the phone arrangement, the tools in the upper half. */
@media (min-width: 761px) and (max-aspect-ratio: 4/5) {
  .hero__title { font-size: calc(var(--name-size-phone) * 0.9); max-width: none; }
  .hero__body { max-width: 34ch; }
  .hero__pic img { object-position: 50% 20%; }
}

/* ---------- Here since 1996 (black ground) ---------- */
.story { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--m); row-gap: clamp(32px, 4vw, 56px); padding: var(--gap) var(--m); }
.story__head { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: end; }
.story__head h2 { grid-column: 1 / span 7; display: flex; flex-direction: column; }
.story__lede { grid-column: 8 / span 5; font-size: var(--step-lead); line-height: 1.3; }
.story__pic { margin: 0; }
.story__pic img { width: 100%; }
.story__pic--a { grid-column: 1 / span 7; grid-row: 2; align-self: start; }
.values { grid-column: 8 / span 5; grid-row: 2; list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; align-self: start; max-width: 40ch; }
.values strong { display: block; font-size: var(--step-lead); font-weight: 500; line-height: 1.2; margin-bottom: 4px; color: var(--on-dark); }
.values li { color: var(--on-dark-soft); }
.story__pic--b { grid-column: 5 / span 8; grid-row: 3; align-self: start; }
/* The still lifes run off the page edge; their inner edges are faded to the page black in the files (tools/images.sh). */
.story__pic--a { margin-left: calc(-1 * var(--m)); }
.story__pic--b { margin-right: calc(-1 * var(--m)); }
/* Handoffs: the last line of a section says what comes next and why. */
.handoff { font-size: var(--step-lead); line-height: 1.3; max-width: 34ch; }
.handoff a { white-space: nowrap; }
.handoff--story { grid-column: 1 / span 4; grid-row: 3; align-self: center; }
.handoff--work { margin: clamp(48px, 6vw, 80px) auto 0; padding: 0 var(--m); text-align: center; color: var(--ink); }
.handoff--work a { color: var(--ink); }
.handoff--prices { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 960px) {
  .story__head h2, .story__lede { grid-column: 1 / -1; }
  .story__lede { margin-top: 24px; }
  .story__pic--a { grid-column: 1 / -1; grid-row: auto; }
  .values { grid-column: 1 / span 7; grid-row: auto; }
  .story__pic--b { grid-column: 8 / -1; grid-row: auto; align-self: center; }
  .handoff--story { grid-column: 1 / -1; grid-row: auto; justify-self: end; text-align: right; margin-bottom: 0; }
}
@media (max-width: 760px) {
  .story { display: flex; flex-direction: column; }
  .story__head { display: block; }
  .story__pic--a { margin-inline: calc(-1 * var(--m)); }
  .story__pic--b { width: 72%; align-self: flex-end; }
  .handoff--story { align-self: flex-end; }
}

/* ---------- Fresh from the chair (paper ground) ---------- */
.work { background: var(--paper); color: var(--ink); padding: var(--gap) 0; }
.work__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--m); padding: 0 var(--m); align-items: end; }
.work__head h2 { grid-column: 1 / span 6; }
.work__head p { grid-column: 7 / span 4; color: var(--ink-soft); max-width: 36ch; }
.work__head p a { color: var(--ink); }
/* The shop's own cut videos and photo: one row of tall tiles, capped so 720px sources stay at 2x. */
.work__reel {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  max-width: calc(5 * 360px + 4 * 16px); margin: clamp(32px, 4vw, 56px) auto 0; padding: 0 var(--m);
}
.reel__item { position: relative; margin: 0; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink); }
.reel__item video, .reel__item img { width: 100%; height: 100%; object-fit: cover; }
.reel__item--photo img { object-position: 40% 50%; }
/* Small pause/play control, drawn in CSS: two bars while playing, a triangle while paused. */
.reel__toggle {
  position: absolute; left: 10px; bottom: 10px; width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--paper); background: rgb(14 14 15 / 0.66); border: 0; border-radius: 50%; cursor: pointer;
}
.reel__toggle::before { content: ""; width: 12px; height: 14px; box-sizing: border-box; border-inline: 4px solid currentColor; }
.reel__toggle[data-state="paused"]::before { width: 12px; border: 0; margin-left: 3px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.reel__toggle:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.reel__more { display: none; }
@media (min-width: 761px) and (max-width: 960px) {
  .work__reel { grid-template-columns: repeat(3, 1fr); }
  .reel__more { display: grid; place-items: center; aspect-ratio: 9 / 16; padding: 16px; background: var(--ink); color: var(--paper); text-align: center; font: 400 var(--step-lead)/1.2 var(--text); }
  .reel__more a { color: var(--paper); }
}
@media (max-width: 760px) {
  .work__reel { grid-template-columns: 1fr 1fr; gap: 12px; }
  .reel__item--photo { grid-column: 1 / -1; order: -1; aspect-ratio: 4 / 5; }
}
/* Every cut at the same height, so heads read at one scale. 250px keeps the square originals at 2x. */
.work__row {
  display: grid; grid-template-columns: repeat(5, 1fr); justify-items: center; align-items: end; gap: 40px 16px;
  margin-top: clamp(32px, 4vw, 56px); padding: 0 var(--m);
}
.work__row img { height: min(248px, calc((100vw - 2 * var(--m) - 64px) / 5)); width: auto; max-width: none; transition: scale 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .work__row img:hover { scale: 1.05; } }
@media (max-width: 760px) {
  .work__head { display: block; }
  .work__head p { margin-top: 16px; }
  .work__row { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .work__row img { height: min(200px, calc((100vw - 2 * var(--m) - 12px) / 2)); }
}

/* ---------- Prices: the board (black ground) ---------- */
.prices { padding: var(--gap) var(--m); }
.prices__title { display: flex; flex-direction: column; grid-column: 1 / span 6; grid-row: 1; align-self: start; }
.prices__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr; column-gap: var(--m); row-gap: 40px; }
.prices__photo { grid-column: 1 / span 3; grid-row: 2; margin: 0; align-self: start; }
.prices__photo img { width: 100%; }
/* Same treatment as the story still lifes: off the left edge, faded to black in the file. */
.prices__photo { margin-left: calc(-1 * var(--m)); }
.prices__side { grid-column: 4 / span 3; grid-row: 2; align-self: start; color: var(--on-dark-soft); max-width: 28ch; display: grid; gap: 24px; justify-items: start; }
.board { grid-column: 7 / span 6; grid-row: 1 / span 2; align-self: start; border-collapse: collapse; width: 100%; font-size: var(--step-body); font-variant-numeric: tabular-nums lining-nums; }
.board td, .board th { padding: 9px 0; text-align: left; vertical-align: baseline; font-weight: 400; }
.board td:first-child { width: 5.5em; color: var(--on-dark-soft); font-size: var(--step-small); }
.board td:last-child { text-align: right; padding-left: 16px; font-family: var(--display); font-weight: var(--display-weight); font-size: var(--step-lead); letter-spacing: 0.01em; }
.board tbody + tbody tr:first-child > * { padding-top: 32px; }
@media (max-width: 960px) {
  .prices__title { grid-column: 1 / -1; }
  .prices__photo { grid-column: 1 / span 4; }
  .prices__side { grid-column: 5 / span 8; max-width: 40ch; }
  .board { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 760px) {
  .prices__grid { display: block; }
  .prices__title { margin-bottom: 32px; }
  .prices__side { margin-top: 0; }
  .board { margin-top: 40px; }
  .prices__photo { width: 66%; margin: 0 0 24px calc(-1 * var(--m)); }
  .board td:first-child { width: 4em; }
}

/* ---------- PURE: two objects, two fields ---------- */
.pure { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); }
.pure__panel { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 32px; padding: clamp(48px, 5vw, 72px) clamp(20px, 2vw, 28px) 32px; }
.pure__panel--light { background: var(--paper); color: var(--ink); }
.pure__intro p { max-width: 30ch; margin-top: 16px; color: var(--ink-soft); }
.pure__contact { align-self: end; max-width: 46ch; color: var(--on-dark-soft); }
.pure__object { width: 100%; max-width: 520px; justify-self: center; align-self: end; }
.pure__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pure__name { font-size: var(--step-lead); line-height: 1.15; font-weight: 500; }
.pure__name span { display: block; font-size: var(--step-body); font-weight: 400; margin-top: 4px; }
.pure__panel--light .pure__name span { color: var(--ink-soft); }
.pure__panel--dark .pure__name span { color: var(--on-dark-soft); }
.pure__actions { display: flex; gap: 8px; }
.pure__panel--light .btn--quiet { background: var(--ink); color: var(--paper); }
.pure__info { max-width: 60ch; font-size: var(--step-small); line-height: 1.5; }
.pure__info h3 { font: 500 var(--step-small)/1.3 var(--text); margin-top: 16px; }
.pure__info h3:first-child { margin-top: 0; }
.js .pure__info[hidden] { display: none; }
@media (max-width: 760px) {
  .pure { display: block; }
  .pure__panel { display: flex; flex-direction: column; gap: 28px; padding-top: 48px; }
  .pure__object { align-self: center; }
  .pure__foot { display: block; }
  .pure__actions { margin-top: 16px; }
  .pure__actions .btn { flex: 1; }
}

/* ---------- Visit: card on a photograph ---------- */
.visit { position: relative; min-height: 100svh; }
.visit__pic, .visit__pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.visit__pic img { object-fit: cover; }
.card {
  position: relative; margin: 60px var(--m) 60px auto; width: min(400px, 100%);
  background: var(--paper); color: var(--ink); padding: 32px 32px 0; display: grid; gap: 20px;
}
.card h2 { font-size: clamp(2.5rem, 1.8rem + 2vw, 3.25rem); }
.card__addr a { text-decoration: none; font-size: var(--step-lead); line-height: 1.2; }
.card__addr a:hover { text-decoration: underline; }
.hours { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums lining-nums; }
.hours th, .hours td { padding: 4px 0; font-weight: 400; text-align: left; }
.hours td { text-align: right; }
.hours tr.is-today > * { font-weight: 500; }
.card__note { font-size: var(--step-small); color: var(--ink-soft); }
.card__actions { margin: 4px -32px 0; display: grid; }
.card__actions .btn { min-height: 56px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2a2826; }
@media (max-width: 760px) {
  .visit { min-height: 0; display: flex; flex-direction: column; }
  .visit__pic { position: relative; display: block; height: 70svh; }
  .card { position: relative; top: auto; margin: -80px var(--m) 0; width: auto; padding: 24px 24px 0; }
  .card__actions { margin: 4px -24px 0; }
}

/* ---------- Footer: the phone number is the headline ---------- */
.foot { padding: 40px var(--m) 28px; display: grid; gap: clamp(40px, 6vh, 80px); min-height: 60svh; align-content: space-between; }
.foot__top { display: grid; grid-template-columns: 72px repeat(3, auto) 1fr; gap: var(--m) 40px; align-items: start; font-size: var(--step-small); color: var(--on-dark-soft); }
.foot__top img { width: 72px; height: 72px; border-radius: 50%; outline: 2px solid var(--on-dark-soft); outline-offset: 2px; }
.foot__up { justify-self: end; }
.foot__call { font-family: var(--display); font-weight: var(--display-weight); white-space: nowrap; font-size: var(--foot-call, clamp(4rem, 20vw, 30rem)); line-height: 0.85; letter-spacing: -0.01em; }
.foot__call a { text-decoration: none; display: inline-block; transition: color 200ms ease; }
.foot__call a:hover { color: var(--gold); }
.foot__meta { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: var(--m); font-size: var(--step-small); color: var(--on-dark-soft); }
.foot__meta p:nth-child(2) { text-align: center; }
.foot__meta p:last-child { text-align: right; }
.foot__meta p { text-wrap: balance; }
@media (max-width: 760px) {
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__top img { grid-column: 1 / -1; }
  .foot__top img { width: 56px; height: 56px; }
  .foot__up { justify-self: start; }
  .foot__meta { grid-template-columns: 1fr; }
  .foot__meta p { text-align: left !important; }
}

/* ---------- Phone call bar: shows once the hero's own button is out of view ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; inset: auto 0 0 0; z-index: 20;
    padding: 8px var(--m) calc(8px + env(safe-area-inset-bottom)); background: var(--black);
    transition: translate 240ms var(--ease-out);
  }
  .js .callbar:not(.is-shown) { translate: 0 110%; }
  .callbar .btn { min-height: 52px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* ---------- Motion (content stays visible without script) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; }
  .js .hero__two [data-line] { animation-delay: 90ms; }
  .js .hero__body > * { opacity: 0; transform: translateY(16px); animation: rise 600ms var(--ease-out) 380ms forwards; }
  .js .hero__body > :nth-child(2) { animation-delay: 450ms; }
  .js .hero__body > :nth-child(3) { animation-delay: 520ms; }
  .js .hero__pic img { animation: settle 2400ms var(--ease-out) both; }

  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  /* Entrance moves translate; hover moves scale, so each keeps its own timing. */
  .js .work__row img { opacity: 0; translate: 0 24px; transition: opacity 600ms var(--ease-out), translate 600ms var(--ease-out), scale 200ms var(--ease-out); }
  .js .work__row.is-in img { opacity: 1; translate: 0 0; }
  .js .work__row.is-in img:nth-child(2) { transition-delay: 70ms, 70ms, 0ms; }
  .js .work__row.is-in img:nth-child(3) { transition-delay: 140ms, 140ms, 0ms; }
  .js .work__row.is-in img:nth-child(4) { transition-delay: 210ms, 210ms, 0ms; }
  .js .work__row.is-in img:nth-child(n+5) { transition-delay: 280ms, 280ms, 0ms; }
  .js .work__reel > * { opacity: 0; translate: 0 24px; transition: opacity 600ms var(--ease-out), translate 600ms var(--ease-out); }
  .js .work__reel.is-in > * { opacity: 1; translate: 0 0; }
  .js .work__reel.is-in > :nth-child(2) { transition-delay: 70ms; }
  .js .work__reel.is-in > :nth-child(3) { transition-delay: 140ms; }
  .js .work__reel.is-in > :nth-child(4) { transition-delay: 210ms; }
  .js .work__reel.is-in > :nth-child(5) { transition-delay: 280ms; }

  @supports (animation-timeline: view()) {
    .pure__object { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
/* Reduced motion: gentler, not zero. Fades stay, travel goes. */
@media (prefers-reduced-motion: reduce) {
  .btn:active { transform: none; }
  .callbar { transition: none; }
}
@keyframes line-up { to { transform: translateY(0); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes drift { from { translate: 0 24px; } to { translate: 0 -24px; } }

@media print {
  .hero__pic, .visit__pic, .nav, .work__reel, .work__row, .pure__object, .btn, .skip, .callbar { display: none !important; }
  body, .work, .pure__panel, .card { background: #fff !important; color: #000 !important; }
  .hero, .visit, .pure__panel, .foot { min-height: 0; }
  .hero::after { display: none; }
  .js .pure__info[hidden] { display: block; }
  .card { position: static; margin: 0; }
}

/* 404 */
.lost { min-height: 100svh; display: grid; place-content: center; justify-items: start; gap: 24px; padding: var(--m); max-width: 40rem; margin: 0 auto; }
.lost h1 { font-size: var(--step-head); }
