/* The Tailor Shop, Vienna — "hem-stitch" preset (2026-09-25).
   Identity: the turned hem, from their own service "hemming pants and dresses" — a folded band
   with a fold edge and one dashed stitch line set back from it. Flat geometry only.
   Palette: pale mauve tailor's chalk, aubergine ink, bow-tie plum. Nothing figurative, no images.
   Type: EB Garamond (SIL OFL 1.1; the vendored latin file is the variable 400–700 upright, per
   frame-n-art's fonts/README.md) for everything but figures; JetBrains Mono (SIL OFL 1.1,
   variable 400–700) only for the phone, address digits, hours and the "20%". Both vendored in
   assets/fonts with their licences. No CDN, no JavaScript, no third-party request.

   Contrast (WCAG 2.x relative luminance, computed from the hex values):
     ink #211b24 on chalk-mauve #efeaee ...... 14.5:1   plum #5b3159 on chalk-mauve ..... 8.7:1
     white on plum-deep #3c1f3c (buttons) .... 14.4:1   pewter #6a6570 on chalk-mauve ... 4.8:1
     white on dusk #1a1420 (footer) .......... 18.0:1   haze #cfc6cd on dusk ............ 10.9:1
     ink on fold #e2d8e0 (labels) ............ 12.9:1   plum on fold (offer captions) ... 7.5:1
     plum-deep on chalk-mauve (focus ring) ... 12.2:1 */

@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/ebgaramond-regular.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/jetbrains-mono-latin-var.woff2") format("woff2"); }

:root {
  --chalk-mauve: #efeaee;
  --fold: #e2d8e0;
  --ink: #211b24;
  --plum: #5b3159;
  --plum-deep: #3c1f3c;
  --pewter: #6a6570;
  --dusk: #1a1420;
  --haze: #cfc6cd;
  --rule: #d9d0d7;
  --serif: "EB Garamond", "Garamond", "Georgia", serif;
  --mono: "JetBrains Mono", ui-monospace, "Menlo", "Consolas", monospace;
  --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0; background: var(--chalk-mauve); color: var(--ink);
  font: 400 1.25rem/1.5 var(--serif);
}
p, h1, h2, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--plum); text-underline-offset: .18em; text-decoration-thickness: .06em; }
a:hover { color: var(--plum-deep); }
:focus-visible { outline: 3px solid var(--plum-deep); 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(--plum-deep); color: #fff; padding: .75rem 1rem; }
.skip:focus { left: .5rem; color: #fff; }

/* Figures: mono, lining, tabular, so 1/7 and 5/6 never blur together. */
.fig, .t, .offer-fig, .week th { font-family: var(--mono); font-variant-numeric: lining-nums tabular-nums; }
.fig { font-size: .9em; letter-spacing: -.01em; }

/* --------------------------------------------------------- the turned hem */
/* Fold edge on top (the crease), the folded-under band, one stitch line set back from the fold,
   and a hairline where the raw edge sits underneath. Same geometry at every scale. */
.hem { position: relative; height: 18px; background: var(--fold); border-top: 3px solid var(--plum-deep); border-bottom: 1px solid var(--rule); }
.hem__stitch { position: absolute; left: 0; right: 0; top: 5px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--plum) 0 11px, transparent 11px 17px); }
.hem--head { height: 12px; border-top-width: 2px; }
.hem--head .hem__stitch { top: 3px; animation: sew 1.1s cubic-bezier(.3,.6,.3,1) .1s both; }
.hem--hero { margin-top: 1.1rem; }
.hem--sec { height: 12px; border-top-width: 2px; margin-bottom: 2.25rem; }
.hem--sec .hem__stitch { top: 3px; }
@keyframes sew { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ------------------------------------------------------------------ header */
.head { position: sticky; top: 0; z-index: 40; background: var(--chalk-mauve); }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 64px; padding-block: .45rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 1.5rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.1; }
.brand:hover { color: var(--plum-deep); }
.head__nav { display: none; }

.jump { border-bottom: 1px solid var(--rule); }
.jump__in { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; color: var(--plum); font-size: 1.0625rem; }

/* ----------------------------------------------------------------- buttons */
.btn { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 44px; text-decoration: none; border-radius: 2px; line-height: 1.2; }
.btn__verb { font-size: 1.125rem; font-weight: 600; }
.btn__detail { font-size: .95rem; overflow-wrap: anywhere; }
.btn--head { flex: none; align-items: center; padding: .3rem .8rem; background: var(--plum-deep); color: #fff; min-height: 50px; }
.btn--head .btn__verb { font-size: .95rem; }
.btn--head .btn__detail { font-size: .875rem; }
.btn--head:hover { background: var(--plum); color: #fff; }
.btn--solid { min-height: 64px; padding: .6rem 1.25rem; background: var(--plum-deep); color: #fff; }
.btn--solid:hover { background: var(--plum); color: #fff; }
.btn--line { min-height: 64px; padding: .55rem 1.2rem; border: 2px solid var(--plum-deep); color: var(--plum-deep); background: transparent; }
.btn--line:hover { background: var(--plum-deep); color: #fff; }
.btn--small { min-height: 48px; margin-top: 1rem; }
.btn--small { font-size: 1.125rem; font-weight: 600; }

/* -------------------------------------------------------------------- hero */
.hero { padding-top: 1.5rem; padding-bottom: 2.75rem; }
.hero__place { font-size: 1.0625rem; color: var(--pewter); line-height: 1.35; }
.hero__place .fig { color: var(--ink); }
.hero__h1 { margin-top: .5rem; font-weight: 500; font-size: clamp(3.1rem, 1.6rem + 7vw, 7.5rem); line-height: .95; letter-spacing: -.02em; }
.hero__row { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.hero__acts { display: grid; gap: .75rem; }
.hero__acts .btn { width: 100%; }

/* The offer as a hem label: fold on top, stitch below it, a folded-down corner at the right. */
.tag, .label { position: relative; background: var(--fold); border-top: 3px solid var(--plum-deep); }
.tag { padding: 1.05rem 2.5rem .8rem 1rem; font-size: 1.375rem; line-height: 1.2; max-width: 27rem; }
.tag__text { text-wrap: balance; }
/* The attribution caption: the shop's claim, reproduced, not ours. Plum on fold, 7.5:1. It sits
   inside the label, under the offer, so the two can never be separated by a layout change. */
.tag__src, .label__src { color: var(--plum); font-size: 1rem; line-height: 1.3; letter-spacing: .01em; }
.tag__src { margin-top: .35rem; }
.tag__stitch { position: absolute; left: 0; right: 0; top: 5px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--plum) 0 11px, transparent 11px 17px); }
.tag::after, .label::after { content: ""; position: absolute; top: -3px; right: 0; width: 1.5rem; height: 1.5rem;
  background: linear-gradient(225deg, var(--chalk-mauve) 50%, var(--plum-deep) 50%); }
.offer-fig { font-weight: 700; font-size: 1.15em; color: var(--plum-deep); letter-spacing: -.02em; }

/* ---------------------------------------------------------------- sections */
.sec { padding-bottom: 3rem; }
.sec-h { font-weight: 500; font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.015em; }

.svc { margin-top: 1.25rem; max-width: 70ch; }
.svc li { padding: .8rem 0 .85rem; font-size: 1.5rem; line-height: 1.25;
  background: repeating-linear-gradient(90deg, var(--rule) 0 9px, transparent 9px 14px) left bottom / 100% 2px no-repeat; }
.svc li:last-child { background: none; }

.offer { padding-top: .25rem; }
.label { padding: 1.9rem 3rem 1.6rem 1.25rem; }
.label__h { font-weight: 500; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.1; letter-spacing: -.01em; }
.label__src { margin-top: .5rem; font-size: 1.125rem; }
.label__line { margin-top: 1rem; font-size: 1.25rem; color: var(--plum-deep); }

.hours__in { display: grid; gap: 1.5rem; }
.hours__caveat { margin-top: 1rem; color: var(--pewter); font-size: 1.125rem; max-width: 40ch; }
.week { width: 100%; border-collapse: collapse; }
.week tr { background: repeating-linear-gradient(90deg, var(--plum) 0 11px, transparent 11px 17px) left bottom / 100% 2px no-repeat; }
.week tr:last-child { background: none; }
.week th, .week td { padding: .9rem 0; vertical-align: baseline; }
.week th[scope="row"] { text-align: left; font-family: var(--serif); font-weight: 500; font-size: 1.3125rem; padding-right: 1rem; }
.week td { text-align: right; font-size: 1.0625rem; }
.week .t { white-space: nowrap; }
.week tbody { border-top: 3px solid var(--plum-deep); }
.hours__act .btn { width: 100%; }

.reach { margin-top: 1.5rem; display: grid; gap: 1.5rem; }
.reach dt { font-size: 1.0625rem; color: var(--pewter); }
.reach dd { margin-top: .15rem; }
.reach__addr { font-style: normal; font-size: 1.5rem; line-height: 1.3; }
.reach__addr > span { display: block; }
.reach__link { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.5rem; overflow-wrap: anywhere; }
.reach__link.fig { font-size: 1.35rem; }
.reach__link--mail { font-size: 1.3rem; }

/* ----------------------------------------------------------------- footer */
.foot { background: var(--dusk); color: #fff; padding-bottom: 2.5rem; }
.hem--foot { background: #2e2433; border-top-color: var(--haze); border-bottom-color: #3a2f40; }
.hem--foot .hem__stitch { background: repeating-linear-gradient(90deg, #b996b5 0 11px, transparent 11px 17px); }
.foot__in { display: grid; gap: .2rem; padding-top: 1.75rem; }
.foot__name { font-size: 1.6rem; font-weight: 500; margin-bottom: .3rem; }
.foot__addr { color: var(--haze); }
.foot__addr .fig { color: #fff; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; overflow-wrap: anywhere; }
.foot a:hover { color: var(--haze); }
.foot :focus-visible { outline-color: var(--haze); }
.foot__disc { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #3a2f40; color: var(--haze); font-size: 1.0625rem; max-width: 60ch; }

/* ---------------------------------------------------------------- tablets */
@media (min-width: 640px) {
  .hero__acts { display: flex; flex-wrap: wrap; }
  .hero__acts .btn { width: auto; }
  .hours__act .btn { width: auto; }
  .svc { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .svc li:nth-last-child(2) { background: none; }
  .reach { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .reach__item:first-child { grid-row: span 2; }
}

/* ---------------------------------------------------------------- desktop */
@media (min-width: 960px) {
  html { scroll-padding-top: 6rem; }
  .jump { display: none; }
  .head__in { min-height: 76px; gap: 2rem; }
  .brand { font-size: 1.75rem; }
  .head__nav { display: flex; gap: 1.75rem; margin-left: auto; }
  .head__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 1.1875rem; border-bottom: 2px solid transparent; }
  .head__nav a:hover { color: var(--plum); border-bottom-color: var(--plum); }
  .btn--head { flex-direction: row; gap: .5em; padding: .5rem 1rem; }
  .btn--head .btn__verb, .btn--head .btn__detail { font-size: 1.0625rem; }

  .hero { padding-top: 4rem; padding-bottom: 4.5rem; }
  .hero__place { font-size: 1.25rem; }
  .hem--hero { margin-top: 1.75rem; height: 22px; }
  .hem--hero .hem__stitch { top: 7px; }
  .hero__row { grid-template-columns: auto 1fr; align-items: end; gap: 3rem; margin-top: 2.25rem; }
  .hero__acts { justify-content: flex-end; }
  .tag { font-size: 1.625rem; }

  .sec { padding-bottom: 4.5rem; }
  .hem--sec { margin-bottom: 3.25rem; }
  .svc li { font-size: 1.75rem; }

  .label { max-width: 52rem; padding: 2.5rem 4rem 2.25rem 2rem; }

  .hours__in { grid-template-columns: 1fr 1.2fr; column-gap: 5rem; align-items: start; }
  .hours__lead { grid-row: span 2; }
  .week td { font-size: 1.1875rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hem--head .hem__stitch { animation: none; }
}
