/* Old Town Shoe & Luggage Repair — "work-order" preset (2026-09-25).
   Identity: the repair counter's work order. Tear perforation, a double-ruled ticket panel with
   printer's crosshairs, and a "Since 1996" date stamp set off true. Swiss-industrial print
   register: raw manila/concrete board, carbon ink, one burnt-vermilion stamp red. Square corners
   everywhere; no shadows, no gradients except the perforation dots themselves; no images.
   Type: Barlow Semi Condensed 600/700 for every word, JetBrains Mono for every figure. Both SIL
   OFL 1.1, vendored in assets/fonts with licences. No CDN, no JavaScript, no third-party request.

   Measured contrast (WCAG 2.x relative luminance, computed by hand from the hex values):
     ink #16130d on concrete #d6d2c4 ......... 12.2:1   stamp #9e311a on concrete ..... 4.77:1
     concrete on stamp (button fill) ......... 4.77:1   concrete on stamp-deep #6e2313  7.25:1
     graphite #4a463d on concrete ............ 6.21:1   stamp on form #e4e0d3 ......... 5.4:1
     concrete on dusk #100e0a (footer) ....... 12.7:1   dust #b9b3a3 on dusk .......... 9.2:1
   The plan's stamp target was #a3341c; it measures 4.53:1 on concrete, too close to the 4.5 line
   to trust, so the stamp is darkened one step to #9e311a (same hue, 4.77:1). */

@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-semi-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-semi-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 700; font-style: normal; font-display: swap; src: url("fonts/jetbrains-mono-latin-var.woff2") format("woff2"); }

:root {
  --concrete: #d6d2c4;
  --form: #e4e0d3;
  --ink: #16130d;
  --graphite: #4a463d;
  --stamp: #9e311a;
  --stamp-deep: #6e2313;
  --dusk: #100e0a;
  --dust: #b9b3a3;
  --rule: #bdb6a4;
  --face: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Menlo, monospace;
  --wrap: 80rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--concrete); color: var(--ink); font: 600 1.125rem/1.5 var(--face); }
p, h1, h2, figure, blockquote { margin: 0; }
a { color: var(--stamp); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--stamp-deep); }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: .5rem; z-index: 60; background: var(--ink); color: var(--concrete); padding: .75rem 1rem; font-weight: 700; }
.skip:focus { left: .5rem; }
.fig { font-family: var(--mono); font-weight: 500; font-size: .9em; letter-spacing: -.01em; font-variant-numeric: tabular-nums slashed-zero; }

/* ------------------------------------------------------- the work-order device */
/* Tear perforation: a row of punched circles. Draws in once, left to right. */
@keyframes tear { from { clip-path: inset(0 100% 0 0); } }
.perf { height: 12px; background: radial-gradient(circle at 7px 6px, var(--stamp) 2.6px, transparent 3.2px) 0 0 / 14px 12px repeat-x; animation: tear .8s cubic-bezier(.2,.7,.2,1) both; }
.perf--foot { background-color: var(--dusk); background-image: radial-gradient(circle at 7px 6px, var(--concrete) 2.6px, transparent 3.2px); margin-bottom: 1.5rem; }

/* Ticket panel: heavy double rule, crosshair registration mark at each corner. */
.ticket { position: relative; background: var(--form); border: 6px double var(--ink); padding: 1.25rem 1.1rem; }
.reg { position: absolute; width: 18px; height: 18px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat; }
.reg--tl { top: -15px; left: -15px; }
.reg--tr { top: -15px; right: -15px; }
.reg--bl { bottom: -15px; left: -15px; }
.reg--br { bottom: -15px; right: -15px; }

/* Date-received stamp: their own year, one heavy rule, a few degrees off true. */
.stamp { display: inline-flex; flex-direction: column; align-items: center; justify-self: end; padding: .4rem .7rem .45rem; border: 3px solid var(--stamp); color: var(--stamp); transform: rotate(-6deg); line-height: 1; text-transform: uppercase; }
.stamp__k { font-weight: 700; font-size: 1rem; letter-spacing: .16em; }
.stamp__y { font-family: var(--mono); font-weight: 700; font-size: 1.6rem; letter-spacing: .02em; margin-top: .15rem; }

/* ------------------------------------------------------------------ buttons */
.call { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--stamp); color: var(--concrete); text-decoration: none; font-weight: 700; border: 2px solid var(--stamp); transition: background-color .2s, border-color .2s, transform .1s; }
.call:hover { background: var(--stamp-deep); border-color: var(--stamp-deep); color: var(--concrete); }
.call:active, .btn-line:active { transform: translateY(1px); }
.call__verb { text-transform: uppercase; letter-spacing: .08em; }
.call__num { font-family: var(--mono); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums slashed-zero; }
.call--head { flex: none; flex-direction: column; gap: 0; min-height: 48px; padding: .3rem .75rem; line-height: 1.15; }
.call--head .call__verb { font-size: .875rem; }
.call--head .call__num { font-size: .9375rem; }
.call--big { flex-wrap: wrap; row-gap: 0; width: 100%; min-height: 60px; padding: .8rem 1.25rem; font-size: 1.25rem; }

.btn-line { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: .75rem 1.25rem; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; font-size: 1.125rem; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; transition: background-color .2s, color .2s, transform .1s; }
.btn-line:hover { background: var(--ink); color: var(--concrete); }

/* ------------------------------------------------------------------- header */
.head { position: sticky; top: 0; z-index: 40; background: var(--concrete); }
.head__in { display: flex; align-items: center; gap: .75rem; min-height: 64px; padding-block: .5rem; border-bottom: 2px solid var(--ink); }
.brand { flex: 1; min-width: 0; font-weight: 700; font-size: 1.0625rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.perf--head { background-color: var(--concrete); }

/* --------------------------------------------------------------------- hero */
.hero { padding-block: 1.5rem 3rem; }
.hero__h1 { font-weight: 700; font-size: clamp(2.75rem, 1rem + 7.4vw, 8.25rem); line-height: .88; letter-spacing: -.015em; text-transform: uppercase; text-wrap: balance; }
.hero__below { display: grid; gap: 2.25rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.hero__lead { display: grid; gap: 1.25rem; align-content: start; }
.hero__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
.hero__plain { font-size: 1.25rem; line-height: 1.3; max-width: 24ch; text-wrap: balance; }
.hero__acts { display: grid; gap: .75rem; }
.hero__form { display: grid; gap: 1.25rem; align-content: start; }
.ticket__quote { font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); line-height: 1.25; text-wrap: pretty; }
.ticket__src { margin-top: .9rem; padding-top: .6rem; border-top: 1px dashed var(--graphite); color: var(--graphite); font-size: 1rem; }
.hero__brands { max-width: 56ch; color: var(--ink); font-size: 1.0625rem; }

/* ------------------------------------------------- sections (form rows) */
.sec__in { display: grid; gap: 1.5rem; padding-block: 2.5rem 3rem; }
.sec-h { font-weight: 700; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); line-height: .95; letter-spacing: -.01em; }

/* Visit: ruled compartments, 2px ink lines drawn by the grid gap. */
.cells { display: grid; gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.cell { display: grid; gap: .75rem; align-content: start; background: var(--concrete); padding: 1.1rem 1rem 1.25rem; }
.cell__k { color: var(--graphite); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.addr { font-style: normal; font-size: 1.5rem; line-height: 1.3; }
.addr > span { display: block; }
.addr__name { font-weight: 700; }
.cell__mail { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.25rem; overflow-wrap: anywhere; }

/* Hours: a real table inside the ticket panel. */
.hours__lead { display: grid; gap: 1.5rem; align-content: start; }
.week { width: 100%; border-collapse: collapse; font-size: 1.125rem; }
.week th, .week td { padding: .8rem .2rem; border-bottom: 1px dashed var(--graphite); vertical-align: baseline; }
.week tr:last-child th, .week tr:last-child td { border-bottom: 0; }
.week th[scope="row"] { text-align: left; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.week td { text-align: right; }
.week .t { font-family: var(--mono); font-weight: 500; font-size: .95em; white-space: nowrap; font-variant-numeric: tabular-nums slashed-zero; }
.day--closed th, .day--closed td { color: var(--graphite); }

/* Close */
.close__in { display: grid; gap: 1.5rem; padding-block: 2.5rem 3.5rem; }

/* ------------------------------------------------------------------- footer */
.foot { background: var(--dusk); color: var(--concrete); padding-bottom: 2.5rem; }
.foot__in { display: grid; gap: .25rem; }
.foot__name { font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .35rem; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--concrete); overflow-wrap: anywhere; }
.foot a:hover { color: var(--dust); }
.foot :focus-visible { outline-color: var(--concrete); }
.foot__disc { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #3a342a; color: var(--dust); font-size: 1rem; max-width: 62ch; }

/* ------------------------------------------------------------------ tablets */
@media (min-width: 640px) {
  .hero__acts { display: flex; flex-wrap: wrap; }
  .hero__acts .call--big, .hero__acts .btn-line { width: auto; }
  .cells { grid-template-columns: 1fr 1fr; }
  .cell--addr { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .cell--addr .cell__k { grid-column: 1 / -1; }
  .cell__act .call--big { width: 100%; }
  .hours__act .call--big, .close__act .call--big { width: auto; }
  .ticket { padding: 1.5rem 1.6rem; }
}

/* ------------------------------------------------------------------ desktop */
@media (min-width: 960px) {
  .head { position: relative; }
  .head__in { min-height: 76px; }
  .brand { font-size: 1.25rem; }
  .call--head { flex-direction: row; gap: .5em; padding: .55rem 1.1rem; }
  .call--head .call__verb, .call--head .call__num { font-size: 1.0625rem; }

  .hero { padding-block: 3rem 4.5rem; }
  .hero__below { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 4rem; margin-top: 2rem; padding-top: 2rem; }
  .hero__lead { gap: 2rem; }
  .hero__plain { font-size: 1.5rem; }
  .stamp { margin-right: .5rem; }
  .ticket--quote { padding: 2rem 2.25rem; }

  .sec__in { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 4rem; padding-block: 4rem 4.5rem; }
  .close__in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3rem; padding-block: 4rem 5rem; }
  .close__act .call--big { min-height: 68px; padding-inline: 2rem; font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .perf { animation: none; }
  .call, .btn-line { transition: none; }
}
