/* ============================================================
   Darzi Studio — landing page v4
   "The fitting room & the cutting table"
   Two worlds: the dark 3D fitting room (hero + scan) and a
   warm pattern-paper world (everything after) with chalk,
   seams, swing tags, pattern pieces and a job ticket.
   ============================================================ */

:root {
  /* fitting room (matches the app's atelier palette) */
  --bg: #0f1115;
  --bg-deep: #0b0d10;
  --gold: #ffc233;
  --gold-ink: #181203;

  /* cutting table */
  --paper: #f0e8d8;
  --paper-2: #f7f1e4;
  --ink: #23262e;
  --ink-soft: #565b66;
  --thread: #a67a10;             /* chalk-gold, dark enough for paper */
  --seam: rgba(35, 38, 46, 0.35);
  --seam-soft: rgba(35, 38, 46, 0.16);

  --font-display: 'Bodoni Moda', 'Didot', serif;
  --font-chalk: 'Caveat', cursive;
  --font-body: 'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.32, 0.72, 0.28, 1);
  --gutter: clamp(20px, 5vw, 84px);
}

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

html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--gold-ink); }

a { color: inherit; text-decoration: none; }

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

/* ---------- paper fibre grain ---------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 90;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- preloader (a measuring slip) ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--paper);
  display: grid;
  place-items: center;
}
.pre-inner { display: grid; justify-items: center; gap: 10px; }
.pre-mark {
  width: 52px; height: 52px;
  background: var(--ink);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.pre-mark svg { width: 30px; height: 30px; }
.pre-word {
  font-family: var(--font-chalk);
  font-size: 26px;
  font-weight: 600;
  color: var(--thread);
}
.pre-pct {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}
.pre-bar {
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--thread);
}

/* ---------- header ---------- */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 14px var(--gutter);
  transition: background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1.5px solid transparent;
}
.site-head.scrolled {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--seam-soft);
}
/* over the dark hero the header text flips light */
.site-head.on-dark:not(.scrolled) { color: #f4f5f7; }
.site-head.on-dark:not(.scrolled) .site-nav a { color: rgba(244, 245, 247, 0.72); }
.site-head.on-dark:not(.scrolled) .site-nav a:hover { color: var(--gold); }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-chip {
  width: 36px; height: 36px;
  background: var(--ink);
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
}
.brand-chip svg { width: 22px; height: 22px; }
.brand-text { display: grid; line-height: 1.2; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.015em;
}
.brand-text small {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.6;
}
.site-nav { display: flex; gap: 24px; }
.site-nav a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--thread); }

/* ---------- stitched buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14.5px;
  padding: 15px 30px;
  border-radius: 8px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, color 0.2s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px dashed currentColor;
  border-radius: 5px;
  opacity: 0.55;
  pointer-events: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(35, 38, 46, 0.18); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-ink { background: var(--ink); color: var(--paper-2); }
.btn-ghost { color: inherit; }
.btn-ghost::after { opacity: 0.8; }
.btn-small { padding: 10px 20px; font-size: 13px; }
.btn-big { padding: 19px 42px; font-size: 16.5px; }

/* ---------- 3D stage (the fitting room) ---------- */
.stage-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--bg-deep);
}
#stage { width: 100%; height: 100%; display: block; }
.stage-vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 30%, transparent 0%, transparent 42%, rgba(9, 10, 13, 0.78) 100%);
}

.poster[hidden] { display: none; }
.poster {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: end center;
  padding-bottom: 12vh;
  background: radial-gradient(120% 90% at 50% 24%, #1d222b 0%, #14171d 52%, #0b0d10 100%);
}
.poster-inner { display: grid; justify-items: center; gap: 12px; }
.poster svg { width: 40px; opacity: 0.8; }
.poster p { font-size: 13px; color: #98a0ac; }

main { position: relative; z-index: 1; pointer-events: none; }

/* ---------- shared type ---------- */
/* section kicker: a chalked grainline mark + the tailor's handwriting.
   The glyph is the same in all five places; only the hand varies (--tilt). */
.svg-defs { position: absolute; }
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.kicker-idx {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.kicker-mark {
  width: 36px;
  height: 20px;
  flex: none;
  overflow: visible;
  filter: url(#chalkStroke);
}
.kicker-note {
  font-family: var(--font-chalk);
  font-weight: 600;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.05;
  transform: rotate(var(--tilt, -1.5deg));
  transform-origin: left center;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 550; }
.it { font-style: italic; font-weight: 480; }

.chalk {
  font-family: var(--font-chalk);
  font-weight: 600;
  color: var(--thread);
}

.lede { font-size: clamp(16px, 1.5vw, 18px); max-width: 32em; }
.lede.center { margin-inline: auto; text-align: center; }

/* ---------- hero (dark fitting room) ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px var(--gutter) 10vh;
  position: relative;
  color: #f4f5f7;
}
.hero .kicker { color: rgba(244, 245, 247, 0.92); }
.hero .kicker-idx { color: var(--gold); }
.hero .kicker-note { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.hero-copy { max-width: 640px; position: relative; }
.hero-title {
  font-size: clamp(46px, 6.6vw, 100px);
  line-height: 1.0;
  letter-spacing: 0.005em;
  margin-bottom: 26px;
}
.hero .lede { color: rgba(244, 245, 247, 0.75); margin-bottom: 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note {
  position: absolute;
  right: var(--gutter);
  bottom: 14vh;
  font-family: var(--font-chalk);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  color: var(--gold);
  transform: rotate(-4deg);
  max-width: 220px;
  text-align: center;
  line-height: 1.25;
}
.hero-note svg {
  display: block;
  width: 74px;
  margin: 6px auto 0;
  overflow: visible;
}
.hero-note svg path { stroke: var(--gold); stroke-width: 2; fill: none; stroke-linecap: round; }
.hero-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 245, 247, 0.5);
}

/* ---------- scan chapters: swing tags on the dark ---------- */
.scan { color: #f4f5f7; }
.scan .section-head {
  padding: clamp(100px, 15vh, 160px) var(--gutter) clamp(40px, 6vh, 70px);
  max-width: 900px;
}
.scan .section-head .kicker { color: rgba(244, 245, 247, 0.88); }
.scan .section-head .kicker-idx { color: var(--gold); }
.scan .section-head .kicker-note { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.scan .section-head h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
  margin-bottom: 22px;
}
.scan .section-head .lede { color: rgba(244, 245, 247, 0.72); }

.scan-pin {
  height: 100svh;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
}
.scan-blocks {
  position: relative;
  width: min(430px, 44vw);
  min-height: 400px;
}
.scan-block {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
}
.scan-block.is-active { opacity: 1; visibility: visible; }

/* the swing tag itself */
.tag {
  position: relative;
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 12px;
  padding: 30px 30px 26px 30px;
  transform: rotate(-1.4deg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.tag::before {
  /* stitched border */
  content: "";
  position: absolute;
  inset: 9px;
  border: 1.5px dashed var(--seam);
  border-radius: 8px;
  pointer-events: none;
  opacity: 0.55;
}
.tag-hole {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #101216;
  box-shadow: inset 0 0 0 3px rgba(35, 38, 46, 0.5), 0 0 0 4px var(--paper-2);
}
.tag-no {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--paper-2);
  background: var(--ink);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.tag h3 {
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1;
  margin-bottom: 4px;
}
.tag .meaning {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.tag p.body { font-size: 15px; color: var(--ink-soft); max-width: 27em; }
.tag .chalk-note {
  font-family: var(--font-chalk);
  font-size: 22px;
  font-weight: 600;
  color: var(--thread);
  margin-top: 14px;
  transform: rotate(-1.5deg);
}

/* ---------- the paper world ---------- */
.paper-world {
  position: relative;
  z-index: 1;
  background: var(--paper);
}

/* measuring-tape ruler divider */
.ruler {
  overflow: hidden;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--gold);
}
.ruler svg { display: block; width: 100%; height: 64px; }
.ruler .tick { stroke: var(--gold-ink); stroke-width: 1.5; }
.ruler text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  fill: var(--gold-ink);
  letter-spacing: 0.04em;
}
.ruler .term {
  font-family: var(--font-chalk);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
}

/* generic paper section head */
.paper-head {
  padding: clamp(90px, 13vh, 140px) var(--gutter) clamp(38px, 6vh, 64px);
  max-width: 940px;
}
.paper-head .kicker { color: var(--thread); }
.paper-head .kicker-idx { color: var(--ink); opacity: 0.75; }
.paper-head h2 {
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.03;
  margin-bottom: 20px;
}
.paper-head .lede { color: var(--ink-soft); }

/* seam divider between paper sections */
.seam {
  height: 0;
  border-top: 2px dashed var(--seam);
  margin: 0 var(--gutter);
  position: relative;
}
.seam::after {
  content: "✂";
  position: absolute;
  left: 14px;
  top: -13px;
  font-size: 17px;
  color: var(--ink-soft);
  background: var(--paper);
  padding: 0 8px;
}

/* ---------- pattern pieces (outfits) ---------- */
.pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 0 var(--gutter) clamp(80px, 12vh, 130px);
}
.pattern-card {
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 24px 24px 26px;
  box-shadow: 6px 6px 0 rgba(35, 38, 46, 0.12);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pattern-card:hover { transform: translate(-2px, -4px) rotate(-0.4deg); box-shadow: 10px 12px 0 rgba(35, 38, 46, 0.12); }
.pattern-card svg { width: 100%; height: auto; display: block; margin-bottom: 6px; }
.pattern-outline { stroke: var(--ink); stroke-width: 1.8; fill: none; stroke-linejoin: round; }
.pattern-seam { stroke: var(--ink-soft); stroke-width: 1.1; fill: none; stroke-dasharray: 5 5; opacity: 0.6; }
.pattern-grain { stroke: var(--thread); stroke-width: 1.5; fill: none; }
.pattern-notch { fill: var(--ink); }
.pattern-label { font-family: var(--font-body); font-weight: 600; font-size: 9.5px; letter-spacing: 0.14em; fill: var(--ink-soft); }
.pattern-chalk { font-family: var(--font-chalk); font-size: 19px; font-weight: 600; fill: var(--thread); }

.pattern-card h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; margin-bottom: 4px; }
.pattern-card .points {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.pattern-card .points b { color: var(--thread); font-size: 14px; letter-spacing: 0; }
.pattern-card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--seam);
  border-radius: 6px;
  padding: 5px 12px;
}
.chip:hover { color: var(--thread); border-color: var(--thread); }

/* ---------- the job ticket (orders) ---------- */
.ticket-wrap {
  display: grid;
  grid-template-columns: minmax(300px, 5fr) 6fr;
  gap: clamp(28px, 4vw, 70px);
  align-items: center;
  padding: 0 var(--gutter) clamp(80px, 12vh, 130px);
}
.ticket-copy .feature { display: grid; gap: 20px; }
.ticket-copy .feature li {
  list-style: none;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
}
.ticket-copy .feature h3 { font-size: 21px; margin-bottom: 3px; }
.ticket-copy .feature p { font-size: 14px; color: var(--ink-soft); }
.stitch-box {
  width: 20px; height: 20px;
  margin-top: 4px;
  border: 1.5px solid var(--thread);
  border-radius: 4px;
  display: grid;
  place-items: center;
}
.stitch-box svg { width: 12px; height: 12px; stroke: var(--thread); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.ticket {
  position: relative;
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  padding: 28px 30px 26px 42px;
  transform: rotate(0.8deg);
  box-shadow: 8px 10px 0 rgba(35, 38, 46, 0.12);
  font-size: 13.5px;
}
.ticket::before {
  /* perforated edge */
  content: "";
  position: absolute;
  left: 14px;
  top: 10px;
  bottom: 10px;
  width: 0;
  border-left: 2px dashed var(--seam);
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.ticket-head .t-title { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.ticket-head .t-no { font-weight: 600; font-size: 12px; letter-spacing: 0.12em; color: var(--ink-soft); }
.ticket-rows { display: grid; gap: 10px; }
.t-row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.t-row .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); flex: none; }
.t-row .v { font-weight: 500; text-align: right; }
.t-row .v.chalk { font-size: 21px; }
.t-wave { margin: 6px 0 2px; }
.t-wave svg { width: 100%; max-width: 250px; display: block; }
.t-wave .wave-line { stroke: var(--thread); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ticket-foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 2px dashed var(--seam);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ticket-foot .done {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #1c7a4e;
  border: 2px solid #1c7a4e;
  border-radius: 6px;
  padding: 5px 12px;
  transform: rotate(-5deg);
  opacity: 0.85;
}
.ticket-foot .json { font-size: 11.5px; color: var(--ink-soft); letter-spacing: 0.06em; }

/* ---------- chalkboard stats ---------- */
.board {
  margin: 0 var(--gutter) clamp(90px, 13vh, 150px);
  background: #22262e;
  border-radius: 16px;
  border: 10px solid #3a2f1d;
  padding: clamp(28px, 4vw, 54px);
  color: #eef0f4;
}
.board-head {
  font-family: var(--font-chalk);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  color: #f4f5f7;
  margin-bottom: 26px;
}
.board-head em { color: var(--gold); font-style: normal; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { border-top: 1.5px dashed rgba(255, 255, 255, 0.25); padding-top: 18px; }
.stat dt {
  font-family: var(--font-chalk);
  font-size: clamp(54px, 6vw, 92px);
  line-height: 0.95;
  color: var(--gold);
  margin-bottom: 8px;
}
.stat dd { color: rgba(238, 240, 244, 0.72); font-size: 13.5px; max-width: 20em; }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  padding: clamp(100px, 16vh, 180px) var(--gutter) clamp(110px, 16vh, 190px);
}
.cta-title {
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.98;
  margin-bottom: 8px;
}
.cta-underline {
  width: min(300px, 50vw);
  height: 18px;
  margin: 4px auto 26px;
  display: block;
  overflow: visible;
}
.cta-underline path { stroke: var(--thread); stroke-width: 3; fill: none; stroke-linecap: round; }
.cta .lede { color: var(--ink-soft); margin-bottom: 40px; }
.cta-about { margin-top: 36px; margin-bottom: 0; }
.cta-about a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cta-note { margin-top: 18px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- footer: selvedge edge ---------- */
.site-foot {
  border-top: 1.5px solid var(--ink);
  background: var(--paper-2);
  padding: 0;
}
.selvedge {
  height: 10px;
  background: repeating-linear-gradient(90deg,
    var(--gold) 0 18px, var(--paper-2) 18px 26px,
    var(--ink) 26px 44px, var(--paper-2) 44px 52px);
  opacity: 0.85;
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding: 30px var(--gutter) 38px;
}
.foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-right: auto; }
.foot-brand .brand-chip { width: 30px; height: 30px; border-radius: 7px; }
.foot-brand .brand-chip svg { width: 18px; height: 18px; }
.foot-nav { display: flex; gap: 20px; }
.foot-nav a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.foot-nav a:hover, .foot-nav a[aria-current="page"] { color: var(--thread); }
.foot-legal { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- pointer pass-through ---------- */
.hero-copy, .hero-hint, .hero-note, .scan-block, .scan .section-head,
.paper-world { pointer-events: auto; }

/* ---------- reveal defaults ---------- */
[data-reveal] { opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .pattern-grid { grid-template-columns: 1fr; max-width: 560px; }
  .ticket-wrap { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  .hero { padding-bottom: 13vh; }
  .hero-note { display: none; }
  .scan-pin { align-items: flex-end; padding-bottom: 34px; }
  .scan-blocks { width: 100%; min-height: 340px; }
  .board { border-width: 7px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
  .scan-block { position: relative; opacity: 1 !important; visibility: visible !important; margin-bottom: 24px; }
  .scan-blocks { min-height: 0; }
  .scan-pin { height: auto; padding-block: 40px; }
}
