:root {
  --bg: #000;
  --surface: #121212;
  --card: #1c1c1c;
  --edge: rgba(255,255,255,.08);
  --text: #fff;
  --muted: #999;
  --yellow: #F5E900;
  --footer-yellow: #F8EC1C;
  --script-ink: #1c2340;
  --radius: 12px;
  --pad: 28px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* top bar: dark strip, centered sponsor slot */
.topbar { background: #1a1a1a; padding: 16px var(--pad); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.sponsorbar { position: relative; height: 24px; display: flex; align-items: center; justify-content: center; }
.sponsorbar-logo, .sponsorbar-cta { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; color: #b9b9b9; white-space: nowrap; transition: opacity .5s ease; }
.sponsorbar-logo img { height: 20px; width: auto; }
.sponsorbar-cta { color: var(--yellow); font-weight: 600; opacity: 0; pointer-events: none; }
.sponsorbar.show-cta .sponsorbar-logo { opacity: 0; pointer-events: none; }
.sponsorbar.show-cta .sponsorbar-cta { opacity: 1; pointer-events: auto; }
.sponsorbar[data-mode="static"] .sponsorbar-logo, .sponsorbar[data-mode="static"] .sponsorbar-cta { position: static; opacity: 1; pointer-events: auto; }
.sponsorbar[data-mode="static"] { gap: 16px; }

/* hero: full-bleed wordmark + lead/subscribe row */
.hero-band { padding: 8px 8px 0 8px; }
.wordmark { display: block; }
.wordmark img { width: 100%; height: auto; }
.hero-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 26px calc(var(--pad) - 8px) 34px; }
.hero-lead { flex: 0 1 560px; margin: 0; font-size: 22px; line-height: 1.35; color: #9a9a9a; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
.mc { display: flex; gap: 12px; flex: 1 1 380px; max-width: 560px; min-width: 280px; }
.mc input[type=email] { flex: 1; min-width: 0; padding: 18px 24px; border-radius: 40px; border: 1px solid rgba(255,255,255,.12); background: #161616; color: #fff; font: inherit; font-size: 16px; outline: none; }
.mc input[type=email]:focus { border-color: var(--yellow); }
.mc-hp { position: absolute; left: -9999px; }
.mc-done { color: var(--yellow); font-weight: 600; font-size: 18px; align-self: center; }
.mc { flex-wrap: wrap; }
.mc-error { flex-basis: 100%; margin: 6px 0 0 16px; font-size: 13px; color: #f0a0a0; }
.mc button[disabled] { opacity: .6; cursor: default; }
.btn { display: inline-block; background: var(--yellow); color: #000; font-weight: 700; font-size: 16px; padding: 18px 34px; border-radius: 40px; border: 0; cursor: pointer; line-height: 1.2; }
.btn:hover { opacity: .88; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.22); white-space: nowrap; }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); opacity: 1; }
.hero-link { display: inline-flex; align-items: center; padding: 18px 6px; font-size: 15px; font-weight: 500; color: #cfcfcf; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255,255,255,.35); white-space: nowrap; line-height: 1.2; }
.hero-link:hover { color: var(--yellow); text-decoration-color: var(--yellow); }

/* page shell: full width with page padding, like Framer */
.page { max-width: none; margin: 0; padding: 28px var(--pad) 72px; background: var(--surface); }

/* scroll entry animations (Framer-style fade-up); off without JS or with reduced motion */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); transition-delay: var(--rd, 0s); }
.js [data-reveal].revealed { opacity: 1; transform: none; }
.grid > [data-reveal]:nth-child(3n+2) { --rd: .08s; }
.grid > [data-reveal]:nth-child(3n) { --rd: .16s; }
.grid > .sponsor-row[data-reveal] { --rd: 0s; }
.js .footer-slides[data-reveal] { opacity: 0; transform: translateY(80px) scale(.95); transition-duration: .9s, .9s; }
.js .footer-slides[data-reveal].revealed { opacity: 1; transform: none; }
.intro-block { padding: 26px 0 30px; }
.intro-block h1 { font-size: 40px; line-height: 1.1; letter-spacing: -1.5px; margin: 0 0 10px; font-weight: 600; }
.intro-block p { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 0 18px; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--yellow); margin: 0 0 14px; }

/* filters: search + dropdown panels + active pills */
.filters { padding: 6px 0 26px; position: relative; }
.filters-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.search { position: relative; flex: 1 1 260px; max-width: 380px; display: flex; align-items: center; color: var(--muted); }
.search svg { position: absolute; left: 16px; pointer-events: none; }
.search input { width: 100%; padding: 12px 16px 12px 42px; border-radius: 40px; border: 1px solid rgba(255,255,255,.12); background: #1c1c1c; color: #fff; font: inherit; font-size: 15px; outline: none; -webkit-appearance: none; }
.search input::placeholder { color: #777; }
.search input:focus { border-color: var(--yellow); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.filter-groups { display: flex; gap: 8px; flex-wrap: wrap; }
.fbtn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 40px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; line-height: 1.2; white-space: nowrap; transition: border-color .15s ease, background .15s ease; }
.fbtn:hover, .fbtn[aria-expanded="true"] { border-color: rgba(255,255,255,.5); }
.fbtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.fbtn svg { transition: transform .2s ease; opacity: .7; }
.fbtn.has-on { border-color: var(--yellow); }
.fcount { background: var(--yellow); color: #000; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; }
.result-count { margin: 0 0 0 auto; font-size: 14px; color: var(--muted); white-space: nowrap; }
.fpanel { margin-top: 12px; padding: 14px; background: #1a1a1a; border: 1px solid var(--edge); border-radius: 14px; display: flex; flex-wrap: wrap; gap: 8px; animation: panel-in .18s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 40px; border: 1px solid rgba(255,255,255,.16); background: transparent; color: #ddd; font-size: 14px; cursor: pointer; line-height: 1.2; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.chip:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.chip .n { font-size: 12px; color: #777; }
.chip.is-on { background: var(--yellow); border-color: var(--yellow); color: #000; }
.chip.is-on .n { color: rgba(0,0,0,.55); }
.swatch { width: 12px; height: 12px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); flex: 0 0 auto; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.apill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 40px; border: 1px solid var(--yellow); background: var(--yellow); color: #000; font-size: 13px; font-weight: 600; cursor: pointer; line-height: 1.2; }
.apill span { opacity: .55; font-size: 15px; }
.apill:hover span { opacity: 1; }
.apill-clear { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); font-weight: 500; }
.apill-clear:hover { border-color: rgba(255,255,255,.6); }
.empty { grid-column: 1 / -1; color: var(--muted); font-size: 18px; padding: 40px 0 20px; margin: 0; }
.link-btn { background: none; border: 0; color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; padding: 0; }
.landing-intro .section-label a { color: inherit; }
.landing-intro .section-label a:hover { text-decoration: underline; }
.landing-intro { padding-bottom: 8px; }

/* project page tags */
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 40px; border: 1px solid rgba(255,255,255,.16); color: #ccc; font-size: 13px; line-height: 1.2; transition: border-color .15s ease, color .15s ease; }
.tag:hover { border-color: var(--yellow); color: #fff; }

/* grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 12px; }
.card { display: block; min-width: 0; }
.card-media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--card); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-caption { margin: 10px 0 0; font-size: 15px; color: var(--muted); line-height: 1.4; }
.card-caption strong { color: var(--text); font-weight: 600; }
.card:hover .card-caption strong { text-decoration: underline; text-underline-offset: 3px; }

/* full-row sponsor banner in the grid */
.sponsor-row { grid-column: 1 / -1; background: var(--yellow); color: #000; border-radius: var(--radius); padding: 26px 32px; display: flex; align-items: center; gap: 28px; position: relative; }
.sponsor-row:hover { opacity: .94; }
.sponsor-label { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(0,0,0,.55); }
.sponsor-row-body { display: flex; align-items: center; gap: 20px; flex: 1; min-width: 0; }
.sponsor-logo { height: 30px; width: auto; max-width: 220px; object-fit: contain; flex: 0 0 auto; }
.sponsor-line { font-size: 16px; font-weight: 500; line-height: 1.35; }
.sponsor-row-note { font-size: 12px; color: rgba(0,0,0,.6); white-space: nowrap; }
.inline-link { text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }

.more-wrap { display: flex; justify-content: center; padding: 54px 0 0; }
.pill { background: #000; color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 60px; padding: 18px 42px; font-weight: 500; cursor: pointer; }
.pill:hover { border-color: rgba(255,255,255,.5); }
.pill[disabled] { opacity: .5; cursor: default; }

/* project page */
.crumbs { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin: 16px 0 30px; }
.crumbs a:hover { color: var(--text); }
.project-head { max-width: 760px; margin-bottom: 36px; }
.project-head h1 { font-size: 44px; line-height: 1.05; letter-spacing: -1.5px; margin: 0 0 12px; font-weight: 600; }
.project-meta { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.project-meta a:hover { color: var(--text); }
.dot { margin: 0 6px; }
.project-desc { font-size: 17px; line-height: 1.6; color: #d0d0d0; }
.project-desc p { margin: 0 0 14px; }
.project-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.project-actions .btn { padding: 14px 26px; font-size: 14px; }
.gallery { display: grid; gap: 12px; }
.gallery img { width: 100%; border-radius: var(--radius); background: var(--card); }
.video { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--card); }
.video iframe { width: 100%; height: 100%; border: 0; }
.project-nav { display: flex; justify-content: space-between; gap: 20px; padding: 40px 0; border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); margin: 48px 0; font-weight: 500; }
.project-nav a:hover { color: var(--yellow); }
.related .grid { gap: 20px 12px; }

/* footer: yellow stage with script + slideshow, like Framer */
.footer { background: var(--footer-yellow); color: #000; margin-top: 0; }
.footer-inner { max-width: 100%; padding: 20px 28px 34px; }
.footer-top { display: flex; justify-content: space-between; font-size: 14px; margin: 0 0 8px; }
.footer-top p { margin: 0; }
.footer-top a { text-decoration: underline; text-underline-offset: 3px; }
.footer-stage { position: relative; padding: 40px 0 60px; display: flex; justify-content: center; align-items: center; min-height: 480px; }
.footer-script { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(94vw, 1500px); height: auto; pointer-events: none; }
.footer-slides { position: relative; width: min(660px, 72vw); aspect-ratio: 5 / 4; border-radius: 8px; overflow: hidden; background: #00000010; z-index: 1; box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.footer-slides a { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.footer-slides a.is-active { opacity: 1; }
.footer-slides img { width: 100%; height: 100%; object-fit: cover; }
.footer-close { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-top: 20px; }
.footer-blurb { margin: 0; font-size: 22px; line-height: 1.4; max-width: 640px; }
.footer-submit { flex: 0 1 44%; min-width: 280px; background: #000; color: #fff; text-align: center; font-size: 20px; font-weight: 500; padding: 30px 40px; border-radius: 60px; }
.footer-submit:hover { opacity: .88; }
.footer-fine { margin: 26px 0 0; font-size: 12px; color: rgba(0,0,0,.55); }
.footer-fine a { text-decoration: underline; text-underline-offset: 2px; }
.mc-note { display: none; }

/* sponsor page */
.page.bsp { max-width: 860px; margin: 0 auto; color: #b3b3b3; font-size: 16px; line-height: 1.55; padding-top: 30px; }
.bsp .label { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--yellow); text-transform: uppercase; margin: 0 0 14px; }
.bsp h1 { color: #fff; font-size: 34px; line-height: 1.15; margin: 0 0 16px; letter-spacing: -.5px; font-weight: 700; }
.bsp p { margin: 0; }
.bsp section { margin-top: 56px; }
.bsp section:first-child { margin-top: 0; }
.bsp .intro { max-width: 60ch; }
.bsp .hl { color: var(--yellow); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.stat { background: #1b1b1b; border: 1px solid #2c2c2c; border-radius: 12px; padding: 20px 20px 18px; }
.stat .k { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #8a8a8a; text-transform: uppercase; margin: 0 0 10px; }
.stat .v { font-size: 34px; font-weight: 700; color: #fff; line-height: 1; margin: 0 0 8px; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.stat .v.accent { color: var(--yellow); }
.stat .c { font-size: 13px; line-height: 1.45; color: #8a8a8a; }
.rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.rate.featured { grid-column: 1 / -1; }
.rate.featured ul { columns: 2; column-gap: 24px; }
.rate { background: #1b1b1b; border: 1px solid #2c2c2c; border-radius: 12px; padding: 24px 20px; display: flex; flex-direction: column; gap: 10px; }
.rate .name { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #8a8a8a; }
.rate .price { font-size: 32px; font-weight: 700; color: #fff; letter-spacing: -.5px; }
.rate .per { font-size: 14px; font-weight: 400; color: #8a8a8a; letter-spacing: 0; }
.rate ul { margin: 0; padding: 0 0 0 18px; font-size: 14px; line-height: 1.6; }
.rate.featured { background: var(--yellow); border-color: var(--yellow); }
.rate.featured .name, .rate.featured .per { color: rgba(0,0,0,.55); }
.rate.featured .price, .rate.featured ul { color: #000; }
.bsp .note { font-size: 13px; color: #8a8a8a; margin-top: 14px; max-width: 62ch; }
.proof { background: #1b1b1b; border: 1px solid #2c2c2c; border-radius: 12px; padding: 24px; margin-top: 20px; }
.proof p { max-width: 60ch; }
.proof .mt { margin-top: 14px; }
.big { color: #fff; font-weight: 700; }
.aud { margin-top: 16px; max-width: 62ch; }
.aud p { margin-bottom: 10px; }
.aud strong { color: #fff; }
.cta-wrap { margin-top: 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-wrap .btn { padding: 15px 32px; font-size: 15px; }
.bsp .alt { font-size: 15px; }
.bsp .alt a { color: var(--yellow); text-decoration: underline; }
.bsp-foot { margin-top: 72px !important; padding-top: 24px; border-top: 1px solid #2a2a2a; font-size: 13px; color: #8a8a8a; }

/* responsive: tablet */
@media (max-width: 1180px) {
  .hero-lead { font-size: 19px; flex-basis: 480px; }
  .grid { gap: 30px 12px; }
}
@media (max-width: 1024px) {
  :root { --pad: 22px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid > [data-reveal]:nth-child(3n+2), .grid > [data-reveal]:nth-child(3n) { --rd: 0s; }
  .grid > [data-reveal]:nth-child(2n) { --rd: .08s; }
  .hero-row { flex-wrap: wrap; gap: 22px; row-gap: 26px; }
  .hero-lead { flex: 1 1 100%; max-width: 680px; }
  .hero-actions { flex: 1 1 100%; justify-content: flex-start; flex-wrap: wrap; }
  .mc { flex: 1 1 360px; max-width: none; }
  .intro-block h1 { font-size: 34px; }
  .sponsor-row { flex-wrap: wrap; gap: 14px; padding: 22px 24px; }
  .sponsor-row-note { white-space: normal; }
  .footer-stage { min-height: 400px; }
  .footer-slides { width: min(560px, 66vw); }
  .footer-close { gap: 26px; }
  .footer-submit { flex: 0 1 auto; }
  .project-head h1 { font-size: 38px; }
}
/* responsive: mobile */
@media (max-width: 640px) {
  :root { --pad: 16px; }
  body { font-size: 14px; }
  .topbar { padding: 12px var(--pad); }
  .sponsorbar-logo, .sponsorbar-cta { font-size: 13px; }
  .hero-band { padding: 6px 6px 0 6px; }
  .hero-row { flex-direction: column; align-items: stretch; padding: 18px 10px 26px; gap: 18px; }
  .hero-lead { font-size: 16px; max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .mc { min-width: 0; flex: none; }
  .mc input[type=email] { padding: 14px 18px; font-size: 15px; }
  .btn { padding: 14px 22px; font-size: 15px; }
  .hero-actions .btn-ghost { text-align: center; }
  .hero-link { justify-content: center; padding: 6px; font-size: 15px; }
  .filters { padding-bottom: 20px; }
  .search { max-width: none; flex-basis: 100%; }
  .filter-groups { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 2px var(--pad); flex-basis: 100%; }
  .filter-groups::-webkit-scrollbar { display: none; }
  .fbtn { padding: 10px 14px; font-size: 13px; }
  .result-count { margin-left: 0; font-size: 13px; }
  .fpanel { padding: 12px; }
  .chip { padding: 8px 12px; font-size: 13px; }
  .page { padding-bottom: 60px; }
  .grid { grid-template-columns: 1fr; gap: 26px 12px; }
  .grid > [data-reveal] { --rd: 0s !important; }
  .intro-block h1 { font-size: 28px; letter-spacing: -1px; }
  .intro-block p { font-size: 16px; }
  .sponsor-row { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
  .sponsor-logo { height: 26px; }
  .more-wrap { padding-top: 40px; }
  .pill { padding: 15px 32px; }
  .project-head h1 { font-size: 30px; }
  .project-desc { font-size: 16px; }
  .project-nav { flex-direction: column; gap: 12px; padding: 28px 0; }
  .stats, .rates { grid-template-columns: 1fr; }
  .rate.featured ul { columns: 1; }
  .bsp h1 { font-size: 28px; }
  .footer-inner { padding: 16px var(--pad) 28px; }
  .footer-top { font-size: 13px; }
  .footer-stage { min-height: 240px; padding: 20px 0 32px; }
  .footer-script { width: 96vw; }
  .footer-slides { width: 82vw; }
  .footer-close { flex-direction: column; align-items: stretch; gap: 20px; padding-top: 10px; }
  .footer-blurb { font-size: 16px; }
  .footer-submit { min-width: 0; font-size: 16px; padding: 20px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .sponsorbar-logo, .sponsorbar-cta, .footer-slides a { transition: none; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
