/* ================================================================
   PER-URL GALLERY SYSTEM (William 2026-10-01):
   every URL carries its own 20 unique mockups + 20 unique stock images.
   Solid UI chrome; photography does the decorating.
   ================================================================ */
.pg-gallery { max-width: 1200px; margin: clamp(3rem,7vw,5rem) auto; padding: 0 clamp(1rem,4vw,2rem); }
.pg-mockups h2, .pg-strip h3 { letter-spacing: -.02em; }
.pg-mockups > p, .pg-strip > p { color: var(--muted); max-width: 70ch; }
.pg-mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.1rem; margin-top: 1.4rem; }
.mk { margin: 0; background: #fff; border: 1px solid #2a2a2a; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 26px rgba(30,20,70,.08); }
.mk-inner { aspect-ratio: 16/10; position: relative; background: #101010; overflow: hidden; }
.mk-tall .mk-inner { aspect-ratio: 4/5; }
.mk-inner img { display: block; }
.mk figcaption { padding: .7rem .9rem; font-size: .85rem; color: var(--ink-soft, #ffffff); }
/* mockup chrome: solid dark UI, no gradients */
.mke-dot { width: 9px; height: 9px; border-radius: 50%; background: #666666; display: inline-block; margin-right: 5px; }
.mke-ed { height: 100%; display: flex; flex-direction: column; background: #0a0a0a; color: #ffffff; font-size: 11px; }
.mke-ed-bar { display: flex; align-items: center; gap: 6px; padding: 7px 10px; background: #050505; border-bottom: 1px solid #262626; }
.mke-doc { flex: 1; color: #d4d4d4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mke-xp { background: #ffffff; color: #fff; border-radius: 20px; padding: 2px 9px; font-size: 10px; }
.mke-ed-main { flex: 1; display: flex; min-height: 0; }
.mke-ed-tools { display: flex; flex-direction: column; gap: 7px; padding: 9px 7px; background: #050505; }
.mke-ed-tools span { background: #1a1a1a; border-radius: 5px; padding: 4px 6px; font-size: 9px; color: #d4d4d4; }
.mke-ed-canvas { flex: 1; position: relative; margin: 8px; border-radius: 8px; overflow: hidden; background: #000000; }
.mke-ed-canvas img { position: absolute; inset: 0; }
.mke-ed-sel { position: absolute; inset: 18%; border: 1.5px dashed #ffffff; border-radius: 6px; }
.mke-ed-side { width: 92px; padding: 8px; background: #050505; display: flex; flex-direction: column; gap: 6px; }
.mke-row { display: flex; align-items: center; gap: 6px; font-size: 9px; color: #d4d4d4; }
.mke-row i { width: 14px; height: 14px; border-radius: 4px; background: #2a2a2a; flex: none; }
.mke-ph { height: 100%; background: #050505; border-radius: 22px; margin: 6px auto; max-width: 190px; padding: 8px; display: flex; flex-direction: column; }
.mke-ph-notch { width: 64px; height: 12px; background: #000000; border-radius: 8px; margin: 0 auto 6px; }
.mke-ph-scr { flex: 1; border-radius: 14px; overflow: hidden; position: relative; background: #000000; min-height: 120px; }
.mke-ph-scr img { position: absolute; inset: 0; }
.mke-ph-cap { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(10,13,20,.78); color: #fff; font-size: 10px; padding: 6px 8px; }
.mke-ph-tabs { display: flex; justify-content: space-around; padding: 7px 2px 2px; }
.mke-ph-tabs span { font-size: 9px; color: #d4d4d4; }
.mke-br { height: 100%; display: flex; flex-direction: column; background: #fff; font-size: 11px; }
.mke-br-bar { display: flex; align-items: center; gap: 6px; padding: 7px 10px; background: #161616; border-bottom: 1px solid #2a2a2a; }
.mke-url { background: #fff; border: 1px solid #2a2a2a; border-radius: 12px; padding: 2px 12px; font-size: 10px; color: #6b7280; flex: 1; }
.mke-br-hero { position: relative; height: 46%; min-height: 80px; overflow: hidden; }
.mke-br-hero img { position: absolute; inset: 0; }
.mke-br-t { position: absolute; left: 10px; bottom: 8px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.mke-br-t b { display: block; font-size: 13px; }
.mke-br-t span { font-size: 10px; opacity: .9; }
.mke-br-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; }
.mke-br-cols div { background: #101010; border-radius: 8px; padding: 8px; font-size: 9px; color: #ffffff; }
.mke-br-cols i { display: block; width: 22px; height: 22px; border-radius: 6px; background: #2a2a2a; margin-bottom: 5px; }
.mke-cd { height: 100%; padding: 12px; background: #fff; font-size: 11px; }
.mke-cd-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.mke-cd-h b { font-size: 13px; }
.mke-cd-h span { font-size: 10px; color: #d4d4d4; background: #181818; border-radius: 12px; padding: 2px 9px; }
.mke-cd-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; height: calc(100% - 30px); }
.mke-cd-big { border-radius: 8px; overflow: hidden; position: relative; min-height: 90px; }
.mke-cd-big img { position: absolute; inset: 0; }
.mke-cd-sm { display: flex; flex-direction: column; gap: 6px; }
.mke-cd-sm div { background: #101010; border-radius: 8px; padding: 7px; font-size: 9px; color: #ffffff; flex: 1; }
.mke-cd-sm em { display: block; width: 100%; height: 26px; border-radius: 5px; background: #2a2a2a; margin-bottom: 4px; font-style: normal; }
.mke-db { height: 100%; display: flex; background: #0d0d0d; font-size: 10px; }
.mke-db-side { width: 74px; background: #0a0a0a; color: #d4d4d4; padding: 10px 8px; display: flex; flex-direction: column; gap: 9px; font-size: 9px; }
.mke-db-main { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mke-db-h { font-size: 12px; font-weight: 700; color: #ffffff; }
.mke-db-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mke-stat { background: #fff; border: 1px solid #2a2a2a; border-radius: 8px; padding: 6px; }
.mke-stat b { display: block; font-size: 12px; color: #ffffff; }
.mke-stat span { font-size: 8px; color: #d4d4d4; }
.mke-stat i { display: block; height: 4px; border-radius: 3px; background: #2a2a2a; margin-top: 5px; position: relative; }
.mke-stat i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v, 50) * 1%); background: #ffffff; border-radius: 3px; }
.mke-db-img { flex: 1; border-radius: 8px; overflow: hidden; position: relative; min-height: 60px; }
.mke-db-img img { position: absolute; inset: 0; }
.mke-xd { height: 100%; position: relative; background: #000000; font-size: 11px; }
.mke-xd-bg { position: absolute; inset: 0; }
.mke-xd-bg img { position: absolute; inset: 0; opacity: .55; }
.mke-xd-modal { position: absolute; left: 12%; right: 12%; top: 16%; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.mke-xd-modal b { font-size: 12px; display: block; margin-bottom: 8px; }
.mke-pills { display: flex; gap: 5px; margin-bottom: 8px; }
.mke-pills span { font-size: 9px; background: #181818; border-radius: 10px; padding: 3px 9px; color: #ffffff; }
.mke-pills span:first-child { background: #ffffff; color: #fff; }
.mke-xd-row { display: flex; gap: 8px; font-size: 9px; color: #d4d4d4; margin-bottom: 9px; }
.mke-xd-modal .btn-photo { width: 100%; cursor: default; /* decorative mockup chrome: not a real control (2026-10-07 audit) */ }
.mke-ly { height: 100%; display: flex; background: #0a0a0a; font-size: 10px; color: #ffffff; }
.mke-ly-img { flex: 1; position: relative; margin: 8px; border-radius: 8px; overflow: hidden; background: #000000; }
.mke-ly-img img { position: absolute; inset: 0; }
.mke-ly-panel { width: 108px; background: #050505; padding: 9px 8px; display: flex; flex-direction: column; gap: 5px; }
.mke-ly-panel b { font-size: 11px; margin-bottom: 3px; }
.mke-lyr { display: flex; align-items: center; gap: 5px; font-size: 9px; color: #d4d4d4; background: #1b212c; border-radius: 6px; padding: 4px 6px; }
.mke-lyr i { width: 12px; height: 12px; border-radius: 3px; background: #2f3a4d; flex: none; }
.mke-lyr span { margin-left: auto; color: #6b7488; font-size: 8px; }
.mke-rs { height: 100%; display: flex; flex-direction: column; background: #0d0d0d; font-size: 10px; }
.mke-rs-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: #fff; border-bottom: 1px solid #2a2a2a; }
.mke-rs-bar b { font-size: 12px; }
.mke-rs-bar span { font-size: 9px; color: #d4d4d4; background: #181818; padding: 2px 9px; border-radius: 10px; }
.mke-rs-cv { flex: 1; position: relative; margin: 10px; border-radius: 8px; overflow: hidden; background: #000000; min-height: 80px; }
.mke-rs-cv img { position: absolute; inset: 0; }
.mke-hd { position: absolute; width: 10px; height: 10px; background: #fff; border: 2px solid #7d2ae8; border-radius: 3px; }
.mke-hd.h1 { top: 6px; left: 6px; } .mke-hd.h2 { top: 6px; right: 6px; }
.mke-hd.h3 { bottom: 6px; left: 6px; } .mke-hd.h4 { bottom: 6px; right: 6px; }
.mke-rs-pre { display: flex; gap: 6px; padding: 0 10px 10px; }
.mke-rs-pre span { font-size: 9px; background: #fff; border: 1px solid #2a2a2a; border-radius: 8px; padding: 4px 10px; color: #ffffff; }
.mke-rs-pre span.on { background: #ffffff; border-color: #7d2ae8; color: #fff; }
/* stock strip */
.pg-strip { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
/* William 2026-10-01: every stock image in its own card frame w/ feature-style caption */
.pg-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; margin-top: 1.2rem; }
.pg-card { margin: 0; background: #fff; border: 1px solid var(--line, #e8e4f2); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(30,20,70,.08); transition: transform .3s ease, box-shadow .3s ease; }
.pg-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(30,20,70,.14); }
.pg-card-img { overflow: hidden; }
.pg-card-img img { display: block; transition: transform .5s ease; }
.pg-card:hover .pg-card-img img { transform: scale(1.04); }
.pg-card figcaption { padding: .85rem 1rem 1rem; font-size: .92rem; line-height: 1.45; color: var(--ink, #241d33); }
.pg-strip-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 220px); gap: .8rem; overflow-x: auto; padding: .4rem .1rem 1rem; scroll-snap-type: x mandatory; }
.pg-strip-row img { border-radius: 10px; scroll-snap-align: start; box-shadow: 0 6px 18px rgba(30,20,70,.1); }
/* gallery CTA */
.pg-cta { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; flex-wrap: wrap; }
.btn-photo { display: inline-block; background: var(--violet); color: #fff; font-weight: 700; border: none; border-radius: 999px; padding: .8rem 1.7rem; font-size: 1rem; cursor: pointer; text-decoration: none; transition: transform .25s var(--ease-smooth-out), filter .25s; }
.btn-photo:hover { transform: translateY(-2px); filter: brightness(.94); color: #fff; }
.pg-cta .pga-44 { font-weight: 600; }
@media (max-width: 640px) { .pg-mk-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); } }


/* ================================================================
   EXPLAINER SYSTEM (William 2026-10-01):
   per-URL long-form explainer sections — annotated walkthroughs,
   numbered callouts, captioned photo essays, mistake cards, glossary
   flows. Solid UI chrome; photography does the decorating.
   ================================================================ */
.pg-explainer { max-width: 1200px; margin: clamp(2.5rem,6vw,4.5rem) auto; padding: 0 clamp(1rem,4vw,2rem); }
.pg-explainer h2 { letter-spacing: -.02em; margin: .4rem 0 .6rem; }
.xp-kicker { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); background: #efeaff; border: 1px solid #d9ccff; border-radius: 999px; padding: .3rem .8rem; }
.xp-lede { color: var(--muted); font-size: 1.06rem; max-width: 72ch; margin: 0 0 1.6rem; }
.xp-prose { max-width: 76ch; }
.xp-prose p { color: var(--ink); line-height: 1.75; margin: 0 0 1.1rem; }

/* [hidden] must always win over component display rules (e.g. the search
   overlay's display:flex) — otherwise "hidden" markup flashes visible. */
[hidden] { display: none !important; }

/* numbered steps */
.xp-steps { display: grid; gap: 1.4rem; }
.xp-step { background: #fff; border: 1px solid #e8e4f5; border-radius: 16px; padding: clamp(1rem,3vw,1.6rem); box-shadow: 0 8px 24px rgba(30,20,70,.06); }
.xp-step-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .7rem; }
.xp-n { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 800; font-size: 1.1rem; flex: 0 0 auto; }
.xp-n.sm { width: 2rem; height: 2rem; font-size: .95rem; }
.xp-step h3 { margin: 0; font-size: 1.15rem; }
.xp-step > p { color: var(--ink); line-height: 1.7; max-width: 80ch; }
.xp-tip { background: #f6f3ff; border-left: 4px solid var(--violet); border-radius: 0 10px 10px 0; padding: .7rem 1rem; margin: 1rem 0 1.2rem; max-width: 80ch; }

/* annotated figures: mockup stage + numbered callout dots + legend */
.xp-fig { margin: 1.4rem 0 0; }
.xp-fig-stage { position: relative; border: 1px solid #e8e4f5; border-radius: 14px; overflow: hidden; background: #faf9fe; }
.xp-fig-stage .mk-inner { border: 0; border-radius: 0; }
.xp-fig > figcaption { font-size: .85rem; color: var(--muted); margin: .5rem 0 .8rem; }
.xp-co { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%,-50%); width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 800; font-size: .95rem; display: inline-flex; align-items: center; justify-content: center; border: 3px solid #fff; box-shadow: 0 2px 10px rgba(30,20,70,.35); z-index: 3; }
.xp-legend { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .6rem; }
.xp-legend li { display: flex; gap: .8rem; align-items: flex-start; background: #faf9fe; border: 1px solid #ece8f7; border-radius: 10px; padding: .6rem .9rem; }
.xp-ln { display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 800; font-size: .85rem; flex: 0 0 auto; }
.xp-legend strong { display: block; font-size: .95rem; }
.xp-legend span { color: var(--muted); font-size: .92rem; }

/* captioned photo essays */
.xp-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.xp-photo { margin: 0; background: #fff; border: 1px solid #e8e4f5; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(30,20,70,.06); }
.xp-photo-img { overflow: hidden; }
.xp-photo figcaption { padding: .9rem 1rem 1.1rem; }
.xp-photo figcaption strong { display: block; margin-bottom: .3rem; }
.xp-photo figcaption span { color: var(--muted); font-size: .93rem; line-height: 1.6; display: block; }

/* mistake cards */
.xp-mistakes { display: grid; gap: .9rem; }
.xp-mistake { display: flex; gap: .9rem; align-items: flex-start; background: #fff8f6; border: 1px solid #f3d9d2; border-radius: 12px; padding: 1rem 1.2rem; }
.xp-x { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: #c0392b; color: #fff; font-weight: 800; flex: 0 0 auto; }
.xp-mistake h3 { margin: 0 0 .3rem; font-size: 1.02rem; }
.xp-mistake p { margin: 0; color: var(--ink); line-height: 1.65; }

/* workflow / roadmap lists */
.xp-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.xp-flow li { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid #e8e4f5; border-radius: 12px; padding: 1rem 1.2rem; }
.xp-flow h3 { margin: 0 0 .25rem; font-size: 1.02rem; }
.xp-flow p { margin: 0; color: var(--ink); line-height: 1.65; }

/* pricing plans */
.xp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.xp-plan { background: #fff; border: 1px solid #e8e4f5; border-radius: 14px; padding: 1.2rem 1.3rem; }
.xp-plan h3 { margin: .7rem 0 .4rem; }
.xp-plan p { margin: 0; color: var(--ink); line-height: 1.65; }

/* takeaways */
.xp-takes { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.xp-takes li { background: #f6f3ff; border: 1px solid #d9ccff; border-radius: 12px; padding: .9rem 1.1rem; line-height: 1.65; }

/* home tour areas */
.xp-areas { display: grid; gap: 1.6rem; }
.xp-area { display: grid; grid-template-columns: minmax(240px, .9fr) 1.4fr; gap: 1.4rem; align-items: start; background: #fff; border: 1px solid #e8e4f5; border-radius: 16px; padding: clamp(1rem,3vw,1.6rem); }
.xp-area h3 { margin: .5rem 0 .5rem; font-size: 1.25rem; }
.xp-area p { color: var(--ink); line-height: 1.7; margin: 0; }

/* explainer FAQs */
.xp-faq details { background: #fff; border: 1px solid #e8e4f5; border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: .7rem; }
.xp-faq summary { font-weight: 700; cursor: pointer; }
.xp-faq p { color: var(--ink); line-height: 1.7; margin: .6rem 0 0; }

/* ================================================================
   READING PROGRESS + SITE SEARCH (William 2026-10-01)
   ================================================================ */
.pg-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1200; background: transparent; pointer-events: none; }
.pg-progress i { display: block; height: 100%; width: 0; background: var(--violet); }
#pg-search-btn { position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 1190; width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1px solid #d9ccff; background: #fff; color: var(--violet); font-size: 1.25rem; cursor: pointer; box-shadow: 0 8px 24px rgba(30,20,70,.18); display: inline-flex; align-items: center; justify-content: center; }
#pg-search-btn:hover { transform: translateY(-2px); }
#pg-search-btn svg { width: 1.3rem; height: 1.3rem; }
#pg-search-ov { position: fixed; inset: 0; z-index: 1300; background: rgba(20,12,45,.55); display: flex; align-items: flex-start; justify-content: center; padding: 12vh 1rem 1rem; }
#pg-search-ov[hidden], #pg-search-btn[hidden] { display: none !important; }
.pg-sr-hit { opacity: 1; }
.pg-sr-empty { padding: 1.4rem; color: var(--muted); text-align: center; }
#pg-search-box { width: min(640px, 100%); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 80px rgba(10,5,30,.4); }
#pg-search-box input { width: 100%; border: 0; border-bottom: 1px solid #ece8f7; padding: 1rem 1.2rem; font-size: 1.05rem; outline: none; }
#pg-search-res { max-height: 50vh; overflow-y: auto; overscroll-behavior: contain; padding: .5rem; }
#pg-search-res a { display: block; padding: .7rem .9rem; border-radius: 10px; text-decoration: none; color: var(--ink); }
#pg-search-res a:hover, #pg-search-res a:focus { background: #f6f3ff; }
#pg-search-res .pg-sr-type { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); display: block; }
#pg-search-res .pg-sr-title { font-weight: 700; display: block; margin: .15rem 0; }
#pg-search-res .pg-sr-ex { color: var(--muted); font-size: .88rem; display: block; }
#pg-search-empty { padding: 1.4rem; color: var(--muted); text-align: center; }
#pg-search-hint { padding: .6rem 1rem; border-top: 1px solid #ece8f7; color: var(--muted); font-size: .8rem; }

@media (max-width: 760px) {
  .xp-area { grid-template-columns: 1fr; }
  #pg-search-btn { left: .8rem; bottom: .8rem; }
}


/* ================================================================
   INFOGRAPHICS (William 2026-10-01): 10+ detailed SVG infographics
   per URL. Solid fills only — no decorative gradients.
   ================================================================ */
.pg-infographics { max-width: 1200px; margin: clamp(3rem,7vw,5rem) auto; padding: 0 clamp(1rem,4vw,2rem); }
.pg-infographics > h2 { letter-spacing: -.02em; }
.ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.ig { margin: 0; background: #fff; border: 1px solid #2a2a2a; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 26px rgba(30,20,70,.07); }
.ig svg { background: #fff; }
.ig figcaption { padding: .65rem 1rem; font-size: .82rem; color: var(--muted, #6f6a80); border-top: 1px solid #f0ecfa; }

/* ================================================================
   PHOTOGRAPHIC BACKDROP BANDS (William 2026-10-01): full photographic
   interludes with a functional legibility scrim. Every URL carries
   its own seeded photos.
   ================================================================ */
.pg-backdrop { position: relative; min-height: 300px; border-radius: 18px; overflow: hidden; background-size: cover; background-position: center; margin: clamp(2.5rem,6vw,4rem) auto; max-width: 1200px; }
.pg-backdrop::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.48); /* functional legibility scrim */ }
.pg-backdrop-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1.8rem; color: #fff; }
.pg-backdrop-cap .xp-kicker.light { color: #d9ccff; }
.pg-backdrop-cap p { margin: .4rem 0 0; font-size: 1.05rem; line-height: 1.55; max-width: 60ch; color: rgba(255,255,255,.94); }
@media (max-width: 760px) { .pg-backdrop { min-height: 220px; } .ig-grid { grid-template-columns: 1fr; } }


/* ---- Tool compendium (William 2026-10-01: comprehensive feature availability) ---- */
.tc-compendium { margin: clamp(2.5rem, 5vw, 4rem) auto; max-width: var(--maxw, 1120px); padding: 0 1.25rem; }
.tc-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--brand, #7d2ae8); margin: 0 0 .4rem; }
.tc-compendium h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; margin: 0 0 .5rem; }
.tc-head > p:last-child { color: var(--muted); max-width: 72ch; }
.tc-block { margin-top: 2rem; background: #fff; border: 1px solid var(--line, #e8e4f2); border-radius: 18px; padding: 1.5rem clamp(1rem, 3vw, 2rem); box-shadow: 0 10px 30px rgba(30,20,70,.06); }
.tc-block h3 { margin: 0 0 .3rem; font-size: 1.15rem; letter-spacing: -.01em; }
.tc-sub { color: var(--muted); margin: 0 0 1rem; font-size: .95rem; }
.tc-note { color: var(--muted); font-size: .88rem; margin: .8rem 0 0; }
.tc-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.tc-table th, .tc-table td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line, #eee9f8); vertical-align: top; }
.tc-table thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tc-table tbody th[scope="row"] { font-weight: 600; max-width: 34ch; }
.tc-matrix td { text-align: center; }
.tc-matrix thead th:not(:first-child) { text-align: center; }
.tc-y { display: inline-flex; width: 1.7em; height: 1.7em; border-radius: 50%; background: #e7f8ef; color: #15803d; font-weight: 800; align-items: center; justify-content: center; }
.tc-lim { font-size: .82rem; font-weight: 700; color: #92600a; background: #fdf3e0; border-radius: 999px; padding: .25em .8em; white-space: nowrap; }
.tc-tag { font-size: .78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .15em .7em; white-space: nowrap; }
.tc-table kbd { background: #f4f1fa; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: .15em .5em; font-size: .85em; white-space: nowrap; }
.tc-use-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem; }
.tc-use { display: flex; gap: .8rem; align-items: flex-start; background: var(--paper, #f8f6fd); border-radius: 14px; padding: 1rem 1.1rem; }
.tc-use-n { flex: none; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--brand, #7d2ae8); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.tc-use p { margin: 0; font-size: .93rem; line-height: 1.5; }
.tc-spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem; }
.tc-spec { background: var(--paper, #f8f6fd); border-radius: 12px; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .25rem; }
.tc-spec-k { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.tc-spec-v { font-weight: 700; font-size: 1.02rem; }
@media (max-width: 640px) {
  .tc-table { font-size: .86rem; }
  .tc-table th, .tc-table td { padding: .5rem .55rem; }
  .tc-block { padding: 1.1rem .9rem; border-radius: 14px; }
}


/* ---- Dashboard telemetry (William 2026-10-01: reference-dashboard interactivity) ---- */
.ig-dash { margin: clamp(2.5rem, 5vw, 4rem) auto; max-width: var(--maxw, 1120px); padding: 0 1.25rem; }
.ig-dash { display: block; background: #12101d; color: #eef0f8; border-radius: 22px; padding: clamp(1.2rem, 3vw, 2.2rem); box-shadow: 0 24px 60px rgba(10,8,25,.35); border: 1px solid #232038; }
.ig-dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.ig-dash-k { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 800; color: #8f96b8; margin: 0 0 .35rem; }
.ig-dash-head h3 { margin: 0 0 .3rem; font-size: clamp(1.05rem, 2.4vw, 1.4rem); letter-spacing: .01em; color: #fff; }
.ig-dash-head p { margin: 0; color: #8f96b8; font-size: .9rem; }
.ig-tabs { display: flex; gap: .4rem; background: #1b1830; border-radius: 999px; padding: .3rem; }
/* Telemetry plan tabs must stay >=44px touch targets (audit 2026-10-08: measured 38px). */
.ig-tabs button { border: 0; background: transparent; color: #aab0cc; font: inherit; font-size: .85rem; font-weight: 700; padding: .5em 1.1em; border-radius: 999px; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.ig-tabs button.on { background: #2c2752; color: #fff; }
.ig-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem; margin-bottom: 1.4rem; }
.ig-metric { background: #1a1729; border: 1px solid #26223d; border-radius: 16px; padding: 1rem 1.1rem .9rem; position: relative; overflow: hidden; }
.ig-metric-v { display: block; font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.ig-suffix { font-size: .6em; color: #8f96b8; font-weight: 600; }
.ig-metric-l { display: block; color: #8f96b8; font-size: .82rem; margin-top: .25rem; }
.ig-metric-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--acc, #7d2ae8); opacity: .85; transform: scaleX(0); transform-origin: left; }
html.js .ig-metric-bar {  animation-delay: var(--d, 0s); }
.ig-panels { display: grid; grid-template-columns: 1.15fr 1fr; gap: .9rem; }
.ig-panel { background: #1a1729; border: 1px solid #26223d; border-radius: 16px; padding: 1.1rem 1.2rem 1.2rem; min-width: 0; }
.ig-panel-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #8f96b8; font-weight: 700; }
.ig-live { display: inline-flex; align-items: center; gap: .35em; color: #34d399; font-size: .75rem; }
.ig-live i { width: .55em; height: .55em; border-radius: 50%; background: #34d399; display: inline-block; }
html.js .ig-live i {  }
.ig-dset { display: none; }
.ig-dset.on { display: block; }
.ig-bars { display: flex; align-items: flex-end; gap: .7rem; height: 190px; padding-top: .6rem; }
.ig-barwrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; height: 100%; justify-content: flex-end; min-width: 0; }
.ig-bar { width: 100%; max-width: 54px; height: var(--h); min-height: 8px; background: var(--acc, #7d2ae8); border-radius: 7px 7px 3px 3px; position: relative; transform-origin: bottom; cursor: default; }
html.js .ig-bar {  animation-delay: var(--d, 0s); }
.ig-bar-v { position: absolute; top: -1.5em; left: 50%; transform: translateX(-50%); font-size: .8rem; font-weight: 800; color: #dfe3f5; }
.ig-bar-l { font-size: .72rem; color: #8f96b8; text-align: center; line-height: 1.25; word-break: break-word; }
.ig-bar::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(4px); background: #fff; color: #141222; font-size: .78rem; font-weight: 700; padding: .45em .8em; border-radius: 9px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; z-index: 5; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.ig-bar:hover::after, .ig-bar:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.ig-bar:hover, .ig-bar:focus-visible { filter: brightness(1.25); outline: none; }
.ig-line { width: 100%; height: auto; display: block; }
.ig-line .ig-gridln line { stroke: #26223d; stroke-width: 1; }
.ig-path { fill: none; stroke: var(--acc, #7d2ae8); stroke-width: 3; stroke-linecap: round; }
html.js .ig-path {  }
.ig-dot circle:first-child { transition: r .18s ease; }
.ig-dot:hover circle:first-child, .ig-dot:focus-visible circle:first-child { r: 8; }
.ig-dot:focus-visible { outline: none; }
@media (max-width: 760px) { .ig-panels { grid-template-columns: 1fr; } .ig-bars { height: 160px; } }


/* ================================================================
   GSAP STACKED CARD GALLERIES (William 2026-10-01, CINEMATIC ALWAYS):
   .pg-strip.is-stacked (added by gsap-motion.js only) converts the photo
   card grid into a pinned deck: cards absolutely stacked, ScrollTrigger
   scrubs each card over the previous one. JS-first: visitors without
   JavaScript see the enable-JavaScript notice; there are no static paths.
   ================================================================ */
.pg-strip.is-stacked { position: relative; }
.pg-strip.is-stacked > h3, .pg-strip.is-stacked > p { position: relative; z-index: 2; }
.pg-strip.is-stacked .pg-card-grid {
  display: block; position: relative;
  height: min(74vh, 620px); min-height: 420px;
  max-width: 760px; margin: 1.6rem auto 0;
  overflow: clip; /* stacked cards fly in with xPercent offsets; keep them inside the deck */
}
.pg-strip.is-stacked .pg-card {
  position: absolute; inset: 0; margin: 0;
  border-radius: 20px; will-change: transform;
}
.pg-strip.is-stacked .pg-card:hover { transform: none; }
.pg-strip.is-stacked .pg-card-img { position: absolute; inset: 0; }
.pg-strip.is-stacked .pg-card-img img { width: 100%; height: 100%; object-fit: cover; }
.pg-strip.is-stacked .pg-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.6rem 1.4rem 1.2rem; color: #fff;
  font-size: 1.02rem; line-height: 1.5; font-weight: 600;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
  background: linear-gradient(to top, rgba(8,8,18,.88) 0%, rgba(8,8,18,.62) 60%, rgba(8,8,18,.38) 100%);
  border-radius: 0 0 20px 20px;
}
.pg-strip.is-stacked .pg-card figcaption::before {
  content: counter(pgcard, decimal-leading-zero);
  display: inline-block; margin-right: .6rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .08em;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; padding: .25em .7em; vertical-align: 2px;
}
.pg-strip.is-stacked .pg-card-grid { counter-reset: pgcard; }
.pg-strip.is-stacked .pg-card { counter-increment: pgcard; }
@media (max-width: 640px) {
  .pg-strip.is-stacked .pg-card-grid { height: 62vh; min-height: 360px; }
  .pg-strip.is-stacked .pg-card figcaption { font-size: .92rem; }
}

/* ================================================================
   JAVASCRIPT-REQUIRED NOTICE (William 2026-10-01, JS-first):
   photoaicompany is a cinematic JS-powered experience. Visitors with
   JavaScript disabled see this notice instead of fallback content.
   ================================================================ */
.noscript-notice {
  position: sticky; top: 0; z-index: 9999;
  background: #1c1430; color: #fff; text-align: center;
  font-size: .95rem; font-weight: 600; line-height: 1.5;
  padding: .9rem 1.2rem; box-shadow: 0 4px 18px rgba(0,0,0,.3);
}
.noscript-notice strong { color: #ffd166; }
.noscript-notice a { color: #fff; text-decoration: underline; }
