/* ============================================================
   The Tailor Man · tailor-man.co.za
   World: the woven garment label. Midnight wool ground, ivory
   label panels with running-stitch borders, one copper thread.
   ============================================================ */

:root {
  --wool-950: #0c1220;
  --wool-900: #121b2d;
  --wool-800: #1a2740;
  --wool-line: #2a3852;
  --ivory: #ede5d3;
  --ivory-deep: #e3d8c1;
  --ink: #1d2536;
  --ink-soft: #4a5165;
  --thread: #c78d52;
  --thread-bright: #dda56b;
  --thread-deep: #7a5222;
  --cloud: #aeb9cf;
  --cloud-dim: #8b98b3;
  --star: #e4b45a;
  --stitch-ivory: rgba(237, 229, 211, 0.75);
  --stitch-ink: rgba(29, 37, 54, 0.55);
  --head-h: 72px;
  --tape-w: 30px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Jost", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cloud);
  background-color: var(--wool-950);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.016) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.016) 0 1px, transparent 1px 5px);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--thread); color: var(--wool-950); }

html { scrollbar-color: var(--wool-800) var(--wool-950); }
body::-webkit-scrollbar { width: 12px; background: var(--wool-950); }
body::-webkit-scrollbar-thumb { background: var(--wool-800); border-radius: 6px; border: 3px solid var(--wool-950); }

:focus-visible { outline: 2px solid var(--thread-bright); outline-offset: 3px; border-radius: 2px; }

img { max-width: 100%; display: block; }

a { color: var(--thread-bright); text-decoration-color: rgba(221, 165, 107, 0.45); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--thread-bright); }

h1, h2, h3 {
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  color: var(--ivory);
  text-wrap: balance;
  line-height: 1.15;
}

h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); letter-spacing: 0.02em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: 0.03em; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--ivory); color: var(--ink); padding: 10px 18px; border-radius: 3px;
  font-weight: 500; text-decoration: none;
}
.skip-link:focus { left: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ---------- Tape measure rule (desktop) ---------- */

.tape-rule {
  display: none;
  position: fixed; inset: 0 auto 0 0; width: var(--tape-w); z-index: 90;
  background:
    repeating-linear-gradient(to bottom,
      rgba(29,37,54,0.5) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(to bottom,
      rgba(29,37,54,0.85) 0 1.5px, transparent 1.5px 50px),
    var(--ivory-deep);
  background-position: right 4px top, right top, left top;
  background-size: 8px 100%, 14px 100%, auto;
  background-repeat: repeat-y, repeat-y, repeat;
  border-right: 1px solid rgba(29,37,54,0.35);
}
.tape-thread {
  position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: var(--thread);
  box-shadow: 1px 0 6px rgba(199, 141, 82, 0.55);
  transform: scaleY(0); transform-origin: top;
}
@media (min-width: 1240px) {
  .tape-rule { display: block; }
}

/* ---------- Header ---------- */

.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.site-head.solid {
  background: rgba(12, 18, 32, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(4, 7, 14, 0.45);
}
.nav {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ivory);
}
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  background: var(--ivory); color: var(--ink);
  font-family: "Marcellus", Georgia, serif; font-size: 1.05rem;
  border-radius: 2px;
  outline: 1px dashed var(--stitch-ink); outline-offset: -5px;
}
.brand-name {
  font-family: "Marcellus", Georgia, serif;
  font-size: 1.15rem; letter-spacing: 0.09em; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) {
  color: var(--cloud); text-decoration: none;
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.05em;
  padding: 6px 0; position: relative;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  border-bottom: 2px dashed var(--thread);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:not(.btn):hover { color: var(--ivory); }
.nav-links a:not(.btn):hover::after { right: 0; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ivory); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 1rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 14px 28px; border-radius: 3px;
  text-decoration: none; cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.btn .ic { width: 19px; height: 19px; }
.btn-small { padding: 10px 20px; font-size: 0.92rem; }
.btn-thread {
  background: var(--thread); color: var(--wool-950);
  box-shadow: 0 6px 18px rgba(199, 141, 82, 0.28);
}
.btn-thread:hover { background: var(--thread-bright); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(199, 141, 82, 0.4); }
.btn-ghost {
  color: var(--ivory);
  border: 1px solid rgba(237, 229, 211, 0.4);
  outline: 1px dashed rgba(237, 229, 211, 0.35); outline-offset: -5px;
  background: rgba(237, 229, 211, 0.03);
}
.btn-ghost:hover { border-color: var(--ivory); background: rgba(237, 229, 211, 0.09); transform: translateY(-2px); }

.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Label panels ---------- */

.label-panel {
  position: relative;
  background:
    repeating-linear-gradient(to bottom, rgba(29,37,54,0.045) 0 1px, transparent 1px 3px),
    var(--ivory);
  color: var(--ink-soft);
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(3, 6, 12, 0.55);
}
.label-panel h1, .label-panel h2, .label-panel h3 { color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--head-h) + 40px) 0 72px;
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(100deg, var(--wool-950) 0%, rgba(12, 18, 32, 0.94) 34%, rgba(12, 18, 32, 0.45) 60%, rgba(12, 18, 32, 0.55) 100%),
    url("images/hero-suit.jpg");
  background-size: cover;
  background-position: right 30% center;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1320px; width: 100%;
  margin: 0 auto; padding: 0 24px;
}
.hero-label {
  max-width: 620px;
  padding: clamp(36px, 5vw, 60px);
}
.stitch-frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; overflow: visible;
}
.stitch-path {
  x: 9px; y: 9px;
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  rx: 3px;
  fill: none;
  stroke: var(--stitch-ink);
  stroke-width: 1.6;
  stroke-dasharray: 7 6;
}
.hero-brand {
  font-family: "Marcellus", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink);
}
.hero-origin {
  font-size: 0.86rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--thread-deep);
  margin-top: 8px;
  padding-bottom: 22px;
  border-bottom: 2px dashed rgba(29,37,54,0.22);
}
.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  margin-top: 26px;
}
.hero-sub {
  margin-top: 18px;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-actions .btn-ghost { color: var(--ink); border-color: rgba(29,37,54,0.45); outline-color: rgba(29,37,54,0.3); background: transparent; }
.hero-actions .btn-ghost:hover { background: rgba(29,37,54,0.07); border-color: var(--ink); }
.hero-proof {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 30px; padding-top: 22px;
  border-top: 2px dashed rgba(29,37,54,0.22);
  font-size: 0.98rem; color: var(--ink-soft);
}
.hero-proof strong { color: var(--ink); font-weight: 600; }
.proof-part { display: inline-flex; align-items: center; gap: 5px; }
.proof-more::before { content: "\00B7"; margin-right: 10px; color: var(--thread); }
@media (max-width: 560px) {
  .proof-more::before { content: none; }
}
.hero-proof a { color: var(--ink); font-weight: 500; }
.stars svg { width: 20px; height: 20px; fill: var(--star); stroke: none; }
.hero-selvedge {
  position: absolute; left: 0; right: 0; bottom: 0; height: 8px; z-index: 3;
  background: repeating-linear-gradient(90deg, var(--thread) 0 14px, var(--wool-800) 14px 22px);
  opacity: 0.85;
}

/* ---------- Sections ---------- */

.section { padding: clamp(84px, 11vw, 150px) 0; }
.section-lede { margin: 18px 0 0; max-width: 60ch; color: var(--cloud-dim); font-size: 1.05rem; }

/* ---------- The Man ---------- */

.grid-man {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.man-photo { position: relative; }
.man-photo img {
  border-radius: 4px;
  box-shadow: 0 22px 55px rgba(3, 6, 12, 0.6);
  aspect-ratio: 4 / 3.4; object-fit: cover;
}
.photo-tag {
  position: absolute; left: 22px; bottom: -16px;
  background: var(--ivory); color: var(--ink);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 2px;
  outline: 1px dashed var(--stitch-ink); outline-offset: -5px;
  box-shadow: 0 10px 24px rgba(3, 6, 12, 0.5);
  transform: rotate(-1.6deg);
}
.man-copy p { margin-top: 20px; max-width: 58ch; }
.man-copy h2 + p { margin-top: 26px; }

.tape-line {
  list-style: none;
  margin-top: clamp(64px, 8vw, 96px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--ivory-deep);
  position: relative;
}
.tape-line::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 14px;
  background: repeating-linear-gradient(90deg, var(--ivory-deep) 0 2px, transparent 2px 25%);
  background-size: 25% 100%;
  opacity: 0.9;
}
.tape-line li { padding: 30px 18px 0 2px; position: relative; }
.tape-year {
  display: block;
  font-family: "Marcellus", Georgia, serif;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  color: var(--thread-bright);
  font-variant-numeric: tabular-nums;
}
.tape-note { display: block; margin-top: 6px; font-size: 0.98rem; color: var(--cloud-dim); }

/* ---------- Services ---------- */

.section-services { background: var(--wool-900); position: relative; }
.section-services::before, .section-services::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--wool-line) 0 12px, transparent 12px 24px);
}
.section-services::before { top: 0; }
.section-services::after { bottom: 0; }

.service-sheet { margin-top: clamp(40px, 5vw, 64px); }
.service-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 40px); align-items: start;
  padding: clamp(28px, 3.6vw, 44px) 4px;
  border-top: 2px dashed var(--wool-line);
  transition: background-color 0.3s ease;
}
.service-row:last-child { border-bottom: 2px dashed var(--wool-line); }
.service-row:hover { background: rgba(237, 229, 211, 0.025); }
.service-row-major h3 { font-size: clamp(1.45rem, 2.8vw, 1.9rem); }
.service-ic {
  width: 52px; height: 52px;
  fill: none; stroke: var(--thread); stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
  margin-top: 4px;
}
.service-row p { margin-top: 10px; max-width: 65ch; color: var(--cloud-dim); }
.service-count {
  font-family: "Marcellus", Georgia, serif;
  color: var(--wool-line); font-size: 1.05rem; letter-spacing: 0.12em;
  padding-top: 6px;
  font-variant-numeric: tabular-nums;
}

/* ---------- The Work ---------- */

.work-grid {
  list-style: none;
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.work-grid li { position: relative; overflow: hidden; border-radius: 4px; }
.work-grid img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.work-grid li:hover img { transform: scale(1.045); }
.work-tag {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--ivory); color: var(--ink);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 2px;
  outline: 1px dashed var(--stitch-ink); outline-offset: -4px;
  box-shadow: 0 8px 20px rgba(3, 6, 12, 0.45);
  transform: rotate(-1.2deg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-grid li:hover .work-tag { transform: rotate(0deg) translateY(-3px); }
.work-more { margin-top: clamp(36px, 5vw, 56px); text-align: center; }

/* ---------- Reviews ---------- */

.section-reviews { background: var(--wool-900); position: relative; }
.section-reviews::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--wool-line) 0 12px, transparent 12px 24px);
}
.review-headline { text-align: center; }
.review-score {
  margin-top: 20px;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px;
  color: var(--cloud);
}
.review-score strong { color: var(--ivory); }
.stars-row { display: inline-flex; gap: 3px; }
.stars-row svg { width: 24px; height: 24px; fill: var(--star); }

.review-tags {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}
.review-tag {
  position: relative;
  background:
    repeating-linear-gradient(to bottom, rgba(29,37,54,0.045) 0 1px, transparent 1px 3px),
    var(--ivory);
  color: var(--ink-soft);
  padding: 34px 28px 26px;
  border-radius: 4px;
  box-shadow: 0 18px 44px rgba(3, 6, 12, 0.5);
}
.review-tag::before {
  content: "";
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--wool-900);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}
.review-tag:nth-child(1) { transform: rotate(-1.1deg); }
.review-tag:nth-child(2) { transform: rotate(0.7deg) translateY(14px); }
.review-tag:nth-child(3) { transform: rotate(-0.6deg); }
.review-tag blockquote { margin-top: 12px; font-size: 1.02rem; }
.review-tag blockquote::before { content: "\201C"; font-family: "Marcellus", Georgia, serif; display: block; font-size: 2.6rem; line-height: 1; color: var(--thread); margin-bottom: 6px; }
.review-tag figcaption {
  margin-top: 18px; padding-top: 14px;
  border-top: 2px dashed rgba(29,37,54,0.2);
  font-size: 0.9rem; letter-spacing: 0.06em;
}
.review-tag figcaption strong { color: var(--ink); }
.review-more { margin-top: clamp(40px, 5vw, 60px); text-align: center; }

/* ---------- Visit ---------- */

.grid-visit {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 56px); align-items: stretch;
}
.visit-label { padding: clamp(32px, 4vw, 52px); }
.visit-label address { font-style: normal; margin-top: 28px; }
.visit-line {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 2px dashed rgba(29,37,54,0.16);
}
.visit-line:last-of-type { border-bottom: 0; }
.visit-line .ic { color: var(--thread); margin-top: 3px; }
.visit-line a { color: var(--ink); font-weight: 500; }
.visit-actions { margin-top: 22px; }
.visit-map {
  position: relative; min-height: 420px;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 22px 55px rgba(3, 6, 12, 0.6);
  outline: 2px dashed var(--wool-line); outline-offset: -10px;
  background: var(--wool-900);
}
.visit-map::before {
  content: "Map of Somerset Square";
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-1.4deg);
  background: var(--ivory); color: var(--ink);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 2px;
  outline: 1px dashed var(--stitch-ink); outline-offset: -5px;
  white-space: nowrap;
}
.visit-map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(0.2) contrast(1.02);
}

/* ---------- Footer ---------- */

.site-foot {
  border-top: 2px dashed var(--wool-line);
  padding: 44px 0 110px;
}
.foot-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.foot-label {
  font-family: "Marcellus", Georgia, serif;
  color: var(--ivory); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.95rem;
}
.foot-legal { color: var(--cloud-dim); font-size: 0.92rem; }

/* ---------- Mobile action bar ---------- */

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: rgba(12, 18, 32, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--wool-line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-bar-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 10px; border-radius: 3px;
  font-weight: 600; font-size: 1rem; letter-spacing: 0.03em;
  text-decoration: none;
}
.mobile-bar-call { background: var(--thread); color: var(--wool-950); }
.mobile-bar-wa { background: transparent; color: var(--ivory); border: 1px solid rgba(237, 229, 211, 0.4); }

/* ---------- Reveal motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .review-tag { transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
  .js .review-tags:not(.settled) .review-tag:nth-child(1) { transform: rotate(-4.2deg) translateY(24px); }
  .js .review-tags:not(.settled) .review-tag:nth-child(2) { transform: rotate(2.8deg) translateY(38px); }
  .js .review-tags:not(.settled) .review-tag:nth-child(3) { transform: rotate(-2.6deg) translateY(28px); }
  .js .review-tags.settled .review-tag:nth-child(2) { transition-delay: 0.09s; }
  .js .review-tags.settled .review-tag:nth-child(3) { transition-delay: 0.18s; }
  .js .stitch-path {
    stroke-dasharray: 7 6;
    animation: none;
  }
  .js .hero-label .stitch-path {
    stroke-dashoffset: 260;
    animation: stitch-in 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards;
  }
  @keyframes stitch-in { to { stroke-dashoffset: 0; } }
  .js .hero-label > *:not(.stitch-frame) { opacity: 0; transform: translateY(16px); animation: hero-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .js .hero-brand { animation-delay: 0.25s !important; }
  .js .hero-origin { animation-delay: 0.35s !important; }
  .js .hero h1 { animation-delay: 0.45s !important; }
  .js .hero-sub { animation-delay: 0.55s !important; }
  .js .hero-actions { animation-delay: 0.65s !important; }
  .js .hero-proof { animation-delay: 0.78s !important; }
  @keyframes hero-up { to { opacity: 1; transform: none; } }
}

/* ---------- Responsive ---------- */

@media (min-width: 1240px) {
  .site-head, main, .site-foot { margin-left: var(--tape-w); }
}

@media (max-width: 960px) {
  .grid-man { grid-template-columns: 1fr; }
  .man-photo { max-width: 560px; }
  .tape-line { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .tape-line::before { background-size: 50% 100%; }
  .review-tags { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
  .review-tag:nth-child(2) { transform: rotate(0.7deg); }
  .grid-visit { grid-template-columns: 1fr; }
  .visit-map { min-height: 340px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: var(--head-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: rgba(12, 18, 32, 0.98);
    border-bottom: 1px solid var(--wool-line);
    padding: 12px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; font-size: 1.05rem; width: 100%; }
  .nav-links .btn { margin-top: 10px; }
  .site-head { background: rgba(12, 18, 32, 0.92); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-bar { display: grid; }
  .site-foot { padding-bottom: 130px; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero { padding-top: calc(var(--head-h) + 24px); padding-bottom: 56px; }
  .hero-photo {
    background-image:
      linear-gradient(180deg, rgba(12, 18, 32, 0.82) 0%, rgba(12, 18, 32, 0.92) 100%),
      url("images/hero-suit.jpg");
    background-position: right 35% center;
  }
  .hero-label { padding: 30px 22px; }
  .hero-actions .btn { width: 100%; }
  .service-row { grid-template-columns: 44px minmax(0, 1fr); }
  .service-ic { width: 38px; height: 38px; }
  .service-count { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1rem; letter-spacing: 0.06em; }
}
