:root {
  --ph-a: #e7eaf0; --ph-b: #f2f4f7; --ph-label: #1b2a4a; --ph-label-fg: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ph-a: #1b2740; --ph-b: #22304d; --ph-label: #f6cf1d; --ph-label-fg: #1b2a4a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ph-a: #1b2740; --ph-b: #22304d; --ph-label: #f6cf1d; --ph-label-fg: #1b2a4a;
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

:root[data-lang="bg"] body [lang="en"]:not([data-lang-set]),
:root[data-lang="en"] body [lang="bg"]:not([data-lang-set]) { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; display: block; }
.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1180px; margin-inline: auto; }
.ph {
  position: relative; overflow: hidden; border-radius: 12px; min-height: 160px;
  background: repeating-linear-gradient(135deg, var(--ph-a) 0 12px, var(--ph-b) 12px 24px);
  display: flex; align-items: flex-end; padding: 10px;
}
.ph > span { background: var(--ph-label); color: var(--ph-label-fg); font: 600 .75rem/1.3 system-ui, sans-serif; padding: 4px 8px; border-radius: 6px; }
/* a real photo inside a .ph slot: fills the slot, the label stays on top as a caption */
.ph > img.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ph > img.ph-img ~ span { position: relative; z-index: 1; }
/* the team photo: keep both faces in frame when a slot crops it */
.ph > img.ph-img.team { object-position: 50% 22%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- page: a navy blueprint, a white notebook sheet for the form and the about text ---------- */
body {
  --page: #213560;
  --grid: rgba(214, 228, 255, .075);
  --grid-major: rgba(214, 228, 255, .16);
  --chalk: #f1f4fa;
  --chalk-soft: #c6d0e3;
  --chalk-line: rgba(214, 228, 255, .42);
  --chalk-faint: rgba(214, 228, 255, .18);
  --pen: #f6cf1d;
  --on-pen: #1b2a4a;
  --panel: #172848;
  --tile: rgba(255, 255, 255, .045);
  --tile-hover: rgba(255, 255, 255, .1);
  --stay: rgba(214, 228, 255, .55);
  --sheet: #f6f8fc;
  --sheet-ink: #1b2a4a;
  --sheet-soft: #46557a;
  --sheet-rule: rgba(27, 42, 74, .24);
  --sticky: #f6cf1d;
  --sticky-ink: #1b2a4a;
  --copy: #fbe48a;
  --copy-head: #f6cf1d;
  --on-copy: #1b2a4a;
  --copy-line: rgba(27, 42, 74, .26);
  --copy-muted: #57502c;
  --tape: rgba(246, 207, 29, .55);
  --tape-edge: rgba(0, 0, 0, .15);
  --shadow: rgba(4, 10, 24, .45);
  --btn: #f6cf1d;
  --btn-ink: #1b2a4a;
  --bar: #121d35;
  --focus: #f6cf1d;
  --hand: "Neucha", "Comic Sans MS", "Segoe Print", cursive;
  --text: "Golos Text", "Segoe UI", system-ui, -apple-system, sans-serif;

  background-color: var(--page);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  color: var(--chalk);
  min-height: 100vh;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body {
    --page: #111b31;
    --grid: rgba(214, 228, 255, .045);
    --grid-major: rgba(214, 228, 255, .1);
    --chalk: #e4e9f2;
    --chalk-soft: #aeb9cf;
    --chalk-line: rgba(214, 228, 255, .34);
    --chalk-faint: rgba(214, 228, 255, .14);
    --pen: #f6cf1d;
    --panel: #0b1427;
    --tile: rgba(255, 255, 255, .035);
    --tile-hover: rgba(255, 255, 255, .08);
    --stay: rgba(214, 228, 255, .45);
    --sheet: #d3dae6;
    --sheet-ink: #16223a;
    --sheet-soft: #3b4862;
    --sheet-rule: rgba(22, 34, 58, .26);
    --sticky: #e6c21c;
    --copy: #e8cb52;
    --copy-head: #e6c21c;
    --copy-muted: #4b4320;
    --tape: rgba(230, 194, 28, .5);
    --shadow: rgba(0, 0, 0, .6);
    --btn: #f6cf1d;
    --bar: #080f1e;
  }
}
:root[data-theme="dark"] body {
  --page: #111b31;
  --grid: rgba(214, 228, 255, .045);
  --grid-major: rgba(214, 228, 255, .1);
  --chalk: #e4e9f2;
  --chalk-soft: #aeb9cf;
  --chalk-line: rgba(214, 228, 255, .34);
  --chalk-faint: rgba(214, 228, 255, .14);
  --pen: #f6cf1d;
  --panel: #0b1427;
  --tile: rgba(255, 255, 255, .035);
  --tile-hover: rgba(255, 255, 255, .08);
  --stay: rgba(214, 228, 255, .45);
  --sheet: #d3dae6;
  --sheet-ink: #16223a;
  --sheet-soft: #3b4862;
  --sheet-rule: rgba(22, 34, 58, .26);
  --sticky: #e6c21c;
  --copy: #e8cb52;
  --copy-head: #e6c21c;
  --copy-muted: #4b4320;
  --tape: rgba(230, 194, 28, .5);
  --shadow: rgba(0, 0, 0, .6);
  --btn: #f6cf1d;
  --bar: #080f1e;
}

p { margin: 0; }
a { color: inherit; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hand { font-family: var(--hand); color: var(--pen); font-weight: 400; line-height: 1.15; }
.sec { padding-block: 80px; }
h1, h2, h3 { font-family: var(--text); margin: 0; }
h2 {
  font-weight: 800; font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.55rem);
  line-height: 1.12; letter-spacing: -.015em; margin: 0 0 12px; text-wrap: balance; max-width: 22ch;
}
.lede { color: var(--chalk-soft); max-width: 60ch; font-size: 1.08rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 20px; border-radius: 10px; font: 700 1rem/1.2 var(--text); text-decoration: none; border: 2px solid var(--btn); cursor: pointer; }
.btn svg { width: 20px; height: 20px; }
.btn-fill { background: var(--btn); color: var(--btn-ink); }
.btn-line { background: transparent; color: var(--chalk); border-color: var(--chalk-line); }
.btn-line:hover { border-color: var(--chalk); }
.btn-fill:hover { filter: brightness(1.06); }

/* paper bits on the navy page */
.sticky { position: relative; background: var(--sticky); color: var(--sticky-ink); padding: 18px 20px; box-shadow: 0 1px 1px var(--shadow), 0 14px 26px -12px var(--shadow); --focus: var(--sticky-ink); }
.print { position: relative; background: var(--sheet); padding: 12px 12px 14px; box-shadow: 0 1px 2px var(--shadow), 0 16px 32px -14px var(--shadow); }
.tape::before { content: ""; position: absolute; top: -12px; left: 50%; margin-left: -48px; width: 96px; height: 26px; background: var(--tape); box-shadow: inset 0 0 0 1px var(--tape-edge); transform: rotate(-3deg); z-index: 2; }

/* ---------- header ---------- */
.top { position: relative; z-index: 3; }
.top .wrap { display: flex; align-items: center; gap: 24px; padding-block: 18px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--chalk); min-height: 44px; }
.logo img { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.logo b { display: block; font-weight: 800; font-size: 1.15rem; line-height: 1; letter-spacing: .02em; }
.logo small { display: block; font-weight: 700; font-size: .62rem; letter-spacing: .24em; margin-top: 3px; }
.top nav { display: flex; gap: 22px; margin-left: auto; font-weight: 500; font-size: .95rem; }
.top nav a { text-decoration: none; padding-block: 4px; color: var(--chalk-soft); }
.top nav a:hover { color: var(--chalk); text-decoration: underline; text-decoration-color: var(--pen); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.top .tel { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 44px; }
.top .tel svg { width: 20px; height: 20px; color: var(--pen); }

/* ---------- hero ---------- */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding-block: 36px 64px; }
.name-note { position: relative; display: inline-block; font-size: clamp(2.5rem, 1.8rem + 3vw, 4.2rem); margin: 0 0 6px; transform: rotate(-2deg); transform-origin: left bottom; }
.name-note .ul { position: absolute; left: 0; bottom: -6px; width: 100%; height: 14px; color: var(--chalk-line); }
.what { color: var(--chalk-soft); font-weight: 500; margin-top: 22px; }
h1 { font-weight: 700; font-size: clamp(2rem, 1.3rem + 3.2vw, 3.9rem); line-height: 1.1; letter-spacing: -.015em; margin: 10px 0 18px; text-wrap: balance; color: var(--chalk); }
.second { font-size: 1.15rem; color: var(--chalk-soft); max-width: 48ch; }
.often { margin-top: 18px; font-size: 1.45rem; transform: rotate(-1deg); transform-origin: left; max-width: 30ch; }

.phone-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 28px; margin-top: 36px; }
.circled { position: relative; display: inline-block; padding: 18px 30px; text-decoration: none; font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); letter-spacing: .01em; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--chalk); }
.circled svg.ring { position: absolute; inset: -4px -8px; width: calc(100% + 16px); height: calc(100% + 8px); color: var(--pen); pointer-events: none; overflow: visible; }
.circled .ring path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero .circled .ring path { animation: draw 1.1s .35s cubic-bezier(.6, .1, .3, 1) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.aside-note { display: inline-flex; align-items: flex-end; gap: 6px; font-size: 1.45rem; }
.aside-note svg { width: 56px; height: 34px; color: var(--pen); margin-bottom: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 22px; align-items: center; }

.hero-photo { margin: 0; position: relative; justify-self: center; width: min(100%, 430px); }
.hero-photo .print { transform: rotate(2.2deg); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 776 / 760; object-fit: cover; }
.hero-photo figcaption { font-family: var(--hand); color: var(--sheet-ink); font-size: 1.25rem; padding-top: 8px; max-width: calc(100% - 150px); line-height: 1.2; }
.triplet { position: absolute; right: -36px; bottom: -40px; transform: rotate(4deg); font-family: var(--hand); font-size: 1.45rem; line-height: 1.2; width: 170px; z-index: 3; }

/* hero fills the first screen on desktop (header is 80px); sizes follow the screen height so it also fits short laptops */
@media (min-width: 901px) {
  .hero { min-height: calc(100svh - 80px); display: flex; align-items: center; }
  .hero > .wrap { width: 100%; padding-block: clamp(8px, 2svh, 28px) clamp(64px, 10svh, 104px); }
  .name-note { font-size: min(clamp(2.5rem, 1.8rem + 3vw, 4.2rem), 7svh); }
  h1 { font-size: min(clamp(2rem, 1.3rem + 3.2vw, 3.9rem), 7.4svh); margin-block: clamp(6px, 1.2svh, 10px) clamp(10px, 2svh, 18px); }
  .what { margin-top: clamp(12px, 2.4svh, 22px); }
  .often { margin-top: clamp(8px, 2svh, 18px); }
  .phone-row { margin-top: clamp(14px, 3.6svh, 36px); }
  .circled { padding-block: clamp(10px, 2svh, 18px); }
  .hero-photo { width: min(100%, 430px, calc((100svh - 360px) * .95)); }
}

/* ---------- before/after pairs ---------- */
.ba-lede { color: var(--chalk-soft); margin-top: 10px; max-width: 60ch; text-wrap: pretty; }
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 44px; margin-top: 44px; }
.ba-card { display: block; margin: 0; padding: 10px 10px 12px; }
.ba-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.ba-card .ph { min-height: 0; aspect-ratio: 4 / 5; border-radius: 0; }
.ba-card .ph:first-child > span { background: var(--sheet-ink); color: var(--sheet); }
.ba-card .ph + .ph > span { background: var(--sticky); color: var(--sticky-ink); }
.ba-card figcaption { font-family: var(--hand); color: var(--sheet-ink); font-size: 1.35rem; line-height: 1.2; padding-top: 8px; }
.ba-card:nth-child(4n+1) { transform: rotate(-1.2deg); }
.ba-card:nth-child(4n+2) { transform: rotate(.9deg); }
.ba-card:nth-child(4n+3) { transform: rotate(.7deg); }
.ba-card:nth-child(4n+4) { transform: rotate(-.8deg); }
.ba-card { position: relative; }
.ba-zoom { position: absolute; inset: 0; width: 100%; padding: 0; background: none; border: 0; cursor: zoom-in; z-index: 3; }
.ba-zoom:focus-visible { outline: 3px solid var(--pen); outline-offset: 4px; }
.ba-dlg { border: 0; padding: 0; width: min(100vw - 24px, 1080px); max-width: none; max-height: calc(100svh - 24px); background: var(--bar); color: var(--chalk); border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.ba-dlg::backdrop { background: rgba(4, 9, 20, .82); }
.ba-dlg[open] { display: flex; flex-direction: column; }
.dlg-top { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; }
.dlg-cap { margin: 0; font-size: 1.4rem; color: var(--pen); flex: 1; }
.dlg-n { color: var(--chalk-soft); font-size: .9rem; }
.dlg-x { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--chalk-faint); background: none; color: var(--chalk); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.dlg-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 12px; min-height: 0; }
.dlg-pair figure { margin: 0; position: relative; }
.dlg-pair img { display: block; width: 100%; height: min(72svh, 760px); object-fit: contain; background: rgba(0, 0, 0, .35); border-radius: 6px; }
.dlg-pair figcaption { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 6px; font-weight: 700; font-size: .9rem; background: var(--sheet-ink); color: var(--sheet); }
.dlg-pair figure + figure figcaption { background: var(--sticky); color: var(--sticky-ink); }
.dlg-nav { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px 12px; }
.dlg-nav button { min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1.5px solid var(--chalk-faint); background: none; color: var(--chalk); font: 700 1rem/1 var(--text); cursor: pointer; }
@media (max-width: 640px) {
  .ba-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ba-card { padding: 8px 8px 10px; }
}

/* ---------- the order: blueprint form + work order ---------- */
.order-head { display: grid; gap: 4px; margin-bottom: 28px; }
.order-head .hand { font-size: 1.5rem; transform: rotate(-2deg); transform-origin: left; }
.board { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }

.form { counter-reset: step; background: var(--panel); border: 2px solid var(--chalk-line); border-radius: 6px; padding: 30px clamp(16px, 3vw, 38px) 34px; box-shadow: 0 24px 50px -24px var(--shadow); position: relative; }
.form::before, .form::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--pen); pointer-events: none; }
.form::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.form::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

/* the big switch */
.modes { border: 0; margin: 0 0 6px; padding: 0; min-width: 0; }
.modes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mode { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 6px; padding: 18px 18px 16px; border: 2px solid var(--chalk-line); border-radius: 10px; background: var(--tile); cursor: pointer; min-height: 120px; }
.mode:hover { background: var(--tile-hover); }
.mode input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mode:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.mode svg { width: 95px; height: 49px; color: var(--chalk-line); }
.mode svg .mk { color: var(--pen); }
.mode b { font-size: 1.22rem; line-height: 1.2; color: var(--chalk); }
.mode small { font-size: .93rem; line-height: 1.4; color: var(--chalk-soft); }
.mode:has(input:checked) { background: var(--pen); border-color: var(--pen); }
.mode:has(input:checked) b, .mode:has(input:checked) small, .mode:has(input:checked) svg, .mode:has(input:checked) svg .mk { color: var(--on-pen); }

.field { counter-increment: step; border: 0; margin: 0; padding: 28px 0 28px; border-bottom: 1.5px dashed var(--chalk-faint); min-width: 0; }
.field[hidden] { display: none; }
.field legend { padding: 0; float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.field legend + * { clear: both; }
.num { flex: none; position: relative; width: 40px; height: 40px; display: grid; place-items: center; font-family: var(--hand); font-size: 1.6rem; color: var(--pen); line-height: 1; }
.num::before { content: counter(step); }
.num svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--chalk-line); }
.field h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.2; font-weight: 800; color: var(--chalk); }
.field h3 small { font-weight: 500; font-size: .9rem; color: var(--chalk-soft); margin-left: 6px; }
.group + .group { margin-top: 20px; }
.group > p { font-family: var(--hand); color: var(--pen); font-size: 1.3rem; margin-bottom: 8px; line-height: 1.1; }

.ticks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ticks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ticks.five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ticks.five > :nth-child(-n+3) { grid-column: span 2; }
.ticks.five > :nth-child(n+4) { grid-column: span 3; }
.ticks.five.lead2 > :nth-child(-n+2) { grid-column: span 3; }
.ticks.five.lead2 > :nth-child(n+3) { grid-column: span 2; }
.ticks.days { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }

.opt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 60px; padding: 10px 14px; background: var(--tile); border: 1.5px solid var(--chalk-line); border-radius: 8px; cursor: pointer; }
.opt:hover { background: var(--tile-hover); }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.box { position: relative; width: 26px; height: 26px; border: 2px solid var(--chalk); border-radius: 4px; flex: none; }
.radio .box { border-radius: 50%; }
.box svg { position: absolute; left: -1px; top: -11px; width: 32px; height: 32px; overflow: visible; opacity: 0; }
.box svg path { fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .25s ease-out; }
.opt-t { display: flex; flex-direction: column; min-width: 0; }
.opt-t b { font-weight: 700; font-size: 1.02rem; line-height: 1.25; color: var(--chalk); }
.opt-t small { font-size: .88rem; color: var(--chalk-soft); line-height: 1.35; margin-top: 2px; }
.opt > .ico { width: 24px; height: 24px; color: var(--chalk-soft); }
.opt:has(input:checked) { background: var(--pen); border-color: var(--pen); }
.opt:has(input:checked) .box { border-color: var(--on-pen); color: var(--on-pen); }
.opt:has(input:checked) .box svg { opacity: 1; }
.opt:has(input:checked) .box svg path { stroke-dashoffset: 0; }
.opt:has(input:checked) .opt-t b, .opt:has(input:checked) .opt-t small, .opt:has(input:checked) > .ico { color: var(--on-pen); }
.ticks.days .opt { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; min-height: 52px; padding: 6px 4px; gap: 0; }
.ticks.days .opt-t b { font-size: .98rem; }

/* inputs */
.line-in { width: 100%; font: inherit; color: var(--chalk); background: transparent; border: 0; border-bottom: 2px solid var(--chalk-line); border-radius: 0; padding: 8px 2px; min-height: 48px; color-scheme: dark; }
.line-in:focus-visible { outline-offset: 4px; border-bottom-color: var(--pen); }
.line-in::placeholder { color: var(--chalk-soft); opacity: .8; }
.note-in { min-height: 100px; resize: vertical; line-height: 2rem; padding: 6px 2px; background-image: repeating-linear-gradient(transparent 0 calc(2rem - 1px), var(--chalk-faint) calc(2rem - 1px) 2rem); background-attachment: local; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.lbl { display: block; font-family: var(--hand); color: var(--pen); font-size: 1.25rem; line-height: 1.1; }
.start-row { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 8px 24px; align-items: end; margin-top: 20px; }
.start-row p { color: var(--chalk-soft); font-size: .93rem; }

@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -20px 0 0); } }

.send { margin-top: 28px; display: grid; gap: 14px; justify-items: start; }
.send .btn { min-width: 240px; font-size: 1.08rem; }
.sent { background: var(--sticky); color: var(--sticky-ink); padding: 14px 18px; transform: rotate(-.6deg); max-width: 54ch; font-size: .98rem; line-height: 1.5; box-shadow: 0 12px 22px -12px var(--shadow); }
.sent[hidden] { display: none; }
.sent b { font-family: var(--hand); font-weight: 400; font-size: 1.3rem; display: block; line-height: 1.1; margin-bottom: 4px; }

/* the work order (yellow ticket) */
.side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 16px); display: flex; flex-direction: column; gap: 18px; }
.ticket { position: relative; background: var(--copy); color: var(--on-copy); border-radius: 0 0 6px 6px; box-shadow: 0 20px 44px -10px var(--shadow); --focus: var(--on-copy); transform: rotate(.6deg); }
.ticket::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 10px; background: radial-gradient(circle at 7px 0, transparent 4.5px, var(--copy-head) 5px) repeat-x; background-size: 14px 10px; }
.t-head { background: var(--copy-head); padding: 14px 20px 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px dashed var(--copy-line); }
.t-head h3 { font-size: 1.45rem; font-weight: 800; line-height: 1.1; color: var(--on-copy); }
.t-date { font-family: var(--hand); font-size: 1.15rem; white-space: nowrap; }
.t-body { padding: 14px 20px 4px; }
.t-empty { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 2px dashed var(--on-copy); border-radius: 6px; margin-bottom: 12px; font-weight: 600; line-height: 1.4; font-size: .98rem; }
.t-empty svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.t-empty[hidden], .t-hello[hidden] { display: none; }
.t-hello { font-family: var(--hand); font-size: 1.22rem; line-height: 1.2; margin-bottom: 6px; }
.t-lines { margin: 0; }
.t-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1.5px solid var(--copy-line); }
.t-row dt { font-weight: 700; font-size: .9rem; line-height: 1.5; color: var(--copy-muted); }
.t-row dd { margin: 0; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; min-width: 0; font-size: .98rem; }
.t-row dd.blank { color: var(--copy-muted); font-weight: 400; font-style: italic; }
.t-row dd.fresh { animation: ink .5s ease-out; }
.t-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.t-list li { position: relative; padding-left: 17px; min-width: 0; }
.t-list li::before { content: ""; position: absolute; left: 1px; top: .42em; width: 9px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
@keyframes ink { from { opacity: .2; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.t-actions { padding: 14px 20px 20px; display: grid; gap: 10px; }
.t-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 10px 14px; border-radius: 8px; font: 700 1rem/1.2 var(--text); text-decoration: none; cursor: pointer; border: 2px solid var(--on-copy); background: transparent; color: var(--on-copy); }
.t-btn svg { width: 20px; height: 20px; flex: none; }
.t-main { background: var(--on-copy); color: var(--copy); font-size: 1.06rem; }
.t-main[aria-disabled="true"] { background: transparent; color: var(--on-copy); border-style: dashed; cursor: not-allowed; }
.t-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t-pair .t-btn { font-size: .95rem; padding-inline: 8px; gap: 8px; white-space: nowrap; }
.t-status:empty { display: none; }
.t-status { font-weight: 700; font-size: .95rem; line-height: 1.4; }
.t-hint { font-size: .88rem; line-height: 1.4; color: var(--copy-muted); }
.t-fallback { width: 100%; min-height: 150px; font: 500 .9rem/1.45 var(--text); color: var(--on-copy); background: var(--copy-head); border: 2px solid var(--on-copy); border-radius: 6px; padding: 8px; resize: vertical; }
.t-clear { justify-self: start; font: 600 .9rem/1 var(--text); background: none; border: 0; padding: 6px 2px; min-height: 44px; color: var(--on-copy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.side .price-note { font-family: var(--hand); color: var(--chalk-soft); font-size: 1.15rem; line-height: 1.3; padding-inline: 4px; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; margin-top: 36px; }
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.svc li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; }
.svc .tick { position: relative; width: 26px; height: 26px; border: 2px solid var(--chalk); border-radius: 4px; margin-top: 2px; }
.svc .tick svg { position: absolute; left: -2px; top: -12px; width: 34px; height: 34px; color: var(--pen); overflow: visible; }
.svc li:nth-child(2n) .tick { transform: rotate(-3deg); }
.svc h3 { margin: 0 0 4px; font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
.svc p { color: var(--chalk-soft); font-size: 1rem; line-height: 1.55; }
.svc .also { display: inline-block; margin-top: 0; padding-block: 9px; font-size: 1.2rem; transform: rotate(-2deg); transform-origin: left; text-decoration: none; }
.svc .also:hover { text-decoration: underline; text-underline-offset: 4px; }
.why { transform: rotate(1.8deg); margin-top: 8px; padding: 26px 24px 24px; }
.why .t, .price .t { font-family: var(--hand); font-size: 1.7rem; line-height: 1.1; margin-bottom: 12px; }
.why ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-weight: 500; }
.why li { padding-left: 22px; position: relative; }
.why li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 10px; height: 2px; background: var(--sticky-ink); border-radius: 2px; }

/* ---------- steps ---------- */
.steps-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; margin-top: 36px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { position: relative; }
.snum { position: relative; width: 64px; height: 64px; display: grid; place-items: center; font-family: var(--hand); font-size: 2.4rem; color: var(--pen); margin-bottom: 12px; }
.snum svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--chalk-line); }
.steps li:nth-child(2) .snum svg { transform: rotate(80deg); }
.steps li:nth-child(3) .snum svg { transform: rotate(170deg); }
.steps li:nth-child(4) .snum svg { transform: rotate(250deg); }
.steps li + li .arrow { position: absolute; left: -36px; top: 20px; width: 40px; height: 22px; color: var(--chalk-soft); }
.steps h3 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.steps p { color: var(--chalk-soft); font-size: 1rem; line-height: 1.55; }
.price { transform: rotate(-2deg); padding: 26px 24px 24px; }
.price p { font-size: 1rem; line-height: 1.55; }

/* ---------- about: a light page clipped to the blueprint ---------- */
.about .wrap { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 36px; align-items: start; }
.margin { padding-top: 70px; display: flex; flex-direction: column; gap: 26px; }
.margin .hand { font-size: 1.35rem; transform: rotate(-3deg); }
.margin svg { width: 120px; height: 46px; color: var(--pen); margin-top: 4px; display: block; }
.page { position: relative; background: var(--sheet); color: var(--sheet-ink); padding: 44px clamp(20px, 4vw, 52px) 40px; box-shadow: 0 2px 3px var(--shadow), 0 26px 50px -22px var(--shadow); display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 32px 40px; --focus: var(--sheet-ink); }
.page h2 { color: var(--sheet-ink); }
.story { display: flex; flex-direction: column; gap: 16px; max-width: 64ch; font-size: 1.06rem; line-height: 1.75; }
.story > div { display: contents; }
.sign { margin-top: 22px; display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.sign .hand { font-size: 2.2rem; transform: rotate(-3deg); color: var(--sheet-ink); }
.sign small { color: var(--sheet-soft); font-size: .92rem; padding-bottom: 6px; }
.portrait { align-self: start; margin: 64px 0 0; transform: rotate(-2.5deg); background: var(--sheet); padding: 10px 10px 12px; box-shadow: 0 1px 2px var(--shadow), 0 14px 30px -12px var(--shadow); border: 1px solid var(--sheet-rule); }
.portrait .ph { min-height: 280px; border-radius: 0; }
.portrait figcaption { font-family: var(--hand); color: var(--sheet-ink); font-size: 1.15rem; text-align: center; padding-top: 6px; }

/* ---------- photos ---------- */

/* ---------- area ---------- */
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 24px 64px; align-items: center; }
.area-text .lede { max-width: 34ch; margin-top: 16px; }
.area-ask { font-size: 1.4rem; color: var(--pen); margin: 18px 0 0; transform: rotate(-2deg); transform-origin: left; }
.map { position: relative; aspect-ratio: 1000 / 1050; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-art .region { fill: var(--tile); stroke: var(--chalk-faint); stroke-width: 3; stroke-dasharray: 10 10; }
.map-art .river { fill: none; stroke: var(--chalk-line); stroke-width: 5; stroke-linecap: round; opacity: .55; }
.map-art .routes path { fill: none; stroke: var(--chalk-line); stroke-width: 4; stroke-dasharray: 2 14; stroke-linecap: round; }
.map-art .mts { fill: none; stroke: var(--chalk-line); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; opacity: .7; }
.map-art .town { fill: var(--page); stroke: var(--chalk); stroke-width: 6; }
.map-art .home { fill: var(--pen); }
.map-art .home-ring { fill: none; stroke: var(--pen); stroke-width: 4; opacity: .5; }
.places { list-style: none; margin: 0; padding: 0; }
.pl { position: absolute; width: max-content; max-width: 46%; line-height: 1.25; text-shadow: 0 0 3px var(--page), 0 0 8px var(--page), 0 0 14px var(--page); }
.pl b { display: block; font-size: 1.08rem; font-weight: 700; color: var(--chalk); }
.pl .hand { display: block; font-size: 1.2rem; color: var(--pen); margin-top: 2px; transform: rotate(-2deg); }
.pl-below { transform: translate(-60%, 34px); text-align: center; }
.pl-below .hand { transform-origin: center; }
.pl-above { transform: translate(-50%, calc(-100% - 22px)); text-align: center; }
.pl-left { transform: translate(calc(-100% - 22px), -30%); text-align: right; }
.pl-left .hand { transform-origin: right; }
.pl-right { transform: translate(22px, -30%); }
.pl-right .hand { transform-origin: left; }
.map-tag { position: absolute; font-size: 1.05rem; color: var(--chalk-soft); opacity: .8; white-space: nowrap; }
.tag-river { transform: rotate(9deg); }

/* ---------- reviews ---------- */
.rv-sum { margin: 12px 0 0; color: var(--chalk-soft); }
.stars { color: var(--pen); letter-spacing: .08em; }
.rv-wall { columns: 3 280px; column-gap: 28px; margin-top: 36px; }
.rv { break-inside: avoid; margin: 0 0 28px; position: relative; background: var(--sheet); color: var(--sheet-ink); padding: 26px 22px 18px; box-shadow: 0 1px 2px var(--shadow), 0 16px 32px -14px var(--shadow); }
.rv:nth-child(3n+1) { transform: rotate(-.7deg); }
.rv:nth-child(3n+2) { transform: rotate(.6deg); }
.rv blockquote { margin: 0; }
.rv blockquote p { margin: 0; font-size: 1rem; line-height: 1.6; }
.rv blockquote::before { content: "\201C"; position: absolute; top: -14px; left: 16px; font: 800 3.4rem/1 var(--text); color: var(--sticky); text-shadow: 0 1px 0 var(--sticky-ink); }
.rv figcaption { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(27, 42, 74, .25); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; font-size: .9rem; }
.rv-src { display: inline-flex; align-items: center; gap: 6px; color: var(--sheet-soft); }
.rv-src svg { width: 16px; height: 16px; }
.rv-src .stars { color: #b8860b; font-size: .8rem; margin-right: 4px; }
.show-all { display: none; }
.rv[hidden] { display: none; }
.rv-more { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 10px; border: 2px solid var(--chalk-line); background: none; color: var(--chalk); font: 700 1rem/1.2 var(--text); cursor: pointer; }
.rv-more[hidden] { display: none; }

/* ---------- contact + footer ---------- */
.call-page { border-top: 2px dashed var(--chalk-line); padding-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; }
.call-page h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); max-width: 16ch; }
.call-side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.call-side .circled { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); margin-left: -14px; }
.call-side .actions { margin-top: 0; }
.foot { background: var(--bar); border-top: 1.5px solid var(--chalk-faint); padding-top: 56px; padding-bottom: 120px; color: var(--chalk-soft); font-size: .98rem; text-align: center; }
.foot-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; max-width: 560px; margin-inline: auto; }
.foot-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; }
.foot-logo { display: block; width: 132px; border-radius: 50%; }
.foot-logo img { display: block; width: 100%; height: auto; }
.foot-slogan { font-size: 1.5rem; color: var(--pen); margin: 18px 0 0; transform: rotate(-2deg); }
.foot-area { margin: 12px 0 0; max-width: 36ch; line-height: 1.5; text-wrap: balance; }
.foot-area svg { width: 18px; height: 18px; color: var(--pen); vertical-align: -3px; margin-right: 6px; }
.foot-col { display: flex; flex-direction: column; align-items: center; }
.foot-col h3 { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--chalk); margin-bottom: 6px; }
.foot-col a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--chalk-soft); text-decoration: none; }
.foot-col a:hover { color: var(--chalk); text-decoration: underline; text-underline-offset: 4px; }
.foot-col a svg { width: 18px; height: 18px; flex: none; }
.foot-base { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--chalk-faint); display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .9rem; }
.foot-base a { display: inline-flex; align-items: center; min-height: 40px; color: var(--chalk); font-weight: 700; text-decoration: none; }
.foot-base .credit { color: var(--chalk-soft); font-size: .82rem; }
.foot-base .credit a { min-height: 32px; gap: 5px; color: var(--chalk-soft); font-weight: 400; }
.foot-base .credit a:hover .pk-word, .foot-base .credit a:focus-visible .pk-word { text-decoration: underline; text-underline-offset: 3px; }
/* pockade's own mark: the pocket logo and its rounded wordmark */
.pk-ico { width: 20px; height: 20px; margin-top: -3px; overflow: visible; }
.pk-page { fill: var(--bar); stroke: currentColor; stroke-width: 3; stroke-linejoin: round; }
.pk-win { fill: none; stroke: currentColor; stroke-width: 2.6; }
.pk-blk { fill: currentColor; }
.pk-tape { fill: #ff6b2c; }
.pk-word { font: 600 1.05rem/1 "Fredoka", "Arial Rounded MT Bold", var(--text); letter-spacing: -.01em; color: var(--chalk); }
/* wide screens: the footer is one row (brand, page links, find us) instead of a centred stack */
@media (min-width: 901px) {
  .foot { padding-top: 40px; padding-bottom: 92px; text-align: left; }
  .foot-top { max-width: none; grid-template-columns: minmax(0, 1fr) auto auto; gap: 32px 72px; align-items: start; }
  .foot-brand { grid-column: auto; display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 20px; align-items: center; justify-items: start; }
  .foot-logo { width: 92px; grid-row: span 2; }
  .foot-slogan { margin: 0; align-self: end; transform-origin: left; }
  .foot-area { margin: 8px 0 0; align-self: start; max-width: none; text-wrap: pretty; }
  .foot-col { align-items: flex-start; }
  nav.foot-col { display: grid; grid-template-columns: repeat(2, auto); column-gap: 32px; align-content: start; }
  nav.foot-col h3 { grid-column: 1 / -1; }
  .foot-col a { min-height: 34px; }
  .foot-base { margin-top: 28px; padding-top: 12px; flex-direction: row; justify-content: space-between; }
}

/* ---------- back to the top: a round button whose ring fills as you scroll, with a handwritten note on hover ---------- */
.to-top {
  all: unset; box-sizing: border-box; position: fixed; z-index: 40; right: 22px; bottom: 22px; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; cursor: pointer; background: var(--bar); color: var(--chalk); box-shadow: 0 16px 30px -14px var(--shadow);
  opacity: 0; translate: 0 18px; scale: .8; pointer-events: none;
  transition: opacity .3s ease, translate .4s cubic-bezier(.3, 1.6, .5, 1), scale .4s cubic-bezier(.3, 1.6, .5, 1);
}
.to-top.on { opacity: 1; translate: 0 0; scale: 1; pointer-events: auto; }
.tt-ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; fill: none; stroke-width: 3; }
.tt-ring circle { stroke: var(--chalk-faint); }
.tt-ring .tt-fill { stroke: var(--pen); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.tt-arrow { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover .tt-arrow, .to-top:focus-visible .tt-arrow { animation: tt-hop .8s ease-in-out infinite; }
.to-top.fly .tt-arrow { animation: tt-fly .4s cubic-bezier(.5, 0, .8, .4) forwards; }
.tt-note { position: absolute; right: calc(100% + 12px); top: 50%; translate: 8px -50%; rotate: -5deg; white-space: nowrap; pointer-events: none; font: 400 1.55rem/1 var(--hand); color: var(--pen); opacity: 0; transition: opacity .2s ease, translate .25s ease; }
.to-top:hover .tt-note, .to-top:focus-visible .tt-note { opacity: 1; translate: 0 -50%; }
.to-top:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
@keyframes tt-hop { 50% { translate: 0 -4px; } }
@keyframes tt-fly { to { translate: 0 -38px; opacity: 0; } }
@media (hover: none) { .tt-note { display: none; } }
@media (prefers-reduced-motion: reduce) { .to-top .tt-arrow { animation: none !important; } }

/* ---------- phone action bar ---------- */
.mbar { display: none; }

@media (max-width: 1100px) {
  .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .price { max-width: 420px; justify-self: end; margin-right: 8px; }
  .about .wrap { grid-template-columns: minmax(0, 1fr); }
  .margin { padding-top: 0; flex-direction: row; flex-wrap: wrap; order: 2; }
  .margin svg { display: none; }
}
@media (max-width: 960px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .why { max-width: 340px; }
}
@media (max-width: 900px) {
  .board { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .side { position: static; max-width: 460px; width: 100%; justify-self: center; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 64px; padding-top: 20px; }
  .hero-photo { width: min(100% - 24px, 400px); }
  .triplet { right: -14px; width: 140px; font-size: 1.25rem; padding: 14px 16px; }
  .hero-photo figcaption { max-width: calc(100% - 128px); }
  .top nav { display: none; }
  .top .tel { margin-left: auto; }
  .page { grid-template-columns: minmax(0, 1fr); }
  .portrait { margin-top: 0; width: min(100% - 24px, 300px); justify-self: center; }
  .call-page { grid-template-columns: minmax(0, 1fr); }
  .foot { padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; gap: 10px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--bar); border-top: 1.5px solid var(--chalk-faint); }
  .mbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 1rem; }
  .mbar .m-call { border: 2px solid var(--chalk-line); color: var(--chalk); flex: .8; }
  .mbar .m-req { background: var(--pen); color: var(--on-pen); }
  .mbar svg { width: 20px; height: 20px; }
  /* sits above the action bar */
  .to-top { right: 16px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); width: 50px; height: 50px; }
  .m-count { min-width: 26px; height: 26px; border-radius: 13px; background: var(--on-pen); color: var(--pen); display: inline-grid; place-items: center; font-size: .9rem; padding: 0 6px; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .steps li + li .arrow { display: none; }
  .price { justify-self: start; }
  .area-grid { grid-template-columns: minmax(0, 1fr); }
  .map { width: 100%; max-width: 560px; margin-inline: auto; }
  .ticks.five, .ticks.five.lead2 { grid-template-columns: minmax(0, 1fr); }
  .ticks.five > *, .ticks.five.lead2 > * { grid-column: auto !important; }
  .ticks.days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .start-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .sec { padding-block: 56px; }
  .top .wrap { padding-block: 10px; }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .form { padding-inline: 14px; }
  .modes-grid { gap: 8px; }
  .mode { padding: 14px 12px 12px; }
  .mode b { font-size: 1.08rem; }
  .mode small { font-size: .86rem; }
  .send .btn { width: 100%; }
  .call-side .circled { margin-left: 0; }
  .foot { padding-top: 44px; }
  .foot-top { gap: 32px 12px; }
  .foot-logo { width: 112px; }
  .foot-base { margin-top: 28px; }
  .second, .lede, .svc p, .steps p { text-wrap: pretty; }
}
@media (max-width: 440px) {
  .ticks.two { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 16px; }
  .snum { margin: 0; }
  .t-pair { grid-template-columns: minmax(0, 1fr); }
  .t-body, .t-actions { padding-inline: 16px; }
  .t-row { grid-template-columns: 74px minmax(0, 1fr); }
  .top .tel span[lang] { font-size: .95rem; }
}
/* ---------- on phones the circled hero number is the only number on screen:
   the header shows just the logo, and the bottom bar offers Viber instead of a second call button ---------- */
@media (max-width: 1200px) {
  .phone-row { flex-direction: column; align-items: flex-start; gap: 0; flex-wrap: nowrap; }
  .aside-note { order: -1; margin: 0 0 -2px 150px; }
  .aside-note svg { transform: translateY(14px); }
}
@media (max-width: 900px) {
  .top .tel { display: none; }
  .hero .actions .btn-viber { display: none; }
}
@media (max-width: 640px) {
  .hero .actions .btn { width: 100%; }
  .circled { font-size: clamp(1.45rem, 6.4vw, 1.9rem); padding-inline: 22px; }
  .aside-note { margin-left: min(150px, 38vw); }
}

/* ---------- phones: same content, less of it on screen at once ---------- */
.more { display: none; }
@media (max-width: 640px) {
  /* hero: the header already names the company; the photo moves out of the first screens */
  .name-note, .hero-photo { display: none; }
  .hero .wrap { padding-bottom: 40px; }
  /* the form: options become compact two-column tiles, repeated notes go */
  .order-head .lede, .side .price-note { display: none; }
  .mode svg, .mode small, .opt-t small, .opt > .ico { display: none; }
  .mode { min-height: 0; padding: 14px 12px; }
  .ticks, .ticks.two, .ticks.five, .ticks.five.lead2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .opt { min-height: 50px; padding: 8px 10px; gap: 10px; }
  .opt-t b { font-size: .95rem; }
  .field { padding-block: 20px; }
  .field legend { margin-bottom: 12px; }
  /* services: names only, the descriptions are in the form already */
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
  .svc li { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
  .svc .tick { width: 22px; height: 22px; }
  .svc p, .svc .also, .why { display: none; }
  .svc h3 { font-size: 1rem; margin: 0; }
  /* about: the first paragraph, the rest on request */
  .margin { display: none; }
  .page:not(.open) .story div > p + p { display: none; }
  .more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0; background: none; border: 0; font: 700 1rem/1.2 var(--text); color: var(--sheet-ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
  .portrait { width: min(100% - 48px, 260px); }
  /* photos: one pair at a time, swipe for the next */
  .ba-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 24px; }
  .ba-card { padding: 7px 7px 9px; }
  .ba-grid:not(.all) .ba-card:nth-child(n+4) { display: none; }
  p.swipe { display: block; margin: 14px 0 0; }
  #ba ~ .show-all { margin-top: 28px; }
  .dlg-pair { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0 8px; }
  .dlg-pair img { height: calc((100svh - 190px) / 2); }
  .dlg-top { padding-left: 14px; }
  .dlg-cap { font-size: 1.2rem; }
  .ba-dlg { width: calc(100vw - 12px); max-height: calc(100svh - 12px); }
  .swipe { display: block; }
  /* reviews: one placeholder is enough */
  .rv { padding: 24px 18px 16px; }
  .show-all { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 4px; border-radius: 10px; border: 2px solid var(--chalk-line); background: none; color: var(--chalk); font: 700 1rem/1.2 var(--text); cursor: pointer; }
  .show-all[hidden] { display: none; }
  /* contact: the circled number calls and the bottom bar has Viber, so no extra buttons */
  .call-side .actions { display: none; }
  .call-page { padding-top: 40px; }
}
.swipe { display: none; font-size: 1.25rem; margin-top: 10px; }
/* area map on phones: names only, so the labels never wrap into each other */
@media (max-width: 640px) {
  .pl { max-width: none; white-space: nowrap; }
  .pl b { font-size: 1rem; }
  .pl .rg, .pl:not(.pl-home) .hand, .tag-river { display: none; }
  .pl-home { transform: translate(-50%, 28px); }
  .pl-left { transform: translate(calc(-100% - 16px), -50%); }
  .pl-right { transform: translate(16px, -50%); }
  .pl-above { transform: translate(-50%, calc(-100% - 14px)); }
}
/* area: on phones the hero hides the Plovdiv print, so it shows here instead */
.area-photo { display: none; }
@media (max-width: 640px) {
  .area-photo { display: block; position: relative; margin: 40px auto 36px; width: min(100% - 40px, 320px); }
  .area-photo .print { transform: rotate(-2deg); }
  .area-photo img { display: block; width: 100%; height: auto; aspect-ratio: 776 / 760; object-fit: cover; }
  .area-photo figcaption { font-family: var(--hand); color: var(--sheet-ink); font-size: 1.2rem; padding-top: 8px; max-width: calc(100% - 118px); line-height: 1.2; }
  .area-photo .triplet { right: -22px; bottom: -36px; width: 128px; font-size: 1.2rem; padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .circled .ring path, .t-row dd.fresh { animation: none; }
  .box svg path { transition: none; }
}

/* ---------- phone hero: more air, and the team photo ---------- */
.hero-team, .sign-pic { display: none; }
@media (max-width: 640px) {
  .hero .wrap { padding-top: 28px; }
  .what { margin-top: 0; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-wrap: balance; }
  .hero h1 { margin: 12px 0 14px; }
  .hero .often { display: none; }
  .hero-team { display: block; position: relative; margin: 34px 14px 52px 6px; }
  .hero-team .print { transform: rotate(-1.6deg); padding: 9px 9px 10px; }
  .hero-team img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 18%; }
  .hero-team figcaption { font-family: var(--hand); color: var(--sheet-ink); font-size: 1.2rem; line-height: 1.2; padding-top: 7px; max-width: calc(100% - 150px); }
  .hero-team .sticky { position: absolute; right: -14px; bottom: -34px; width: min(54%, 190px); margin: 0; padding: 12px 14px; font-size: 1.12rem; line-height: 1.2; color: var(--sticky-ink); transform: rotate(3deg); z-index: 3; }
  .hero .phone-row { margin-top: 0; }
  .hero .actions { margin-top: 26px; gap: 12px; }
  /* the big team photo is in the hero now; the about page keeps a small print by the signature */
  .portrait { display: none; }
  .sign { align-items: center; gap: 6px 14px; }
  .sign-pic { display: block; width: 86px; height: 84px; object-fit: cover; padding: 4px 4px 12px; background: #fff; box-shadow: 0 1px 2px var(--shadow), 0 8px 16px -8px var(--shadow); transform: rotate(-4deg); }
}

/* ---------- header: language and colour mode, two small round buttons ---------- */
@media (max-width: 900px) { .theme { margin-left: auto; } }
.round { width: 40px; height: 40px; flex: none; display: inline-grid; place-items: center; padding: 0; border-radius: 50%; border: 1.5px solid var(--chalk-faint); background: none; color: var(--chalk-soft); cursor: pointer; }
.round:hover { color: var(--chalk); border-color: var(--chalk-line); }
.round:focus-visible { outline: 3px solid var(--pen); outline-offset: 2px; }
.lang-btn { font: 700 .8rem/1 var(--text); letter-spacing: .04em; }
.theme + .lang-btn { margin-left: -14px; }

/* ---------- colour mode: follows the system; this small button overrides it (auto → light → dark) ---------- */
.theme svg { width: 20px; height: 20px; grid-area: 1 / 1; display: none; }
.theme[data-mode="system"] .t-system, .theme[data-mode="light"] .t-light, .theme[data-mode="dark"] .t-dark { display: block; }

/* small spacing fixes */
.rv-tr { display: block; font-size: .88rem; opacity: .8; }
.rv-tr .rv-dot { display: none; }
@media (min-width: 641px) { .rv-tr { display: inline; font-size: inherit; opacity: 1; } .rv-tr .rv-dot { display: inline; } }
@media (max-width: 640px) {
  .area-text .lede { max-width: none; text-wrap: pretty; }
  .map { margin-top: -6%; }
}

.mail-line { margin: 0; color: var(--chalk-soft); font-size: .95rem; }
.mail-line a { color: var(--chalk); font-weight: 700; text-underline-offset: 4px; overflow-wrap: anywhere; }

/* show more / show less pairs */
.show-all[hidden], .rv-more[hidden] { display: none !important; }
.more-row { display: flex; flex-wrap: wrap; gap: 10px; }
.more .l-close { display: none; }
.more[aria-expanded="true"] .l-open { display: none; }
.more[aria-expanded="true"] .l-close { display: inline; }
@media (max-width: 640px) {
  /* the small team print sits on the right, level with "read more" */
  .sign { position: relative; padding-right: 112px; min-height: 44px; }
  .sign .hand { font-size: 1.85rem; white-space: nowrap; }
  .sign-pic { position: absolute; right: 2px; top: -64px; transform: rotate(4deg); }
}
