/* ==========================================================================
   Section designs by tier (see TIER_VARIANTS in templates.py)
   Bronze → simple / list / plain      Silver → split / cards / band
   Gold   → immersive / bento / numbered / spotlight / panel + marquee & stats
   ========================================================================== */

/* ---------- demo label (demo sites shown on an agency site) ---------- */
.demo-bar { background: #111; color: #e9e9e9; text-align: center; font: 600 .78rem/1 var(--font-body); letter-spacing: .06em; padding: .6em 1em; }

/* =============================== BRONZE =============================== */
/* Bronze theme: a basic, budget look. Same content, lower polish: flat square buttons,
   no icons, shadows or hover effects, plain non-sticky header, tighter spacing. */
.tier-bronze { --radius: 3px; }
.tier-bronze h1, .tier-bronze h2 { font-weight: 700; letter-spacing: 0; }
.tier-bronze .btn { border-radius: 3px; padding: .65em 1.15em; font-family: var(--font-body); font-weight: 700; box-shadow: none; transition: none; border-width: 1px; }
.tier-bronze .btn-lg { padding: .75em 1.25em; font-size: 1rem; }
.tier-bronze .btn:hover { transform: none; filter: brightness(.93); }
.tier-bronze .btn-accent { box-shadow: none; }
.tier-bronze .btn .icon { display: none; }
.tier-bronze .site-header { position: static; backdrop-filter: none; background: #fff; }
.tier-bronze .header-inner { min-height: 64px; }
.tier-bronze .logo-mark { border-radius: 3px; width: 36px; height: 36px; }
.tier-bronze .logo-text { font-weight: 700; font-size: 1.05rem; }
.tier-bronze .card, .tier-bronze .faq-item, .tier-bronze .hours-box { box-shadow: none; border-radius: 3px; }
.tier-bronze .service-card:hover { transform: none; }
.tier-bronze .section { padding: 60px 0; }
.tier-bronze .kicker { letter-spacing: .06em; font-size: .75rem; }
.tier-bronze .form input, .tier-bronze .form select, .tier-bronze .form textarea { border-radius: 3px; }
.tier-bronze .mobile-cta { box-shadow: none; }
.tier-bronze .page-hero { padding: 48px 0; background: var(--primary); }

/* Silver theme: friendly pill-shaped buttons (Gold keeps its own squared buttons with a light sweep) */
.tier-silver .btn { border-radius: 99px; padding-left: 1.45em; padding-right: 1.45em; }

.hero-simple { background: var(--primary); color: #fff; padding: 76px 0 84px; }
.hero-simple h1 { color: #fff; max-width: 18ch; }
.hero-simple .hero-sub { max-width: 52ch; opacity: .92; }
.hero-simple-eyebrow { font-weight: 700; font-size: .9rem; opacity: .85; margin-bottom: .8em; }
.hero-simple .btn-light { border-color: transparent; }

.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.svc-list li { padding: 20px 0 18px 18px; border-left: 3px solid var(--primary); margin-bottom: 18px; background: none; }
.svc-list h3 { margin-bottom: .25em; }
.svc-list p { margin: 0; color: var(--muted); }

.why-simple { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why-simple li { display: flex; gap: 12px; align-items: flex-start; }
.why-simple .icon { color: var(--primary); margin-top: .25em; }

.review-plain { margin: 0 0 22px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.review-plain p { font-size: 1.08rem; margin-bottom: .4em; }
.review-plain cite { font-style: normal; font-weight: 700; color: var(--muted); }

.cta-simple { background: var(--tint); }
.cta-simple p { color: var(--muted); }

.footer-simple { padding: 36px 0; }
.footer-simple-inner { text-align: center; }
.footer-simple-inner p { margin: 0 0 .4em; }

/* =============================== SILVER =============================== */
.hero-split { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 8%, white), #fff); padding: 80px 0 90px; overflow: hidden; }
.hero-split-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: .5em; padding: .5em 1em; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font: 700 .8rem/1 var(--font-body); letter-spacing: .04em; color: var(--primary); margin-bottom: 1.2em; }
.hero-split h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
.hero-split .hero-sub { color: var(--muted); max-width: 46ch; }
.split-points { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: .95rem; }
.split-points li { display: flex; align-items: center; gap: .45em; }
.split-points .icon { color: #fff; background: var(--primary); border-radius: 50%; padding: 3px; width: 1.25em; height: 1.25em; }
.hero-split-media { position: relative; }
.split-frame { border-radius: 28px; overflow: hidden; aspect-ratio: 15 / 11; box-shadow: 0 40px 80px -36px color-mix(in srgb, var(--primary) 70%, black); border: 8px solid #fff; background: #fff; }
.split-frame img { width: 100%; height: 100%; object-fit: cover; }
.split-badge { position: absolute; left: -22px; bottom: 28px; display: grid; justify-items: start; gap: 2px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.35); }
.split-badge strong { font: 800 1.6rem/1 var(--font-heading); color: var(--dark); }
.split-badge span:last-child { font-size: .82rem; color: var(--muted); }
.split-fallback { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.split-fallback .icon { width: 30%; height: 30%; }

/* ================================ GOLD ================================ */
/* immersive hero */
.hero-immersive { position: relative; min-height: min(92vh, 900px); display: flex; align-items: center; overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 75% 20%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 55%),
              linear-gradient(180deg, color-mix(in srgb, var(--dark) 92%, var(--primary)) 0%, color-mix(in srgb, var(--primary-dark) 55%, var(--dark)) 70%, var(--dark) 100%); }
.immersive-art { position: absolute; inset: auto 0 0 0; height: 62%; pointer-events: none; }
.hero-immersive::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--dark) 85%, transparent) 0%, transparent 65%); pointer-events: none; }
.immersive-inner { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 200px; }
.immersive-eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 700 .8rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.4em; }
.immersive-eyebrow span { width: 42px; height: 2px; background: var(--accent); }
.hero-immersive h1 { color: #fff; font-size: clamp(2.8rem, 7.4vw, 6rem); line-height: .98; letter-spacing: -.03em; max-width: 13ch; margin-bottom: .35em; }
.hero-immersive h1 .word { display: inline-block; }
.hero-immersive .hero-sub { max-width: 48ch; font-size: 1.2rem; color: rgba(255,255,255,.86); }
.rating-line { display: inline-flex; align-items: center; gap: .6em; font-size: .95rem; color: rgba(255,255,255,.88); }
.float-chips { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.float-chip { display: inline-flex; align-items: center; gap: .55em; padding: .7em 1.1em; border-radius: 99px; font-weight: 600; font-size: .92rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); }
.float-chip .icon { color: var(--accent); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 1; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255,255,255,.6); border-radius: 99px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; }

/* marquee */
.marquee { background: var(--accent); color: var(--accent-text); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; }
.marquee-track > div { display: flex; align-items: center; gap: 28px; padding-right: 28px; font: 800 1.05rem/1 var(--font-heading); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.marquee-track i { font-style: normal; opacity: .6; }

/* bento services */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 18px; }
.bento-tile { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: var(--tint); color: var(--text); text-decoration: none; border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.bento-tile:nth-child(2), .bento-tile:nth-child(5), .bento-tile:nth-child(6) { grid-column: span 2; }
.bento-tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(0,0,0,.45); border-color: var(--primary); }
.bento-tile p { color: var(--muted); }
.bento-feature { grid-column: span 2; grid-row: span 2; background: var(--dark); color: #fff; border-color: transparent; }
.bento-feature h3 { color: #fff; font-size: 1.8rem; }
.bento-feature p { color: rgba(255,255,255,.78); }
.bento-feature .icon-badge { background: rgba(255,255,255,.12); color: var(--accent); }
.bento-art { margin: -26px -26px 22px; height: 220px; overflow: hidden; }
.bento-bullets { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 6px; color: rgba(255,255,255,.88); }
.bento-bullets li { display: flex; gap: .5em; align-items: center; }
.bento-bullets .icon { color: var(--accent); }
.bento-more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--primary); }
.bento-feature .bento-more { color: var(--accent); }

/* stats band */
.stats-band { background: var(--dark); color: #fff; padding: 64px 0; }
.stats-band-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; text-align: center; }
.stats-band .stat-num { display: block; font: 800 clamp(2.4rem, 5vw, 3.6rem)/1 var(--font-heading); color: var(--accent); font-variant-numeric: lining-nums; }
.stats-band .stat-label { color: rgba(255,255,255,.7); font-size: .95rem; }

/* numbered why */
.why-numbered-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.why-numbered-head { position: sticky; top: 110px; }
.why-numbered-head .section-head { text-align: left; margin: 0 0 24px; }
.num-list { list-style: none; margin: 0; padding: 0; }
.num-item { display: grid; grid-template-columns: 84px 1fr; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.num-item:last-child { border-bottom: 1px solid var(--line); }
.num { font: 800 2.6rem/1 var(--font-heading); color: transparent; -webkit-text-stroke: 1.5px var(--primary); }
.num-item p { color: var(--muted); margin: 0; }

/* spotlight reviews */
.reviews-spotlight { background: var(--tint); }
.spotlight-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.spotlight-main { position: relative; margin: 0; padding: 48px 44px 40px; border-radius: 26px; background: var(--dark); color: #fff; overflow: hidden; }
.spotlight-quote { position: absolute; top: -30px; right: 24px; font: 800 13rem/1 Georgia, serif; color: var(--accent); opacity: .18; }
.spotlight-main blockquote { margin: 0 0 22px; font: 600 clamp(1.3rem, 2.4vw, 1.75rem)/1.4 var(--font-heading); }
.spotlight-main figcaption { color: rgba(255,255,255,.75); }
.rating-summary { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.75); }
.rating-big { font: 800 2.4rem/1 var(--font-heading); color: #fff; }
.spotlight-side { display: grid; gap: 16px; }
.mini-review { margin: 0; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.mini-review blockquote { margin: 8px 0; }
.mini-review figcaption { font-weight: 700; color: var(--muted); font-size: .92rem; }

/* CTA panel */
.cta-panel { position: relative; overflow: hidden; border-radius: 30px; background: var(--dark); color: #fff; padding: 72px 56px; isolation: isolate; }
.cta-panel-art { position: absolute; inset: auto 0 0 30%; height: 80%; opacity: .6; z-index: -2; }
.cta-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--dark) 38%, color-mix(in srgb, var(--dark) 55%, transparent) 70%, transparent); }
.cta-panel h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 16ch; }
.cta-panel p { color: rgba(255,255,255,.8); max-width: 44ch; font-size: 1.1rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-tile:nth-child(2), .bento-tile:nth-child(5), .bento-tile:nth-child(6) { grid-column: span 1; }
  .why-numbered-grid { grid-template-columns: 1fr; gap: 24px; }
  .why-numbered-head { position: static; }
  .spotlight-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-split-inner { grid-template-columns: 1fr; gap: 40px; }
  .split-badge { left: 12px; bottom: 12px; }
  .svc-list { grid-template-columns: 1fr; }
  .immersive-inner { padding-top: 70px; padding-bottom: 170px; }
  .immersive-art { height: 42%; }
}
@media (max-width: 560px) {
  .cta-panel-art { left: 0; opacity: .3; }
  .bento { grid-template-columns: 1fr; }
  .bento-feature { grid-column: span 1; grid-row: span 1; }
  .cta-panel { padding: 48px 24px; }
  .spotlight-main { padding: 36px 24px 30px; }
  .num-item { grid-template-columns: 56px 1fr; }
  .num { font-size: 2rem; }
}

/* ---------- motion: Silver subtle, Gold rich (never for reduced-motion users) ---------- */
@media (prefers-reduced-motion: no-preference) {

  .tier-gold .hero-immersive h1 .word { animation: word-up .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.1s + var(--i) * .07s); }
  .tier-gold .immersive-eyebrow, .tier-gold .hero-immersive .hero-sub, .tier-gold .hero-immersive .hero-actions,
  .tier-gold .hero-immersive .rating-line { animation: gold-rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: .55s; }
  .tier-gold .float-chip { animation: gold-rise .8s cubic-bezier(.2,.7,.2,1) both, chip-bob 5s ease-in-out infinite; animation-delay: calc(.8s + var(--i) * .12s), calc(1.6s + var(--i) * .4s); }
  .tier-gold .scroll-cue span { animation: cue 1.8s ease-in-out infinite; }
  .tier-gold .marquee-track { animation: marquee 32s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { flex-wrap: wrap; width: auto; }
  .marquee-track > div[aria-hidden] { display: none; }
}
@keyframes art-wave { from { transform: translateX(-10px); } to { transform: translateX(10px); } }
@keyframes art-glow { 0%, 100% { opacity: .12; transform: scale(1); } 50% { opacity: .24; transform: scale(1.08); } }
@keyframes art-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes word-up { from { opacity: 0; transform: translateY(.5em) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes chip-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes gold-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }


/* ----- GOLD ----- */
.tier-gold .stats-band,
.tier-gold .cta-panel,
.tier-gold .spotlight-main,
.tier-gold .bento-feature,
.tier-gold .site-footer { position: relative; isolation: isolate; }
.tier-gold .stats-band::before,
.tier-gold .cta-panel::after,
.tier-gold .spotlight-main::after,
.tier-gold .bento-feature::after,
.tier-gold .site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .09; mix-blend-mode: overlay;
}
.tier-gold .hero-immersive::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: var(--grain); opacity: .07; mix-blend-mode: overlay;
}
/* mesh gradients on dark bands */
.tier-gold .stats-band {
  background:
    radial-gradient(60% 120% at 12% 0%, color-mix(in srgb, var(--primary) 45%, transparent), transparent 60%),
    radial-gradient(50% 120% at 88% 100%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%),
    var(--dark);
}
.tier-gold .stats-band .stat-num {
  background: linear-gradient(180deg, #fff 10%, var(--accent) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tier-gold .stats-band .stat + .stat { border-left: 1px solid; border-image: linear-gradient(180deg, transparent, rgba(255,255,255,.18), transparent) 1; }
.tier-gold .spotlight-main {
  background:
    radial-gradient(80% 90% at 100% 0%, color-mix(in srgb, var(--primary) 40%, transparent), transparent 60%),
    radial-gradient(70% 80% at 0% 100%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    var(--dark);
}
.tier-gold .bento-feature {
  background:
    radial-gradient(90% 60% at 100% 100%, color-mix(in srgb, var(--primary) 38%, transparent), transparent 65%),
    var(--dark);
}
/* soft aurora light behind section headings */
.tier-gold .section-head { position: relative; }
.tier-gold .section-head::before {
  content: ""; position: absolute; left: 50%; top: 40%; width: min(520px, 90%); height: 160px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
  filter: blur(24px); z-index: -1; pointer-events: none;
}
.tier-gold .why-numbered-head .section-head::before { left: 30%; }
/* gradient borders on cards (border-box trick) */
.tier-gold .bento-tile:not(.bento-feature),
.tier-gold .mini-review,
.tier-gold .work-card,
.tier-gold .faq-item {
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(140deg, color-mix(in srgb, var(--accent) 55%, var(--line)), var(--line) 40%, color-mix(in srgb, var(--primary) 35%, var(--line))) border-box;
}
.tier-gold .bento-tile:not(.bento-feature):hover {
  background:
    linear-gradient(180deg, #fff, color-mix(in srgb, var(--accent) 6%, #fff)) padding-box,
    linear-gradient(140deg, var(--accent), var(--primary)) border-box;
}
/* gradient hairline under the header and above the footer */
.tier-gold .site-header { border-bottom: 1px solid; border-image: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 60%, transparent), transparent) 1; }
.tier-gold .site-footer { border-top: 0; background:
    radial-gradient(60% 80% at 85% 0%, color-mix(in srgb, var(--primary) 30%, transparent), transparent 60%), var(--dark); }
/* numbered list: gradient numerals */
.tier-gold .num { -webkit-text-stroke: 0; background: linear-gradient(160deg, var(--accent), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
/* buttons: subtle gradient fill */
.tier-gold .btn-accent { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 88%, #fff), var(--accent) 55%, color-mix(in srgb, var(--accent) 85%, var(--primary))); }

/* ----- SILVER ----- */
.tier-silver .section-tint { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 7%, #fff), #fff 85%); }
.tier-silver .cta-band { background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, color-mix(in srgb, var(--primary) 70%, var(--accent))); }
.tier-silver .trust { background: linear-gradient(90deg, var(--dark), color-mix(in srgb, var(--dark) 80%, var(--primary))); }
.tier-silver .service-card,
.tier-silver .review,
.tier-silver .price-card:not(.featured) {
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(160deg, color-mix(in srgb, var(--primary) 30%, var(--line)), var(--line) 55%) border-box;
}
.tier-silver .icon-badge { background: linear-gradient(140deg, color-mix(in srgb, var(--primary) 16%, #fff), color-mix(in srgb, var(--accent) 18%, #fff)); }

/* ---------- real-time 3D environments (assets/scene3d.js) ---------- */
.scene3d { position: relative; width: 100%; height: 100%; min-height: 100%; overflow: hidden; }
.scene3d canvas { display: block; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .9s ease; }
.scene3d.is-ready canvas { opacity: 1; }
.scene3d.is-interactive canvas { cursor: grab; touch-action: pan-y; }
.scene3d.is-interactive canvas:active { cursor: grabbing; }
.scene3d-loading { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.06) 50%, transparent 70%) 0 0 / 200% 100%; animation: scene-shimmer 1.6s linear infinite; }
.scene3d.is-ready .scene3d-loading, .scene3d.is-failed .scene3d-loading { display: none; }
@keyframes scene-shimmer { to { background-position: -200% 0; } }
.hero-immersive .immersive-art { pointer-events: auto; }
.hero-immersive .scene3d { pointer-events: auto; }
.split-frame .scene3d, .shot-art .scene3d, .bento-art .scene3d { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 18%, #fff), #fff); }
.shot-art { position: relative; }
.cta-panel-art .scene3d { height: 100%; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- live demo windows (agency sites + package preview) ---------- */
/* Each iframe renders the demo at full desktop width (1280px) and is scaled down to the frame
   (main.js sets --scale), so previews always show the real desktop design, never a squashed phone layout. */
.browser-url { flex: 1; margin-left: 10px; padding: 3px 12px; border-radius: 99px; background: #fff; color: #6b7280; font: 500 .75rem/1.4 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-bar { align-items: center; }
.live-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; --scale: .4; }
.live-frame iframe { position: absolute; top: 0; left: 0; width: 1280px; height: calc(100% / var(--scale)); border: 0; transform: scale(var(--scale)); transform-origin: 0 0; background: #fff; }
.demo-card { padding: 0; margin: 0; overflow: hidden; display: flex; flex-direction: column; }
.demo-card > .tag { margin: 18px 22px 12px; align-self: flex-start; }
.demo-card .live-window { border-radius: 0; border-left: 0; border-right: 0; }
.demo-card figcaption { padding: 20px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.demo-card figcaption p { color: var(--muted); }
.demo-links { margin-top: auto !important; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-weight: 700; }
.demo-links a { display: inline-flex; align-items: center; gap: .3em; text-decoration: none; }
.price-demo { display: inline-block; margin: -4px 0 16px; font-weight: 700; font-size: .92rem; text-decoration: none; }
.price-card.featured .price-demo { color: var(--accent); }
@media (max-width: 960px) { .demo-grid { grid-template-columns: 1fr; } }

/* ---------- full-bleed media (live 3D hero, frameless project cards) ---------- */
.immersive-media { inset: 0; height: 100%; }
.immersive-media .scene3d, .immersive-media .hero-photo { width: 100%; height: 100%; }
.hero-immersive:has(.immersive-media)::after { background: linear-gradient(90deg, color-mix(in srgb, var(--dark) 88%, transparent) 0%, color-mix(in srgb, var(--dark) 55%, transparent) 45%, transparent 75%); }
.project-media { overflow: hidden; }
