/* Shared styling for every chooser level: projects → funnel → page → versions.
   The version sites themselves are self-contained and never load this. */

:root {
  --orange: #FF751F;
  --orange-hi: #FF9A55;
  --purple: #975AB6;
  --ink: #130C19;
  --on-ink: rgba(248, 243, 250, .78);
  --on-ink-2: rgba(248, 243, 250, .5);
  --line: rgba(255, 255, 255, .12);
  --r: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Work Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: clamp(28px, 4vw, 52px) clamp(18px, 4.4vw, 44px) clamp(56px, 8vw, 110px);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: #fff;
  background:
    radial-gradient(70% 60% at 6% 0%, rgba(151, 90, 182, .42), transparent 62%),
    radial-gradient(60% 55% at 98% 8%, rgba(255, 117, 31, .26), transparent 60%),
    var(--ink);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, li, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 10px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; }

/* ---------- breadcrumb ---------- */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: clamp(26px, 4vw, 46px); font-size: .82rem; color: var(--on-ink-2); }
.crumb a { padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, box-shadow .25s; }
.crumb a:hover { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); }
.crumb b { padding: 5px 12px; font-weight: 600; color: #fff; }
.crumb span { opacity: .45; }

/* ---------- page head ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 11px; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--orange), var(--purple)); }

.lede h1 { margin: 18px 0 16px; text-wrap: balance; font-weight: 800; font-size: clamp(2.1rem, 1.2rem + 3.2vw, 3.8rem); line-height: 1.03; letter-spacing: -.04em; }
.lede h1 em { font-style: italic; font-weight: 300; background: linear-gradient(100deg, var(--orange-hi), #E0607E 55%, #C08AE0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede p { color: var(--on-ink); text-wrap: pretty; font-size: clamp(1rem, .96rem + .25vw, 1.12rem); }

.meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.meta li { padding: 9px 17px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); font-size: .85rem; color: var(--on-ink); }
.meta b { color: #fff; }

/* ---------- cards ---------- */
/* Flex rather than grid: cards keep a sane width whether a level has one, two
   or three of them, without each chooser having to declare its own count. */
.grid { display: flex; flex-wrap: wrap; gap: 22px; margin-top: clamp(34px, 4.6vw, 56px); }

.card { flex: 1 1 320px; max-width: 420px; display: flex; flex-direction: column; border-radius: var(--r); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s; }
.card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.card--rec { box-shadow: inset 0 0 0 1.5px var(--orange), 0 26px 60px -34px rgba(255, 117, 31, .8); }

.card__shot { position: relative; aspect-ratio: 8 / 5; overflow: hidden; background: #000; }
.card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1s var(--ease); }
.card:hover .card__shot img { transform: scale(1.04); }
.card__tag { position: absolute; left: 14px; top: 14px; padding: 6px 13px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px 22px 24px; }
.card__body h2 { font-weight: 700; font-size: 1.28rem; letter-spacing: -.02em; }
.card__body h2 span { display: block; margin-bottom: 5px; font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--on-ink-2); }
.card__body > p { flex: 1 1 auto; margin-top: 10px; font-size: .94rem; color: var(--on-ink); }

.traits { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.traits li { padding: 5px 11px; border-radius: 8px; background: rgba(255, 255, 255, .07); font-size: .76rem; color: var(--on-ink); }

.links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-size: .92rem; font-weight: 600; transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--orange-hi); }
.btn--ghost { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn span[aria-hidden] { transition: transform .35s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(3px); }

/* ---------- credit ---------- */
.made { width: 100%; max-width: 1180px; margin: clamp(44px, 6vw, 72px) auto 0; padding-top: 26px; border-top: 1px solid var(--line); }
.made__link { display: flex; align-items: center; justify-content: center; gap: 14px; width: fit-content; margin-inline: auto; padding: 6px 10px; border-radius: 12px; font-size: .9rem; color: var(--on-ink-2); transition: color .25s; }
.made__link:hover { color: #fff; }
.made__link img { width: auto; height: 34px; }
.made__text { display: inline-flex; align-items: center; gap: 6px; }
.made__heart { width: 16px; height: 16px; fill: #FF5A76; transition: transform .35s var(--ease); }
.made__link:hover .made__heart { transform: scale(1.15); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
