/* Mobile pass. Loaded after the r24z styles.
   Measured on the imported baseline before these rules: logo width collapsed to 20px at 320 and 0 at 240,
   header button 184×41 and menu button 36×46, consent boxes 18×18, menu links about 40px tall,
   empty #reg-status held 25px plus paragraph margins, .reg-priv was 14px at 5.7:1 on white.
   Hero reveal and Turnstile sizing are unchanged. */

.site-h { padding-top: env(safe-area-inset-top, 0px); }
.site-f { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }

.lsel-h summary,
.lsel-f summary {
  min-width: 44px;
  min-height: 44px;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .site-h .nav > a { flex: 0 0 auto; }
  .site-h .logo { width: auto; height: 38px; }
  .navtog {
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    box-sizing: border-box;
  }
  .site-h nav { min-width: 0; }
  .site-h nav .btn.sm {
    min-height: 44px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .mnav {
    max-height: calc(100vh - 4.5rem);
    max-height: calc(100dvh - 4.5rem - env(safe-area-inset-top, 0px));
    overscroll-behavior: contain;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mnav .mh,
  .mnav li a,
  .mnav .lsel-m a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .mnav .btn {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .site-h .nav { flex-wrap: wrap; row-gap: 8px; }
  .site-h .logo { height: 32px; }
  .navtog { margin-left: auto; }
  .site-h nav { order: 3; flex: 1 0 100%; margin-left: 0; }
  .site-h nav .btn.sm {
    display: flex;
    width: 100%;
    white-space: normal;
    line-height: 1.25;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 15px;
    padding: 12px 16px;
  }
}

.mnav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 15;
  margin: 0;
  border: 0;
  padding: 0;
  background: rgba(20, 18, 16, 0.28);
  cursor: pointer;
}
.mnav-backdrop[hidden] { display: none !important; }

.vgrid {
  min-height: 100vh;
  min-height: 100dvh;
}

form.reg label,
form.reg .lbl { font-size: 16px; line-height: 1.35; }
form.reg .opt { font-size: 15px; }
form.reg input:not([type="checkbox"]):not([type="hidden"]),
form.reg select { min-height: 44px; }
form.reg .chk { align-items: flex-start; gap: 12px; padding: 4px 0; }
form.reg .chk input {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  accent-color: var(--ink);
}
form.reg .reg-priv {
  font-size: 16px;
  line-height: 1.5;
  color: #3a352f;
}
.site-f .legal { font-size: 15px; line-height: 1.5; }

form.reg .reg-status { margin: 0; min-height: 0; }
form.reg .reg-status:empty { display: none; }
form.reg .reg-send { margin-top: 0; }
form.reg .reg-status:not(:empty) { min-height: 1.4em; }

.reg-ok:focus-visible {
  outline: 3px solid var(--coral-t);
  outline-offset: 3px;
}
