/* ==========================================================================
   AFTER HOURS: Privacy Policy (prefix lg-)
   The scenes of this page only. Shared pieces come from css/theme.css.
   hero: the back display case after close, lit from inside. Your file sits on
         the velvet riser, and it wears a NOT FOR SALE price tag (tap to swing).
   policy: the fine print. A ledger index stub (sticky on desktop) beside one
         long cream sheet clipped to the wall: a pawn-ticket head, tear lines
         with notches between the sections, a taped note, a ledger table and
         the shop's business card at the end.
   closing: the short close (no booking band on a legal page): the closing line,
         the Apply button and the NOT FOR SALE tag again, hung on a nail.
   No homepage-only pieces here (no lamp, no neon OPEN sign, no shop door).
   Readability first: comfortable measure, 17px text, no tilted paragraphs.
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO: the case sits on the counter (the counter edge is the hero's seam)
   -------------------------------------------------------------------------- */
.lg-hero { padding-bottom: 30px; }
.lg-hero .ah-phero__copy { position: relative; z-index: 2; padding-bottom: clamp(30px, 5vw, 56px); }
.lg-hero .ah-phero__object { align-self: end; }
@media (min-width: 1000px) {
  .lg-hero .ah-phero__copy { align-self: center; padding-bottom: clamp(40px, 5vw, 70px); }
}

/* the display case: every size is in cqi of the case, so it draws the same at 320 and 1440 */
.lg-case { position: relative; width: min(100%, 520px); margin: 0 auto; padding-top: 2cqi; container-type: inline-size; }
.lg-case__frame {
  position: relative; padding: 3cqi 3cqi 4.4cqi;
  border: 2px solid var(--ah-950); border-radius: 3.4cqi 3.4cqi 1.4cqi 1.4cqi;
  background: linear-gradient(135deg, #e7edf4 0%, #a7b3c3 22%, #dfe6ee 44%, #8996a8 70%, #cfd7e1 100%);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}
.lg-case__screw { position: absolute; top: 1cqi; width: 1.8cqi; height: 1.8cqi; min-width: 7px; min-height: 7px; border-radius: 50%; background: linear-gradient(35deg, transparent 43%, var(--ah-950) 43% 57%, transparent 57%), radial-gradient(circle at 35% 35%, #f2f5f9, #9aa7b8 60%, #5d6a7d); box-shadow: 0 0 0 1.5px var(--ah-950); }
.lg-case__screw--tl { left: 4cqi; } .lg-case__screw--tr { right: 4cqi; }
.lg-case__pane {
  position: relative; height: 76cqi; overflow: hidden;
  border: 2px solid var(--ah-950); border-radius: 1.6cqi;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(47, 155, 255, 0.2), transparent 62%),
    linear-gradient(180deg, #0e1c36, #0a1428 60%, #08101f);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(173, 229, 255, 0.12);
}
/* the light strip inside the top of the case (a neon tube object: the sanctioned glow) */
.lg-case__tube { position: absolute; z-index: 2; left: 9%; right: 9%; top: 3cqi; height: 2.6cqi; min-height: 9px; }
.lg-case__tube::before, .lg-case__tube::after { content: ""; position: absolute; top: -0.6cqi; width: 4cqi; height: calc(100% + 1.2cqi); border: 2px solid var(--ah-950); border-radius: 0.8cqi; background: linear-gradient(180deg, #4a5568, #1a202c); }
.lg-case__tube::before { left: -3cqi; } .lg-case__tube::after { right: -3cqi; }
.lg-case__tube i { position: absolute; inset: 0; border-radius: 99px; background: var(--ah-neon-sky); box-shadow: 0 0 0 1.5px rgba(3, 6, 13, 0.7), 0 0 12px 3px rgba(47, 155, 255, 0.85), inset 0 0 0 1.5px rgba(255, 255, 255, 0.85); }
/* the light it throws: printed halftone, falling off toward the riser */
.lg-case__light {
  position: absolute; z-index: 1; left: 4%; right: 4%; top: 5cqi; bottom: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(173, 229, 255, 0.34) 1.3px, transparent 1.8px) 0 0 / 9px 9px;
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.5) 45%, transparent 88%);
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.5) 45%, transparent 88%);
}
/* the velvet riser everything sits on */
.lg-case__riser { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 14cqi; border-top: 2px solid var(--ah-950); background: linear-gradient(180deg, #2b4573 0 1.4cqi, #17284a 1.4cqi, #101c33 70%, #0b1424); }
.lg-case__riser::after { content: ""; position: absolute; left: 0; right: 0; top: 1.4cqi; height: 2px; background: rgba(3, 6, 13, 0.6); }
/* the glass in front: two reflection streaks (never blur) */
.lg-case__shine {
  position: absolute; z-index: 6; inset: 0; pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 12%, rgba(200, 230, 255, 0.1) 12% 21%, transparent 21% 24%, rgba(200, 230, 255, 0.07) 24% 26.5%, transparent 26.5% 100%),
    linear-gradient(118deg, transparent 0 72%, rgba(200, 230, 255, 0.06) 72% 83%, transparent 83%);
}
.lg-case__lock { position: absolute; z-index: 3; left: 50%; bottom: 0.4cqi; width: 8cqi; height: 3.6cqi; min-width: 30px; min-height: 14px; translate: -50% 0; border: 2px solid var(--ah-950); border-radius: 1cqi; background: linear-gradient(180deg, var(--ah-brass-hi), var(--ah-brass) 60%, var(--ah-brass-lo)); }
.lg-case__lock i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -4px 0 0 -2.5px; border-radius: 50%; background: var(--ah-950); }
.lg-case__lock i::after { content: ""; position: absolute; left: 1.5px; top: 3px; width: 2px; height: 4px; background: var(--ah-950); }
.lg-case__base { display: block; height: 4.6cqi; min-height: 16px; margin: 0 -2.4cqi; border: 2px solid var(--ah-950); border-top-width: 0; border-radius: 0 0 1.6cqi 1.6cqi; background: linear-gradient(180deg, rgba(255, 220, 170, 0.2), transparent 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.14) 0 2px, transparent 2px 13px), linear-gradient(180deg, #5a3b22, #3a2414); }

/* the customer file: a manila folder with three cards peeking out */
.lg-file { position: absolute; z-index: 3; left: 7cqi; bottom: 9.6cqi; width: 54cqi; height: 50cqi; rotate: -3deg; transform-origin: 50% 100%; }
.lg-file__back { position: absolute; left: 0; right: 0; top: 6cqi; bottom: 0; border: 2px solid var(--ah-950); border-radius: 1cqi 1.4cqi 0.6cqi 0.6cqi; background: #c9a764; }
.lg-file__tab { position: absolute; left: 5cqi; top: -6.2cqi; display: grid; place-items: center; height: 6.6cqi; min-height: 22px; padding: 0 1.4cqi; border: 2px solid var(--ah-950); border-bottom: 0; border-radius: 1.2cqi 1.2cqi 0 0; background: #c9a764; }
.lg-file__tab i { padding: 0.7cqi 1.2cqi 0.5cqi; border-radius: 2px; background: #11151d; color: #e8edf3; font: 700 max(2.4cqi, 9px)/1 var(--ah-mono); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.lg-file__card { position: absolute; bottom: 2cqi; width: 36cqi; border: 2px solid var(--ah-950); border-radius: 0.6cqi; background: #fbf7ec; background-image: repeating-linear-gradient(180deg, transparent 0 3.2cqi, rgba(21, 101, 192, 0.16) 3.2cqi calc(3.2cqi + 1px)); }
.lg-file__card b { position: absolute; top: 0.9cqi; right: 1.8cqi; color: var(--ah-ink-2); font: 800 max(2.3cqi, 9px)/1 var(--ah-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.lg-file__card::before { content: ""; position: absolute; left: 2cqi; top: 1.6cqi; width: 12cqi; height: 0.9cqi; border-radius: 1px; background: rgba(11, 20, 36, 0.28); }
/* the cards step down 3.6cqi each and lean so their right edges part, so every label (Name, Email, Phone) reads in full */
.lg-file__card--1 { left: 12cqi; top: 6.4cqi; rotate: -2deg; }
.lg-file__card--2 { left: 14.6cqi; top: 10cqi; rotate: -0.6deg; background-color: #f3ecd8; }
.lg-file__card--3 { left: 17cqi; top: 13.6cqi; rotate: 0.8deg; }
.lg-file__front { position: absolute; left: -1px; right: -1px; top: 18cqi; bottom: 0; display: grid; place-items: center; border: 2px solid var(--ah-950); border-radius: 0.6cqi 0.6cqi 1cqi 1cqi; background: linear-gradient(180deg, #ead39f, #dcc086); box-shadow: inset 0 2px 0 rgba(255, 245, 215, 0.6); }
.lg-file__stamp { display: inline-block; padding: 1cqi 2cqi 0.8cqi; border: 0.7cqi solid var(--ah-red-ink); border-radius: 1.2cqi; color: var(--ah-red-ink); font: 900 6cqi/1 var(--ah-display); letter-spacing: 0.1em; text-transform: uppercase; rotate: -8deg; box-shadow: inset 0 0 0 0.4cqi #e4c98f, inset 0 0 0 0.9cqi var(--ah-red-ink); -webkit-mask: var(--ah-speckle) 0 0 / 90px 90px; mask: var(--ah-speckle) 0 0 / 90px 90px; opacity: 0.92; }

/* the price tag, tied to the folder's corner. A button: tap it and it swings (finite) */
.lg-tag {
  position: absolute; z-index: 4; left: 60.4cqi; top: 29.4cqi; width: 33cqi; padding: 0; margin: 0;
  border: 0; background: none; color: inherit; cursor: pointer; text-align: left;
  transform-origin: 2cqi 1cqi; rotate: 4deg;
  transition: rotate 0.6s var(--ease-back), opacity 0.3s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.lg-tag::before { content: ""; position: absolute; left: 0; top: -1cqi; width: 4.4cqi; height: 3cqi; min-width: 14px; min-height: 10px; border: 2px solid var(--ah-950); border-radius: 50%; background: #e8dcc0; } /* the knot on the folder corner */
.lg-tag__string { position: absolute; left: 1.2cqi; top: 0; width: 17cqi; height: 15cqi; overflow: visible; }
.lg-tag__string path { fill: none; stroke: var(--ah-950); stroke-width: 4.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lg-tag__string .s-in { stroke: #f1e6cc; stroke-width: 2.2; }
.lg-tag__wrap { display: block; margin: 10cqi 0 0 4cqi; width: 27cqi; filter: var(--ah-outline) drop-shadow(5px 5px 0 rgba(0, 0, 0, 0.6)); }
.lg-tag__body {
  position: relative; display: grid; justify-items: center; gap: 1.4cqi; padding: 9.4cqi 1.6cqi 3cqi;
  background-color: var(--ah-cream); background-image: var(--ah-fiber); color: var(--ah-ink); text-align: center;
  clip-path: polygon(20% 0, 80% 0, 100% 7.6cqi, 100% 100%, 0 100%, 0 7.6cqi);
}
.lg-tag__body::before { content: ""; position: absolute; left: 50%; top: 2.6cqi; width: 3.6cqi; height: 3.6cqi; min-width: 12px; min-height: 12px; translate: -50% 0; border-radius: 50%; background: #0a1428; box-shadow: 0 0 0 2px var(--ah-950), 0 0 0 1cqi var(--ah-brass), 0 0 0 calc(1cqi + 2px) var(--ah-950); }
.lg-tag__price { color: var(--ah-ink-2); font: 800 max(2.4cqi, 9px)/1 var(--ah-mono); letter-spacing: 0.2em; text-transform: uppercase; }
.lg-tag__stamp {
  display: grid; justify-items: center; padding: 1.2cqi 1.6cqi 1cqi; border: 0.8cqi dashed var(--ah-red-ink); border-radius: 1.4cqi;
  color: var(--ah-red-ink); font: 900 4.9cqi/0.92 var(--ah-display); letter-spacing: 0.06em; text-transform: uppercase; rotate: -6deg;
  -webkit-mask: var(--ah-speckle) 0 0 / 90px 90px; mask: var(--ah-speckle) 0 0 / 90px 90px;
}
.lg-tag__stamp b { font-size: 1.7em; font-weight: 900; letter-spacing: 0.04em; }
.lg-tag__foot { padding-top: 1.2cqi; border-top: 1.5px dashed rgba(11, 20, 36, 0.35); color: var(--ah-ink); font: 800 max(2.2cqi, 9px)/1 var(--ah-mono); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
/* hover straightens the tag only where a pointer can hover: on a phone a tap leaves :hover stuck, and the tag would rest straight */
@media (hover: hover) { .lg-tag:hover { rotate: 0deg; } }
.lg-tag:focus-visible { rotate: 0deg; }
.lg-tag:focus-visible { outline: none; }
.lg-tag:focus-visible .lg-tag__wrap { outline: 3px solid var(--ah-sky); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  /* rewind pattern: the tag hangs high and still dark until the case is seen, then drops and settles */
  html.motion .lg-case:not(.is-play) .lg-tag { rotate: 26deg; opacity: 0; }
  html.motion .lg-case.is-play .lg-tag { transition: rotate 1.1s var(--ease-back) 0.55s, opacity 0.25s 0.55s; }
  html.motion .lg-case:not(.is-play) .lg-case__tube i, html.motion .lg-case:not(.is-play) .lg-case__light { opacity: 0.08; }
  html.motion .lg-case.is-play .lg-case__tube i, html.motion .lg-case.is-play .lg-case__light { animation: ah-ignite 1.2s 0.15s both; }
  .lg-tag.is-swing { animation: lg-swing 1.5s var(--ease-out); }
  .lg-tag.is-swing.lg-tag { transition: none; }
}
@keyframes lg-swing { 0% { rotate: 4deg; } 16% { rotate: -14deg; } 38% { rotate: 11deg; } 58% { rotate: -6deg; } 78% { rotate: 3deg; } 100% { rotate: 4deg; } }
/* phones and tablets: a slimmer case, and the words packed so the case shares the first screen */
@media (max-width: 999px) {
  .lg-case { width: min(100%, 440px); }
  .lg-hero .ah-phero__grid { gap: 22px; }
  .lg-hero .ah-phero__copy { padding-bottom: 0; }
}
@media (max-width: 600px) {
  .lg-hero .ah-crumbs { margin-bottom: 18px; }
  .lg-hero .ah-kicker { margin-bottom: 14px; }
  .lg-hero .ah-phero__h { margin-bottom: 16px; }
  .lg-hero .ah-phero__lead { margin-bottom: 22px; }
  .lg-hero .ah-actions { gap: 12px; }
  .lg-hero .ah-actions .btn { min-height: 46px; padding: 0 1.05em; font-size: 0.98rem; box-shadow: 3px 3px 0 var(--btn-shadow); }
}

/* --------------------------------------------------------------------------
   THE FINE PRINT: index stub + sheet
   -------------------------------------------------------------------------- */
.lg-policy { --deco-at: 0 0; --deco-size: 34% 22%; padding-top: clamp(64px, 8vw, 110px); }
.lg-desk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.lg-desk > .lg-index, .lg-desk > .lg-col { width: 100%; max-width: 900px; margin-inline: auto; }
@media (min-width: 1100px) {
  .lg-desk { grid-template-columns: clamp(220px, 19vw, 258px) minmax(0, 1fr); gap: clamp(28px, 3vw, 44px); align-items: start; }
  .lg-desk > .lg-index, .lg-desk > .lg-col { max-width: none; margin: 0; }
}

/* the index: a ledger stub with a red margin rule. Sticky beside the sheet on desktop. */
.lg-index {
  position: relative; padding: 16px 14px 10px 14px;
  border: 2px solid var(--ah-950); border-radius: 6px;
  background-color: var(--ah-cream); background-image: var(--ah-fiber), linear-gradient(90deg, transparent 0 57px, rgba(180, 35, 24, 0.28) 57px 59px, transparent 59px);
  color: var(--ah-ink); box-shadow: 6px 6px 0 var(--ah-sky); rotate: -0.4deg;
}
.lg-index .lg-index__label { margin: 0 0 8px 2px; }
.lg-index__list { display: grid; grid-template-columns: minmax(0, 1fr); }
.lg-index__list a {
  display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 5px 8px 5px 2px;
  border-bottom: 1.5px dashed rgba(11, 20, 36, 0.2); border-radius: 4px;
  color: var(--ah-ink); font-weight: 800; font-size: 1rem; line-height: 1.25; text-decoration: none;
  transition: background-color 0.2s;
}
.lg-index__list li:last-child a { border-bottom: 0; }
.lg-index__n { flex: none; display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 5px; border: 2px solid var(--ah-ink); border-radius: 999px; background: #fffdf6; font: 900 1.02rem/1 var(--ah-display); letter-spacing: 0.02em; transition: background-color 0.2s; }
.lg-index__list a:hover { background: rgba(27, 141, 246, 0.12); }
.lg-index__list a:hover .lg-index__n { background: var(--ah-sky); }
.lg-index__list a[aria-current] { background: rgba(27, 141, 246, 0.16); }
.lg-index__list a[aria-current] .lg-index__n { background: var(--ah-blue); }
.lg-index__list a:focus-visible { outline-color: var(--ah-ink); outline-offset: 0; }
@media (min-width: 640px) and (max-width: 1099px) {
  .lg-index__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 26px; }
  .lg-index__list li:nth-child(9) a { border-bottom: 0; }
  .lg-index { background-image: var(--ah-fiber); }
}
@media (min-width: 1100px) {
  .lg-index { position: sticky; top: calc(var(--header-h) + 28px); }
  .lg-index__list a { font-size: 0.96rem; }
}

/* the sheet: one long cream page clipped to the wall, with a pawn-ticket head */
.lg-col { position: relative; min-width: 0; }
.lg-sheet { --sp-x: clamp(18px, 4.4vw, 58px); max-width: none; margin: 0; padding: 0 var(--sp-x) clamp(30px, 4vw, 58px); }
.lg-clip { position: absolute; z-index: 3; left: 50%; top: -24px; width: 76px; height: 34px; margin-left: -38px; }
.lg-clip::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 20px; border: 2px solid var(--ah-950); border-radius: 3px 3px 2px 2px; background: linear-gradient(180deg, #2a3142, #11151d); clip-path: polygon(9% 0, 91% 0, 100% 100%, 0 100%); }
.lg-clip::after { content: ""; position: absolute; left: 14px; right: 14px; top: -8px; height: 24px; border: 3px solid #c9d1dc; border-bottom: 0; border-radius: 12px 12px 0 0; box-shadow: 0 0 0 1px var(--ah-950); }
.lg-sheet__head {
  display: flex; align-items: center; gap: 12px; margin: 0 calc(-1 * var(--sp-x)) clamp(28px, 4vw, 44px); padding: 16px var(--sp-x) 14px;
  border-radius: 4px 4px 0 0; background: var(--ah-ink); color: #fff; border-bottom: 5px solid var(--ah-blue);
}
.lg-sheet__head img { width: 44px; height: auto; flex: none; }
.lg-sheet__brand { font: 900 1.45rem/1 var(--ah-display); letter-spacing: 0.06em; text-transform: uppercase; }
.lg-sheet__no { margin-left: auto; color: #ff8a8a; font: 800 0.98rem/1 var(--ah-display); letter-spacing: 0.14em; text-transform: uppercase; text-align: right; }

/* the reading column */
.lg-prose { color: var(--ah-ink-2); font-size: 1.0625rem; line-height: 1.72; }
.lg-prose > p, .lg-prose > ul, .lg-prose > h3 { max-width: 41em; }
.lg-prose > .lg-cont { margin-top: 0.4em; }
.lg-prose li + li { margin-top: 0.5em; }
.lg-prose a { text-decoration-thickness: 1.5px; overflow-wrap: anywhere; }
.lg-prose a:hover { color: var(--ah-ink); background: rgba(27, 141, 246, 0.14); }
/* section heads: a tear line across the sheet with notches at both edges, the number on a navy stub */
.lg-prose h2 { position: relative; margin-top: 1.55em; padding-top: 1.15em; text-wrap: balance; }
.lg-prose h2:first-child { margin-top: 0; padding-top: 0; }
.lg-prose h2:not(:first-child)::before { content: ""; position: absolute; top: -1px; left: calc(-1 * var(--sp-x) + 16px); right: calc(-1 * var(--sp-x) + 16px); border-top: 2px dashed rgba(11, 20, 36, 0.3); }
.lg-prose h2:not(:first-child)::after {
  content: ""; position: absolute; top: -13px; height: 26px; left: calc(-1 * var(--sp-x) - 2px); right: calc(-1 * var(--sp-x) - 2px); pointer-events: none;
  background:
    radial-gradient(circle at 0 50%, var(--band-bg, #09111f) 0 10px, var(--ah-950) 10.5px 12.5px, transparent 13px) 0 0 / 14px 26px no-repeat,
    radial-gradient(circle at 100% 50%, var(--band-bg, #09111f) 0 10px, var(--ah-950) 10.5px 12.5px, transparent 13px) 100% 0 / 14px 26px no-repeat;
}
.lg-n { display: inline-grid; place-items: center; min-width: 1.45em; height: 1.45em; padding: 0 0.2em; margin-right: 0.12em; border-radius: 999px; background: var(--ah-ink); color: var(--ah-cream); font-size: 0.8em; letter-spacing: 0.01em; vertical-align: 0.1em; box-shadow: 2px 2px 0 var(--ah-blue); }
.lg-prose h3 { display: flex; align-items: center; gap: 0.55em; }
.lg-prose h3::before { content: ""; flex: none; width: 0.55em; height: 0.55em; border: 2px solid var(--ah-ink); background: var(--ah-blue); rotate: 45deg; }
/* cookie names on label-maker tape */
.lg-prose code { display: inline-block; padding: 0.1em 0.45em 0.04em; border-radius: 3px; background: #11151d; color: var(--ah-sky); font: 700 0.84em/1.3 var(--ah-mono); letter-spacing: 0.02em; white-space: nowrap; box-shadow: 1.5px 1.5px 0 var(--ah-blue); }

/* the opt-out switch and its live line */
.lg-prose > .lg-optout { margin-top: 1.1em; }
.lg-optout__btn { gap: 10px; }
.lg-optout__i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; }
.lg-prose > .lg-status:empty { margin-top: 0; }
.lg-status:not(:empty) { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 7px; border: 2px dashed rgba(11, 20, 36, 0.4); border-radius: 4px; background: #fffdf6; color: var(--ah-ink); font: 700 0.95rem/1.4 var(--ah-mono); }
.lg-status:not(:empty)::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ah-blue); box-shadow: 0 0 0 2px var(--ah-950); }

/* the CCPA note: taped to the sheet, stamped */
.lg-prose > .lg-callout { max-width: 38em; margin: 2em 0 2.2em 2px; padding-bottom: 30px; --tilt: -0.5deg; }
.lg-callout::before { left: 30%; }
.lg-callout p { color: var(--ah-ink); }
/* the two legal sentences under the headline line read at body weight (the kit's 600 is for short notes; these run 6 to 7 lines on a phone) */
.lg-callout p + p { font-weight: 400; line-height: 1.55; }
.lg-callout p:first-of-type { font-size: 1.12rem; }
.lg-callout__stamp { position: absolute; right: 16px; bottom: -16px; font-size: 1.05rem; background: #fff7d6; }

/* the category table: a ledger with a navy head; the Sold column lit blue. Restacks on phones. */
.lg-prose > .lg-table { margin: 2.2em calc(-1 * var(--sp-x) + 10px) 0; }
.lg-table table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.92rem; line-height: 1.45; }
.lg-table th, .lg-table td { padding: 11px 11px; border: 0; text-align: left; vertical-align: top; }
.lg-table thead th { background: var(--ah-ink); color: var(--ah-paper); font: 900 0.98rem/1.1 var(--ah-display); letter-spacing: 0.06em; text-transform: uppercase; }
.lg-table thead th.lg-sold { background: var(--ah-blue); color: var(--ah-ink); }
.lg-table tbody th { background: none; color: var(--ah-ink); font-weight: 800; }
.lg-table td { color: var(--ah-ink-2); }
.lg-table .lg-yes { color: var(--ah-ink); font-weight: 800; }
.lg-table .lg-yes::after { content: ""; display: inline-block; width: 15px; height: 15px; margin-left: 5px; vertical-align: -2px; background: var(--ah-blue-ink); -webkit-mask: var(--ah-check) center / contain no-repeat; mask: var(--ah-check) center / contain no-repeat; }
.lg-table .lg-no { color: var(--ah-ink-2); font-weight: 600; }
@media (min-width: 860px) {
  .lg-table { border: 2px solid var(--ah-950); border-radius: 6px; background: #fffdf6; box-shadow: 5px 5px 0 var(--ah-blue); }
  .lg-table table { display: table; overflow: visible; }
  .lg-table thead th { position: sticky; top: calc(var(--header-h) + 2px); z-index: 2; border-bottom: 4px solid var(--ah-blue); }
  .lg-table thead th.lg-sold { border-bottom-color: var(--ah-ink); }
  .lg-table thead th:first-child { border-top-left-radius: 3px; }
  .lg-table thead th:last-child { border-top-right-radius: 3px; }
  .lg-table tbody tr + tr > * { border-top: 1.5px dashed rgba(11, 20, 36, 0.24); }
  .lg-table tbody th { width: 27%; }
  .lg-table td:nth-of-type(1) { width: 15%; }
  .lg-table .lg-c { width: 9%; text-align: center; }
  .lg-table thead .lg-c { padding-inline: 6px; }
  .lg-table td.lg-sold { background: rgba(27, 141, 246, 0.12); color: var(--ah-ink); }
  .lg-table tbody tr:hover > * { background-color: rgba(27, 141, 246, 0.06); }
  .lg-table tbody tr:hover > td.lg-sold { background-color: rgba(27, 141, 246, 0.18); }
}
@media (max-width: 859px) {
  .lg-prose > .lg-table { margin-inline: calc(-1 * var(--sp-x) + 6px); }
  .lg-table { border: 2px solid var(--ah-950); border-radius: 6px; background: #fffdf6; box-shadow: 4px 4px 0 var(--ah-blue); overflow: hidden; }
  .lg-table table, .lg-table thead, .lg-table tbody, .lg-table tr, .lg-table th, .lg-table td { display: block; }
  .lg-table table { overflow: visible; }
  .lg-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lg-table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; padding: 14px 12px 16px; }
  .lg-table tbody tr + tr { border-top: 2px dashed rgba(11, 20, 36, 0.3); }
  .lg-table tbody th { grid-column: 1 / -1; padding: 0 0 8px; font-size: 1rem; line-height: 1.35; }
  .lg-table td { grid-column: 1 / -1; padding: 4px 0 6px; }
  .lg-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 1px; color: var(--ah-ink-2); font: 800 0.7rem/1.3 var(--ah-mono); letter-spacing: 0.14em; text-transform: uppercase; }
  .lg-table td.lg-c { grid-column: auto; margin-top: 8px; padding: 6px 6px 7px; border: 1.5px solid rgba(11, 20, 36, 0.3); border-radius: 5px; text-align: center; }
  .lg-table td.lg-c::before { font-size: 0.62rem; letter-spacing: 0.1em; }
  .lg-table td.lg-sold { border-color: var(--ah-ink); background: rgba(27, 141, 246, 0.14); color: var(--ah-ink); }
}

/* the shop's business card, clipped to the end of the sheet */
.lg-prose > .lg-contact { position: relative; max-width: 470px; margin: 2.8em 0 0 4px; padding: 26px 26px 22px; border: 2px solid var(--ah-950); border-radius: 8px; background: #fffdf6; color: var(--ah-ink); box-shadow: 6px 6px 0 var(--ah-blue); rotate: -0.6deg; }
.lg-contact::before { content: ""; position: absolute; inset: 6px; border: 1.5px solid rgba(11, 20, 36, 0.55); border-radius: 5px; pointer-events: none; }
.lg-prose .lg-contact h3 { margin: 0 0 12px; padding-right: 66px; font: 900 1.7rem/1 var(--ah-display); letter-spacing: 0.03em; text-transform: uppercase; }
.lg-prose .lg-contact h3::before { display: none; }
.lg-contact p { color: var(--ah-ink); line-height: 1.5; }
.lg-contact p + p { margin-top: 6px; }
.lg-contact__logo { position: absolute; top: 16px; right: 18px; width: 56px; height: auto; }
/* the clip's foot stops above the heading (at top -20px it bit into the C of CONTACT US on phones) */
.lg-contact__clip { position: absolute; z-index: 2; left: 24px; top: -27px; width: 15px; height: 46px; border: 3px solid var(--ah-brass); border-radius: 9px; box-shadow: 0 0 0 1.5px var(--ah-950), inset 0 0 0 1.5px var(--ah-950); rotate: -6deg; }
.lg-contact__clip::after { content: ""; position: absolute; left: 1px; right: 1px; top: 8px; height: 26px; border: 2.5px solid var(--ah-brass); border-radius: 6px; box-shadow: 0 0 0 1px var(--ah-950); }

/* the way back up: sticks to the bottom-left of the screen while you read (phones and tablets) */
.lg-back {
  position: sticky; z-index: 5; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; width: fit-content; align-items: center; gap: 8px;
  min-height: 46px; margin-top: 22px; padding: 0 16px 0 13px;
  border: 2px solid var(--ah-paper); border-radius: 999px; background: var(--ah-800); color: var(--ah-paper);
  font: 800 0.95rem/1 var(--ah-body); text-decoration: none; box-shadow: 3px 3px 0 var(--ah-blue);
  transition: opacity 0.25s, visibility 0s linear 0s, translate 0.2s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.lg-back svg { width: 12px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lg-back:hover { translate: -2px -2px; }
.lg-back.is-hidden { opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0s linear 0.25s; }
@media (min-width: 1100px) { .lg-back { display: none; } }

/* --------------------------------------------------------------------------
   THE CLOSING BAND: the short close for a legal page (no booking band). Its one
   quiet prop is this page's own object: the NOT FOR SALE tag from the hero case,
   hung on a brass nail above the closing line. Decorative (aria-hidden), no toy.
   At rest it hangs finished; under html.motion it swings in once when seen.
   -------------------------------------------------------------------------- */
.lg-endtag { position: relative; width: 136px; margin: 0 auto 26px; padding-top: 6px; }
.lg-endtag__nail { position: absolute; z-index: 3; left: 50%; top: 0; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--ah-brass-hi), var(--ah-brass) 55%, var(--ah-brass-lo)); box-shadow: 0 0 0 2px var(--ah-950), 2px 2px 0 2px rgba(0, 0, 0, 0.55); }
.lg-endtag__swing { display: block; transform-origin: 50% 2px; rotate: 3deg; }
.lg-endtag__string { display: block; width: 40px; height: 46px; margin: 0 auto -16px; overflow: visible; position: relative; z-index: 2; }
.lg-endtag__string path { fill: none; stroke: var(--ah-950); stroke-width: 4.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lg-endtag__string .s-in { stroke: #f1e6cc; stroke-width: 2; }
.lg-endtag__wrap { display: block; filter: var(--ah-outline) drop-shadow(5px 5px 0 rgba(0, 0, 0, 0.6)); }
.lg-endtag__body {
  position: relative; display: grid; justify-items: center; gap: 9px; padding: 42px 10px 14px;
  background-color: var(--ah-cream); background-image: var(--ah-fiber); color: var(--ah-ink); text-align: center;
  clip-path: polygon(20% 0, 80% 0, 100% 28px, 100% 100%, 0 100%, 0 28px);
}
.lg-endtag__body::before { content: ""; position: absolute; left: 50%; top: 11px; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; background: #0a1428; box-shadow: 0 0 0 2px var(--ah-950), 0 0 0 5px var(--ah-brass), 0 0 0 7px var(--ah-950); }
.lg-endtag__price { color: var(--ah-ink-2); font: 800 0.66rem/1 var(--ah-mono); letter-spacing: 0.2em; text-transform: uppercase; }
.lg-endtag__stamp {
  display: grid; justify-items: center; padding: 5px 8px 4px; border: 3px dashed var(--ah-red-ink); border-radius: 6px;
  color: var(--ah-red-ink); font: 900 1.05rem/0.92 var(--ah-display); letter-spacing: 0.06em; text-transform: uppercase; rotate: -6deg;
  -webkit-mask: var(--ah-speckle) 0 0 / 90px 90px; mask: var(--ah-speckle) 0 0 / 90px 90px;
}
.lg-endtag__stamp b { font-size: 1.7em; font-weight: 900; letter-spacing: 0.04em; }
.lg-endtag__foot { padding-top: 7px; border-top: 1.5px dashed rgba(11, 20, 36, 0.35); color: var(--ah-ink); font: 800 0.62rem/1 var(--ah-mono); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  html.motion .lg-final:not(.is-play) .lg-endtag__swing { rotate: -16deg; opacity: 0; }
  html.motion .lg-final.is-play .lg-endtag__swing { animation: lg-endswing 1.7s var(--ease-out) 0.15s both; }
}
@keyframes lg-endswing { 0% { rotate: -16deg; opacity: 0; } 10% { opacity: 1; } 34% { rotate: 10deg; } 56% { rotate: -5deg; } 78% { rotate: 4.5deg; } 100% { rotate: 3deg; opacity: 1; } }
@media (max-width: 600px) {
  .lg-endtag { width: 118px; margin-bottom: 20px; }
  .lg-endtag__body { padding-top: 38px; gap: 8px; }
  .lg-endtag__stamp { font-size: 0.92rem; }
}

/* small phones: a little more room for the words on the sheet */
@media (max-width: 420px) {
  .lg-prose { font-size: 1.04rem; line-height: 1.68; }
  .lg-prose h2 { font-size: 1.55rem; }
  .lg-sheet__head { gap: 10px; }
  .lg-sheet__head img { width: 36px; }
  .lg-sheet__brand { font-size: 1.2rem; }
  .lg-sheet__no { font-size: 0.82rem; letter-spacing: 0.1em; }
  .lg-prose > .lg-contact { padding: 24px 18px 20px; }
  .lg-prose > .lg-callout { padding: 24px 17px 30px; margin-inline: 0; }
  .lg-prose .lg-contact h3 { font-size: 1.45rem; }
  .lg-contact__logo { width: 46px; right: 14px; }
}
