/* Royal Kem & Skrädderi – Östermalmstorg 4.
   World: the cutting table. Ivory linen, brown wool, tailor's chalk, a basting stitch.
   Type: Bodoni Moda (display) + Hanken Grotesk (text). One accent: brass, used rarely. */

@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/bodoni-moda.woff2) format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/bodoni-moda-italic.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/hanken-grotesk.woff2) format("woff2"); }
@font-face { font-family: "Display Fallback"; src: local("Georgia"), local("Times New Roman"), local("DejaVu Serif"); size-adjust: 96%; ascent-override: 96%; descent-override: 24%; }
@font-face { font-family: "Text Fallback"; src: local("Arial"), local("Helvetica"), local("DejaVu Sans"); size-adjust: 98%; ascent-override: 98%; descent-override: 25%; }

html, body { background: #f3eee5; }

:root {
  --ivory: #f3eee5;
  --paper: #ebe3d6;
  --paper-2: #e2d8c8;
  --ink: #1c1814;
  --ink-2: #4a4038;        /* 9.3:1 on ivory */
  --muted: #6b6155;        /* 5.5:1 on ivory */
  --brass: #84652a;        /* 5.0:1 on ivory – accent text and marks */
  --brass-light: #c9a866;  /* on espresso */
  --espresso: #1d1612;
  --cream: #efe6d6;        /* text on espresso */
  --cream-2: #b9ad9b;      /* 7.6:1 on espresso */
  --error: #9b2a1f;
  --ok: #3e6a45;
  --line: rgba(28, 24, 20, .14);
  --line-dark: rgba(239, 230, 214, .16);

  --display: "Bodoni Moda", "Display Fallback", Georgia, serif;
  --text: "Hanken Grotesk", "Text Fallback", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 64px);
  --max: 1440px;
  --section: clamp(88px, 10vw, 160px);
  --head-h: 76px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 8px); overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--ivory); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(132, 101, 42, .28); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--cream); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--ivory); transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(38px, 4.4vw, 68px); line-height: 1.02; text-wrap: balance; }
h3 { font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 34rem; }

/* the signature: a basting stitch, the loose running stitch a tailor uses to mark and hold */
.stitch { height: 2px; background: repeating-linear-gradient(90deg, currentColor 0 10px, transparent 10px 18px); opacity: .55; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 500 16px/1 var(--text); letter-spacing: .01em;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.btn:active { transform: scale(.97); }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--line { border-color: rgba(28, 24, 20, .35); color: var(--ink); background: transparent; }
.btn--cream { background: var(--cream); color: var(--espresso); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .55; cursor: default; }
.btn__arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover { background: #3a2f27; }
  .btn--line:hover { border-color: var(--ink); background: rgba(28, 24, 20, .04); }
  .btn--cream:hover { background: #fff8ec; }
  .btn:hover .btn__arrow { transform: translateX(3px); }
}
.link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color .18s ease; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- header ---------- */
.head { position: sticky; top: 0; z-index: 30; height: var(--head-h); background: var(--ivory); transition: box-shadow .2s ease; }
.head.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.head__bar { height: 100%; display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; min-height: 44px; justify-content: center; }
.logo__name { font: 500 26px/1 var(--display); letter-spacing: .01em; }
.logo__sub { font: 400 12.5px/1 var(--text); letter-spacing: .02em; color: var(--muted); margin-top: 5px; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 15px; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink-2); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.head__tel { font-size: 15px; text-decoration: none; color: var(--ink-2); white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; position: relative; cursor: pointer; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-toggle span:nth-child(1) { top: 20px; } .menu-toggle span:nth-child(2) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 24px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--head-h) 0 0 0; z-index: 29; background: var(--ivory); padding: 24px var(--gutter) max(24px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .25s var(--ease), visibility 0s .25s; overflow-y: auto; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .25s var(--ease), visibility 0s; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li a { display: block; padding: 14px 0; font: 400 34px/1.1 var(--display); text-decoration: none; }
.mobile-menu__foot { display: grid; gap: 12px; margin-top: 32px; }
.mobile-menu__foot .btn { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--head-h)); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.hero__copy { grid-column: 1 / 7; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(40px, 6vw, 96px) 0 clamp(40px, 6vw, 88px) var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-right: clamp(24px, 4vw, 64px); }
.hero h1 { font-size: clamp(48px, 6.2vw, 104px); line-height: .98; letter-spacing: -.02em; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--brass); }
.hero .lede { margin-top: clamp(24px, 2.6vw, 36px); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.hero__facts { margin-top: clamp(40px, 5vw, 72px); padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; color: var(--ink-2); }
.hero__facts a { text-decoration: none; }
.hero__pic { grid-column: 7 / -1; position: relative; overflow: hidden; background: #4a3628; }
.hero__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__marks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__marks path { fill: none; stroke: #efe6d6; stroke-linecap: round; }
.hero__marks .chalk { stroke-width: 3; opacity: .75; filter: url(#chalky); }
.hero__marks .baste { stroke-width: 2; stroke-dasharray: 12 9; opacity: .8; }

/* ---------- section heads ---------- */
.section { padding-block: var(--section); }
.head2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.head2 h2 { grid-column: 1 / 8; }
.head2 p { grid-column: 9 / -1; color: var(--ink-2); }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.service:nth-child(1) { grid-column: 1 / 8; }
.service:nth-child(2) { grid-column: 9 / -1; margin-top: clamp(80px, 12vw, 200px); }
.service__pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.service:nth-child(2) .service__pic { aspect-ratio: 4 / 5; }
.service__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) and (pointer: fine) { .service:hover .service__pic img { transform: scale(1.02); } }
.service__body { padding-top: 28px; }
.service h3 { font-size: clamp(34px, 3vw, 48px); margin-bottom: 14px; }
.service p { color: var(--ink-2); max-width: 30rem; }
.service__list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 30rem; }
.service__list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.service__list span:last-child { color: var(--muted); text-align: right; }
.service .btn { margin-top: 28px; }

/* ---------- how it works ---------- */
.how { background: var(--paper); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps .stitch { position: absolute; left: 0; right: 0; top: 30px; color: var(--brass); }
.step { position: relative; padding-top: 72px; }
.step__no { position: absolute; top: 0; left: 0; width: 60px; height: 60px; display: grid; place-items: center; background: var(--paper); border: 1px solid rgba(132, 101, 42, .55); border-radius: 50%; font: 400 26px/1 var(--display); color: var(--brass); }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--ink-2); max-width: 22rem; }

/* ---------- booking ---------- */
.booking { background: var(--ivory); }
.booking__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.booking__intro { grid-column: 1 / -1; margin-bottom: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: inherit; align-items: end; }
.booking__intro h2 { grid-column: 1 / 8; }
.booking__intro p { grid-column: 9 / -1; color: var(--ink-2); }
.bk { grid-column: 1 / 9; background: #fbf8f2; border: 1px solid var(--line); }
.tag { grid-column: 9 / -1; position: sticky; top: calc(var(--head-h) + 24px); }

/* progress */
.bk__progress { display: flex; list-style: none; margin: 0; padding: 0 clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.bk__progress::-webkit-scrollbar { display: none; }
.bk__progress li { flex: 1 0 auto; }
.bk__progress button { position: relative; width: 100%; min-height: 60px; padding: 0 14px 0 0; border: 0; background: none; text-align: left; font-size: 14px; color: var(--muted); cursor: default; white-space: nowrap; }
.bk__progress button span { font-family: var(--display); font-size: 17px; margin-right: 8px; }
.bk__progress button::after { content: ""; position: absolute; left: 0; right: 14px; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.bk__progress [aria-current="step"] { color: var(--ink); }
.bk__progress [aria-current="step"]::after { transform: scaleX(1); }
.bk__progress .is-done { color: var(--ink-2); cursor: pointer; }
.bk__progress .is-done:hover { color: var(--ink); }

.bk__stage { position: relative; padding: clamp(24px, 3.4vw, 48px) clamp(20px, 3vw, 40px); min-height: 520px; }
.bk__pane { animation: paneIn .24s var(--ease) both; }
.bk__pane[data-dir="back"] { animation-name: paneBack; }
@keyframes paneIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes paneBack { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.bk__title { font: 400 clamp(28px, 2.6vw, 38px)/1.1 var(--display); margin-bottom: 8px; }
.bk__hint { color: var(--muted); font-size: 15.5px; margin-bottom: 28px; }
.bk__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px clamp(20px, 3vw, 40px); border-top: 1px solid var(--line); background: #fbf8f2; }
.bk__nav .btn--ink { min-width: 10rem; }
.bk__back { visibility: hidden; }
.bk__back.is-shown { visibility: visible; }

/* step 1: service rows */
.choice-group + .choice-group { margin-top: 28px; }
.choice-group h4 { margin: 0 0 8px; font: 500 13.5px/1 var(--text); letter-spacing: .02em; color: var(--muted); }
.choice { position: relative; display: grid; grid-template-columns: 24px 1fr auto; gap: 4px 16px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.choice:first-of-type { border-top: 1px solid var(--line); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__dot { width: 18px; height: 18px; border: 1.5px solid rgba(28, 24, 20, .45); border-radius: 50%; align-self: center; transition: border-color .15s ease, box-shadow .15s ease; }
.choice input:checked + .choice__dot { border-color: var(--ink); box-shadow: inset 0 0 0 4px #fbf8f2, inset 0 0 0 9px var(--ink); }
.choice input:focus-visible + .choice__dot { outline: 2px solid var(--ink); outline-offset: 3px; }
.choice__name { font: 400 24px/1.15 var(--display); }
.choice__price { font-size: 14px; color: var(--muted); text-align: right; }
.choice__desc { grid-column: 2 / -1; color: var(--ink-2); font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .choice:hover .choice__dot { border-color: var(--ink); } }

/* fields */
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field > label, .field > .label { font-weight: 500; font-size: 15px; }
.field .opt { font-weight: 400; color: var(--muted); }
.input, .textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid rgba(28, 24, 20, .28); border-radius: 2px; background: #fff; font-size: 17px; transition: border-color .15s ease, box-shadow .15s ease; }
.textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.input:hover, .textarea:hover { border-color: rgba(28, 24, 20, .5); }
.input:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28, 24, 20, .12); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: 14.5px; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 14px; border: 1px solid rgba(28, 24, 20, .25); border-radius: 2px; background: transparent; font-size: 15px; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--ink); } }
.stepper { display: inline-flex; align-items: center; border: 1px solid rgba(28, 24, 20, .28); border-radius: 2px; background: #fff; }
.stepper button { width: 52px; height: 52px; border: 0; background: none; font-size: 22px; cursor: pointer; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 3ch; text-align: center; font: 500 18px/1 var(--text); font-variant-numeric: tabular-nums; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* step 3: calendar */
.cal { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal__month { font: 400 22px/1 var(--display); text-transform: none; }
.cal__arrows { display: flex; gap: 4px; }
.cal__arrows button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 2px; background: none; cursor: pointer; display: grid; place-items: center; }
.cal__arrows button:disabled { opacity: .3; cursor: default; }
.cal__arrows svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__grid.is-in { animation: calIn .22s var(--ease) both; }
.cal__grid.is-in[data-dir="back"] { animation-name: calBack; }
@keyframes calIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@keyframes calBack { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.cal__dow { text-align: center; font-size: 12.5px; color: var(--muted); padding: 6px 0; }
.day { position: relative; aspect-ratio: 1; min-height: 44px; border: 1px solid transparent; border-radius: 2px; background: none; font: 400 16px/1 var(--text); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .12s ease, border-color .12s ease, color .12s ease; }
.day[data-state="open"], .day[data-state="few"] { border-color: var(--line); background: #fff; }
.day[data-state="few"]::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brass); }
.day[data-state="closed"], .day[data-state="full"], .day[data-state="outside"], .day[data-state="pad"] { color: rgba(28, 24, 20, .3); cursor: default; }
.day[data-state="full"] { text-decoration: line-through; }
.day[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.day.is-today { box-shadow: inset 0 -2px 0 var(--brass); }
@media (hover: hover) and (pointer: fine) { .day[data-state="open"]:hover, .day[data-state="few"]:hover { border-color: var(--ink); } }
.cal__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.cal__legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border: 1px solid var(--line); background: #fff; vertical-align: -1px; }
.cal__legend .l-few i { background: var(--brass); border-color: var(--brass); border-radius: 50%; width: 6px; height: 6px; }
.times__title { font-weight: 500; font-size: 15px; margin-bottom: 12px; min-height: 22px; }
.times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.time { min-height: 46px; border: 1px solid var(--line); border-radius: 2px; background: #fff; font: 500 15px/1 var(--text); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .12s ease, border-color .12s ease; }
.time:disabled { background: transparent; color: rgba(28, 24, 20, .3); text-decoration: line-through; cursor: default; }
.time[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .time:not(:disabled):hover { border-color: var(--ink); } }
.times__empty, .times__note { color: var(--muted); font-size: 15px; }
.parts { display: grid; gap: 8px; }
.part { display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: 2px; background: #fff; cursor: pointer; font-size: 16px; text-align: left; }
.part small { color: var(--muted); font-size: 13.5px; }
.part[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.part[aria-pressed="true"] small { color: var(--cream-2); }
.loading-line { height: 2px; background: linear-gradient(90deg, transparent, var(--brass), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: load 1s linear infinite; margin-bottom: 12px; }
@keyframes load { from { background-position: -50% 0; } to { background-position: 150% 0; } }

/* step 5: result */
.result__state { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgba(132, 101, 42, .5); font-size: 14.5px; color: var(--ink-2); margin-bottom: 20px; }
.result__state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.result p { color: var(--ink-2); max-width: 34rem; }
.result p + p { margin-top: 12px; }
.result__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.form-error { margin: 0 0 20px; padding: 14px 16px; border-left: 3px solid var(--error); background: rgba(155, 42, 31, .06); color: var(--error); font-size: 15px; }
.form-error:empty { display: none; }

/* the garment tag: a live summary, shaped like the tag a garment gets at the counter */
.tag__card { position: relative; padding: 32px 28px 28px; background: var(--paper); color: var(--ink); clip-path: polygon(0 18px, 18px 0, 100% 0, 100% 100%, 0 100%); }
.tag__card::before { content: ""; position: absolute; top: 18px; left: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--ivory); box-shadow: inset 0 0 0 1px var(--line); }
.tag__card::after { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(132, 101, 42, .35); pointer-events: none; clip-path: polygon(0 12px, 12px 0, 100% 0, 100% 100%, 0 100%); }
.tag__brand { font: 500 18px/1 var(--display); margin: 0 0 4px 28px; }
.tag__ref { margin-left: 28px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tag dl { margin: 24px 0 0; display: grid; gap: 0; }
.tag dl div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.tag dt { color: var(--muted); }
.tag dd { margin: 0; min-height: 1.4em; overflow-wrap: anywhere; }
.tag dd:empty::before { content: "—"; color: rgba(28, 24, 20, .3); }
.tag__note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.tag__help { margin-top: 20px; font-size: 15px; color: var(--ink-2); }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: center; }
.about__pic { grid-column: 1 / 6; aspect-ratio: 4 / 5; overflow: hidden; }
.about__pic img { width: 100%; height: 100%; object-fit: cover; }
.about__copy { grid-column: 7 / -1; }
.about__quote { font: 400 clamp(30px, 3.2vw, 48px)/1.18 var(--display); letter-spacing: -.01em; }
.about__quote em { color: var(--brass); }
.about__copy .lede { margin-top: 28px; }
.about__facts { margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about__facts div { border-top: 1px solid var(--line); padding-top: 16px; }
.about__facts dt { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.about__facts dd { margin: 0; font: 400 22px/1.25 var(--display); }

/* ---------- visit ---------- */
.visit { background: var(--espresso); color: var(--cream); }
.visit h2 { color: var(--cream); }
.visit__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.visit__info { grid-column: 1 / 6; }
.visit__info h2 { margin-bottom: 32px; }
.visit__block { padding: 20px 0; border-top: 1px solid var(--line-dark); }
.visit__block h3 { font: 500 14px/1 var(--text); color: var(--cream-2); margin-bottom: 10px; }
.visit__block address { font-style: normal; font: 400 26px/1.25 var(--display); }
.visit__block p { color: var(--cream-2); }
.visit__block .link { color: var(--cream); }
.hours { display: grid; grid-template-columns: 1fr auto; gap: 0; margin: 0; }
.hours dt, .hours dd { margin: 0; padding: 7px 0; border-bottom: 1px solid var(--line-dark); }
.hours dd { text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-today { color: var(--brass-light); }
.hours-empty { color: var(--cream-2); }
.visit__map { grid-column: 7 / -1; position: relative; aspect-ratio: 4 / 3.4; background: #2a211b; overflow: hidden; }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.15); }
.map-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; background: url(../img/kostymtyg-900.webp) center / cover; }
.map-cover::before { content: ""; position: absolute; inset: 0; background: rgba(29, 22, 18, .55); }
.map-cover > * { position: relative; }
.map-cover p { color: var(--cream); max-width: 22rem; font-size: 15px; }
.visit__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* ---------- footer ---------- */
.foot { background: var(--espresso); color: var(--cream); padding-top: 24px; }
.foot__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 24px clamp(24px, 4vw, 64px); align-items: start; padding-block: 40px; border-top: 1px solid var(--line-dark); }
.foot .logo__sub { color: var(--cream-2); }
.foot__line { color: var(--cream-2); font-size: 15px; line-height: 1.9; }
.foot__line a { color: var(--cream); }
.foot__nav { display: flex; flex-direction: column; font-size: 15px; }
.foot__nav a { color: var(--cream); text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
.foot__nav a:hover { text-decoration: underline; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 4px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--cream-2); }
.foot__legal a { color: var(--cream-2); }

/* Kantljus designer credit · dark footer, screen blend lifts the logo off its black ground */
.kantljus-credit-row { display: flex; justify-content: flex-end; margin-block-start: .5rem; padding-bottom: 22px; }
.kantljus-credit { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 2px; max-width: 100%; min-height: 44px; padding-block: .25rem; color: inherit; font: inherit; line-height: 1.5; text-align: right; text-decoration: none; }
.kantljus-credit:hover > span:first-child { text-decoration: underline; text-underline-offset: .2em; }
.kantljus-credit:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
.kantljus-credit__logo { display: block; width: 90px; height: auto; mix-blend-mode: screen; }
.kantljus-credit > span { font-size: 11px; color: #c3cec5; transform: translateY(3px); }

/* ---------- reveal: a short rise the first time a block is seen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero__marks path { stroke-dashoffset: var(--len); }
.js .is-ready .hero__marks .chalk { stroke-dasharray: var(--len); stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-io) .3s; }
.js .hero__marks .baste { opacity: 0; transition: opacity .6s ease 1.3s; }
.js .is-ready .hero__marks .baste { opacity: .8; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav, .head__tel { display: none; }
  .head .btn { margin-left: auto; }
  .menu-toggle { display: block; margin-left: 0; }
  .bk { grid-column: 1 / -1; }
  .tag { display: none; }
}
@media (max-width: 860px) {
  :root { --head-h: 64px; }
  body { font-size: 16px; }
  .head .btn { display: none; }
  .menu-toggle { margin-left: auto; }
  .logo__name { font-size: 22px; }
  .hero { display: flex; flex-direction: column-reverse; min-height: 0; }
  .hero__pic { height: 46svh; min-height: 280px; }
  .hero__copy { padding: 32px var(--gutter) 48px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .head2 h2, .head2 p, .booking__intro h2, .booking__intro p { grid-column: 1 / -1; }
  .head2 p, .booking__intro p { margin-top: 16px; }
  .services { display: block; }
  .service + .service { margin-top: 64px; }
  .service:nth-child(2) .service__pic { aspect-ratio: 4 / 3; }
  .service .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps .stitch { left: 29px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, currentColor 0 10px, transparent 10px 18px); }
  .step { padding: 4px 0 0 88px; min-height: 60px; }
  .about__pic, .about__copy, .visit__info, .visit__map { grid-column: 1 / -1; }
  .about__pic { aspect-ratio: 4 / 3; margin-bottom: 40px; }
  .visit__map { margin-top: 32px; }
  .foot__grid { grid-template-columns: 1fr; }
  /* booking on a phone: full width, the actions stay within reach */
  .booking .wrap { padding-inline: 0; }
  .booking__intro { padding-inline: var(--gutter); }
  .bk { border-inline: 0; }
  .bk__progress button { min-height: 52px; font-size: 13px; }
  .bk__progress button .lbl { display: none; }
  .bk__progress [aria-current="step"] .lbl { display: inline; }
  .bk__stage { min-height: 0; padding-inline: var(--gutter); }
  .bk__nav { position: sticky; bottom: 0; z-index: 5; padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--line); }
  .bk__nav .btn--ink { flex: 1; }
  .cal { grid-template-columns: 1fr; }
  .times { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tag-mini { display: block; }
}
@media (max-width: 420px) { .times { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tag-mini { display: none; margin: 0 0 20px; padding: 12px 14px; background: var(--paper); font-size: 14px; color: var(--ink-2); }
.tag-mini:empty { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__marks path { stroke-dashoffset: 0 !important; opacity: .8 !important; }
}
