/* ============================================================
   PINE & PADDLE — "NORTH SHORE" THEME · THE OUTFITTER'S FIELD CATALOG
   A vintage expedition-catalog design system: aged canvas paper
   with a faint graph grid, deep ink type, rubber stamps, washi
   tape, ticket buttons with hard print shadows, rotated catalog
   plates for products, a ruled field-journal page and a postcard
   newsletter. Stencil (Oswald) + editorial serif (Fraunces) +
   handwriting (Caveat).
   Loaded AFTER site.css; everything scoped to body.t-ns so the
   Heritage theme is untouched. Admin pages never get this class.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
body.t-ns {
  --ink: #221f17;
  --red: #a8351f;          /* stamp red — CTAs (paper text ≈ 5.6:1) */
  --red-glow: #93301c;     /* stamp red as text on paper (≈ 6:1) */
  --rust: #a8351f;
  --pine: #51603f;
  --sage: #51603f;
  --bg: #e9dfc8;           /* aged canvas */
  --bg-2: #e0d4b8;
  --bg-3: #d7caa9;
  --surface: #f7f0dd;      /* catalog sheet */
  --surface-2: #ece2c8;
  --line: #c4b48c;
  --text: #221f17;
  --muted: #5b543f;
  --muted-2: #7c7459;
  --amber: #8f6b1d;
  --radius: 6px;           /* print pieces are square-ish */
  --radius-lg: 10px;
  --shadow: 6px 7px 0 rgba(34, 31, 23, .82);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --stencil: "Oswald", "Arial Narrow", sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --race: "Oswald", sans-serif;
  background: var(--bg);
  color: var(--text);
}
body.t-ns ::selection { background: var(--red); color: #f7f0dd; }

/* Paper: grain + faint graph-paper grid over the whole catalog */
body.t-ns::before {
  opacity: 1;
  background:
    repeating-linear-gradient(135deg, rgba(34, 31, 23, .02) 0 2px, transparent 2px 6px),
    radial-gradient(rgba(34, 31, 23, .055) 1px, transparent 1.4px);
  background-size: auto, 26px 26px;
}
/* Sun-bleached edges, like a catalog left on the dash all summer */
body.t-ns::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 250, 235, .55), transparent 60%),
    radial-gradient(900px 500px at 100% 110%, rgba(168, 53, 31, .05), transparent 60%);
}
body.t-ns .sitebg__stars { display: none; }
body.t-ns .sitebg__range { opacity: .07; }
body.t-ns .sitebg__fog { opacity: .15; }

/* ---------- 2. Type system ---------- */
body.t-ns .section__title,
body.t-ns .newsletter h2,
body.t-ns .modal__info h2,
body.t-ns .auth__title,
body.t-ns .cart__head h3,
body.t-ns .giveaway__title,
body.t-ns .launch-banner__title,
body.t-ns .store-empty h3,
body.t-ns .listing__head h1,
body.t-ns .listing__head h2 {
  text-transform: none;
  letter-spacing: -.015em;
  font-weight: 600;
}
body.t-ns .section__title { font-size: clamp(1.9rem, 4.2vw, 3rem); }
body.t-ns .pd-title { font-weight: 600; letter-spacing: -.015em; }

/* Labels & eyebrows: stencil, stamped red */
body.t-ns .section__eyebrow,
body.t-ns .hero__eyebrow,
body.t-ns .filters__group h4,
body.t-ns .shop__sort label,
body.t-ns .opt__label,
body.t-ns .fitments__label,
body.t-ns .kit__label,
body.t-ns .pd-drop__label,
body.t-ns .cart-suggest h5,
body.t-ns .track-step__label,
body.t-ns .builder__grouphead {
  font-family: var(--stencil);
  font-weight: 600;
}
body.t-ns .section__eyebrow { color: var(--red-glow); letter-spacing: .2em; }
body.t-ns .section__eyebrow::before { background: var(--red); height: 3px; }
body.t-ns .section__link {
  font-family: var(--stencil); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; font-size: .85rem; color: var(--red-glow);
  border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
body.t-ns .section__link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- 3. Buttons — print-shop tickets ---------- */
body.t-ns .btn {
  font-family: var(--stencil);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .92rem;
  border-radius: 3px;
  padding: .85rem 1.5rem;
  border: 2px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
}
body.t-ns .btn:hover:not(:disabled) {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
body.t-ns .btn:not(:disabled):active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}
body.t-ns .btn--primary {
  background: var(--red);
  background-image: none;
  color: #f7f0dd;
}
body.t-ns .btn--primary:hover:not(:disabled) {
  background: #93301c; filter: none;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
body.t-ns .btn--ghost { background: var(--surface); border: 2px solid var(--ink); color: var(--ink); }
body.t-ns .btn--ghost:hover { background: var(--surface-2); color: var(--ink); border-color: var(--ink); }
body.t-ns .btn--buynow { background: var(--pine); color: #f7f0dd; box-shadow: 4px 4px 0 var(--ink); }
body.t-ns .btn--buynow:hover:not(:disabled) { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); filter: none; }
body.t-ns .btn.is-added {
  background: var(--pine) !important; color: #f7f0dd !important;
  box-shadow: 4px 4px 0 var(--ink) !important;
}
body.t-ns .btn--lg { padding: 1rem 2rem; font-size: 1rem; }
body.t-ns .btn--sm { padding: .45rem .9rem; font-size: .78rem; box-shadow: 3px 3px 0 var(--ink); }
body.t-ns .btn--block { box-shadow: 3px 3px 0 var(--ink); }

/* ---------- 4. Rubber stamps & washi tape (shared pieces) ---------- */
body.t-ns .fc-stamp {
  display: inline-block;
  font-family: var(--stencil); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; font-size: .72rem; line-height: 1;
  color: var(--red-glow); border: 2px solid currentColor; border-radius: 4px;
  padding: .38rem .65rem; transform: rotate(-4deg);
  -webkit-mask-image: radial-gradient(circle at 30% 60%, #000 92%, rgba(0,0,0,.55) 100%);
  mask-image: radial-gradient(circle at 30% 60%, #000 92%, rgba(0,0,0,.55) 100%);
}
body.t-ns .fc-stamp--seal { transform: rotate(5deg); color: var(--pine); }
body.t-ns .fc-stamp--corner { position: absolute; top: -1rem; right: 1.2rem; transform: rotate(7deg); background: var(--surface); }
body.t-ns .fc-tape {
  position: absolute; width: 96px; height: 26px; z-index: 3; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 6px, transparent 6px 12px),
    rgba(209, 188, 138, .85);
  box-shadow: 0 2px 5px rgba(34, 31, 23, .18);
  opacity: .92;
}
body.t-ns .fc-tape--tl { top: -12px; left: -30px; transform: rotate(-42deg); }
body.t-ns .fc-tape--tr { top: -12px; right: -30px; transform: rotate(42deg); }
body.t-ns .fc-tape--br { bottom: -12px; right: -30px; transform: rotate(-42deg); }

/* ---------- 5. Announcement bar · header — the catalog masthead ---------- */
body.t-ns .announce {
  background: var(--ink);
  color: #efe7d2;
  font-family: var(--stencil); letter-spacing: .08em; text-transform: uppercase;
  font-size: .76rem;
}
body.t-ns .announce strong { color: #e8b48e; }
body.t-ns .header {
  background: rgba(238, 229, 207, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}
body.t-ns .header.scrolled { background: rgba(243, 235, 216, .98); border-bottom-color: var(--ink); }
body.t-ns .nav__link {
  font-family: var(--stencil); font-weight: 600; letter-spacing: .1em;
  font-size: .84rem; color: var(--muted);
}
body.t-ns .nav__link:hover { color: var(--ink); }
body.t-ns .nav__link::after { background: var(--red); height: 3px; }
body.t-ns .nav__link--admin { color: var(--red-glow); }
body.t-ns .icon-btn { color: var(--ink); border-radius: 4px; }
body.t-ns .icon-btn:hover { background: rgba(34, 31, 23, .08); color: var(--ink); }
@media (hover: none) { body.t-ns .icon-btn:hover { background: none; color: var(--ink); } }
body.t-ns .cart-count { background: var(--red); color: #f7f0dd; }
body.t-ns .acct-email:hover { color: var(--ink); }
body.t-ns .logo__k1 { color: var(--ink); }
body.t-ns .logo__k1 span { color: var(--red-glow); }
body.t-ns .logo__sub { color: var(--muted); }
body.t-ns .logo__emblem { filter: none; }
body.t-ns .searchbar.open { background: rgba(243, 235, 216, .98); }

/* ---------- 6. The poster cover (fc-hero) ---------- */
/* The first screen IS the poster: one hand-illustrated SVG painting
   (gradient sky, rayed sun, shaded ridges, layered pines, mirrored
   water, a paddling canoe, film grain) with type set directly on it. */
body.t-ns .fc-hero {
  position: relative; overflow: hidden;
  min-height: 70vh; min-height: 70svh;
  display: flex; align-items: flex-start;
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(10rem, 22vh, 14rem);
}
body.t-ns .fc-hero__inner {
  position: relative; z-index: 1; width: 100%;
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
}
body.t-ns .fc-cover {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none; z-index: 0;
}
/* Stacked painting layers — each is a static SVG on its own compositor
   surface. Parallax lives on the .fcw wrappers; each layer is bottom-
   anchored with enough sky headroom for its travel so the aggressive
   scroll separation never reveals a gap above it. */
body.t-ns .fcw { position: absolute; inset: 0; pointer-events: none; }
/* Multi-layer scroll parallax runs on pointer-fine devices (desktop)
   only — there the GPU eats it and it's gorgeous. On touch we DON'T
   promote these layers: stacking many `will-change` surfaces behind the
   backdrop-filtered fixed bottom nav glitched its position on iOS, and
   moving heavy SVG layers per-frame was the source of the scroll jank.
   Phones get the static painting + light ambient drift instead. */
@media (hover: hover) and (pointer: fine) {
  body.t-ns .fcw--sky, body.t-ns .fcw--far, body.t-ns .fcw--mid {
    will-change: transform; transform: translateZ(0); backface-visibility: hidden;
  }
  body.t-ns .fc-hero__inner { will-change: transform; }
}
body.t-ns .fcl {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: 118%; display: block;
}
body.t-ns .fcw--sky .fcl { height: 148%; }
body.t-ns .fcw--far .fcl { height: 132%; }
body.t-ns .fcw--mid .fcl { height: 122%; }

/* halftone print dots over the sky */
body.t-ns .fc-cover__dots {
  position: absolute; inset: 0 0 45% 0;
  background-image: radial-gradient(rgba(168, 53, 31, .11) 1px, transparent 1.5px);
  background-size: 8px 8px;
}
/* only the very bottom melts into the catalog paper */
body.t-ns .fc-cover__fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 90%, rgba(233, 223, 200, .65) 97%, var(--bg) 100%);
}

/* ---- live layers: plain divs over the static painting, animated with
       transform/opacity only so the compositor keeps them at 60fps ---- */
body.t-ns .fc-live__clouds {
  position: absolute; left: -50%; width: 200%; height: 140px; top: 9%;
  pointer-events: none; will-change: transform;
  background:
    radial-gradient(160px 28px at 18% 50%, rgba(250, 243, 224, .8), transparent 70%),
    radial-gradient(210px 32px at 52% 38%, rgba(250, 243, 224, .65), transparent 70%),
    radial-gradient(170px 26px at 84% 60%, rgba(250, 243, 224, .6), transparent 70%);
}
body.t-ns .fc-live__clouds--2 { top: 22%; opacity: .8; }
body.t-ns .fc-live__mist {
  position: absolute; left: -50%; width: 200%; bottom: 24%; height: 90px;
  pointer-events: none; will-change: transform;
  background: linear-gradient(180deg, transparent, rgba(248, 240, 220, .5) 50%, transparent);
  filter: blur(6px);
}
body.t-ns .fc-live__birds { position: absolute; top: 13%; left: 0; width: 100%; height: 40px; pointer-events: none; will-change: transform; }
body.t-ns .fc-live__birds span { position: absolute; width: 14px; height: 8px; }
body.t-ns .fc-live__birds span::before,
body.t-ns .fc-live__birds span::after {
  content: ""; position: absolute; top: 0; width: 11px; height: 2.6px;
  background: rgba(51, 43, 29, .8); border-radius: 2px; transform-origin: right center;
}
body.t-ns .fc-live__birds span::before { left: 0; transform: rotate(22deg); }
body.t-ns .fc-live__birds span::after { right: 0; transform-origin: left center; transform: rotate(-22deg); }
body.t-ns .fc-live__birds span:nth-child(1) { left: 0; top: 0; }
body.t-ns .fc-live__birds span:nth-child(2) { left: 26px; top: 11px; }
body.t-ns .fc-live__birds span:nth-child(3) { left: 52px; top: 3px; }
body.t-ns .fc-live__canoe {
  position: absolute; bottom: 7%; left: 0; pointer-events: none; will-change: transform;
  width: clamp(120px, 16vw, 180px); aspect-ratio: 120 / 54;
  transform: translateX(-110vw);
}
body.t-ns .fc-live__canoe-bob {
  position: absolute; inset: 0; will-change: transform;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 54'%3E%3Cg fill='%232f2a1b'%3E%3Cpath d='M12 28 C28 34.5 92 34.5 108 28 C104 37.5 88 42.5 60 42.5 C32 42.5 16 37.5 12 28 Z'/%3E%3Ccircle cx='60' cy='10.5' r='4.6'/%3E%3Cpath d='M55 16 C53.5 21 53.5 25 55.5 29.5 L64.5 29.5 C66.5 25 66.5 21 65 16 Z'/%3E%3Cg transform='rotate(32 52 24)'%3E%3Crect x='50.6' y='5' width='2.8' height='27' rx='1.4'/%3E%3Cellipse cx='52' cy='37' rx='4' ry='7'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
body.t-ns .fc-live__canoe-bob::after {
  content: ""; position: absolute; top: 84%; left: 0; right: 0; height: 52%;
  background: inherit; transform: scaleY(-1); opacity: .18;
}
body.t-ns .fc-live__canoe-bob::before {
  content: ""; position: absolute; right: 86%; top: 64%;
  width: 110px; height: 4px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, rgba(255, 235, 200, .4) 0 16px, transparent 16px 30px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}

/* Phones: shrink the GPU compositing footprint hard. Five viewport-sized
   SVG surfaces (worst: the feTurbulence grain, which rasterises at device
   pixels) plus per-layer entrance animations exhausted iOS tile memory —
   and when Safari runs out, position:fixed elements (the bottom nav)
   detach and ride up with the scroll. Phones keep: one merged-look static
   painting (sky/far/mid/near at natural size), the dot texture, the canoe
   and one cloud. No grain layer, no per-layer entrances, no headroom. */
@media (max-width: 760px) {
  body.t-ns .fcl--grain,
  body.t-ns .fc-live__clouds--2,
  body.t-ns .fc-live__mist,
  body.t-ns .fc-live__birds { display: none; }
  body.t-ns .fcl,
  body.t-ns .fcw--sky .fcl,
  body.t-ns .fcw--far .fcl,
  body.t-ns .fcw--mid .fcl { height: 100%; }
  body.t-ns .fc-live__clouds--1,
  body.t-ns .fc-live__canoe,
  body.t-ns .fc-live__canoe-bob { will-change: auto; }
  /* no fixed full-screen sun-bleach overlay competing for layers either */
  body.t-ns::after { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Phones: a single fade on the whole cover (animating five full-screen
     SVGs promotes them all — see the tile-memory note above). */
  body.t-ns .fc-cover { animation: heroFade 1s ease backwards; }
  /* Desktop: the cinematic back-to-front assembly. fill is `backwards`
     so the rAF parallax owns transform after the entrance finishes. */
  @media (hover: hover) and (pointer: fine) {
    body.t-ns .fc-cover { animation: none; }
    body.t-ns .fcl--sky { animation: heroFade 1.1s ease backwards; }
    body.t-ns .fcl--far { animation: fclIn 1s cubic-bezier(.16, 1, .3, 1) .15s backwards; }
    body.t-ns .fcl--mid { animation: fclIn 1s cubic-bezier(.16, 1, .3, 1) .32s backwards; }
    body.t-ns .fcl--near { animation: fclIn 1s cubic-bezier(.16, 1, .3, 1) .5s backwards; }
    body.t-ns .fcl--grain { animation: heroFade 1.6s ease backwards; }
  }

  body.t-ns .fc-live__clouds--1 { animation: pp-drift 110s linear infinite; }
  body.t-ns .fc-live__clouds--2 { animation: pp-drift 160s linear infinite reverse; }
  body.t-ns .fc-live__mist { animation: pp-drift 90s linear infinite reverse; }
  body.t-ns .fc-live__birds { animation: fcpFly 55s linear infinite; }
  body.t-ns .fc-live__canoe { animation: fcpCross 85s linear infinite; }
  body.t-ns .fc-live__canoe-bob { animation: fcpBob 4.5s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  body.t-ns .fc-live__canoe { transform: translateX(38vw); } /* parked on the lake */
}
@keyframes fclIn { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes fcpFly { from { transform: translate(-12vw, 30px); } to { transform: translate(112vw, -50px); } }
@keyframes fcpCross { from { transform: translateX(-30vw); } to { transform: translateX(115vw); } }
@keyframes fcpBob { 0%, 100% { transform: translateY(0) rotate(-1.1deg); } 50% { transform: translateY(4px) rotate(1.1deg); } }

@media (max-width: 760px) {
  body.t-ns .fc-hero { min-height: 72vh; min-height: 72svh; padding-bottom: clamp(9rem, 22vh, 12rem); }
}

/* ---------- 6b. Catalog contents strip (index + postcard) ---------- */
body.t-ns .fc-contents { position: relative; z-index: 1; background: var(--bg); border-top: 3px solid var(--ink); }
body.t-ns .fc-contents__grid {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2.2rem, 4.5vw, 3.8rem) 1.5rem;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center;
}
body.t-ns .fc-contents .fc-postcard { margin: 0 .5rem 0 0; }
body.t-ns .fc-contents .fc-proof { margin-top: 1.5rem; }
@media (max-width: 980px) {
  body.t-ns .fc-contents__grid { grid-template-columns: 1fr; }
  body.t-ns .fc-contents .fc-postcard { order: -1; margin: 0 .4rem .6rem 0; }
}

body.t-ns .fc-hero__masthead {
  display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
  padding-bottom: .95rem; border-bottom: 3px solid var(--ink);
}
body.t-ns .fc-hero__issue {
  font-family: var(--stencil); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; font-size: .74rem; color: var(--muted);
}
body.t-ns .fc-hero__title { display: flex; flex-direction: column; align-items: flex-start; margin: 1.5rem 0 1.2rem; }
body.t-ns .fc-hero__big {
  font-family: var(--stencil); font-weight: 700; line-height: .92;
  font-size: clamp(3.2rem, 8.4vw, 6.6rem); letter-spacing: .005em; color: var(--ink);
  text-shadow: 0 1px 0 rgba(247, 240, 221, .5), 0 2px 22px rgba(247, 240, 221, .7);
}
body.t-ns .fc-hero__big em { font-style: normal; color: var(--red); }
body.t-ns .fc-hero__script {
  align-self: flex-start;          /* hug the word so its underline doesn't streak the hero */
  font-family: var(--hand); font-weight: 700; line-height: .9;
  font-size: clamp(2.7rem, 6.6vw, 5.2rem); color: var(--red-glow);
  transform: rotate(-2.5deg); margin: .05em 0 0 .35em;
  text-shadow: 0 1px 0 rgba(247, 240, 221, .55), 0 2px 18px rgba(247, 240, 221, .75);
}
/* darker, fully-opaque subtitle with a cream halo so it stays crisp where
   it crosses the forest treeline */
body.t-ns .fc-hero__sub {
  color: #2c2818; font-weight: 600; max-width: 42ch; font-size: 1.05rem;
  line-height: 1.6; margin: 0 0 1.5rem;
  text-shadow: 0 1px 0 rgba(247, 240, 221, .85), 0 1px 14px rgba(247, 240, 221, .9);
}
body.t-ns .fc-hero__issue { text-shadow: 0 1px 10px rgba(247, 240, 221, .8); }
body.t-ns .fc-hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

/* Catalog contents index */
body.t-ns .fc-index { border-top: 3px solid var(--ink); }
body.t-ns .fc-index__head {
  font-family: var(--stencil); font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; font-size: .72rem; color: var(--muted);
  margin: .7rem 0 .2rem;
}
body.t-ns .fc-index a {
  display: flex; align-items: baseline; gap: .9rem;
  padding: .62rem .2rem; border-bottom: 2px dotted rgba(34, 31, 23, .35);
  transition: background .15s ease, padding-left .2s ease;
}
body.t-ns .fc-index a:hover { background: rgba(34, 31, 23, .05); padding-left: .6rem; }
body.t-ns .fc-index span {
  font-family: var(--stencil); font-weight: 600; font-size: .78rem;
  letter-spacing: .1em; color: var(--red-glow); flex: none;
}
body.t-ns .fc-index b { font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
body.t-ns .fc-index i {
  margin-left: auto; font-style: normal; color: var(--muted-2);
  transition: transform .2s ease, color .2s ease;
}
body.t-ns .fc-index a:hover i { transform: translateX(5px); color: var(--red-glow); }

/* The taped-down postcard holding the animated lake scene */
body.t-ns .fc-postcard {
  position: relative; margin: .5rem .5rem 0 0;
  background: var(--surface); border: 2px solid var(--ink);
  padding: .8rem .8rem 0; transform: rotate(1.6deg);
  box-shadow: 9px 10px 0 rgba(34, 31, 23, .85);
}
body.t-ns .fc-postcard__scene {
  position: relative; aspect-ratio: 4 / 3.1; overflow: hidden;
  border: 2px solid var(--ink); background: #0d1117;
}
body.t-ns .fc-postcard__scene .scene { position: absolute; inset: 0; }
body.t-ns .fc-postcard__caption {
  font-family: var(--hand); font-weight: 600; font-size: 1.25rem; color: var(--ink);
  text-align: center; padding: .55rem .4rem .7rem; margin: 0;
}

/* Proof pills under the postcard — stamped luggage tags */
body.t-ns .fc-proof {
  list-style: none; display: flex; flex-wrap: wrap; gap: .6rem;
  margin: 1.4rem 0 0; padding: 0;
}
body.t-ns .fc-proof li {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--stencil); font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; font-size: .72rem; color: var(--ink);
  border: 2px dashed rgba(34, 31, 23, .55); border-radius: 4px;
  padding: .45rem .7rem; background: rgba(247, 240, 221, .7);
}
body.t-ns .fc-proof svg { width: 17px; height: 17px; color: var(--red-glow); flex: none; }

/* ---------- 7. Numbered section heads (catalog plates) ---------- */
body.t-ns .fc-secthead { align-items: center; gap: 1.2rem; justify-content: flex-start; }
body.t-ns .fc-secthead > a { margin-left: auto; }
body.t-ns .fc-no {
  font-family: var(--stencil); font-weight: 700; line-height: .8;
  font-size: clamp(4rem, 9vw, 7.5rem);
  color: transparent; -webkit-text-stroke: 2px rgba(34, 31, 23, .3);
  flex: none; user-select: none;
}
body.t-ns .section--featured::before { display: none; }

/* ---------- 8. Product cards — numbered catalog plates ---------- */
body.t-ns .card {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 5px;
  box-shadow: 5px 5px 0 rgba(34, 31, 23, .85);
}
body.t-ns .product-grid .card:nth-child(odd) { transform: rotate(-.55deg); }
body.t-ns .product-grid .card:nth-child(even) { transform: rotate(.5deg); }
body.t-ns .card:hover {
  transform: translate(-3px, -4px) rotate(0deg);
  border-color: var(--ink);
  box-shadow: 9px 10px 0 rgba(34, 31, 23, .85);
}
body.t-ns .card::after { background: var(--red); height: 4px; border-radius: 0; }
body.t-ns .card__media { background: #efe6cf; border-bottom: 2px solid var(--ink); }
body.t-ns .card__media::after { background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .3) 50%, transparent 62%); }
body.t-ns .card__brand {
  font-family: var(--stencil); font-weight: 600; letter-spacing: .14em; color: var(--red-glow);
}
body.t-ns .card__name { font-family: var(--display); font-weight: 600; }
body.t-ns .card__name-link:hover .card__name { color: var(--red-glow); }
body.t-ns .card__price strong { font-family: var(--stencil); font-weight: 700; letter-spacing: .01em; }
body.t-ns .badge {
  border: 2px solid currentColor; border-radius: 4px; background: var(--surface);
  transform: rotate(-3deg); font-family: var(--stencil); letter-spacing: .1em;
}
body.t-ns .badge--new { color: var(--pine); background: var(--surface); }
body.t-ns .badge--sale { color: var(--red-glow); background: var(--surface); }
body.t-ns .card__save { color: #2c6b39; background: rgba(44, 107, 57, .1); }
body.t-ns .stock--low { color: #8f5410; }
body.t-ns .stars { color: #a87b16; }
body.t-ns .card__drop { color: #f7f0dd; background: var(--pine); border-radius: 3px; }
body.t-ns .card__quick { border-radius: 4px; }

/* ---------- 9. Collection tiles — pinned postcards ---------- */
body.t-ns .cat-card {
  background: var(--surface); border: 2px solid var(--ink); border-radius: 5px;
  box-shadow: 5px 5px 0 rgba(34, 31, 23, .85);
}
body.t-ns .cat-grid .cat-card:nth-child(odd) { transform: rotate(-.7deg); }
body.t-ns .cat-grid .cat-card:nth-child(even) { transform: rotate(.6deg); }
body.t-ns .cat-card:hover { transform: translate(-3px, -4px) rotate(0deg); border-color: var(--ink); box-shadow: 9px 10px 0 rgba(34, 31, 23, .85); }
body.t-ns .cat-card::before { background: radial-gradient(400px 200px at 100% 0%, rgba(168, 53, 31, .08), transparent 70%); }
body.t-ns .cat-card__icon { color: var(--red-glow); }
body.t-ns .cat-card__name { font-family: var(--display); }
body.t-ns .cat-card__count { color: var(--red-glow); }
body.t-ns .cat-card--plain { background: linear-gradient(160deg, #ece2c8, #ded2b2); }
body.t-ns .cat-card--photo .cat-card__go { color: #f3c9a6; }
body.t-ns .cat-card--photo:hover { box-shadow: 9px 10px 0 rgba(34, 31, 23, .85); }

/* ---------- 10. Brand ribbon — stencil stamp run ---------- */
body.t-ns .ribbon {
  background: var(--ink);
  border-top: none; border-bottom: none;
}
body.t-ns .ribbon span {
  font-family: var(--stencil); font-weight: 600;
  color: transparent; -webkit-text-stroke: 1px rgba(239, 231, 210, .5);
}
body.t-ns .ribbon span:nth-of-type(even) { color: #efe7d2; -webkit-text-stroke: 0; }
body.t-ns .ribbon i { color: #e8b48e; }

/* ---------- 11. Shop — the order form ---------- */
body.t-ns .section--shop { background: var(--bg-2); border-top: 2px solid var(--ink); }
body.t-ns .filters {
  background: var(--surface); border: 2px solid var(--ink); border-radius: 5px;
  box-shadow: 5px 5px 0 rgba(34, 31, 23, .85);
}
body.t-ns .filters__group { border-bottom: 2px dotted rgba(34, 31, 23, .35); }
body.t-ns .filters__group h4 { color: var(--red-glow); letter-spacing: .14em; }
body.t-ns .check { color: var(--muted); }
body.t-ns .check:hover { color: var(--ink); }
body.t-ns .check input, body.t-ns .price-range input[type=range] { accent-color: var(--red); }
body.t-ns .shop__sort select, body.t-ns .listing__sort select {
  background: var(--surface); border: 2px solid var(--ink); border-radius: 4px; color: var(--ink);
}
body.t-ns .chip { background: var(--surface); border: 2px solid rgba(34, 31, 23, .4); color: var(--muted); }
body.t-ns .chip:hover { color: var(--ink); border-color: var(--ink); }
body.t-ns .chip--on { color: #f7f0dd; background: var(--red); border-color: var(--ink); }
body.t-ns .pager__btn { background: var(--surface); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
body.t-ns .pager__btn:hover { border-color: var(--ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
body.t-ns .brand-chip:hover { color: var(--ink); }
body.t-ns .vehicle-banner strong { color: var(--ink); }
body.t-ns .garage-clear:hover { color: var(--ink); }

/* ---------- 12. The field journal page (No. 03) ---------- */
body.t-ns .fc-journal {
  position: relative; max-width: 940px; margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}
body.t-ns .fc-no--journal {
  position: absolute; top: clamp(.6rem, 2vw, 1.6rem); right: 1rem; z-index: 0;
  font-size: clamp(5rem, 13vw, 11rem); -webkit-text-stroke: 2px rgba(34, 31, 23, .16);
}
body.t-ns .fc-journal__sheet {
  position: relative; z-index: 1;
  background:
    linear-gradient(90deg, transparent 0 56px, rgba(168, 53, 31, .35) 56px 58px, transparent 58px),
    repeating-linear-gradient(transparent 0 34px, rgba(90, 80, 50, .18) 34px 35px),
    #f8f1de;
  border: 2px solid var(--ink);
  box-shadow: 9px 10px 0 rgba(34, 31, 23, .85);
  transform: rotate(-.7deg);
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.4rem, 4vw, 3rem) clamp(1.6rem, 3vw, 2.4rem) clamp(3.4rem, 6vw, 5rem);
}
body.t-ns .fc-journal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 1rem;
}
body.t-ns .fc-journal__date {
  font-family: var(--stencil); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; font-size: .74rem; color: var(--muted);
}
body.t-ns .fc-journal__title {
  font-family: var(--display); font-weight: 600; letter-spacing: -.015em;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.12; margin: 0 0 1.1rem;
}
body.t-ns .fc-journal__title em { font-style: italic; color: var(--red-glow); }
body.t-ns .fc-journal__sheet > p { color: #413b2a; line-height: 35px; margin: 0 0 .4rem; max-width: 62ch; }
body.t-ns .fc-journal__foot {
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.4rem;
}
body.t-ns .fc-journal__hand {
  font-family: var(--hand); font-weight: 700; font-size: 1.9rem; color: var(--red-glow);
  margin: 0; transform: rotate(-2deg);
}
body.t-ns .fc-journal__crest { width: 56px; height: auto; }
body.t-ns .fc-journal__foot .btn { margin-left: auto; }

/* ---------- 13. FAQ — numbered field notes ---------- */
body.t-ns .ns-faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .9rem; counter-reset: fcnote; }
body.t-ns .ns-faq details {
  counter-increment: fcnote;
  background: var(--surface); border: 2px solid var(--ink); border-radius: 5px;
  padding: 0 1.3rem; box-shadow: 4px 4px 0 rgba(34, 31, 23, .85);
  transition: transform .15s ease, box-shadow .15s ease;
}
body.t-ns .ns-faq details[open] { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(34, 31, 23, .85); }
body.t-ns .ns-faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: .9rem;
  padding: 1.05rem 0; font-weight: 650; font-size: 1.02rem; color: var(--ink);
  font-family: var(--display);
}
body.t-ns .ns-faq summary::before {
  content: "No. 0" counter(fcnote);
  font-family: var(--stencil); font-weight: 600; font-size: .76rem;
  letter-spacing: .12em; color: var(--red-glow); flex: none;
}
body.t-ns .ns-faq summary::-webkit-details-marker { display: none; }
body.t-ns .ns-faq__chev {
  flex: none; width: 28px; height: 28px; border-radius: 4px; margin-left: auto;
  display: grid; place-items: center;
  background: var(--surface-2); border: 2px solid var(--ink); color: var(--ink);
  font-size: 1.15rem; line-height: 1;
  transform: rotate(90deg); transition: transform .25s ease, background .2s, color .2s;
}
body.t-ns .ns-faq details[open] .ns-faq__chev { transform: rotate(-90deg); background: var(--red); color: #f7f0dd; }
body.t-ns .ns-faq details p { color: var(--muted); line-height: 1.7; padding: 0 0 1.15rem; margin: 0; max-width: 62ch; }
body.t-ns .ns-faq details a { color: var(--red-glow); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 14. Guarantee — stamped seals ---------- */
body.t-ns .guarantee { background: var(--bg); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
body.t-ns .ns-gicon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 50px; height: 50px; border-radius: 50%;
  border: 2px dashed var(--red-glow); color: var(--red-glow);
  transform: rotate(-6deg);
}
body.t-ns .ns-gicon svg { width: 24px; height: 24px; }
body.t-ns .guarantee__item strong { font-family: var(--display); }

/* ---------- 15. Newsletter — postcard home to base camp ---------- */
body.t-ns .newsletter { background: transparent; border: none; overflow: visible; }
body.t-ns .newsletter::before { display: none; }
body.t-ns .newsletter__inner {
  position: relative; max-width: 980px;
  margin: clamp(1rem, 3vw, 2rem) auto clamp(2.5rem, 5vw, 4rem);
  background: var(--surface); border: 2px solid var(--ink);
  box-shadow: 9px 10px 0 rgba(34, 31, 23, .85);
  transform: rotate(.4deg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
body.t-ns .fc-post__copy { position: relative; }
body.t-ns .newsletter h2 { font-family: var(--display); color: var(--ink); }
body.t-ns .newsletter p { color: var(--muted); }
/* address-line input, like writing on the back of a postcard */
body.t-ns .newsletter__form { align-items: flex-end; }
body.t-ns .newsletter__form input {
  background: transparent; border: none; border-bottom: 2px solid var(--ink);
  border-radius: 0; color: var(--ink); padding: .7rem .2rem;
  font-family: var(--hand); font-size: 1.3rem;
}
body.t-ns .newsletter__form input::placeholder { color: var(--muted-2); }
body.t-ns .newsletter__form input:focus { border-bottom-color: var(--red); }

/* ---------- 16. Footer — the back cover (dark ink) ---------- */
body.t-ns .footer {
  --text: #efe7d2;
  --muted: #b5ab90;
  --muted-2: #8d8469;
  --line: rgba(239, 231, 210, .16);
  --surface: rgba(255, 255, 255, .06);
  background: #1c1914;
  border-top: 2px solid var(--ink);
  color: var(--text);
}
body.t-ns .footer .logo__k1 { color: #efe7d2; }
body.t-ns .footer .logo__k1 span { color: #e8b48e; }
body.t-ns .footer .logo__sub { color: #b5ab90; }
body.t-ns .footer__col a:hover { color: #e8b48e; }
body.t-ns .footer__social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
body.t-ns .footer__bottom a:hover { color: #e8b48e; }
body.t-ns .pay-badge { background: rgba(255, 255, 255, .06); color: #b5ab90; }

/* ---------- 17. Cart drawer · modal — paper slips ---------- */
body.t-ns .cart { background: var(--surface); border-left: 2px solid var(--ink); box-shadow: -10px 0 0 rgba(34, 31, 23, .15); }
body.t-ns .qty { border: 2px solid var(--ink); border-radius: 4px; }
body.t-ns .qty button:hover { background: var(--surface-2); color: var(--ink); }
body.t-ns .ship-track { background: rgba(34, 31, 23, .12); }
body.t-ns .ship-fill { background: linear-gradient(90deg, var(--pine), var(--amber)); }
body.t-ns .ship-msg strong { color: #8f5410; }
body.t-ns .ship-bar--done { color: #2c6b39; }
body.t-ns .cart-suggest { border-top: 2px dashed rgba(34, 31, 23, .35); }
body.t-ns .cart-suggest__add { background: var(--surface-2); border: 2px solid var(--ink); color: var(--ink); }
body.t-ns .cart-suggest__add:hover { background: var(--red); border-color: var(--ink); color: #f7f0dd; }
body.t-ns .cart-suggest__info:hover span { color: var(--red-glow); }
body.t-ns .modal__panel { background: var(--surface); border: 2px solid var(--ink); }
body.t-ns .modal__media { background: radial-gradient(circle at 50% 40%, #f7f0dd, #e6dabb); }
body.t-ns .modal__close { background: var(--surface); color: var(--ink); border: 2px solid var(--ink); }
body.t-ns .modal__close:hover { background: var(--red); color: #f7f0dd; }
body.t-ns .modal__stock.in { color: #2c6b39; }
body.t-ns .modal__stock.out { color: #93301c; }
body.t-ns .save { background: rgba(168, 53, 31, .1); color: var(--red-glow); }
body.t-ns .modal__more { color: var(--red-glow); }
body.t-ns .modal__panel::before { background: var(--line); }

/* ---------- 18. Mobile menu + bottom bar — paper ---------- */
body.t-ns .mobilemenu { background: var(--surface); border-left: 2px solid var(--ink); }
body.t-ns .mobilemenu__head { background: var(--surface); border-bottom: 2px solid var(--ink); }
body.t-ns .mobilemenu__close { background: rgba(34, 31, 23, .06); color: var(--ink); border: 2px solid var(--ink); }
body.t-ns .mobilemenu .nav__link { color: var(--ink); border-bottom-color: rgba(34, 31, 23, .12); }
body.t-ns .mobilemenu .nav__link:active { background: rgba(34, 31, 23, .05); }
body.t-ns .mobilemenu .nav__link--admin { color: var(--red-glow); }
body.t-ns .mobilemenu__foot a { color: var(--red-glow); }
@media (max-width: 760px) {
  /* The bottom bar kept detaching and riding up with the scroll on iOS
     regardless of blur/promotion/memory fixes — so stop using
     position:fixed altogether. The bar is the last element in the page
     flow, and `position: sticky; bottom: 0` on a last-child is handled
     by the scroll compositor itself: pinned to the viewport bottom for
     the whole scroll, immune to every iOS fixed-element drift bug. */
  body.t-ns .mobilebar {
    position: sticky; bottom: 0;
    background: #f3ebd8;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    border-top: 2px solid var(--ink);
  }
  /* the bar occupies real flow space now — drop the padding that
     reserved room for the old fixed bar (it would double the gap) */
  body.t-ns { padding-bottom: 0; }
  /* the floating back-to-top suffers the same fixed-drift bug and the
     sticky bar already carries Home — hide it on phones */
  body.t-ns .to-top { display: none; }
  body.t-ns .mobilebar__item { color: var(--muted); }
  body.t-ns .mobilebar__item:active,
  body.t-ns .mobilebar__item:focus,
  body.t-ns .mobilebar__item.is-active { color: var(--ink); }
  body.t-ns .mobilebar__item.is-active svg { color: var(--red-glow); }
  body.t-ns .mobilebar__item.is-active::before { background: var(--red); }
}

/* ---------- 19. Product page · checkout · misc (paper coverage) ---------- */
body.t-ns .pd-main { background: radial-gradient(circle at 50% 40%, #f7f0dd, #e9ddc0); border: 2px solid var(--ink); }
body.t-ns .pd-thumb { background: #efe6cf; border: 2px solid var(--line); }
body.t-ns .pd-thumb img { background: #efe6cf; }
body.t-ns .pd-thumb.active { border-color: var(--red); }
body.t-ns .pd-stock.in { color: #2c6b39; }
body.t-ns .pd-stock.out { color: #93301c; }
body.t-ns .pd-perks svg { color: var(--red-glow); }
body.t-ns .pd-urgency__bar { background: rgba(34, 31, 23, .12); }
body.t-ns .pd-urgency small { color: #8f5410; }
body.t-ns .pd-drop { background: rgba(168, 53, 31, .08); border: 2px solid rgba(34, 31, 23, .3); }
body.t-ns .pd-zoomhint { background: rgba(34, 31, 23, .75); }
body.t-ns .bnpl { background: var(--surface); border: 2px solid var(--line); }
body.t-ns .pd-notify { background: rgba(81, 96, 63, .07); border: 2px dashed rgba(34, 31, 23, .4); }
body.t-ns .pd-notify__row input { background: var(--surface); }
body.t-ns .fbt { background: var(--surface); border: 2px solid var(--ink); }
body.t-ns .fbt__item img { background: #efe6cf; border: 2px solid var(--line); }
body.t-ns .kit { background: var(--surface); border: 2px solid var(--ink); }
body.t-ns .kit__media { background: #efe6cf; }
body.t-ns .kit__save { background: var(--red); border-radius: 3px; }
body.t-ns .fit-badge { color: #2c6b39; background: rgba(44, 107, 57, .1); border-color: rgba(44, 107, 57, .35); }
body.t-ns .modal__fit-yes { color: #2c6b39; }
body.t-ns .fit-pill--match { color: #2c6b39; border-color: rgba(44, 107, 57, .4); background: rgba(44, 107, 57, .08); }
body.t-ns .fit-pill--uni { color: #8f6b1d; border-color: rgba(143, 107, 29, .45); background: rgba(143, 107, 29, .08); }
body.t-ns .opt-btn { background: var(--surface); border: 2px solid rgba(34, 31, 23, .4); }
body.t-ns .opt-btn:hover { border-color: var(--ink); }
body.t-ns .opt-btn.is-on { border-color: var(--ink); background: rgba(168, 53, 31, .1); }
body.t-ns .swatch.is-on { border-color: var(--red); }
body.t-ns .opt__guide { color: var(--pine); }
body.t-ns .opt__guide:hover { color: var(--red-glow); }
body.t-ns .pd-sizeguide__close, body.t-ns .fitrec__close { background: rgba(34, 31, 23, .06); border: 2px solid var(--ink); }
body.t-ns .pd-sizeguide__guarantee { background: rgba(34, 31, 23, .04); }
body.t-ns .pd-sizeguide__table tbody th { color: var(--red-glow); }
body.t-ns .fitrec__fits label:has(input:checked) { border-color: var(--red); background: rgba(168, 53, 31, .08); }
body.t-ns .fitrec__fits input { accent-color: var(--red); }
body.t-ns .fitrec__result strong { color: var(--red-glow); }
@media (max-width: 760px) {
  body.t-ns .pd-sticky { background: rgba(243, 235, 216, .98); border-top: 2px solid var(--ink); }
}
body.t-ns .co-freeship { background: rgba(81, 96, 63, .1); border: 2px solid rgba(81, 96, 63, .35); }
body.t-ns .co-freeship strong { color: var(--ink); }
body.t-ns .co-freeship a { color: var(--pine); }
body.t-ns .co-coupon__msg.ok { color: #2c6b39; }
body.t-ns .co-coupon__msg.warn { color: #93301c; }
body.t-ns .co-discount { color: #2c6b39; }
body.t-ns .co-success__badge { background: rgba(44, 107, 57, .1); color: #2c6b39; border-color: rgba(44, 107, 57, .5); }
body.t-ns .checkout__summary, body.t-ns .checkout__form { border: 2px solid var(--ink); }
body.t-ns .checkout__note code { background: var(--surface-2); }
body.t-ns .pay-method { background: var(--surface); }
body.t-ns .pay-method--wallet { color: #4a4434; }
body.t-ns .pay-method--bnpl { color: #2c6b39; border-color: rgba(44, 107, 57, .35); }
body.t-ns .auth__card { border: 2px solid var(--ink); box-shadow: 6px 7px 0 rgba(34, 31, 23, .82); }
body.t-ns .auth__error { color: #93301c; background: rgba(147, 48, 28, .07); border-color: rgba(147, 48, 28, .35); }
body.t-ns .auth__alt a { color: var(--red-glow); }
body.t-ns .auth__alt a:hover { color: var(--ink); }
body.t-ns .myorder__addr strong { color: var(--ink); }
body.t-ns .myorder__ship { background: rgba(34, 31, 23, .03); }
body.t-ns .trailpoints { background: rgba(81, 96, 63, .08); border: 2px solid var(--line); }
body.t-ns .trailpoints__track { background: rgba(34, 31, 23, .12); }
body.t-ns .trailpoints__code code { background: rgba(34, 31, 23, .05); color: var(--ink); border-color: var(--pine); }
body.t-ns .info-body a:hover { color: var(--ink); }
body.t-ns .journal-card { background: var(--surface); border: 2px solid var(--line); }
body.t-ns .journal-card:hover { border-color: var(--ink); }
body.t-ns .journal-card__read { color: var(--pine); }
body.t-ns .journal-article__body a { color: var(--pine); }
body.t-ns .journal-article__cta { background: rgba(81, 96, 63, .08); border: 2px solid var(--line); }
body.t-ns .journal-empty { background: rgba(34, 31, 23, .03); }
body.t-ns .builder__tilemedia { background: #efe6cf; }
body.t-ns .builder__noimg { background: linear-gradient(160deg, #ece2c8, #ded2b2); color: var(--muted); }
body.t-ns .builder__rm:hover { color: var(--ink); background: rgba(34, 31, 23, .08); }
body.t-ns .builder__row--save { color: var(--red-glow); }
body.t-ns .builder__card { border: 2px solid var(--ink); box-shadow: 5px 5px 0 rgba(34, 31, 23, .85); }
body.t-ns .builder__tile { border: 2px solid var(--line); }
body.t-ns .builder__tile.is-on { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
body.t-ns .gcd { border: 2px solid var(--ink); box-shadow: 4px 4px 0 rgba(34, 31, 23, .85); }
body.t-ns .gcd__n { color: var(--ink); }
body.t-ns .launch-banner { background: rgba(168, 53, 31, .06); border-bottom: 2px solid var(--ink); }
body.t-ns .launch-banner__countdown { color: var(--ink); }
body.t-ns .giveaway__entries { background: rgba(168, 53, 31, .08); border-color: rgba(168, 53, 31, .3); }
body.t-ns .giveaway__winner { background: rgba(143, 107, 29, .1); border-color: rgba(143, 107, 29, .4); }
body.t-ns .store-empty { background: rgba(34, 31, 23, .02); border: 2px dashed rgba(34, 31, 23, .4); }
body.t-ns .review { background: var(--surface); border: 2px solid var(--line); }
body.t-ns .review__stars { color: #a87b16; }
body.t-ns .reviews, body.t-ns .brands { background: var(--bg-2); }
body.t-ns .finder { background: rgba(247, 240, 221, .9); border: 2px solid var(--ink); }
body.t-ns .track { background: var(--surface); border: 2px solid var(--ink); box-shadow: 6px 7px 0 rgba(34, 31, 23, .82); }
body.t-ns .empty, body.t-ns .listing__empty { color: var(--muted); }

/* Customer notices — .admin__flash is reused on Orders, Rewards, Returns,
   Login, Product, Wholesale etc. The dark theme styles it mint-on-dark
   (#7ee2a8 on a green tint), which is unreadable on paper. */
body.t-ns .admin__flash {
  background: rgba(81, 96, 63, .14);
  border: 2px solid rgba(81, 96, 63, .5);
  color: #38462a;
}
body.t-ns .admin__flash strong { color: #28341c; }
body.t-ns .admin__flash a {
  color: var(--red-glow); font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px;
}
body.t-ns .admin__flash a:hover { color: var(--ink); }
/* the referral share-link input ships inline dark-glass styles
   (white-alpha border/background, color:inherit) — override hard */
body.t-ns .admin__flash input {
  background: var(--surface) !important;
  border: 2px solid rgba(34, 31, 23, .45) !important;
  color: var(--ink) !important;
}
/* fractional star ratings: the unfilled base stars were a dark-theme
   alpha that vanishes on paper */
body.t-ns .starbar__base { color: rgba(143, 107, 29, .35); }

/* ---------- 20. Dark slips that must stay readable on paper ---------- */
body.t-ns .toast { background: var(--ink); border-color: var(--ink); color: #efe7d2; }
body.t-ns .proof-toast { background: rgba(34, 31, 23, .97); color: #efe7d2; border-color: var(--ink); }
body.t-ns .proof-toast small { color: #b5ab90; }
body.t-ns .crewpop__card { --text: #efe7d2; --muted: #c3baa2; --muted-2: #8d8469; border-color: rgba(239, 231, 210, .3); }
body.t-ns .crewpop__eyebrow { color: #9fb284; }
body.t-ns .overlay { background: rgba(28, 25, 20, .5); }
body.t-ns .mm-backdrop { background: rgba(28, 25, 20, .45); }
body.t-ns .pd-lightbox { background: rgba(20, 17, 12, .94); }

/* ---------- 21. Focus + a11y ---------- */
body.t-ns a:focus-visible,
body.t-ns button:focus-visible,
body.t-ns input:focus-visible,
body.t-ns select:focus-visible,
body.t-ns textarea:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}
body.t-ns .skip-link { background: var(--red); color: #f7f0dd; }

/* ---------- 22. Theme preview bar ---------- */
.theme-preview-bar {
  position: relative; z-index: 999;
  display: flex; align-items: center; justify-content: center; gap: 1.1rem; flex-wrap: wrap;
  padding: .55rem 1rem; font-size: .85rem; font-weight: 600;
  background: #221f17; color: #efe7d2;
  border-bottom: 2px solid #221f17;
}
.theme-preview-bar a {
  color: #e8b48e; text-decoration: underline; text-underline-offset: 3px;
  white-space: nowrap;
}
.theme-preview-bar a:hover { color: #fff; }

/* ---------- 23. Motion — stamped, taped, hand-placed ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Cover assembles like a print run: type rises, stamp thunks down,
     postcard drops onto the desk. */
  body.t-ns .fc-hero__masthead { animation: fcRise .7s cubic-bezier(.16, 1, .3, 1) .1s both; }
  body.t-ns .fc-hero__title { animation: fcRise .8s cubic-bezier(.16, 1, .3, 1) .25s both; }
  body.t-ns .fc-hero__sub { animation: fcRise .7s cubic-bezier(.16, 1, .3, 1) .42s both; }
  body.t-ns .fc-hero__cta { animation: fcRise .7s cubic-bezier(.16, 1, .3, 1) .55s both; }
  body.t-ns .fc-index { animation: fcRise .7s cubic-bezier(.16, 1, .3, 1) .68s both; }
  body.t-ns .fc-hero__masthead .fc-stamp { animation: fcStamp .45s cubic-bezier(.34, 1.56, .64, 1) .9s both; }
  body.t-ns .fc-postcard { animation: fcDrop .9s cubic-bezier(.16, 1, .3, 1) .35s both; }
  body.t-ns .fc-proof { animation: fcRise .7s cubic-bezier(.16, 1, .3, 1) .8s both; }
  body.t-ns .fc-proof li { animation: fcStampFlat .4s cubic-bezier(.34, 1.56, .64, 1) both; }
  body.t-ns .fc-proof li:nth-child(1) { animation-delay: 1s; }
  body.t-ns .fc-proof li:nth-child(2) { animation-delay: 1.12s; }
  body.t-ns .fc-proof li:nth-child(3) { animation-delay: 1.24s; }

  /* The postcard breathes on the desk; straightens when studied */
  body.t-ns .fc-postcard { transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
  body.t-ns .fc-postcard:hover { transform: rotate(.4deg) translateY(-4px); }

  /* "wander more" gets underlined by an invisible hand — the script box now
     hugs the word (align-self), so the underline spans the word, not the hero */
  body.t-ns .fc-hero__script { position: relative; }
  body.t-ns .fc-hero__script::after {
    content: ""; position: absolute; left: .08em; right: .12em; bottom: -.04em; height: 4px;
    background: var(--red); border-radius: 2px; transform-origin: left center;
    transform: scaleX(0); animation: fcUnderline .6s ease-out 1.3s forwards;
  }

  /* Plates straighten + lift handled above; seals wobble gently */
  body.t-ns .ns-gicon { animation: fcSway 6s ease-in-out infinite; }
  body.t-ns .guarantee__item:nth-child(2) .ns-gicon { animation-delay: 1.1s; }
  body.t-ns .guarantee__item:nth-child(3) .ns-gicon { animation-delay: 2.2s; }

  body.t-ns .ns-faq details p { animation: nsFaqIn .3s ease; }
}
@keyframes fcRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fcStamp {
  from { opacity: 0; transform: scale(1.9) rotate(-14deg); }
  to   { opacity: 1; transform: scale(1) rotate(-4deg); }
}
@keyframes fcStampFlat {
  from { opacity: 0; transform: scale(1.7) rotate(-7deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes fcDrop {
  from { opacity: 0; transform: rotate(5deg) translateY(-30px); }
  to   { opacity: 1; transform: rotate(1.6deg) translateY(0); }
}
@keyframes fcUnderline { to { transform: scaleX(1); } }
@keyframes fcSway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(2deg); } }
@keyframes nsFaqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 24. Responsive ---------- */
@media (max-width: 760px) {
  body.t-ns .section__title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  body.t-ns .fc-no { font-size: clamp(3rem, 14vw, 4.5rem); -webkit-text-stroke-width: 1.5px; }
  body.t-ns .fc-hero__big { font-size: clamp(3.1rem, 14vw, 4.6rem); }
  body.t-ns .fc-hero__script { font-size: clamp(2.5rem, 11vw, 3.6rem); }
  body.t-ns .fc-journal__sheet { padding-left: 2.6rem; transform: rotate(0); }
  body.t-ns .fc-no--journal { font-size: 4.5rem; }
  body.t-ns .newsletter__inner { transform: none; }
  body.t-ns .fc-stamp--corner { top: -.8rem; right: .8rem; }
  body.t-ns .btn { padding: .8rem 1.2rem; }
  body.t-ns .product-grid .card:nth-child(odd),
  body.t-ns .product-grid .card:nth-child(even) { transform: none; } /* tight 2-up grid stays tidy */
}
