/* Wev Logic Unit: wevlu.com
   Tokens → base → shell → components → pages → motion */

:root {
  /* primitives */
  --indigo-950: #0f0d33;
  --indigo-900: #16144a;
  --indigo-800: #221f66;
  --indigo-700: #34307f;
  --indigo-500: #5e5b80;
  --indigo-100: #e6e5f3;
  --indigo-50: #f5f4fb;
  --marigold-400: #ffb21e;
  --marigold-300: #ffc552;

  /* roles */
  --color-bg: var(--indigo-50);
  --color-bg-raised: #ffffff;
  --color-bg-alt: #ecebf7;
  --color-text: #24224d;
  --color-text-strong: var(--indigo-900);
  --color-text-muted: #55527a;
  --color-border: rgb(22 20 74 / 0.12);
  --color-night: var(--indigo-900);
  --color-night-raised: var(--indigo-800);
  --color-on-night: #ffffff;
  --color-on-night-muted: #c4c2e6;
  --color-accent: var(--marigold-400);
  --color-accent-hover: var(--marigold-300);
  --color-on-accent: var(--indigo-900);
  --color-focus: #3d6bff;

  /* type */
  --font-display: 'Big Shoulders Display', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hi: 'Noto Sans Devanagari', 'Figtree', sans-serif;

  /* motion (Emil Kowalski) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* surfaces */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-raised: 0 1px 2px rgb(15 13 51 / 0.06), 0 4px 12px rgb(15 13 51 / 0.06), 0 16px 40px -12px rgb(15 13 51 / 0.18);
  --shadow-icon: 0 1px 1px rgb(0 0 0 / 0.12), 0 6px 14px rgb(0 0 0 / 0.18), 0 22px 44px -10px rgb(0 0 0 / 0.38);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: var(--indigo-950);
    --color-bg-raised: #17154a;
    --color-bg-alt: #131140;
    --color-text: #dedcf3;
    --color-text-strong: #ffffff;
    --color-text-muted: #a9a6d0;
    --color-border: rgb(255 255 255 / 0.12);
    --color-night: #0b0a28;
    --color-night-raised: #17154a;
    --color-focus: #8aa6ff;
    color-scheme: dark;
  }
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-position: from-font; text-decoration-thickness: from-font; text-underline-offset: 0.18em; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; color: var(--color-text-strong); text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
:lang(hi) { font-family: var(--font-hi); }
::selection { background: var(--color-accent); color: var(--color-on-accent); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow, .wrap.narrow { max-width: 760px; }
.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.95;
}
.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--color-accent); color: var(--color-on-accent);
  padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-primary { background: var(--color-accent); color: var(--color-on-accent); box-shadow: 0 1px 0 rgb(255 255 255 / 0.4) inset, 0 6px 18px -6px rgb(255 178 30 / 0.55); }
.btn-ghost { border-color: rgb(255 255 255 / 0.32); color: var(--color-on-night); }
.btn-ghost-dark { border-color: var(--color-border); color: var(--color-text-strong); background: var(--color-bg-raised); }
.btn-on-tone { background: var(--ink); color: var(--bg); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--color-accent-hover); }
  .btn-ghost:hover { border-color: rgb(255 255 255 / 0.7); }
  .btn-ghost-dark:hover { border-color: var(--color-text-muted); }
  .btn-on-tone:hover { opacity: 0.9; }
}

/* ---------- logo ---------- */

.mark-badge { fill: var(--indigo-900); }
.mark-unit { fill: #ffffff; }
.mark-spark { fill: var(--color-accent); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--header-fg, var(--color-text-strong)); }
.logo .mark { flex: none; border-radius: 10px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14); }
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.logo-word span:last-child { color: var(--logo-accent, inherit); }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  --header-fg: var(--color-text-strong);
  color: var(--header-fg);
  transition: background-color 240ms ease, box-shadow 240ms ease;
}
[data-header="dark"] .site-header { --header-fg: #fff; --logo-accent: var(--color-accent); background: var(--color-night); }
[data-header="tone"] .site-header { --header-fg: var(--ink); background: var(--bg); }
[data-header="light"] .site-header { background: color-mix(in oklab, var(--color-bg) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--color-border); }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgb(255 255 255 / 0.08), 0 10px 30px -10px rgb(0 0 0 / 0.35); }
[data-header="light"] .site-header.is-scrolled { box-shadow: 0 1px 0 var(--color-border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.9375rem;
  color: var(--header-fg);
  transition: background-color 200ms ease;
}
.site-nav a[aria-current="page"] { background: color-mix(in oklab, var(--header-fg) 12%, transparent); }
@media (hover: hover) { .site-nav a:hover { background: color-mix(in oklab, var(--header-fg) 10%, transparent); } }
@media (max-width: 640px) {
  .header-row { min-height: 60px; }
  .logo-word { display: none; }
  .site-nav a { padding: 0 10px; font-size: 0.875rem; }
  .site-nav { gap: 0; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  background: var(--color-night);
  color: var(--color-on-night);
  padding-block: clamp(32px, 6vw, 72px) clamp(64px, 9vw, 120px);
  overflow: clip;
}
.hero::before {
  /* lamp light behind the board */
  content: ""; position: absolute; z-index: -1;
  inset: -20% -10% auto 35%; height: 120%;
  background: radial-gradient(closest-side, rgb(255 178 30 / 0.28), rgb(255 178 30 / 0.06) 55%, transparent 75%);
}
.hero::after {
  /* faint unit grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgb(255 255 255 / 0.09) 1.2px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero-title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(4.25rem, 11.5vw, 10rem); line-height: 0.84; letter-spacing: -0.01em;
  color: #fff;
}
.hero-title span { display: block; }
.hero-title span:last-child { color: var(--color-accent); }
.hero-lead { margin-top: 28px; max-width: 34ch; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--color-on-night-muted); }
.hero .actions { margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 44px; color: var(--color-on-night-muted); font-size: 0.9375rem; }
.hero-facts strong { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }

/* the 3×3 board */
.board-stage { perspective: 1400px; display: grid; place-items: center; --rx: 18deg; --ry: -18deg; }
.board {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.6vw, 18px);
  width: min(100%, 520px);
  padding: clamp(14px, 2vw, 22px);
  border-radius: calc(var(--radius-lg) + 8px);
  background: linear-gradient(145deg, rgb(255 255 255 / 0.10), rgb(255 255 255 / 0.03));
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.10) inset, 0 40px 80px -30px rgb(0 0 0 / 0.7);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(2deg);
  transform-style: preserve-3d;
  will-change: transform;
}
.board li { position: relative; transform-style: preserve-3d; }
.tile {
  position: relative; display: block; aspect-ratio: 1; border-radius: 23%;
  text-decoration: none; transform-style: preserve-3d;
  transition: transform 260ms var(--ease-out);
}
.tile .app-icon {
  width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
  box-shadow: var(--shadow-icon);
  outline: 1px solid rgb(255 255 255 / 0.1); outline-offset: -1px;
}
.tile::after {
  /* glossy top light */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.28), transparent 42%);
  mix-blend-mode: soft-light;
}
.tile-name {
  position: absolute; inset-inline: 50% auto; bottom: -10px; z-index: 2;
  transform: translate(-50%, 4px) translateZ(40px); opacity: 0;
  padding: 6px 10px; border-radius: 999px;
  background: #fff; color: var(--indigo-900);
  font-size: 0.8125rem; font-weight: 700; white-space: nowrap; pointer-events: none;
  box-shadow: 0 6px 20px -4px rgb(0 0 0 / 0.4);
  transition: opacity 160ms var(--ease-out), transform 200ms var(--ease-out);
}
.tile:focus-visible .tile-name { opacity: 1; transform: translate(-50%, 0) translateZ(40px); }
.tile:active { transform: translateZ(10px) scale(0.97); }
@media (hover: hover) {
  .tile:hover { transform: translateZ(36px); }
  .tile:hover .tile-name { opacity: 1; transform: translate(-50%, 0) translateZ(40px); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .board-stage { order: -1; --rx: 22deg; --ry: -10deg; }
  .board { width: min(100%, 420px); }
  .hero-facts { margin-top: 32px; }
}

/* ---------- sections ---------- */

.section { padding-block: clamp(64px, 9vw, 120px); }
.section-alt { background: var(--color-bg-alt); }
.section-head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 12px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .display { font-size: clamp(3rem, 7vw, 5.5rem); }
.section-head p { max-width: 46ch; color: var(--color-text-muted); justify-self: end; text-align: end; }
.h-md, .section-head .h-md { font-size: clamp(2rem, 4vw, 2.75rem); }
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; text-align: start; }
}

/* ---------- posters ---------- */

.poster-grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.poster-grid + .poster-grid { margin-top: clamp(14px, 2vw, 22px); }
.poster-grid-feature { grid-template-columns: repeat(2, 1fr); }
.poster-grid-3 { grid-template-columns: repeat(3, 1fr); }
.poster-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .poster-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .poster-grid-feature, .poster-grid-3, .poster-grid-2 { grid-template-columns: 1fr; } }

.poster {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr; gap: 28px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background: var(--bg); color: var(--ink);
  text-decoration: none;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.04) inset, var(--shadow-raised);
  transition: transform 200ms var(--ease-out);
}
.poster::before {
  content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; inset-inline-end: -12%; top: -24%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--glow) 45%, transparent), transparent);
  opacity: 0.75;
  transition: opacity 300ms ease;
}
.poster-art .app-icon {
  width: 112px; height: 112px; border-radius: 23%;
  box-shadow: var(--shadow-icon);
  outline: 1px solid rgb(255 255 255 / 0.1); outline-offset: -1px;
  transition: transform 300ms var(--ease-out);
}
.poster-text { display: flex; flex-direction: column; align-self: end; gap: 6px; }
.poster-genre { font-size: 0.9375rem; font-weight: 600; opacity: 0.78; }
.poster-name { color: inherit; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 3.2vw, 2.5rem); line-height: 0.95; }
.poster-tag { max-width: 36ch; opacity: 0.88; }
.status {
  align-self: start; margin-top: 12px;
  padding: 5px 12px; border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 13%, transparent);
  font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
}
.poster:active { transform: scale(0.985); }
@media (hover: hover) {
  .poster:hover .app-icon { transform: translateY(-6px) rotate(-3deg); }
  .poster:hover::before { opacity: 1; }
}

.poster-lg { grid-template-columns: 1fr auto; grid-template-rows: none; align-items: stretch; min-height: clamp(320px, 34vw, 440px); }
.poster-lg .poster-text { order: -1; }
.poster-lg .poster-art { align-self: center; }
.poster-lg .app-icon { width: clamp(132px, 15vw, 196px); height: auto; aspect-ratio: 1; }
.poster-lg .poster-name { font-size: clamp(2.5rem, 4.6vw, 3.75rem); }
.poster-lg::before { width: 90%; inset-inline-end: -25%; top: -10%; }
@media (max-width: 1080px) {
  .poster-lg { grid-template-columns: 1fr; }
  .poster-lg .poster-text { order: 0; }
  .poster-lg .poster-art { align-self: start; }
  .poster-lg .app-icon { width: 132px; }
}

/* ---------- rules ---------- */

.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.rule {
  padding: clamp(24px, 3vw, 32px); border-radius: var(--radius-lg);
  background: var(--color-bg-raised); box-shadow: var(--shadow-raised);
  border: 1px solid transparent;
}
.rule h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.875rem; line-height: 1; margin-bottom: 14px; }
.rule h3::before {
  content: ""; display: block; width: 14px; height: 14px; margin-bottom: 22px;
  border-radius: 4px; background: var(--color-accent);
  box-shadow: 18px 0 0 var(--indigo-900), 36px 0 0 var(--indigo-900);
}
@media (prefers-color-scheme: dark) { .rule h3::before { box-shadow: 18px 0 0 #fff, 36px 0 0 #fff; } }
.rule p { color: var(--color-text-muted); }
@media (max-width: 860px) { .rules { grid-template-columns: 1fr; } }

/* ---------- cta band ---------- */

.cta-band { background: var(--color-accent); color: var(--color-on-accent); padding-block: clamp(56px, 8vw, 96px); }
.cta-band h2 { color: inherit; font-size: clamp(3rem, 7vw, 5.5rem); }
.cta-band p { max-width: 52ch; margin-top: 14px; font-size: 1.125rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.cta-band .btn-primary { background: var(--indigo-900); color: #fff; box-shadow: 0 8px 24px -8px rgb(22 20 74 / 0.6); }
@media (hover: hover) { .cta-band .btn-primary:hover { background: var(--indigo-700); } }
@media (max-width: 520px) { .cta-band .btn { white-space: normal; text-align: center; width: 100%; } }

/* ---------- footer ---------- */

.site-footer { background: var(--color-night); color: var(--color-on-night-muted); padding-block: 72px 32px; --header-fg: #fff; --logo-accent: var(--color-accent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-tag { margin-top: 20px; font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; text-transform: uppercase; color: #fff; }
.footer-note { margin-top: 10px; max-width: 30ch; }
.footer-col { display: flex; flex-direction: column; gap: 2px; }
.footer-col h2 { font-size: 0.9375rem; font-weight: 700; color: #fff; margin-bottom: 8px; font-family: var(--font-body); }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; width: fit-content; overflow-wrap: anywhere; transition: color 200ms ease; }
@media (hover: hover) { .footer-col a:hover { color: #fff; } }
.footer-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.875rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }

/* ---------- title page ---------- */

.title-hero { position: relative; isolation: isolate; overflow: clip; background: var(--bg); color: var(--ink); padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); }
.title-hero::before {
  content: ""; position: absolute; z-index: -1; width: min(900px, 120vw); aspect-ratio: 1; inset-inline-start: -10%; top: 50%; translate: 0 -50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--glow) 42%, transparent), transparent);
}
.title-hero h1, .crumbs a { color: inherit; }
.title-hero-grid { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(28px, 6vw, 80px); }
.title-art .app-icon {
  width: clamp(160px, 22vw, 260px); height: auto; aspect-ratio: 1; border-radius: 23%;
  box-shadow: var(--shadow-icon); outline: 1px solid rgb(255 255 255 / 0.1); outline-offset: -1px;
  view-transition-name: hero-icon;
}
.crumbs { font-weight: 600; opacity: 0.8; margin-bottom: 12px; }
.crumbs a { text-decoration: underline; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); }
.title-name { font-size: clamp(3.25rem, 8vw, 6.5rem); font-weight: 900; line-height: 0.88; }
.title-tag { margin-top: 18px; font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 600; line-height: 1.3; max-width: 30ch; }
.title-summary { margin-top: 14px; max-width: 56ch; opacity: 0.88; font-size: 1.0625rem; }
.title-hero .actions { margin-top: 28px; }
.store-note { font-size: 0.9375rem; opacity: 0.8; }
@media (max-width: 760px) { .title-hero-grid { grid-template-columns: 1fr; } }

.title-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .title-body { grid-template-columns: 1fr; } }
.prose { max-width: 66ch; }
.prose h2 { margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 1em; }
.prose a { color: var(--color-text-strong); font-weight: 600; }
.features { display: grid; gap: 12px; }
.features li { position: relative; padding-inline-start: 32px; }
.features li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.42em; width: 14px; height: 14px; border-radius: 4px;
  background: radial-gradient(circle, var(--glow) 0 2.5px, var(--bg) 3px);
  box-shadow: 0 0 0 1px var(--color-border);
}
.facts { position: sticky; top: 96px; padding: 24px; border-radius: var(--radius-md); background: var(--color-bg-raised); box-shadow: var(--shadow-raised); border: 1px solid transparent; }
.facts dl { margin: 0; display: grid; }
.facts dl > div { display: grid; gap: 2px; padding-block: 12px; }
.facts dl > div + div { border-top: 1px solid var(--color-border); }
.facts dt { font-size: 0.875rem; color: var(--color-text-muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--color-text-strong); }

/* ---------- inner pages ---------- */

.page-hero { padding-block: clamp(56px, 9vw, 120px) clamp(24px, 4vw, 48px); }
.page-title { font-size: clamp(3.25rem, 8vw, 6rem); font-weight: 900; line-height: 0.9; }
.page-lead { margin-top: 20px; font-size: clamp(1.125rem, 1.8vw, 1.3125rem); color: var(--color-text-muted); max-width: 52ch; }
.page-hero .btn { margin-top: 28px; }
.page-hero + .section { padding-top: clamp(24px, 4vw, 48px); }
.not-found { text-align: start; padding-bottom: clamp(80px, 12vw, 160px); }
.not-found .mark { margin-bottom: 28px; border-radius: 18px; }
.not-found .actions { margin-top: 28px; }

.team-section { padding-top: 0; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.member {
  display: flex; align-items: center; gap: 20px; padding: 20px;
  border: 1px solid transparent; border-radius: calc(var(--radius-md) + 20px - 20px);
  background: var(--color-bg-raised); box-shadow: var(--shadow-raised);
}
.member-badge {
  flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px;
  background: var(--indigo-900); color: var(--color-accent);
  font-family: var(--font-display); font-weight: 900; font-size: 2rem; letter-spacing: 0.02em;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12) inset;
}
.member strong { display: block; color: var(--color-text-strong); font-size: 1.1875rem; line-height: 1.3; }
.member span span { display: block; color: var(--color-text-muted); }
.lineup { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.lineup a {
  display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: calc(var(--radius-sm) + 12px);
  background: var(--color-bg-raised); text-decoration: none; box-shadow: var(--shadow-raised); border: 1px solid transparent;
  transition: transform 160ms var(--ease-out);
}
.lineup a:active { transform: scale(0.98); }
.lineup .app-icon { width: 64px; height: 64px; border-radius: 23%; outline: 1px solid rgb(0 0 0 / 0.1); outline-offset: -1px; }
.lineup strong { display: block; color: var(--color-text-strong); line-height: 1.3; }
.lineup a span span { color: var(--color-text-muted); font-size: 0.9375rem; }

.contact-list { display: grid; }
.contact-list li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; }
.contact-list li + li { border-top: 1px solid var(--color-border); }
.contact-list h2 { font-size: 1.25rem; margin-bottom: 4px; }
.contact-list p { color: var(--color-text-muted); }
@media (max-width: 560px) { .contact-list li { flex-direction: column; align-items: flex-start; } }

/* ---------- motion ---------- */

@keyframes tile-in {
  from { opacity: 0; transform: translateZ(-80px) rotateX(-50deg) scale(0.95); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
}
@media (prefers-reduced-motion: no-preference) {
  .board li { animation: tile-in 720ms var(--ease-out) both; animation-delay: calc(180ms + var(--i) * 55ms); }
  .hero-title span { animation: rise-in 640ms var(--ease-out) both; }
  .hero-title span:nth-child(2) { animation-delay: 70ms; }
  .hero-title span:nth-child(3) { animation-delay: 140ms; }
  .hero-lead, .hero .actions, .hero-facts { animation: rise-in 640ms var(--ease-out) 260ms both; }

  @view-transition { navigation: auto; }
  ::view-transition-group(*) { animation-duration: 340ms; animation-timing-function: var(--ease-out); }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .board { transform: rotateX(12deg) rotateY(-10deg); }
}
