/* Бюро ремонта «Сосед сверху» — architectural-concrete world (DESIGN.md, world layer).
   Yellow (--drill) is reserved by law for things that drill. */

:root {
  --concrete: #cfccc5;
  --concrete-hi: #dedbd4;
  --concrete-lo: #b8b4ac;
  --ink: #16161a;
  --ink-2: #45443e;
  --ink-3: #4b4a44;
  --hair: rgba(22, 22, 26, .2);
  --hair-strong: rgba(22, 22, 26, .42);
  --slab: #27272b;
  --on-slab: #ebe8e1;
  --on-slab-2: #aeaba4;
  --on-slab-3: #9a978f;
  --drill: #ffd400;
  --rebar: #1b1b1e;

  --f-sans: "Onest", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;

  --pad-x: 20px;
  --rail-w: 34px;
  --hdr-h: 60px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-3) var(--concrete-lo);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--concrete) url("assets/concrete-light.jpg") repeat 0 0 / 600px;
  color: var(--ink);
  font: 400 16px/1.5 var(--f-sans);
  font-feature-settings: "ss01";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.locked { overflow: hidden; touch-action: none; }

::selection { background: var(--ink); color: var(--concrete-hi); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--concrete-lo); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 0; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea { font: inherit; caret-color: currentColor; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  height: var(--hdr-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--pad-x);
  transition: background-color .4s, box-shadow .4s;
}
.hdr.solid {
  background: var(--concrete) url("assets/concrete-light.jpg") repeat 0 0 / 600px;
  box-shadow: 0 1px 0 var(--hair), 0 10px 24px -20px rgba(22, 22, 26, .6);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-word {
  display: grid; font-weight: 800; font-size: 12px; line-height: 1.05;
  letter-spacing: .04em; text-transform: uppercase;
}
.logo-word small {
  font: 500 10px/1.2 var(--f-sans); letter-spacing: .02em; text-transform: none;
  color: var(--ink-2); margin-top: 3px;
}
.nav { display: none; }
.hdr-tools { display: flex; align-items: center; gap: 6px; }

.meter { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; margin-right: 6px; }
.meter i { width: 3px; height: 30%; background: var(--ink); display: block; transform-origin: bottom; }
.meter i.peak { background: var(--drill); box-shadow: 0 0 0 .5px rgba(22, 22, 26, .5); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; padding: 0;
  background: transparent; border: 1px solid var(--hair-strong);
  border-radius: 50%;
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(22, 22, 26, .06); border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .off { display: none; }
.icon-btn[aria-pressed="false"] .on { display: none; }
.icon-btn[aria-pressed="false"] .off { display: block; }

.menu {
  position: fixed; z-index: 29; top: var(--hdr-h); left: 0; right: 0;
  padding: 8px var(--pad-x) 24px;
  background: var(--concrete) url("assets/concrete-light.jpg") repeat 0 0 / 600px;
  box-shadow: 0 1px 0 var(--hair), 0 24px 40px -24px rgba(22, 22, 26, .55);
}
.menu a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--hair);
  font-size: 22px; font-weight: 700; letter-spacing: -.02em; text-decoration: none;
}
.menu a span { font: 500 12px var(--f-mono); color: var(--ink-3); }

/* ---------- floor rail ---------- */
.rail {
  position: fixed; z-index: 20;
  right: 10px; top: calc(var(--hdr-h) + 14px); bottom: 22px;
  width: 16px;
  pointer-events: none;
}
.rail-line {
  position: absolute; left: 7px; top: 20px; bottom: 20px; width: 1px;
  background:
    repeating-linear-gradient(to bottom, var(--ink-3) 0 1px, transparent 1px 10%) 0 0 / 7px 100% no-repeat,
    var(--hair-strong);
}
.rail-line::before {
  content: ""; position: absolute; left: -3px; top: 0; bottom: 0; width: 7px;
  background: repeating-linear-gradient(to bottom, var(--ink-3) 0 1px, transparent 1px calc(10% - .1px));
}
.rail-floor {
  position: absolute; left: 0; width: 16px; text-align: center;
  font: 700 10px/1 var(--f-mono); color: var(--ink);
}
.rail-top { top: 0; }
.rail-bot { bottom: 0; }
.rail-mark {
  position: absolute; left: 0; top: 20px; width: 16px; height: 16px;
  margin-top: -8px;
}
.rail-mark i {
  position: absolute; inset: 2px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #2a2926 0 34%, #8a867e 52%, #e2dfd8 72%, transparent 76%);
}
.rail-db {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font: 500 10px/1 var(--f-mono); font-style: normal; white-space: nowrap; color: var(--ink-2);
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
}

/* ---------- shared section ---------- */
.site { position: relative; z-index: 1; }
.sec {
  position: relative;
  padding: 104px calc(var(--rail-w) + 6px) 72px var(--pad-x);
}
.sec::before { /* panel seam with tie holes */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(to bottom, rgba(22, 22, 26, .22) 0 1px, rgba(255, 255, 255, .38) 1px 2px);
}
.sec::after {
  content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 14px;
  background: radial-gradient(circle at 50% 50%, #2b2a27 0 2.6px, #8f8b83 3.6px, #e0ddd6 5.2px, transparent 6px) 45px 0 / 90px 14px repeat-x;
  opacity: .9; pointer-events: none;
}
h2 {
  margin: 0;
  font-weight: 800; font-size: clamp(40px, 11.6vw, 92px); line-height: .98;
  letter-spacing: -.04em; text-wrap: balance;
}
.sec-head { display: grid; gap: 18px; margin-bottom: 44px; }
.sec-note { margin: 0; max-width: 36ch; color: var(--ink-2); font-size: 16px; text-wrap: pretty; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--hdr-h) + 28px) calc(var(--rail-w) + 6px) 26px var(--pad-x);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  overflow: clip;
}
.hero.collapsing { overflow: visible; }
.wall, .rebar { position: absolute; inset: 0; }
.rebar {
  z-index: 0;
  background:
    radial-gradient(130% 100% at 50% 42%, transparent 35%, rgba(24, 22, 20, .6) 100%),
    url("assets/rebar.jpg") 0 0 / 240px 240px;
}
.wall { z-index: 1; }
.tile {
  position: absolute;
  background: url("assets/concrete-light.jpg") 0 0 / 600px 600px;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .42), inset -1px -1px 0 rgba(22, 22, 26, .2);
}
.tie {
  position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: radial-gradient(circle, #2b2a27 0 3px, #77736b 4px, #9d998f 5.2px, #e3e0d9 6.3px, transparent 7px);
}
.hero-in { position: relative; z-index: 2; display: contents; }

.display {
  position: relative; z-index: 2;
  margin: 0;
  font-weight: 800;
  font-size: clamp(64px, 21.5vw, 176px);
  line-height: .86;
  letter-spacing: -.04em;
}
.display .l { display: block; white-space: nowrap; }
.display .ch { display: inline-block; will-change: transform; }

.hero-low { position: relative; z-index: 2; display: grid; gap: 22px; }
.hero-drill { display: none; }
.lead { margin: 0; max-width: 30ch; font-size: 16px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.lead b { color: var(--ink); font-weight: 600; }

.clock { display: grid; gap: 6px; }
.clock-label { font: 600 11px/1 var(--f-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.clock-val { font: 500 25px/1.05 var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.clock-val small { font-size: 13px; color: var(--ink-2); margin: 0 6px 0 2px; }
.dim {
  display: flex; align-items: center; gap: 8px;
  font: 600 11px/1 var(--f-sans); color: var(--ink-2); margin-top: 4px;
}
.dim .num { font: 500 10.5px/1 var(--f-mono); }
.dim::before, .dim::after { content: ""; width: 1px; height: 12px; background: var(--ink); flex: none; }
.dim i {
  flex: 1; height: 1px; background: var(--ink); position: relative; min-width: 12px;
}
.dim i.l::before, .dim i.r::after { /* arrowheads */
  content: ""; position: absolute; top: -3px; width: 7px; height: 7px; background: var(--ink);
}
.dim i.l::before { left: 0; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.dim i.r::after { right: 0; clip-path: polygon(100% 50%, 0 0, 0 100%); }

.cta { display: grid; gap: 4px; }
.btn-drill {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 62px; padding: 0 24px;
  background: var(--drill); color: var(--ink);
  border: 0; border-radius: 2px;
  font-weight: 700; font-size: 18px; letter-spacing: -.01em;
  box-shadow: inset 0 -3px 0 rgba(22, 22, 26, .16), 0 14px 28px -14px rgba(60, 50, 0, .6);
  transition: transform .15s var(--ease-out), box-shadow .2s;
}
.btn-drill:hover { box-shadow: inset 0 -3px 0 rgba(22, 22, 26, .2), 0 18px 32px -14px rgba(60, 50, 0, .7); }
.btn-drill:active { transform: translateY(1px) scale(.99); }
.btn-drill:disabled { cursor: progress; }
.btn-drill svg { width: 26px; height: 26px; flex: none; }
.btn-drill:hover .bit-flutes { animation: flute .35s linear infinite; }
@keyframes flute { to { transform: translateX(-6px); } }
.btn-quiet {
  justify-self: center;
  background: none; border: 0; padding: 12px 8px;
  font-size: 15px; color: var(--ink-2);
  text-decoration: underline; text-decoration-color: var(--hair-strong); text-underline-offset: .3em;
}
.btn-quiet:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* ---------- schedule ---------- */
.sched { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair-strong); }
.slot {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 8px;
  grid-template-areas: "time price" "what what";
  padding: 22px 0 24px; border-bottom: 1px solid var(--hair);
}
.slot time { grid-area: time; }
.slot .price { grid-area: price; }
.slot .what { grid-area: what; }
.slot time { font: 500 28px/1 var(--f-mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.slot .price { align-self: center; font: 600 11px/1 var(--f-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.slot h3 { margin: 0 0 6px; font-size: 21px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.slot p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.slot.cancelled time { position: relative; color: var(--ink-3); }
.slot.cancelled time::after { /* pencil strike */
  content: ""; position: absolute; left: -4px; right: -6px; top: 52%; height: 2px;
  background: var(--ink); transform: rotate(-4deg); border-radius: 2px; opacity: .85;
}
.slot.cancelled .price { color: var(--ink); }
.sched-foot { margin: 22px 0 0; font-size: 15px; color: var(--ink-2); max-width: 44ch; }

.week {
  display: grid; grid-template-columns: repeat(7, 1fr);
  margin-top: 48px; border: 1px solid var(--hair-strong); border-right: 0;
}
.week span {
  display: grid; gap: 6px; padding: 12px 6px 14px; border-right: 1px solid var(--hair-strong);
  font-weight: 700; font-size: 14px; text-align: center;
}
.week b { font: 500 10.5px/1 var(--f-mono); color: var(--ink-2); }
.week .sun { background: var(--ink); color: var(--concrete-hi); }
.week .sun b { color: var(--concrete-hi); }
.week-note {
  display: flex; justify-content: flex-end; align-items: flex-start; gap: 8px;
  margin-top: 10px; font: 500 12px/1.3 var(--f-sans); color: var(--ink-2); text-align: right;
}
.week-note::before { content: ""; width: 1px; height: 18px; background: var(--ink); margin-top: -10px; margin-right: calc(100% / 14 - 4px); order: 2; }

/* ---------- works ---------- */
.plates { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 14px; }
.plate { margin: 0; }
.plate .frame {
  position: relative; aspect-ratio: 1;
  background: url("assets/concrete-light.jpg") 0 0 / 600px;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .45), inset -1px -1px 0 rgba(22, 22, 26, .22), 0 12px 24px -18px rgba(22, 22, 26, .65);
}
.plate svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; gap: 8px; }
.plate figcaption b { font: 700 15px/1 var(--f-mono); }
.plate figcaption span { font: 500 12px/1 var(--f-sans); color: var(--ink-2); }
.works-status {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin: 40px 0 0; padding-top: 18px; border-top: 1px solid var(--hair-strong);
  font-size: 17px; font-weight: 600;
}
.works-status .mono { font-size: 13px; font-weight: 500; color: var(--ink-2); }

/* ---------- spec ---------- */
.spec-grid { display: grid; gap: 36px; }
.drawing { margin: 0; }
.drawing svg { width: 100%; height: auto; display: block; overflow: visible; }
.drawing figcaption { margin-top: 10px; font: 500 12.5px/1.45 var(--f-sans); color: var(--ink-2); }
.spec { margin: 0; border-top: 1px solid var(--hair-strong); }
.spec > div {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--hair);
}
.spec dt { color: var(--ink-2); font-size: 15px; }
.spec dd { margin: 0; font: 500 15px/1.3 var(--f-mono); text-align: right; font-variant-numeric: tabular-nums; }
.tally { margin: 48px 0 0; }
.tally svg { display: block; width: 100%; height: 58px; }
.tally p { margin: 10px 0 0; font: 500 12.5px/1.45 var(--f-sans); color: var(--ink-2); }

/* ---------- reviews ---------- */
.rev-grid { display: grid; gap: 40px; }
.cut { margin: 0; }
.cut svg { display: block; width: 100%; height: auto; }
.cut figcaption { margin-top: 8px; font: 500 12.5px/1.45 var(--f-sans); color: var(--ink-2); }
.reviews { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair-strong); }
.review { padding: 22px 0 24px; border-bottom: 1px solid var(--hair); display: grid; gap: 10px; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.apt {
  font: 500 11px/1 var(--f-mono); padding: 6px 8px 5px;
  border: 1px solid var(--ink); letter-spacing: .02em;
}
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 15px; height: 15px; }
.review blockquote { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; text-wrap: pretty; }
.review cite { font-style: normal; font-size: 14px; color: var(--ink-3); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--hair-strong); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 19px; font-weight: 700; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 18px; height: 18px; flex: none; }
.faq summary i::before, .faq summary i::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.75px; margin-top: -1px; background: var(--ink);
  transition: transform .35s var(--ease-out);
}
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details p { margin: -4px 0 22px; font-size: 18px; color: var(--ink-2); max-width: 44ch; }

/* ---------- dark slab: order silence ---------- */
.sec-dark {
  background: var(--slab) url("assets/concrete-dark.jpg") repeat 0 0 / 600px;
  color: var(--on-slab);
}
.sec-dark::before { background: linear-gradient(to bottom, rgba(0, 0, 0, .5) 0 1px, rgba(255, 255, 255, .08) 1px 2px); }
.sec-dark::after {
  background: radial-gradient(circle at 50% 50%, #0d0d0e 0 2.6px, #3b3b3f 3.6px, #56565b 5.2px, transparent 6px) 45px 0 / 90px 14px repeat-x;
}
.sec-dark ::selection { background: var(--on-slab); color: var(--slab); }
.sec-dark :focus-visible { outline-color: var(--on-slab); }
.sec-dark .sec-note { color: var(--on-slab-2); }
.form { display: grid; gap: 26px; max-width: 560px; }
.field { display: grid; gap: 8px; }
.field > span { font: 600 11px/1 var(--f-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--on-slab-2); }
.field input[type="text"], .field input:not([type]) , .field input[inputmode] {
  width: 100%; padding: 8px 0 12px; background: transparent; color: var(--on-slab);
  border: 0; border-bottom: 1px solid var(--on-slab-3); border-radius: 0; font-size: 20px; font-weight: 600;
}
.field input::placeholder { color: var(--on-slab-3); font-weight: 400; }
.field input:focus { outline: none; border-bottom-color: var(--on-slab); box-shadow: 0 1px 0 var(--on-slab); }
.field.invalid input { border-bottom-color: #ff8f70; box-shadow: 0 1px 0 #ff8f70; }
.field .err { font-size: 14px; color: #ffb39e; min-height: 0; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row output { font: 500 15px/1 var(--f-mono); min-width: 88px; text-align: right; }
input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; height: 28px; background: transparent; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 1px; background: var(--on-slab-3); }
input[type="range"]::-moz-range-track { height: 1px; background: var(--on-slab-3); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #0f0f10 0 30%, #4a4a4f 48%, var(--on-slab) 66%, var(--on-slab) 100%);
  border: 0;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; border: 0;
  background: radial-gradient(circle at 50% 45%, #0f0f10 0 30%, #4a4a4f 48%, var(--on-slab) 66%, var(--on-slab) 100%);
}
.btn-light {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 26px;
  background: var(--on-slab); color: var(--ink);
  border: 0; border-radius: 2px; text-decoration: none;
  font-weight: 700; font-size: 17px;
  box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .8);
  transition: transform .15s var(--ease-out), background-color .2s;
}
.btn-light:hover { background: #fffdf7; }
.btn-light:active { transform: translateY(1px); }
.form-msg { margin: 0; font: 500 16px/1.5 var(--f-sans); color: var(--on-slab); min-height: 1.5em; }

/* ---------- the real offer ---------- */
.sec-real { padding-bottom: 88px; }
.sec-real h2 { font-size: clamp(36px, 10vw, 84px); max-width: 15ch; }
.sec-real p { margin: 22px 0 32px; font-size: 18px; color: var(--ink-2); max-width: 40ch; }
.btn-ink {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  padding: 18px 24px; background: var(--ink); color: var(--concrete-hi); border: 0;
  text-decoration: none; border-radius: 2px; font-weight: 700; font-size: 18px;
  box-shadow: 0 16px 30px -18px rgba(22, 22, 26, .9);
  transition: transform .15s var(--ease-out);
}
.btn-ink span { font: 500 14px var(--f-mono); color: var(--on-slab-2); }
.btn-ink:hover { transform: translateY(-1px); }

.ftr {
  padding: 32px calc(var(--rail-w) + 6px) 34px var(--pad-x);
  border-top: 1px solid var(--hair-strong);
}
.stamp {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--ink); border: 1.5px solid var(--ink);
}
.st { display: grid; align-content: start; gap: 4px; padding: 8px 10px 10px; background: var(--concrete-hi); }
.st span { font: 500 11px/1.2 var(--f-sans); color: var(--ink-2); }
.st b { font: 600 14px/1.25 var(--f-sans); }
.st b.num { font: 500 14px/1.25 var(--f-mono); }
.st-title, .st-org { grid-column: 1 / -1; }
.st-title b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.ftr-note { margin: 14px 0 0; font: 500 13px/1.5 var(--f-sans); color: var(--ink-2); max-width: 60ch; }

/* ---------- repair fx ---------- */
.fx-cracks, .fx-dust { position: fixed; inset: 0; z-index: 40; pointer-events: none; width: 100vw; height: 100vh; }
.fx-cracks path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fx-hole {
  position: fixed; z-index: 41; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, #0c0c0d 0 30%, #3b3935 44%, #8d897f 58%, #d8d5ce 70%, transparent 74%);
  pointer-events: none; transform: scale(0);
}
.fx-hole .ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 3px solid var(--drill); opacity: 0;
}

.aftermath {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  display: flex; justify-content: center; align-items: flex-start;
}
.aftermath[hidden] { display: none; }
.hang { position: relative; margin-top: 18vh; width: min(88vw, 520px); pointer-events: auto; }
.hang::before, .hang::after { /* crane cables */
  content: ""; position: absolute; bottom: 100%; width: 2px; height: 100vh;
  background: linear-gradient(to right, #6f6b63, #c9c5bd 50%, #6f6b63);
}
.hang::before { left: 22%; }
.hang::after { right: 22%; }
.slab {
  position: relative;
  background: var(--concrete) url("assets/concrete-light.jpg") repeat 0 0 / 600px;
  color: var(--ink); padding: 34px 26px 26px;
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .85), inset 1px 1px 0 rgba(255, 255, 255, .5), inset -1px -1px 0 rgba(22, 22, 26, .25);
}
.slab::before { /* lifting eyes where the cables attach */
  content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 12px;
  background:
    radial-gradient(circle at calc(22% + 1px) 50%, #2b2a27 0 3px, #8f8b83 4px, #e0ddd6 5.5px, transparent 6.2px),
    radial-gradient(circle at calc(78% - 1px) 50%, #2b2a27 0 3px, #8f8b83 4px, #e0ddd6 5.5px, transparent 6.2px);
}
.slab h2 { font-size: clamp(36px, 10.5vw, 64px); }
.slab p { margin: 12px 0 24px; color: var(--ink-2); font-size: 16px; }
.slab p b { color: var(--ink); font-weight: 600; }
.slab .btn-ink { width: 100%; justify-content: center; }

.tap {
  position: fixed; z-index: 60; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: rgba(255, 255, 255, .5); box-shadow: 0 0 0 2px rgba(22, 22, 26, .55), 0 6px 18px rgba(0, 0, 0, .25);
  pointer-events: none; opacity: 0;
}

/* record mode: the recorder owns scroll and time */
html.rec { scrollbar-width: none; }
html.rec::-webkit-scrollbar { display: none; }
html.rec * { cursor: none !important; transition: none !important; }
/* Reel framing: Instagram crops Reels to 4:5 in the feed (95-545 css px of 640) and to 3:4 in the
   profile grid (80-560). Keep the headline and the drill button inside both. */
html.rec .hero { padding-top: calc(var(--hdr-h) + 42px); padding-bottom: 60px; }
html.rec .hero-low { gap: 16px; }
html.rec .lead { font-size: 15px; }
html.rec .rail { right: 16px; }

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  :root { --pad-x: 48px; --rail-w: 56px; --hdr-h: 76px; }
  .rail { right: 22px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-word { font-size: 14px; }
  .nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
  .nav a { text-decoration: none; color: var(--ink-2); }
  .nav a:hover { color: var(--ink); text-decoration: underline; }
  #menuBtn { display: none; }
  .hero {
    display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
    align-content: space-between;
    padding-top: calc(var(--hdr-h) + 40px); padding-bottom: 48px;
  }
  .display { grid-column: 1 / 11; grid-row: 1; align-self: start; }
  .hero-drill {
    display: block; position: relative; z-index: 2;
    grid-column: 6 / 13; grid-row: 1; align-self: center; justify-self: end;
    width: min(58vw, 860px); margin-top: 4vh;
  }
  .hero-drill svg { display: block; width: 100%; height: auto; overflow: visible; transform: rotate(-7deg); }
  .hero-low { grid-column: 1 / -1; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
  .lead { grid-column: 1 / 5; font-size: 18px; }
  .clock { grid-column: 5 / 9; }
  .cta { grid-column: 9 / 13; }
  .sec { padding-top: 168px; padding-bottom: 128px; }
  .sec-head { grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 64px; }
  .slot { grid-template-columns: 260px 1fr 140px; grid-template-areas: "time what price"; align-items: baseline; padding: 30px 0; }
  .slot time { font-size: 40px; }
  .slot h3 { font-size: 26px; }
  .slot .price { text-align: right; }
  .week span { font-size: 16px; padding: 18px 8px; }
  .plates { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .spec-grid { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
  .rev-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .cut { position: sticky; top: calc(var(--hdr-h) + 24px); }
  .review blockquote { font-size: 24px; }
  .form { grid-template-columns: 1fr 1fr; column-gap: 40px; max-width: 900px; }
  .form .field-range, .form .btn-light, .form .form-msg { grid-column: 1 / -1; }
  .form .btn-light { justify-self: start; }
  .slab { padding: 40px; }
  .clock-label, .dim, .slot .price, .field > span { font-size: 12.5px; }
  .dim .num, .week b, .st span { font-size: 12.5px; }
  .rail-db, .rail-floor { font-size: 12px; }
  .logo-word small { font-size: 11px; }
  .week-note { font-size: 13.5px; }
  .drawing figcaption, .cut figcaption, .tally p { font-size: 14px; }
  .plate figcaption span { font-size: 13px; }
  .stamp { grid-template-columns: 2.4fr repeat(3, 1fr) repeat(3, .6fr); }
  .st-title { grid-column: auto; }
  .ftr-note { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
