:root {
  --bg: #000;
  --card: #111;
  --edge: rgba(255,255,255,.08);
  --text: #fff;
  --muted: #999;
  --yellow: #F5E900;
  --footer-yellow: #F8EC1C;
  --script-ink: #1c2340;
  --radius: 12px;
  --max: 1400px;
  --pad: 24px;
}
* { box-sizing: border-box; }
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); }
.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; gap: 32px; padding: 26px calc(var(--pad) - 8px) 34px; flex-wrap: wrap; }
.hero-lead { flex: 1 1 320px; margin: 0; font-size: 22px; line-height: 1.35; color: #9a9a9a; max-width: 560px; }
.mc { display: flex; gap: 12px; flex: 0 1 560px; min-width: 300px; }
.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; }
.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,.2); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); opacity: 1; }
.hero-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hero-link { font-size: 16px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.hero-link:hover { color: var(--yellow); }
.hero-link-sponsor { color: var(--yellow); }

/* page shell */
.page { max-width: var(--max); margin: 0 auto; padding: 10px var(--pad) 90px; }
.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; }

/* 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: 60px; }
.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 */
.bsp { max-width: 800px; 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: #161616; border: 1px solid #2a2a2a; 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(2, 1fr); gap: 12px; margin-top: 20px; }
.rate { background: #161616; border: 1px solid #2a2a2a; 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: #161616; border: 1px solid #2a2a2a; 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 */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-row { gap: 20px; }
  .hero-lead { font-size: 18px; }
  .footer-close { flex-direction: column; align-items: stretch; }
  .footer-submit { flex: none; }
  .sponsor-row { flex-wrap: wrap; gap: 14px; }
  .sponsor-row-note { white-space: normal; }
}
@media (max-width: 620px) {
  :root { --pad: 14px; }
  .grid { grid-template-columns: 1fr; gap: 26px 12px; }
  .hero-row { flex-direction: column; align-items: stretch; padding: 18px 8px 26px; }
  .hero-lead { max-width: none; }
  .mc { min-width: 0; }
  .mc input[type=email] { padding: 15px 18px; }
  .btn { padding: 15px 24px; }
  .hero-links { flex-direction: row; gap: 18px; }
  .intro-block h1 { font-size: 30px; letter-spacing: -1px; }
  .project-head h1 { font-size: 32px; }
  .stats, .rates { grid-template-columns: 1fr; }
  .bsp h1 { font-size: 28px; }
  .footer-stage { min-height: 300px; padding: 24px 0 36px; }
  .footer-slides { width: 84vw; }
  .footer-blurb { font-size: 17px; }
  .footer-submit { font-size: 17px; padding: 22px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .sponsorbar-logo, .sponsorbar-cta, .footer-slides a { transition: none; }
}
