/* Landing page only. */

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(36px, 6vw, 84px) clamp(64px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px; background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 10%, transparent 72%);
}
.hero .wrap { max-width: 1360px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-grid > * { min-width: 0; }
.hero h1 { margin-bottom: 26px; font-size: clamp(40px, 5.1vw, 76px); letter-spacing: -0.03em; }
.hero h1 .line { display: block; }
@media (min-width: 480px) { .hero h1 .line { white-space: nowrap; } }
.hero .lede { margin-bottom: 34px; }
.hero-meta { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--text-dim); }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: ""; width: 6px; height: 6px; background: var(--teal); box-shadow: 0 0 10px var(--teal); }

.hero-stage { position: relative; }
.stage-glow { position: absolute; inset: 6% -6% -8% 4%; z-index: -1; filter: blur(70px) saturate(1.5); opacity: 0.55; transition: opacity 1.2s var(--ease); }
.stage-glow img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.viewport {
  position: relative; border-radius: 0; overflow: hidden; background: #121414;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}
.vp-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; font: 500 12.5px/1 var(--font-mono); color: var(--text-dim); background: rgba(28, 25, 21, 0.96); border-bottom: 1px solid var(--border); }
.vp-dots { display: flex; gap: 6px; }
.vp-dots i { width: 10px; height: 10px; border-radius: 50%; background: #343a3a; }
.vp-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-title b { color: var(--text); font-weight: 600; }
.vp-ai { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); padding: 5px 9px; border-radius: 0; background: rgba(63, 214, 200, 0.1); border: 1px solid rgba(63, 214, 200, 0.3); font-size: 11.5px; transition: color var(--t), background var(--t), border-color var(--t); }
.vp-ai.done { color: var(--teal); background: rgba(108, 201, 112, 0.08); border-color: rgba(108, 201, 112, 0.3); }
.vp-ai.done .live-dot { background: var(--teal); animation: none; }
.vp-screen { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(180deg, #262a2a, #454c4c 70%, #7a6048); }
.vp-screen img, .vp-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vp-hud { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; align-items: flex-end; justify-content: space-between; pointer-events: none; }
.hud-chip { font: 500 11.5px/1 var(--font-mono); color: #e6eaea; padding: 7px 10px; border-radius: 0; background: rgba(10, 11, 11, 0.66); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); white-space: nowrap; }
.hud-chip b { color: var(--amber); font-weight: 600; }
.hud-chip.tool b { color: var(--teal); }

.console {
  position: absolute; left: clamp(-56px, -3.5vw, -20px); bottom: clamp(-56px, -4vw, -28px); width: min(370px, 72%); z-index: 3;
  border-radius: 0; background: rgba(26, 23, 19, 0.9); border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  font: 12.5px/1.55 var(--font-mono); overflow: hidden;
}
.console-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-faint); font-size: 11.5px; }
.console-head .who { color: var(--text-dim); }
.console-body > * { flex: none; }
.console-body { padding: 12px 14px 14px; height: 196px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 40px); mask-image: linear-gradient(180deg, transparent 0, #000 40px); }
.c-you { color: var(--text); font-family: var(--font-body); font-size: 13.5px; line-height: 1.45; padding: 9px 11px; margin-bottom: 6px; border-radius: 0; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); }
.c-you .caret { display: inline-block; width: 7px; height: 14px; margin-left: 1px; vertical-align: -2px; background: var(--amber); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.c-line { color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: line-in 300ms var(--ease); }
.c-line .t { color: var(--teal); }
.c-line .ok { color: var(--green); }
.c-line .a { color: var(--amber); }
@keyframes line-in { from { opacity: 0; transform: translateY(4px); } }

.scene-dots { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.scene-dots button { width: 26px; height: 4px; padding: 0; border: 0; border-radius: 0; background: rgba(255, 255, 255, 0.14); cursor: pointer; transition: background var(--t), width var(--t); }
.scene-dots button[aria-current="true"] { background: var(--amber); width: 40px; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 680px; }
  .console { left: -12px; }
}
@media (max-width: 640px) {
  .console { position: relative; left: auto; bottom: auto; width: auto; margin: -28px 10px 0; }
  .console-body { height: 168px; }
  .vp-hud .hud-chip:last-child { display: none; }
  .scene-dots { justify-content: center; }
  .hero-meta { gap: 8px 16px; font-size: 13px; }
}

/* ---------- works-with strip ---------- */
.strip { border-block: 1px solid var(--border); background: rgba(255, 255, 255, 0.015); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; padding-block: 22px; }
.strip-label { font: 600 12px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.strip-items { display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: center; font: 600 17px/1 var(--font-display); color: #c9cfcf; letter-spacing: -0.01em; }
.strip-items span { display: inline-flex; align-items: center; gap: 10px; }
.strip-items svg { width: 20px; height: 20px; color: var(--text-faint); }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; position: relative; }
.step { position: relative; display: flex; flex-direction: column; border-radius: 0; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); overflow: hidden; }
.step-art { height: 196px; position: relative; border-bottom: 1px solid var(--border); background: radial-gradient(120% 90% at 50% 0%, rgba(108, 201, 112, 0.06), transparent 70%), #0e1010; overflow: hidden; display: grid; place-items: center; padding: 18px; }
.step-body { padding: 22px 22px 24px; }
.step-num { counter-increment: step; display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--font-mono); letter-spacing: 0.12em; color: var(--amber); text-transform: uppercase; margin-bottom: 12px; }
.step-num::before { content: "0" counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 0; color: var(--amber-ink); background: var(--amber); letter-spacing: 0; font-weight: 700; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 15px; margin: 0; }
/* step visuals */
.mini-chat { width: 100%; display: grid; gap: 8px; font-size: 13px; }
.mini-chat .b { padding: 10px 12px; border-radius: 0; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--border); line-height: 1.45; }
.mini-chat .b.ai { border-radius: 0; background: rgba(63, 214, 200, 0.08); border-color: rgba(63, 214, 200, 0.25); color: #d9fff6; justify-self: end; font-size: 12.5px; }
.mini-tools { width: 100%; display: grid; gap: 6px; font: 12px/1 var(--font-mono); }
.mini-tools div { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 0; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--border); color: var(--text-dim); white-space: nowrap; overflow: hidden; }
.mini-tools div b { color: var(--teal); font-weight: 500; }
.mini-tools div i { margin-left: auto; font-style: normal; color: var(--green); }
.mini-tools div.run { border-color: rgba(63, 214, 200, 0.35); }
.mini-tools div.run i { color: var(--amber); }
.mini-live { position: absolute; inset: 0; }
.mini-live img { width: 100%; height: 100%; object-fit: cover; }
.mini-live .badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px; font: 600 11px/1 var(--font-mono); letter-spacing: 0.08em; padding: 6px 9px; border-radius: 0; background: rgba(10, 11, 11, 0.7); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--amber); }
.mini-live .badge2 { position: absolute; right: 12px; bottom: 12px; font: 500 11px/1 var(--font-mono); padding: 6px 9px; border-radius: 0; background: rgba(10, 11, 11, 0.7); color: #e6eaea; border: 1px solid rgba(255, 255, 255, 0.12); }
.mini-world { width: 100%; display: grid; gap: 10px; }
.mc-row { display: flex; gap: 12px; align-items: center; padding: 8px; border: 2px solid #8b8b8b; background: rgba(0, 0, 0, 0.55); font: 13px/1.3 var(--font-mono); }
.mc-row img { width: 56px; height: 56px; object-fit: cover; image-rendering: auto; flex: none; }
.mc-row b { display: block; color: #fff; font-weight: 500; }
.mc-row span { color: #9a9a9a; font-size: 11.5px; }
.files { display: flex; gap: 6px; flex-wrap: wrap; }
.files span { font: 600 11px/1 var(--font-mono); padding: 6px 8px; border-radius: 0; border: 1px solid var(--border-strong); color: var(--text-dim); }
.files span:first-child { color: var(--amber-ink); background: var(--amber); border-color: var(--amber); }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .step-art { height: 180px; } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 210px); gap: 14px; }
.tile { position: relative; margin: 0; overflow: hidden; border-radius: 0; border: 1px solid var(--border); background: #151818; cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease), filter 400ms; }
.tile:hover img { transform: scale(1.045); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; background: linear-gradient(180deg, transparent, rgba(12, 10, 8, 0.85)); }
.tile figcaption b { font: 650 18px/1.15 var(--font-display); letter-spacing: -0.01em; color: #fff; }
.tile figcaption span { font: 500 11.5px/1 var(--font-mono); color: #c9cfcf; padding: 6px 8px; border-radius: 0; background: rgba(255, 255, 255, 0.1); white-space: nowrap; }
.tile button { position: absolute; inset: 0; opacity: 0; cursor: zoom-in; border: 0; width: 100%; }
.t-a { grid-column: span 7; grid-row: span 2; }
.t-b { grid-column: span 5; }
.t-c { grid-column: span 5; }
.t-d, .t-e, .t-f { grid-column: span 4; }
.t-g { grid-column: span 6; grid-row: span 2; }
.t-h { grid-column: span 6; grid-row: span 2; }
.t-a figcaption b { font-size: 24px; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; gap: 10px; }
  .gallery .tile { grid-column: span 1; grid-row: span 1; }
  .gallery .t-a, .gallery .t-f { grid-column: span 2; grid-row: span 1; }
  .tile figcaption { padding: 30px 12px 11px; }
  .tile figcaption b { font-size: 15px !important; }
  .tile figcaption span { display: none; }
}
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1600px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(4, 5, 5, 0.88); backdrop-filter: blur(6px); }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: 0; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8); }
.lightbox p { text-align: center; margin: 14px 0 0; color: var(--text-dim); font-size: 15px; }
.lightbox p b { color: var(--text); font-family: var(--font-display); font-size: 18px; margin-right: 8px; }
.lightbox .close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--border-strong); color: var(--text); font-size: 20px; cursor: pointer; }
.lightbox[open] { animation: lb-in 260ms var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.97); } }

/* ---------- features bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.feat { position: relative; border-radius: 0; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)); overflow: hidden; display: flex; flex-direction: column; }
.feat-copy { padding: clamp(22px, 2.4vw, 30px); position: relative; z-index: 1; }
.feat-copy h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 10px; }
.feat-copy p { color: var(--text-dim); font-size: 15.5px; margin: 0; max-width: 46ch; }
.feat-kicker { font: 600 11.5px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; display: block; }
.feat-art { position: relative; flex: 1; min-height: 200px; }
.f-terrain { grid-column: span 7; }
.f-blocks { grid-column: span 5; }
.f-mat { grid-column: span 5; }
.f-render { grid-column: span 7; }
.f-markers { grid-column: span 6; }
.f-export { grid-column: span 6; }
@media (max-width: 960px) { .bento > .feat { grid-column: span 12; } }

/* terrain map */
.map-frame { position: relative; margin: 0 22px 22px; aspect-ratio: 2 / 1; border-radius: 0; overflow: hidden; border: 1px solid var(--border-strong); background: #0e1010; }
.map-frame canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.map-legend { position: absolute; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 24px); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--font-mono); padding: 6px 8px; border-radius: 0; background: rgba(10, 11, 11, 0.75); color: #dde2e2; }
.map-legend i { width: 9px; height: 9px; border-radius: 0; }
.map-scale { position: absolute; right: 12px; top: 12px; font: 600 11.5px/1 var(--font-mono); padding: 7px 9px; border-radius: 0; background: rgba(10, 11, 11, 0.75); color: var(--amber); }
.f-terrain .feat-art { min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; }

/* block mosaic */
.f-blocks .feat-art { display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; padding-bottom: 22px; }
.mosaic { margin: 0 22px; display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; align-content: end; }
.mosaic i { aspect-ratio: 1; border-radius: 0; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.12); }
.big-num { font: 750 clamp(44px, 4.6vw, 64px)/1 var(--font-display); letter-spacing: -0.04em; color: var(--text); padding: 0 22px 14px; display: flex; align-items: baseline; gap: 12px; }
.big-num small { font: 500 12px/1.2 var(--font-mono); letter-spacing: 0.06em; color: var(--text-faint); text-transform: uppercase; }


/* materials */
.mat-spec { margin: 0 22px 12px; font: 12.5px/1.5 var(--font-mono); color: #dde2e2; padding: 11px 13px; border-radius: 0; background: #070808; border: 1px solid var(--border); overflow-x: auto; white-space: nowrap; }
.mat-spec .s { color: #a5e8a8; }
.mat-wall { margin: 0 22px 22px; border-radius: 0; overflow: hidden; border: 1px solid var(--border); }
.mat-wall canvas { width: 100%; height: auto; aspect-ratio: 288 / 120; display: block; image-rendering: pixelated; }
.mat-tabs { display: flex; gap: 6px; margin: 0 22px 12px; flex-wrap: wrap; }
.mat-tabs button { font: 500 12px/1 var(--font-mono); padding: 7px 10px; border-radius: 0; border: 1px solid var(--border); background: transparent; color: var(--text-dim); cursor: pointer; }
.mat-tabs button[aria-pressed="true"] { color: var(--amber); border-color: rgba(63, 214, 200, 0.45); background: rgba(63, 214, 200, 0.08); }

/* render feature */
.f-render .feat-art img { position: absolute; inset: 0 0 0 22%; width: 78%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.f-render .feat-art { min-height: 300px; }
.f-render .feat-copy { position: absolute; inset: 0 auto auto 0; max-width: 360px; }
.f-render::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(17, 15, 12, 0.97) 0%, rgba(17, 15, 12, 0.88) 30%, rgba(17, 15, 12, 0.35) 52%, transparent 66%); pointer-events: none; }
.presets { position: absolute; z-index: 2; left: 22px; bottom: 22px; display: flex; gap: 6px; flex-wrap: wrap; }
.presets span { font: 500 11.5px/1 var(--font-mono); padding: 7px 10px; border-radius: 0; background: rgba(10, 11, 11, 0.7); border: 1px solid rgba(255, 255, 255, 0.12); color: #c9cfcf; backdrop-filter: blur(6px); }
.presets span.on { color: var(--amber-ink); background: var(--amber); border-color: var(--amber); }
@media (max-width: 640px) { .f-render .feat-copy { position: relative; max-width: none; } .f-render::after { background: linear-gradient(180deg, rgba(17, 15, 12, 0.95) 30%, transparent 70%); } .f-render .feat-art { min-height: 220px; } }

/* markers chat */
.mc-chat { margin: 0 22px 22px; padding: 14px 16px; background: rgba(0, 0, 0, 0.55); border-radius: 0; font: 14px/1.7 var(--font-mono); color: #fff; text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6); }
.mc-chat .g { color: #ffaa00; } .mc-chat .y { color: #ffff55; } .mc-chat .gr { color: #aaaaaa; } .mc-chat .aq { color: #55ffff; text-decoration: underline; text-underline-offset: 3px; }
.mc-chat .row { display: flex; flex-wrap: wrap; gap: 4px 12px; }

/* exports */
.exports { margin: 0 22px 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.xfile { border-radius: 0; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.025); padding: 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.xfile svg { width: 30px; height: 30px; margin-bottom: 6px; }
.xfile b { font: 600 15px/1.2 var(--font-mono); color: var(--text); }
.xfile div { display: flex; flex-direction: column; gap: 4px; }
.xfile span { font-size: 13px; color: var(--text-faint); line-height: 1.35; }
.xfile.main { border-color: rgba(63, 214, 200, 0.4); background: rgba(63, 214, 200, 0.06); }
.xfile.main b { color: var(--amber); }
@media (max-width: 520px) { .exports { grid-template-columns: 1fr; } .xfile { flex-direction: row; align-items: center; gap: 12px; } .xfile svg { margin: 0; flex: none; } .xfile div { min-width: 0; } }

/* ---------- pricing teaser + FAQ ---------- */
.suite-line { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px auto 0; font-size: 14.5px; color: var(--text-dim); text-align: center; flex-wrap: wrap; }
.suite-line .chip { color: var(--text); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: 100px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .section-head { position: static; } }

/* ---------- render styles strip ---------- */
.styles-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.style-tile { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: 0; overflow: hidden; border: 1px solid var(--border); background: radial-gradient(90% 90% at 50% 40%, rgba(63, 214, 200, 0.12), transparent 70%), linear-gradient(180deg, #1a1d1d, #101212); }
.style-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.style-tile:hover img { transform: scale(1.05); }
.style-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(180deg, transparent, rgba(12, 10, 8, 0.85)); display: grid; gap: 2px; }
.style-tile figcaption b { font: 650 17px/1.15 var(--font-display); color: #fff; letter-spacing: -0.01em; }
.style-tile figcaption span { font-size: 12.5px; color: #c9cfcf; }
.style-tile.missing img { display: none; }
.style-tile.missing::before { content: ""; position: absolute; inset: 0; background: url("/site/img/moxel.svg") center 38% / 44px no-repeat; opacity: 0.35; filter: grayscale(0.4); }
@media (max-width: 860px) { .styles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .style-tile figcaption span { display: none; } .style-tile figcaption { padding: 22px 11px 9px; } .style-tile figcaption b { font-size: 15px; } }

/* in-game screenshots */
.ingame-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ingame-grid .tile { aspect-ratio: 1550 / 1007; }
@media (max-width: 860px) { .ingame-grid { grid-template-columns: 1fr; gap: 10px; } }

/* =================== look (2026-10-04): stacked hero, flat surfaces, the sketch section =================== */
.hero::before { display: none; }
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.hero .wrap { max-width: 1280px; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.hero h1 { font-size: clamp(44px, 6.2vw, 92px); margin: 0; max-width: 11ch; }
.hero-side .lede { margin-bottom: 26px; font-size: clamp(16px, 1.25vw, 18.5px); }
.hero-meta { display: block; margin: 20px 0 0; font: 500 13px/1.4 var(--font-mono); color: var(--text-faint); }
.hero-meta li::before { display: none; }
.stage-glow { display: none; }
.viewport { border-radius: 0; border: 2px solid #040505; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); background: #0e1010; }
.vp-bar { background: #1a1d1d; height: 36px; }
.vp-dots { display: none; }
.vp-ai { border-radius: 0; }
.vp-ai.done { color: #a5e8a8; background: rgba(108, 201, 112, 0.1); border-color: rgba(108, 201, 112, 0.35); }
.hud-chip { border-radius: 0; backdrop-filter: none; background: rgba(10, 11, 11, 0.82); }
.console { left: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); width: min(360px, 46%); border-radius: 0; border: 2px solid #040505; background: rgba(18, 16, 13, 0.94); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9); }
.console-body { height: 176px; }
.c-you { border-radius: 0; background: #232727; }
.c-line .t { color: #a5e8a8; }
.scene-dots button { border-radius: 0; height: 4px; }
.vp-hud { left: auto; right: 12px; width: auto; }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; align-items: start; } .hero h1 { max-width: 13ch; } .console { width: min(340px, 60%); } }
@media (max-width: 640px) { .console { position: relative; left: auto; bottom: auto; width: auto; margin: 10px 0 0; } .vp-hud { right: 10px; } }

.strip { background: transparent; }
.strip-label { letter-spacing: 0.02em; text-transform: none; font-weight: 500; font-size: 13px; }
.strip-items { font-stretch: 108%; color: var(--text); }

.step { border-radius: 0; background: var(--bg-1); }
.step-art { background: #0e1010; }
.step-num::before { border-radius: 0; }
.mini-chat .b { border-radius: 0; }
.mini-live .badge, .mini-live .badge2 { border-radius: 0; }

.tile, .style-tile, .feat { border-radius: 0; }
.tile figcaption b, .style-tile figcaption b { font-stretch: 108%; }
.tile figcaption span { border-radius: 0; background: rgba(10, 11, 11, 0.65); }
.style-tile { background: #151818; }
.feat { background: var(--bg-1); }
.feat-kicker { color: var(--text-faint); letter-spacing: 0.02em; text-transform: none; font-weight: 500; font-size: 13px; }
.big-num { font-stretch: 112%; font-weight: 850; }
.map-legend span, .map-scale, .presets span { border-radius: 0; backdrop-filter: none; }

/* sketches */
.sketch-wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sketch-copy .lede { margin-bottom: 22px; }
.sketch-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--text-dim); font-size: 15.5px; }
.sketch-points li { padding-left: 22px; position: relative; }
.sketch-points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; background: var(--amber); box-shadow: inset 0 -2px 0 #17a29b; }
.sketch-points b { color: var(--text); font-weight: 600; }
.sketch-fig { margin: 0; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.sketch-fig > img { width: 78%; height: auto; border: 2px solid #040505; border-radius: 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); transform: rotate(-1.2deg); }
.sketch-ascii { position: absolute; right: 0; bottom: -28px; width: min(400px, 62%); border: 2px solid #040505; border-radius: 0; background: #0e1010; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.95); }
.sa-head { font: 500 11.5px/1 var(--font-mono); color: var(--text-faint); padding: 10px 12px; border-bottom: 1px solid var(--border); }
.sketch-ascii pre { margin: 0; padding: 12px; font: 500 12px/1.25 var(--font-mono); color: #c9cfcf; overflow: hidden; white-space: pre; letter-spacing: 0.04em; }
.sa-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0 12px 12px; font: 500 11.5px/1 var(--font-mono); color: var(--text-faint); }
.sa-legend i { font-style: normal; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 5px; border-radius: 0; color: #0e1010; font-weight: 700; }
.sa-legend .w { background: #3f8ee0; } .sa-legend .g { background: #6cc970; } .sa-legend .r { background: #a87d4f; } .sa-legend .b { background: #d4533b; }
@media (max-width: 900px) { .sketch-wrap { grid-template-columns: 1fr; } .sketch-fig > img { width: 86%; } }
@media (max-width: 560px) { .sketch-ascii { position: relative; width: 100%; bottom: auto; margin-top: -24px; } .sketch-fig > img { width: 100%; transform: none; } }

/* round 2: in-game shots live in the gallery; mobile fix for the shader card */
.t-i, .t-j { grid-column: span 6; grid-row: span 2; }
.t-i figcaption span, .t-j figcaption span { color: #b8fff2; }
@media (max-width: 860px) { .gallery .t-i, .gallery .t-j { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 640px) {
  .f-render .presets { position: static; margin: 0 22px 18px; }
  .f-render .feat-art img { inset: 0; width: 100%; object-position: 50% 40%; }
}
@media (max-width: 640px) { .f-render::after { display: none; } .f-render .feat-art { min-height: 210px; } }
.sa-legend .s { background: #e8d08a; }

/* hero clarity (2026-10-05): a plain "what is this" line, input -> output headline, and the four-step flow */
@media (min-width: 901px) { .hero-top { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
.hero-kind { margin: 0 0 18px; font: 600 15px/1.4 var(--font-body); color: var(--amber); }
.hero h1 { font-size: clamp(38px, 4.3vw, 64px); max-width: 17ch; line-height: 1.02; }
.hero-flow { list-style: none; margin: 0 0 clamp(26px, 3vw, 38px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hero-flow li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px 16px 0; position: relative; }
.hero-flow li + li { padding-left: 22px; }
.hero-flow li + li::before { content: "→"; position: absolute; left: -7px; top: 15px; color: var(--text-faint); font: 500 16px/1 var(--font-body); }
.hero-flow svg { width: 26px; height: 26px; flex: none; margin-top: 1px; fill: none; stroke: var(--amber); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-flow b { display: block; font: 700 16px/1.25 var(--font-display); font-stretch: 106%; color: var(--text); margin-bottom: 3px; }
.hero-flow span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--text-dim); }
@media (max-width: 900px) {
  .hero-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-flow li:nth-child(3) { padding-left: 0; } .hero-flow li:nth-child(3)::before { display: none; }
}
@media (max-width: 520px) {
  .hero-flow { grid-template-columns: 1fr; }
  .hero-flow li, .hero-flow li + li { padding: 12px 0; } .hero-flow li + li::before { display: none; }
  .hero-flow li + li { border-top: 1px solid var(--border); }
}

/* hero backdrop (2026-10-05): a wide pixel night grove (tools/site-hero.html) behind the headline, full-bleed, 6x pixelated.
   It ends where the how-it-works row starts, so the ground sits in the gap above it. */
.hero-top { position: relative; }
.hero-top::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; width: 100vw; transform: translateX(-50%);
  top: calc(-1 * clamp(40px, 6vw, 80px)); bottom: calc(-1 * clamp(32px, 4vw, 52px));
  background: #08090a url("/site/img/hero-grove.png") center bottom / max(1920px, 100vw) auto no-repeat; image-rendering: pixelated;
}
/* trimmed gallery (2026-10-05): the big tile + two, then two wide night/in-game shots on one row */
.gallery .t-h, .gallery .t-i { grid-column: span 6; grid-row: span 1; }
#gallery .more-row { display: flex; justify-content: center; margin-top: 26px; }
.f-export { grid-column: span 5; }
.f-render { grid-column: span 7; }

/* coming next: Moxel Models */
.next-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 48px); background: #0b1212; border: 2px solid #17302d; box-shadow: 6px 6px 0 rgba(63, 214, 200, 0.08); }
.soon-tag { display: inline-block; font: 500 15px/1 var(--font-display); color: #2a1600; background: var(--berry); padding: 7px 10px 6px; margin-bottom: 18px;
  box-shadow: inset 0 2px 0 #ffd98f, inset 0 -2px 0 #c77a12, 0 0 0 2px #2a1600; }
.next-copy h2 { margin-bottom: 14px; }
.next-copy .lede { margin-bottom: 18px; }
.next-points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; color: var(--text-dim); font-size: 15px; }
.next-points li { display: flex; gap: 10px; align-items: baseline; }
.next-points li::before { content: ""; width: 7px; height: 7px; flex: none; background: var(--amber); transform: translateY(-2px); }
.next-art { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.next-art figure { margin: 0; border: 2px solid #1e2323; background: #050709; }
.next-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.next-art figcaption { font: 500 14px/1 var(--font-display); color: var(--text-dim); padding: 10px 12px 9px; border-top: 2px solid #1e2323; }
@media (max-width: 860px) { .next-band { grid-template-columns: 1fr; } }

/* shader preset demo (2026-10-05): four stacked renders crossfade; the chips are real pixel buttons */
.f-render .feat-art img { opacity: 0; transition: opacity 750ms ease; }
.f-render .feat-art img.on { opacity: 1; }
.presets button { font: 500 14px/1 var(--font-display); padding: 8px 11px 7px; border: 0; border-radius: 0; cursor: pointer; color: #c9cfcf;
  background: #151818; box-shadow: inset 0 2px 0 #3a4242, inset 0 -2px 0 #0b0d0d, 0 0 0 2px #030404; transition: background 120ms, color 120ms; }
.presets button:hover { background: #222727; color: #fff; }
.presets button[aria-pressed="true"] { color: var(--amber-ink); background: var(--amber); box-shadow: inset 0 2px 0 #b8fff2, inset 0 -2px 0 #17a29b, 0 0 0 2px #021a18; }
.presets button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.f-render .presets { gap: 10px; }
@media (prefers-reduced-motion: reduce) { .f-render .feat-art img { transition: none; } }

/* live pixel grove (grove.js) over the PNG fallback: same box, bottom-anchored, 6x pixels */
.hero-top .grove { position: absolute; z-index: -1; pointer-events: none; left: 50%; transform: translateX(-50%); width: 100vw; height: 480px;
  bottom: calc(-1 * clamp(32px, 4vw, 52px)); image-rendering: pixelated; }
.next-art video { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; background: #050709; }

/* "Or draw it" (2026-10-05): pixel-art plan at 4x with pixel-font labels, colour-coded ASCII the AI reads */
.sketch-map { position: relative; width: min(512px, 82%); transform: rotate(-1.2deg); border: 2px solid #040505;
  box-shadow: 0 0 0 2px #1e2323, 8px 8px 0 rgba(63, 214, 200, 0.08), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.sketch-map img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.sm-label { position: absolute; font: 500 15px/1 var(--font-display); color: #f2ead8; background: rgba(8, 10, 10, 0.78); padding: 6px 8px 5px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.55); white-space: nowrap; pointer-events: none; }
.sm-n { position: absolute; right: 8px; top: 8px; font: 500 12px/1 var(--font-display); color: #f2ead8; background: rgba(8, 10, 10, 0.7); padding: 4px 6px 3px; }
.sketch-ascii { border: 2px solid #040505; box-shadow: 0 0 0 2px #1e2323, 0 24px 50px -20px rgba(0, 0, 0, 0.95); background: #0b0d0d; }
.sa-head { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.01em; }
.sketch-ascii pre { font-size: 11.5px; line-height: 1.3; }
.sketch-ascii pre .w { color: #5aa8ee; } .sketch-ascii pre .s { color: #e8d08a; } .sketch-ascii pre .g { color: #6cc970; }
.sketch-ascii pre .r { color: #c49a6a; } .sketch-ascii pre .b { color: #ea7058; }
.sa-legend .w { background: #3f8ee0; } .sa-legend .g { background: #6cc970; } .sa-legend .r { background: #a87d4f; } .sa-legend .b { background: #d4533b; } .sa-legend .s { background: #e8d08a; }
@media (max-width: 900px) { .sketch-map { width: 86%; } }
@media (max-width: 560px) { .sketch-map { width: 100%; transform: none; } .sm-label { font-size: 13px; } }
