/* Zarif Custom Tailor — "press-line" preset (2026-09-25). Replaces the superseded "buttonhole" preset.
   Identity: the press line — a pressed crease, drawn as one straight rule with a thinner companion
   rule a few pixels beside it. Two flat lines, nothing else: no stitch, no tick, no fold band, no
   slit. One long press line under the header and under the h1; every section divider repeats it at
   reduced width; the favicon is the same two-line mark.
   Surface: plain white paper, warm-black ink, one dusty slate "tailor's chalk pencil" accent.
   Entirely typographic, editorial minimal: single left-aligned column, no cards, no grid, no
   photographs (none exist, none are borrowed), no shadows, no gradients as colour.
   Type: Space Grotesk (SIL OFL 1.1) for everything but figures; JetBrains Mono (SIL OFL 1.1) only
   for the phone number, street number, zip and the year 2004. Vendored in assets/fonts with their
   licences. No CDN, no JavaScript, no third-party request.

   Measured contrast (WCAG 2.x, relative luminance computed from the hex values):
     ink #17181a on paper #ffffff ........ 17.8:1   (plan target >= 12:1)
     pin #2c5a7c on paper ................. 7.3:1   (links; plan target >= 4.5:1)
     paper on pin (primary button) ........ 7.3:1
     paper on pin-deep #1c3d54 (hover) .... 11.4:1  (plan target >= 4.5:1)
     pewter #5f5e59 on paper .............. 6.5:1   (secondary text; plan target >= 4.5:1)
     rule #e5e3de on paper ................ 1.3:1   decorative only (press line, hairlines); the
                                                    press line's pin companion carries its visibility */

@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("fonts/space-grotesk-latin-var.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 {
  --paper: #ffffff;
  --ink: #17181a;
  --pin: #2c5a7c;
  --pin-deep: #1c3d54;
  --pewter: #5f5e59;
  --rule: #e5e3de;
  --sans: "Space Grotesk", "Helvetica Neue", "Arial", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Menlo", "Consolas", monospace;
  --wrap: 60rem;
  --bar: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
}
p, h1, h2, h3, ul, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: var(--pin); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--pin-deep); }
:focus-visible { outline: 2px solid var(--pin); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: .5rem; z-index: 60; background: var(--ink); color: var(--paper); padding: .75rem 1rem; font-weight: 600; }
.skip:focus { left: .5rem; color: var(--paper); }

.fig { font-family: var(--mono); font-size: .9em; font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums slashed-zero; white-space: nowrap; }

/* --------------------------------------------------------------- the press line */
/* A primary rule, a gap of paper, and the thin slate companion line. */
.press {
  height: 9px;
  background:
    linear-gradient(var(--rule), var(--rule)) left top / 100% 5px no-repeat,
    linear-gradient(var(--pin), var(--pin)) left bottom / 100% 1px no-repeat;
}
.press--head { height: 7px; background-size: 100% 4px, 100% 1px; }
.press--hero { margin-block: 1rem 1.1rem; transform-origin: left center; }
.press--div { width: 5.5rem; height: 7px; background-size: 100% 4px, 100% 1px; margin-bottom: 1.25rem; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes press-in { from { opacity: 0; transform: scaleX(.92); } }
  .press--hero { animation: press-in .8s cubic-bezier(.16, 1, .3, 1) .1s both; }
}

/* ------------------------------------------------------------------- header */
.head { position: sticky; top: 0; z-index: 40; background: var(--paper); }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 60px; padding-block: .4rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; min-width: 0; color: var(--ink); text-decoration: none; font-size: 1.0625rem; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.brand:hover { color: var(--pin); }

.call { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; background: var(--pin); color: var(--paper); border: 1px solid var(--pin); border-radius: 4px; text-decoration: none; font-weight: 600; line-height: 1.15; transition: background-color .2s ease; }
.call:hover { background: var(--pin-deep); border-color: var(--pin-deep); color: var(--paper); }
.call:active { transform: scale(.98); }
.call--head { flex: none; min-height: 48px; padding: .3rem .85rem; }
.call--head .call__verb { font-size: .875rem; }
.call--head .call__num { font-size: .8125rem; }
.call--big { min-height: 60px; padding: .55rem 1rem; font-size: 1.0625rem; }

.btn-line { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: .55rem 1rem; border: 1px solid var(--ink); border-radius: 4px; color: var(--ink); font-weight: 600; font-size: 1.0625rem; text-decoration: none; transition: border-color .2s ease, color .2s ease; }
.btn-line:hover { border-color: var(--pin); color: var(--pin); }
.btn-line:active { transform: scale(.98); }

/* --------------------------------------------------------------------- hero */
.hero { padding-block: 1.75rem 2.25rem; }
.hero__h1 { font-weight: 500; font-size: clamp(2.75rem, 1.6rem + 5.2vw, 6.25rem); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.hero__place { font-size: 1.25rem; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.hero__since { margin-top: .35rem; max-width: 34ch; color: var(--pewter); }
.hero__acts { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* ----------------------------------------------------------------- sections */
.services, .visit, .close { padding-block: 0 3rem; }
.sec-h { font-weight: 500; font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); line-height: 1.1; letter-spacing: -.025em; }

.services__list { margin-top: .75rem; max-width: 38rem; }
.services__list li { padding-block: .6rem; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.2; letter-spacing: -.02em; border-bottom: 1px solid var(--rule); }
.services__list li:last-child { border-bottom: 0; }

.visit__addr { margin-top: 1rem; font-size: 1.25rem; line-height: 1.5; }
.visit__addr > span { display: block; }
.visit__name { font-weight: 600; }
.visit__act { margin-top: 1.25rem; }

.hours { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); max-width: 38rem; }
.hours__h { font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.hours__closed { margin-top: .5rem; font-size: 1.5rem; font-weight: 500; letter-spacing: -.015em; }
.hours__rest { margin-top: .5rem; max-width: 36ch; color: var(--pewter); }
.hours__days { font-weight: 600; color: var(--ink); }
.hours__tel { display: inline-flex; align-items: center; min-height: 44px; }

.close__act { margin-top: 1.25rem; }
.close__note { margin-top: 1rem; max-width: 40ch; color: var(--pewter); }

/* ------------------------------------------------------------------- footer */
.foot { padding-block: 0 2.5rem; }
.foot__name { font-weight: 600; }
.foot__addr { margin-top: .25rem; }
.foot__addr > span { display: block; }
.foot__row a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__disc { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); max-width: 60ch; color: var(--pewter); }

/* Sticky call bar: phones and small tablets. White, one hairline, no shadow, one button. */
.callbar { display: none; }
@media (max-width: 48rem) {
  body { padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom, 0px)); }
  .callbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--paper); border-top: 1px solid var(--rule);
    padding: .5rem 1.25rem calc(.5rem + env(safe-area-inset-bottom, 0px));
  }
  .call--bar { display: flex; flex-direction: row; gap: .5em; width: 100%; min-height: 52px; padding: .4rem 1rem; font-size: 1.0625rem; }
}

/* ------------------------------------------------------------------ tablets */
@media (min-width: 40rem) {
  .call--head { flex-direction: row; gap: .45em; padding: .45rem 1rem; }
  .call--head .call__verb { font-size: .9375rem; }
  .call--head .call__num { font-size: .875rem; }
  .call--big { flex-direction: row; gap: .5em; padding: .55rem 1.4rem; }
  .btn-line { padding: .55rem 1.4rem; }
  .hero { padding-block: 3rem 3.5rem; }
  .services, .visit, .close { padding-block: 0 4.5rem; }
}

/* ------------------------------------------------------------------ desktop */
@media (min-width: 60rem) {
  .head__in { min-height: 72px; }
  .brand { font-size: 1.1875rem; }
  .hero { padding-block: 6rem 6.5rem; }
  .press--hero { margin-block: 1.75rem 1.75rem; height: 11px; background-size: 100% 6px, 100% 1px; }
  .hero__place { font-size: 1.5rem; }
  .hero__since { font-size: 1.125rem; }
  .hero__acts { margin-top: 2rem; }
  .services, .visit, .close { padding-block: 0 6.5rem; }
  .press--div { width: 7rem; margin-bottom: 1.75rem; }
  .services__list { margin-top: 1.25rem; }
  .foot { padding-block: 0 4rem; }
}
