/* Novastra site-v4 improvements. Loaded after the original inline styles.
   Preserves Stickman City colors, type, and illustration world. */

/* ---- Skip link and main landmark ---- */
.skip-link{
  position:absolute;left:12px;top:12px;z-index:10000;
  background:#EC5E3A;color:#0E0E12;font-weight:700;font-size:15px;
  padding:10px 16px;border-radius:8px;border:2.5px solid #0E0E12;
  transform:translateY(-160%);
}
.skip-link:focus,.skip-link:focus-visible{
  transform:none;outline:3px solid #FFFDF8;outline-offset:3px;
}
main#main{display:block}
#top,#tour,#services,#permits,#plans,#honest,#fix,#ebook,#ebook-offer,#translate,#hall,#tips,#check,#anyway{
  scroll-margin-top:96px;
}
@media (max-width:900px){
  #top,#tour,#services,#permits,#plans,#honest,#fix,#ebook,#ebook-offer,#translate,#hall,#tips,#check,#anyway{
    scroll-margin-top:86px;
  }
}

/* ---- Call or text in the header, compact so it does not crowd the CTA ---- */
.nav-tel{
  position:relative;z-index:1;
  color:#FFFDF8;font-weight:600;font-size:13px;letter-spacing:.01em;
  padding:6px 10px;border-radius:7px;white-space:nowrap;flex:0 0 auto;
}
.nav-tel:hover,.nav-tel:focus-visible{color:#EC5E3A}
.nav-tel:focus-visible{outline:3px solid #EC5E3A;outline-offset:3px}
.nav-tel-l{margin-right:.35em;opacity:.82;font-size:11px;font-family:"JetBrains Mono",monospace;letter-spacing:.06em;text-transform:uppercase}
@media (max-width:1179px){
  .nav-tel .nav-num{display:none}
  .nav-tel{padding:6px 8px}
}
@media (max-width:700px){
  /* Number stays available in the menu and the contact block.
     The header keeps a short Call or text label so the CTA is not buried. */
}

/* ---- Always-visible first-screen service line (not waiting on animation) ---- */
.hero-now{
  display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;
  margin:10px 0 0;
}
.hero-now .hero-direct{
  font-size:15px;font-weight:600;color:#3a3833;
}
.hero-now .hero-direct a{color:#0E0E12;text-decoration:underline;text-underline-offset:3px}
.hero-now .hero-direct a:hover,.hero-now .hero-direct a:focus-visible{color:#EC5E3A}
.night .hero-now .hero-direct{color:#d5cfc3}
.night .hero-now .hero-direct a{color:#ffe2ae}

/* Make hero service copy readable even if a reveal class is left behind. */
.hero .hero-copy .sub,
.hero .hero-copy .ctas,
.hero .hero-now{
  /* animation is an enhancement; content is the baseline */
}
html.anim .hero .hero-now{opacity:1;transform:none}

/* ---- Tour: readable text, not only SVG bubbles ---- */
.tour-cards{
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
  margin:8px 0 0;padding:0 4px 10px;
}
.tour-card{
  background:var(--pw,#FFFDF8);border:2.5px solid var(--k,#0E0E12);
  border-radius:12px;padding:16px 16px 18px;box-shadow:5px 6px 0 rgba(14,14,18,.12);
}
.tour-card h3{font-family:Anton,Impact,sans-serif;font-size:26px;letter-spacing:.03em;text-transform:uppercase;margin:0 0 4px;line-height:1}
.tour-card .ex{font-family:"JetBrains Mono",monospace;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#EC5E3A;font-weight:700}
.tour-card .confession{margin:10px 0 8px;font-size:15px;color:#3a3833}
.tour-card .fixline{margin:0;font-size:15px;font-weight:600}
.tour-card .fixline b{color:#EC5E3A;font-weight:700;font-family:"JetBrains Mono",monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;margin-right:.4em}
.night .tour-card{background:#1a1d2b;border-color:#ECE6DA;box-shadow:5px 6px 0 #0a0a10;color:#d5cfc3}
.night .tour-card .confession{color:#d5cfc3}
@media (max-width:900px){
  .tour-cards{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  .tour-cards{grid-template-columns:1fr;margin-top:14px}
}

/* ---- Plans: stack on small screens so no plan is hidden behind a swipe ---- */
.plans-help{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:0 0 12px;
}
.plans-cue{font-family:"JetBrains Mono",monospace;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#3a3833}
.night .plans-cue{color:#d5cfc3}
.plans-nav{display:none;gap:8px}
.plans-nav button{
  background:var(--pw);border:2.5px solid var(--k);border-radius:8px;
  font-weight:700;padding:8px 12px;cursor:pointer;color:var(--k);
}
.plans-nav button:focus-visible{outline:3px solid #EC5E3A;outline-offset:2px}
.plans-nav button:disabled{opacity:.4;cursor:not-allowed}
@media (max-width:900px){
  .plans{
    display:flex;flex-direction:column;overflow:visible;scroll-snap-type:none;
    margin:0;padding:0;gap:22px;scrollbar-width:auto;align-items:stretch;
  }
  .plans::-webkit-scrollbar{display:auto;height:8px}
  .plan{flex:none;width:100%;scroll-snap-align:unset}
  /* Let data-mvb frame the building. A 280px cap clipped the ground, the Growth watcher, and the Partner sign crew. */
  .plan .pl-art{max-height:none;overflow:hidden}
  .plans-nav{display:none} /* stacked: all three are visible, no paging needed */
  .plans-cue{display:none}
}
@media (min-width:901px) and (max-width:1100px){
  /* Mid widths: keep a row, but show a scrollbar and a cue so nothing is a secret. */
  .plans{scrollbar-width:thin;padding-bottom:18px}
  .plans::-webkit-scrollbar{display:block;height:8px}
  .plans::-webkit-scrollbar-thumb{background:#0E0E12;border-radius:4px}
}

/* Terms and ownership, near pricing */
.terms .t-early,.terms .t-own,.terms .t-hand{
  margin:10px 0 0;font-size:15px;max-width:58em;
}
.terms .owns-note{margin:8px 0 0;font-size:15px;max-width:58em}
.terms .owns-note b{font-family:"Inter Tight",sans-serif}

/* ---- Form: Interested in, current website, states ---- */
.fld .opt{font-style:normal;font-weight:500;color:#6f6b61;font-size:12px;letter-spacing:0;margin-left:.35em}
/* Current website (type=url) and Interested in (select) must match
   the original .apply text/email/tel field style. The original rule
   listed only those three types, so url and select fell back to the
   browser default (thin border, small font). */
.apply input[type=url],
.apply input[type=text],
.apply input[type=email],
.apply input[type=tel],
.apply select,
.apply textarea{
  font:500 17px 'Inter Tight',sans-serif;
  color:var(--k);
  background:#fff;
  border:2.5px solid var(--k);
  border-radius:8px;
  padding:12px 14px;
  width:100%;
  outline:none;
  transition:box-shadow .2s,border-color .2s;
  box-sizing:border-box;
  -webkit-appearance:none;
  appearance:none;
}
.apply select{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'><path d='M2 2l6 6 6-6' fill='none' stroke='%230E0E12' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:16px 10px;
  padding-right:40px;
  cursor:pointer;
}
.apply input[type=url]::placeholder,
.apply input::placeholder,
.apply textarea::placeholder{color:#77736a}
.apply input[type=url]:focus,
.apply input:focus,
.apply select:focus,
.apply textarea:focus{
  border-color:var(--o);
  box-shadow:0 0 0 4px rgba(236,94,58,.28);
}
.night .apply input[type=url],
.night .apply input[type=text],
.night .apply input[type=email],
.night .apply input[type=tel],
.night .apply select,
.night .apply textarea{
  background:#0f1220;
  color:#F2EEE6;
  border-color:#bdb7ab;
}
.night .apply select{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'><path d='M2 2l6 6 6-6' fill='none' stroke='%23F2EEE6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:16px 10px;
  background-color:#0f1220;
}
.night .apply input[type=url]::placeholder,
.night .apply input::placeholder,
.night .apply textarea::placeholder{color:#9a958c}
.night .apply input[type=url]:focus,
.night .apply input:focus,
.night .apply select:focus,
.night .apply textarea:focus{border-color:#EC5E3A}

.fld .hint{font-size:13px;color:#3a3833;margin:6px 0 0}
.night .fld .hint{color:#d5cfc3}
.apply .err{
  color:#8a1f14;font-size:14px;font-weight:600;margin:6px 0 0;
}
.night .apply .err{color:#ffb4a8}
.apply input[aria-invalid="true"],
.apply textarea[aria-invalid="true"],
.apply select[aria-invalid="true"]{
  border-color:#8a1f14;box-shadow:0 0 0 4px rgba(138,31,20,.18);
}
.form-status{
  margin:0 0 14px;padding:12px 14px;border-radius:8px;border:2px solid transparent;
  font-weight:600;font-size:15px;
}
.form-status[hidden]{display:none}
.form-status.is-pending{background:#fff6e8;border-color:#c9892c;color:#0E0E12}
.form-status.is-error{background:#fdecea;border-color:#8a1f14;color:#8a1f14}
.form-status.is-success{background:#e8f6ee;border-color:#1b6b3a;color:#1b6b3a}
.night .form-status.is-pending{background:#3a2e14;border-color:#ffcf7a;color:#ffe9c4}
.night .form-status.is-error{background:#3a1614;border-color:#ffb4a8;color:#ffb4a8}
.night .form-status.is-success{background:#143a22;border-color:#8fd5a8;color:#cfeada}
.apply.is-pending button[type=submit]{opacity:.65;cursor:wait}
.ap-next{margin:0 0 16px;font-size:15px;color:#3a3833}
.night .ap-next{color:#d5cfc3}
/* Horizontal inset is applied in the visual QA block so it matches
   .ap-grid / field padding at every width. */
.apply .ap-stamp{/* existing */}

/* ---- Instagram tips: lightweight link cards, no embeds ---- */
.tips-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;
}
.tip-card{
  display:flex;flex-direction:column;gap:8px;
  background:var(--pw);border:2.5px solid var(--k);border-radius:12px;
  padding:18px 18px 16px;box-shadow:5px 6px 0 rgba(14,14,18,.12);
  color:inherit;text-decoration:none;
}
.tip-card:hover,.tip-card:focus-visible{transform:translate(-2px,-2px);box-shadow:7px 8px 0 rgba(14,14,18,.16)}
.tip-card:focus-visible{outline:3px solid #EC5E3A;outline-offset:3px}
.tip-card .tip-kicker{font-family:"JetBrains Mono",monospace;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#EC5E3A;font-weight:700}
.tip-card h3{font-family:Anton,Impact,sans-serif;font-size:24px;letter-spacing:.03em;text-transform:uppercase;margin:0;line-height:1.05}
.tip-card p{margin:0;font-size:15px;color:#3a3833;flex:1}
.tip-card .tip-go{font-weight:700;font-size:13px;margin-top:4px}
.night .tip-card{background:#1a1d2b;border-color:#ECE6DA;color:#d5cfc3;box-shadow:5px 6px 0 #0a0a10}
.night .tip-card p{color:#d5cfc3}
@media (max-width:900px){
  .tips-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  .tips-grid{grid-template-columns:1fr}
}

/* ---- Honest board: process and hours, not a second empty-review note ---- */
/* (content change is in HTML; keep pin styling) */

/* ---- Shop focus visible, do not rely on outline:none alone ---- */
.shop:focus,.shop:focus-visible{
  outline:3px solid #EC5E3A;outline-offset:6px;
}
/* The original rule sets outline:none on .shop. Restore a visible indicator. */
svg .shop:focus,svg .shop:focus-visible{
  outline:3px solid #EC5E3A;
}

/* ---- Custom cursor fail-safe: if the drawn cursor is missing, show the real one ---- */
html.has-cur.cur-fail,
html.has-cur.cur-fail a,
html.has-cur.cur-fail button,
html.has-cur.cur-fail summary,
html.has-cur.cur-fail [data-hover]{cursor:auto}
html.has-cur.cur-fail .cur,html.has-cur.cur-fail .cur-r{display:none!important}

/* ---- Reduced motion: no forced scrolling, no leftover hidden process steps ---- */
@media (prefers-reduced-motion:reduce){
  html.anim .rv,html.static .rv,.rv{opacity:1!important;transform:none!important}
  html.anim .pst, .pst{display:grid!important}
  .loader{display:none!important}
  .grain,.starfield i{animation:none!important}
  .tip-card:hover,.tip-card:focus-visible{transform:none}
  .flyer .tab, .tab{transition:none}
  .flyer .tab:hover, .tab:hover{transform:none}
}

/* ---- No-JS / CDN failure already add .static; make sure content is on ---- */
html.static .rv,html.cdn-fail .rv{opacity:1!important;transform:none!important}
html.cdn-fail .loader,html.static .loader{display:none!important}
html.cdn-fail.anim .pst,html.static .pst{display:grid}

/* ---- Ebook offer (only present in the DOM when the feature flag is on) ---- */
.ebook-offer{
  background:var(--pw);border:3px solid var(--k);border-radius:14px;
  padding:28px 26px;box-shadow:7px 8px 0 rgba(14,14,18,.14);
  margin:10px 0 40px;
}
.ebook-offer h2{font-family:Anton,Impact,sans-serif;text-transform:uppercase;letter-spacing:.03em;font-size:36px;line-height:.95;margin:0 0 8px}
.ebook-offer .sub{font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-size:22px;margin:0 0 12px}
.ebook-provisional{font-family:"JetBrains Mono",monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#EC5E3A;font-weight:700}

/* ---- Privacy: no draft banner in the public file; keep layout ---- */
.pv .legal-note{font-size:14px;color:#3a3833;margin:0 0 28px}
.night .pv .legal-note{color:#d5cfc3}

/* ---- Footer / contrast helpers for night mode small text ---- */
.night .ap-note,.night .ap-next,.night .plans-cue,.night .t-not,.night .t-early{
  color:#d5cfc3;
}

/* ---- Form long text / 200% zoom: fields can wrap and stay usable ---- */
.apply input,.apply select,.apply textarea{max-width:100%;min-width:0}
.ap-grid{min-width:0}
@media (max-width:430px){
  .ap-grid{grid-template-columns:1fr}
  .nav-bar{gap:8px}
}

/* ---- Inert background while the mobile menu is open (JS sets inert; this is backup) ---- */
html.menu-open #main,html.menu-open .nav-bar nav,html.menu-open .hero,html.menu-open .prog{
  /* inert attribute does the real work; this just avoids accidental clicks if unsupported */
}

/* Small orange-on-paper labels sit at about 3.3:1, which is short of AA for
   normal-size text. Use a darker orange for small type; keep the signature
   orange for large type and buttons. Night mode keeps the bright orange,
   which meets AA on the dark panels. */
.tour-card .ex,
.tour-card .fixline b,
.tip-card .tip-kicker,
.ebook-provisional,
.hero .pop {
  color: #9a3412;
}
.night .tour-card .ex,
.night .tour-card .fixline b,
.night .tip-card .tip-kicker,
.night .ebook-provisional,
.night .hero .pop {
  color: #ffb199;
}
/* Signs and the progress flag sit on their own orange or ink panels, not
   on paper, so the dark-orange paper fix above must not reach them (dark
   orange on orange measured 2.2:1). Ink on orange is about 5.5:1, and the
   signature orange on an ink sign is about 5.5:1, in both themes. */
html .flag,
.esign.o .es-in,
.esign.o .es-in b,
.night .flag,
.night .esign.o .es-in,
.night .esign.o .es-in b {
  color: var(--k);
}
.esign:not(.o) .es-in b,
.night .esign:not(.o) .es-in b {
  color: var(--o);
}

@media (max-width: 360px){
  .nav-bar{gap:4px;padding:5px}
  .nav-tel{padding:6px 4px;font-size:11px}
  .navcta{padding:10px 10px;font-size:13px}
  .plate{padding:8px 10px 8px 10px;margin-left:2px}
}

/* ========================================================================
   Visual QA pass (Nov 12, 2026 review): sun/text overlap, header overflow,
   field style, loader, kick wrap.
   ======================================================================== */

/* 1. Desktop hero: keep the service line in the left text column so it
   never sits over the orange sun (city SVG, cx=1330 cy=150 r=52) at any
   desktop width from 1024 to 1920, day or night. The sun and moon stay
   where the illustration put them. */
@media (min-width: 901px){
  .hero-row{
    flex-wrap:wrap;
    align-items:flex-start;
    max-width:min(640px, 56ch);
    gap:22px 28px;
  }
  .hero-now{
    flex:1 1 100%;
    max-width:56ch;
    margin-top:2px;
  }
  .hero-now .hero-direct{
    max-width:56ch;
  }
}

/* First-screen copy must be readable without waiting on the intro.
   GSAP sets inline opacity on .hero .rv; !important keeps the service
   and the action visible while the ornamental loader finishes. */
html.anim .hero h1,
html.anim .hero h1 .anton,
html.anim .hero .sub,
html.anim .hero .ctas,
html.anim .hero .hero-now,
html.anim .hero .kick{
  opacity:1 !important;
  transform:none !important;
}

/* 2. Mobile header 320-430: the night toggle (circular knob, rays with
   overflow:visible) sat in the bar alongside the new Call or text link
   and the hamburger, then got clipped by html/body overflow-x:clip.
   When the hamburger is showing (max 1180), the toggle already lives
   inside the mobile menu, so hide the header lamp. Fit the bar; do not
   clip controls. */
@media (max-width: 1180px){
  .nav-bar > .lampsw{display:none !important}
  .nav-bar{gap:10px}
}
@media (max-width: 430px){
  .nav{width:calc(100% - 12px);max-width:100%;left:50%;right:auto}
  .nav-bar{
    gap:6px;
    padding:5px;
    min-width:0;
  }
  .nav-bar > *{min-width:0;flex-shrink:1}
  .plate{flex:0 1 auto;min-width:0;padding:6px 8px}
  .plate .anton{font-size:16px}
  .plate .mono{letter-spacing:.1em}
  .nav-tel{padding:6px 6px;font-size:11px;flex:0 0 auto}
  .navcta{flex:0 0 auto}
  .menubtn{margin-left:2px;flex:0 0 44px}
  /* POP. YOU + enamel sign: wrap instead of spilling off the right edge */
  .kick{
    flex-wrap:wrap;
    white-space:normal;
    max-width:100%;
    gap:8px;
  }
  .kick .pop,.kick .esign{flex:0 1 auto;max-width:100%}
}

/* No page-level horizontal scroll. Contained strips (city-scroll, tour)
   may still swipe. */
html,body{max-width:100%}
.hero,.hero-copy,.sec,.shead,.nav{max-width:100%;box-sizing:border-box}
.hero-copy{overflow:visible}

/* Loader: never sit over the page past the max timeout; noscript and
   static already hide it. */
html.loader-done .loader{display:none !important}

/* ---- Visual QA pass 2: full wordmark, wrap POP. YOU, keep phone together ---- */

/* Never shrink or clip the Novastra wordmark. At the narrowest widths,
   shorten the Call label (the " or text" span hides) so the full name,
   the preview CTA and the menu button still fit. */
@media (max-width: 1180px){
  .nav-bar > .lampsw{display:none !important}
}
@media (max-width: 430px){
  .nav{width:calc(100% - 12px);max-width:calc(100% - 12px)}
  .nav-bar{
    gap:6px;
    padding:5px 7px 5px 5px;
    min-width:0;
    justify-content:flex-start;
    overflow:visible;
  }
  .nav-bar > .plate,
  .plate{
    flex:0 0 auto !important;
    min-width:auto !important;
    max-width:none;
    overflow:visible;
    padding:5px 8px;
  }
  .plate .anton,
  .plate .mono{
    white-space:nowrap;
    overflow:visible;
    text-overflow:clip;
  }
  .plate .anton{font-size:16px;line-height:1}
  .plate .mono{font-size:8px;letter-spacing:.12em}
  .nav-tel{flex:0 0 auto;padding:6px 6px;min-width:auto}
  .navcta{flex:0 0 auto;min-width:auto}
  .menubtn{flex:0 0 44px;margin-left:auto}

  /* County sign + POP. YOU: wrap onto two lines, never clip */
  .hero .kick,
  .kick{
    display:flex;
    flex-wrap:wrap !important;
    white-space:normal !important;
    max-width:100%;
    gap:8px;
    overflow:visible;
  }
  .kick .esign{max-width:100%;flex:0 1 auto}
  .kick .esign .es-in{
    font-size:10.5px;
    padding:6px 12px;
    letter-spacing:.05em;
    white-space:normal;
    line-height:1.2;
  }
  .kick .pop{flex:0 0 auto;font-size:10px}

  /* Keep "ROUGH WEBSITES." on one line */
  .hero h1 .anton{font-size:clamp(42px, 13.2vw, 72px)}
}

/* Shorten "Call or text" to "Call" early enough that the 44px menu
   button stays fully inside the bar at 390 as well as 320. */
@media (max-width: 370px){
  .nav-bar > .nav-tel .ntl{display:none}
  .nav-bar{padding-right:7px}
  .menubtn{margin-right:2px;margin-left:auto}
}

@media (max-width: 360px){
  .nav-bar{gap:4px;padding:4px 7px 4px 4px}
  .nav-tel{padding:6px 4px}
  .navcta{padding:9px 9px !important;font-size:12px !important}
  .plate{padding:5px 7px}
  .plate .anton{font-size:15px}
  .kick .esign .es-in{font-size:9.5px;padding:6px 8px;letter-spacing:.04em}
}

@media (max-width: 330px){
  .nav{width:calc(100% - 8px)}
  .nav-bar{gap:3px;padding:4px 6px 4px 4px}
  .navcta{padding:8px 8px !important;font-size:11.5px !important}
  .plate{padding:4px 6px}
  .plate .anton{font-size:14px}
  .plate .mono{font-size:7px}
}

/* Phone number in the hero service line stays on one line */
.hero-now .hero-direct a{white-space:nowrap}

/* Earlier 430 rule set min-width:0 on every nav child and shrank the plate.
   These overrides must win. */
@media (max-width: 430px){
  .nav-bar > *{min-width:0}
  .nav-bar > .plate,
  .nav-bar > .nav-tel,
  .nav-bar > .navcta,
  .nav-bar > .menubtn{
    min-width:auto;
    flex-shrink:0;
  }
}

/* Inline <style> comes AFTER this file, so nav gap/padding need !important
   to actually tighten the 320-430 bar. */
@media (max-width: 430px){
  header .nav-bar, .nav .nav-bar, .nav-bar{
    gap:6px !important;
    padding:5px 8px 5px 5px !important;
    overflow:visible !important;
  }
  .nav-bar > .menubtn, .menubtn{
    margin-right:0 !important;
    margin-left:auto !important;
    flex:0 0 44px !important;
  }
}
@media (max-width: 370px){
  .nav-bar > .nav-tel .ntl{display:none !important}
}
@media (max-width: 360px){
  header .nav-bar, .nav .nav-bar, .nav-bar{
    gap:4px !important;
    padding:4px 7px 4px 4px !important;
  }
}
@media (max-width: 330px){
  header .nav-bar, .nav .nav-bar, .nav-bar{
    gap:3px !important;
    padding:4px 6px 4px 4px !important;
  }
  .nav{width:calc(100% - 8px) !important}
  .nav-bar > .navcta, .navcta{
    padding:8px 8px !important;
    font-size:11.5px !important;
  }
}

/* Night sky stars show through the transparent reading column and
   land in the body copy, especially on mobile where the text is full
   width. A soft sky-colored wash behind the paragraphs hides those
   false punctuation marks without a hard box. */
.night .hero .sub,
.night .hero-now{
  background: rgba(18, 21, 44, .88);
  box-shadow: 0 0 26px 18px rgba(18, 21, 44, .88);
  border-radius: 2px;
}

/* Form intro under FREE HOMEPAGE PREVIEW: same inner padding as the
   fields. Desktop fields use 28px (.ap-grid padding: 20px 28px 0);
   at max-width 900px they use 18px. Apply the same to the intro and
   the status banner so none of them sit flush against the card edge. */
.apply > .ap-next,
.apply > .form-status{
  margin-left:28px;
  margin-right:28px;
  padding-left:0;
  padding-right:0;
}
.apply > .ap-next{
  margin-top:16px;
  margin-bottom:16px;
}
.apply > .form-status{
  margin-top:0;
  margin-bottom:14px;
  /* keep the existing inner padding of the banner itself */
  padding:12px 14px;
}
@media (max-width:900px){
  .apply > .ap-next,
  .apply > .form-status{
    margin-left:18px;
    margin-right:18px;
  }
}


/* Loader may never block input past 1200ms, even if JavaScript errors.
   Matches the existing head failsafe. Desktop intro is already cut at 1200ms. */
.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: docked under the storefront sign ---- */
.store-wrap{position:relative}
.namer-dock{max-width:640px;margin:8px auto 0;padding:0 16px;position:relative;z-index:3}
.namer-pointer{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 8px;font-family:'JetBrains Mono',monospace;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--o)}
.namer-arrow{display:inline-flex;flex-direction:column;align-items:center;width:18px;height:26px}
.namer-arrow::before{content:"";display:block;width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:12px solid var(--o)}
.namer-arrow::after{content:"";display:block;width:4px;height:14px;background:var(--o);margin-top:-1px;border-radius:1px}
.namer-dock .namer{margin-top:0}
.shop-sign.is-typing{animation:nvSignPulse .9s ease}
.shop-sign.is-typing .shop-sign-frame{stroke:#EC5E3A;stroke-width:3.5}
.shop-sign.has-name .shop-sign-frame{stroke:#EC5E3A}
@keyframes nvSignPulse{
  0%,100%{filter:drop-shadow(0 0 0 rgba(236,94,58,0))}
  40%{filter:drop-shadow(0 0 12px rgba(236,94,58,.95))}
}
@media (prefers-reduced-motion:reduce){
  .shop-sign.is-typing{animation:none}
  .shop-sign.is-typing .shop-sign-frame,
  .shop-sign.is-typing .shop-sign-board{stroke:#EC5E3A;outline:none}
  .namer-arrow{opacity:1}
}
.ctas{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px}
.ebook-hero-link{font-family:'JetBrains Mono',monospace;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--k);text-decoration:none;border-bottom:2px solid var(--o);padding-bottom:2px}
.ebook-hero-link:hover,.ebook-hero-link:focus-visible{color:var(--o)}
.night .ebook-hero-link{color:var(--p)}

.namer-pointer-down{margin:8px 0 0;flex-direction:column;gap:4px}
.namer-arrow-down::before{order:2;border-bottom:0;border-top:12px solid var(--o);border-left:8px solid transparent;border-right:8px solid transparent}
.namer-arrow-down::after{order:1;margin-top:0;margin-bottom:-1px}
.store-wrap{margin-top:0}
/* Pull the storefront up so the sign sits just under the pointer. */
#check .store-wrap{margin-top:-4px}
#check .store{display:block}

/* Social profile links: visible keyboard focus on day and night. */
.so-foot a:focus-visible,
.foot-nav a:focus-visible,
.so-handle a:focus-visible,
.reach a:focus-visible{
  outline:3px solid #EC5E3A;
  outline-offset:3px;
}

/* Keep Instagram, X, Facebook and Privacy on one centered footer row. */
.so-foot .foot-end{
  flex-basis:100%;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:10px 28px;
  padding:4px 0 0;
}
.so-foot .foot-social{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:10px 28px;
}


/* Free Fix flyer tabs: center the rotated phone number in every stub.
   Two short lines stay a single centered block after the -90deg turn,
   so the number does not sit in the corner or grow a stray caret. */
.flyer .tabs{
  display:flex;
  align-items:stretch;
}
.flyer .tab{
  flex:1 1 0;
  width:0;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:6px 0;
  box-sizing:border-box;
  position:relative;
}
.flyer .tab b{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:0.12em;
  writing-mode:horizontal-tb;
  transform:rotate(-90deg);
  transform-origin:center center;
  font-family:'JetBrains Mono',ui-monospace,monospace;
  font-size:10px;
  font-weight:700;
  line-height:1.1;
  letter-spacing:.01em;
  text-align:center;
  white-space:nowrap;
  caret-color:transparent;
  margin:0;
  padding:0;
  border:0;
}
.flyer .tab b::before,
.flyer .tab b::after{
  content:none !important;
  display:none !important;
  border:0 !important;
  width:0 !important;
  height:0 !important;
}
.flyer .tab .tab-line{
  display:block;
  text-align:center;
  line-height:1.1;
}
/* Keep the empty stub visible so its dashed sides still divide the
   row. Hide only the number, and give the slot a darker well plus a
   jagged top, so it reads as a tab someone already tore off. */
.flyer .tab.tab-taken,
.flyer .tab:nth-child(3){
  opacity:1;
  pointer-events:none;
  background-color:#d8d2c4;
  box-shadow:inset 0 10px 12px rgba(14,14,18,.14);
  border-right:2px dashed var(--k);
}
.flyer .tab.tab-taken:hover,
.flyer .tab:nth-child(3):hover{
  transform:none;
}
.flyer .tab.tab-taken b,
.flyer .tab:nth-child(3) b{
  opacity:0;
  visibility:hidden;
}
.flyer .tab.tab-taken::before,
.flyer .tab:nth-child(3)::before{
  content:"";
  position:absolute;
  left:-1px;
  right:-1px;
  top:-3px;
  height:16px;
  z-index:1;
  pointer-events:none;
  background:var(--pw, #FFFDF8);
  clip-path:polygon(0 0,100% 0,100% 3px,88% 14px,76% 4px,63% 15px,49% 3px,36% 14px,23% 5px,11% 13px,0 4px);
}
.night .flyer .tab.tab-taken,
.night .flyer .tab:nth-child(3){
  background-color:#cfc8b8;
  box-shadow:inset 0 10px 12px rgba(14,14,18,.22);
  border-color:#0E0E12;
}
.night .flyer .tab.tab-taken::before,
.night .flyer .tab:nth-child(3)::before{
  background:#F5F1EA;
}
@media (min-width:1024px){
  .flyer .tab b{font-size:11px}
  .hiw-ui, .hiw-cue{display:none !important}
}
