/* Insights (PLAN-SITE A8): the index and the three articles. Quiet pages (world: null, no WebGL: reading pages stay
   fast): three frames from the system as stills, every word static in the HTML. On top of kit/v3e/site.css (the quiet
   page's still, hero and Closing; the reading layout .rd; flow panels .fl that rise as they come up the frame) this
   file adds only what Insights has of its own: the three lit windows, the cover's push, the reading chain, the
   illustrative frames, the result, the next article. Page tokens use the --in- prefix.
   Motion: transform and opacity only, the kit's --ease-out. Reduced motion: no push, no fill, no rise (site.css). */

.in-page { --in-read: rgba(14, 10, 22, 0.72); --in-m: var(--g-m, max(48px, 5vw)); }
@media (max-width: 760px) { .in-page { --in-m: 20px; } }

/* ============================================================ the index: the night roof, the hero, three lit windows */
.in-night img { object-position: 50% 64%; }
html.fz-quiet .e-sec--hero.in-ihero { min-height: 70svh; padding-bottom: 6vh; }
.in-ihero .xp__t { max-width: 13ch; }
html.fz-quiet .e-sec.fl-sec.in-wins-sec { display: block; padding-top: 0; padding-bottom: clamp(56px, 10vh, 112px); }
.in-wins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; align-items: stretch; max-width: 1400px; }
.in-win { width: auto; display: block; }
.in-win__a { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 10px; height: 100%; box-sizing: border-box; padding: 12px 12px 18px; border-radius: 18px; color: var(--signal); text-decoration: none; isolation: isolate; }
/* the window: a tall frame of the reading glass, lit from inside by its frame of the system */
.in-win__a::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--gl-read-tint, rgba(14, 10, 22, 0.86)); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 48px rgba(0, 0, 0, 0.34); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  html.gl-blur .in-win__a::before { background: var(--in-read); -webkit-backdrop-filter: blur(14px) saturate(115%); backdrop-filter: blur(14px) saturate(115%); }
}
.in-win__c { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: #0d0b12; margin-bottom: 6px; }
.in-win__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--ease-out); }
.in-win__c::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(242, 194, 122, 0.18), inset 0 48px 64px -36px rgba(242, 194, 122, 0.2); }
.in-win__credit { position: absolute; left: 10px; bottom: 10px; padding: 5px 8px; border-radius: 6px; background: rgba(7, 6, 10, 0.8); font-size: 10px; letter-spacing: 0.12em; color: rgba(236, 233, 241, 0.92); max-width: calc(100% - 20px); }
.in-win__st, .in-win__t, .in-win__dek { margin: 0; padding: 0 8px; }
.in-win__st { font-size: 10.5px; letter-spacing: 0.16em; color: var(--filament); }
.in-win__t { font: 600 clamp(24px, 2.1vw, 34px)/0.96 var(--font-title); font-stretch: 88%; letter-spacing: -0.03em; text-transform: uppercase; text-wrap: balance; }
.in-win__dek { font: 400 15px/1.5 var(--font-body); color: rgba(236, 233, 241, 0.86); text-wrap: pretty; }
.in-win__meta { margin: 4px 8px 0; padding-top: 12px; border-top: 1px solid rgba(236, 233, 241, 0.1); font-size: 10px; letter-spacing: 0.14em; color: rgba(236, 233, 241, 0.76); }
.in-win__a:focus-visible { outline: 2px solid var(--filament); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .in-win__a:hover .in-win__img { transform: scale(1.03); }
  .in-win__a:hover::before { border-color: rgba(201, 182, 234, 0.32); }
}
/* the three come up the frame one after another (site.css rises a flow block's children; these stagger by window) */
html:not(.v3-reduced) .in-win.fl.is-in > * { transition-delay: calc(80ms + var(--i, 0) * 90ms); }

/* ============================================================ an article: the cover, the chain, the reading */
.in-cover { height: 92vh; height: 92svh; }
.in-cover__img { transform-origin: 50% 42%; }
.in-cover::after { background: linear-gradient(180deg, rgba(7, 6, 10, 0.34) 0%, rgba(7, 6, 10, 0.08) 30%, rgba(7, 6, 10, 0.3) 62%, var(--void) 100%); }
html.fz-quiet .e-sec--hero.in-hero { min-height: 88svh; }
.in-hero .xp__t { max-width: 15ch; }
.in-dek { max-width: 44ch; }
.in-meta { font: 500 10.5px/1.6 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(236, 233, 241, 0.84); }
.in-meta__st { color: var(--filament); }
.in-meta--credit { letter-spacing: 0.12em; font-size: 10px; color: rgba(236, 233, 241, 0.78); }
html.fz-quiet .e-sec.fl-sec.in-read { background: var(--void); padding-top: clamp(40px, 8vh, 88px); }

/* the reading chain: the growth system as a thin lavender line under the header, filled as you read (scaleX); the
   article's own station lit, its name under it */
.in-chain { position: fixed; z-index: 40; left: var(--in-m); right: var(--in-m); top: calc(var(--nav-h, 72px) + 6px); height: 26px; pointer-events: none; transition: opacity 240ms var(--ease-out); }
.in-chain__track, .in-chain__fill { position: absolute; left: 0; right: 0; top: 4px; height: 1px; }
.in-chain__track { background: rgba(236, 233, 241, 0.16); }
.in-chain__fill { background: var(--filament); transform-origin: 0 50%; transform: scaleX(0); }
.in-chain__nodes { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.in-chain__n { position: absolute; top: 0; left: calc(var(--x) * 100%); width: 0; }
.in-chain__dot { position: absolute; left: -2.5px; top: 2px; width: 5px; height: 5px; border-radius: 50%; background: #3e3946; box-shadow: 0 0 0 2px var(--void); }
.in-chain__n--end .in-chain__dot { border-radius: 1px; }
.in-chain__n.is-here .in-chain__dot { left: -4.5px; top: 0; width: 9px; height: 9px; background: var(--filament); box-shadow: 0 0 0 3px var(--void), 0 0 14px rgba(201, 182, 234, 0.7); }
.in-chain__k { position: absolute; top: 13px; left: 0; transform: translateX(-50%); font-size: 10px; letter-spacing: 0.16em; color: var(--filament); white-space: nowrap; text-shadow: 0 1px 3px rgba(7, 6, 10, 0.95); }
.in-chain__n:first-child .in-chain__k { transform: none; }
.in-chain__n:last-child .in-chain__k { transform: translateX(-100%); }
html.fz-menu-open .in-chain, html.fz-leaving .in-chain { opacity: 0; }
/* (PORT-SITE, check_contrast) the chain leaves once the text has passed it: it never stands over the credits */
.in-chain.is-past { opacity: 0; }

/* the illustrative frame: a reading panel whose header says what it is, at body size */
.rd__body .in-ill { position: relative; isolation: isolate; margin: 26px 0 30px; padding: 20px 22px 18px; border-radius: 16px; }
.rd__body .in-ill::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--in-read); border: 1px dashed rgba(236, 233, 241, 0.24); }
.rd__body .in-ill__head { margin: 0 0 12px; padding-bottom: 11px; border-bottom: 1px solid rgba(236, 233, 241, 0.12); font: 600 17px/1.35 var(--font-body); color: var(--signal); }
.rd__body .in-ill__rows { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; }
.rd__body .in-ill li, .rd__body .in-ill p { font-size: 16px; line-height: 1.55; }
.rd__body .in-ill li + li { margin-top: 0; }
/* a result, as approved: the figure, what it measures and its window, the client and "Fezey-reported" */
.rd__body .in-fig { display: grid; gap: 4px; margin: 24px 0 18px; padding: 16px 0 14px 20px; border-left: 2px solid var(--gold); }
.rd__body .in-fig p { margin: 0; }
.rd__body .in-fig__v { font: 800 clamp(48px, 5vw, 76px)/0.9 var(--font-title); letter-spacing: -0.04em; color: var(--gold); }
.rd__body .in-fig__l { font: 500 17px/1.4 var(--font-body); color: var(--signal); }
.rd__body .in-fig__who { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; font-size: 10.5px; letter-spacing: 0.16em; color: rgba(236, 233, 241, 0.82); }
.rd__body .in-case { margin-top: 14px; }
.rd__body .in-case a { text-decoration: none; }

/* ============================================================ the Closing: the statement, Start something, the next window */
html.fz-quiet .e-sec--cta.in-cta { min-height: 58svh; display: grid; align-content: center; justify-items: center; padding: 12vh var(--in-m); }
.in-cta .xp { justify-items: center; text-align: center; }
.in-cta .xp__h2 { max-width: 20ch; }
.in-cta .xp__act { justify-content: center; gap: 16px 28px; }
.in-next { display: grid; grid-template-columns: 76px auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 8px 18px 8px 8px; border-radius: 14px; border: 1px solid rgba(236, 233, 241, 0.16); background: rgba(7, 6, 10, 0.4); color: var(--signal); text-decoration: none; text-align: left; transition: border-color 180ms ease; }
.in-next__c { grid-row: 1 / 3; width: 92px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #0d0b12; }
.in-next__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.in-next__k { font-size: 10px; letter-spacing: 0.16em; color: var(--filament); align-self: end; }
.in-next__t { font: 600 17px/1.15 var(--font-title); font-stretch: 90%; text-transform: uppercase; letter-spacing: -0.02em; align-self: start; max-width: 22ch; }
.in-next:focus-visible { outline: 2px solid var(--filament); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .in-next:hover { border-color: var(--filament); } }

/* the related reading under the article (SEO-PLAN rows 20-22): the pages the article argues for */
.in-rel { margin: 40px 0 0; padding-top: 18px; border-top: 1px solid rgba(236, 233, 241, 0.12); font-size: 15px; line-height: 1.6; color: rgba(236, 233, 241, 0.74); }
.in-rel__k { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(236, 233, 241, 0.58); }
.in-rel a { color: var(--bone, #ece9f1); text-decoration: underline; text-decoration-color: rgba(201, 182, 234, 0.5); text-underline-offset: 3px; }
.in-rel a:hover { text-decoration-color: currentColor; }

/* ============================================================ phones and narrow screens */
@media (max-width: 900px) {
  .in-wins { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .in-win__c { aspect-ratio: 21 / 9; }
}
@media (max-width: 760px) {
  html.fz-quiet .e-sec--hero.in-ihero { min-height: 64svh; }
  html.fz-quiet .e-sec--cta.in-cta { min-height: 46svh; padding: 8vh 20px; }
  html.fz-quiet .e-sec--hero.in-hero { min-height: 80svh; }
  .in-cover { height: 84svh; }
  .in-chain { top: calc(var(--nav-h, 60px) + 4px); }
  .in-chain__k { font-size: 9.5px; letter-spacing: 0.12em; }
  .rd__body .in-ill { padding: 16px 16px 14px; }
  .in-cta .xp__act { flex-direction: column; }
  .in-next { width: 100%; box-sizing: border-box; }
}

/* ============================================================ reduced motion: everything in place, nothing pushed */
html.v3-reduced .in-cover__img { transform: none !important; }
html.v3-reduced .in-chain__fill { display: none; }
@media (prefers-reduced-motion: reduce) { .in-win__img, .in-next, .in-chain { transition: none !important; } }
/* (P1, change 19) the covers are daylight photographs now (a tape measure on a white ground, a concrete post): the
   hero's words take a deeper glass so they read on them, on every article alike */
.in-hero .xp[data-story="hero"] { --gl-fill: rgba(14, 10, 22, 0.7); --gl-tint: rgba(14, 10, 22, 0.76); }
