:root {
  color-scheme: light;
  --paper: #f4efe4;
  --ink: #2c241d;
  --rust: #823c29;
  --line: #c9bda9;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .28em; }
a:hover { color: var(--rust); }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #af542f; outline-offset: 4px; }
.bench-skip { position: absolute; z-index: 4; top: .75rem; left: .75rem; padding: .75rem; background: white; transform: translateY(-200%); }
.bench-skip:focus { transform: translateY(0); }
.bench-head, .bench-foot { padding: 1.35rem max(5.1vw, 1.2rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.bench-head { border-bottom: 1px solid var(--line); }
.ink-mark { font-size: clamp(1.4rem, 2.6vw, 2.05rem); text-decoration: none; white-space: nowrap; font-weight: 700; letter-spacing: -.065em; width: fit-content; }
.ink-mark i { color: var(--rust); }
.ink-mark span { display: block; margin-top: .32rem; letter-spacing: .14em; font: 700 .59rem/1.3 ui-monospace, Menlo, monospace; text-transform: uppercase; }
.bench-head nav { display: flex; gap: clamp(1rem, 3vw, 3rem); font: 650 .81rem/1 system-ui, sans-serif; }
.bench-head nav a, .repair-counter-contact { text-decoration: none; }
.repair-counter-contact { justify-self: end; font: 650 .77rem/1 system-ui, sans-serif; border-bottom: 1px solid var(--rust); padding-bottom: .35rem; }
.work-opener { margin: clamp(2.4rem, 5.6vw, 6.5rem) auto 0; padding: 0 max(5.1vw, 1.2rem); max-width: 100rem; display: grid; grid-template-columns: minmax(15rem, .78fr) minmax(0, 1.45fr); gap: 4vw; align-items: center; }
.bench-label, .section-kicker { color: var(--rust); font: 700 .66rem/1.4 ui-monospace, Menlo, monospace; letter-spacing: .13em; text-transform: uppercase; }
.bench-label span { display: inline-block; width: 7px; height: 7px; background: var(--rust); margin-right: .36rem; border-radius: 50%; }
.opening-ink h1 { margin: 1.18rem 0 1.3rem; font-weight: 400; font-size: clamp(4.2rem, 8.35vw, 9rem); line-height: .83; letter-spacing: -.105em; }
.opening-ink h1 em { color: var(--rust); font-weight: normal; }
.opening-ink p { max-width: 25ch; font-size: clamp(1rem, 1.82vw, 1.39rem); line-height: 1.4; margin-bottom: 1.6rem; }
.line-letter { display: inline-flex; gap: 1rem; align-items: center; font: 700 .83rem/1 system-ui, sans-serif; text-decoration: none; border-bottom: 1px solid var(--rust); padding: 0 0 .4rem; }
.boot-board { margin: 0; min-width: 0; }
.photo-plate { --changed: 50%; position: relative; isolation: isolate; aspect-ratio: 3 / 2; overflow: hidden; background: #57352a; }
.photo-plate img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
#boot-after { clip-path: inset(0 calc(100% - var(--changed)) 0 0); }
.boot-divider { position: absolute; left: var(--changed); height: 100%; width: 1px; background: #fdf0d5; box-shadow: 0 0 0 1px #5a3f2c36; }
.picture-caption { position: absolute; z-index: 1; top: 1rem; display: block; padding: .44rem .58rem; color: #fff5df; background: #2c241dcc; font: 700 .66rem/1 system-ui, sans-serif; }
.before-caption { right: 1rem; }
.after-caption { left: 1rem; }
.boot-pin { position: absolute; z-index: 2; width: 2.45rem; height: 2.45rem; border-radius: 50%; color: #241f1a; border: 1px solid #ffeac8; background: #f4e5c8; box-shadow: 0 0 0 3px #3f281b66; cursor: pointer; font: 700 .78rem/1 system-ui, sans-serif; }
.boot-pin[aria-pressed="true"] { background: #7d392a; color: #fff7e6; }
.pin-heel { left: 20%; top: 71%; }
.pin-welt { left: 58%; top: 74%; }
.pin-finish { left: 71%; top: 52%; }
.board-tools { padding: 1.15rem .2rem; display: grid; grid-template-columns: 1fr minmax(9rem, 40%); gap: 1rem; border-bottom: 1px solid var(--line); align-items: center; }
.board-tools h2 { font-weight: 400; margin: 0 0 .32rem; font-size: 1.15rem; }
.board-tools p { margin: 0; font: .76rem/1.4 system-ui, sans-serif; min-height: 2.15em; }
.compare-tool label { display: block; font: 700 .68rem/1.2 system-ui, sans-serif; margin-bottom: .35rem; }
.compare-tool input { accent-color: #8c3b28; width: 100%; cursor: ew-resize; }
.service-book, .stock-note, .little-restorations, .counter-card { width: min(89.8vw, 90rem); margin-inline: auto; }
.service-book { margin-top: clamp(4rem, 8vw, 10rem); }
.service-book h2, .bench-essay h2, .stock-note h2, .little-restorations h2, .counter-card h2 { font-size: clamp(2.5rem, 5vw, 5.25rem); line-height: .98; letter-spacing: -.068em; font-weight: 400; margin: .7rem 0 1.6rem; }
.shoe-repair-menu { border-top: 1px solid var(--line); }
.shoe-repair-menu a { display: grid; grid-template-columns: 4rem 1fr auto; align-items: center; border-bottom: 1px solid var(--line); padding: 1.05rem .2rem; text-decoration: none; }
.shoe-repair-menu a strong { display: block; margin-bottom: .3rem; font-weight: normal; font-size: clamp(1.2rem, 2.7vw, 2.25rem); letter-spacing: -.035em; }
.shoe-repair-menu a span, .shoe-repair-menu a small { color: var(--rust); font: 650 .68rem/1.3 system-ui, sans-serif; }
.bench-essay { margin: clamp(5rem, 10vw, 12rem) 0 0; padding: max(5.1vw, 1.25rem); position: relative; background: #38271e; color: #fff2dd; display: grid; grid-template-columns: 1.38fr 1fr; gap: 6.5vw; align-items: center; }
.bench-essay .section-kicker, .bench-essay a:hover { color: #ffbf92; }
.bench-essay img { display: block; width: 100%; height: auto; }
.bench-tack { position: absolute; top: 1.7rem; left: max(5.1vw, 1.25rem); width: min(75vw, 63rem); border-top: 1px dashed #fac389; transform: scaleX(.12); transform-origin: 0 50%; }
.stitch-taken .bench-tack { transform: scaleX(1); transition: transform 1700ms cubic-bezier(.32,.71,.17,1); }
.bench-essay p, .little-restorations p, .counter-card p, .stock-note dd { max-width: 48ch; font: .94rem/1.6 system-ui, sans-serif; }
.bench-essay .line-letter { border-color: #efb68e; margin-top: .75rem; }
.stock-note { margin-top: clamp(4rem, 8vw, 10rem); }
.stock-note dl { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); margin: 2rem 0; }
.stock-note dl div { padding: 1.3rem 1rem 1.5rem 0; }
.stock-note dt { font-size: 1.48rem; }
.stock-note dd { margin: .4rem 0 0; }
.little-restorations { margin-top: clamp(4rem, 7vw, 9rem); border-left: 2px solid #9f533b; padding: 0 3vw; }
.little-restorations a + a, .note-tail a + a { margin-left: 1.2rem; }
.counter-card { margin-block: clamp(4rem, 8vw, 9rem); background: #eadfc9; padding: max(3.8vw,1.4rem); display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 1.5rem; }
address { font-style: normal; }
.counter-card address { margin-bottom: .3rem; }
.counter-card p { margin-top: 0; }
.bench-foot { background: #35251c; color: #fbedda; grid-template-columns: 1.5fr 1fr 1fr; align-items: start; }
.bench-foot a:hover { color: #ffceb1; }
.bench-foot .ink-mark i { color: #eca682; }
.bench-foot div:not(:first-child) a { display: block; width: fit-content; font: 650 .77rem/1.4 system-ui, sans-serif; margin-block: .15rem .55rem; }
.work-note { width: min(88vw, 56rem); margin: clamp(3rem, 8vw, 9rem) auto; }
.work-note h1 { font-weight: normal; font-size: clamp(3rem, 8vw, 7.8rem); line-height: .92; letter-spacing: -.073em; margin: .7rem 0 1.5rem; }
.work-note p, .work-note address { max-width: 61ch; font: 1rem/1.65 system-ui, sans-serif; }
.work-note address a { display: block; }
.work-note .note-standfirst { font: italic clamp(1.3rem, 3vw, 2.1rem)/1.25 Georgia, serif; }
.work-note section { border-top: 1px solid var(--line); margin-top: 1.8rem; }
.work-note h2 { font-size: clamp(1.3rem, 4vw, 2rem); font-weight: normal; margin-top: 1.15rem; }
.note-tail { margin-top: 2.5rem; color: var(--rust); }
@media (max-width: 760px) {
  .bench-head { grid-template-columns: 1fr auto; gap: 1rem; }
  .bench-head nav { grid-row: 2; grid-column: span 2; padding: .5rem 0 0; }
  .work-opener, .bench-essay, .counter-card { grid-template-columns: 1fr; }
  .work-opener { gap: 2rem; }
  .opening-ink h1 { font-size: clamp(4rem, 13vw, 7rem); }
  .opening-ink h1 br { display: none; }
  .opening-ink p { margin-top: 1rem; }
  .bench-essay { padding-top: 3.4rem; gap: 2rem; }
  .shoe-repair-menu a { grid-template-columns: 2.5rem 1fr auto; }
}
@media (max-width: 470px) {
  .bench-head, .bench-foot { padding-inline: 1.05rem; }
  .board-tools { grid-template-columns: 1fr; }
  .stock-note dl, .bench-foot { gap: .5rem; }
  .bench-foot { grid-template-columns: 1fr 1fr; }
  .bench-foot div:first-child { grid-column: span 2; margin-bottom: .65rem; }
  .boot-pin { width: 2rem; height: 2rem; }
}
@media (prefers-reduced-motion: reduce) { .bench-tack { transform: none; } .stitch-taken .bench-tack { transition: none; } }
