/* The Tailor Shop, Virginia Beach — "running-stitch" preset (2026-09-26).
   Identity: the running stitch. Round-ended kelly-green dashes on a thin hairline, the plainest
   mark a sewing machine leaves. Under the header (drawn in once), under the h1, as every section
   divider at reduced width, as top-stitching inside each Call button, as the services list
   markers and the favicon. Bright butter surface, cocoa ink, one grass-green accent. No images.
   Shape rule: every interactive control is a full pill; the one panel (services patch) is 18px.
   Type: Archivo (variable) for every word, JetBrains Mono (variable) for phone and address
   figures only. 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 from the hex values):
     ink #2b2411 on butter #fff8e6 ........... 14.6:1   clay #6b5b3a on butter ......... 6.2:1
     kelly #1b7a41 on butter (links) ......... 5.1:1    butter on kelly (button) ....... 5.1:1
     butter on kelly-deep #145530 (hover) .... 8.4:1    ink on patch #fff1c9 ........... 13.7:1
     kelly on patch .......................... 4.8:1    clay on patch .................. 5.9:1
     butter on ink (footer) .................. 14.6:1   flax #d9cfb3 on ink ............ 9.9:1
     kelly-bright #34a35f on ink (stitch/hover) 4.8:1
   --patch is the one colour added to the plan's palette: a slightly deeper butter so the
   services list reads as a sewn-on patch. Every text pair on it is measured above. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/archivo-latin.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 {
  --butter: #fff8e6;
  --patch: #fff1c9;
  --ink: #2b2411;
  --clay: #6b5b3a;
  --kelly: #1b7a41;
  --kelly-deep: #145530;
  --kelly-bright: #34a35f;
  --rule: #f0e2b8;
  --flax: #d9cfb3;
  --foot-rule: #4a3f24;
  --face: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Menlo, monospace;
  --wrap: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--butter); color: var(--ink); font: 400 1.125rem/1.55 var(--face); }
p, h1, h2, h3, ul, address { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--kelly); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--kelly-deep); }
:focus-visible { outline: 3px solid var(--kelly-deep); 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(--butter); padding: .75rem 1rem; font-weight: 700; border-radius: 999px; }
.skip:focus { left: .5rem; }

/* Figures: phone and address digits only. */
.fig { font-family: var(--mono); font-weight: 500; font-size: .92em; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }

/* ------------------------------------------------------- the running stitch */
.stitch { display: block; width: 100%; height: 12px; overflow: hidden; }
.stitch__run { stroke: var(--kelly); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 9 11; }
.stitch__hair { stroke: var(--rule); stroke-width: 1.25; }
.tack { display: block; flex: none; width: 34px; height: 8px; fill: none; stroke: var(--kelly); stroke-width: 3; stroke-linecap: round; }

/* The one motion: the header stitch sews itself in, once. Off under reduced motion. */
@keyframes sew-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes feed { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
.stitch--head { animation: sew-in 1.1s cubic-bezier(.3,.7,.3,1) .1s both; }
.stitch--head .stitch__run { animation: feed 1.1s cubic-bezier(.3,.7,.3,1) .1s both; }

/* ------------------------------------------------------------------ buttons */
.call { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .45em; background: var(--kelly); color: var(--butter); text-decoration: none; font-weight: 700; border-radius: 999px; transition: background-color .2s, transform .1s; }
.call:hover { background: var(--kelly-deep); color: var(--butter); }
.call:active, .btn-line:active { transform: translateY(1px); }
.call__num { font-family: var(--mono); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.call__num .fig { font: inherit; letter-spacing: inherit; }
/* Top-stitching: the button is "tacked" to the page like a patch pocket. */
.call--tack::before { content: ""; position: absolute; inset: 5px; border: 1.5px dashed rgb(255 248 230 / .62); border-radius: inherit; pointer-events: none; }

.call--head { flex: none; flex-direction: column; gap: 0; min-height: 50px; padding: .35rem .95rem; line-height: 1.15; }
.call--head .call__verb { font-size: .875rem; }
.call--head .call__num { font-size: .9375rem; }
.call--big { width: 100%; min-height: 60px; padding: .85rem 1.75rem; font-size: 1.1875rem; }

.btn-line { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 60px; padding: .85rem 1.75rem; border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); font-weight: 700; font-size: 1.1875rem; text-decoration: none; transition: background-color .2s, color .2s, transform .1s; }
.btn-line:hover { background: var(--ink); color: var(--butter); }

/* ------------------------------------------------------------------- header */
.head { position: sticky; top: 0; z-index: 40; background: var(--butter); }
.head__in { display: flex; align-items: center; gap: .75rem; min-height: 66px; padding-block: .45rem; }
.brand { flex: 1; min-width: 0; display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; font-size: 1.1875rem; letter-spacing: -.02em; line-height: 1.1; text-decoration: none; }
.brand:hover { color: var(--ink); }

/* --------------------------------------------------------------------- hero */
.hero { padding-block: 1.75rem 2.75rem; }
.hero__in { display: grid; }
.hero__h1 { font-weight: 700; font-size: clamp(3.1rem, 1.5rem + 7vw, 7.75rem); line-height: .94; letter-spacing: -.04em; text-wrap: balance; }
.stitch--h1 { width: min(100%, 26rem); margin-top: 1.1rem; }
.hero__line { margin-top: 1.1rem; font-weight: 600; font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2.125rem); line-height: 1.2; letter-spacing: -.015em; max-width: 22ch; text-wrap: balance; }
.hero__addr { margin-top: .85rem; font-size: 1.0625rem; line-height: 1.45; }
.hero__addr > span { display: block; }
.hero__acts { display: grid; gap: .75rem; margin-top: 1.6rem; }

/* ----------------------------------------------------------------- sections */
.sec-h { font-weight: 700; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1; letter-spacing: -.03em; }
.sub-h { font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.stitch--div { width: min(100%, 14rem); }

/* Services: a sewn-on patch. */
.svc { padding-block: .5rem 3rem; }
.svc__patch { position: relative; margin-top: 2rem; padding: 1.9rem 1.4rem 1.75rem; background: var(--patch); border-radius: 18px; }
.svc__patch::before { content: ""; position: absolute; inset: 8px; border: 2px dashed rgb(27 122 65 / .5); border-radius: 12px; pointer-events: none; }
.svc__lead { margin-top: .5rem; color: var(--clay); }
.svc__list { display: grid; margin-top: 1.25rem; }
.svc__item { display: flex; align-items: center; gap: .9rem; padding-block: .7rem; font-weight: 600; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.2; letter-spacing: -.01em; }

/* Visit and contact. */
.visit { padding-block: .5rem 3.5rem; }
.visit .sec-h { margin-top: 2rem; }
.visit__grid { display: grid; gap: 2.25rem; margin-top: 1.75rem; }
.visit__block { display: grid; gap: .8rem; align-content: start; }
.visit__addr { font-style: normal; font-size: 1.375rem; line-height: 1.35; }
.visit__addr > span { display: block; }
.visit__name { font-weight: 700; }
.visit__hours { max-width: 36ch; padding-left: 1rem; border-left: 4px solid var(--kelly); font-weight: 600; }
.visit__email { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 1.1875rem; overflow-wrap: anywhere; }
.visit__note { max-width: 44ch; color: var(--clay); font-size: 1rem; }

/* ------------------------------------------------------------------- footer */
.foot { background: var(--ink); color: var(--butter); padding-bottom: 2.5rem; }
.foot__in { display: grid; gap: .2rem; padding-top: 2.25rem; }
.stitch--foot { width: min(100%, 14rem); margin-bottom: 1.25rem; }
.stitch--foot .stitch__run { stroke: var(--kelly-bright); }
.stitch--foot .stitch__hair { stroke: var(--foot-rule); }
.foot__name { font-weight: 700; font-size: 1.375rem; letter-spacing: -.02em; margin-bottom: .25rem; }
.foot a { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; color: var(--butter); overflow-wrap: anywhere; }
.foot a:hover { color: var(--kelly-bright); }
.foot :focus-visible { outline-color: var(--kelly-bright); }
.foot__call { font-weight: 700; }
.foot__mail { display: flex; flex-wrap: wrap; align-items: center; column-gap: .4em; }
.foot__k { color: var(--flax); }
.foot__disc { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--foot-rule); color: var(--flax); 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; }
  .visit .btn-line, .visit .call--big { width: auto; }
  .svc__patch { padding: 2.5rem 2.5rem 2.25rem; }
  .svc__patch::before { inset: 10px; }
  .svc__list { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .visit__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; }
}

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

  .hero { padding-block: 3.5rem 4.5rem; }
  .hero__in { grid-template-columns: minmax(0, 1fr) auto; column-gap: 4rem; }
  .hero__h1, .stitch--h1 { grid-column: 1 / -1; }
  .stitch--h1 { width: min(100%, 40rem); margin-top: 1.5rem; }
  .hero__line { grid-column: 1; margin-top: 1.6rem; }
  .hero__addr { grid-column: 1; font-size: 1.1875rem; }
  .hero__acts { grid-column: 2; grid-row: 3 / span 2; align-self: end; margin-top: 0; flex-wrap: nowrap; }

  .svc { padding-block: 1rem 4.5rem; }
  .svc__patch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); column-gap: 4rem; padding: 3.25rem 3.5rem 3rem; }
  .svc__patch::before { inset: 12px; border-radius: 10px; }
  .svc__patch .sec-h, .svc__lead { grid-column: 1; }
  .svc__lead { align-self: start; }
  .svc__list { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }

  .visit { padding-block: 1rem 5rem; }
  .visit__grid { gap: 3rem 5rem; margin-top: 2.25rem; }
}

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