/* showcase.css - the page AROUND the URSY AI Observatory (22 Nov 2026). NEW, not from the viewer.
 * Light page, same family as the Ask Lee demo (D:/ASK-LEE-WIDGET-HANDOVER-2026-11-22/demo/demo.css): same ink, teal,
 * paper and font names. The observatory keeps its own dark look inside the stage. Fonts are named, never loaded:
 * 'DM Sans', 'Instrument Serif', 'DM Mono' with system fallbacks. Text colours measured at 4.5:1 or more. */

:root {
  --ink: #0F2622;
  --ink-hover: #134444;
  --teal: #7a5af8;
  --teal-ink: #2a5bf5;      /* 5.0:1 on white */
  --teal-ink-2: #1b3fb0;    /* 5.5:1 on mint */
  --mint: #DDF3EA;
  --mint-soft: #E9F6F1;
  --muted: #4E5F5A;         /* 6.8:1 on white */
  --line: rgba(15, 38, 34, .10);
  --line-2: rgba(15, 38, 34, .16);
  --paper: #FBFAF6;
  --sand: #F6F5F0;
  --screen: #04060c;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace;
  color-scheme: light;
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body.obs-page { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--sans); }
.obs-page :where(a, button):focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; }
.wrap { box-sizing: border-box; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

/* ---------- hero ---------- */
.hero { padding: 34px 16px 18px; }
@media (min-width: 700px) { .hero { padding: 46px 32px 22px; } }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px;
  font: 500 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink-2);
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero h1 { margin: 0 0 14px; max-width: 16em; font: 400 clamp(36px, 5.6vw, 62px)/1.02 var(--serif); letter-spacing: -.01em; }
.lede { margin: 0; max-width: 36em; font-size: 20px; line-height: 1.5; color: var(--muted); }
.lede strong { color: var(--ink); font-weight: 700; }
.figures { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.figures li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.figures b { display: block; font: 700 clamp(24px, 3.2vw, 32px)/1.1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.figures span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ---------- the stage (the observatory itself) ---------- */
.stage-wrap { padding-top: 18px; scroll-margin-top: 12px; }
.stage {
  position: relative; overflow: hidden; border-radius: 18px; background: var(--screen);
  box-shadow: 0 30px 70px -30px rgba(4, 6, 12, .55), 0 0 0 1px rgba(15, 38, 34, .18);
  aspect-ratio: 16 / 10; max-height: 84vh; min-height: 400px; width: 100%;
}
@media (max-width: 760px) { .stage { aspect-ratio: auto; height: 78vh; min-height: 480px; border-radius: 14px; } }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: var(--screen); }
.stage iframe[hidden] { display: none; }
.stage:fullscreen { border-radius: 0; max-height: none; aspect-ratio: auto; width: 100vw; height: 100vh; }
.poster { position: absolute; inset: 0; margin: 0; }
.poster[hidden] { display: none; }
.poster img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; filter: saturate(1.05); }
.poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 6, 12, 0) 40%, rgba(4, 6, 12, .78) 100%); }
.poster-cta {
  position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px; width: max-content; max-width: 92%;
}
.poster-play {
  appearance: none; border: 0; cursor: pointer; border-radius: 999px; padding: 15px 28px;
  background: var(--teal); color: #04221d; font: 700 18px/1.1 var(--sans); letter-spacing: .01em;
  box-shadow: 0 10px 30px rgba(38, 194, 168, .35);
}
.poster-play:hover { background: #9db8ff; }
.poster-note { margin: 0; color: #dfe7f1; font-size: 15px; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }

.stage-bar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; margin-top: 14px; }
.now { min-width: 0; flex: 1 1 420px; }
.now-kicker { display: block; font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink-2); }
.now-title { display: block; margin-top: 4px; font: 700 22px/1.25 var(--sans); }
.now-story { margin: 6px 0 0; max-width: 46em; font-size: 16px; color: var(--muted); }
.stage-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn {
  appearance: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none;
  border-radius: 999px; padding: 10px 16px; font: 600 15px/1.1 var(--sans);
  background: #fff; color: var(--ink); border: 1px solid var(--line-2);
}
.btn:hover { border-color: var(--teal-ink); color: var(--teal-ink-2); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-hover); color: #fff; }

/* ---------- dataset cards ---------- */
.section { padding: 46px 0 8px; }
.section h2 { margin: 0 0 6px; font: 400 clamp(30px, 3.8vw, 42px)/1.1 var(--serif); }
.section .sub { margin: 0 0 20px; color: var(--muted); max-width: 40em; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(226px, 1fr)); }
.card {
  appearance: none; width: 100%; height: 100%; text-align: left; cursor: pointer; padding: 0; margin: 0;
  display: flex; flex-direction: column; overflow: hidden; border-radius: 16px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); font: inherit;
  box-shadow: 0 1px 2px rgba(15, 38, 34, .04); transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(15, 38, 34, .35); border-color: var(--line-2); }
.card[aria-pressed="true"] { border-color: var(--teal-ink); box-shadow: 0 0 0 2px var(--teal), 0 14px 30px -16px rgba(15, 38, 34, .35); }
.card-pic { display: block; position: relative; aspect-ratio: 16 / 10; background: var(--screen); overflow: hidden; }
.card-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.card:hover .card-pic img { transform: scale(1.04); }
.card-play {
  position: absolute; right: 10px; bottom: 10px; padding: 6px 11px; border-radius: 999px;
  background: rgba(4, 6, 12, .72); color: #fff; font: 700 13px/1 var(--sans); letter-spacing: .02em;
  border: 1px solid rgba(255, 255, 255, .18);
}
.card[aria-pressed="true"] .card-play { background: var(--teal); color: #04221d; border-color: transparent; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 13px 15px 15px; flex: 1; }
.card-kicker { font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink-2); }
.card-head { font: 700 19px/1.22 var(--sans); letter-spacing: -.005em; }
.card-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.card-chips span { font-size: 12.5px; line-height: 1.2; padding: 4px 8px; border-radius: 999px; background: var(--sand); border: 1px solid var(--line); color: var(--ink); }
.card-foot { margin-top: auto; padding-top: 4px; font-size: 13px; color: var(--muted); }

/* ---------- how to read + where from ---------- */
.two { display: grid; gap: 18px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 26px; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.panel h2 { margin: 0 0 12px; font: 400 32px/1.1 var(--serif); }
.legend, .facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legend li, .facts li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; font-size: 16.5px; }
.legend b, .facts b { font-weight: 700; }
.lg { width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; display: block; }
.lg-bubble { background: radial-gradient(circle at 50% 45%, rgba(52, 211, 153, .35), rgba(52, 211, 153, .08) 70%); border: 1.5px solid rgba(29, 125, 107, .55); }
.lg-dot { background: radial-gradient(circle at 35% 35%, #fff 0 14%, #fb7185 30%, #2a5bf5 100%); width: 16px; height: 16px; margin: 5px 0 0 3px; }
.lg-line { border-radius: 4px; height: 4px; margin-top: 11px; background: linear-gradient(90deg, #a855f7, #c084fc); box-shadow: 0 0 6px rgba(168, 85, 247, .6); }
.lg-ring { border: 3px solid; background: #0a0f1c; }
.lg-red { border-color: #ef4444; } .lg-gold { border-color: #f5b301; } .lg-blue { border-color: #3b82f6; } .lg-purple { border-color: #8b5cf6; }
.tick { width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: var(--mint); color: var(--teal-ink-2); font: 700 13px/22px var(--sans); text-align: center; }
.panel .small { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

.foot { padding: 40px 16px 50px; color: var(--muted); font-size: 14px; }
@media (min-width: 700px) { .foot { padding: 40px 32px 56px; } }
.foot p { margin: 0 0 6px; }
.foot a { color: var(--teal-ink); }

/* ---------- how to use it (above the stage; Lee, 22 Nov 2026) ---------- */
.howto { margin: 0 0 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.howto-title { margin: 0 0 10px; font: 500 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink-2); }
.howto-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .howto-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .howto-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.howto-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: 16px; line-height: 1.4; }
.howto-steps .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 14px/28px var(--sans); text-align: center; }
.howto-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); max-width: 62em; }
.howto-note b { color: var(--ink); }

/* ---------- why forensic analytics ---------- */
.pros { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pros { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .pros { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pros li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; padding: 14px 16px; display: grid; gap: 4px; }
.pros b { font: 700 18px/1.25 var(--sans); }
.pros span { font-size: 15.5px; line-height: 1.45; color: var(--muted); }
