/* Street tools are injected by v4.js; only shown on narrow viewports. */
.street-tools{display:none}

/* Novastra mobile optimization pass (Nov 12, 2026).
   Loaded AFTER the original inline <style> so these rules win.
   Visual changes are gated to max-width: 1023px so desktop 1024+
   does not regress. A few menu-only fixes also apply up to 1180,
   which is where the hamburger already replaces the desktop nav. */

/* ========================================================================
   Mobile menu (hamburger is shown at max-width 1180)
   ======================================================================== */

/* The header .nav-tel is cream-on-ink, for the dark nav bar.
   Inside the menu it sat cream-on-paper and nearly vanished. */
.mmenu .nav-tel{
  color: var(--k, #0E0E12) !important;
  background: var(--pw, #FFFDF8);
  border: 2.5px solid var(--k, #0E0E12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px !important;
  font-size: 16px !important;
  font-weight: 700;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.mmenu .nav-tel .nav-tel-l{
  opacity: 1;
  font-size: 13px;
  color: inherit;
}
.night .mmenu .nav-tel{
  color: #F2EEE6 !important;
  background: #0f1220;
  border-color: #bdb7ab;
}

/* Stickman in the menu was painting over the Tips sign ("No. 06")
   and its "THIS WAY" placard. Keep the figure, but never over the signs. */
.mm-figwrap{
  z-index: 0;
  width: 96px;
  right: 0;
  opacity: .9;
  pointer-events: none;
}
.mm-signs, .mm-s{ position: relative; z-index: 2; }
.mm-s{
  min-height: 48px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.mm-s i{ flex: 0 0 auto; padding-right: 4px; }
.mm-close{
  min-height: 44px;
  min-width: 44px;
  padding: 10px 14px;
}
.mm-theme{
  min-height: 48px;
}
.mm-theme .lampsw,
.mmenu .lampsw{
  width: 80px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
}
.mm-theme .lampsw svg,
.mmenu .lampsw svg{
  width: 80px !important;
  height: 40px !important;
}
.mm-cta{
  min-height: 48px;
  width: 100%;
  justify-content: center;
}
.mmenu{
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
html.menu-open, html.menu-open body{
  overflow: hidden !important;
}
html.menu-open .mmenu{
  touch-action: pan-y;
  overscroll-behavior: contain;
}

@media (max-width: 430px){
  /* On the narrowest phones the figure collides with the shorter signs.
     Drop it rather than cover the labels. */
  .mm-figwrap{ display: none; }
  .mm-s{ width: 100% !important; max-width: 100%; }
  .mm-s span{ font-size: clamp(24px, 8vw, 34px) !important; }
}

/* ========================================================================
   First screen, type, sections, street, tour, plans: phones and tablets
   ======================================================================== */
@media (max-width: 1023px){

  /* ---- First screen: a phone visitor should see what Novastra does,
     the CTA, and the call-or-text line without hunting. Shrink the
     stacked Anton headline so "ROUGH WEBSITES." stays on one line,
     and pull the 128px top padding down to the real header. ---- */
  .hero{ padding-top: 88px !important; }
  .hero-copy{ padding: 0 16px !important; }
  .kick{
    gap: 8px !important;
    margin-bottom: 10px !important;
    flex-wrap: wrap !important;
  }
  .hero h1{ margin: 0 0 12px !important; }
  .hero h1 .ln{ display: block; }
  .hero h1 .anton{
    font-size: clamp(30px, 10vw, 52px) !important;
    line-height: .92 !important;
    letter-spacing: -.02em !important;
  }
  .hero h1 .ln:last-child .anton{
    white-space: nowrap;
    /* Longer line; size so it fits at 320 without overflowing. */
    font-size: clamp(28px, 9.4vw, 50px) !important;
  }
  .hero-row{
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    margin-top: 12px !important;
    max-width: 100% !important;
  }
  .sub{
    font-size: 16px !important;
    line-height: 1.5 !important;
    max-width: 100%;
  }
  .hero-now{ margin: 0 !important; max-width: 100% !important; }
  .hero-now .hero-direct{
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 600;
  }
  .hero-now .hero-direct a{
    white-space: nowrap;
    display: inline;
    /* Enlarge the tap area without breaking the sentence. */
    padding: 4px 0;
  }
  .ctas{ width: 100%; }
  .hero .ctas .btn,
  .hero .btn.big{
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    font-size: 16px !important;
    padding: 14px 18px !important;
  }

  /* Content must not wait on GSAP reveals. */
  html.nv-mobile .rv,
  html.nv-mobile.anim .rv,
  html.nv-mobile .hero .rv{
    opacity: 1 !important;
    transform: none !important;
  }

  /* ---- Sticky header: compact, 44px controls, wordmark stays whole ---- */
  .nav{ top: 6px !important; }
  .nav-bar > .nav-tel{
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center;
    padding: 10px 8px !important;
    font-size: 13px !important;
  }
  .nav-bar > .navcta.btn,
  .nav-bar > .navcta{
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .nav-bar > .plate,
  .plate{
    min-height: 44px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }
  .menubtn{
    min-width: 44px !important;
    min-height: 44px !important;
  }

  /* The scroll-progress walker (.prog), dashed road and ANYWAY flag
     live inside the fixed header. On a phone they drew straight
     through section headlines. Hide them. Headings then only need
     to clear the actual nav bar. */
  html.nv-mobile .prog,
  .prog,
  .prog .road,
  .prog .pf-wrap,
  .prog .flag{
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
  .nav{
    /* Only the bar itself stays in the flow of the fixed header. */
    height: auto !important;
  }

  /* Anchor landings and natural section starts clear the sticky bar. */
  #top,#tour,#services,#permits,#plans,#honest,#fix,#ebook,#ebook-offer,#translate,#hall,#tips,#check,#anyway,
  #main section, #main [id],
  .tour-sec, .tour-title, .permit, .shead, .sec{
    /* Nav bar bottom is about 60px; a little breathing room, not a
       60px gap that leaves the ticker sitting under the heading. */
    scroll-margin-top: 76px;
  }
  .apply input, .apply select, .apply textarea{
    scroll-margin-top: 96px;
  }

  /* FAQ illustration is sticky on desktop; keep it in normal flow here. */
  .hall-art{
    position: relative !important;
    top: auto !important;
    sticky: unset;
  }

  /* ---- Street: native swipe, visible affordance, prev/next ---- */
  .city-wrap{
    height: auto !important;
    margin-top: 16px !important;
    position: relative;
  }
  .city-scroll{
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* pan-x alone traps vertical page scroll when the finger starts on the street. */
    touch-action: pan-x pan-y;
  }
  .city-scroll::-webkit-scrollbar{ display: none; }
  .city{
    /* Keep the wide street; it is meant to be swiped, not squeezed. */
    width: 1100px !important;
    height: 340px !important;
    max-width: none !important;
  }
  .swipe{
    display: none !important; /* replaced by the tools bar, which includes the cue */
  }
  /* Sit on the road at the bottom of the street, in the first-screen
     peek, without covering shop names. */
  .street-tools{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    top: auto;
    margin: 0;
    z-index: 4;
    pointer-events: auto;
  }
  .street-cue{
    background: var(--k);
    color: var(--pw, #FFFDF8);
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-family: "JetBrains Mono", monospace;
    line-height: 1;
  }
  .street-nav{
    display: flex;
    gap: 6px;
    pointer-events: auto;
  }
  .street-nav button{
    pointer-events: auto;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border: 2.5px solid var(--k);
    border-radius: 8px;
    background: var(--pw, #FFFDF8);
    color: var(--k);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
  }
  .street-nav button:disabled{ opacity: .35; cursor: not-allowed; }
  .street-nav button:focus-visible{ outline: 3px solid #EC5E3A; outline-offset: 2px; }
  .night .street-nav button{
    background: #1a1d2b;
    color: #F2EEE6;
    border-color: #ECE6DA;
  }
  .night .street-cue{ background: #ECE6DA; color: #0E0E12; }

  /* ---- Tour: native horizontal walk. No pin, no 4688px SVG,
     no scroll-jacking. One shop per snap, next card peeks. ---- */
  html.nv-mobile .tour-pin,
  .tour-pin{
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding-top: 16px !important;
    padding-bottom: 8px !important;
    display: flex !important;
    flex-direction: column !important;
  }
  html.nv-mobile .tour-track,
  html.nv-mobile .tour-svg,
  html.nv-mobile .tour-hud,
  html.nv-mobile .tphone,
  .tour-track, .tour-svg, .tour-hud, .tphone{
    display: none !important;
  }
  .tour-title{ padding: 8px 16px 10px !important; }
  .tour-title .anton{ font-size: clamp(36px, 11vw, 56px) !important; }
  .tour-title .serif{ font-size: clamp(20px, 6vw, 28px) !important; }

  .walk-cue, .hiw-cue{
    margin: 0 16px 10px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #3a3833;
  }
  .night .walk-cue, .night .hiw-cue{ color: #d5cfc3; }
  .hiw-cue{ margin: 4px 2px 8px; }

  .tour-cards,
  html.nv-mobile .tour-cards{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    padding: 4px 16px 12px !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
  }
  .tour-cards::-webkit-scrollbar{ display: none; }

  .tour-card{
    flex: 0 0 84% !important;
    width: 84% !important;
    max-width: 340px !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 0 0 18px !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }
  .tour-card h3,
  .tour-card .ex,
  .tour-card .confession,
  .tour-card .fixline{
    padding-left: 16px;
    padding-right: 16px;
  }
  .tour-card h3{ margin: 14px 0 4px !important; padding-left: 16px; padding-right: 16px; }
  .tour-card .confession,
  .tour-card .fixline{ font-size: 16px !important; line-height: 1.45; }

  .tour-art{
    display: block;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #e8e2d6;
    border-bottom: 2.5px solid var(--k, #0E0E12);
    pointer-events: none;
  }
  .night .tour-art{ background: #141628; border-bottom-color: #ECE6DA; }
  .tour-art svg{
    display: block;
    width: 100%;
    height: 100%;
  }

  .walk-ui, .hiw-ui{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 16px 24px;
  }
  .hiw-ui{ padding: 4px 2px 8px; }
  .walk-count, .hiw-count{
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    margin: 0;
    color: var(--k, #0E0E12);
    white-space: nowrap;
    min-width: 4.5em;
    text-align: center;
  }
  .night .walk-count, .night .hiw-count{ color: #ECE6DA; }
  .walk-dots, .hiw-dots{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1;
  }
  .walk-dots button, .hiw-dots button{
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
  }
  .walk-dots button::after, .hiw-dots button::after{
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--k, #0E0E12);
    opacity: .28;
  }
  .walk-dots button[aria-current="true"]::after,
  .walk-dots button.is-on::after,
  .hiw-dots button[aria-current="true"]::after,
  .hiw-dots button.is-on::after{
    opacity: 1;
    background: #EC5E3A;
    width: 12px;
    height: 12px;
  }
  .night .walk-dots button::after, .night .hiw-dots button::after{ background: #ECE6DA; }
  .night .walk-dots button[aria-current="true"]::after,
  .night .walk-dots button.is-on::after,
  .night .hiw-dots button[aria-current="true"]::after,
  .night .hiw-dots button.is-on::after{ background: #EC5E3A; }
  .walk-ui .walk-prev,
  .walk-ui .walk-next,
  .hiw-ui .hiw-prev,
  .hiw-ui .hiw-next{
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border: 2.5px solid var(--k, #0E0E12);
    border-radius: 8px;
    background: var(--pw, #FFFDF8);
    color: var(--k, #0E0E12);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
    flex: 0 0 44px;
  }
  .walk-ui .walk-prev:disabled,
  .walk-ui .walk-next:disabled,
  .hiw-ui .hiw-prev:disabled,
  .hiw-ui .hiw-next:disabled{ opacity: .35; cursor: not-allowed; }
  .walk-ui .walk-prev:focus-visible,
  .walk-ui .walk-next:focus-visible,
  .walk-dots button:focus-visible,
  .hiw-ui .hiw-prev:focus-visible,
  .hiw-ui .hiw-next:focus-visible,
  .hiw-dots button:focus-visible{
    outline: 3px solid #EC5E3A;
    outline-offset: 2px;
  }
  .night .walk-ui .walk-prev,
  .night .walk-ui .walk-next,
  .night .hiw-ui .hiw-prev,
  .night .hiw-ui .hiw-next{
    background: #1a1d2b;
    color: #F2EEE6;
    border-color: #ECE6DA;
  }

  /* ---- How it works: no pin, every step visible, compact site art ---- */
  html.nv-mobile .permit-pin,
  .permit-pin{
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    padding: 72px 16px 28px !important;
    gap: 14px !important;
    overflow: visible !important;
  }
  html.nv-mobile.anim .pst,
  html.nv-mobile .pst,
  html.anim.nv-mobile .pst,
  .pst{
    display: grid !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    margin-bottom: 10px;
  }
  .pst p{ font-size: 16px !important; line-height: 1.45 !important; }
  .pst h3{ font-size: 22px !important; }
  .pst{ grid-template-columns: 44px 1fr !important; padding: 14px 16px !important; }

  /* Decorative construction frames: one at a time, native snap, not a pin. */
  html.nv-mobile .site,
  .site{
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
    gap: 12px;
    height: auto !important;
    max-height: none !important;
    padding: 4px 2px 12px;
    grid-template-columns: none !important;
    scrollbar-width: none;
  }
  html.nv-mobile .site::-webkit-scrollbar,
  .site::-webkit-scrollbar{ display: none; }
  html.nv-mobile .site-s,
  .site-s,
  html.static .site-s,
  html.anim .site-s{
    position: relative !important;
    flex: 0 0 88% !important;
    width: 88% !important;
    max-width: 88% !important;
    height: auto !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    border: 3px solid var(--k);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,253,248,.6);
    align-items: flex-start !important;
  }
  .night .site-s{ background: rgba(18,21,44,.6); }
  .site-svg{ width: 100% !important; height: auto !important; max-height: 260px; }

  /* ---- Sections, type, spacing ---- */
  .sec{ padding: 48px 16px !important; }
  .shead{ gap: 12px !important; margin-bottom: 22px !important; }
  .shead h2 .anton{ font-size: clamp(36px, 11vw, 58px) !important; }
  .shead h2 .serif{ font-size: clamp(20px, 6vw, 30px) !important; }
  .permit .shead h2 .anton{ font-size: clamp(36px, 11vw, 52px) !important; }
  .permit .shead h2 .serif{ font-size: clamp(20px, 6vw, 26px) !important; }

  /* Body copy is at least 16px. Labels and kickers may stay smaller. */
  p, li, .pd, .pl-inc, .pl-lead, .pl-note, .t-not, .t-main, .t-early, .t-own, .t-hand,
  .ap-next, .owns-note, .qa p, .tip-card p, .flyer ol, .flyer p, .nt .own,
  .reach a, .fixline, .confession{
    font-size: 16px !important;
    line-height: 1.5;
  }
  .pl-note, .t-not, .fld .hint{ font-size: 16px !important; line-height: 1.45; }

  /* ---- Plans: stack, never a secret horizontal swipe ---- */
  .plans{
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 24px !important;
    align-items: stretch !important;
  }
  .plan{
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: unset !important;
    /* 901-1023px: drop the desktop subgrid so the plaque grows with its text */
    display: flex !important;
    flex-direction: column !important;
    grid-row: auto !important;
  }
  .plaque{ flex: 0 0 auto !important; min-height: 0 !important; }
  .plans-cue, .plans-nav{ display: none !important; }
  .plaque .btn, .plan .btn{
    min-height: 48px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  /* ---- FAQ, tips, free fix, board, footer ---- */
  .qa summary{
    min-height: 48px;
    align-items: center;
    padding: 14px 8px 14px 0 !important;
    cursor: pointer;
  }
  .qa .q{ font-size: 18px !important; line-height: 1.25 !important; }
  .qa p{ padding: 0 12px 16px 16px !important; }
  .tips-grid{ grid-template-columns: 1fr !important; gap: 14px; }
  .tip-card{
    min-height: 44px;
    padding: 18px 16px;
  }
  .tip-card h3{ font-size: 22px !important; }
  .tip-card .tip-go{ font-size: 15px !important; min-height: 28px; }

  .flyer{ padding: 24px 18px 0 !important; }
  .flyer h3{ font-size: clamp(32px, 9vw, 48px) !important; }
  .flyer ol{ font-size: 16px !important; }
  .tabs{ margin: 0 -18px !important; }
  .tab{ height: 88px !important; }
  .flyer .tab b{ font-size: 10px; }

  .board{ padding: 60px 16px 22px !important; }
  .notes{ grid-template-columns: 1fr !important; }

  /* Footer links get a comfortable tap pad. */
  .signoff a, footer a, .so a, .reach a, .foot a, .legal a{
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 2px;
  }

  /* ---- Form ---- */
  .cks{
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .ck{
    min-height: 48px;
    align-items: center;
    padding: 12px 14px !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    overflow: visible;
  }
  .ck span{ white-space: normal; overflow: visible; }
  .ckb{ flex: 0 0 22px; width: 22px; height: 22px; }
  .apply input, .apply select, .apply textarea{
    font-size: 17px !important; /* iOS will not zoom if >=16 */
    min-height: 48px;
  }
  .apply textarea{ min-height: 120px; }
  .apply select{ min-height: 48px; }
  .ap-foot .btn, .apply button[type=submit]{
    min-height: 48px;
    width: 100%;
    justify-content: center;
  }
  .ap-head h3{ font-size: clamp(28px, 9vw, 40px) !important; }

  /* ---- Images / SVGs: scale, no page overflow ---- */
  .sec img, .sec > svg, .flyer svg, .hall-art, .hall-art svg,
  .pl-art svg, .board svg, .bf svg{
    max-width: 100%;
    height: auto;
  }
  /* overflow-x:clip on html AND body makes overflow-y compute to auto and
     can trap iOS Safari (and Instagram / Facebook in-app browsers) so the
     document does not scroll. Keep vertical scroll on the document. */
  html, body, html.nv-mobile, html.nv-mobile body{
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100%;
    max-height: none !important;
    position: relative !important;
    touch-action: manipulation;
    max-width: 100%;
  }
  /* If Lenis left classes or inline overflow behind, undo them. */
  html.nv-mobile.lenis,
  html.nv-mobile.lenis body,
  html.nv-mobile.lenis-smooth,
  html.nv-mobile.lenis-smooth body,
  html.nv-mobile.lenis-stopped,
  html.nv-mobile.lenis-stopped body{
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    max-height: none !important;
  }
  .hero, .hero-copy, .sec, .shead, .nav, .tour-sec, .permit, .plans, .apply{
    max-width: 100%;
    box-sizing: border-box;
  }

  /* ---- Lighter motion, less layout shift ---- */
  .grain{ opacity: .45; }
  /* Custom cursor is a desktop toy. */
  .cur, .cur-r{ display: none !important; }
  html.has-cur, html.has-cur a, html.has-cur button{ cursor: auto !important; }

  /* Ticker is a horizontal strip; keep it contained. */
  .ticker{ max-width: 100%; overflow: hidden; }

  /* Plan floors and scaffolding must not stay at the GSAP from() start. */
  html.nv-mobile .plan .fl,
  html.nv-mobile .plan .scaf,
  html.nv-mobile .fl,
  html.nv-mobile .scaf,
  html.nv-mobile .nt,
  html.nv-mobile .walls{
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    scale: none;
  }

  /* Remaining inline / footer / hero phone tap targets. */
  .hero-now .hero-direct a[href^="tel"]{
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 2px;
  }
  .signoff a, footer a, .so a, .reach a, .foot a, .legal a,
  .ig-link, a[href*="instagram"], a[href*="heynovastra"], a[href*="facebook.com/profile.php"]{
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 4px;
  }

}

@media (min-width: 600px) and (max-width: 1023px){
  /* Keep the walk as a one-shop carousel at tablet widths too. */
  .tour-card{ flex-basis: 62% !important; width: 62% !important; max-width: 400px !important; }
  .tips-grid{ grid-template-columns: 1fr 1fr !important; }
  .cks{ grid-template-columns: 1fr 1fr !important; }
  .hero h1 .anton{ font-size: clamp(42px, 8vw, 58px) !important; }
  .hero h1 .ln:last-child .anton{ font-size: clamp(40px, 7.6vw, 56px) !important; }
  .city{ height: 380px !important; }
}

/* Shorter phones: keep the CTA, the service line and a street peek in the first screen. */
@media (max-width: 1023px) and (max-height: 740px){
  .hero{ padding-top: 80px !important; }
  .kick{ margin-bottom: 6px !important; }
  .hero h1{ margin: 0 0 8px !important; }
  .hero-row{ gap: 10px !important; margin-top: 8px !important; }
  .city{ height: 260px !important; }
}
@media (max-width: 1023px) and (max-height: 600px){
  .city{ height: 200px !important; }
  .hero h1 .anton{ font-size: clamp(26px, 8vw, 40px) !important; }
  .hero h1 .ln:last-child .anton{ font-size: clamp(24px, 7.6vw, 38px) !important; }
}

/* 320-370: extra-tight headline so ROUGH WEBSITES. is one line. */
@media (max-width: 370px){
  .hero h1 .anton{ font-size: 32px !important; }
  .hero h1 .ln:last-child .anton{ font-size: 28px !important; letter-spacing: -.03em !important; }
  .hero{ padding-top: 84px !important; }
  .street-cue{ font-size: 10px; padding: 7px 8px; }
}

/* Skip link just under 44 in the audit (43px). */
.skip-link{ min-height: 44px; display: inline-flex; align-items: center; padding: 12px 16px; }


/* Night: after tightening the first screen, "GREAT SHOPS." (cream Anton)
   sat on a light bloom under the county sign and nearly disappeared.
   Give the headline the same soft sky wash the body copy already has.
   Desktop is unchanged (this file's visual rules are max-width 1023). */
@media (max-width: 1023px){
  .night .hero h1{
    background: rgba(18, 21, 44, .88);
    box-shadow: 0 0 26px 18px rgba(18, 21, 44, .88);
    border-radius: 2px;
    position: relative;
    z-index: 2;
    display: block;
    width: fit-content;
    max-width: 100%;
  }
}

/* Desktop 1024+: never show the mobile walk chrome or hide the progress walker. */
@media (min-width: 1024px){
  .tour-art, .walk-ui, .walk-cue, .hiw-ui, .hiw-cue{ display: none !important; }
}

@media (max-width: 1023px){
  .night .tour-title,
  .night .shead h2,
  .night .permit .shead h2{
    background: rgba(18, 21, 44, .88);
    box-shadow: 0 0 26px 18px rgba(18, 21, 44, .88);
    border-radius: 2px;
    position: relative;
    z-index: 2;
    width: fit-content;
    max-width: 100%;
  }
  .night .walk-count, .night .hiw-count{ color: #F2EEE6 !important; }
  .night .walk-cue, .night .hiw-cue{ color: #d5cfc3 !important; }
}


/* ========================================================================
   Fix-2 robustness (Nov 13, 2026): iPhone / in-app browsers.
   If GSAP still created pins or from() states, CSS wins. Desktop 1024+
   is unchanged: these rules stay inside max-width 1023 or html.nv-mobile.
   ======================================================================== */

/* Progress walker is a desktop-only scroll toy. Hide it on any phone,
   even if the nv-mobile class never gets set. */
@media (max-width: 1023px){
  .prog, .prog .road, .prog .pf-wrap, .prog .flag, .pf-wrap, #pf{
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }

  /* Leftover ScrollTrigger pin wrappers: collapse so they cannot hold a
     5-viewport-tall trap around the walk or how-it-works sections. */
  .pin-spacer,
  html.nv-mobile .pin-spacer{
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    inset: auto !important;
    overflow: visible !important;
  }
  .pin-spacer > *,
  html.nv-mobile .pin-spacer > *{
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    transform: none !important;
    inset: auto !important;
  }

  html.nv-mobile .tour-pin,
  html.nv-mobile .permit-pin,
  .tour-pin, .permit-pin{
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    transform: none !important;
    overflow: visible !important;
    inset: auto !important;
  }

  /* Any leftover GSAP inline from-state must not hide content. */
  html.nv-mobile .rv,
  html.nv-mobile.anim .rv,
  html.nv-mobile .hero .rv,
  html.nv-mobile .pst,
  html.nv-mobile .site-s,
  html.nv-mobile .fl,
  html.nv-mobile .scaf,
  html.nv-mobile .nt,
  html.nv-mobile .walls,
  html.nv-mobile .so-anyway .anton,
  html.nv-mobile #city .shop,
  html.nv-mobile .plan .fl,
  html.nv-mobile .plan .scaf,
  html.nv-mobile .lot .lbl-in,
  html.nv-mobile .hero h1 .anton{
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    translate: none;
    scale: none;
    rotate: none;
  }
}

/* Loader: never trap touches after the 1200ms budget, even if JS errors.
   Also applied in the homepage inline style; this covers other pages and
   a cached HTML that already linked this file. */
.loader{
  animation: nv-loader-dismiss 0s linear 1.2s forwards;
}
@keyframes nv-loader-dismiss{
  to{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
html.loader-done .loader,
html.static .loader,
html.cdn-fail .loader{
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}


/* ---- Name the shop, tight under the storefront (mobile) ---- */
@media (max-width: 1023px){
  .store-wrap{
    position: relative;
    margin-bottom: 8px;
  }
  .namer-dock{
    max-width: none;
    width: 100%;
    margin: 4px 0 0;
    padding: 0 2px;
    position: relative;
    z-index: 3;
  }
  #check .store-wrap{
    margin-top: 0;
    margin-bottom: 16px;
  }
  .namer-pointer{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 8px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--o, #EC5E3A);
  }
  .namer-dock .namer{
    margin-top: 0;
    padding: 16px 16px 14px;
  }
  .namer-dock .namer input,
  .namer input{
    font-size: 26px;
    min-height: 52px;
  }
  .namer-dock .namer .ph{
    font-size: 13px;
    line-height: 1.4;
  }
  .shop-sign.is-typing{
    animation: nvSignPulseMob .9s ease;
  }
  @keyframes nvSignPulseMob{
    0%,100%{filter:drop-shadow(0 0 0 rgba(236,94,58,0))}
    40%{filter:drop-shadow(0 0 10px rgba(236,94,58,.95))}
  }
  @media (prefers-reduced-motion: reduce){
    .shop-sign.is-typing{animation:none}
    .shop-sign.is-typing .shop-sign-frame{stroke:#EC5E3A;stroke-width:3.5}
  }
  .ctas{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
  }
  .ebook-hero-link{
    font-size: 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
