/* ===========================================================
   RentAWeb concept v12 - "Night Shift"
   Loaded AFTER style.css. Near black, one electric accent, the
   client screenshots as the only other colour on the page.
   Retones every shared component so builder / checkout / about /
   blog inherit it, then adds the homepage-only furniture.

   No metaphor. Confident product marketing on a dark ground.
   =========================================================== */

:root {
  --bg:        #0B0D10;   /* page */
  --bg-2:      #10141A;   /* tinted band */
  --surface:   #12161B;   /* cards, panels */
  --surface-2: #171C23;   /* hover / lifted */
  --line:      #222C36;
  --line-2:    #2E3944;
  --text:      #E6EAEE;
  --muted:     #98A2AE;
  --muted-2:   #6D7885;
  --white:     #FFFFFF;

  --acc:       #00E096;   /* the one accent */
  --acc-d:     #00C985;
  --acc-l:     #5CF0BA;
  --acc-tx:    #04150E;   /* text ON the accent */
  --acc-tint:  rgba(0,224,150,.10);
  --acc-line:  rgba(0,224,150,.45);

  /* the shared sheet speaks paper / ink / emerald. Re-point them. */
  --paper:     var(--bg);
  --off:       var(--bg-2);
  --ink:       var(--white);    /* used 35x as an emphasis TEXT colour */
  --ink-2:     var(--text);
  --emerald:   var(--acc);
  --emerald-d: var(--acc-d);
  --emerald-l: var(--acc-l);
  --mint:      #0E2A22;
  --mint-2:    #0C1F1A;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --disp: "Sora", var(--sans);

  --r:   12px;
  --r-s: 10px;
}

/* ---------- page ---------- */
body { background: var(--bg); color: var(--text); }
::selection { background: var(--acc); color: var(--acc-tx); }
.tint { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.h1, .h2, .h3, .brand, .pcard h3, .stp h3, .vcard b, .opt b {
  font-family: var(--disp); font-variation-settings: normal; font-weight: 700; letter-spacing: -.03em;
}
.h1 { font-size: clamp(2.6rem, 5.8vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; color: var(--white); }
.h2 { font-size: clamp(1.9rem, 3.9vw, 2.9rem); line-height: 1.08; color: var(--white); }
.h3 { color: var(--white); }
.lede { color: var(--muted); }
p { color: var(--text); }

.eyebrow { color: var(--acc); letter-spacing: .14em; }
.eyebrow::before { background: var(--acc); box-shadow: 0 0 10px var(--acc); }

/* ---------- buttons ---------- */
.btn { border-radius: 10px; font-family: var(--disp); font-weight: 600; padding: .9rem 1.55rem; transition: background .18s, border-color .18s, transform .12s, box-shadow .18s; }
.btn-em { background: var(--acc); color: var(--acc-tx); box-shadow: 0 10px 30px -14px rgba(0,224,150,.9); }
.btn-em:hover { background: var(--acc-l); color: var(--acc-tx); transform: translateY(-1px); }
.btn-out { background: transparent; color: var(--white); border: 1px solid var(--line-2); }
.btn-out:hover { border-color: var(--acc); color: var(--white); background: var(--acc-tint); }
.btn-glass { background: transparent; color: var(--white); border: 1px solid var(--line-2); backdrop-filter: none; }
.btn-glass:hover { background: rgba(255,255,255,.05); border-color: #4A5866; }
.btn-ink { background: var(--white); color: var(--bg); }
.btn-ink:hover { background: #E6EAEE; }
.nav nav a.btn, .nav nav a.btn-em, .nav nav a.btn-r { color: var(--acc-tx); }

/* ---------- nav ---------- */
.nav { background: rgba(11,13,16,.82); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.nav.stuck { border-bottom-color: var(--line); }
.brand { color: var(--white); font-size: 1.28rem; }
.brand .dot { width: 11px; height: 11px; background: var(--acc); box-shadow: 0 0 12px var(--acc); }
.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--white); }

/* ---------- cards: one surface, one line ---------- */
.pcard, .stp, .inc-cell, .term, .opt, .specsheet, .pcardb, .explain, .leadpost {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: none;
}
.pcard.pop { border: 1px solid var(--acc-line); box-shadow: 0 0 0 1px rgba(0,224,150,.15), 0 30px 60px -40px rgba(0,224,150,.6); }
.pcard .pop-lab { background: var(--acc); color: var(--acc-tx); border-radius: 6px; }
.pcard h3, .pcard .amt, .specsheet .sstot .big { color: var(--white); }
.pcard .amt small, .pcard .sub, .pcard .out { color: var(--muted); }
.pcard .go .btn-out { border-color: var(--line-2); }
.stp .n { background: var(--acc); color: var(--acc-tx); border-radius: 8px; box-shadow: 0 0 18px -4px var(--acc); }
.stp .when, .inc-cell .zero, .term .code, .opt .pr { color: var(--acc); }
.stp p, .inc-cell small, .term p, .opt small { color: var(--muted); }
.inc-cell b, .term p b { color: var(--white); }
.inc-cell .tick { background: var(--acc-tint); color: var(--acc); border: 1px solid var(--acc-line); border-radius: 8px; }
.term { border-color: var(--line); }

/* pricing toggle */
.ptog { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.ptog button { color: var(--muted); border-radius: 8px; }
.ptog button.on { background: var(--acc); color: var(--acc-tx); }
.pnote p { color: var(--muted); }

/* builder / checkout */
.opt:hover { border-color: var(--line-2); background: var(--surface-2); }
.opt.sel { border-color: var(--acc); background: var(--mint-2); box-shadow: 0 0 0 1px var(--acc-line); }
.opt b { color: var(--white); }
.opt .rec, .opt .rec2 { background: var(--acc); color: var(--acc-tx); border-radius: 6px; }
.kinds { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.kinds .kind-opt { border-radius: 8px; color: var(--muted); background: transparent; }
.kinds .kind-opt.sel { background: var(--acc); color: var(--acc-tx); }
.specsheet .sshead { background: var(--mint); color: var(--white); border-bottom: 1px solid var(--line); }
.specsheet .sshead .k { color: var(--acc); }
.specsheet .sstot, .specsheet .ssgo { background: var(--mint-2); }
.specsheet .sstot .row { color: var(--muted); }
.specsheet .sstot .row b { color: var(--white); }
.pcpill { background: var(--acc-tint); color: var(--acc); border-radius: 6px; }
.fld input, .fld textarea, .fld select,
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea, select {
  background: #0F1318; color: var(--text); border: 1px solid var(--line-2); border-radius: 10px;
}
.fld input:focus, .fld textarea:focus, textarea:focus, input:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-tint); }
.fld label, .lab, .sublab { color: var(--text); }
.hint, .fine, .dnote { color: var(--muted); }
.step { border-color: var(--line); }

/* dark bands */
.value, .band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band { position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: auto 0 -40% 0; height: 120%; margin-inline: auto; width: 900px;
  background: radial-gradient(closest-side, rgba(0,224,150,.16), transparent); pointer-events: none; }
.band .shell { position: relative; }
.band .eyebrow { color: var(--acc); }
.band .h2 { color: var(--white); }
.band p { color: var(--muted); }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { color: var(--white); font-family: var(--disp); font-weight: 600; font-size: 1.08rem; }
.faq summary::after { color: var(--acc); }
.faq .ans { color: var(--muted); }

.foot-main { border-top: 1px solid var(--line); }
.foot-main .fm, .foot-main nav a { color: var(--muted-2); }
.foot-main nav a:hover { color: var(--white); }

/* blog + about on dark */
.leadpost { color: var(--white); }
.pcardb { border-right: 0; border-bottom: 0; }
.pcardb:hover { background: var(--surface-2); }
.pcardb b { color: var(--white); }
.pcardb:hover b { color: var(--acc); }
.post-body, .post-lede, .blog-lede { color: var(--text); }
.post-body a, .explain a { color: var(--acc); }
.post-kicker, .crumbs { color: var(--acc); }
.post-toc, .rel { background: var(--surface); border: 1px solid var(--line); }
.rel-k { color: var(--acc); }
.bcta { background: var(--surface); border: 1px solid var(--line); }
.bcta-fine { color: var(--muted); }
.timeline .tl, .tickrule { border-color: var(--line); }
.narrow-sec .explain p, .explain p { color: var(--text); }
.explain p b { color: var(--white); }

/* lightbox */
#lb .bg { background: rgba(4,6,8,.86); }
#lb .panel { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); }
#lb .lbhead { border-bottom: 1px solid var(--line); }
#lb .lbhead .t { color: var(--white); }
#lb .lbnav .ic { background: transparent; border: 1px solid var(--line-2); color: var(--white); border-radius: 8px; }
#lb .lbnav .ic:hover { border-color: var(--acc); color: var(--acc); }
#lb .lbscroll { background: #0F1318; }

/* the preview badge is mine, not the design's, but it should not clash */
.ip-notice { background: var(--surface); color: var(--muted); border: 1px solid var(--line); border-radius: 8px; }

/* =========================================================
   HOMEPAGE
   ========================================================= */
.ns-hero { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 6.8rem) 0 0; isolation: isolate; }
.ns-hero .glow {
  position: absolute; z-index: 0; top: -34%; left: 50%; transform: translateX(-50%);
  width: min(1100px, 130vw); height: 720px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,224,150,.22), rgba(0,224,150,.06) 55%, transparent 75%);
}
.ns-hero .shell { position: relative; z-index: 2; }
.ns-hero .h1 { max-width: 15ch; }
.ns-hero .h1 em { font-style: normal; color: var(--acc); }
.ns-hero .sub { max-width: 56ch; margin: 1.35rem 0 0; font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.62; color: var(--muted); }
.ns-hero .cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.ns-hero .noc { margin: 1.5rem 0 0; font-size: .92rem; color: var(--muted-2); }
.ns-hero .noc b { color: var(--text); }

/* ---------- the rail of real sites ---------- */
.rail-wrap {
  position: relative; z-index: 2; overflow: hidden;
  margin-top: clamp(2.8rem, 5.5vw, 4.2rem); padding: 4px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.rail { display: flex; gap: 1rem; width: max-content; animation: roll 120s linear infinite; }
.rail-wrap:hover .rail { animation-play-state: paused; }
@keyframes roll { to { transform: translateX(-50%); } }
.rail .fr {
  flex: none; width: 300px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 7px 7px 9px; transition: border-color .2s, transform .2s;
}
.rail .fr:hover { border-color: var(--acc-line); transform: translateY(-3px); }
.rail .fr img { width: 100%; height: 178px; object-fit: cover; object-position: top center; border-radius: 7px; display: block; }
.rail .fr span { display: block; margin-top: .55rem; font-size: .78rem; font-weight: 500; color: var(--muted-2); padding-left: .2rem; }
.rail-note { text-align: center; margin: 0; padding: 1.2rem 1rem clamp(3rem, 6vw, 4.4rem); font-size: .86rem; color: var(--muted-2); }

/* ---------- benefits: the sprite icons, lit ---------- */
.vgrid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.vcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.35rem 1.35rem 1.45rem; }
.vcard:hover { border-color: var(--acc-line); background: var(--surface-2); transform: translateY(-3px); }
.vicon { width: 44px; height: 44px; border-radius: 10px; background: var(--acc-tint); border: 1px solid var(--acc-line);
  display: grid; place-items: center; color: var(--acc); margin-bottom: 1rem; }
.vicon svg { width: 22px; height: 22px; }
.vcard b { color: var(--white); font-size: 1.08rem; }
.vcard p { color: var(--muted); font-size: .93rem; }
.vhead .h2 { color: var(--white); }
.vhead .lede { color: var(--muted); }

.vcta {
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  margin-top: 1.6rem; padding: 1.5rem 1.7rem; border-radius: var(--r);
  background: linear-gradient(90deg, rgba(0,224,150,.14), rgba(0,224,150,.04)); border: 1px solid var(--acc-line);
}
.vcta b { display: block; font-family: var(--disp); font-size: 1.28rem; color: var(--white); letter-spacing: -.02em; }
.vcta p { margin: .15rem 0 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .vcta { grid-template-columns: 1fr; } .vcta .btn { width: 100%; } }

/* ---------- work grid ---------- */
#wallGrid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
#wallGrid > button {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 12px;
  cursor: pointer; text-align: left; font: inherit; color: var(--text);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
#wallGrid > button:hover { border-color: var(--acc-line); transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(0,224,150,.7); }
#wallGrid .wprice { background: var(--acc-tint); color: var(--acc); border: 1px solid var(--acc-line); border-radius: 6px; }

/* ---------- squash every pill the shared sheet still carries ---------- */
.btn, .pop-lab, .opt .rec, .opt .rec2, .kinds, .kind-opt, .pcpill, .wprice, .ip-notice, .ptog, .ptog button { border-radius: 10px; }
.pop-lab, .opt .rec, .opt .rec2, .pcpill, .wprice { border-radius: 6px; }
.stp .n { border-radius: 8px; }
.d-calc b, .d-book b { border-radius: 6px; }

@media (prefers-reduced-motion: reduce) { .rail { animation: none !important; } }
@media (max-width: 760px) {
  .rail .fr { width: 236px; }
  .rail .fr img { height: 142px; }
  .ns-hero .h1 { max-width: none; }
}

/* ---------- fixes after first render ----------
   v6 assumed a light page. --ink is now white, --mint is now a deep green,
   so anything that used them as a background or an accent flipped. */
.vhead .eyebrow { color: var(--acc); }
.vhead .eyebrow::before { background: var(--acc); }
/* the builder's demo tiles draw white marks on what used to be an ink tile */
.fdemo { background: #0F1318; border: 1px solid var(--line-2); }
.d-book b.on, .d-bar b { color: var(--acc-tx); }
.feat2.incfree { background: var(--mint-2); border-color: var(--acc-line); }
.opt.custom:hover { background: var(--mint-2); border-color: var(--acc); }
.dsearch input { background: #0F1318; border-color: var(--line-2); color: var(--text); }
.dsearch input:focus, .drow.sel { background: var(--mint-2); border-color: var(--acc); }
.drow { background: var(--surface); border-color: var(--line); }
.drow .dn { color: var(--white); }
.dnote.err { color: #FF6B5A; }

/* =========================================================
   THE SHOWROOM LAYER (Brett: "more wow factor, interaction,
   effects, make it stand out"). All motion is transform/opacity
   only, rAF-throttled where JS is involved, and off under
   prefers-reduced-motion.
   ========================================================= */

/* grain over everything, very quiet */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ambient aurora behind the hero */
.ns-hero { padding-top: clamp(4.4rem, 8vw, 7rem); }
.ns-hero .glow { display: none; }
.aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(80px); mix-blend-mode: screen; will-change: transform;
  animation: aur 28s ease-in-out infinite alternate;
}
.aurora .a1 { width: 640px; height: 640px; left: 8%;  top: -34%; background: rgba(0,224,150,.34); }
.aurora .a2 { width: 520px; height: 520px; right: 4%; top: -20%; background: rgba(11,170,156,.30); animation-duration: 36s; animation-delay: -12s; }
.aurora .a3 { width: 420px; height: 420px; left: 44%; top: 8%;   background: rgba(27,91,232,.16); animation-duration: 44s; animation-delay: -20s; }
@keyframes aur { from { transform: translate3d(-6%, -4%, 0) scale(1); } to { transform: translate3d(8%, 10%, 0) scale(1.18); } }

/* centred copy, theatre first */
.hero-copy { text-align: center; }
.ns-hero .h1 { max-width: 16ch; margin-inline: auto; }
.ns-hero .sub { margin-inline: auto; }
.ns-hero .cta { justify-content: center; }

/* headline entrance: words rise out of a clipped line */
.h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.h1 .w > span { display: inline-block; transform: translateY(112%); }
.h1.animate .w > span { animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 70ms); }
.h1.shown .w > span { transform: none; }
@keyframes rise { to { transform: translateY(0); } }
.h1 .w.acc > span {
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(100deg, #00E096 0%, #9AF7D7 45%, #00E096 60%, #00E096 100%);
  background-size: 240% 100%; animation-name: rise, shimmer; animation-duration: .9s, 5s;
  animation-timing-function: cubic-bezier(.2,.8,.2,1), linear; animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none;
}
.h1.shown .w.acc > span { animation: shimmer 5s linear infinite; }
@keyframes shimmer { to { background-position: -240% 0; } }
.hero-copy .sub, .hero-copy .cta, .hero-copy .noc { animation: fadeup .9s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy .sub { animation-delay: .45s; } .hero-copy .cta { animation-delay: .6s; } .hero-copy .noc { animation-delay: .75s; }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- the floor of screens ---------- */
.stage {
  position: relative; z-index: 1; overflow: hidden;
  height: clamp(300px, 40vw, 540px); margin-top: clamp(2.2rem, 4.5vw, 3.6rem);
  perspective: 1100px; perspective-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 90%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 90%, transparent 100%);
}
.plane {
  position: absolute; left: 50%; bottom: -30px; width: max(2000px, 160vw);
  transform: translateX(-50%) rotateX(var(--rx, 54deg)) rotateY(var(--ry, 0deg));
  transform-origin: 50% 100%; transform-style: preserve-3d; will-change: transform;
  display: flex; flex-direction: column; gap: 18px;
}
.prow3 { display: flex; gap: 18px; width: max-content; animation: slideL var(--dur, 90s) linear infinite; }
.prow3.rev { animation-name: slideR; }
.prow3.r2 { margin-left: -160px; }
.prow3.r3 { margin-left: -60px; }
@keyframes slideL { to { transform: translateX(-50%); } }
@keyframes slideR { from { transform: translateX(-50%); } to { transform: none; } }
.wt {
  flex: none; width: 330px; aspect-ratio: 480 / 297; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12); background: var(--surface);
  box-shadow: 0 0 0 1px rgba(0,224,150,.06), 0 40px 70px -34px rgba(0,0,0,.95), 0 0 50px -18px rgba(0,224,150,.35);
}
.wt img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.rail-note { padding-top: .6rem; }

/* ---------- trades ticker ---------- */
.ticker { display: flex; align-items: center; gap: 1.4rem; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: .85rem 0; }
.ticker-lab { flex: none; padding-left: max(20px, calc((100vw - var(--shell)) / 2)); font-family: var(--disp); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.ticker-in { display: flex; align-items: center; width: max-content; animation: tick 48s linear infinite; }
.ticker:hover .ticker-in { animation-play-state: paused; }
.ticker-in span { font-family: var(--disp); font-weight: 600; font-size: .95rem; color: var(--text); white-space: nowrap; text-transform: capitalize; }
.ticker-in i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); margin: 0 1.3rem; box-shadow: 0 0 8px var(--acc); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- cursor spotlight on cards ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before, .spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; z-index: -1; }
.spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0,224,150,.13), transparent 58%); }
.spot::after {
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(0,224,150,.85), transparent 62%);
  padding: 1px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }
#wallGrid .wsheet.spot::after { padding: 1.5px; }

/* ---------- magnetic CTAs ---------- */
.btn.mag { transition: transform .4s cubic-bezier(.2,.8,.2,1), background .18s, box-shadow .18s; will-change: transform; }
.btn.mag:hover { transition-duration: .08s; }

/* ---------- work grid: the whole page scrolls on hover ---------- */
#wallGrid .wshot img { width: 100%; height: auto; aspect-ratio: 10 / 7; object-fit: cover; object-position: top; transition: object-position 1.1s ease-out; }
#wallGrid .wsheet:hover .wshot img.tall-ready { object-position: bottom; transition: object-position 7s linear; }
#wallGrid .wsheet::before { z-index: 0; }

/* ---------- pricing table: the popular card breathes ---------- */
.pcard.pop { animation: popglow 4s ease-in-out infinite; }
@keyframes popglow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(0,224,150,.15), 0 30px 60px -40px rgba(0,224,150,.6); }
  50%      { box-shadow: 0 0 0 1px rgba(0,224,150,.4),  0 30px 70px -34px rgba(0,224,150,.95); }
}

/* ---------- close band ---------- */
.band::before { animation: aur 30s ease-in-out infinite alternate; }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  .stage { height: 250px; margin-top: 1.8rem; perspective: 800px; }
  .plane { width: 1500px; bottom: -20px; --rx: 50deg; gap: 12px; }
  .prow3 { gap: 12px; }
  .wt { width: 210px; }
  .aurora .a1, .aurora .a2, .aurora .a3 { width: 320px; height: 320px; filter: blur(60px); }
  .ticker-lab { padding-left: 16px; }
  .ticker-in span { font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
  .prow3, .ticker-in, .aurora i, .band::before, .pcard.pop, .h1 .w.acc > span { animation: none !important; }
  .hero-copy .sub, .hero-copy .cta, .hero-copy .noc { animation: none; opacity: 1; transform: none; }
  #wallGrid .wsheet:hover .wshot img.tall-ready { transition: none; }
}

/* ticker label must sit ABOVE the scrolling strip, not under it */
.ticker-lab { position: relative; z-index: 2; background: var(--bg-2); padding-right: 1.2rem; box-shadow: 14px 0 14px var(--bg-2); }
/* less dead air between the trust line and the floor */
.stage { margin-top: clamp(1.4rem, 3vw, 2.4rem); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 90%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 90%, transparent 100%); }

/* =========================================================
   THE CALCULATOR IN THE HERO (Brett: "getting people straight
   into the calculator might be a smart move"). The floor of
   screens now drifts beneath it.
   ========================================================= */
.ns-hero { padding-top: clamp(2.8rem, 5vw, 4rem); }
.ns-hero .h1 { font-size: clamp(2.3rem, 4.7vw, 3.6rem); }
.ns-hero .sub { font-size: clamp(.98rem, 1.15vw, 1.08rem); max-width: 66ch; margin-top: .9rem; }

.hcalc {
  position: relative; z-index: 3; text-align: left;
  max-width: 1000px; margin: 1.5rem auto 0;
  background: rgba(18,22,27,.88); backdrop-filter: blur(14px);
  border: 1px solid var(--acc-line); border-radius: 16px; padding: 1.1rem 1.1rem 1rem;
  box-shadow: 0 0 0 1px rgba(0,224,150,.08), 0 40px 90px -40px rgba(0,224,150,.55), 0 30px 60px -30px rgba(0,0,0,.9);
  animation: fadeup .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: .45s;
}
.hc-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .85rem; }
.hc-lab { font-family: var(--disp); font-weight: 700; font-size: 1.02rem; color: var(--white); }
.hc-kind { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.hc-kind button { border: 0; background: transparent; color: var(--muted); font: inherit; font-family: var(--disp); font-weight: 600; font-size: .86rem; padding: .5rem .95rem; border-radius: 7px; cursor: pointer; transition: background .18s, color .18s; }
.hc-kind button.on { background: var(--acc); color: var(--acc-tx); }
.hc-sizes { display: grid; gap: .6rem; grid-template-columns: repeat(4, 1fr); }
.hc-sizes[data-n="3"] { grid-template-columns: repeat(3, 1fr); }
.hc-size {
  position: relative; text-align: left; cursor: pointer; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 11px; padding: .85rem .95rem;
  transition: border-color .18s, background .18s, transform .18s, box-shadow .18s;
}
.hc-size:hover { border-color: var(--line-2); transform: translateY(-2px); }
.hc-size.sel { border-color: var(--acc); background: var(--mint-2); box-shadow: 0 0 0 1px var(--acc-line), 0 0 34px -10px rgba(0,224,150,.65); }
.hc-size b { display: block; font-family: var(--disp); font-weight: 700; color: var(--white); font-size: .98rem; }
.hc-size small { display: block; color: var(--muted); font-size: .8rem; margin: .1rem 0 .45rem; }
.hc-size em { font-style: normal; font-family: var(--disp); font-weight: 700; color: var(--acc); font-size: 1rem; }
.hc-pop { position: absolute; top: -9px; right: 10px; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--acc); color: var(--acc-tx); padding: .15rem .45rem; border-radius: 5px; }
.hc-out { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.hc-price b { font-family: var(--disp); font-weight: 800; font-size: 2.6rem; letter-spacing: -.03em; color: var(--white); line-height: 1; font-variant-numeric: tabular-nums; }
.hc-price small { color: var(--muted); font-size: .9rem; margin-left: .15rem; }
.hc-lines { display: flex; flex-direction: column; gap: .15rem; font-size: .88rem; color: var(--muted); }
.hc-lines b { color: var(--text); font-weight: 600; }
.hc-go { white-space: nowrap; }
.hc-fine { margin: .85rem 0 0; font-size: .8rem; color: var(--muted-2); text-align: center; }
.hc-fine b { color: var(--muted); } .hc-fine a { color: var(--acc); }

/* the floor drops back to being the ground the calculator stands on */
.stage { margin-top: -64px; height: clamp(280px, 36vw, 470px); }
.rail-note { padding-top: .2rem; }

@media (max-width: 760px) {
  .hcalc { padding: .9rem .8rem .8rem; margin-top: 1.2rem; }
  .hc-sizes, .hc-sizes[data-n="3"] { grid-template-columns: 1fr 1fr; }
  .hc-out { grid-template-columns: 1fr; gap: .8rem; }
  .hc-go { width: 100%; }
  .hc-price b { font-size: 2.2rem; }
  .stage { margin-top: -30px; height: 240px; }
}

/* =========================================================
   AFTER THE CUSTOMER CRITIQUE (11 Sep): people, proof, a phone
   number, less repetition, bigger secondary text.
   ========================================================= */
:root { --muted: #A6AFB9; --muted-2: #7C8794; }
.nav-tel { font-family: var(--disp); font-weight: 600; color: var(--white) !important; }
.nav-tel::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); margin-right: .5rem; vertical-align: middle; box-shadow: 0 0 8px var(--acc); }

/* straight answers next to the button */
.hc-answers { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; max-width: 1000px; margin: .9rem auto 0; text-align: left; animation: fadeup .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: .7s; }
.hc-ans { background: rgba(18,22,27,.7); border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem; }
.hc-ans b { display: block; font-family: var(--disp); font-weight: 700; font-size: .95rem; color: var(--white); margin-bottom: .25rem; }
.hc-ans p { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--muted); }
.hc-ans a { color: var(--acc); font-weight: 600; text-decoration: none; white-space: nowrap; }

/* the calculator cards say what you get */
.hc-size small { margin-bottom: .5rem; }
.hc-size small i { display: block; font-style: normal; color: var(--text); margin-top: .15rem; }
.hc-fine .hc-date { display: block; margin-top: .3rem; color: var(--text); }

/* benefits strip replaces the duplicate "included" section */
.vstrip { max-width: 900px; margin: 1.4rem auto 0; text-align: center; font-size: .93rem; line-height: 1.7; color: var(--muted); }
.vstrip b { color: var(--white); font-weight: 600; }

/* interaction hints on the work grid */
.work-hint { margin: .2rem auto 0; font-size: .86rem; color: var(--acc); font-weight: 500; }
.work-hint .hint-tap { display: none; }
@media (hover: none) { .work-hint .hint-hover { display: none; } .work-hint .hint-tap { display: inline; } }

/* the floor is clickable now */
.wt { cursor: pointer; padding: 0; border: 1px solid rgba(255,255,255,.12); background: var(--surface); font: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.wt:hover { border-color: var(--acc-line); transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(0,224,150,.25), 0 40px 70px -30px rgba(0,0,0,.95), 0 0 60px -14px rgba(0,224,150,.6); }
.wt:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* secondary text a size up, for a buyer who is not a developer */
.vcard p, .stp p, .term p, .pnote p, .faq .ans, .explain p { font-size: .97rem; }
.hc-lines { font-size: .92rem; }
.pcard .out, .pcard .sub { font-size: .9rem; }
.rail-note, .hc-fine { font-size: .84rem; }
.foot-main .fm a { color: var(--text); text-decoration: none; }

/* phones: the floor is one light row, not thirty-two images of decoration */
@media (max-width: 760px) {
  .hc-answers { grid-template-columns: 1fr; gap: .6rem; }
  .stage { height: 190px; margin-top: -24px; }
  .plane { width: 1300px; --rx: 48deg; }
  .prow3.r2 { display: none; }
  .nav-tel { display: none; }
}
/* three pixels over the fold at 1440x950: pull the hero in a touch */
.ns-hero { padding-top: clamp(2.4rem, 4.2vw, 3.4rem); }
.hcalc { margin-top: 1.25rem; }
.hc-answers { margin-top: .7rem; }

/* ═══════════════════════════════════════════════════════════
   THE REBUILD (Brett: "text heavy, not enough design, boring
   and fragmented"). Twelve identical card-grid modules became
   six acts, each with its own layout. Nothing here is a
   centred heading over a grid of bordered boxes.
   ═══════════════════════════════════════════════════════════ */

.act { padding: clamp(4.5rem, 9vw, 8.5rem) 0; position: relative; }
.act + .act { padding-top: 0; }
.incl-act { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: clamp(4.5rem, 9vw, 8.5rem); }
.steps-act { padding-top: clamp(4.5rem, 9vw, 8.5rem); }

/* the act number: big, ghosted, sets the rhythm */
.act-no {
  display: block; font-family: var(--disp); font-weight: 800;
  font-size: clamp(3.4rem, 7vw, 6.5rem); line-height: .8; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px var(--line-2);
  margin-bottom: clamp(.8rem, 1.6vw, 1.4rem); user-select: none;
}

/* display type: the scale contrast the page was missing */
.display {
  font-family: var(--disp); font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.0; letter-spacing: -.042em;
  color: var(--white); margin: 0; text-wrap: balance;
}
.display em { font-style: normal; color: var(--acc); }
.display.sm { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; }
.display.big { font-size: clamp(2.8rem, 6.5vw, 5.4rem); }

/* asymmetric section head: huge heading left, the explaining right */
.act-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; margin-bottom: clamp(2.4rem, 4.5vw, 4rem); }
.act-head .act-no { grid-column: 1; grid-row: 1; align-self: start; }
.act-head .display { grid-column: 1; grid-row: 2; }
.act-head .act-sub { grid-column: 2; grid-row: 2; }
.act-head .act-sub p { margin: 0 0 .6rem; color: var(--muted); font-size: 1rem; line-height: 1.62; max-width: 46ch; }
.act-head.flat { grid-template-columns: 1fr; gap: 1rem; }
.act-head.flat .display, .act-head.flat .act-sub { grid-column: 1; grid-row: auto; }
.act-head.flat.mid { justify-items: center; text-align: center; }
.act-head.flat.mid .act-sub p { margin-inline: auto; }
@media (max-width: 860px) { .act-head { grid-template-columns: 1fr; align-items: start; }
  .act-head .display, .act-head .act-sub { grid-column: 1; grid-row: auto; } }

/* ─────────── the proof strip, replacing three bolted-on boxes ─────────── */
.proof {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: .5rem clamp(1.2rem, 3vw, 2.6rem); margin: 1.5rem auto 0; max-width: 1000px;
  animation: fadeup .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: .7s;
}
.proof-rate { display: inline-flex; align-items: baseline; gap: .5rem; }
.proof-rate b { font-family: var(--disp); font-weight: 800; font-size: 1.5rem; color: var(--white); letter-spacing: -.03em; }
.proof-rate .stars { color: var(--acc); font-size: .95rem; letter-spacing: .1em; }
.proof-rate small, .proof-i { font-size: .88rem; color: var(--muted); }
.proof-i { position: relative; padding-left: clamp(1.2rem, 3vw, 2.6rem); }
.proof-i::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); transform: translate(-50%,-50%); }
.proof-tel { font-size: .88rem; font-weight: 600; color: var(--acc); text-decoration: none; white-space: nowrap; }
.proof-tel:hover { text-decoration: underline; }

/* ─────────── ACT 2 · the work, full size ───────────
   app.js still builds #wallGrid. Only the CSS changed: a
   four-across thumbnail grid became full-width editorial rows
   that alternate side to side. */
#wallGrid { display: block; }
#wallGrid > button {
  display: grid; width: 100%; text-align: left; cursor: pointer; font: inherit; color: var(--text);
  grid-template-columns: 1.35fr .65fr; grid-template-areas: "shot meta" "shot bar";
  gap: .6rem clamp(1.6rem, 4vw, 4rem); align-content: center;
  background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0;
  padding: clamp(1.8rem, 3.6vw, 3.4rem) 0; box-shadow: none; transform: none !important;
}
#wallGrid > button:last-child { border-bottom: 1px solid var(--line); }
#wallGrid > button:nth-child(even) { grid-template-columns: .65fr 1.35fr; grid-template-areas: "meta shot" "bar shot"; }
#wallGrid .wmarks { display: none; }
#wallGrid .wshot {
  grid-area: shot; position: relative; overflow: hidden; display: block;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface);
  transition: border-color .3s, box-shadow .3s, transform .4s cubic-bezier(.2,.8,.2,1);
}
#wallGrid .wshot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; transition: object-position 1.1s ease-out; }
#wallGrid > button:hover .wshot { border-color: var(--acc-line); transform: translateY(-6px); box-shadow: 0 50px 90px -50px rgba(0,224,150,.75), 0 40px 70px -40px rgba(0,0,0,.9); }
#wallGrid > button:hover .wshot img.tall-ready { object-position: bottom; transition: object-position 8s linear; }
#wallGrid .wmeta { grid-area: meta; align-self: end; display: block; }
#wallGrid .wjob { display: block; font-family: var(--disp); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); margin-bottom: .7rem; }
#wallGrid .wname { display: block; font-family: var(--disp); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.05; letter-spacing: -.035em; color: var(--white); margin-bottom: .5rem; }
#wallGrid .wspec { display: block; font-size: .95rem; line-height: 1.55; color: var(--muted); margin-bottom: .9rem; max-width: 30ch; }
#wallGrid .wprice { display: inline-block; font-family: var(--disp); font-weight: 800; font-size: 1.35rem; letter-spacing: -.025em; color: var(--acc); background: transparent; border: 0; padding: 0; border-radius: 0; }
#wallGrid .wbar { grid-area: bar; align-self: start; display: flex; gap: 4px; height: 4px; width: 108px; }
#wallGrid .wbar i { flex: 1; border-radius: 2px; }
#wallGrid > button.spot::before, #wallGrid > button.spot::after { display: none; }
@media (max-width: 860px) {
  #wallGrid > button, #wallGrid > button:nth-child(even) { grid-template-columns: 1fr; grid-template-areas: "shot" "meta" "bar"; gap: 1rem; padding: 1.8rem 0; }
  #wallGrid .wmeta { align-self: start; }
  #wallGrid .wspec { max-width: none; }
}

/* ─────────── ACT 3 · what you get, editorial not boxed ─────────── */
.incl-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.incl-side { position: sticky; top: 100px; }
.incl-side p { color: var(--muted); font-size: 1rem; line-height: 1.65; margin: 1.1rem 0 1.6rem; max-width: 40ch; }
.incl-side .btn { margin-bottom: 1.4rem; }
.incl-extra { font-size: .88rem !important; color: var(--muted-2) !important; border-left: 2px solid var(--line-2); padding-left: .9rem; margin: 0 !important; }
.incl-list { list-style: none; margin: 0; padding: 0; }
.incl-list li { display: grid; grid-template-columns: 44px 1fr; gap: 0 1.15rem; align-items: start; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.incl-list li:last-child { border-bottom: 1px solid var(--line); }
.incl-list .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 11px; background: var(--acc-tint); border: 1px solid var(--acc-line); display: grid; place-items: center; color: var(--acc); font-size: .95rem; }
.incl-list .ic svg { width: 21px; height: 21px; }
.incl-list b { font-family: var(--disp); font-weight: 700; font-size: 1.12rem; color: var(--white); letter-spacing: -.02em; }
.incl-list i { font-style: normal; font-size: .95rem; line-height: 1.55; color: var(--muted); }
.incl-list li.free .ic { background: var(--acc); color: var(--acc-tx); border-color: var(--acc); font-weight: 800; }
.incl-list li:hover .ic { background: var(--acc); color: var(--acc-tx); transition: background .2s, color .2s; }
@media (max-width: 860px) { .incl-grid { grid-template-columns: 1fr; } .incl-side { position: static; } }

/* ─────────── ACT 4 · the four steps as a run, not four cards ─────────── */
.flow { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: f; }
.flow::before { content: ""; position: absolute; left: 31px; top: 24px; bottom: 24px; width: 1px; background: linear-gradient(180deg, var(--acc-line), var(--line) 30%, var(--line) 70%, transparent); }
.flow li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: clamp(1.2rem, 3vw, 2.6rem); padding: clamp(1.3rem, 2.6vw, 2.2rem) 0; }
.flow-n {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--disp); font-weight: 800; font-size: 1.5rem; color: var(--acc);
  background: var(--bg); border: 1px solid var(--acc-line); position: relative; z-index: 1;
  box-shadow: 0 0 40px -12px rgba(0,224,150,.6);
}
.flow li:hover .flow-n { background: var(--acc); color: var(--acc-tx); transition: background .22s, color .22s; }
.flow-b { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .35rem clamp(1.5rem,3vw,3rem); align-items: baseline; padding-top: .35rem; }
.flow-b h3 { grid-column: 1; font-family: var(--disp); font-weight: 700; font-size: clamp(1.25rem, 2.1vw, 1.75rem); letter-spacing: -.03em; color: var(--white); margin: 0; }
.flow-b p { grid-column: 1; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.62; max-width: 62ch; }
.flow-w { grid-column: 2; grid-row: 1; font-family: var(--disp); font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); white-space: nowrap; }
@media (max-width: 700px) {
  .flow::before { left: 23px; }
  .flow li { grid-template-columns: 46px 1fr; gap: 1rem; }
  .flow-n { width: 46px; height: 46px; font-size: 1.15rem; border-radius: 13px; }
  .flow-b { grid-template-columns: 1fr; }
  .flow-w { grid-column: 1; grid-row: auto; }
}

/* ─────────── ACT 6 · the honest bit, as one document ─────────── */
.doc-act { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: clamp(4.5rem, 9vw, 8.5rem); }
.doc-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.doc-rail { position: sticky; top: 100px; }
.doc-nav { display: flex; flex-direction: column; gap: .1rem; margin: 1.6rem 0 2rem; }
.doc-nav a { font-size: .95rem; color: var(--muted); text-decoration: none; padding: .55rem 0 .55rem .9rem; border-left: 2px solid var(--line); transition: color .2s, border-color .2s; }
.doc-nav a:hover { color: var(--white); border-color: var(--acc); }
.doc-cta p { margin: 0 0 .7rem; font-size: .92rem; color: var(--muted); }
.doc-body > article { padding-bottom: clamp(2rem, 4vw, 3.2rem); scroll-margin-top: 100px; }
.doc-body > article + article { border-top: 1px solid var(--line); padding-top: clamp(2rem, 4vw, 3.2rem); }
.doc-body h3 { font-family: var(--disp); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.035em; color: var(--white); margin: 0 0 1rem; }
.doc-body p { color: var(--muted); font-size: 1.02rem; line-height: 1.72; margin: 0 0 1rem; max-width: 68ch; }
.doc-body p b { color: var(--white); font-weight: 600; }
.doc-body a { color: var(--acc); }
.doc-go { font-size: .98rem !important; }
.doc-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; }
.doc-figs div { border-top: 2px solid var(--acc); padding-top: .8rem; }
.doc-figs b { display: block; font-family: var(--disp); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.035em; color: var(--white); line-height: 1; margin-bottom: .45rem; }
.doc-figs span { font-size: .86rem; line-height: 1.5; color: var(--muted); display: block; }
.doc-terms { margin: 0; display: grid; grid-template-columns: 150px 1fr; gap: 1.15rem 1.6rem; }
.doc-terms dt { font-family: var(--disp); font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); padding-top: .18rem; }
.doc-terms dd { margin: 0; color: var(--muted); font-size: .99rem; line-height: 1.68; }
.doc-terms dd b { color: var(--white); font-weight: 600; }
.doc-body .faq { margin-top: -.4rem; }
.doc-body .faq details:first-child { border-top: 0; }
@media (max-width: 860px) {
  .doc-grid { grid-template-columns: 1fr; }
  .doc-rail { position: static; }
  .doc-nav { display: none; }
  .doc-figs { grid-template-columns: 1fr; gap: .8rem; }
  .doc-terms { grid-template-columns: 1fr; gap: .3rem 0; }
  .doc-terms dd { margin-bottom: 1rem; }
}

/* ─────────── close ─────────── */
.closer { text-align: center; padding: clamp(4rem, 8vw, 7rem) 0; }
.closer .display { margin: .9rem auto 1rem; }
.closer p { max-width: 52ch; margin: 0 auto 2rem; color: var(--muted); font-size: 1.05rem; }
.closer-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* the old module styles no longer have markup; keep the page honest */
.sec-head, .vgrid, .vgrid-art, .steps, .inc-grid, .terms, .vstrip, .hc-answers { display: none; }

/* ─────────── the work: six at full size, the rest compact ───────────
   Fourteen full-width rows made the page 18,000px tall. Six carry the
   argument; the other eight prove the range without the scroll. */
#wallGrid { display: grid; grid-template-columns: repeat(6, 1fr); column-gap: clamp(1.2rem, 2.4vw, 2rem); }
#wallGrid > button { grid-column: span 6; }
#wallGrid .wshot img { aspect-ratio: 16 / 9; }
#wallGrid > button:nth-child(even):nth-child(-n+6) { grid-template-columns: .65fr 1.35fr; grid-template-areas: "meta shot" "bar shot"; }
#wallGrid > button:nth-child(odd) { grid-template-columns: 1.35fr .65fr; grid-template-areas: "shot meta" "shot bar"; }

#wallGrid > button:nth-child(n+7) {
  grid-column: span 2; grid-template-columns: 1fr !important;
  grid-template-areas: "shot" "meta" "bar" !important;
  gap: .85rem; padding: clamp(1.4rem, 2.4vw, 2rem) 0 1.6rem;
}
#wallGrid > button:nth-child(7) { border-top-width: 1px; }
#wallGrid > button:nth-child(n+7) .wshot { border-radius: 11px; }
#wallGrid > button:nth-child(n+7) .wshot img { aspect-ratio: 16 / 10; }
#wallGrid > button:nth-child(n+7) .wmeta { align-self: start; }
#wallGrid > button:nth-child(n+7) .wname { font-size: 1.28rem; margin-bottom: .35rem; }
#wallGrid > button:nth-child(n+7) .wjob { font-size: .68rem; margin-bottom: .5rem; }
#wallGrid > button:nth-child(n+7) .wspec { font-size: .88rem; margin-bottom: .6rem; max-width: none; }
#wallGrid > button:nth-child(n+7) .wprice { font-size: 1.08rem; }
#wallGrid > button:nth-child(n+7) .wbar { width: 76px; }
#wallGrid > button:nth-child(n+7):hover .wshot { transform: translateY(-4px); }
#wallGrid > button:last-child { border-bottom: 0; }

@media (max-width: 1000px) { #wallGrid > button:nth-child(n+7) { grid-column: span 3; } }
@media (max-width: 860px) {
  #wallGrid { grid-template-columns: 1fr; }
  #wallGrid > button, #wallGrid > button:nth-child(odd), #wallGrid > button:nth-child(even):nth-child(-n+6),
  #wallGrid > button:nth-child(n+7) { grid-column: span 1; grid-template-columns: 1fr !important; grid-template-areas: "shot" "meta" "bar" !important; }
}
/* .wshot spanned both grid rows and stretched past its image, leaving a dead
   band under every screenshot. Hug the image instead. */
#wallGrid .wshot { align-self: center; }
/* v6 pinned .wsheet .wshot to aspect-ratio 10/7, so the frame kept a 10:7 box
   while the image inside was 16:9. Let the frame take its height from the image. */
#wallGrid .wshot { aspect-ratio: auto; }

/* ─────────── the logo ───────────
   Option 09 redrawn as vector: the generated look, but it recolours,
   scales and stays crisp. The wordmark stays live text in Sora so the
   logo and the site are the same typeface, not a picture of one. */
.brand { gap: .6rem; }
.brand .dot { display: none; }
.bmark { width: 30px; height: 30px; flex: none; color: var(--acc); filter: drop-shadow(0 0 10px rgba(0,224,150,.35)); }
.brand .a { color: var(--acc); }
@media (max-width: 700px) { .bmark { width: 26px; height: 26px; } }
/* .brand is a flex row, so the mint A became its own flex item and the gap
   split the name into "Rent A Web". The wordmark is one item now. */
.brand .bword { display: inline; }
.brand .a { color: var(--acc); }
/* reviews only in the hero, per Brett. The number lives in the nav, the
   document rail and the footer, so nothing is lost by taking it out here. */
.proof-i, .proof-tel { display: none; }
.proof-rate small { font-size: .92rem; }

/* ─────────── work-card hover, second pass ───────────
   The mint bloom was 90px of blur spilling well past the card, so it washed
   over the next row's divider and read as a smear. A crisp mint edge and a
   plain dark shadow say "this is live" without the haze. */
#wallGrid > button:hover .wshot {
  border-color: var(--acc);
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(0,224,150,.3), 0 26px 44px -30px rgba(0,0,0,.95);
}
#wallGrid > button:nth-child(n+7):hover .wshot { transform: translateY(-3px); }
/* The showroom-era rule put `box-shadow: 0 30px 50px -36px mint` and a mint
   border on the BUTTON. Once the button became a full-width, square-cornered
   row, that shadow rendered as a green streak across the divider line, and the
   border tinted the divider itself. The lift and the glow belong to .wshot. */
#wallGrid > button:hover { box-shadow: none; border-color: var(--line); }
#wallGrid > button:hover, #wallGrid > button:nth-child(n+7):hover { transform: none !important; }

/* =========================================================================
   BLOG, SECOND PASS
   Appended for the blog look and feel job. Everything here is scoped to the
   blog templates in blog/build.py: the index (hero, filter bar, card grid)
   and the post page (hero art, reading rhythm, read next).
   Three things it fixes: the grid was a cramped hairline table with no air,
   the posts had no pictures, and there was no way to narrow the list down.
   ========================================================================= */

/* ---------- shared rhythm ---------- */
.blog-hero { padding: clamp(3.6rem, 8vw, 6.5rem) 0 clamp(1.8rem, 3.4vw, 2.6rem); }
.blog-lede { max-width: 58ch; margin-top: 1.25rem; }

/* ---------- the controls ---------- */
.blog-filter { padding: clamp(1.4rem, 3vw, 2.2rem) 0 0; }
.bf {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem;
  justify-content: space-between;
  padding-bottom: 1.15rem; border-bottom: 1px solid var(--line);
}
.bf-vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.bf-find { position: relative; flex: 1 1 260px; max-width: 380px; min-width: 0; }
.bf-ico {
  position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--muted-2); pointer-events: none;
}
.bf-in {
  width: 100%; background: #0F1318; color: var(--text);
  border: 1px solid var(--line-2); border-radius: 10px;
  padding: .78rem 2.5rem .78rem 2.45rem;
  font-family: var(--sans); font-size: .95rem; -webkit-appearance: none; appearance: none;
}
.bf-in::placeholder { color: var(--muted-2); }
.bf-in::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.bf-in:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-tint); }
.bf-clear {
  position: absolute; right: .45rem; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 8px; cursor: pointer;
  color: var(--muted); font-size: 1.15rem; line-height: 1;
}
.bf-clear:hover { color: var(--white); background: var(--surface-2); }

.bf-cats { display: flex; flex-wrap: wrap; gap: .5rem; }
.bchip {
  display: inline-flex; align-items: baseline; gap: .45rem; cursor: pointer;
  background: var(--surface); color: var(--muted);
  border: 1px solid var(--line); border-radius: 9px;
  padding: .52rem .85rem;
  font-family: var(--disp); font-weight: 600; font-size: .84rem; letter-spacing: -.01em;
  transition: color .16s, border-color .16s, background .16s;
}
.bchip:hover { color: var(--white); border-color: var(--line-2); background: var(--surface-2); }
.bchip-n { font-size: .74rem; font-weight: 600; opacity: .6; font-variant-numeric: tabular-nums; }
.bchip.is-on { background: var(--acc); color: var(--acc-tx); border-color: var(--acc); }
.bchip.is-on .bchip-n { opacity: .72; }
.bchip:focus-visible, .bf-clear:focus-visible, .bf-reset:focus-visible,
.pcardb:focus-visible, .rel:focus-visible {
  outline: 2px solid var(--acc); outline-offset: 3px;
}

.bf-count {
  margin: .95rem 0 0; color: var(--muted-2);
  font-size: .87rem; letter-spacing: .01em;
}
.bf-empty {
  margin: clamp(2.5rem, 6vw, 4rem) auto; text-align: center;
  color: var(--muted); font-size: 1.02rem;
}
.bf-reset {
  background: transparent; border: 0; padding: 0; cursor: pointer;
  color: var(--acc); font: inherit; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.bf-reset:hover { color: var(--acc-l); }

/* ---------- the card grid ---------- */
.plist { padding: clamp(2rem, 4vw, 3rem) 0 clamp(3.5rem, 8vw, 5.5rem); }
.pgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: clamp(1.5rem, 2.6vw, 2.4rem);
  border: 0; border-radius: 0; overflow: visible;
}

.pcardb {
  display: grid; grid-template-rows: auto 1fr; padding: 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.pcardb:hover {
  background: var(--surface-2); border-color: var(--acc-line); transform: translateY(-3px);
}

.pshot {
  position: relative; display: block; aspect-ratio: 16 / 9;
  background: var(--bg); border-bottom: 1px solid var(--line); overflow: hidden;
}
.pshot img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.pcardb:hover .pshot img { transform: scale(1.035); }

.pbody { display: flex; flex-direction: column; padding: 1.5rem 1.45rem 1.4rem; }
.pkrow { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.pk {
  background: var(--acc-tint); border-color: var(--acc-line); color: var(--acc);
  border-radius: 6px; padding: .3rem .6rem; font-size: .68rem;
}
.pflag {
  display: inline-block; background: var(--acc); color: var(--acc-tx);
  border-radius: 6px; padding: .3rem .6rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.pcardb b { margin: .85rem 0 .6rem; font-size: 1.18rem; line-height: 1.3; }
.pcardb .px { color: var(--muted); }
.pm {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: auto; padding-top: 1.3rem; color: var(--muted-2); font-size: .82rem;
}

/* the newest post, given the room it deserves */
.pcardb.is-lead {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-rows: auto;
}
.pcardb.is-lead .pshot { aspect-ratio: auto; min-height: 260px; border-bottom: 0; border-right: 1px solid var(--line); }
.pcardb.is-lead .pbody { padding: clamp(1.7rem, 3.2vw, 2.6rem); justify-content: center; }
.pcardb.is-lead b {
  font-size: clamp(1.45rem, 2.7vw, 2.05rem); line-height: 1.14;
  letter-spacing: -.03em; margin: 1.1rem 0 .75rem;
}
.pcardb.is-lead .px { font-size: 1.02rem; line-height: 1.66; max-width: 46ch; }
.pcardb.is-lead .pm { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.readon { color: var(--acc); font-weight: 600; }

/* in a filtered list there is no lead, so it drops back into the rank */
.pgrid.is-filtered .pcardb.is-lead { grid-column: auto; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.pgrid.is-filtered .pcardb.is-lead .pshot { aspect-ratio: 16 / 9; min-height: 0; border-bottom: 1px solid var(--line); border-right: 0; }
.pgrid.is-filtered .pcardb.is-lead .pbody { padding: 1.5rem 1.45rem 1.4rem; }
.pgrid.is-filtered .pcardb.is-lead b { font-size: 1.18rem; line-height: 1.3; letter-spacing: -.024em; margin: .85rem 0 .6rem; }
.pgrid.is-filtered .pcardb.is-lead .px { font-size: .93rem; line-height: 1.62; max-width: none; }
.pgrid.is-filtered .pcardb.is-lead .pm { margin-top: auto; padding-top: 1.3rem; border-top: 0; }
.pgrid.is-filtered .pflag { display: none; }

@media (max-width: 820px) {
  .pcardb.is-lead { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .pcardb.is-lead .pshot { aspect-ratio: 16 / 9; min-height: 0; border-bottom: 1px solid var(--line); border-right: 0; }
  .pcardb.is-lead b { font-size: clamp(1.35rem, 5vw, 1.7rem); }
}
@media (max-width: 700px) {
  .pgrid { grid-template-columns: 1fr; gap: 1.4rem; }
  .bf { gap: .9rem; }
  .bf-find { max-width: none; flex: 1 1 100%; }
  .bf-cats { gap: .45rem; }
  .bchip { font-size: .8rem; padding: .48rem .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pcardb, .pshot img, .rel { transition: none; }
  .pcardb:hover { transform: none; }
  .pcardb:hover .pshot img { transform: none; }
}

/* ---------- the post page ---------- */
.post-head { padding-bottom: clamp(1.6rem, 3.4vw, 2.4rem); }
.post-lede { max-width: 56ch; }
.crumbs a:hover { color: var(--acc); }

.post-shot { margin: 0; padding: clamp(.6rem, 1.6vw, 1.2rem) 0 0; }
.post-shot img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
}
.post-body { padding-top: clamp(2rem, 4.5vw, 3.2rem); }
.post-body > p:first-of-type { font-size: 1.14rem; line-height: 1.72; color: var(--white); }
.post-body h2 { margin-top: 3.2rem; }
.post-toc { margin-bottom: clamp(2.4rem, 5vw, 3.2rem); padding: 1.45rem 1.6rem; }

.relwrap { padding-top: clamp(2.8rem, 6vw, 4rem); }
.relgrid { gap: clamp(1.2rem, 2.2vw, 1.8rem); }
.rel { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.rel-shot {
  position: relative; display: block; aspect-ratio: 16 / 9;
  background: var(--bg); border-bottom: 1px solid var(--line); overflow: hidden;
}
.rel-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rel-c { display: block; padding: 1.3rem 1.35rem 1.4rem; }
.rel:hover { border-color: var(--acc-line); }

/* ─────────── brand tint on the blog photography ───────────
   Done in CSS, not baked into the files, so the strength stays dialable and
   every future engine post inherits it without regenerating anything.
   .pshot is the frame, .pimg the photograph. */
.pshot { position: relative; overflow: hidden; display: block; background: var(--bg-2); }
.pshot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(0,224,150,.55), rgba(0,120,110,.30) 55%, rgba(11,13,16,.55));
  mix-blend-mode: color; opacity: var(--tint, .72); transition: opacity .45s ease;
}
/* a second, very light pass that deepens the shadows so the mint never goes chalky */
.pshot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(11,13,16,0) 40%, rgba(11,13,16,.55));
  opacity: var(--tint, .72); transition: opacity .45s ease;
}
.pimg { transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .45s ease; filter: saturate(.75) contrast(1.05); }

/* the photograph returns to full colour when you go near it */
a:hover > .pshot::after, a:hover > .pshot::before,
.pcardb:hover .pshot::after, .pcardb:hover .pshot::before { opacity: .12; }
a:hover > .pshot .pimg, .pcardb:hover .pshot .pimg { filter: saturate(1) contrast(1); transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) { .pimg { transition: none; } .pimg, a:hover > .pshot .pimg { transform: none; } }
