/* Vincent portfolio: shared styles for index.html and portfolio.html. Mobile-first, no framework. */
:root {
  --bg: #f6f3ee; --bg-alt: #ece7df; --panel: #fffdf9; --fg: #16171b; --muted: #5b5d66; --line: #d8d2c7;
  --accent: #1f6b55; --accent-ink: #ffffff; --highlight: #c8643b;
  --mark-bg: #ffe7a3; --mark-fg: #5a3d00;
  --term-bg: #0f1115; --term-fg: #d6dae2; --term-dim: #6b7280; --term-ok: #4ade80; --term-warn: #fbbf24;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1012; --bg-alt: #15161a; --panel: #1a1b20; --fg: #ecebe7; --muted: #a2a3aa; --line: #2b2d33;
    --accent: #7fc8ad; --accent-ink: #0d1f19; --highlight: #e8946c; --mark-bg: #4a3a10; --mark-fg: #ffe39a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1012; --bg-alt: #15161a; --panel: #1a1b20; --fg: #ecebe7; --muted: #a2a3aa; --line: #2b2d33;
  --accent: #7fc8ad; --accent-ink: #0d1f19; --highlight: #e8946c; --mark-bg: #4a3a10; --mark-fg: #ffe39a;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; }
h2 { font: 600 clamp(1.8rem, 5vw, 2.7rem)/1.08 var(--serif); letter-spacing: -0.015em; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0; }
mark { background: var(--mark-bg); color: var(--mark-fg); padding: 0 .3em; border-radius: 4px; font: 500 .82em var(--mono); }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.brand { font: 600 1.35rem var(--serif); color: var(--fg); text-decoration: none; }
.brand span { color: var(--highlight); }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
.nav li.opt { display: none; }
.nav a { color: var(--fg); text-decoration: none; font-size: .92rem; font-weight: 500; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--highlight); }
.nav .nav-cta { background: var(--fg); color: var(--bg); margin-left: 4px; }
.nav .nav-cta:hover { background: var(--accent); color: var(--accent-ink); }
@media (min-width: 820px) { .nav li.opt { display: block; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -12px var(--accent); }
.btn-ghost { border: 1.5px solid var(--fg); color: var(--fg); background: transparent; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .9rem; }

.eyebrow, .kicker { font: 500 .78rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 1rem; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 58ch; margin-top: 1.25rem; }
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 108px 0; } }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 2.4rem; max-width: 720px; }
.section-head p:not(.kicker) { color: var(--muted); margin-top: .9rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: 56px 0 64px; overflow: hidden; isolation: isolate; }
@media (min-width: 980px) { .hero { padding: 96px 0 104px; } }
.hero-bg { position: absolute; inset: 0; z-index: -1; opacity: .55; }
.hero-glow { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(55% 60% at 95% 5%, color-mix(in srgb, var(--highlight) 22%, transparent), transparent 70%),
  radial-gradient(45% 55% at 0% 100%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { font: 600 clamp(2.2rem, 6.4vw, 4.2rem)/1.03 var(--serif); letter-spacing: -0.025em; }
.hero h1 .rot { color: var(--highlight); display: block; }
.hero h1 .rot.swap { animation: rot .5s ease; }
@keyframes rot { 0% { opacity: 0; transform: translateY(.3em); } 100% { opacity: 1; transform: none; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 2.6rem; max-width: 520px; }
.hero-facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.hero-facts b { display: block; font: 600 1.7rem var(--serif); }
.hero-facts span { font-size: .82rem; color: var(--muted); }

/* Terminal card */
.term { background: var(--term-bg); color: var(--term-fg); border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06) inset; overflow: hidden; font: 13px/1.65 var(--mono); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 8px; color: var(--term-dim); font-size: 12px; }
.term-body { padding: 16px 18px 18px; min-height: 300px; white-space: pre-wrap; word-break: break-word; }
.term-body .dim { color: var(--term-dim); } .term-body .ok { color: var(--term-ok); } .term-body .warn { color: var(--term-warn); } .term-body .cmd { color: #93c5fd; }
.caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -2px; background: var(--term-fg); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-visual { position: relative; }
.hero-visual .float { position: absolute; width: 46%; right: -6%; bottom: -14%; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); transform: rotate(3deg); display: none; }
@media (min-width: 980px) { .hero-visual .float { display: block; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--panel); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: 500 .95rem var(--mono); color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.marquee span::after { content: "◆"; color: var(--highlight); font-size: .55rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Skills lab ---------- */
.lab { display: grid; gap: 20px; }
@media (min-width: 980px) { .lab { grid-template-columns: 280px 1fr; } }
.lab-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.lab-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 980px) { .lab-tabs { flex-direction: column; overflow: visible; } }
.lab-tab { flex: 0 0 auto; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.lab-tab b { display: block; font-size: .98rem; }
.lab-tab small { display: none; color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: 4px; }
@media (min-width: 980px) { .lab-tab small { display: block; } }
.lab-tab[aria-selected="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--panel)); }
.lab-tab .n { font: 500 .72rem var(--mono); color: var(--highlight); }
.lab-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px; min-height: 440px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 700px) { .lab-panel { padding: 28px; } }
.lab-panel[hidden] { display: none; }
.lab-panel header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.lab-panel header p { color: var(--muted); font-size: .95rem; max-width: 52ch; }
.lab-note { font: .75rem var(--mono); color: var(--muted); }
.seg { display: inline-flex; background: var(--bg-alt); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: .85rem; font-weight: 500; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--panel); color: var(--fg); box-shadow: 0 1px 3px rgba(0,0,0,.15); }

/* Responsive demo */
.rd-stage { flex: 1; background: repeating-linear-gradient(45deg, var(--bg-alt) 0 10px, var(--bg) 10px 20px); border-radius: 12px; display: flex; justify-content: center; align-items: flex-start; padding: 18px; overflow: hidden; }
.rd-frame { width: 100%; max-width: 100%; background: #fff; color: #1b1f27; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 40px -18px rgba(0,0,0,.45); transition: max-width .6s cubic-bezier(.2,.7,.2,1); container-type: inline-size; }
.rd-frame[data-w="tablet"] { max-width: 560px; }
.rd-frame[data-w="phone"] { max-width: 300px; }
.rd-nav { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid #eee; font: 600 .82rem var(--sans); }
.rd-nav ul { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; font-weight: 500; color: #555; }
.rd-burger { display: none; width: 18px; height: 12px; border-block: 2px solid #1b1f27; position: relative; }
.rd-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid #1b1f27; }
.rd-hero { padding: 22px 14px; background: linear-gradient(120deg, #1f3a5f, #2f6b8f); color: #fff; }
.rd-hero b { display: block; font: 600 1.25rem/1.15 var(--serif); max-width: 22ch; }
.rd-hero span { display: inline-block; margin-top: 12px; background: #e7c98a; color: #1b1f27; font-size: .72rem; font-weight: 700; padding: 6px 10px; border-radius: 6px; }
.rd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.rd-cards div { border-radius: 8px; background: #f2f4f7; padding: 8px; font-size: .72rem; color: #555; }
.rd-cards div::before { content: ""; display: block; aspect-ratio: 16/10; border-radius: 6px; margin-bottom: 6px; background: linear-gradient(150deg, #c9d6e8, #7d98bd); }
.rd-cards div:nth-child(2)::before { background: linear-gradient(150deg, #e9d8b8, #c19d68); }
.rd-cards div:nth-child(3)::before { background: linear-gradient(150deg, #cfe5d8, #6ea98b); }
.rd-call { display: none; margin: 0 14px 14px; text-align: center; background: #1f6b55; color: #fff; border-radius: 8px; padding: 10px; font-size: .8rem; font-weight: 600; }
@container (max-width: 440px) {
  .rd-nav ul { display: none; } .rd-burger { display: block; }
  .rd-cards { grid-template-columns: 1fr; } .rd-call { display: block; }
}

/* Live data demo */
.ld-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ld-stats div { background: var(--bg-alt); border-radius: 10px; padding: 10px 12px; }
.ld-stats span { display: block; font-size: .75rem; color: var(--muted); }
.ld-stats b { font: 600 1.15rem var(--mono); font-variant-numeric: tabular-nums; }
.ld-stats .up { color: #1a9a5b; } .ld-stats .dn { color: #d0473b; }
.ld-chart { flex: 1; min-height: 220px; position: relative; background: var(--bg-alt); border-radius: 12px; overflow: hidden; }
.ld-chart canvas { width: 100%; height: 100%; position: absolute; inset: 0; }
.ld-feed { font: .78rem/1.5 var(--mono); color: var(--muted); height: 3em; overflow: hidden; }

/* Slot demo */
.slot-wrap { flex: 1; display: grid; gap: 18px; align-items: center; }
@media (min-width: 760px) { .slot-wrap { grid-template-columns: 1.1fr .9fr; } }
.slot { background: radial-gradient(circle at 50% 0%, #3b2a7a, #120a24); border-radius: 18px; padding: 18px; box-shadow: inset 0 0 0 2px rgba(255,214,102,.35); }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.reel { height: 210px; overflow: hidden; border-radius: 12px; background: linear-gradient(#1d1340, #2a1b57 50%, #1d1340); position: relative; }
.reel::before, .reel::after { content: ""; position: absolute; left: 0; right: 0; height: 40px; z-index: 2; pointer-events: none; }
.reel::before { top: 0; background: linear-gradient(#1d1340, transparent); }
.reel::after { bottom: 0; background: linear-gradient(transparent, #1d1340); }
.strip { display: flex; flex-direction: column; will-change: transform; }
.strip span { height: 70px; display: grid; place-items: center; font-size: 2.3rem; }
.payline { position: relative; margin-top: -142px; height: 72px; border-block: 2px solid rgba(255,214,102,.55); pointer-events: none; margin-bottom: 70px; }
.slot-ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; gap: 12px; color: #f5e6c4; }
.spin { width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer; background: radial-gradient(circle at 35% 30%, #ffe08a, #d9951e); color: #2a1a00; font-weight: 800; font-size: .8rem; box-shadow: 0 8px 22px -6px rgba(255,190,60,.7); }
.spin:disabled { opacity: .6; cursor: wait; }
.slot-msg { font: 600 .95rem var(--mono); min-height: 1.5em; }
.fair { font: .74rem/1.55 var(--mono); background: var(--bg-alt); border-radius: 12px; padding: 14px; word-break: break-all; }
.fair dt { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; margin-top: 8px; }
.fair dt:first-child { margin-top: 0; }
.fair dd { margin: 2px 0 0; }
.fair .verified { color: #1a9a5b; font-weight: 600; }

/* Deploy pipeline demo */
.pipe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pipe li { list-style: none; text-align: center; font-size: .78rem; color: var(--muted); position: relative; padding-top: 44px; }
.pipe li::before { content: attr(data-i); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 .8rem var(--mono); background: var(--bg-alt); border: 2px solid var(--line); transition: all .3s; }
.pipe li.run::before { border-color: var(--highlight); color: var(--highlight); animation: pulse 1s infinite; }
.pipe li.done::before { content: "✓"; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pipe li.done { color: var(--fg); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--highlight) 25%, transparent); } }
.pipe-wrap { margin: 0; padding: 0; }
.ops-term .term-body { min-height: 190px; font-size: 12.5px; }

/* ---------- Featured work (home) ---------- */
.feat { display: grid; gap: 18px; }
@media (min-width: 760px) { .feat { grid-template-columns: 1fr 1fr; } }
.feat a { display: block; text-decoration: none; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.feat a:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -30px rgba(0,0,0,.5); }
.feat img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.feat .meta { padding: 18px 20px 22px; }
.feat .tag { margin-bottom: 4px; }
.feat h3 { font: 600 1.35rem var(--serif); }
.feat p { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.more { margin-top: 28px; }

/* ---------- Services ---------- */
.services { display: grid; gap: 16px; }
@media (min-width: 700px) { .services { grid-template-columns: 1fr 1fr; } }
.service { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.service-n { font: 500 .8rem var(--mono); color: var(--highlight); }
.service h3 { margin: .5rem 0 .6rem; font-size: 1.2rem; }
.service p { color: var(--muted); }

/* ---------- Process ---------- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; padding: 24px 4px 0; border-top: 2px solid var(--fg); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 .85rem var(--mono); color: var(--highlight); display: block; margin-bottom: .6rem; }
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--muted); }

/* ---------- Pricing ---------- */
.prices { display: grid; gap: 16px; }
@media (min-width: 900px) { .prices { grid-template-columns: repeat(3, 1fr); } }
.price { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: .8rem; align-content: start; }
.price-featured { border: 2px solid var(--accent); }
.amount { font: 600 1.5rem var(--serif); }
.price p { color: var(--muted); }
.price .amount { color: var(--fg); }
.time { font-size: .9rem; }

/* ---------- Contact / footer ---------- */
.contact { background: #15161a; color: #f2f0eb; }
.contact .kicker, .contact .lede { color: #a9abb2; }
.contact h2 { color: #fff; }
.contact .btn-primary { background: var(--highlight); color: #fff; margin-top: 2rem; box-shadow: none; }
.contact-list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 10px; }
.contact-list li { display: flex; flex-wrap: wrap; gap: 6px 16px; border-top: 1px solid #2c2e35; padding-top: 10px; }
.contact-list span { font: .78rem var(--mono); text-transform: uppercase; letter-spacing: .08em; min-width: 80px; color: #8d9098; padding-top: 3px; }
.contact a { color: #fff; }
.footer { padding: 28px 0; font-size: .88rem; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer a { color: var(--muted); }

/* ---------- Portfolio page ---------- */
.page-hero { padding: 64px 0 40px; }
@media (min-width: 900px) { .page-hero { padding: 96px 0 56px; } }
.page-hero h1 { font: 600 clamp(2.4rem, 7vw, 4.4rem)/1.02 var(--serif); letter-spacing: -0.025em; max-width: 16ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.filters button { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-size: .9rem; font-weight: 500; }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.case { padding: 40px 0 64px; border-top: 1px solid var(--line); }
.case[hidden] { display: none; }
.case-grid { display: grid; gap: 28px; }
@media (min-width: 980px) { .case-grid { grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; } .case:nth-of-type(even) .case-media { order: 2; } }
.case-media { display: grid; gap: 12px; }
.case-media .main { border-radius: 16px; overflow: hidden; background: var(--bg-alt); cursor: zoom-in; border: 0; padding: 0; display: block; width: 100%; }
.case-media .main img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s; }
.case-media .main:hover img { transform: scale(1.02); }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumbs button { border: 2px solid transparent; border-radius: 10px; padding: 0; overflow: hidden; cursor: pointer; background: var(--bg-alt); width: 92px; }
.thumbs button[aria-pressed="true"] { border-color: var(--highlight); }
.thumbs img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.case .tag { font: 500 .78rem var(--mono); color: var(--highlight); text-transform: uppercase; letter-spacing: .08em; }
.case h2 { margin: .5rem 0 1rem; }
.case dl { margin: 0; display: grid; gap: 4px; }
.case dt { font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 1rem; }
.case dt:first-child { margin-top: 0; }
.case dd { margin: 0; color: var(--muted); }
.features { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: 6px; }
.features li { padding-left: 22px; position: relative; color: var(--muted); }
.features li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.tag, .feat .tag { font: 500 .76rem var(--mono); color: var(--highlight); text-transform: uppercase; letter-spacing: .08em; }
.stack { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stack li { font: .76rem var(--mono); padding: 4px 10px; border-radius: 6px; background: var(--bg-alt); }
.status { display: inline-flex; align-items: center; gap: 6px; font: 500 .76rem var(--mono); padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); margin-left: 8px; vertical-align: middle; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1a9a5b; }
.status.pre::before { background: #e0a32b; }

.private-card { aspect-ratio: 16/10; border-radius: 16px; display: grid; place-items: center; text-align: center; padding: 24px;
  background: radial-gradient(70% 80% at 30% 20%, #f3e9dc, #e6d6c1); color: #1f2a44; position: relative; overflow: hidden; }
.private-card::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(171,87,40,.06) 22px 44px); }
.private-card > div { position: relative; }
.private-card b { font: 600 1.6rem var(--serif); display: block; }
.private-card span { display: block; margin-top: 8px; color: #6b5a48; font-size: .92rem; }
.private-card .lock { font-size: 2rem; display: block; margin-bottom: 8px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,9,12,.92); display: grid; place-items: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; width: auto; max-width: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox button { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 1.4rem; cursor: pointer; }
